"use strict";(("undefined"!=typeof self?self:this).webpackJsonp__wix_members_about_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_members_about_ooi||[]).push([[464],{56725:(e,t,n)=>{n.d(t,{_:()=>r});var o=n(88003);const r=(e,t)=>(e=>e?.url?.startsWith?.("/"))(e)&&t?`${t.replace(/\/+$/,"")}${e.url}`:e.url?(0,o.normalizeHref)(e.url)||e.url:e.anchor?`#viewer-${e.anchor}`:void 0},23714:(e,t,n)=>{n.d(t,{K:()=>u});var o=n(725),r=n(57483),i=n(74477),a=n(27762),l=n.n(a),s=n(54182);var d=({node:e,nodeIndex:t,NodeViewContainer:n})=>l().createElement(n,{key:e.id,node:e,nodeIndex:t},l().createElement(s.b,{componentData:e.dividerData}));const c={[i.J.DIVIDER]:d},u=e=>({config:{...o.O.config,...e},type:r.h,nodeViewRenderers:c})},51345:(e,t,n)=>{n.d(t,{Q:()=>i});var o=n(43223),r=n(82386);const i=e=>({config:{...o.g,...e},type:r.B})},91073:(e,t,n)=>{n.d(t,{w:()=>m});var o=n(16971),r=n(94619),i=n(74477),a=n(27762),l=n.n(a),s=n(13237),d=n(51846);var c=({node:e,nodeIndex:t,NodeViewContainer:n})=>{const{config:o}=(0,a.useContext)(s.U);return l().createElement(n,{key:e.id,node:e,nodeIndex:t},l().createElement(d.Z,{componentData:e.gifData,settings:o[r.P]}))};const u={[i.J.GIF]:c},m=e=>({config:{...o.pc.viewer,...e},type:r.P,nodeViewRenderers:u})},18049:(e,t,n)=>{n.d(t,{c:()=>x});var o=n(47363),r=n(60099),i=n(74477),a=n(27762),l=n.n(a),s=n(94348),d="R32Qn";const c=({node:e,nodeIndex:t,NodeViewContainer:n,RicosNodesRenderer:o})=>{const{lineHeight:r,textAlignment:i}=e.captionData?.textStyle||{},a={paddingTop:e.style?.paddingTop||s.B.styleDefaults.paddingTop,paddingBottom:e.style?.paddingBottom||s.B.styleDefaults.paddingBottom,...r&&{lineHeight:r},...i&&{textAlign:i}};return e.nodes?.length?l().createElement(n,{node:e,nodeIndex:t},l().createElement("figcaption",{className:d,style:a},l().createElement(o,{nodes:e.nodes,shouldParagraphApplyTextStyle:!0}))):null};var u=e=>l().createElement(c,{key:e.node.id,...e}),m=n(65251),p=n(19306),_=n(13237),E=n(21893),h=n(90745);var g=n(5636);const b=({node:e,nodeIndex:t,NodeViewContainer:n,RicosNodesRenderer:o})=>{const{config:r,seoMode:s,helpers:d}=(0,a.useContext)(_.U),{isMobile:c}=(0,a.useContext)(E.ni),u=r[m.nr]??{},b=(({helpers:e,config:t,nodeId:n,imageData:o})=>{const{onExpand:r,disableExpand:i}=t;if(!0!==o?.disableExpand&&!0!==i&&r)return t=>{t.preventDefault(),t.stopPropagation(),e.onViewerAction?.(m.nr,"Click","expand_image"),r(n)}})({helpers:d,config:u,nodeId:e.id,imageData:e.imageData}),V=(({imageData:e,config:t,expand:n})=>e?.link?.url&&t?{type:"link"}:e?.link?.anchor?{type:"anchor"}:n?{type:"expand",onClick:n}:{type:"regular"})({imageData:e.imageData,config:u,expand:b}),y=e.imageData?.caption&&!e.nodes?.length?[{type:i.J.CAPTION,id:(0,p.O)(),nodes:[{type:i.J.TEXT,id:"",nodes:[],textData:{text:e.imageData.caption,decorations:[]}}]}]:e.nodes??[];return l().createElement(n,{node:e,nodeIndex:t},(({ContainerElement:t,SpoilerWrapper:n,LinkWrapper:r})=>l().createElement(t,null,l().createElement("figure",{className:h.Z.imageFigure},l().createElement(r,null,l().createElement(n,null,l().createElement(g.E,{node:e,imageClickActionConfig:V,expand:b,config:u,seoMode:s,helpers:d,isMobile:c,shouldLazyLoadImages:!0}))),l().createElement(o,{nodes:y})))))};var V=({node:e,...t})=>l().createElement(b,{key:e.id,node:e,...t});const y={[i.J.IMAGE]:V,[i.J.CAPTION]:u},x=e=>({config:{...o.Of.config,...e},type:r.n,nodeViewRenderers:y})},57983:(e,t,n)=>{n.d(t,{u:()=>b});var o=n(60140),r=n(95685),i=n.n(r),a=n(27762),l=n.n(a),s=n(74477),d=n(48824),c=n(96538),u="_1r7FD",m="_1zDUb";var p={rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===s.a.ANCHOR)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===s.a.ANCHOR));return((e,t)=>{const{anchor:n}=e.anchorData;return l().createElement("a",{key:`anchor-${t?.key}`,target:"_self",href:`#viewer-${n}`,className:i()(u,m),onClick:e=>{e.stopPropagation(),e.preventDefault();const t=`viewer-${n}`,o=document.getElementById(t);(0,d.s)(t),o&&(0,d.l)(o)},"data-hook":c.wG},t)})(n,e)},priority:1e3},_=n(13237),E=n(56725),h=n(45488);const g=[{rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===s.a.LINK)),decorate:({element:e,node:t,context:n})=>{const o=t.textData?.decorations?.find((({type:e})=>e===s.a.LINK));return((e,t,n,o)=>{const{baseUrl:r}=(0,a.useContext)(_.U),d=t.linkData?.link,p=d?.target||n.anchorTarget,g=d?.rel||{},b=["noopener",g.nofollow?"nofollow":null,g.sponsored?"sponsored":null,g.ugc?"ugc":null,g.noreferrer?"noreferrer":null].filter(Boolean).join(" ");return l().createElement("a",{key:`link=${e.key}`,target:`_${p?.toLowerCase?.()}`,href:d?(0,E._)(d,r):void 0,rel:b,className:i()(u,m),"data-hook":c.YG,onClick:()=>n.helpers.onViewerAction?.(h.x,"Click","",o.id,{type:s.J.TEXT,textData:o.textData})},e)})(e,o,n,t)},priority:1e3},p],b=e=>({config:{...o.O.config,...e},type:h.x,nodeViewDecorators:g})},47709:(e,t,n)=>{n.d(t,{a:()=>_});var o=n(16890),r=n(79849),i=n(74477),a=n(27762),l=n.n(a),s=n(13237),d=n(11487),c=n(38407),u=n(27248);var m=({node:e,nodeIndex:t,NodeViewContainer:n})=>{const{seoMode:o,config:i}=(0,a.useContext)(s.U),{videoData:m}=e;return l().createElement(n,{node:e,nodeIndex:t,key:e.id},l().createElement("div",{className:c.Z.video_container,"data-hook":d.Dx},!!m&&l().createElement(u.R,{config:i[r.E]||{},componentData:m,nodeId:e.id,seoMode:!!o,isLight:!0})))};const p={[i.J.VIDEO]:m},_=e=>({config:{...o.p.viewer,...e},type:r.E,nodeViewRenderers:p})},13237:(e,t,n)=>{n.d(t,{U:()=>i,W:()=>a});var o=n(27762),r=n.n(o);const i=r().createContext(null),a=({contextualData:{anchorTarget:e,relValue:t,config:n,helpers:o,disabled:a,seoMode:l,iframeSandboxDomain:s,disableRightClick:d,customAnchorScroll:c,textAlignment:u,onNodeClick:m,jsdomMode:p,baseUrl:_},children:E})=>r().createElement(i.Provider,{value:{anchorTarget:e,relValue:t,config:n,helpers:o,disabled:a,seoMode:l,iframeSandboxDomain:s,disableRightClick:d,customAnchorScroll:c,textAlignment:u,onNodeClick:m,jsdomMode:p,baseUrl:_}},E)},57582:(e,t,n)=>{n.d(t,{u:()=>i});const o={fontWeight:"normal",fontStyle:"normal",lineHeight:"1.5"},r={bgColor:"#ffffff",textColor:"#000000"},i={desktop:{customStyles:{p:{...o,fontSize:"16px"},h1:{...o,fontSize:"40px"},h2:{...o,fontSize:"28px"},h3:{...o,fontSize:"24px"},h4:{...o,fontSize:"20px"},h5:{...o,fontSize:"18px"},h6:{...o,fontSize:"16px"},quote:{lineHeight:"1.5",fontSize:"18px"},codeBlock:{lineHeight:"1.5"}},palette:r},mobile:{customStyles:{p:{...o,fontSize:"14px"},h1:{...o,fontSize:"32px"},h2:{...o,fontSize:"24px"},h3:{...o,fontSize:"20px"},h4:{...o,fontSize:"20px"},h5:{...o,fontSize:"16px"},h6:{...o,fontSize:"14px"},quote:{lineHeight:"1.5",fontSize:"18px"},codeBlock:{lineHeight:"1.5"}},palette:r}}},66159:(e,t,n)=>{n.d(t,{z:()=>a});const o=1e5,r=5e3,i={TOOLBAR:100,POPUP:200,DRAWER:300,DIALOG:300,TOOLTIP:400,NOTIFICATION:500};class a{constructor(e,t){this.baseZIndex=e?o:r,this.settingsStyles=t}layerToCssVar(e){if(this.settingsStyles&&this.settingsStyles?.modals)return`--ricos-settings-modals-${e.toLowerCase()}-z-index`}getZIndex(e){const t=this.baseZIndex+i[e],n=this.layerToCssVar(e);return void 0!==n?`var(${n}, ${t})`:t}}},48824:(e,t,n)=>{n.d(t,{l:()=>o,s:()=>a});const o=e=>{const t=i(),n=document.querySelector('[id="WIX_ADS"]')?.clientHeight||0,o=document.querySelector('[data-hook="mobileToolbar"]')?.clientHeight||document.querySelector('[data-hook="ricos-editor-toolbars"]')?.clientHeight||0;r(e,t+n+o)},r=(e,t)=>{const{paddingTop:n,marginTop:o}=e.style;e.style.marginTop=`-${t}px`,e.style.paddingTop=`${t}px`,e.scrollIntoView({behavior:"smooth"}),e.style.marginTop=o,e.style.paddingTop=n},i=()=>{const e=document.querySelector('[id="SITE_HEADER"]');return e?"fixed"!==getComputedStyle(e).getPropertyValue("position")?0:e.clientHeight:0},a=e=>{const t=new URL(window.location.href);t.hash=e,history.pushState({},"",t.href)}},27760:(e,t,n)=>{n.d(t,{k:()=>r});var o=n(74477);function r(e,t){const n={[o.J.BULLETED_LIST]:["disc","circle","square"],[o.J.ORDERED_LIST]:["decimal","lower-latin","lower-roman"]}[t];return n[e%n.length]}},93551:(e,t,n)=>{n.d(t,{h9:()=>o,iu:()=>r});const o=e=>`${e?.nofollow?"nofollow ":""}${e?.sponsored?"sponsored ":""}${e?.ugc?"ugc ":""}${e?.noreferrer?"noreferrer":""}`.trim(),r=e=>({nofollow:e?.includes("nofollow"),sponsored:e?.includes("sponsored"),ugc:e?.includes("ugc"),noreferrer:e?.includes("noreferrer")})},724:(e,t,n)=>{n.d(t,{E:()=>r});var o=n(3023);function r(e){return e<0?0:e>o.zV?o.zV:e}},87432:(e,t,n)=>{n.d(t,{u:()=>m});var o=n(17607),r=n(65251),i=n(97423),a=n(74477);const l=e=>(0,o.countBy)(e,(e=>e.type)),s={[a.J.DIVIDER]:r.hE,[a.J.IMAGE]:r.nr,[a.J.GALLERY]:r.lX,[a.J.GIF]:r.Pd,[a.J.HTML]:r.vd,[a.J.VIDEO]:r.EG,[a.J.FILE]:r.yh,[a.J.POLL]:r.Ac,[a.J.COLLAPSIBLE_LIST]:r.iO,[a.J.TABLE]:r.vj,[a.J.EMBED]:r.Sy,[a.J.LINK_PREVIEW]:r.Sy,[a.J.APP_EMBED]:r.uk,[a.J.MAP]:r.ie,[a.J.AUDIO]:r.S9,[a.J.BUTTON]:r.II,[a.J.CODE_BLOCK]:r.S2,[a.J.BLOCKQUOTE]:r.Cs},d={1:"header-one",2:"header-two",3:"header-three",4:"header-four",5:"header-five",6:"header-six"},c={[a.a.MENTION]:r.Uk,[a.a.LINK]:r.xE,[a.a.ANCHOR]:r.ug},u=/\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff]/g;function m(e){const{nodes:t}=e,n=(0,i.K)(t??[]).filter((e=>![a.J.PARAGRAPH,a.J.TEXT,a.J.UNRECOGNIZED,a.J.COLLAPSIBLE_ITEM,a.J.COLLAPSIBLE_ITEM_BODY,a.J.COLLAPSIBLE_ITEM_TITLE,a.J.TABLE_CELL,a.J.TABLE_ROW].includes(e.type))).map((e=>{const{type:t}=e,n=e[`${(0,o.camelCase)(t)}Data`],r={},i=s[t]||t===a.J.HEADING&&d[n.level];return i&&(r.type=i,n&&(r.data=n)),r})).filter((e=>!!e.type)).get(),m=(0,i.K)(t??[]).filter((e=>!!e.textData?.decorations?.some((e=>[a.a.ANCHOR,a.a.LINK,a.a.MENTION].includes(e.type))))).map((e=>{const t=e.textData?.decorations?.find((e=>c[e.type])),n={},r=t?.type&&c[t.type];return r&&(n.type=r,t&&(n.data=t[`${(0,o.camelCase)(t.type.toLowerCase())}Data`])),n})).filter((e=>!!e.type)).get(),p=(0,i.K)(t??[]).map((({textData:e})=>e?.text||"")).get().reduce(((e,t)=>e+(t.match(u)||[]).length),0);return{pluginsCount:{...l(n),...l(m),[r.BG]:p},pluginsDetails:[...n,...m]}}},32864:(e,t,n)=>{n.d(t,{j:()=>r});const o=["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"],r=e=>(e=>!!e&&o.includes(e.split("-|_")[0].toLowerCase()))(e)?"rtl":"ltr"},54432:(e,t,n)=>{n.d(t,{V:()=>r});var o=n(27762);const r=n.n(o)().lazy((()=>Promise.all([n.e(75),n.e(7298)]).then(n.bind(n,22374))))},78215:(e,t,n)=>{n.d(t,{R:()=>o});const o=(e,t)=>{const n=e=>{e.metaKey&&e.shiftKey&&e.altKey&&2===e.detail&&t()};return e?.addEventListener("click",n,{capture:!0}),()=>e?.removeEventListener("click",n)}},31707:(e,t,n)=>{n.d(t,{WixRicosViewer:()=>ln});var o=n(27762),r=n.n(o),i=n(88003),a=n(78215),l=n(63974),s=n(54432),d=n(87432);function c(e){const{children:t,_rcProps:n}=this.props;return t?.props.helpers?.[e]||n?.helpers?.[e]}var u=n(6382);const m=JSON.parse('{"ar":{"VerticalEmbed_Products_Button":"\u0634\u0631\u0627\u0621 \u0627\u0644\u0622\u0646","VerticalEmbed_Events_Button":"\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u0622\u0646","VerticalEmbed_Bookings_Button":"\u062d\u062c\u0632 \u0627\u0644\u0622\u0646","UploadFile_Viewer_Download":"\u062a\u0646\u0632\u064a\u0644 {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} \u0633","VerticalEmbed_Units_Minute":"{{minutes}} \u062f"},"bg":{"VerticalEmbed_Products_Button":"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441\u0435\u0433\u0430","VerticalEmbed_Events_Button":"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u0439\u0442\u0435 \u0441\u0435 \u0441\u0435\u0433\u0430","VerticalEmbed_Bookings_Button":"\u0420\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0430\u0439\u0442\u0435 \u0441\u0435\u0433\u0430","UploadFile_Viewer_Download":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435 \u043d\u0430 {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}\u0447.","VerticalEmbed_Units_Minute":"{{minutes}}\u043c\u0438\u043d."},"ca":{"VerticalEmbed_Products_Button":"Compra ara","VerticalEmbed_Events_Button":"Registra\'t ara","VerticalEmbed_Bookings_Button":"Reserva ara","UploadFile_Viewer_Download":"Baixa {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} h","VerticalEmbed_Units_Minute":"{{minutes}} min"},"cs":{"VerticalEmbed_Products_Button":"Koupit","VerticalEmbed_Events_Button":"Registrovat","VerticalEmbed_Bookings_Button":"Rezervovat","UploadFile_Viewer_Download":"St\xe1hnout {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}\xa0h","VerticalEmbed_Units_Minute":"{{minutes}}\xa0min"},"da":{"VerticalEmbed_Products_Button":"K\xf8b nu","VerticalEmbed_Events_Button":"Tilmeld dig","VerticalEmbed_Bookings_Button":"Book nu","UploadFile_Viewer_Download":"Download {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} t","VerticalEmbed_Units_Minute":"{{minutes}} min"},"de":{"VerticalEmbed_Products_Button":"Jetzt kaufen","VerticalEmbed_Events_Button":"Jetzt anmelden","VerticalEmbed_Bookings_Button":"Jetzt buchen","UploadFile_Viewer_Download":"{{fileType}} herunterladen","VerticalEmbed_Units_Hour":"{{hours}} Std.","VerticalEmbed_Units_Minute":"{{minutes}} Min."},"el":{"VerticalEmbed_Products_Button":"\u0391\u03b3\u03bf\u03c1\u03ac \u03c4\u03ce\u03c1\u03b1","VerticalEmbed_Events_Button":"\u0395\u03b3\u03b3\u03c1\u03b1\u03c6\u03b5\u03af\u03c4\u03b5 \u03c4\u03ce\u03c1\u03b1","VerticalEmbed_Bookings_Button":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7 \u03c4\u03ce\u03c1\u03b1","UploadFile_Viewer_Download":"\u039b\u03ae\u03c8\u03b7 {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}\u03c9","VerticalEmbed_Units_Minute":"{{minutes}} \u03bb\u03b5\u03c0\u03c4\u03ac"},"en":{"Poll_Viewer_VoteCount_Modal_Voters_Header":"{{count}} person voted for this answer","Poll_Viewer_VoteCount_Modal_Voters_Header_plural":"{{count}} people voted for this answer","Poll_Viewer_VoteCount_Modal_Voters_Anonymous":"+{{anonNumber}} anonymous","Poll_Viewer_VoteCount_Modal_Voters_Private_Voter":"Private User","Poll_Viewer_VoteCount_Modal_Voters_CTA_Follow":"Follow","Poll_Viewer_ShowAllOptions_CTA":"See All Options","Poll_Viewer_ShowAllResults_CTA":"See All Results","Poll_Viewer_ShowLess_CTA":"Show Less","Poll_Viewer_Visibility_Owner_Footer":"Only you can see the results.","Poll_Viewer_Multiselect_Footer":"You can vote for more than one answer.","Poll_Viewer_Toast_Error_Connection":"No internet. Check your connection.","Poll_Viewer_Toast_Error_ServerDown":"Couldn\'t connect to server. Try again later.","Poll_Viewer_VoteCount":"{{number}} votes","Poll_Viewer_Option_AriaLabel_Checked":"checked","Poll_Viewer_Option_AriaLabel_Unchecked":"unchecked","Audio_Plugin_Cover_Alt":"Audio cover","Polls_Plugin_User_Avatar_Alt":"User avatar","UploadFile_Viewer_Download":"Download {{fileType}}","UploadFile_Viewer_Loader":"Loading {{fileType}}","Viewer_Toolbar_Twitter_Tooltip":"Tweet this","Preview_ReadMore_Label":"Read more","Preview_SeeFullPost_Label":"See Full Post","Spoiler_Insert_Tooltip":"Spoiler","Spoiler_Reveal_Tooltip":"Click to reveal","Spoiler_Reveal_Image_Placeholder":"This image contains a spoiler","Spoiler_Reveal_Image_CTA":"Reveal Image","Spoiler_Reveal_Gallery_Placeholder":"This gallery contains a spoiler","Spoiler_Reveal_Gallery_CTA":"Reveal Gallery","Spoiler_Reveal_Video_Placeholder":"This video contains a spoiler","Spoiler_Reveal_Video_CTA":"Reveal Video","CollapsibleListPlugin_ExpandButton_AriaLabel":"Item is expanded","CollapsibleListPlugin_CollapseButton_AriaLabel":"Item is collapsed","VerticalEmbed_Bookings_Button":"Book Now","VerticalEmbed_Events_Button":"Register Now","VerticalEmbed_Products_Button":"Buy Now","VerticalEmbed_Disabled_Button_Tooltip":"Product page will be available once you publish your site.","VerticalEmbed_Units_Hour":"{{hours}}h","VerticalEmbed_Units_Minute":"{{minutes}}min"},"es":{"VerticalEmbed_Products_Button":"Comprar ahora","VerticalEmbed_Events_Button":"Registrarse","VerticalEmbed_Bookings_Button":"Reservar ahora","UploadFile_Viewer_Download":"Descargar {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}h","VerticalEmbed_Units_Minute":"{{minutes}}min"},"fi":{"VerticalEmbed_Products_Button":"Osta nyt","VerticalEmbed_Events_Button":"Rekister\xf6idy nyt","VerticalEmbed_Bookings_Button":"Varaa nyt","UploadFile_Viewer_Download":"Lataa {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} t","VerticalEmbed_Units_Minute":"{{minutes}} min"},"fr":{"VerticalEmbed_Products_Button":"Acheter","VerticalEmbed_Events_Button":"S\'inscrire","VerticalEmbed_Bookings_Button":"R\xe9server","UploadFile_Viewer_Download":"T\xe9l\xe9charger {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} h","VerticalEmbed_Units_Minute":"{{minutes}} min"},"he":{"VerticalEmbed_Products_Button":"\u05dc\u05e7\u05e0\u05d9\u05d9\u05d4","VerticalEmbed_Events_Button":"\u05dc\u05d4\u05e8\u05e9\u05de\u05d4","VerticalEmbed_Bookings_Button":"\u05d4\u05d6\u05de\u05d9\u05e0\u05d5 \u05e2\u05db\u05e9\u05d9\u05d5","UploadFile_Viewer_Download":"\u05d4\u05d5\u05e8\u05d9\u05d3\u05d5 \u05d0\u05ea {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} \u05e9\u05e2\u05d5\u05ea","VerticalEmbed_Units_Minute":"{{minutes}} \u05d3\u05e7\u05d5\u05ea"},"hi":{"VerticalEmbed_Products_Button":"\u0905\u092d\u0940 \u0916\u0930\u0940\u0926\u0947\u0902","VerticalEmbed_Events_Button":"\u0905\u092d\u0940 \u092a\u0902\u091c\u0940\u0915\u0930\u0923 \u0915\u0930\u0947\u0902","VerticalEmbed_Bookings_Button":"\u0905\u092d\u0940 \u092c\u0941\u0915 \u0915\u0930\u0947\u0902","UploadFile_Viewer_Download":"{{fileType}} \u0921\u093e\u0909\u0928\u0932\u094b\u0921 \u0915\u0930\u0947\u0902","VerticalEmbed_Units_Hour":"{{hours}}\u0918\u0902\u091f\u0947","VerticalEmbed_Units_Minute":"{{minutes}}\u092e\u093f\u0928\u091f"},"hr":{"VerticalEmbed_Products_Button":"Kupi odmah","VerticalEmbed_Events_Button":"Prijavi se odmah","VerticalEmbed_Bookings_Button":"Rezerviraj odmah","UploadFile_Viewer_Download":"Preuzmi {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}h","VerticalEmbed_Units_Minute":"{{minutes}}min"},"hu":{"VerticalEmbed_Products_Button":"V\xe1s\xe1rl\xe1s most","VerticalEmbed_Events_Button":"Regisztr\xe1ci\xf3 most","VerticalEmbed_Bookings_Button":"Foglal\xe1s most","UploadFile_Viewer_Download":"{{fileType}} let\xf6lt\xe9se","VerticalEmbed_Units_Hour":"{{hours}} \xf3ra","VerticalEmbed_Units_Minute":"{{minutes}} perc"},"id":{"VerticalEmbed_Products_Button":"Beli Sekarang","VerticalEmbed_Events_Button":"Daftar Sekarang","VerticalEmbed_Bookings_Button":"Pesan Sekarang","UploadFile_Viewer_Download":"Unduh {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}j","VerticalEmbed_Units_Minute":"{{minutes}}mnt"},"it":{"VerticalEmbed_Products_Button":"Acquista","VerticalEmbed_Events_Button":"Registrati","VerticalEmbed_Bookings_Button":"Prenota","UploadFile_Viewer_Download":"Scarica {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} h","VerticalEmbed_Units_Minute":"{{minutes}} min"},"ja":{"VerticalEmbed_Products_Button":"\u8cfc\u5165\u3059\u308b","VerticalEmbed_Events_Button":"\u4eca\u3059\u3050\u767b\u9332","VerticalEmbed_Bookings_Button":"\u4eca\u3059\u3050\u4e88\u7d04","UploadFile_Viewer_Download":"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\uff1a{{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}\u6642\u9593","VerticalEmbed_Units_Minute":"{{minutes}}\u5206"},"ko":{"VerticalEmbed_Products_Button":"\uad6c\ub9e4\ud558\uae30","VerticalEmbed_Events_Button":"\ub4f1\ub85d\ud558\uae30","VerticalEmbed_Bookings_Button":"\uc608\uc57d\ud558\uae30","UploadFile_Viewer_Download":"{{fileType}} \ub2e4\uc6b4\ub85c\ub4dc","VerticalEmbed_Units_Hour":"{{hours}}\uc2dc\uac04","VerticalEmbed_Units_Minute":"{{minutes}}\ubd84"},"lt":{"VerticalEmbed_Products_Button":"Pirkti","VerticalEmbed_Events_Button":"Registruotis","VerticalEmbed_Bookings_Button":"U\u017esakyti","UploadFile_Viewer_Download":"Atsisi\u0173sti {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}\xa0val.","VerticalEmbed_Units_Minute":"{{minutes}}\xa0min."},"lv":{"VerticalEmbed_Products_Button":"P\u0113rciet t\u016bl\u012bt","VerticalEmbed_Events_Button":"Re\u0123istr\u0113jieties t\u016bl\u012bt","VerticalEmbed_Bookings_Button":"Rezerv\u0113jiet t\u016bl\u012bt","UploadFile_Viewer_Download":"Lejupiel\u0101d\u0113t {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}\xa0h","VerticalEmbed_Units_Minute":"{{minutes}}\xa0min"},"ms":{"VerticalEmbed_Products_Button":"Beli Sekarang","VerticalEmbed_Events_Button":"Daftar Sekarang","VerticalEmbed_Bookings_Button":"Tempah Sekarang","UploadFile_Viewer_Download":"Muat turun {{fileType}}","VerticalEmbed_Units_Hour":"{{jam}}j","VerticalEmbed_Units_Minute":"{{minit}}min"},"nl":{"VerticalEmbed_Products_Button":"Nu kopen","VerticalEmbed_Events_Button":"Nu registreren","VerticalEmbed_Bookings_Button":"Nu boeken","UploadFile_Viewer_Download":"Download {{fileType}}","VerticalEmbed_Units_Hour":"{{uur}}u","VerticalEmbed_Units_Minute":"{{minuten}}min"},"no":{"VerticalEmbed_Products_Button":"Kj\xf8p n\xe5","VerticalEmbed_Events_Button":"Registrer deg n\xe5","VerticalEmbed_Bookings_Button":"Book n\xe5","UploadFile_Viewer_Download":"Last ned {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}t","VerticalEmbed_Units_Minute":"{{minutes}}min"},"pl":{"VerticalEmbed_Products_Button":"Kup teraz","VerticalEmbed_Events_Button":"Zarejestruj si\u0119 teraz","VerticalEmbed_Bookings_Button":"Zarezerwuj teraz","UploadFile_Viewer_Download":"Pobierz {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}h","VerticalEmbed_Units_Minute":"{{minutes}}min"},"pt":{"VerticalEmbed_Products_Button":"Compre agora","VerticalEmbed_Events_Button":"Registre-se agora","VerticalEmbed_Bookings_Button":"Agendar","UploadFile_Viewer_Download":"Fazer download de {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}h","VerticalEmbed_Units_Minute":"{{minutes}}min"},"ro":{"VerticalEmbed_Products_Button":"Cump\u0103r\u0103 acum","VerticalEmbed_Events_Button":"\xcenregistreaz\u0103-te acum","VerticalEmbed_Bookings_Button":"Rezerv\u0103 acum","UploadFile_Viewer_Download":"Descarc\u0103 {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} h","VerticalEmbed_Units_Minute":"{{minutes}} min"},"ru":{"VerticalEmbed_Products_Button":"\u041a\u0443\u043f\u0438\u0442\u044c","VerticalEmbed_Events_Button":"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f","VerticalEmbed_Bookings_Button":"\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c","UploadFile_Viewer_Download":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} \u0447.","VerticalEmbed_Units_Minute":"{{minutes}} \u043c\u0438\u043d."},"sk":{"VerticalEmbed_Products_Button":"K\xfapi\u0165 teraz","VerticalEmbed_Events_Button":"Zaregistrujte sa teraz","VerticalEmbed_Bookings_Button":"Rezervova\u0165 teraz","UploadFile_Viewer_Download":"Stiahnu\u0165 {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}h","VerticalEmbed_Units_Minute":"{{minutes}}min"},"sl":{"VerticalEmbed_Products_Button":"Kupi zdaj","VerticalEmbed_Events_Button":"Registrirajte se zdaj","VerticalEmbed_Bookings_Button":"Rezerviraj zdaj","UploadFile_Viewer_Download":"Prenos {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}h","VerticalEmbed_Units_Minute":"{{minutes}} min"},"sv":{"VerticalEmbed_Products_Button":"K\xf6p nu","VerticalEmbed_Events_Button":"Registrera dig nu","VerticalEmbed_Bookings_Button":"Boka nu","UploadFile_Viewer_Download":"Ladda ner {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} t","VerticalEmbed_Units_Minute":"{{minutes}} min"},"th":{"VerticalEmbed_Products_Button":"\u0e0b\u0e37\u0e49\u0e2d\u0e40\u0e25\u0e22","VerticalEmbed_Events_Button":"\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49","VerticalEmbed_Bookings_Button":"\u0e08\u0e2d\u0e07\u0e40\u0e25\u0e22","UploadFile_Viewer_Download":"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14 {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} \u0e0a\u0e21.","VerticalEmbed_Units_Minute":"{{minutes}} \u0e19\u0e32\u0e17\u0e35"},"tl":{"VerticalEmbed_Products_Button":"Bumili Na","VerticalEmbed_Events_Button":"Magparehistro Na","VerticalEmbed_Bookings_Button":"Mag-book Na","UploadFile_Viewer_Download":"I-download ang {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}}h","VerticalEmbed_Units_Minute":"{{minutes}}min"},"tr":{"VerticalEmbed_Products_Button":"Sat\u0131n Al","VerticalEmbed_Events_Button":"Hemen Kaydol","VerticalEmbed_Bookings_Button":"Yer Ay\u0131rt","UploadFile_Viewer_Download":"{{fileType}} dosyas\u0131n\u0131 indir","VerticalEmbed_Units_Hour":"{{hours}} sa.","VerticalEmbed_Units_Minute":"{{minutes}} dk."},"uk":{"VerticalEmbed_Products_Button":"\u041a\u0443\u043f\u0438\u0442\u0438 \u0437\u0430\u0440\u0430\u0437","VerticalEmbed_Events_Button":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044f","VerticalEmbed_Bookings_Button":"\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u0438\u0441\u044f","UploadFile_Viewer_Download":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} \u0433\u043e\u0434.","VerticalEmbed_Units_Minute":"{{minutes}} \u0445\u0432."},"vi":{"VerticalEmbed_Products_Button":"Mua ngay","VerticalEmbed_Events_Button":"\u0110\u0103ng k\xfd ngay","VerticalEmbed_Bookings_Button":"\u0110\u0103\u0323t ngay","UploadFile_Viewer_Download":"T\u1ea3i v\u1ec1 {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} gi\u1edd","VerticalEmbed_Units_Minute":"{{minutes}} ph\xfat"},"zh":{"VerticalEmbed_Products_Button":"\u7acb\u5373\u8cfc\u8cb7","VerticalEmbed_Events_Button":"\u7acb\u5373\u5831\u540d","VerticalEmbed_Bookings_Button":"\u7acb\u5373\u9810\u8a02","UploadFile_Viewer_Download":"\u4e0b\u8f09 {{fileType}}","VerticalEmbed_Units_Hour":"{{hours}} \u5c0f\u6642","VerticalEmbed_Units_Minute":"{{minutes}} \u5206\u9418"}}');var p=n(95685),_=n.n(p),E=n(17607),h=n(57582),g=n(2934),b=n(40100);const V="no-outline";class y extends o.Component{constructor(){super(...arguments),this.handleTabKeyUp=e=>{9===e.which&&document.body.classList.contains(V)&&document.body.classList.remove(V)},this.handleClick=()=>{document.body.classList.contains(V)||document.body.classList.add(V)},this.render=()=>null}componentDidMount(){document.body.classList.add(V),this.props.isMobile||(document.addEventListener("keyup",this.handleTabKeyUp),document.addEventListener("click",this.handleClick))}componentWillUnmount(){this.props.isMobile||(document.removeEventListener("keyup",this.handleTabKeyUp),document.removeEventListener("click",this.handleClick))}}var x=n(32864),w={fontElementMap:"tAwb3",wrapper:"IoPy5",pluginContainerMobile:"echnM",viewer:"QEvgo",android:"ncOS7",rootedTraversedContent:"tDi26",atomic:"n6lTA",toolbar:"JQIJ9",block:"U5qzj"},f={rtl:"_4bpaa",ltr:"gH3ol"},v=n(74477);const D=r().memo((({anchorKey:e,type:t})=>r().createElement("div",{key:e,type:t,"data-hook":e}))),T=(e,t,n)=>{const o=(e=>[v.J.PARAGRAPH,v.J.HEADING,v.J.BLOCKQUOTE,v.J.CODE_BLOCK].includes(e.type)&&!e.nodes?.length)(e)?"empty-line":e.type.toLowerCase(),i=`${n}${t+1}`;return r().createElement(D,{key:i,type:o,anchorKey:i})};var B=({addAnchors:e,children:t})=>{if(e){const n=e&&(!0===e?"rcv-block":e),i=`${n}-first`,a=`${n}-last`;return r().createElement(r().Fragment,null,r().createElement(D,{type:"first",anchorKey:i}),(0,o.cloneElement)(o.Children.only(t),{addAnchorsPrefix:n}),r().createElement(D,{type:"last",anchorKey:a}))}return t},I=n(21893),L=n(20707);const C=r().createContext(null),P=({nodeViewDecorators:e,renderers:t,SpoilerViewerWrapper:n,children:o})=>r().createElement(C.Provider,{value:{nodeViewDecorators:e,renderers:t,SpoilerViewerWrapper:n}},o);var k=n(13237);const S=r().createContext(null),U=({textAlignment:e,children:t})=>{const n=(0,o.useMemo)((()=>({textAlignment:e})),[e]);return r().createElement(S.Provider,{value:n},t)},A=r().createContext(null),M=({spoilerManager:e,children:t})=>r().createElement(A.Provider,{value:{spoilerManager:e}},t),R=r().createContext(null),N=({visibleIndentation:e,children:t})=>r().createElement(R.Provider,{value:{visibleIndentation:e}},t),O=r().createContext(null),H=({parentNode:e,parentIndex:t,children:n})=>r().createElement(O.Provider,{value:{parentNode:e,parentIndex:t}},n);var F=n(66159);const z=[{rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===v.a.BOLD)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===v.a.BOLD));return((e,t)=>{const{fontWeightValue:n}=e;return r().createElement("strong",{key:`bold-${t?.key}`,style:{fontWeight:n||700}},t)})(n,e)}},{rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===v.a.ITALIC)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===v.a.ITALIC));return((e,t)=>{const{italicData:n}=t,o=void 0===n||n;return r().createElement("em",{key:`italic-${e.key}`,style:{fontStyle:o?"italic":"normal"}},e)})(e,n)}},{rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===v.a.UNDERLINE)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===v.a.UNDERLINE));return((e,t)=>{const{underlineData:n}=t,o=void 0===n||n;return r().createElement("u",{key:e.key,style:{textDecoration:o?"underline":"none"}},e)})(e,n)},priority:2},{rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===v.a.FONT_SIZE)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===v.a.FONT_SIZE));return((e,t)=>{const{unit:n,value:o}=t.fontSizeData||{};return r().createElement("span",{key:`fontsize-${e.key}`,style:{fontSize:`${o}${n.toLowerCase()}`}},e)})(e,n)}}],J={rule:()=>!0,decorate:({node:e,element:t,isRoot:n,context:o})=>{if(!n)return r().createElement(r().Fragment,null,t);const i=o.theme.breakout;if(!i)return r().createElement(r().Fragment,null,t);const a=i.rule({node:e});return r().createElement("div",{"data-breakout":a},t)}},K=class e{constructor(t,n){this.decorators=[],this.textualDecorators=[],this.decorators=t.filter((e=>!e.isText)).sort(e.sort).reverse(),this.textualDecorators=t.filter((e=>e.isText)),this.context=n}static sort(t,n){const o=t.priority??e.defaultPriority,r=n.priority??e.defaultPriority;return o>r?-1:oo.rule(t)?o.decorate({node:t,context:this.context,element:e,isRoot:n}):e),e)}applyTextual(e){const t=this.textualDecorators.find((t=>t.rule(e)));return t?.decorate({node:e,context:this.context,isRoot:!1})}};K.defaultPriority=100;const W=[...z,J];var $=K,G={indentZero:"hC9aW",indentOne:"k-BS6",indentTwo:"Nb-TW",indentThree:"aZELM",indentFour:"hSi8y",indentFive:"fAuRN",indentSix:"KaS13"};var j=({nodeId:e,children:t})=>r().cloneElement(r().Children.only(t),{id:`viewer-${e}`});const Y=({className:e="paywall",index:t=3},n)=>n"object"==typeof e&&"object"==typeof e?.paywall;var q=n(55815);const X={0:"indentZero",1:"indentOne",2:"indentTwo",3:"indentThree",4:"indentFour",5:"indentFive",6:"indentSix"},Q={[q.HK.LEFT]:"left",[q.HK.CENTER]:"center",[q.HK.RIGHT]:"right",[q.HK.JUSTIFY]:"flex-start"};var ee={fontElementMap:"_8yw0F",quote:"dkfRS"};const te=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:a}=(0,o.useContext)(k.U),{parentNode:l}=(0,o.useContext)(O),{indentation:s=0}=e.blockquoteData||{},d=e.nodes?.[0],c=`${d?.type?.toLowerCase()}Data`,{textAlignment:u}=d?.[c]?.textStyle||{},m=_()(ee.quote,s>0&&G[X[s]],!l&&Z(a)&&Y(a?.paywall||{},t)),p=ee.child;return r().createElement(j,{nodeId:e.id},r().createElement("div",{style:{display:"flex",justifyContent:Q[u]},dir:(0,i.getTextDirection)(e.nodes?.[0]?.nodes?.[0]?.textData?.text)||"ltr"},r().createElement("blockquote",{className:m,style:e.style},r().createElement("span",{className:p},r().createElement(H,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[]}))))))};var ne=({node:e,...t})=>r().createElement(te,{key:e.id,node:e,...t}),oe={alignLeft:"jyz5I",textWrapNowrap:"_0g73m",alignRight:"_9wyPv",alignCenter:"bnQSl",sizeFullWidth:"JoGYO",renderedInTable:"qaPdu",sizeOriginal:"InjNW",sizeContent:"B2JBh",sizeSmall:"lNFmr",sizeSmallCenter:"tA84Q",flex:"LGmdJ",LEFT:"rPWWY",CENTER:"_0tjDO",RIGHT:"HxPvP",AUTO:"-XrkL",JUSTIFY:"mTnD-"},re="PKrgp lUx8k";const ie=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:i}=(0,o.useContext)(k.U),{textAlignment:a}=(0,o.useContext)(S),{parentNode:l}=(0,o.useContext)(O),{textAlignment:s,lineHeight:d}=e.codeBlockData?.textStyle||{},c=_()(re,oe[s||a||q.HK.AUTO],!l&&Z(i)&&Y(i?.paywall||{},t)),u={...e.style,...d&&{lineHeight:d}};return r().createElement(j,{nodeId:e.id},r().createElement("pre",{className:c,style:u,dir:"auto"},r().createElement("span",{className:_()(s===q.HK.JUSTIFY&&oe[s])},r().createElement(H,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[]})))))};var ae=({node:e,...t})=>r().createElement(ie,{key:e.id,node:e,...t});const le=r().createContext(null),se=({directionHandled:e,children:t})=>{const n=(0,o.useMemo)((()=>({directionHandled:e})),[e]);return r().createElement(le.Provider,{value:n},t)};var de={fontElementMap:"_0NADu",elementSpacing:"pCLWE",headerOne:"_8hKD9 pCLWE",headerTwo:"-pjoI pCLWE",headerThree:"XToie pCLWE",headerFour:"ZeODy pCLWE",headerFive:"FC8oi pCLWE",headerSix:"zliVd pCLWE",child:"mtptZ"};const ce={1:"headerOne",2:"headerTwo",3:"headerThree",4:"headerFour",5:"headerFive",6:"headerSix"},ue={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},me=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:i}=(0,o.useContext)(k.U),{textAlignment:a}=(0,o.useContext)(S),{parentNode:l}=(0,o.useContext)(O),s=(0,o.useContext)(le),{level:d=0,textStyle:c,indentation:u=0}=e.headingData||{},{textAlignment:m,lineHeight:p}=c||{},E=_()(de[ce[d]??ce[1]],oe[m||a||q.HK.AUTO],G[X[u]],!l&&Z(i)&&Y(i?.paywall||{},t)),h=_()(de.child,m===q.HK.JUSTIFY&&oe[m]),g=ue[d]??ue[1],b=e.style||{};p&&(b.lineHeight=p);const V=!e.nodes?.length,y=!V&&"\n"===e.nodes?.[e.nodes.length-1]?.textData?.text?.slice(-1),x=V?r().createElement("br",{role:"presentation"}):r().createElement(H,{parentNode:e,parentIndex:t},r().createElement(n,{key:`children-${e.id}`,nodes:e.nodes??[]}));return r().createElement(j,{nodeId:e.id},r().createElement(g,{className:E,style:b,dir:s?"":"auto"},r().createElement("span",{className:h},x),y&&r().createElement("br",{role:"presentation"})))};var pe=({node:e,...t})=>r().createElement(me,{key:e.id,node:e,...t}),_e="_3mvqX",Ee="J8NVP",he="Q3PYN";const ge=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{textAlignment:i}=(0,o.useContext)(S),{visibleIndentation:a}=(0,o.useContext)(R),l=a?.indentation||0,s=e.bulletedListData?.offset||0,d=(a&&a?.nodeId!==e.id?1:0)+l+s,c=_()(Ee,oe[i||q.HK.AUTO]);return r().createElement("ul",{className:c},r().createElement(N,{visibleIndentation:{indentation:d,nodeId:e.id}},r().createElement(H,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[]}))))};var be=({node:e,...t})=>r().createElement(ge,{key:e.id,node:e,...t}),Ve=n(724),ye=n(27760),xe=n(3023);const we=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:i}=(0,o.useContext)(k.U),{parentIndex:a}=(0,o.useContext)(O),{visibleIndentation:l}=(0,o.useContext)(R),s=e.nodes[0],d=`${s?.type?.toLowerCase()}Data`,{textAlignment:c}=s?.[d]?.textStyle||{},u=c&&c===q.HK.CENTER,{parentNode:m}=(0,o.useContext)(O),p=l&&l?.nodeId===m?.id?(0,Ve.E)(l?.indentation):0,E=function(e,t){if(!e)return"1.5em";const n=`${e?.type?.slice(0,-5).toLowerCase()}ListData`,o=e[n]?.offset||0,r=t>xe.zV?o-(t-xe.zV):(0,Ve.E)(o);return e?2*(0,Ve.E)(r)+1.5+"em":""}(m,l?.indentation||0),h=m?(0,ye.k)(p,m.type):"",g=s?.type===v.J.HEADING&&s.headingData?.level,b=_()(he,Z(i)&&Y(i?.paywall||{},t+a)),V=s?.nodes?.[0]?.textData?.decorations?.find((e=>e.type===v.a.FONT_SIZE))?.fontSizeData?.value;return r().createElement("li",{dir:"auto","aria-level":p+1,className:b,style:{textAlign:c,fontSize:V,marginInlineStart:E,listStyleType:h},...g?{"data-heading-level":ce[g]}:{},...u?{"data-list-style-position":"inside"}:{}},r().createElement(se,{directionHandled:!0},r().createElement(H,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[],shouldParagraphApplyTextStyle:!0}))))};var fe=({node:e,...t})=>r().createElement(we,{key:e.id,node:e,...t});const ve=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{textAlignment:i}=(0,o.useContext)(S),{visibleIndentation:a}=(0,o.useContext)(R),l=a?.indentation||0,s=e.orderedListData?.offset||0,d=(a&&a?.nodeId!==e.id?1:0)+l+s,c=_()(_e,oe[i||q.HK.AUTO]);return r().createElement("ol",{className:c,start:e.orderedListData?.start},r().createElement(N,{visibleIndentation:{indentation:d,nodeId:e.id}},r().createElement(H,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[]}))))};var De=({node:e,...t})=>r().createElement(ve,{key:e.id,node:e,...t}),Te="Uh6qG _31WPE",Be="x1iHI";const Ie=({node:e,nodeIndex:t,RicosNodesRenderer:n,shouldParagraphApplyTextStyle:i})=>{const{seoMode:a}=(0,o.useContext)(k.U),{textAlignment:l}=(0,o.useContext)(S),{parentNode:s}=(0,o.useContext)(O),d=(0,o.useContext)(le),{indentation:c=0}=e.paragraphData||{},{textAlignment:u,lineHeight:m}=e.paragraphData?.textStyle||{},p=u!==q.HK.AUTO&&u?u:l,E=_()(i&&Te,oe[p||q.HK.AUTO],G[X[c]],!s&&Z(a)&&Y(a?.paywall||{},t)),h=_()(Be,u===q.HK.JUSTIFY&&oe[u]),g=!e.nodes?.length,b=!g&&"\n"===e.nodes?.[e.nodes?.length-1]?.textData?.text?.slice(-1),V=g||!i?"div":"p",y={...e.style,...m&&{lineHeight:m}},x=g?r().createElement("br",{role:"presentation"}):r().createElement(H,{parentNode:e,parentIndex:t},r().createElement(n,{key:`children-${e.id}`,nodes:e.nodes??[]}));return r().createElement(j,{nodeId:e.id},r().createElement(V,{className:E,style:y,dir:d?"":"auto"},r().createElement("span",{className:h},x),b&&r().createElement("br",{role:"presentation"})))};var Le=({node:e,...t})=>r().createElement(Ie,{key:e.id,node:e,...t});const Ce=({node:e})=>{const{text:t}=e.textData||{},{nodeViewDecorators:n}=(0,o.useContext)(C);return t&&""!==t?r().createElement("span",null,n.applyTextual(e)||t):r().createElement("br",{role:"presentation"})};var Pe,ke=(Pe=e=>{const{parentId:t,nodeIndex:n}=e,o=`${t}-text-node-${n}`;return r().createElement(Ce,{key:o,...e})},function(e){return r().createElement(O.Consumer,{key:Math.random().toString().slice(2,9)},(({parentNode:t,parentIndex:n})=>r().createElement(Pe,{...e,parentNode:t,parentIndex:n})))});var Se={[v.J.PARAGRAPH]:Le,[v.J.TEXT]:ke,[v.J.BLOCKQUOTE]:ne,[v.J.CODE_BLOCK]:ae,[v.J.HEADING]:pe,[v.J.BULLETED_LIST]:be,[v.J.ORDERED_LIST]:De,[v.J.LIST_ITEM]:fe},Ue=n(74068),Ae=n(99993),Me=n(75470),Re=n(7848),Ne=n(45076),Oe=n(89954),He=n(33959),Fe=n(84809);const ze=e=>"boolean"==typeof e.boolValue,Je=e=>"string"==typeof e.stringValue,Ke=e=>"number"==typeof e.numberValue,We=e=>(0,E.isObject)(e.listValue)&&Array.isArray(e.listValue?.values),$e=e=>(0,E.isObject)(e.structValue)&&(0,E.isObject)(e.structValue?.fields),Ge=e=>e.nullValue===Fe.q.NULL_VALUE,je=Re.uZ((0,Ne.Ps)()),Ye=([e,t])=>({[e]:t}),Ze=e=>(0,Ae.zG)(e.fields,Object.entries,Ue.UI(Oe.Pd(qe,Ae.yR)),Ue.UI(Ye),(0,Me.ur)(je)),qe=e=>(0,He.Pl)(e,null,[[ze,({boolValue:e})=>e],[Ke,({numberValue:e})=>e],[Je,({stringValue:e})=>e],[Ge,()=>null],[We,e=>Xe(e.listValue||{values:[]})],[$e,e=>Ze(e.structValue||{fields:{}})]]),Xe=e=>(0,Ae.zG)(e.values,Ue.UI(qe));var Qe={alignLeft:"_9zvO0",textWrapNowrap:"ABuvu",alignRight:"-ZkKN",alignCenter:"Z8nBT",sizeFullWidth:"tQYiY",renderedInTable:"_6NAr8",sizeOriginal:"adzLB",sizeContent:"QbEDG",sizeSmall:"-dNdB",sizeSmallCenter:"aHp8w",flex:"SbK-D",atomic:"_-1Eds",embed:"b-LUF",horizontalScrollbar:"n2R19",pluginContainerMobile:"dZXhO"};const et=e=>{const t=`${(0,E.camelCase)(e.type)}Data`;return e?.[t]?.containerData},tt=(e={})=>{const{alignment:t}=e;if(!t)return"";const n=`align${(0,E.upperFirst)(t.toLowerCase())}`;return Qe[n]},nt=e=>{const{width:t}=e,{size:n}=t||{};if(!n||"FULL_WIDTH"===n)return"";const o=`size${(0,E.upperFirst)(n.toLowerCase())}`;return Qe[o]},ot=(e={})=>{const{textWrap:t}=e;return t?"":Qe.textWrapNowrap};class rt extends r().Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}render(){return this.state.hasError?null:this.props.children}}const it={[v.J.IMAGE]:(e,t)=>e?.image?.width&&t&&("number"==typeof e?.containerData?.width?.custom?e.containerData.width.custom:parseFloat(e?.containerData?.width?.custom||"0"))>150},at=e=>e?.width?.size&&("CONTENT"===e.width.size||"FULL_WIDTH"===e.width?.size),lt={[v.J.IMAGE]:e=>at(e.containerData)?"100%":`${e?.image?.width}px`,[v.J.GIF]:e=>at(e.containerData)?"100%":`${e.width}px`},st=({nodeType:e,componentData:t,nodeIndex:n,className:i,children:a})=>{const{containerData:l}=t,{seoMode:s}=(0,o.useContext)(k.U),{isMobile:d}=(0,o.useContext)(I.ni),{parentNode:c}=(0,o.useContext)(O),u=it[e]?.(t,d),m=l?.width?.custom&&!u?`${isNaN(Number(l.width.custom))?l.width.custom:parseInt(l.width.custom)}px`:void 0,p=("ORIGINAL"===l?.width?.size||u)&<[e]?.(t),E=m||p,h=t&&E?{width:`min(100%, ${E})`}:void 0;return r().createElement("div",{className:_()(i,!c&&Z(s)&&Y(s?.paywall||{},n)),style:h},a)};var dt=n(56725),ct=n(93551),ut=n(48824),mt="_8puhn";const pt=({children:e,nodeType:t,link:n})=>{const{anchorTarget:i,baseUrl:a,customAnchorScroll:l}=(0,o.useContext)(k.U);return n&&t!==v.J.BUTTON?r().createElement("a",{className:n?mt:void 0,href:n?(0,dt._)(n,a):void 0,target:n.target?`_${n.target.toLowerCase()}`:i,rel:n.rel&&(0,ct.h9)(n.rel),onClick:n?.anchor?e=>{if(l)return l(e,n?.anchor);const t=`viewer-${n?.anchor}`,o=document.getElementById(t);o&&((0,ut.s)(t),(0,ut.l)(o))}:void 0},e):r().createElement(r().Fragment,null,e)},_t=e=>void 0!==e,Et=(e={})=>({config:{spoiler:{enabled:!!e.spoiler?.enabled,description:e.spoiler?.description,buttonContent:e.spoiler?.buttonText}}}),ht=({node:e,nodeIndex:t,customClassNames:n,withHorizontalScroll:i,children:a})=>{const{isMobile:l}=(0,o.useContext)(I.ni),{SpoilerViewerWrapper:s}=(0,o.useContext)(C),d=`${(0,E.camelCase)(e.type)}Data`,c=e[d]||{},{containerData:u,link:m}=c,{alignment:p,size:h,textWrap:g}=n||{},b=_()(Qe.pluginContainerReadOnly,{[Qe.pluginContainerMobile]:l,[Qe.horizontalScrollbar]:i},_t(p)?p:(e=>tt(et(e)))(e),_t(h)?h:(e=>nt(et(e)||{}))(e),_t(g)?g:(e=>ot(et(e)))(e)),V=(0,o.useCallback)((n=>r().createElement(st,{className:b,nodeType:e.type,componentData:c,nodeIndex:t},n)),[b,e.type,u?.width?.custom,u?.width?.size,u?.alignment,t]),y=(0,o.useCallback)((t=>s?r().createElement(s,{className:b,width:u?.width?.custom?parseInt(u.width.custom):void 0,type:e.type,componentData:Et(u)},t):t),[b,e.type,u?.width?.custom,u?.width?.size,u?.alignment,u?.spoiler?.enabled,u?.spoiler?.buttonText,u?.spoiler?.description]),x=(0,o.useCallback)((t=>r().createElement(pt,{link:m,nodeType:e.type},t)),[e.type,m?.url,m?.target,m?.anchor,m?.rel?.nofollow,m?.rel?.noreferrer,m?.rel?.sponsored]);return"function"==typeof a?r().createElement(gt,{node:e},a((0,o.useMemo)((()=>({ContainerElement:e=>V(e.children),SpoilerWrapper:e=>y(e.children),LinkWrapper:e=>x(e.children)})),[V,y,x]))):r().createElement(gt,{node:e},x(y(V(a))))},gt=({children:e,node:t})=>r().createElement(rt,null,r().createElement(j,{nodeId:t.id},r().createElement("div",{className:Qe.atomic},e))),bt=({type:e,context:t,node:n,nodeIndex:o,children:i,pluginComponent:{component:a}})=>{const l=t.config?.[e]||{},s=n.externalData&&Ze(n.externalData)||{},d=(((u=(c=s).config||{}).width||u.alignment||u.textWrap)&&(["content","original","fullWidth","small"].includes(u.size)||["center","left","right"].includes(u.alignment))?(e=>({..."string"==typeof e.size?{width:{size:e.size.toUpperCase()}}:{},..."string"==typeof e.alignment?{alignment:e.alignment.toUpperCase()}:{},...void 0!==e.textWrap?{textWrap:"nowrap"!==e.textWrap}:{}}))(c.config):c.containerData)||{};var c,u;const m={type:e,componentData:s,settings:l,children:i,...t,blockKey:n.id},p={alignment:tt(d),size:nt(d),textWrap:ot(d)};return r().createElement(ht,{node:n,nodeIndex:o,customClassNames:p},r().createElement(a,{...m}))},Vt={[v.J.EXTERNAL]:e=>({[v.J.EXTERNAL]:({node:t,nodeIndex:n})=>r().createElement(bt,{key:t.id,node:t,nodeIndex:n,...e})})},yt=(e,t,n,o)=>{const r=Object.entries(t).reduce(((t,[n,r])=>({...t,...Vt[n]?.({pluginComponent:r,type:n,context:e,SpoilerViewerWrapper:o})})),{});return{...r,...n}};var xt=class{constructor(){this.spoilers={},this.registerSpoiler=(e,t)=>{this.spoilers[e]||(this.spoilers[e]={isActive:!0,notifiers:[]}),this.spoilers[e].notifiers.push(t)},this.toggleSpoiler=e=>{this.spoilers[e].isActive=!this.spoilers[e].isActive,this.spoilers[e].notifiers.forEach((e=>e()))},this.isActive=e=>this.spoilers[e]?.isActive}};const wt=({node:e})=>null,ft=({node:e,index:t,isRoot:n,shouldParagraphApplyTextStyle:i})=>{const{renderers:a,nodeViewDecorators:l}=(0,o.useContext)(C),s=a[e.type];return s?l.apply(r().createElement(s,{node:e,key:e.id||t.toString(),RicosNodesRenderer:vt,isRoot:n,nodeIndex:t,NodeViewContainer:ht,shouldParagraphApplyTextStyle:i}),e,!!n):(console.error(`RicosNodeDedcorated Error: no renderer passed for node type - ${e.type}`),r().createElement(wt,{node:e}))},vt=({nodes:e,isRoot:t,shouldParagraphApplyTextStyle:n,addAnchorsPrefix:o})=>r().createElement(r().Fragment,null,e.flatMap(((e,i)=>[r().createElement(ft,{isRoot:t,node:e,index:i,key:e.id||i.toString(),shouldParagraphApplyTextStyle:n}),...o?[T(e,i,o)]:[]])));var Dt=vt;var Tt=({content:e,context:t,typeMappers:n,nodeViewRenderers:i,nodeViewDecorators:a,SpoilerViewerWrapper:l,addAnchorsPrefix:s})=>{const{nodes:d}=e,c=new xt,u=(0,o.useMemo)((()=>({...Se,...yt(t,n,i,l)})),[]),m=(0,o.useMemo)((()=>$.of([...W,...a],t)),[]),p=(0,o.useMemo)((()=>{const{t:e,locale:n,isMobile:o,theme:r,experiments:i,languageDir:a,jsdomMode:l}=t;return{t:e,locale:n,localeContent:n,isMobile:o,theme:r,experiments:i,languageDir:a,jsdomMode:l,tabIndex:0}}),[t.t,t.locale,t.isMobile,t.theme,t.experiments,t.languageDir,t.jsdomMode]),_=(0,o.useMemo)((()=>new F.z(t.isMobile,t.theme.settingsStyles)),[]);return r().createElement(r().Fragment,null,r().createElement(I.T7,{...p},r().createElement(L.Gl,{zIndexService:_},r().createElement(P,{nodeViewDecorators:m,renderers:u,SpoilerViewerWrapper:l},r().createElement(k.W,{contextualData:t},r().createElement(U,{textAlignment:t.textAlignment},r().createElement(M,{spoilerManager:c},r().createElement(N,{visibleIndentation:null},r().createElement(H,{parentNode:null,parentIndex:0},r().createElement("div",{className:w.rootedTraversedContent},r().createElement(Dt,{nodes:d??[],isRoot:!0,addAnchorsPrefix:s,shouldParagraphApplyTextStyle:!0})))))))))))};const Bt={...w,...f},It=({t:e,theme:t,isMobile:n=!1,anchorTarget:o,relValue:r,customAnchorScroll:i,config:a,locale:l,disabled:s,seoMode:d,iframeSandboxDomain:c,textAlignment:u,experiments:m,textDirection:p,direction:_,helpers:E,onNodeClick:h,jsdomMode:g,baseUrl:b})=>({t:e,theme:t||{},isMobile:n,anchorTarget:o,relValue:r,customAnchorScroll:i,config:a,helpers:E||{},locale:l||"en",disabled:s,seoMode:d,iframeSandboxDomain:c,disableRightClick:a?.uiSettings?.disableRightClick,textAlignment:u,experiments:m,textDirection:p,languageDir:_||(0,x.j)(l),onNodeClick:h,jsdomMode:g,baseUrl:b});var Lt=e=>{const{config:t={},onHover:n,isMobile:o=!1,addAnchors:a,onMouseOver:l=(()=>{}),content:s,setRef:d,typeMappers:c,nodeViewRenderers:u,nodeViewDecorators:m,experiments:p={},t:V}=e,x=t[i.SPOILER_TYPE]?.SpoilerViewerWrapper,w=It(e),v=_()(Bt.viewer,{[f.rtl]:"rtl"===w.textDirection}),D=(0,E.merge)({},o?h.u.mobile:h.u.desktop,w.theme),T=(0,g.q)(D,s?.documentStyle??{});return r().createElement(b.k.Provider,{key:"RicosViewer",value:{experiments:p,isMobile:o,t:V}},r().createElement("div",{className:_()(Bt.wrapper),dir:w.languageDir,onMouseEnter:e=>n&&n(e),onMouseOver:l,ref:d,style:T,"data-id":"content-viewer"},e.devTools,r().createElement("div",{className:v},r().createElement(B,{addAnchors:a},r().createElement(Tt,{content:s,typeMappers:c,context:w,nodeViewRenderers:u,nodeViewDecorators:m,SpoilerViewerWrapper:x}))),r().createElement(y,{isMobile:o})))};const Ct=function(e){const t=e.en;return Object.keys(e).reduce(((n,o)=>(n[o]={...t,...e[o]},n)),{})}(m),Pt=e=>{const t=e.locale,[o,i]=r().useState((()=>({status:"READY",loadedLocales:["en"],i18nextInstance:kt({activeLocale:t,resources:Ct})}))),{i18nextInstance:a,loadedLocales:l}=o;t!==a.language&&a.changeLanguage(t),r().useEffect((()=>{l.includes(t)||"READY"!==o.status||(i((e=>({...e,status:"LOADING"}))),n(11021)(`./messages_${t}.json`).then((e=>e.default)).then((e=>{a.addResourceBundle(t,"translation",e,!0,!0),i((e=>({...e,status:"READY",loadedLocales:[...e.loadedLocales,t]})))})).catch((e=>{console.error(`can't find ${t} locale`,e),i((e=>({...e,status:"ERROR"})))})))}),[t,l]);const s=r().useMemo((()=>a.t.bind(a)),[a]);return r().createElement(Lt,{...e,t:s})};function kt({activeLocale:e,resources:t}){const n=Object.keys(t).reduce(((e,n)=>(e[n]={translation:t[n]},e)),{}),o=u.Z.createInstance({lng:e,keySeparator:"$",interpolation:{escapeValue:!1},resources:n});return o.init(),o}var St=n(5591);const Ut=(0,Ae.ls)((e=>Array.isArray(e)?{id:"root",type:"UNRECOGNIZED",nodes:e}:e),(0,St.K)((e=>Array.isArray(e.nodes)?e.nodes:[]))),At={PARAGRAPH:"PARAGRAPH",TEXT:"TEXT",HEADING:"HEADING",BULLETED_LIST:"BULLETED_LIST",ORDERED_LIST:"ORDERED_LIST",LIST_ITEM:"LIST_ITEM",BLOCKQUOTE:"BLOCKQUOTE",CODE_BLOCK:"CODE_BLOCK",VIDEO:"VIDEO",DIVIDER:"DIVIDER",FILE:"FILE",GALLERY:"GALLERY",GIF:"GIF",HTML:"HTML",IMAGE:"IMAGE",LINK_PREVIEW:"LINK_PREVIEW",POLL:"POLL",APP_EMBED:"APP_EMBED",BUTTON:"BUTTON",COLLAPSIBLE_LIST:"COLLAPSIBLE_LIST",COLLAPSIBLE_ITEM:"COLLAPSIBLE_ITEM",COLLAPSIBLE_ITEM_TITLE:"COLLAPSIBLE_ITEM_TITLE",COLLAPSIBLE_ITEM_BODY:"COLLAPSIBLE_ITEM_BODY",TABLE:"TABLE",EMBED:"EMBED",TABLE_CELL:"TABLE_CELL",TABLE_ROW:"TABLE_ROW",EXTERNAL:"EXTERNAL",AUDIO:"AUDIO"},Mt=()=>Promise.all([n.e(9133),n.e(9994)]).then(n.bind(n,7990)),Rt=r().lazy(Mt),Nt=e=>{const{children:t,isMobile:n,fullscreenProps:i,content:a}=e,[l,s]=r().useState({type:"closed"}),d=r().useMemo((()=>a?Ot(a):{images:[],imageMap:{}}),[e.content]);return r().createElement(o.Fragment,null,t({config:(e=>{const t=(e,t=0)=>{s({type:"open",activeIndex:d?d.imageMap[e]+t:0})},n={...e},o=e["wix-draft-plugin-image"],r=e["wix-draft-plugin-gallery"];return o&&!o.onExpand&&(n["wix-draft-plugin-image"]={...o,onExpand:t}),r&&!r.onExpand&&(n["wix-draft-plugin-gallery"]={...r,onExpand:t}),n})(e.config),onHover:()=>Mt()}),"open"===l.type&&r().createElement(o.Suspense,{fallback:r().createElement("div",null)},r().createElement(Rt,{images:d.images,onClose:()=>s({type:"closed"}),index:l.activeIndex,isMobile:n,...i,jsdomMode:e.jsdomMode})))},Ot=e=>{let t=0;return Ut(e.nodes).filter((e=>[At.IMAGE,At.GALLERY].includes(e.type))).get().reduce(((e,n)=>{const{images:o,imageMap:r}=e,i=Ht(n),a=t;return t+=i.length,{images:[...o,...i],imageMap:{...r,[n.id??""]:a}}}),{images:[],imageMap:{}})},Ht=e=>{switch(e.type){case At.IMAGE:return e.imageData.image?.src&&!e.imageData?.disableExpand?[{image:{media:{...e.imageData.image}},disableDownload:e.imageData.disableDownload}]:[];case At.GALLERY:return e.galleryData?.disableExpand?[]:e.galleryData.items.map((t=>({...t,disableDownload:e.galleryData.disableDownload})));default:return[]}};var Ft=n(24921);const zt=(0,Me.n_)({config:(0,Re.uZ)((0,Ne.Z$)()),typeMappers:(0,Ue.uZ)(),nodeViewDecorators:(0,Ue.uZ)(),nodeViewRenderers:(0,Re.uZ)((0,Ne.Z$)())}),Jt=({config:e={},typeMappers:t=[],nodeViewRenderers:n,nodeViewDecorators:o})=>({config:e,typeMappers:t,nodeViewRenderers:n,nodeViewDecorators:o}),Kt=()=>e=>{const t={config:{[e.type]:e.config},typeMappers:[],nodeViewRenderers:{},nodeViewDecorators:[]};return e.nodeViewRenderers?t.nodeViewRenderers=e.nodeViewRenderers:e.typeMapper&&(t.typeMappers=[e.typeMapper]),t.nodeViewDecorators=e.nodeViewDecorators?e.nodeViewDecorators:[],t},Wt=e=>t=>(0,E.merge)({},t,e);const $t=(e,...t)=>!e||e.some((e=>"function"!=typeof e))?(console.warn(`${e} is expected to be a function array`),{}):e.reduce(((e,n)=>Object.assign(e,n(...t))),{});function Gt({_rcProps:e,isMobile:t,addAnchors:n,onError:o,mediaSettings:r={},linkSettings:i={},textAlignment:a,experiments:l,iframeSandboxDomain:s,theme:d,plugins:c=[],content:u,viewerProps:m,onNodeClick:p,debugMode:_,jsdomMode:h,baseUrl:g}){const b=function({plugins:e=[],viewerProps:t}){return(0,Ae.zG)(e,(0,Ue.UI)(Kt()),(0,Me.g_)(zt),Wt(Jt(t)))}({plugins:c,viewerProps:m}),{pauseMedia:V,disableRightClick:y}=r,{anchorTarget:x="_blank",customAnchorScroll:w}=i;let{relValue:f,rel:v}=i;f&&(console.warn("relValue is deprecated, Please use rel prop instead."),v=(0,ct.iu)(f)||v),f=(0,ct.h9)(v);const D={addAnchors:n,isMobile:t,config:{uiSettings:{disableDownload:r?.disableDownload||y}},content:u,onError:o,helpers:{},disabled:V,anchorTarget:x,relValue:f,customAnchorScroll:w,textAlignment:a,experiments:l,iframeSandboxDomain:s,theme:d,onNodeClick:p,jsdomMode:h,baseUrl:g},T=(0,Ae.zG)((0,E.merge)({locale:"en",config:{}},b,e,D,m),(B=()=>u?.metadata?.id,({helpers:e={},...t})=>({...t,helpers:{...e,onViewerLoaded:t=>e.onViewerLoaded?.({...t,version:Ft.a,contentId:B()}),onViewerAction:(t,n,o,r,i)=>e.onViewerAction?.(t,n,o,r||B(),i)}})));var B;return{...T,debugMode:_,typeMappers:$t(T.typeMappers||[])}}class jt extends o.Component{constructor(e){super(e),this.loadTextSelection=()=>{const{textSelectionToolbar:e,isMobile:t}=this.props;if(e&&!t&&!this.state.TextSelectionToolbar){const e=r().lazy((()=>n.e(3154).then(n.bind(n,83154))));this.setState({TextSelectionToolbar:e})}},this.loadLinkPreviewPopover=()=>{const{linkPreviewPopoverFetchData:e,isMobile:t}=this.props;if(e&&!t&&!this.state.LinkPreviewPopover){const e=r().lazy((()=>n.e(2695).then(n.bind(n,62695))));this.setState({LinkPreviewPopover:e})}},this.onMouseOver=()=>{this.loadTextSelection(),this.loadLinkPreviewPopover()},this.getBiCallback=c.bind(this),this.viewerRef=(0,o.createRef)(),this.state={}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}componentDidMount(){const e=this.getBiCallback("onViewerLoaded"),t=this.props.content||this.props._rcProps?.content,{pluginsCount:n}=t&&(0,d.u)(t)||{};n&&e?.({isPreview:!1,version:i.Version.currentVersion,pluginsCount:n,url:document.URL,contentId:t?.metadata?.id}),(0,a.R)(this.viewerRef.current,(()=>this.setState({debugInvokedWithMouse:!0})))}render(){const{seoSettings:e,linkPreviewPopoverFetchData:t,mediaSettings:n,isMobile:a,content:d,experiments:c,debugMode:u}=this.props,{TextSelectionToolbar:m,LinkPreviewPopover:p}=this.state,_=Gt({...this.props,viewerProps:{seoMode:e,onMouseOver:this.onMouseOver,locale:this.props.locale}}),E=({config:e,onHover:t})=>r().createElement(Pt,{..._,config:e,onHover:t,key:"viewer",setRef:this.viewerRef,devTools:this.state.debugInvokedWithMouse||(0,l.p)(u?.includes("all"))?r().createElement(r().Suspense,null,r().createElement(s.V,{version:i.Version.currentVersion,mode:"viewer",contentState:d,ricosProps:this.props,autoOpen:this.state.debugInvokedWithMouse??!1})):null}),h=function(e){const{[i.IMAGE_TYPE]:t,[i.GALLERY_TYPE]:n}=e||{},o=!t?.onExpand||!n?.onExpand;return!((!t||t.disableExpand)&&(!n||n?.disableExpand))&&o}(_.config)?r().createElement(Nt,{key:"RicosFullscreenProvider",fullscreenProps:n?.fullscreenProps,isMobile:!!a,content:d,experiments:c,config:_.config,jsdomMode:_.jsdomMode},E):E({config:_.config,onHover:()=>{}});try{return this.state.error?(this.props.onError?.(this.state.error),null):[h,m?r().createElement(o.Suspense,{key:"TextSelectionToolbar",fallback:r().createElement("div",null)},r().createElement(m,{onButtonClick:this.getBiCallback("onViewerAction"),container:this.viewerRef.current})):null,p?r().createElement(o.Suspense,{key:"LinkPreviewPopover",fallback:r().createElement("div",null)},r().createElement(p,{fetchUrlPreviewData:t,container:this.viewerRef.current})):null]}catch(e){return this.props.onError?.(e),null}}}jt.displayName="RicosViewerNext",jt.defaultProps={onError:e=>{throw e}};var Yt=jt,Zt=n(82681),qt=n(23272),Xt=n(47568),Qt=n(98259),en=n(29963),tn=n(31244);const nn="?d=",on=/^https:\/\/www.wix.app/,rn=(e,t)=>{const n=e.match(on),o=n?(e=>e.split(nn)[1])(e):e,r=(e=>{const t=Math.max(e.indexOf("/product-page/"),e.indexOf("/bookings-checkout/"),e.indexOf("/service-page/"),e.indexOf("/event-details/"),e.indexOf("/events/"));return e.slice(t)})(o),i=(e=>e.replace(/\/$/,""))(t)+r;return n?((e,t)=>`${e.split(nn)[0]}${nn}${t}`)(e,i):i};const an=(e,t,n)=>{return t&&(o=i.VERTICAL_EMBED_TYPE,(0,Xt._j)(o,e))?function(e,t=!1){return{config:{[i.VERTICAL_EMBED_TYPE]:{changeBaseUrl:t=>rn(t,e),disabled:t}}}}(t,n):{config:{}};var o},ln=(sn=Yt,function(e){const{children:t,biSettings:n,instance:o,plugins:i,theme:a,wixExperiments:l,allowLinkPreviewPopover:s,msid:d,baseUrl:c,previewMode:u,content:m,...p}=e,_=(0,Zt.$)(l),{getWixClientPromise:h}=(0,tn.a)(o),g=(0,qt.t)({plugins:i,instance:o,biSettings:n,experiments:_,wixRicosVersion:Ft.a,ricosVersion:Ft.a,getWixClientPromise:h,msid:d,viewer:!0,content:m}),b=(0,E.merge)(g,an(i,c,u),(0,Xt.UG)(i,g.helpers));return r().createElement(sn,{_rcProps:b,baseUrl:c,content:m,experiments:g.experiments,plugins:i,theme:(0,Qt.s)(a),...s&&{linkPreviewPopoverFetchData:(0,en.H)(o)},...p},t)});var sn}}]); //# sourceMappingURL=464.chunk.min.js.map