1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"btse@5f19a485"};var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c108329c-9a8e-443e-81c7-35bbdea92104",e._sentryDebugIdIdentifier="sentry-dbid-c108329c-9a8e-443e-81c7-35bbdea92104")}catch(s){}}();import{ai as e,aS as a,ap as s,a7 as n,a6 as r,a5 as l,r as t,bQ as i,an as o,aE as c,aF as u,a8 as d,a9 as p,aa as m,ak as v,ab as f,ag as y,as as b}from"./PmfENnFs.js";import{u as g,ep as k,gR as h,gS as _,fc as w,R as E,sQ as I}from"./BhKTELSe.js";import{u as S}from"./cvxruSMo.js";import{E as A}from"./C7gcK9QJ.js";import{_ as D}from"./CRPzHAml.js";const O=["src"],R="USDT",T=D(e({__name:"IframeView",props:{iframeUrl:{},isAccessible:{type:Boolean}},setup(e){const I=e,D=a(),T=s(),j=n(),C=r((()=>j.getters["headerTheme/currentHeaderClass"])),L=g(),U=S(),{lang:N,loginState:q,token:B,isApp:F,isAccessibleFunctionsLoaded:M,currencyMap:P}=l(L),{captureEvent:Q}=k(),W={$route:T,payload:{websiteUrl:window.location.host}},$=t(null),x=t(!0),z=t(!1),G=t(R),H=t(h(W)),V=t(_(W));function Y(e){var a,s;x.value||null==(s=null==(a=$.value)?void 0:a.contentWindow)||s.postMessage(e,"*")}function J(e){var a,s,n,r;const l=e.data;switch(l.type){case"appReady":x.value=!1;break;case"updateMeta":!function(e={}){e.title&&(H.value=e.title),e.description&&(V.value=e.description)}(l.payload);break;case"redirectLogin":!q.value&&D.push({name:E.LOGIN,query:{redirect:T.fullPath},params:{lang:N.value}});break;case"buyCrypto":if(q.value){const e=null==(a=l.payload)?void 0:a.buyCurrency;G.value=e&&P.value[e]?e:R,z.value=!0}break;case"deposit":if(q.value){const e=(null==(s=l.payload)?void 0:s.currency)||R;D.push({name:E.DEPOSIT,query:{currency:e},params:{lang:N.value}})}break;case"transfer":q.value&&U.toggleTransferPopup(l.payload);break;case"lockScroll":w("no-scroll-without-padding",!!(null==(n=l.payload)?void 0:n.locked));break;case"navigate":{const e=l.payload;if(!(null==e?void 0:e.name))break;const a={name:e.name,params:{lang:N.value,...e.params},query:e.query},s=D.resolve(a);if(0===s.matched.length||s.name===E.WILDCARD||s.name===E.NOT_FOUND)break;D.push(a);break}case"captureEvent":if(!(null==(r=l.payload)?void 0:r.eventName))break;Q(l.payload.eventName,l.payload.properties)}}return i({title:H,meta:[{name:"description",content:V}]}),o([x,q],(([e,a])=>!e&&a&&Y({type:"authentication",payload:{token:B.value}})),{immediate:!0}),o([x,N],(([e])=>!e&&Y({type:"locale",payload:{locale:N.value}})),{immediate:!0}),o([x,F],(([e])=>!e&&Y({type:"clientEnv",payload:{isApp:F.value}})),{immediate:!0}),o(M,(e=>{e&&!I.isAccessible&&D.push({name:"notFound",params:{lang:N.value}})}),{immediate:!0}),c((()=>{window.addEventListener("message",J)})),u((()=>{window.removeEventListener("message",J),w("no-scroll-without-padding",!1)})),(e,a)=>(p(),d("div",{class:y(["iframe-container",{"header-padding":!b(F)&&!C.value}])},[m("iframe",{ref_key:"iframeRef",ref:$,class:"iframe",src:e.iframeUrl},null,8,O),z.value?(p(),v(A,{key:0,visible:z.value,forceReceiveCurrency:G.value,onOnClosed:a[0]||(a[0]=e=>z.value=!1)},null,8,["visible","forceReceiveCurrency"])):f("",!0)],2))}}),[["__scopeId","data-v-ff3a8acb"]]),j=e({__name:"BinaryOptions",setup(e){const a=n();return(e,s)=>(p(),v(T,{iframeUrl:b(I),isAccessible:b(a).getters.isEnableBinaryOptions},null,8,["iframeUrl","isAccessible"]))}}),C=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));export{C as B,T as I}; 2//# sourceMappingURL=BLlYDLcN.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.