"use strict";(("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi||[]).push([[6943],{4615:(e,t,n)=>{n.d(t,{k:()=>b});var o=n(39859),r=n(4452),i=n.n(r),a=n(60751),l=n.n(a),s=n(42049),d=n(76491),c=n(82013),u="rJEfu",m="fP51A";var p={rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===s.g.ANCHOR)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===s.g.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.J)(t),o&&(0,d.P)(o)},"data-hook":c.xe},t)})(n,e)},priority:1e3},_=n(82569),E=n(25063),h=n(4696);const g=[{rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===s.g.LINK)),decorate:({element:e,node:t,context:n})=>{const o=t.textData?.decorations?.find((({type:e})=>e===s.g.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.N)(d,r):void 0,rel:b,className:i()(u,m),"data-hook":c.mF,onClick:()=>n.helpers.onViewerAction?.(h.y,"Click","",o.id,{type:s.A.TEXT,textData:o.textData})},e)})(e,o,n,t)},priority:1e3},p],b=e=>({config:{...o.z.config,...e},type:h.y,nodeViewDecorators:g})},29440:(e,t,n)=>{n.d(t,{Q:()=>c,L:()=>u});var o=n(60751),r=n.n(o),i=n(42049),a=n(66841);const l={[a.h]:"color",[a.y]:"backgroundColor"},s=(e,t,n)=>{const o=(e,t)=>((e,t)=>n.config?.[e]?.styleSelectionPredicate?.(t))(e,t)?((e,t)=>n.config?.[e]?.customStyleFn(t))(e,t):{[l[e]]:t},{foreground:i,background:s}=t?.colorData||{};return r().createElement("span",{key:`color-${e.key}`,style:{...o(a.h,i),...o(a.y,s),textDecoration:"inherit"}},e)};var d={rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===i.g.COLOR)),decorate:({element:e,node:t,context:n})=>{const o=t.textData?.decorations?.find((({type:e})=>e===i.g.COLOR));return s(e,o,n)}};const c=(e={})=>({config:e,type:a.h,nodeViewDecorators:[d]}),u=(e={})=>({config:e,type:a.y})},2778:(e,t,n)=>{n.d(t,{C:()=>a,P:()=>i});var o=n(60751),r=n.n(o);const i=r().createContext(null),a=({textAlignment:e,children:t})=>{const n=(0,o.useMemo)((()=>({textAlignment:e})),[e]);return r().createElement(i.Provider,{value:n},t)}},29598:(e,t,n)=>{n.d(t,{Em:()=>l,er:()=>i,pB:()=>a});var o=n(60751),r=n.n(o);const i=r().createContext(null),a=({parentNode:e,parentIndex:t,children:n})=>r().createElement(i.Provider,{value:{parentNode:e,parentIndex:t}},n);function l(e){return function(t){return r().createElement(i.Consumer,{key:Math.random().toString().slice(2,9)},(({parentNode:n,parentIndex:o})=>r().createElement(e,{...t,parentNode:n,parentIndex:o})))}}},82569:(e,t,n)=>{n.d(t,{T:()=>a,u:()=>i});var o=n(60751),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)},42049:(e,t,n)=>{n.d(t,{A:()=>o,g:()=>r});var o=(e=>(e.PARAGRAPH="PARAGRAPH",e.TEXT="TEXT",e.HEADING="HEADING",e.BULLETED_LIST="BULLETED_LIST",e.ORDERED_LIST="ORDERED_LIST",e.LIST_ITEM="LIST_ITEM",e.BLOCKQUOTE="BLOCKQUOTE",e.CODE_BLOCK="CODE_BLOCK",e.VIDEO="VIDEO",e.DIVIDER="DIVIDER",e.FILE="FILE",e.GALLERY="GALLERY",e.GIF="GIF",e.HTML="HTML",e.IMAGE="IMAGE",e.LINK_PREVIEW="LINK_PREVIEW",e.MAP="MAP",e.POLL="POLL",e.APP_EMBED="APP_EMBED",e.BUTTON="BUTTON",e.COLLAPSIBLE_LIST="COLLAPSIBLE_LIST",e.TABLE="TABLE",e.EMBED="EMBED",e.COLLAPSIBLE_ITEM="COLLAPSIBLE_ITEM",e.COLLAPSIBLE_ITEM_TITLE="COLLAPSIBLE_ITEM_TITLE",e.COLLAPSIBLE_ITEM_BODY="COLLAPSIBLE_ITEM_BODY",e.TABLE_CELL="TABLE_CELL",e.TABLE_ROW="TABLE_ROW",e.EXTERNAL="EXTERNAL",e.AUDIO="AUDIO",e.CAPTION="CAPTION",e.UNRECOGNIZED="UNRECOGNIZED",e))(o||{}),r=(e=>(e.BOLD="BOLD",e.ITALIC="ITALIC",e.UNDERLINE="UNDERLINE",e.SPOILER="SPOILER",e.ANCHOR="ANCHOR",e.MENTION="MENTION",e.LINK="LINK",e.COLOR="COLOR",e.FONT_SIZE="FONT_SIZE",e.EXTERNAL="EXTERNAL",e.UNRECOGNIZED="UNRECOGNIZED",e))(r||{})},82620:(e,t,n)=>{n.d(t,{T:()=>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}}},25105:(e,t,n)=>{n.d(t,{y:()=>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}}},76491:(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="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)}},54956:(e,t,n)=>{n.d(t,{t:()=>r});var o=n(42049);function r(e,t){const n={[o.A.BULLETED_LIST]:["disc","circle","square"],[o.A.ORDERED_LIST]:["decimal","lower-latin","lower-roman"]}[t];return n[e%n.length]}},54060:(e,t,n)=>{n.d(t,{p:()=>r});var o=n(37880);function r(e){return e<0?0:e>o.ll?o.ll:e}},4719:(e,t,n)=>{n.d(t,{i:()=>m});var o=n(16252),r=n(31031),i=n(46702),a=n(42049);const l=e=>(0,o.countBy)(e,(e=>e.type)),s={[a.A.DIVIDER]:r.n6,[a.A.IMAGE]:r.V5,[a.A.GALLERY]:r.EU,[a.A.GIF]:r.Dr,[a.A.HTML]:r.dk,[a.A.VIDEO]:r.pE,[a.A.FILE]:r.gg,[a.A.POLL]:r.N,[a.A.COLLAPSIBLE_LIST]:r.vT,[a.A.TABLE]:r._U,[a.A.EMBED]:r.$I,[a.A.LINK_PREVIEW]:r.$I,[a.A.APP_EMBED]:r.Rx,[a.A.MAP]:r.K$,[a.A.AUDIO]:r.W5,[a.A.BUTTON]:r.D8,[a.A.CODE_BLOCK]:r.nk,[a.A.BLOCKQUOTE]:r.kq},d={1:"header-one",2:"header-two",3:"header-three",4:"header-four",5:"header-five",6:"header-six"},c={[a.g.MENTION]:r.iZ,[a.g.LINK]:r.y1,[a.g.ANCHOR]:r.Dv},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.o)(t??[]).filter((e=>![a.A.PARAGRAPH,a.A.TEXT,a.A.UNRECOGNIZED,a.A.COLLAPSIBLE_ITEM,a.A.COLLAPSIBLE_ITEM_BODY,a.A.COLLAPSIBLE_ITEM_TITLE,a.A.TABLE_CELL,a.A.TABLE_ROW].includes(e.type))).map((e=>{const{type:t}=e,n=e[`${(0,o.camelCase)(t)}Data`],r={},i=s[t]||t===a.A.HEADING&&d[n.level];return i&&(r.type=i,n&&(r.data=n)),r})).filter((e=>!!e.type)).get(),m=(0,i.o)(t??[]).filter((e=>!!e.textData?.decorations?.some((e=>[a.g.ANCHOR,a.g.LINK,a.g.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.o)(t??[]).map((({textData:e})=>e?.text||"")).get().reduce(((e,t)=>e+(t.match(u)||[]).length),0);return{pluginsCount:{...l(n),...l(m),[r.m5]:p},pluginsDetails:[...n,...m]}}},72649:(e,t,n)=>{n.d(t,{y:()=>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"},82221:(e,t,n)=>{n.d(t,{L:()=>r});var o=n(60751);const r=n.n(o)().lazy((()=>Promise.all([n.e(8666),n.e(4551),n.e(857)]).then(n.bind(n,60656))))},62908:(e,t,n)=>{n.d(t,{A:()=>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)}},77502:(e,t,n)=>{n.d(t,{WixRicosViewer:()=>nn});var o=n(60751),r=n.n(o),i=n(80134),a=n(62908),l=n(31503),s=n(82221),d=n(4719);function c(e){const{children:t,_rcProps:n}=this.props;return t?.props.helpers?.[e]||n?.helpers?.[e]}var u=n(50129);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(4452),_=n.n(p),E=n(16252),h=n(82620),g=n(71936),b=n(94726);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 w=n(72649),v={fontElementMap:"VwlNb",wrapper:"rGqAX",pluginContainerMobile:"CcZg-",viewer:"-RNAl",android:"QMWR4",rootedTraversedContent:"Ll6Z5",atomic:"snGMD",toolbar:"wjiqW",block:"_4YuKG"},f={rtl:"_7szEa",ltr:"M6Vf-"},x=n(42049);const T=r().memo((({anchorKey:e,type:t})=>r().createElement("div",{key:e,type:t,"data-hook":e}))),A=(e,t,n)=>{const o=(e=>[x.A.PARAGRAPH,x.A.HEADING,x.A.BLOCKQUOTE,x.A.CODE_BLOCK].includes(e.type)&&!e.nodes?.length)(e)?"empty-line":e.type.toLowerCase(),i=`${n}${t+1}`;return r().createElement(T,{key:i,type:o,anchorKey:i})};var D=({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(T,{type:"first",anchorKey:i}),(0,o.cloneElement)(o.Children.only(t),{addAnchorsPrefix:n}),r().createElement(T,{type:"last",anchorKey:a}))}return t},L=n(47574),B=n(94564);const I=r().createContext(null),C=({nodeViewDecorators:e,renderers:t,SpoilerViewerWrapper:n,children:o})=>r().createElement(I.Provider,{value:{nodeViewDecorators:e,renderers:t,SpoilerViewerWrapper:n}},o);var P=n(82569),S=n(2778);const k=r().createContext(null),M=({spoilerManager:e,children:t})=>r().createElement(k.Provider,{value:{spoilerManager:e}},t),U=r().createContext(null),R=({visibleIndentation:e,children:t})=>r().createElement(U.Provider,{value:{visibleIndentation:e}},t);var N=n(29598),O=n(25105);const F=[{rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===x.g.BOLD)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===x.g.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===x.g.ITALIC)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===x.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)}},{rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===x.g.UNDERLINE)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===x.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},{rule:e=>!!e.textData?.decorations?.some((({type:e})=>e===x.g.FONT_SIZE)),decorate:({element:e,node:t})=>{const n=t.textData?.decorations?.find((({type:e})=>e===x.g.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)}}],H={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)}},z=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})}};z.defaultPriority=100;const $=[...F,H];var j=z,G={indentZero:"E8vnw",indentOne:"xG0c-",indentTwo:"_97b53",indentThree:"-T84C",indentFour:"zN3tc",indentFive:"tbhA7",indentSix:"wB1kh"};var K=({nodeId:e,children:t})=>r().cloneElement(r().Children.only(t),{id:`viewer-${e}`});const W=({className:e="paywall",index:t=3},n)=>n"object"==typeof e&&"object"==typeof e?.paywall;var q=n(29204);const J={0:"indentZero",1:"indentOne",2:"indentTwo",3:"indentThree",4:"indentFour",5:"indentFive",6:"indentSix"},X={[q.gL.LEFT]:"left",[q.gL.CENTER]:"center",[q.gL.RIGHT]:"right",[q.gL.JUSTIFY]:"flex-start"};var Z={fontElementMap:"c3kaM",quote:"frpnT"};const Q=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:a}=(0,o.useContext)(P.u),{parentNode:l}=(0,o.useContext)(N.er),{indentation:s=0}=e.blockquoteData||{},d=e.nodes?.[0],c=`${d?.type?.toLowerCase()}Data`,{textAlignment:u}=d?.[c]?.textStyle||{},m=_()(Z.quote,s>0&&G[J[s]],!l&&Y(a)&&W(a?.paywall||{},t)),p=Z.child;return r().createElement(K,{nodeId:e.id},r().createElement("div",{style:{display:"flex",justifyContent:X[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(N.pB,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[]}))))))};var ee=({node:e,...t})=>r().createElement(Q,{key:e.id,node:e,...t}),te={alignLeft:"yHI9s",textWrapNowrap:"O-eKz",alignRight:"Jq2sq",alignCenter:"IN-NV",sizeFullWidth:"_6vwpd",renderedInTable:"psnEg",sizeOriginal:"_2c6hZ",sizeContent:"Ky4n7",sizeSmall:"nLqZt",sizeSmallCenter:"GzyVA",flex:"_1-qEz",LEFT:"MXRFf",CENTER:"uGQBe",RIGHT:"_1zP-F",AUTO:"soCUY",JUSTIFY:"nzkje"},ne="YztqI S4uSu";const oe=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:i}=(0,o.useContext)(P.u),{textAlignment:a}=(0,o.useContext)(S.P),{parentNode:l}=(0,o.useContext)(N.er),{textAlignment:s,lineHeight:d}=e.codeBlockData?.textStyle||{},c=_()(ne,te[s||a||q.gL.AUTO],!l&&Y(i)&&W(i?.paywall||{},t)),u={...e.style,...d&&{lineHeight:d}};return r().createElement(K,{nodeId:e.id},r().createElement("pre",{className:c,style:u,dir:"auto"},r().createElement("span",{className:_()(s===q.gL.JUSTIFY&&te[s])},r().createElement(N.pB,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[]})))))};var re=({node:e,...t})=>r().createElement(oe,{key:e.id,node:e,...t});const ie=r().createContext(null),ae=({directionHandled:e,children:t})=>{const n=(0,o.useMemo)((()=>({directionHandled:e})),[e]);return r().createElement(ie.Provider,{value:n},t)};var le={fontElementMap:"mmsMC",elementSpacing:"yelXh",headerOne:"_4shDq yelXh",headerTwo:"TFeUR yelXh",headerThree:"_8J6VB yelXh",headerFour:"lO0Ae yelXh",headerFive:"eu33K yelXh",headerSix:"rv9qp yelXh",child:"f6nDn"};const se={1:"headerOne",2:"headerTwo",3:"headerThree",4:"headerFour",5:"headerFive",6:"headerSix"},de={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},ce=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:i}=(0,o.useContext)(P.u),{textAlignment:a}=(0,o.useContext)(S.P),{parentNode:l}=(0,o.useContext)(N.er),s=(0,o.useContext)(ie),{level:d=0,textStyle:c,indentation:u=0}=e.headingData||{},{textAlignment:m,lineHeight:p}=c||{},E=_()(le[se[d]??se[1]],te[m||a||q.gL.AUTO],G[J[u]],!l&&Y(i)&&W(i?.paywall||{},t)),h=_()(le.child,m===q.gL.JUSTIFY&&te[m]),g=de[d]??de[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),w=V?r().createElement("br",{role:"presentation"}):r().createElement(N.pB,{parentNode:e,parentIndex:t},r().createElement(n,{key:`children-${e.id}`,nodes:e.nodes??[]}));return r().createElement(K,{nodeId:e.id},r().createElement(g,{className:E,style:b,dir:s?"":"auto"},r().createElement("span",{className:h},w),y&&r().createElement("br",{role:"presentation"})))};var ue=({node:e,...t})=>r().createElement(ce,{key:e.id,node:e,...t}),me="B1fK8",pe="mrVw3",_e="f6O8Z";const Ee=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{textAlignment:i}=(0,o.useContext)(S.P),{visibleIndentation:a}=(0,o.useContext)(U),l=a?.indentation||0,s=e.bulletedListData?.offset||0,d=(a&&a?.nodeId!==e.id?1:0)+l+s,c=_()(pe,te[i||q.gL.AUTO]);return r().createElement("ul",{className:c},r().createElement(R,{visibleIndentation:{indentation:d,nodeId:e.id}},r().createElement(N.pB,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[]}))))};var he=({node:e,...t})=>r().createElement(Ee,{key:e.id,node:e,...t}),ge=n(54060),be=n(54956),Ve=n(37880);const ye=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{seoMode:i}=(0,o.useContext)(P.u),{parentIndex:a}=(0,o.useContext)(N.er),{visibleIndentation:l}=(0,o.useContext)(U),s=e.nodes[0],d=`${s?.type?.toLowerCase()}Data`,{textAlignment:c}=s?.[d]?.textStyle||{},u=c&&c===q.gL.CENTER,{parentNode:m}=(0,o.useContext)(N.er),p=l&&l?.nodeId===m?.id?(0,ge.p)(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>Ve.ll?o-(t-Ve.ll):(0,ge.p)(o);return e?2*(0,ge.p)(r)+1.5+"em":""}(m,l?.indentation||0),h=m?(0,be.t)(p,m.type):"",g=s?.type===x.A.HEADING&&s.headingData?.level,b=_()(_e,Y(i)&&W(i?.paywall||{},t+a)),V=s?.nodes?.[0]?.textData?.decorations?.find((e=>e.type===x.g.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":se[g]}:{},...u?{"data-list-style-position":"inside"}:{}},r().createElement(ae,{directionHandled:!0},r().createElement(N.pB,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[],shouldParagraphApplyTextStyle:!0}))))};var we=({node:e,...t})=>r().createElement(ye,{key:e.id,node:e,...t});const ve=({node:e,nodeIndex:t,RicosNodesRenderer:n})=>{const{textAlignment:i}=(0,o.useContext)(S.P),{visibleIndentation:a}=(0,o.useContext)(U),l=a?.indentation||0,s=e.orderedListData?.offset||0,d=(a&&a?.nodeId!==e.id?1:0)+l+s,c=_()(me,te[i||q.gL.AUTO]);return r().createElement("ol",{className:c,start:e.orderedListData?.start},r().createElement(R,{visibleIndentation:{indentation:d,nodeId:e.id}},r().createElement(N.pB,{parentNode:e,parentIndex:t},r().createElement(n,{nodes:e.nodes??[]}))))};var fe=({node:e,...t})=>r().createElement(ve,{key:e.id,node:e,...t}),xe="SFG-K RJWgX",Te="T1Eox";const Ae=({node:e,nodeIndex:t,RicosNodesRenderer:n,shouldParagraphApplyTextStyle:i})=>{const{seoMode:a}=(0,o.useContext)(P.u),{textAlignment:l}=(0,o.useContext)(S.P),{parentNode:s}=(0,o.useContext)(N.er),d=(0,o.useContext)(ie),{indentation:c=0}=e.paragraphData||{},{textAlignment:u,lineHeight:m}=e.paragraphData?.textStyle||{},p=u!==q.gL.AUTO&&u?u:l,E=_()(i&&xe,te[p||q.gL.AUTO],G[J[c]],!s&&Y(a)&&W(a?.paywall||{},t)),h=_()(Te,u===q.gL.JUSTIFY&&te[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}},w=g?r().createElement("br",{role:"presentation"}):r().createElement(N.pB,{parentNode:e,parentIndex:t},r().createElement(n,{key:`children-${e.id}`,nodes:e.nodes??[]}));return r().createElement(K,{nodeId:e.id},r().createElement(V,{className:E,style:y,dir:d?"":"auto"},r().createElement("span",{className:h},w),b&&r().createElement("br",{role:"presentation"})))};var De=({node:e,...t})=>r().createElement(Ae,{key:e.id,node:e,...t});const Le=({node:e})=>{const{text:t}=e.textData||{},{nodeViewDecorators:n}=(0,o.useContext)(I);return t&&""!==t?r().createElement("span",null,n.applyTextual(e)||t):r().createElement("br",{role:"presentation"})};var Be=(0,N.Em)((e=>{const{parentId:t,nodeIndex:n}=e,o=`${t}-text-node-${n}`;return r().createElement(Le,{key:o,...e})}));var Ie={[x.A.PARAGRAPH]:De,[x.A.TEXT]:Be,[x.A.BLOCKQUOTE]:ee,[x.A.CODE_BLOCK]:re,[x.A.HEADING]:ue,[x.A.BULLETED_LIST]:he,[x.A.ORDERED_LIST]:fe,[x.A.LIST_ITEM]:we},Ce=n(34847),Pe=n(49464),Se=n(31034),ke=n(49437),Me=n(4209),Ue=n(70178),Re=n(62049),Ne=n(16048);const Oe=e=>"boolean"==typeof e.boolValue,Fe=e=>"string"==typeof e.stringValue,He=e=>"number"==typeof e.numberValue,ze=e=>(0,E.isObject)(e.listValue)&&Array.isArray(e.listValue?.values),$e=e=>(0,E.isObject)(e.structValue)&&(0,E.isObject)(e.structValue?.fields),je=e=>e.nullValue===Ne.X.NULL_VALUE,Ge=ke.JI((0,Me.$1)()),Ke=([e,t])=>({[e]:t}),We=e=>(0,Pe.Fs)(e.fields,Object.entries,Ce.Tj(Ue.wu(Ye,Pe.D_)),Ce.Tj(Ke),(0,Se.KO)(Ge)),Ye=e=>(0,Re.jJ)(e,null,[[Oe,({boolValue:e})=>e],[He,({numberValue:e})=>e],[Fe,({stringValue:e})=>e],[je,()=>null],[ze,e=>qe(e.listValue||{values:[]})],[$e,e=>We(e.structValue||{fields:{}})]]),qe=e=>(0,Pe.Fs)(e.values,Ce.Tj(Ye));var Je={alignLeft:"HrKdN",textWrapNowrap:"Sie1q",alignRight:"Mmbgf",alignCenter:"_5Llbo",sizeFullWidth:"dsbHU",renderedInTable:"_5r-S8",sizeOriginal:"TTSNf",sizeContent:"kIU8W",sizeSmall:"hvsag",sizeSmallCenter:"xukke",flex:"mEpxz",atomic:"eqS3g",embed:"GXfO1",horizontalScrollbar:"CrYPK",pluginContainerMobile:"_1s3JW"};const Xe=e=>{const t=`${(0,E.camelCase)(e.type)}Data`;return e?.[t]?.containerData},Ze=(e={})=>{const{alignment:t}=e;if(!t)return"";const n=`align${(0,E.upperFirst)(t.toLowerCase())}`;return Je[n]},Qe=e=>{const{width:t}=e,{size:n}=t||{};if(!n||"FULL_WIDTH"===n)return"";const o=`size${(0,E.upperFirst)(n.toLowerCase())}`;return Je[o]},et=(e={})=>{const{textWrap:t}=e;return t?"":Je.textWrapNowrap};class tt 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 nt={[x.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},ot=e=>e?.width?.size&&("CONTENT"===e.width.size||"FULL_WIDTH"===e.width?.size),rt={[x.A.IMAGE]:e=>ot(e.containerData)?"100%":`${e?.image?.width}px`,[x.A.GIF]:e=>ot(e.containerData)?"100%":`${e.width}px`},it=({nodeType:e,componentData:t,nodeIndex:n,className:i,children:a})=>{const{containerData:l}=t,{seoMode:s}=(0,o.useContext)(P.u),{isMobile:d}=(0,o.useContext)(L.iB),{parentNode:c}=(0,o.useContext)(N.er),u=nt[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)&&rt[e]?.(t),E=m||p,h=t&&E?{width:`min(100%, ${E})`}:void 0;return r().createElement("div",{className:_()(i,!c&&Y(s)&&W(s?.paywall||{},n)),style:h},a)};var at=n(25063),lt=n(44375),st=n(76491),dt="hs27L";const ct=({children:e,nodeType:t,link:n})=>{const{anchorTarget:i,baseUrl:a,customAnchorScroll:l}=(0,o.useContext)(P.u);return n&&t!==x.A.BUTTON?r().createElement("a",{className:n?dt:void 0,href:n?(0,at.N)(n,a):void 0,target:n.target?`_${n.target.toLowerCase()}`:i,rel:n.rel&&(0,lt.kb)(n.rel),onClick:n?.anchor?e=>{if(l)return l(e,n?.anchor);const t=`viewer-${n?.anchor}`,o=document.getElementById(t);o&&((0,st.J)(t),(0,st.P)(o))}:void 0},e):r().createElement(r().Fragment,null,e)},ut=e=>void 0!==e,mt=(e={})=>({config:{spoiler:{enabled:!!e.spoiler?.enabled,description:e.spoiler?.description,buttonContent:e.spoiler?.buttonText}}}),pt=({node:e,nodeIndex:t,customClassNames:n,withHorizontalScroll:i,children:a})=>{const{isMobile:l}=(0,o.useContext)(L.iB),{SpoilerViewerWrapper:s}=(0,o.useContext)(I),d=`${(0,E.camelCase)(e.type)}Data`,c=e[d]||{},{containerData:u,link:m}=c,{alignment:p,size:h,textWrap:g}=n||{},b=_()(Je.pluginContainerReadOnly,{[Je.pluginContainerMobile]:l,[Je.horizontalScrollbar]:i},ut(p)?p:(e=>Ze(Xe(e)))(e),ut(h)?h:(e=>Qe(Xe(e)||{}))(e),ut(g)?g:(e=>et(Xe(e)))(e)),V=(0,o.useCallback)((n=>r().createElement(it,{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:mt(u)},t):t),[b,e.type,u?.width?.custom,u?.width?.size,u?.alignment,u?.spoiler?.enabled,u?.spoiler?.buttonText,u?.spoiler?.description]),w=(0,o.useCallback)((t=>r().createElement(ct,{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(_t,{node:e},a((0,o.useMemo)((()=>({ContainerElement:e=>V(e.children),SpoilerWrapper:e=>y(e.children),LinkWrapper:e=>w(e.children)})),[V,y,w]))):r().createElement(_t,{node:e},w(y(V(a))))},_t=({children:e,node:t})=>r().createElement(tt,null,r().createElement(K,{nodeId:t.id},r().createElement("div",{className:Je.atomic},e))),Et=({type:e,context:t,node:n,nodeIndex:o,children:i,pluginComponent:{component:a}})=>{const l=t.config?.[e]||{},s=n.externalData&&We(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:Ze(d),size:Qe(d),textWrap:et(d)};return r().createElement(pt,{node:n,nodeIndex:o,customClassNames:p},r().createElement(a,{...m}))},ht={[x.A.EXTERNAL]:e=>({[x.A.EXTERNAL]:({node:t,nodeIndex:n})=>r().createElement(Et,{key:t.id,node:t,nodeIndex:n,...e})})},gt=(e,t,n,o)=>{const r=Object.entries(t).reduce(((t,[n,r])=>({...t,...ht[n]?.({pluginComponent:r,type:n,context:e,SpoilerViewerWrapper:o})})),{});return{...r,...n}};var bt=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 Vt=({node:e})=>null,yt=({node:e,index:t,isRoot:n,shouldParagraphApplyTextStyle:i})=>{const{renderers:a,nodeViewDecorators:l}=(0,o.useContext)(I),s=a[e.type];return s?l.apply(r().createElement(s,{node:e,key:e.id||t.toString(),RicosNodesRenderer:wt,isRoot:n,nodeIndex:t,NodeViewContainer:pt,shouldParagraphApplyTextStyle:i}),e,!!n):(console.error(`RicosNodeDedcorated Error: no renderer passed for node type - ${e.type}`),r().createElement(Vt,{node:e}))},wt=({nodes:e,isRoot:t,shouldParagraphApplyTextStyle:n,addAnchorsPrefix:o})=>r().createElement(r().Fragment,null,e.flatMap(((e,i)=>[r().createElement(yt,{isRoot:t,node:e,index:i,key:e.id||i.toString(),shouldParagraphApplyTextStyle:n}),...o?[A(e,i,o)]:[]])));var vt=wt;var ft=({content:e,context:t,typeMappers:n,nodeViewRenderers:i,nodeViewDecorators:a,SpoilerViewerWrapper:l,addAnchorsPrefix:s})=>{const{nodes:d}=e,c=new bt,u=(0,o.useMemo)((()=>({...Ie,...gt(t,n,i,l)})),[]),m=(0,o.useMemo)((()=>j.of([...$,...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 O.y(t.isMobile,t.theme.settingsStyles)),[]);return r().createElement(r().Fragment,null,r().createElement(L.n_,{...p},r().createElement(B.F5,{zIndexService:_},r().createElement(C,{nodeViewDecorators:m,renderers:u,SpoilerViewerWrapper:l},r().createElement(P.T,{contextualData:t},r().createElement(S.C,{textAlignment:t.textAlignment},r().createElement(M,{spoilerManager:c},r().createElement(R,{visibleIndentation:null},r().createElement(N.pB,{parentNode:null,parentIndex:0},r().createElement("div",{className:v.rootedTraversedContent},r().createElement(vt,{nodes:d??[],isRoot:!0,addAnchorsPrefix:s,shouldParagraphApplyTextStyle:!0})))))))))))};const xt={...v,...f},Tt=({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,w.y)(l),onNodeClick:h,jsdomMode:g,baseUrl:b});var At=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,w=t[i.SPOILER_TYPE]?.SpoilerViewerWrapper,v=Tt(e),x=_()(xt.viewer,{[f.rtl]:"rtl"===v.textDirection}),T=(0,E.merge)({},o?h.T.mobile:h.T.desktop,v.theme),A=(0,g.j)(T,s?.documentStyle??{});return r().createElement(b.F.Provider,{key:"RicosViewer",value:{experiments:p,isMobile:o,t:V}},r().createElement("div",{className:_()(xt.wrapper),dir:v.languageDir,onMouseEnter:e=>n&&n(e),onMouseOver:l,ref:d,style:A,"data-id":"content-viewer"},e.devTools,r().createElement("div",{className:x},r().createElement(D,{addAnchors:a},r().createElement(ft,{content:s,typeMappers:c,context:v,nodeViewRenderers:u,nodeViewDecorators:m,SpoilerViewerWrapper:w}))),r().createElement(y,{isMobile:o})))};const Dt=function(e){const t=e.en;return Object.keys(e).reduce(((n,o)=>(n[o]={...t,...e[o]},n)),{})}(m),Lt=e=>{const t=e.locale,[o,i]=r().useState((()=>({status:"READY",loadedLocales:["en"],i18nextInstance:Bt({activeLocale:t,resources:Dt})}))),{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(39360)(`./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(At,{...e,t:s})};function Bt({activeLocale:e,resources:t}){const n=Object.keys(t).reduce(((e,n)=>(e[n]={translation:t[n]},e)),{}),o=u.A.createInstance({lng:e,keySeparator:"$",interpolation:{escapeValue:!1},resources:n});return o.init(),o}var It=n(41012);const Ct=(0,Pe.L3)((e=>Array.isArray(e)?{id:"root",type:"UNRECOGNIZED",nodes:e}:e),(0,It.N)((e=>Array.isArray(e.nodes)?e.nodes:[])));var Pt=n(87819);const St=()=>Promise.all([n.e(8841),n.e(6770),n.e(1215),n.e(3673),n.e(8160)]).then(n.bind(n,78870)),kt=r().lazy(St),Mt=e=>{const{children:t,isMobile:n,fullscreenProps:i,content:a}=e,[l,s]=r().useState({type:"closed"}),d=r().useMemo((()=>a?Ut(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:()=>St()}),"open"===l.type&&r().createElement(o.Suspense,{fallback:r().createElement("div",null)},r().createElement(kt,{images:d.images,onClose:()=>s({type:"closed"}),index:l.activeIndex,isMobile:n,...i,jsdomMode:e.jsdomMode})))},Ut=e=>{let t=0;return Ct(e.nodes).filter((e=>[Pt.AS.IMAGE,Pt.AS.GALLERY].includes(e.type))).get().reduce(((e,n)=>{const{images:o,imageMap:r}=e,i=Rt(n),a=t;return t+=i.length,{images:[...o,...i],imageMap:{...r,[n.id??""]:a}}}),{images:[],imageMap:{}})},Rt=e=>{switch(e.type){case Pt.AS.IMAGE:return e.imageData.image?.src&&!e.imageData?.disableExpand?[{image:{media:{...e.imageData.image}},disableDownload:e.imageData.disableDownload}]:[];case Pt.AS.GALLERY:return e.galleryData?.disableExpand?[]:e.galleryData.items.map((t=>({...t,disableDownload:e.galleryData.disableDownload})));default:return[]}};var Nt=n(57145);const Ot=(0,Se.w3)({config:(0,ke.JI)((0,Me.HV)()),typeMappers:(0,Ce.JI)(),nodeViewDecorators:(0,Ce.JI)(),nodeViewRenderers:(0,ke.JI)((0,Me.HV)())}),Ft=({config:e={},typeMappers:t=[],nodeViewRenderers:n,nodeViewDecorators:o})=>({config:e,typeMappers:t,nodeViewRenderers:n,nodeViewDecorators:o}),Ht=()=>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},zt=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 jt({_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,Pe.Fs)(e,(0,Ce.Tj)(Ht()),(0,Se.AU)(Ot),zt(Ft(t)))}({plugins:c,viewerProps:m}),{pauseMedia:V,disableRightClick:y}=r,{anchorTarget:w="_blank",customAnchorScroll:v}=i;let{relValue:f,rel:x}=i;f&&(console.warn("relValue is deprecated, Please use rel prop instead."),x=(0,lt.C4)(f)||x),f=(0,lt.kb)(x);const T={addAnchors:n,isMobile:t,config:{uiSettings:{disableDownload:r?.disableDownload||y}},content:u,onError:o,helpers:{},disabled:V,anchorTarget:w,relValue:f,customAnchorScroll:v,textAlignment:a,experiments:l,iframeSandboxDomain:s,theme:d,onNodeClick:p,jsdomMode:h,baseUrl:g},A=(0,Pe.Fs)((0,E.merge)({locale:"en",config:{}},b,e,T,m),(D=()=>u?.metadata?.id,({helpers:e={},...t})=>({...t,helpers:{...e,onViewerLoaded:t=>e.onViewerLoaded?.({...t,version:Nt.c,contentId:D()}),onViewerAction:(t,n,o,r,i)=>e.onViewerAction?.(t,n,o,r||D(),i)}})));var D;return{...A,debugMode:_,typeMappers:$t(A.typeMappers||[])}}class Gt 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(8214).then(n.bind(n,78214))));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(745).then(n.bind(n,30745))));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.i)(t)||{};n&&e?.({isPreview:!1,version:i.Version.currentVersion,pluginsCount:n,url:document.URL,contentId:t?.metadata?.id}),(0,a.A)(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,_=jt({...this.props,viewerProps:{seoMode:e,onMouseOver:this.onMouseOver,locale:this.props.locale}}),E=({config:e,onHover:t})=>r().createElement(Lt,{..._,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.L,{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(Mt,{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}}}Gt.displayName="RicosViewerNext",Gt.defaultProps={onError:e=>{throw e}};var Kt=Gt,Wt=n(56926),Yt=n(14993),qt=n(40488),Jt=n(49038),Xt=n(36939);const Zt="?d=",Qt=/^https:\/\/www.wix.app/,en=(e,t)=>{const n=e.match(Qt),o=n?(e=>e.split(Zt)[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/"));return e.slice(t)})(o),i=(e=>e.replace(/\/$/,""))(t)+r;return n?((e,t)=>`${e.split(Zt)[0]}${Zt}${t}`)(e,i):i};const tn=(e,t,n)=>{return t&&(o=i.VERTICAL_EMBED_TYPE,(0,qt.Mt)(o,e))?function(e,t=!1){return{config:{[i.VERTICAL_EMBED_TYPE]:{changeBaseUrl:t=>en(t,e),disabled:t}}}}(t,n):{config:{}};var o},nn=(on=Kt,function(e){const{children:t,biSettings:n,instance:o,plugins:i,theme:a,wixExperiments:l,allowLinkPreviewPopover:s,httpClient:d,msid:c,baseUrl:u,previewMode:m,content:p,..._}=e,h=(0,Wt.X)(l),g=(0,Yt.v)({plugins:i,instance:o,biSettings:n,experiments:h,wixRicosVersion:Nt.c,ricosVersion:Nt.c,httpClient:d,msid:c,viewer:!0,content:p}),b=(0,E.merge)(g,tn(i,u,m),(0,qt.o$)(i,g.helpers));return r().createElement(on,{_rcProps:b,baseUrl:u,content:p,experiments:g.experiments,plugins:i,theme:(0,Jt.N)(a),...s&&{linkPreviewPopoverFetchData:(0,Xt.g)(o)},..._},t)});var on},87521:()=>{},39587:()=>{}}]); //# sourceMappingURL=6943.chunk.min.js.map