import $_$ from './$_$.js';$_$();import{isVue2 as x,getCurrentScope as P,computed_a82cbf as E,getCurrentInstance as _,ref as T,defineComponent as l,useLogger_b85e39 as A,useRemoteViewManager as D,onUnmounted as M,onMounted as N,RemoteViewStates as y,execAsync as Y,nextTick as B,onBeforeUnmount as U,watch_a82cbf as F,h_a82cbf as K,useT as w,getConfigs as b,withAsyncContext as L}from"../../../../shared-assets/Desktop/__shared_base-app_5c24ba743a.js";const Q=()=>{$_$();var o,e,t,n;if(x){const a=P(),c=(o=a.vmRoot)!=null?o:a.vm;return E(()=>c.$route)}const r=_();return(n=(t=(e=r==null?void 0:r.appContext)==null?void 0:e.app)==null?void 0:t.$nuxt)==null?void 0:n._route},X=()=>{$_$();var o,e,t,n;if(x){const a=P();return((o=a.vmRoot)!=null?o:a.vm).$router}const r=_();return(n=(t=(e=r==null?void 0:r.appContext)==null?void 0:e.app)==null?void 0:t.$nuxt)==null?void 0:n.$router},Z=(o=!1)=>{$_$();const e=T(o);return[()=>e.value=!e.value,e]},ee={DEFAULT:0,NET:1,CRYPTO:2};var te=l({name:"UiPlugBackgroundDefault"}),oe=l({name:"UiPlugBackgroundCrypto"}),ne=l({name:"UiPlugBackgroundNet"}),re=l({name:"UiPlugTileText"}),ae=l({name:"UiPlugContacts",props:{links:{type:Array,required:!0}}}),ce=l({name:"UiPlugTileLogo",props:{homeLink:{type:String,required:!0},companyLogoDark:{type:String,required:!0}}});const se=()=>({openTechnicalSupportPhonesModal:()=>{var t;(t=window.coreBus)==null||t.emit("openSupportPhonesModal")},closeTechnicalSupportPhonesModal:()=>{var t;(t=window.coreBus)==null||t.emit("closeSupportPhonesModal")}});var I=Object.defineProperty,V=Object.defineProperties,j=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable,h=(o,e,t)=>e in o?I(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,z=(o,e)=>{for(var t in e||(e={}))q.call(e,t)&&h(o,t,e[t]);if(C)for(var t of C(e))J.call(e,t)&&h(o,t,e[t]);return o},G=(o,e)=>V(o,j(e));const le=(o,e,{hash:t="",attrs:n={},needSSR:r=!1,spaFallbackOnSSRFailure:a=!1})=>$_$() && l({name:e,emits:["error","rendered"],setup(c,{emit:d}){$_$();const O=A(),{getEntry:R,watchEntry:S,addRemoteComponentDependency:$,removeRemoteComponentDependency:k}=D();$(o),M(()=>{k(o)});const p=_();let v=!1;const m=T(!1);return N(()=>{$_$();const g=S(o,async s=>{$_$();var i;let u,f;s.state!==y.READY&&(v=!1),d("error",s.state===y.ERROR),[u,f]=Y(()=>$_$() && B()),await u,f(),s.state===y.READY&&!v&&(i=p==null?void 0:p.proxy)!=null&&i.$el&&(window.coreBus.emit(`render-${s.meta.appName}-${e}`,{container:p.proxy.$el,props:G(z({},n),{onVnodeMounted:()=>{d("rendered"),m.value=!0}})}),v=!0)});U(g),F([()=>n,m],()=>{var s,i;if(m.value)try{const u=JSON.parse(JSON.stringify(n));(i=(s=p==null?void 0:p.proxy)==null?void 0:s.$el)==null||i.dispatchEvent(new CustomEvent("onUpdateAttrs",{detail:u}))}catch(u){O.warn("Failed props serialization",u)}},{deep:!0})}),()=>{$_$();const g=R(o);return K("div",{"data-mf":g.meta.appName,"data-component":e})}}}),ue=function(o){const e=[];let t,n,r,a;for(r=0;r<256;r++){n=r;for(let c=0;c<8;c++)n=1&n?3988292384^n>>>1:n>>>1;e[r]=n}for(t=-1,a=0;a>>8^e[255&(t^o.charCodeAt(a))];return(-1^t)>>>0},H="footer_copyright",pe=()=>{$_$();const o=w(),[e="",t="",n="",r=""]=b(501,1,906,131);return{footerText:o(r||H,{name:t?`«${t}»`:"",foundationYear:n,legalNameCompany:e,currentYear:new Date().getFullYear()})}};function ie(o){$_$();return L(()=>{$_$();var t;const e=(t=_())==null?void 0:t.appContext.app.$nuxt;return e?e.runWithContext(o):o()})}const de=()=>{$_$();const o=w(),[{code:e},t="block_page_county_block_2",n,r="block_page_title",a=""]=b(-1012,1431,1434,1430,1),c=o(r,{companyName:a}),d=n?o("block_page_restricted_description",{country:o(`country_${e}`)}):o(t);return{blockTitle:c,blockText:d}};export{ee as T,oe as a,ne as a$1,re as a$2,ue as crc32,le as createRemoteComponent,te as e,ae as e$1,ce as r,de as useBlockTextsContent,pe as useFooterCopyrightText,Q as useRoute,X as useRouter,se as useTechnicalSupportModalControl,Z as useToggle,ie as withAsyncContext};