"use strict";(("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi||[]).push([[7426],{66535:(e,t,n)=>{n.d(t,{w:()=>o});const o=({id:e,text:t})=>`${(t||"").trim().toLowerCase().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")||"section"}-${(e||"section").toLowerCase().replace(/[^a-z0-9-]/g,"").slice(0,8)||"anchor"}`},20703:(e,t,n)=>{n.d(t,{t:()=>r});var o=n(56430);const r=e=>{const t=e?.split(".").pop()?.toLowerCase()||"";return["jpg","png","gif","jpeg","jpe","jfif","bmp","heic","heif","tiff","tif","webp"].includes(t)?o.z.IMAGE:["avi","mpeg","mpg","mpe","mp4","mkv","webm","mov","ogv","vob","m4v","3gp","divx","xvid","mxf","wmv","m1v","flv","m2ts"].includes(t)?o.z.VIDEO:["mp3","wav","flac","m4a","wma","aac","aif","aiff"].includes(t)?o.z.AUDIO:["zip","rar","tar","gz","gzip","jar","7z","fgz","webarchive"].includes(t)?"archive":o.z.DOCUMENT}},36712:(e,t,n)=>{n.d(t,{L:()=>r});var o=n(68324);const r=(e,t)=>"string"==typeof e.url&&e.url?(0,o.r)(e.url,t):"string"==typeof e.anchor?`#viewer-${e.anchor}`:void 0},20116:(e,t,n)=>{n.d(t,{m:()=>o});const o=e=>e.toLowerCase().trim().startsWith("data:")},48170:(e,t,n)=>{n.d(t,{T:()=>o});const o=e=>/^tel:[0-9-()+#*]+$/.test(e)},97052:(e,t,n)=>{n.d(t,{T:()=>i});var o=n(48170),r=n(89981);const i=e=>{if((0,o.T)(e))return e;if(e.startsWith("mailto:")){const[t,...n]=e.substring(7).split("?"),o=n.join("?");return`mailto:${t}${o?`?${new URLSearchParams(o).toString()}`:""}`}const[t,n]=e.split("#"),i=t&&r.B.match(t)&&r.B.match(t)?.[0]?.url;return null!==i?n?`${i}#${n}`:i:void 0}},79531:(e,t,n)=>{n.d(t,{v:()=>o});const o=e=>e.startsWith("http://")||e.startsWith("https://")},56430:(e,t,n)=>{n.d(t,{O:()=>r,z:()=>o});var o=(e=>(e.AUDIO="music",e.VIDEO="video",e.IMAGE="picture",e.DOCUMENT="document",e))(o||{});const r="/_serverless/ricos-media-services"},16726:(e,t,n)=>{n.d(t,{R:()=>o});const o=(e,t)=>`${t.replace(/\/+$/,"")}${e}`},68324:(e,t,n)=>{n.d(t,{r:()=>l});var o=n(20116),r=n(97052),i=n(16726),a=n(57100);const l=(e,t)=>"string"!=typeof e||(0,o.m)(e)?void 0:(0,a.r)(e)?(0,i.R)(e,t||""):(0,r.T)(e)},57100:(e,t,n)=>{n.d(t,{r:()=>o});const o=e=>!!e&&"/"===e[0]&&"/"!==e[1]},1660:(e,t,n)=>{n.d(t,{C:()=>i,P:()=>r});var o=n(60751);const r=o.createContext(null),i=({textAlignment:e,children:t})=>{const n=(0,o.useMemo)((()=>({textAlignment:e})),[e]);return o.createElement(r.Provider,{value:n},t)}},29098:(e,t,n)=>{n.d(t,{Em:()=>a,er:()=>r,pB:()=>i});var o=n(60751);const r=o.createContext(null),i=({parentNode:e,parentIndex:t,children:n})=>o.createElement(r.Provider,{value:{parentNode:e,parentIndex:t}},n);function a(e){return function(t){return o.createElement(r.Consumer,{key:Math.random().toString().slice(2,9)},(({parentNode:n,parentIndex:r})=>o.createElement(e,{...t,parentNode:n,parentIndex:r})))}}},20439:(e,t,n)=>{n.d(t,{B:()=>i,w:()=>r});var o=n(60751);const r=o.createContext(null),i=({spoilerManager:e,children:t})=>o.createElement(r.Provider,{value:{spoilerManager:e}},t)},26575:(e,t,n)=>{n.d(t,{T:()=>i,u:()=>r});var o=n(60751);const r=o.createContext(null),i=({contextualData:{anchorTarget:e,relValue:t,plugins:n,config:i,helpers:a,disabled:l,seoMode:s,iframeSandboxDomain:d,disableRightClick:c,customAnchorScroll:u,textAlignment:m,onNodeClick:p,jsdomMode:_,baseUrl:h,isPrint:E},children:g})=>o.createElement(r.Provider,{value:{anchorTarget:e,relValue:t,plugins:n,config:i,helpers:a,disabled:l,seoMode:s,iframeSandboxDomain:d,disableRightClick:c,customAnchorScroll:u,textAlignment:m,onNodeClick:p,jsdomMode:_,baseUrl:h,isPrint:E}},g)},27426:(e,t,n)=>{n.d(t,{u:()=>Xn});var o=n(16252),r=n(60751),i=n(20703),a=n(79531);const l="/_serverless/ricos-media-services";function s(e,t){return({id:n,type:o,privacy:r})=>{if(n&&(0,a.v)(n))return Promise.resolve(n);if("private"!==r&&function(e){return e.includes("/")}(n??"")){const t=((e,t)=>({picture:"static.wixstatic.com",video:"video.wixstatic.com",music:"music.wixstatic.com",document:`${t}.usrfiles.com`,archive:`${t}.usrfiles.com`}[e]))((0,i.t)(o),e);return Promise.resolve(`https://${t}/${n}`)}return function(e){return async t=>{const n=new URLSearchParams({fileId:t}),o=await fetch(`${l}/download-url?${n.toString()}`,{headers:{Authorization:e}});return await o.json()}}(t)(n??"").then((e=>Array.isArray(e)?e[0]?.path:""))}}var d=n(62609),c=n(23736),u=n(7587),m=n(45990),p=n(38257),_=n(73129),h=n(45276),E=n(90175),g=n(89882),b=n(92836),y=n(49989),V=n(27081),f=n(43541),v=n(3801),x=n(7289),w=n(60345);const T="?d=",k=/^https:\/\/www.wix.app/,A=(e,t)=>{const n=e.match(k),o=n?(e=>e.split(T)[1])(e):e,r=(e=>{const t=Math.max(e.indexOf("/product-page/"),e.indexOf("/stores/"),e.indexOf("/bookings-checkout/"),e.indexOf("/service-page/"),e.indexOf("/event-details/"),e.indexOf("/events/"),e.indexOf("/event-details-registration/"));return t>=0?e.slice(t):void 0})(o),i=void 0!==r?(e=>e.replace(/\/$/,""))(t)+r:o;return n?((e,t)=>`${e.split(T)[0]}${T}${t}`)(e,i):i};var B=n(70119),D=n(93155),C=n(99806);const S=e=>"config"in e;var M=n(16307),U=n(87029),L=n(9838),I=n(20681);const P=(0,U.w3)({config:(0,L.JI)((0,I.HV)()),typeMappers:(0,M.JI)(),nodeViewDecorators:(0,M.JI)(),nodeViewRenderers:(0,L.JI)((0,I.HV)())}),R=({config:e={},typeMappers:t=[],nodeViewRenderers:n,nodeViewDecorators:o})=>({config:e,typeMappers:t,nodeViewRenderers:n,nodeViewDecorators:o}),F=()=>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},N=e=>t=>o.merge({},t,e);const O=(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 $({pluginConfig:e,helpers:t,isMobile:n,addAnchors:r,onError:i,mediaSettings:a={},linkSettings:l={},generalLinkSettings:s,textAlignment:d,experiments:c,iframeSandboxDomain:u,theme:m,plugins:p=[],content:_,viewerProps:h,onNodeClick:E,debugMode:g,jsdomMode:b,baseUrl:y}){const V=function({plugins:e=[],viewerProps:t}){return(0,B.Fs)(e,(0,M.Tj)(F()),(0,U.AU)(P),N(R(t)))}({plugins:p?.filter(S),viewerProps:h}),{pauseMedia:f,disableRightClick:v}=a,{customAnchorScroll:x}=l;let{anchorTarget:w="_blank",relValue:T,rel:k}=l;T&&(console.warn("relValue is deprecated, Please use rel prop instead."),k=(0,D.C4)(T)||k);const{target:A,...L}=s?.initialLinkOptions||{};w=A||w,k={...k,...L},T=(0,D.kb)(k);const I={addAnchors:r,isMobile:n,config:{uiSettings:{disableDownload:a?.disableDownload||v}},content:_,onError:i,helpers:{},disabled:f,anchorTarget:w,relValue:T,customAnchorScroll:x,textAlignment:d,experiments:c,iframeSandboxDomain:u,theme:m,onNodeClick:E,jsdomMode:b,baseUrl:y},$=(0,B.Fs)(o.merge({locale:"en",config:{}},V,{config:e,helpers:t},I,h),(z=()=>_?.metadata?.id,({helpers:e={},...t})=>({...t,helpers:{...e,onViewerLoaded:t=>e.onViewerLoaded?.({...t,version:C.c,contentId:z()}),onViewerAction:(t,n,o,r,i)=>e.onViewerAction?.(t,n,o,r||z(),i)}})));var z;return{...$,debugMode:g,plugins:p,typeMappers:O($.typeMappers||[])}}var z=n(40243),H=n(43373);const j=(0,B.L3)((e=>Array.isArray(e)?{id:"root",type:"UNRECOGNIZED",nodes:e}:e),(0,H.N)((e=>Array.isArray(e.nodes)?e.nodes:[])));var W=n(91338);const J=()=>Promise.all([n.e(8741),n.e(3931),n.e(7902),n.e(8160)]).then(n.bind(n,68124)),K=r.lazy(J),G=e=>{const{children:t,isMobile:n,fullscreenProps:o,content:i}=e,[a,l]=r.useState({type:"closed"}),s=r.useMemo((()=>i?Y(i):{images:[],imageMap:{}}),[e.content]);return r.createElement(r.Fragment,null,t({config:(e=>{const t=(e,t=0)=>{l({type:"open",activeIndex:s?s.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:()=>J()}),"open"===a.type&&r.createElement(r.Suspense,{fallback:r.createElement("div",null)},r.createElement(K,{images:s.images,onClose:()=>l({type:"closed"}),index:a.activeIndex,isMobile:n,...o,jsdomMode:e.jsdomMode,t:e.t})))},Y=e=>{let t=0;return j(e.nodes).filter((e=>[W.AS.IMAGE,W.AS.GALLERY].includes(e.type))).get().reduce(((e,n)=>{const{images:o,imageMap:r}=e,i=q(n),a=t;return t+=i.length,{images:[...o,...i],imageMap:{...r,[n.id??""]:a}}}),{images:[],imageMap:{}})},q=e=>{switch(e.type){case W.AS.IMAGE:return e.imageData.image?.src&&!e.imageData?.disableExpand?[{image:{media:{...e.imageData.image}},disableDownload:e.imageData.disableDownload,altText:e.imageData.altText}]:[];case W.AS.GALLERY:return e.galleryData?.disableExpand?[]:e.galleryData.items.map((t=>({...t,disableDownload:e.galleryData.disableDownload})));default:return[]}};var Q=n(55530),Z=n(95745),X=n(64461);const ee="no-outline";class te extends r.Component{constructor(){super(...arguments),this.handleTabKeyUp=e=>{9===e.which&&document.body.classList.contains(ee)&&document.body.classList.remove(ee)},this.handleClick=()=>{document.body.classList.contains(ee)||document.body.classList.add(ee)},this.render=()=>null}componentDidMount(){document.body.classList.add(ee),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 ne=n(50207),oe={fontElementMap:"ILovN",wrapper:"hlNxE",pluginContainerMobile:"wbYAL",viewer:"AoJX1",android:"fQH7C",rootedTraversedContent:"LYSrh",atomic:"lLVkA",toolbar:"NTXNl",block:"L5fFN"},re={rtl:"m-1P2",ltr:"_1AYrS"},ie=n(65054);const ae=r.memo((({anchorKey:e,type:t})=>r.createElement("div",{key:e,type:t,"data-hook":e}))),le=(e,t,n)=>{const o=(e=>[ie.A.PARAGRAPH,ie.A.HEADING,ie.A.BLOCKQUOTE,ie.A.CODE_BLOCK].includes(e.type)&&!e.nodes?.length)(e)?"empty-line":e.type.toLowerCase(),i=`${n}${t+1}`;return r.createElement(ae,{key:i,type:o,anchorKey:i})},se=({addAnchors:e,children:t})=>{if(e){const n=e&&(!0===e?"rcv-block":e),o=`${n}-first`,i=`${n}-last`;return r.createElement(r.Fragment,null,r.createElement(ae,{type:"first",anchorKey:o}),(0,r.cloneElement)(r.Children.only(t),{addAnchorsPrefix:n}),r.createElement(ae,{type:"last",anchorKey:i}))}return t};var de=n(66894),ce=n(36121);const ue=r.createContext(null),me=({nodeViewDecorators:e,renderers:t,SpoilerViewerWrapper:n,children:o})=>r.createElement(ue.Provider,{value:{nodeViewDecorators:e,renderers:t,SpoilerViewerWrapper:n}},o);var pe=n(26575),_e=n(1660),he=n(20439);const Ee=r.createContext(null),ge=({visibleIndentation:e,children:t})=>r.createElement(Ee.Provider,{value:{visibleIndentation:e}},t);var be=n(29098);function ye(e,t=0,n){const o=[],r={};return e.forEach(((e,i)=>{const a={node:e,index:i,depth:t,parent:n,children:[]},l=e.id||`${t}-${i}`;if(r[l]=a,e.nodes&&e.nodes.length>0){const{tree:n,map:o}=ye(e.nodes,t+1,a);a.children=n,Object.assign(r,o)}o.push(a)})),{tree:o,map:r}}const Ve=r.createContext(null),fe=({nodes:e,children:t})=>{const n=(0,r.useMemo)((()=>{const{map:t}=ye(e);return t}),[e]);return r.createElement(Ve.Provider,{value:{nodeTreeMap:n}},t)};var ve=n(16654),xe=n(12997),we=n(33761);var Te={rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===ie.g.BOLD)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===ie.g.BOLD));return((e,t)=>{const{fontWeightValue:n}=e;return r.createElement("strong",{key:`bold-${t?.key}`,style:{fontWeight:n||700}},t)})(n,e)}};const ke=e=>({rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===ie.g.FONT_SIZE)),decorate:({element:t,node:n})=>{const o=n.textData?.decorations?.find((({type:e})=>e===ie.g.FONT_SIZE));return((e,t,n)=>{const{unit:o,value:i}=t.fontSizeData||{},a=n?.overrideInlineFontSize&&i?n.overrideInlineFontSize(i?.toString()??"",o):`${i}${o?o.toLowerCase():"px"}`;return r.createElement("span",{key:`fontsize-${e.key}`,style:{fontSize:a}},e)})(t,o,e)}});var Ae={rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===ie.g.ITALIC)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===ie.g.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)}};var Be={rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===ie.g.STRIKETHROUGH)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===ie.g.STRIKETHROUGH));return((e,t)=>{const{strikethroughData:n}=t,o=void 0===n||n;return r.createElement("s",{key:`strikethrough-${e?.key}`,style:{textDecoration:o?"line-through":"none"}},e)})(e,n)}};var De={rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===ie.g.SUBSCRIPT)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===ie.g.SUBSCRIPT));return((e,t)=>{const{subscriptData:n}=t;return void 0===n||n?r.createElement("sub",{key:`subscript-${e?.key}`},e):e})(e,n)}};var Ce={rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===ie.g.SUPERSCRIPT)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===ie.g.SUPERSCRIPT));return((e,t)=>{const{superscriptData:n}=t;return void 0===n||n?r.createElement("sup",{key:`superscript-${e?.key}`},e):e})(e,n)}};var Se={rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===ie.g.UNDERLINE)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===ie.g.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};const Me=e=>{const t=e?.find((e=>"fontSize"===e.type));return[Te,Ae,Se,ke(t),Be,De,Ce]},Ue={rule:()=>!0,decorate:({node:e,element:t,isRoot:n,context:o})=>{if(!n)return r.createElement(r.Fragment,null,t);if("CARD"===e.type)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)}},Le=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})}};Le.defaultPriority=100;let Ie=Le;var Pe=n(92172),Re={indentZero:"o-zp-",indentOne:"Mp7EQ",indentTwo:"H3R0O",indentThree:"U1TRC",indentFour:"eDiQR",indentFive:"_81-qL",indentSix:"tuIll"};const Fe=({nodeId:e,children:t})=>r.cloneElement(r.Children.only(t),{id:`viewer-${e}`}),Ne=({className:e="paywall",index:t=3},n)=>n"object"==typeof e&&"object"==typeof e?.paywall;var $e=n(80723);const ze={0:"indentZero",1:"indentOne",2:"indentTwo",3:"indentThree",4:"indentFour",5:"indentFive",6:"indentSix"},He={[$e.gL.LEFT]:"left",[$e.gL.CENTER]:"center",[$e.gL.RIGHT]:"right",[$e.gL.JUSTIFY]:"flex-start"};var je={fontElementMap:"-xirt",quoteContainer:"l6Tj8",quote:"_4Yh49"};const We=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:o}=(0,r.useContext)(pe.u),{parentNode:i}=(0,r.useContext)(be.er),{indentation:a=0}=e.blockquoteData||{},l=e.nodes?.[0],s=`${l?.type?.toLowerCase()}Data`,{textAlignment:d}=l?.[s]?.textStyle||{},c=Q(je.quote,a>0&&Re[ze[a]],!i&&Oe(o)&&Ne(o?.paywall||{},t)),u=je.child;return r.createElement(Fe,{nodeId:e.id},r.createElement("div",{className:je.quoteContainer,style:{justifyContent:He[d]},dir:(0,Pe.J)(e.nodes?.[0]?.nodes?.[0]?.textData?.text)||"ltr"},r.createElement("blockquote",{className:c,style:e.style},r.createElement("span",{className:u},r.createElement(be.pB,{parentNode:e,parentIndex:t},r.createElement(n,{nodes:e.nodes??[]}))))))};var Je=({node:e,...t})=>r.createElement(We,{key:e.id,node:e,...t}),Ke=n(11886),Ge={alignLeft:"_3xbKJ",textWrapNowrap:"_3sQI7",alignRight:"D4KBx",alignCenter:"SBW-D",sizeFullWidth:"Om-pa",renderedInTable:"qtpdQ",sizeOriginal:"rvmLx",sizeContent:"zmP9f",sizeSmall:"Kid8Y",sizeSmallCenter:"DNy1L",flex:"US5mY",LEFT:"tua2N",CENTER:"vSs9J",RIGHT:"_8IlBk",AUTO:"DcaPr",JUSTIFY:"hD2az"},Ye="q8dOE -V3zI";const qe=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:o}=(0,r.useContext)(pe.u),{textAlignment:i}=(0,r.useContext)(_e.P),{parentNode:a}=(0,r.useContext)(be.er),{textAlignment:l,lineHeight:s}=e.codeBlockData?.textStyle||{},d=Q(Ye,Ge[l||i||$e.gL.AUTO],!a&&Oe(o)&&Ne(o?.paywall||{},t)),c={...e.style,...s&&{lineHeight:(0,Ke.Z)(s)}};return r.createElement(Fe,{nodeId:e.id},r.createElement("pre",{className:d,style:c,dir:"auto"},r.createElement("span",{className:Q(l===$e.gL.JUSTIFY&&Ge[l])},r.createElement(be.pB,{parentNode:e,parentIndex:t},r.createElement(n,{nodes:e.nodes??[]})))))};var Qe=({node:e,...t})=>r.createElement(qe,{key:e.id,node:e,...t});const Ze=r.createContext(null),Xe=({directionHandled:e,children:t})=>{const n=(0,r.useMemo)((()=>({directionHandled:e})),[e]);return r.createElement(Ze.Provider,{value:n},t)};var et=n(66535);const tt=(e=[])=>e.map((e=>e.type===W.AS.TEXT&&e.textData?.text?e.textData.text:Array.isArray(e.nodes)?tt(e.nodes):"")).join("");var nt={fontElementMap:"alOQc",elementSpacing:"_16xou",headerOne:"IDg-y _16xou",headerTwo:"UFQNs _16xou",headerThree:"ocxDk _16xou",headerFour:"QlafB _16xou",headerFive:"eGJDZ _16xou",headerSix:"SCLbr _16xou",child:"-kP5W"};const ot={1:"headerOne",2:"headerTwo",3:"headerThree",4:"headerFour",5:"headerFive",6:"headerSix"},rt={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},it=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:o}=(0,r.useContext)(pe.u),{textAlignment:i}=(0,r.useContext)(_e.P),{parentNode:a}=(0,r.useContext)(be.er),l=(0,r.useContext)(Ze),{level:s=0,textStyle:d,indentation:c=0,renderedLevel:u}=e.headingData||{},m=u&&u>=1&&u<=6?u:s,{textAlignment:p,lineHeight:_}=d||{},h=Q(nt[ot[s]??ot[1]],Ge[p||i||$e.gL.AUTO],Re[ze[c]],!a&&Oe(o)&&Ne(o?.paywall||{},t)),E=Q(nt.child,p===$e.gL.JUSTIFY&&Ge[p]),g=rt[m]??rt[1],b=e.style?{...e.style}:{};_&&(b.lineHeight=(0,Ke.Z)(_));const y=!e.nodes?.length,V=!y&&"\n"===e.nodes?.[e.nodes.length-1]?.textData?.text?.slice(-1),f=y?r.createElement("br",{role:"presentation"}):r.createElement(be.pB,{parentNode:e,parentIndex:t},r.createElement(n,{key:`children-${e.id}`,nodes:e.nodes??[]}));return r.createElement(Fe,{nodeId:e.id},r.createElement(g,{className:h,style:b,dir:l?"":"auto",tabIndex:-1},r.createElement("span",{"aria-hidden":"true",id:(0,et.w)({id:e.id,text:tt(e.nodes)})}),r.createElement("span",{className:E},f),V&&r.createElement("br",{role:"presentation"})))};var at=({node:e,...t})=>r.createElement(it,{key:e.id,node:e,...t}),lt="g7msJ",st="gQ9ZX",dt="UTv7G",ct="Sqt0u",ut="_6PlhU",mt="_0254T";const pt=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>r.createElement("div",{className:ut},r.createElement(be.pB,{parentNode:e,parentIndex:t},r.createElement(n,{key:`children-${e.id}`,nodes:e.nodes??[],shouldParagraphApplyTextStyle:!0})));var _t=n(81275),ht=n(58716),Et=n(64379),gt=n(50219),bt=n(57402),yt=n(23184),Vt="423145aa";(()=>{var e='.w4oBK{--shimmer-base-color:#f5f5f5;background-color:var(--shimmer-base-color);pointer-events:none;z-index:1}.Jhfsi,.w4oBK{inset:0;position:absolute}.Jhfsi{overflow:hidden}.Jhfsi:after{animation:MAuMo 1s linear infinite;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent 50%);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}@keyframes MAuMo{to{transform:translateX(100%)}}.oyJki{bottom:12px;left:50%;position:absolute;transform:translateX(-50%);z-index:2}';if(!(void 0!==yt&&yt.env,"undefined"==typeof document||document.querySelector('style[data-ricos-style-hash="'+Vt+'"]'))){var t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.setAttribute("data-ricos-style-hash",Vt),n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}})();var ft="w4oBK",vt="Jhfsi";const xt=({backgroundColor:e="#f5f5f5"})=>r.createElement("div",{className:ft,style:{"--shimmer-base-color":e}},r.createElement("div",{className:vt})),wt=e=>{const t=e?.src?.id??e?.src?.url??"";return"string"==typeof t&&t.startsWith("prompt://")},Tt=e=>{const t=[];return e.nodes.forEach((e=>{"LAYOUT_CELL"===e.type&&t.push(e.layoutCellData?.colSpan??0)})),(0,_t.z)(t).map((e=>`minmax(0, ${e}fr)`)).join(" ")},kt=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{isMobile:o}=(0,r.useContext)(de.iB),i="LAYOUT"===e.type?e.layoutData:void 0,a=i?.backgroundImage?.media,l=i?.backdropImage?.media,s=wt(a),d=wt(l),c=!s&&(a?.src?.url??(a?.src?.id&&(0,bt.AE)({file_name:a.src.id},void 0,{requiredQuality:100,requiredWidth:Math.min(a?.width??4e3,4e3),requiredHeight:Math.min(a?.height??4e3,4e3)}))),u=!d&&(l?.src?.url??(l?.src?.id&&(0,bt.AE)({file_name:l.src.id},void 0,{requiredQuality:100,requiredWidth:Math.min(l?.width??4e3,4e3),requiredHeight:Math.min(l?.height??4e3,4e3)}))),m=s||d,p=r.useMemo((()=>{if("LAYOUT"!==e.type)return{};const t=e.layoutData,n=(0,Et.fX)(t?.cellPadding,[...Et.K$.cellPadding]),o=t?.cellVerticalAlignment??Et.K$.cellVerticalAlignment,r=t?.borderColor??Et.K$.borderColor,i=t?.borderWidth??Et.K$.borderWidth;return{...t?.containerData?.width?.custom?{"--ricos-internal-layout-width":`${t.containerData.width.custom}px`}:{},...(()=>{const e=(0,ht.eU)(t?.background,t?.backgroundColor);if(e)return{"--ricos-internal-layout-background-gradient":(0,gt._)(e)};const n=(0,ht.bk)(t?.background,t?.backgroundColor);return n?{"--ricos-internal-layout-background-color":n}:{}})(),...t?.backgroundImage?{"--ricos-internal-layout-background-image-src":`url(${c})`,...t.backgroundImage.opacity?{"--ricos-internal-layout-background-image-opacity":`${t.backgroundImage.opacity}%`}:{},...t.backgroundImage.scaling?{"--ricos-internal-layout-background-image-scaling":t.backgroundImage.scaling.toLowerCase()}:{},...t.backgroundImage.position?{"--ricos-internal-layout-background-image-position":t.backgroundImage.position.toLowerCase().split("_").join(" ")}:{}}:{},...r?{"--ricos-internal-layout-border-color":r,"--ricos-internal-layout-border-width":`${i}px`}:{},...t?.borderRadius?{"--ricos-internal-layout-border-radius":`${t.borderRadius}px`}:{},...(()=>{const e=(0,ht.eU)(t?.backdrop,t?.backdropColor);if(e)return{"--ricos-internal-layout-backdrop-gradient":(0,gt._)(e)};const n=(0,ht.bk)(t?.backdrop,t?.backdropColor);return n?{"--ricos-internal-layout-backdrop-color":n}:{}})(),...t?.backdropImage?{"--ricos-internal-layout-backdrop-image-src":`url(${u})`,...t.backdropImage.opacity?{"--ricos-internal-layout-backdrop-image-opacity":`${t.backdropImage.opacity}%`}:{},...t.backdropImage.scaling?{"--ricos-internal-layout-backdrop-image-scaling":t.backdropImage.scaling.toLowerCase()}:{},...t.backdropImage.position?{"--ricos-internal-layout-backdrop-image-position":t.backdropImage.position.toLowerCase().split("_").join(" ")}:{}}:{},..."number"==typeof t?.gap?{"--ricos-internal-layout-gap":`${t.gap}px`}:{},...t?.backdropPaddingTop&&t.backdropPaddingTop>0?{"--ricos-internal-layout-backdrop-padding-top":`${t.backdropPaddingTop}px`}:{},...t?.backdropPaddingBottom&&t.backdropPaddingBottom>0?{"--ricos-internal-layout-backdrop-padding-bottom":`${t.backdropPaddingBottom}px`}:{},...n&&n.length>0?{"--ricos-internal-layout-cell-padding-top":`${n[0]}px`,"--ricos-internal-layout-cell-padding-right":`${n[1]??n[0]}px`,"--ricos-internal-layout-cell-padding-bottom":`${n[2]??n[0]}px`,"--ricos-internal-layout-cell-padding-left":`${n[3]??n[1]??n[0]}px`}:{},...o?{"--ricos-internal-layout-cell-vertical-alignment":"TOP"===o?"flex-start":"BOTTOM"===o?"flex-end":"center"}:{}}}),[e,c,u]),_=r.useMemo((()=>(e=>{const t={STACK:"stack",WRAP:"wrap"}[e.layoutData?.responsivenessBehaviour??Et.K$.responsivenessBehaviour],n=e.layoutData?.responsivenessBreakpoint&&!isNaN(e.layoutData?.responsivenessBreakpoint)?e.layoutData?.responsivenessBreakpoint:Et.K$.responsivenessBreakpoint,o=encodeURIComponent(`layout-${e.id}-${n}-${t}`),r="wrap"===t,i=`\n [data-layout-scope=${o}].${st} {\n --ricos-internal-layout-display: ${r?"flex":"grid"};\n --ricos-internal-layout-justify-content: ${r?"center":"auto"};\n --ricos-internal-layout-grid-template: grid-template-columns: minmax(0, 1fr);\n --ricos-internal-layout-cell-min-width: ${r?`${Math.floor(n/e.nodes.length)}px`:"100%"};\n --ricos-internal-layout-cell-height: ${r?"auto":"100%"};\n }\n `;return{scopeValue:o,content:`\n@supports not (contain: inline-size) {\n @media only screen and (max-width: ${n}px) {\n ${i}\n }\n}\n\n@container (max-width: ${n}px) {\n ${i}\n}\n`}})(e)),[e]);return r.createElement("div",{className:lt,style:p,...e.layoutData?.banner?{"data-layout-banner":"true"}:{}},m&&r.createElement(xt,{backgroundColor:i?.backdropColor??i?.backgroundColor??void 0}),r.createElement("style",{"data-layout-style":e.id},_.content),r.createElement("div",{"data-breakout":"normal"},r.createElement("div",{"data-layout-scope":_.scopeValue,className:Q(st,{[mt]:o,[dt]:!e.layoutData?.designTarget||"LAYOUT"===e.layoutData?.designTarget,[ct]:"CELL"===e.layoutData?.designTarget}),style:{"--ricos-internal-layout-column-template":Tt(e)}},r.createElement(be.pB,{parentNode:e,parentIndex:t},r.createElement(n,{key:`children-${e.id}`,nodes:e.nodes??[]})))))};var At="IMxIv",Bt="OYFlQ",Dt="yOSGR";const Ct=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{textAlignment:o}=(0,r.useContext)(_e.P),{visibleIndentation:i}=(0,r.useContext)(Ee),a=i?.indentation||0,l=e.bulletedListData?.offset||0,s=(i&&i?.nodeId!==e.id?1:0)+a+l,d=Q(Bt,Ge[o||$e.gL.AUTO]);return r.createElement("ul",{className:d},r.createElement(ge,{visibleIndentation:{indentation:s,nodeId:e.id}},r.createElement(be.pB,{parentNode:e,parentIndex:t},r.createElement(n,{nodes:e.nodes??[]}))))};var St=({node:e,...t})=>r.createElement(Ct,{key:e.id,node:e,...t}),Mt=n(64804),Ut=n(51587),Lt=n(88187);const It=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:o}=(0,r.useContext)(pe.u),{parentIndex:i}=(0,r.useContext)(be.er),{visibleIndentation:a}=(0,r.useContext)(Ee),l=e.nodes[0],s=`${l?.type?.toLowerCase()}Data`,{textAlignment:d}=l?.[s]?.textStyle||{},c=d&&d===$e.gL.CENTER,{parentNode:u}=(0,r.useContext)(be.er),m=a&&a?.nodeId===u?.id?(0,Mt.p)(a?.indentation):0,p=function(e,t){if(!e)return"1.5em";const n=`${e?.type?.slice(0,-5).toLowerCase()}ListData`,o=e[n]?.offset||0,r=t>Lt.ll?o-(t-Lt.ll):(0,Mt.p)(o);return e?2*(0,Mt.p)(r)+1.5+"em":""}(u,a?.indentation||0),_=u?(0,Ut.t)(m,u.type):"",h=l?.type===ie.A.HEADING&&l.headingData?.level,E=Q(Dt,Oe(o)&&Ne(o?.paywall||{},t+i)),g=l?.nodes?.[0]?.textData?.decorations?.find((e=>e.type===ie.g.FONT_SIZE))?.fontSizeData?.value;return r.createElement("li",{dir:"auto","aria-level":m+1,className:E,style:{textAlign:d,fontSize:g,marginInlineStart:p,listStyleType:_},...h?{"data-heading-level":ot[h]}:{},...c?{"data-list-style-position":"inside"}:{}},r.createElement(Xe,{directionHandled:!0},r.createElement(be.pB,{parentNode:e,parentIndex:t},r.createElement(n,{nodes:e.nodes??[],shouldParagraphApplyTextStyle:!0}))))};var Pt=({node:e,...t})=>r.createElement(It,{key:e.id,node:e,...t});const Rt=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{textAlignment:o}=(0,r.useContext)(_e.P),{visibleIndentation:i}=(0,r.useContext)(Ee),a=i?.indentation||0,l=e.orderedListData?.offset||0,s=(i&&i?.nodeId!==e.id?1:0)+a+l,d=Q(At,Ge[o||$e.gL.AUTO]);return r.createElement("ol",{className:d,start:e.orderedListData?.start},r.createElement(ge,{visibleIndentation:{indentation:s,nodeId:e.id}},r.createElement(be.pB,{parentNode:e,parentIndex:t},r.createElement(n,{nodes:e.nodes??[]}))))};var Ft=({node:e,...t})=>r.createElement(Rt,{key:e.id,node:e,...t}),Nt="-Q4aO hw1z8",Ot="ATqq4";const $t=({node:e,nodeIndex:t,RicosNodesRenderer:n,shouldParagraphApplyTextStyle:o})=>{const{seoMode:i}=(0,r.useContext)(pe.u),{textAlignment:a}=(0,r.useContext)(_e.P),{parentNode:l}=(0,r.useContext)(be.er),s=(0,r.useContext)(Ze),{indentation:d=0}=e.paragraphData||{},{textAlignment:c,lineHeight:u}=e.paragraphData?.textStyle||{},m=c!==$e.gL.AUTO&&c?c:a,p=Q(o&&Nt,Ge[m||$e.gL.AUTO],Re[ze[d]],!l&&Oe(i)&&Ne(i?.paywall||{},t)),_=Q(Ot,c===$e.gL.JUSTIFY&&Ge[c]),h=!e.nodes?.length,E=!h&&"\n"===e.nodes?.[e.nodes?.length-1]?.textData?.text?.slice(-1),g=h||!o?"div":"p",b={...e.style,...u&&{lineHeight:(0,Ke.Z)(u)}},y=h?r.createElement("br",{role:"presentation"}):r.createElement(be.pB,{parentNode:e,parentIndex:t},r.createElement(n,{key:`children-${e.id}`,nodes:e.nodes??[]}));return r.createElement(Fe,{nodeId:e.id},r.createElement(g,{className:p,style:b,dir:s?"":"auto"},r.createElement("span",{className:_},y),E&&r.createElement("br",{role:"presentation"})))};var zt=({node:e,...t})=>r.createElement($t,{key:e.id,node:e,...t});const Ht=({node:e})=>{const{text:t}=e.textData||{},{nodeViewDecorators:n}=(0,r.useContext)(ue);return t&&""!==t?r.createElement("span",null,n.applyTextual(e)||t):r.createElement("br",{role:"presentation"})};var jt=(0,be.Em)((e=>{const{parentId:t,nodeIndex:n}=e,o=`${t}-text-node-${n}`;return r.createElement(Ht,{key:o,...e})}));const Wt={[ie.A.PARAGRAPH]:zt,[ie.A.TEXT]:jt,[ie.A.BLOCKQUOTE]:Je,[ie.A.CODE_BLOCK]:Qe,[ie.A.HEADING]:at,[ie.A.BULLETED_LIST]:St,[ie.A.ORDERED_LIST]:Ft,[ie.A.LIST_ITEM]:Pt,[ie.A.LAYOUT]:({node:e,...t})=>r.createElement(kt,{key:e.id,node:e,...t}),[ie.A.LAYOUT_CELL]:({node:e,...t})=>r.createElement(pt,{key:e.id,node:e,...t})};var Jt=n(99173),Kt=n(71634),Gt=n(93135);const Yt=e=>"boolean"==typeof e.boolValue,qt=e=>"string"==typeof e.stringValue,Qt=e=>"number"==typeof e.numberValue,Zt=e=>o.isObject(e.listValue)&&Array.isArray(e.listValue?.values),Xt=e=>o.isObject(e.structValue)&&o.isObject(e.structValue?.fields),en=e=>e.nullValue===Gt.X.NULL_VALUE,tn=L.JI((0,I.$1)()),nn=([e,t])=>({[e]:t}),on=e=>(0,B.Fs)(e.fields,Object.entries,M.Tj(Jt.wu(rn,B.D_)),M.Tj(nn),(0,U.KO)(tn)),rn=e=>(0,Kt.jJ)(e,null,[[Yt,({boolValue:e})=>e],[Qt,({numberValue:e})=>e],[qt,({stringValue:e})=>e],[en,()=>null],[Zt,e=>an(e.listValue||{values:[]})],[Xt,e=>on(e.structValue||{fields:{}})]]),an=e=>(0,B.Fs)(e.values,M.Tj(rn));var ln=n(98651),sn={alignLeft:"_7OmwT",textWrapNowrap:"RuCAA",alignRight:"xxVJe",alignCenter:"_5TbcM",sizeFullWidth:"_4P-JD",renderedInTable:"Emu5n",sizeOriginal:"tujfi",sizeContent:"MP9Zu",sizeSmall:"_2JqrS",sizeSmallCenter:"J5wfO",flex:"a7wLK",atomic:"Ty9C4",embed:"-JoUT",horizontalScrollbar:"vg1FF",pluginContainerMobile:"on7y8"};const dn=e=>{const t=e?.alignment;if(!t)return"";const n=`align${o.upperFirst(t.toLowerCase())}`;return sn[n]},cn=e=>{const t=e?.width?.size;if(!t||"FULL_WIDTH"===t)return"";const n=`size${o.upperFirst(t.toLowerCase())}`;return sn[n]},un=e=>e?.textWrap?"":sn.textWrapNowrap;class mn 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}}var pn=n(6539);const _n={[ie.A.IMAGE]:(e,t)=>e?.image?.width&&t&&("number"==typeof e?.containerData?.width?.custom?e.containerData.width.custom:parseFloat(e?.containerData?.width?.custom||"0"))>150},hn=e=>e?.width?.size&&("CONTENT"===e.width.size||"FULL_WIDTH"===e.width?.size),En={[ie.A.IMAGE]:e=>hn(e.containerData)?"100%":`${e?.image?.width}px`,[ie.A.GIF]:e=>hn(e.containerData)?"100%":`${e.width}px`,[ie.A.SHAPE]:()=>`${pn.ZR}px`},gn=({nodeType:e,componentData:t,nodeIndex:n,className:o,children:i})=>{const{containerData:a}=t,{seoMode:l}=(0,r.useContext)(pe.u),{isMobile:s}=(0,r.useContext)(de.iB),{parentNode:d}=(0,r.useContext)(be.er),c=_n[e]?.(t,s),u=a?.width?.custom&&!c?`${isNaN(Number(a.width.custom))?a.width.custom:parseInt(a.width.custom)}px`:void 0,m=("ORIGINAL"===a?.width?.size||c)&&En[e]?.(t),p=u||m,_=t&&p?{width:`min(100%, ${p})`}:void 0;return r.createElement("div",{className:Q(o,!d&&Oe(l)&&Ne(l?.paywall||{},n)),style:_},i)};var bn=n(36712),yn=n(93856),Vn="BhWB3",fn="bWso-";const vn=({children:e,nodeType:t,link:n})=>{const{anchorTarget:o,baseUrl:i,customAnchorScroll:a}=(0,r.useContext)(pe.u),{tabIndex:l}=(0,r.useContext)(de.iB);return n&&t!==ie.A.BUTTON?r.createElement("a",{className:Q(fn,"has-custom-focus",{[Vn]:n}),tabIndex:l,href:n?(0,bn.L)(n,i):void 0,target:n.target?`_${n.target.toLowerCase()}`:o,rel:n.rel&&(0,D.kb)(n.rel),onClick:n?.anchor?e=>{if(a)return a(e,n?.anchor);const t=`viewer-${n?.anchor}`,o=document.getElementById(t);o&&((0,yn.J)(t),(0,yn.P)(o))}:void 0},e):r.createElement(r.Fragment,null,e)},xn=e=>void 0!==e,wn=(e={})=>({config:{spoiler:{enabled:!!e.spoiler?.enabled,description:e.spoiler?.description,buttonContent:e.spoiler?.buttonText}}}),Tn=({node:e,nodeIndex:t,customClassNames:n,withHorizontalScroll:i,children:a})=>{const{isMobile:l}=(0,r.useContext)(de.iB),{SpoilerViewerWrapper:s}=(0,r.useContext)(ue),d=`${o.camelCase(e.type)}Data`,c=e[d]||{},{containerData:u,link:m}=c,{alignment:p,size:_,textWrap:h}=n||{},E=Q({[sn.pluginContainerMobile]:l,[sn.horizontalScrollbar]:i},xn(p)?p:(e=>dn((0,ln.mx)(e)))(e),xn(_)?_:(e=>cn((0,ln.mx)(e)))(e),xn(h)?h:(e=>un((0,ln.mx)(e)))(e)),g=(0,r.useCallback)((n=>r.createElement(gn,{className:E,nodeType:e.type,componentData:c,nodeIndex:t},n)),[E,e.type,u?.width?.custom,u?.width?.size,u?.alignment,t]),b=(0,r.useCallback)((t=>s?r.createElement(s,{className:E,width:u?.width?.custom?parseInt(u.width.custom):void 0,type:e.type,componentData:wn(u)},t):t),[E,e.type,u?.width?.custom,u?.width?.size,u?.alignment,u?.spoiler?.enabled,u?.spoiler?.buttonText,u?.spoiler?.description]),y=(0,r.useCallback)((t=>r.createElement(vn,{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(kn,{node:e},a((0,r.useMemo)((()=>({ContainerElement:e=>g(e.children),SpoilerWrapper:e=>b(e.children),LinkWrapper:e=>y(e.children)})),[g,b,y]))):r.createElement(kn,{node:e},y(b(g(a))))},kn=({children:e,node:t})=>r.createElement(mn,null,r.createElement(Fe,{nodeId:t.id},r.createElement("div",{className:sn.atomic},e))),An=({type:e,context:t,node:n,nodeIndex:o,children:i,pluginComponent:{component:a}})=>{const l=t.config?.[e]||{},s=n.externalData&&on(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:dn(d),size:cn(d),textWrap:un(d)};return r.createElement(Tn,{node:n,nodeIndex:o,customClassNames:p},r.createElement(a,{...m}))},Bn=(e,t,n,o)=>{const i=Object.entries(t).reduce(((t,[n,i])=>{return n===ie.A.EXTERNAL?{...t,...(a={pluginComponent:i,type:n,context:e,SpoilerViewerWrapper:o},{[ie.A.EXTERNAL]:({node:e,nodeIndex:t})=>r.createElement(An,{key:e.id,node:e,nodeIndex:t,...a})})}:{...t};var a}),{});return{...i,...n}};class Dn{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}}var Cn=n(30082),Sn=n(3132);const Mn=({collapsed:e,betweenFloated:t,needsTopMargin:n})=>r.createElement("div",{"data-hook":"gap-spacer",...n?{"data-gap-spacer-top-margin":""}:{},className:Q(Sn.A.gapSpacerViewer,{[Sn.A.collapsed]:e,[Sn.A.betweenFloated]:t})}),Un=(e,t,n)=>{if(e.type===ie.A.LAYOUT&&e.layoutData?.banner)return[];const o=e.id||`0-${t}`,i=n[o];if(!i||!Ln(o,n))return[];const a=((e,t)=>{if(0===e.index)return;return e.parent?e.parent.children[e.index-1]:Object.values(t).filter((e=>0===e.depth)).find((t=>t.index===e.index-1))})(i,n),l=$n(a?.node.id,i.node.id,n),s=(0,Cn.HI)(a?.node,i.node),d=!a&&0===i.depth,c=(0,Cn.Lg)(i.node.type);return[r.createElement(Mn,{key:`gap-spacer-${i.node?.id||i.index}`,collapsed:l,betweenFloated:s,needsTopMargin:d&&c})]},Ln=(e,t)=>{const n=t[e],o=n?.node;if(!n||!o||Pn(o))return!1;if(n.parent&&Fn(n))return!1;if(!n.parent){if(0===n.index)return(0,Cn.FJ)(o.type);const e=Object.values(t).filter((e=>0===e.depth)).find((e=>e.index===n.index-1));return!!e&&((0,Cn.FJ)(e.node.type)&&(0,Cn.FJ)(o.type))}return!(!Nn(e,t)||!On(e,t))},In=(e,t)=>{const n=t[e],o=n?.node;return!(!n||!o||Pn(o))&&(!Rn(o)&&((!n.parent||!Fn(n))&&On(e,t)))},Pn=e=>e.type===ie.A.TEXT,Rn=e=>[ie.A.PARAGRAPH,ie.A.HEADING,ie.A.BLOCKQUOTE,ie.A.CODE_BLOCK].includes(e.type),Fn=e=>{const t=e.parent;return!!t&&(t.node.type===ie.A.TABLE_ROW&&e.node.type===ie.A.TABLE_CELL||(t.node.type===ie.A.TABLE&&e.node.type===ie.A.TABLE_ROW||(t.node.type===ie.A.LAYOUT&&e.node.type===ie.A.LAYOUT_CELL||(t.node.type===ie.A.COLLAPSIBLE_LIST&&e.node.type===ie.A.COLLAPSIBLE_ITEM||(t.node.type===ie.A.COLLAPSIBLE_ITEM&&(e.node.type===ie.A.COLLAPSIBLE_ITEM_TITLE||e.node.type===ie.A.COLLAPSIBLE_ITEM_BODY)||((t.node.type===ie.A.BULLETED_LIST||t.node.type===ie.A.ORDERED_LIST)&&e.node.type===ie.A.LIST_ITEM||t.node.type===ie.A.LIST_ITEM&&(e.node.type===ie.A.BULLETED_LIST||e.node.type===ie.A.ORDERED_LIST)))))))},Nn=(e,t)=>{const n=t[e];if(!n)return!1;if(0===n.depth){if(0===n.index)return(0,Cn.FJ)(n.node.type);const e=Object.values(t).filter((e=>0===e.depth)).find((e=>e.index===n.index-1));return!!e&&(0,Cn.FJ)(e.node.type)}if(Rn(n.node))return!1;for(let e=n.depth;e>=0;e--){let t=n;for(;t&&t.depth>e;)t=t.parent;if(!t||t.depth!==e)continue;const o=t.index,r=t.parent;if(0!==o){if(r&&r.children[o-1]){let e=r.children[o-1];for(;e.children.length>0;)e=e.children[e.children.length-1];if(0===e.children.length&&!Pn(e.node))return(0,Cn.FJ)(e.node.type);if((0,Cn.FJ)(e.node.type))return!0;if(Pn(e.node))return!1}}else if(r&&(0,Cn.FJ)(r.node.type))return!0}return!1},On=(e,t)=>{const n=t[e];if(!n)return!1;let o=n;for(let e=n.depth;e>=0;e--){const t=o.parent,n=o.index+1;if(!t||n>=t.children.length){if(0===e)return(0,Cn.FJ)(o.node.type);if(t&&(0,Cn.FJ)(t.node.type))return!0;if(!t)break;o=t;continue}let r=t.children[n];for(;r.children.length>0;)r=r.children[0];if(0===r.children.length&&!Pn(r.node))return(0,Cn.FJ)(r.node.type);if((0,Cn.FJ)(r.node.type))return!0;if(Pn(r.node))return!1;if(!t)break;o=t}return!1},$n=(e,t,n)=>{const o=e?n[e]:void 0,r=t?n[t]:void 0,i=o?.parent||r?.parent,a=(0,Cn.j4)(o?.node,r?.node);return(0,Cn.GN)(o?.node.type,r?.node.type,i?.node.type,{bothFullWidth:a})},zn=({node:e})=>null,Hn=({node:e,index:t,isRoot:n,shouldParagraphApplyTextStyle:o})=>{const{renderers:i,nodeViewDecorators:a}=(0,r.useContext)(ue),l=i[e.type];return l?a.apply(r.createElement(l,{node:e,key:e.id||t.toString(),RicosNodesRenderer:jn,isRoot:n,nodeIndex:t,NodeViewContainer:Tn,shouldParagraphApplyTextStyle:o}),e,!!n):(console.error(`RicosNodeDedcorated Error: no renderer passed for node type - ${e.type}`),r.createElement(zn,{node:e}))},jn=({nodes:e,isRoot:t,shouldParagraphApplyTextStyle:n,addAnchorsPrefix:o})=>{const{nodeTreeMap:i}=(0,r.useContext)(Ve);return r.createElement(r.Fragment,null,e.flatMap(((e,a)=>e?[...Un(e,a,i),r.createElement(Hn,{isRoot:t,node:e,index:a,key:e.id||a.toString(),shouldParagraphApplyTextStyle:n}),...o?[le(e,a,o)]:[]]:(console.error(`RicosNodesRenderer Error: node is undefined at index ${a}`),[]))),((e,t)=>{if(0===e.length)return null;const n=e[e.length-1],o=n.id||"0-"+(e.length-1),i=t[o];if(!i||!In(o,t))return null;const a=$n(n.id,void 0,t);return r.createElement(Mn,{key:`gap-spacer-${i.node?.id||i.index+1}`,collapsed:a})})(e,i))},Wn=({content:e,context:t,typeMappers:n,nodeViewRenderers:o,nodeViewDecorators:i,SpoilerViewerWrapper:a,addAnchorsPrefix:l})=>{const s=(e.nodes??[]).filter(we.O),d=new Dn,c=(0,r.useMemo)((()=>({...Wt,...Bn(t,n,o,a)})),[]),u=(0,r.useMemo)((()=>{const e=(n=t.plugins,[...Me(n),Ue]);var n;return Ie.of([...e,...i],t)}),[t]),m=(0,r.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]),p=(0,r.useMemo)((()=>new ve.y(t.isMobile,t.theme.settingsStyles)),[]);return r.createElement(r.Fragment,null,r.createElement(de.n_,{...m},r.createElement(ce.F5,{zIndexService:p},r.createElement(me,{nodeViewDecorators:u,renderers:c,SpoilerViewerWrapper:a},r.createElement(pe.T,{contextualData:t},r.createElement(xe.C,{helpers:t.helpers||{}},r.createElement(_e.C,{textAlignment:t.textAlignment},r.createElement(he.B,{spoilerManager:d},r.createElement(ge,{visibleIndentation:null},r.createElement(be.pB,{parentNode:null,parentIndex:0},r.createElement(fe,{nodes:s},r.createElement("div",{className:oe.rootedTraversedContent},r.createElement(jn,{nodes:s,isRoot:!0,addAnchorsPrefix:l,shouldParagraphApplyTextStyle:!0})))))))))))))},Jn={...oe,...re},Kn=e=>{const{config:t={},onHover:n,isMobile:o=!1,addAnchors:i,onMouseOver:a=(()=>{}),content:l,setRef:s,typeMappers:d,nodeViewRenderers:u,nodeViewDecorators:m,experiments:p={},t:_}=e,[h,E]=(0,r.useState)(void 0),g=(0,r.useRef)(null),b=(0,r.useRef)(null);(0,r.useLayoutEffect)((()=>{if(!(/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent))||!b.current)return;const e=new ResizeObserver((e=>{const t=e[0].contentRect.height;t>0&&E(t)}));return e.observe(b.current),()=>{e.disconnect()}}),[l]);const y=(0,r.useCallback)((e=>{g.current=e,s&&(s.current=e)}),[s]),V=t[c.Of]?.SpoilerViewerWrapper,f=Gn(e),v=Q(Jn.viewer,{[re.rtl]:"rtl"===f.textDirection}),x=(0,Z.j)(f.theme,l?.documentStyle??{});return r.createElement(X.F.Provider,{key:"RicosViewer",value:{experiments:p,isMobile:o,t:_}},r.createElement("div",{className:Q(Jn.wrapper),dir:f.languageDir,style:{...x,minHeight:h?`${h}px`:void 0},onMouseEnter:e=>n&&n(e),onMouseOver:a,ref:y,"data-id":"content-viewer"},e.devTools,r.createElement("div",{className:v,ref:b},r.createElement(se,{addAnchors:i},r.createElement(Wn,{content:l,typeMappers:d,context:f,nodeViewRenderers:u,nodeViewDecorators:m,SpoilerViewerWrapper:V}))),r.createElement(te,{isMobile:o})))},Gn=({t:e,theme:t,plugins:n,isMobile:o=!1,anchorTarget:r,relValue:i,customAnchorScroll:a,config:l,locale:s,disabled:d,seoMode:c,iframeSandboxDomain:u,textAlignment:m,experiments:p,textDirection:_,direction:h,helpers:E,onNodeClick:g,jsdomMode:b,baseUrl:y,isPrint:V})=>({t:e,theme:t||{},isMobile:o,anchorTarget:r,relValue:i,customAnchorScroll:a,config:l,helpers:E||{},locale:s||"en",disabled:d,seoMode:c??(V?{}:void 0),iframeSandboxDomain:u,disableRightClick:l?.uiSettings?.disableRightClick,textAlignment:m,experiments:p,textDirection:_,languageDir:h||(0,ne.y)(s),onNodeClick:g,jsdomMode:b,baseUrl:y,isPrint:V,plugins:n}),Yn=function(e){const t=e.en;return Object.keys(e).reduce(((n,o)=>(n[o]={...t,...e[o]},n)),{})}({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_Private_Voter:"Private User",Poll_Viewer_ShowAllOptions_CTA:"See All Options",Spoiler_Reveal_Tooltip:"Click to reveal",VerticalEmbed_Event_Error_Subtitle:"This event has been deleted, replace it with another event.",Viewer_Toolbar_Twitter_Tooltip:"Tweet this",CollapsibleListPlugin_CollapseButton_AriaLabel:"Item is collapsed",Spoiler_Reveal_Video_CTA:"Reveal Video",VerticalEmbed_Pricing_Plan:"Plan only",Image_Expand_Button_AriaLabel:"Expand image",VerticalEmbed_From_Price:"From",Poll_Viewer_ShowAllResults_CTA:"See All Results",Spoiler_Reveal_Image_Placeholder:"This image contains a spoiler",VerticalEmbed_Ribbon:"Sale",Audio_Plugin_Elapsed_Time_Slider_AriaLabel:"Seek slider",VerticalEmbed_Error_Subtitle:"This item has been deleted, replace it with another item.",Poll_Viewer_Multiselect_Footer:"You can vote for more than one answer.",Audio_Plugin_More_Actions_Button_AriaLabel:"Show more audio controls",VerticalEmbed_Booking_Fetch_Error_Title:"Service couldn\u2019t be loaded",Fullscreen_Close_Button_AriaLabel:"Close",VerticalEmbed_Event_Fetch_Error_Title:"Event couldn't be loaded",UploadFile_Viewer_Loader:"Loading {{fileType}}",Polls_Plugin_User_Avatar_Alt:"User avatar",Preview_ReadMore_Label:"Read more",Spoiler_Insert_Tooltip:"Spoiler",VerticalEmbed_Product_Fetch_Error_Title:"Product couldn\u2019t be loaded",Fullscreen_Shrink_Button_AriaLabel:"Shrink",Audio_Plugin_Volume_Control_Slider_AriaLabel:"Volume",Spoiler_Reveal_Gallery_Placeholder:"This gallery contains a spoiler",Fullscreen_Expand_Button_AriaLabel:"Expand",VerticalEmbed_Bookings_Button:"Book Now",Audio_Plugin_Volume_Control_Unmute_AriaLabel:"Unmute",Spoiler_Reveal_Gallery_CTA:"Reveal Gallery",Poll_Viewer_ShowLess_CTA:"Show Less",VerticalEmbed_Disabled_Button_Tooltip:"Product page will be available once you publish your site.",Audio_Plugin_Volume_Control_Mute_AriaLabel:"Mute",Poll_Viewer_VoteCount_Modal_Voters_Anonymous:"+{{anonNumber}} anonymous",Poll_Viewer_VoteCount_Modal_Voters_CTA_Follow:"Follow",VerticalEmbed_Products_Button:"Buy Now",Poll_Viewer_Toast_Error_ServerDown:"Couldn't connect to server. Try again later.",Poll_Viewer_VoteCount_Modal_Voters_Header:"{{count}} person voted for this answer",Poll_Viewer_VoteCount:"{{number}} votes",VerticalEmbed_Events_Button:"Register Now",Spoiler_Reveal_Image_CTA:"Reveal Image",Poll_Viewer_Toast_Error_Connection:"No internet. Check your connection.",Poll_Viewer_Visibility_Owner_Footer:"Only you can see the results.",VerticalEmbed_Booking_Error_Title:"Service deleted",VerticalEmbed_Product_Error_Title:"Product deleted",VerticalEmbed_Fetch_Error_Subtitle:"Unable to load item information.",Poll_Viewer_VoteCount_Modal_Voters_Header_plural:"{{count}} people voted for this answer",VerticalEmbed_Event_Error_Title:"Event deleted",CollapsibleListPlugin_ExpandButton_AriaLabel:"Item is expanded",Audio_Plugin_Cover_Alt:"Audio cover",Spoiler_Reveal_Video_Placeholder:"This video contains a spoiler",VerticalEmbed_Product_Fetch_Error_Subtitle:"There was a technical issue. Check your connection or try again.",VerticalEmbed_Fetch_Error_Title:"Failed to load item",Poll_Viewer_Option_AriaLabel_Unchecked:"unchecked",VerticalEmbed_Product_Error_Subtitle:"This product has been deleted, replace it with another product.",VerticalEmbed_Booking_Error_Subtitle:"This service has been deleted, replace it with another service.",Preview_SeeFullPost_Label:"See Full Post",UploadFile_Viewer_Download:"Download {{fileType}}",VerticalEmbed_Units_Hour:"{{hours}}h",VerticalEmbed_Units_Minute:"{{minutes}}min",VerticalEmbed_Event_Fetch_Error_Subtitle:"There was a technical issue. Check your connection or try again.",VerticalEmbed_Error_Button:"Replace",VerticalEmbed_Error_Title:"Item deleted",VerticalEmbed_Booking_Fetch_Error_Subtitle:"There was a technical issue. Check your connection or try again.",Poll_Viewer_Option_AriaLabel_Checked:"checked"},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}}h",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:"Comprar",VerticalEmbed_Events_Button:"Registrar-se",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"}}),qn=e=>{const t=e.locale,[o,i]=r.useState((()=>({status:"READY",loadedLocales:["en"],i18nextInstance:Qn({activeLocale:t,resources:Yn})}))),{i18nextInstance:a,loadedLocales:l}=o;t!==a.language&&a.changeLanguage(t),r.useEffect((()=>{if(l.includes(t)||"READY"!==o.status)return;(async()=>{try{i((e=>({...e,status:"LOADING"})));const e=(await n(66726)(`./messages_${t}.json`)).default;a.addResourceBundle(t,"translation",e,!0,!0),i((e=>({...e,status:"READY",loadedLocales:[...e.loadedLocales,t]})))}catch(e){if(console.error(`Failed to load locale resource for ${t}:`,e),"en"===t||l.includes("en"))i((e=>({...e,status:"ERROR"})));else try{console.warn(`Falling back to English locale for ${t}`);const e=(await n.e(7401).then(n.t.bind(n,5245,17))).default;a.addResourceBundle("en","translation",e,!0,!0),i((e=>({...e,status:"READY",loadedLocales:[...e.loadedLocales,"en"]})))}catch(e){console.error("Failed to load fallback English locale:",e),i((e=>({...e,status:"ERROR"})))}}})()}),[t,l]);const s=r.useMemo((()=>a.t.bind(a)),[a]);return function(e){const{[c.V5]:t,[c.EU]:n}=e||{},o=!t?.onExpand||!n?.onExpand;return!((!t||t.disableExpand)&&(!n||n?.disableExpand))&&o}(e.config)?r.createElement(G,{key:"RicosFullscreenProvider",fullscreenProps:e?.fullscreenProps,isMobile:!!e.isMobile,content:e.content,experiments:e.experiments,config:e.config,jsdomMode:e.jsdomMode,t:s},(({config:t,onHover:n})=>r.createElement(Kn,{...e,config:t,t:s,onHover:n}))):r.createElement(Kn,{...e,t:s})};function Qn({activeLocale:e,resources:t}){const n=Object.keys(t).reduce(((e,n)=>(e[n]={translation:t[n]},e)),{}),o=z.A.createInstance({lng:e,keySeparator:"$",interpolation:{escapeValue:!1},resources:n});return o.init(),o}class Zn extends r.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(1677).then(n.bind(n,11677))));this.setState({TextSelectionToolbar:e})}},this.onMouseOver=()=>{this.loadTextSelection()},this.getBiCallback=e=>{const{children:t,helpers:n}=this.props;return t?.props.helpers?.[e]||n?.[e]},this.viewerRef=(0,r.createRef)(),this.state={}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}componentDidMount(){(0,f.A)(this.viewerRef.current,(()=>this.setState({debugInvokedWithMouse:!0})))}render(){const{seoSettings:e,mediaSettings:t,content:n,debugMode:o,isPrint:i}=this.props,{TextSelectionToolbar:a}=this.state,l=$({...this.props,viewerProps:{seoMode:e,onMouseOver:this.onMouseOver,locale:this.props.locale,isPrint:i}});try{return this.state.error?(this.props.onError?.(this.state.error),null):[r.createElement(qn,{...l,content:this.state.content??l.content,config:l.config,onHover:()=>{},key:"viewer",setRef:this.viewerRef,fullscreenProps:t?.fullscreenProps,devTools:this.state.debugInvokedWithMouse||(0,v.P)(o?.includes("all"))?r.createElement(r.Suspense,null,r.createElement(x.L,{schema:{getContent:()=>this.state.content??l.content,setContent:e=>this.setState({content:e})},version:d.G.currentVersion,mode:"viewer",contentState:n,ricosProps:this.props,autoOpen:this.state.debugInvokedWithMouse??!1})):null}),a?r.createElement(r.Suspense,{key:"TextSelectionToolbar",fallback:r.createElement("div",null)},r.createElement(a,{onButtonClick:this.getBiCallback("onViewerAction"),container:this.viewerRef.current})):null]}catch(e){return this.props.onError?.(e),null}}}Zn.displayName="RicosViewerNext",Zn.defaultProps={onError:e=>{throw e}};const Xn=e=>{const{biSettings:t,instance:n,wixClient:i,iframeSandboxDomain:a,theme:l,baseUrl:f,...v}=e,{helpers:x,biLoadPromise:T}=(0,p.K)({instance:n,biSettings:t}),{metaSiteId:k}=(0,r.useMemo)((()=>(0,E.L)(e.instance)),[e.instance]);(0,r.useEffect)((()=>{T.then((t=>{const n=e.content,{pluginsCount:o}=n&&(0,w.i)(n)||{};o&&t.onViewerLoaded?.({isPreview:!1,version:d.G.currentVersion,pluginsCount:o,url:document.URL,contentId:n?.metadata?.id})}))}),[]);const B=(0,V.X)(a,n),D=(0,r.useMemo)((()=>(0,u.e)({theme:l,isMobile:v.isMobile})),[l,v.isMobile]),C=(0,r.useMemo)((()=>e.plugins?.filter(S)),[e.plugins]),M=(0,r.useMemo)((()=>(0,_.o)(C)),[C]),U=(0,r.useMemo)((()=>f&&(0,h.M)(c.IY,C)?{[c.IY]:{changeBaseUrl:e=>A(e,f)}}:{}),[f,C]),L=(0,r.useMemo)((()=>o.merge({},M.config,U)),[M,U]),I=(0,r.useMemo)((()=>({...x,getImageUrl:y.VG,resolveFileUrl:s(e.msid??k??"",e.instance??"")})),[x,e.msid,e.instance,k]);return r.createElement(g.q,{wixClient:i,instance:n},r.createElement(b.M2,{instance:n},r.createElement(m.N,{theme:D},r.createElement(Zn,{...v,msid:e.msid??k,pluginConfig:L,helpers:I,iframeSandboxDomain:B,theme:D,baseUrl:f}))))};Xn.displayName="RicosViewer"},93856:(e,t,n)=>{n.d(t,{J:()=>a,P:()=>o});const o=e=>{const t=i(),n=document.querySelector('[id="WIX_ADS"]')?.clientHeight||0,o=document.querySelector('[data-hook="mobile-toolbar"]')?.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"]');if(!e)return 0;const t=getComputedStyle(e).getPropertyValue("position");return"fixed"===t||"sticky"===t?e.clientHeight:0},a=e=>{const t=new URL(window.location.href);t.hash=e,history.pushState({},"",t.href)}},64461:(e,t,n)=>{n.d(t,{F:()=>o});const o=n(60751).createContext({isMobile:!1,experiments:{},languageDir:"ltr"})}}]); //# sourceMappingURL=7426.chunk.min.js.map