@everymatrix/cashier-iframe-redirect 1.85.17 → 1.85.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,z.MISSING_INTL_API,a);var $=r.getPluralRules(t,{type:h.pluralType}).select(m-(h.offset||0));H=h.options[$]||h.options.other}if(!H)throw new dt(h.value,m,Object.keys(h.options),a);o.push.apply(o,ce(H.value,t,r,n,i,m-(h.offset||0)));continue}}return Vn(o)}function zn(e,t){return t?S(S(S({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=S(S({},e[n]),t[n]||{}),r},{})):e}function Wn(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=zn(e[n],t[n]),r},S({},e)):e}function Ie(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Zn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Pe(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ce([void 0],r,!1)))},{cache:Ie(e.number),strategy:Le.variadic}),getDateTimeFormat:Pe(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ce([void 0],r,!1)))},{cache:Ie(e.dateTime),strategy:Le.variadic}),getPluralRules:Pe(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ce([void 0],r,!1)))},{cache:Ie(e.pluralRules),strategy:Le.variadic})}}var tr=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(c,m){return!c.length||m.type!==x.literal||typeof c[c.length-1]!="string"?c.push(m.value):c[c.length-1]+=m.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return ce(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=nn(a,["formatters"]);this.ast=e.__parse(t,S(S({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Wn(e.formats,n),this.formatters=i&&i.formatters||Zn(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Fn,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Qn(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const L={},qn=(e,t,r)=>r&&(t in L||(L[t]={}),e in L[t]||(L[t][e]=r),r),rr=(e,t)=>{if(t==null)return;if(t in L&&e in L[t])return L[t][e];const r=se(t);for(let n=0;n<r.length;n++){const i=r[n],s=Yn(i,e);if(s)return qn(e,t,s)}};let Je;const ie=ye({});function Jn(e){return Je[e]||null}function nr(e){return e in Je}function Yn(e,t){if(!nr(e))return null;const r=Jn(e);return Qn(r,t)}function Kn(e){if(e==null)return;const t=se(e);for(let r=0;r<t.length;r++){const n=t[r];if(nr(n))return n}}function Ye(e,...t){delete L[e],ie.update(r=>(r[e]=rn.all([r[e]||{},...t]),r))}Z([ie],([e])=>Object.keys(e));ie.subscribe(e=>Je=e);const me={};function ei(e,t){me[e].delete(t),me[e].size===0&&delete me[e]}function ir(e){return me[e]}function ti(e){return se(e).map(t=>{const r=ir(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function be(e){return e==null?!1:se(e).some(t=>{var r;return(r=ir(t))==null?void 0:r.size})}function ri(e,t){return Promise.all(t.map(n=>(ei(e,n),n().then(i=>i.default||i)))).then(n=>Ye(e,...n))}const q={};function sr(e){if(!be(e))return e in q?q[e]:Promise.resolve();const t=ti(e);return q[e]=Promise.all(t.map(([r,n])=>ri(r,n))).then(()=>{if(be(e))return sr(e);delete q[e]}),q[e]}var bt=Object.getOwnPropertySymbols,ni=Object.prototype.hasOwnProperty,ii=Object.prototype.propertyIsEnumerable,si=(e,t)=>{var r={};for(var n in e)ni.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&bt)for(var n of bt(e))t.indexOf(n)<0&&ii.call(e,n)&&(r[n]=e[n]);return r};const oi={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function ai({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${se(e).join('", "')}".${be(I())?`
4
4
 
5
- Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ui={fallbackLocale:null,loadingDelay:200,formats:oi,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},J=ui;function W(){return J}function or(e){const t=e,{formats:r}=t,n=si(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{tr.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=ai:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(J,n,{initialLocale:i}),r&&("number"in r&&Object.assign(J.formats.number,r.number),"date"in r&&Object.assign(J.formats.date,r.date),"time"in r&&Object.assign(J.formats.time,r.time)),M.set(i)}const Me=ye(!1);var hi=Object.defineProperty,li=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,_t=(e,t,r)=>t in e?hi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pi=(e,t)=>{for(var r in t||(t={}))ci.call(t,r)&&_t(e,r,t[r]);if(gt)for(var r of gt(t))mi.call(t,r)&&_t(e,r,t[r]);return e},di=(e,t)=>li(e,fi(t));let ze;const ge=ye(null);function yt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function se(e,t=W().fallbackLocale){const r=yt(e);return t?[...new Set([...r,...yt(t)])]:r}function I(){return ze!=null?ze:void 0}ge.subscribe(e=>{ze=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const bi=e=>{if(e&&Kn(e)&&be(e)){const{loadingDelay:t}=W();let r;return typeof window!="undefined"&&I()!=null&&t?r=window.setTimeout(()=>Me.set(!0),t):Me.set(!0),sr(e).then(()=>{ge.set(e)}).finally(()=>{clearTimeout(r),Me.set(!1)})}return ge.set(e)},M=di(pi({},ge),{set:bi}),ve=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var gi=Object.defineProperty,_e=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,Et=(e,t,r)=>t in e?gi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ke=(e,t)=>{for(var r in t||(t={}))ar.call(t,r)&&Et(e,r,t[r]);if(_e)for(var r of _e(t))ur.call(t,r)&&Et(e,r,t[r]);return e},Q=(e,t)=>{var r={};for(var n in e)ar.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&_e)for(var n of _e(e))t.indexOf(n)<0&&ur.call(e,n)&&(r[n]=e[n]);return r};const re=(e,t)=>{const{formats:r}=W();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},_i=ve(e=>{var t=e,{locale:r,format:n}=t,i=Q(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=re("number",n)),new Intl.NumberFormat(r,i)}),yi=ve(e=>{var t=e,{locale:r,format:n}=t,i=Q(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=re("date",n):Object.keys(i).length===0&&(i=re("date","short")),new Intl.DateTimeFormat(r,i)}),Ei=ve(e=>{var t=e,{locale:r,format:n}=t,i=Q(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=re("time",n):Object.keys(i).length===0&&(i=re("time","short")),new Intl.DateTimeFormat(r,i)}),xi=(e={})=>{var t=e,{locale:r=I()}=t,n=Q(t,["locale"]);return _i(Ke({locale:r},n))},vi=(e={})=>{var t=e,{locale:r=I()}=t,n=Q(t,["locale"]);return yi(Ke({locale:r},n))},Hi=(e={})=>{var t=e,{locale:r=I()}=t,n=Q(t,["locale"]);return Ei(Ke({locale:r},n))},Bi=ve((e,t=I())=>new tr(e,t,W().formats,{ignoreTag:W().ignoreTag})),Ti=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=I(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=rr(e,l);if(!h)h=(s=(i=(n=(r=W()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!o)return h;let c=h;try{c=Bi(h,l).format(o)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return c},wi=(e,t)=>Hi(t).format(e),Si=(e,t)=>vi(t).format(e),Ai=(e,t)=>xi(t).format(e),Oi=(e,t=I())=>rr(e,t),Ci=Z([M,ie],()=>Ti);Z([M],()=>wi);Z([M],()=>Si);Z([M],()=>Ai);Z([M,ie],()=>Oi);function hr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function lr(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function fr(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function xt(e,t){Ye(e,t)}function Pi(e){or({fallbackLocale:"en"}),M.set(e)}const vt={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function Li(e){Pt(e,"svelte-brbf89",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}")}const Ni=e=>({}),Ht=e=>({}),Ii=e=>({}),Bt=e=>({}),Mi=e=>({}),Tt=e=>({});function wt(e){let t,r,n;return{c(){t=R("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',U(t,"class","CashierHeaderLeftButton")},m(i,s){N(i,t,s),r||(n=qe(t,"click",e[6]),r=!0)},p:T,d(i){i&&O(t),r=!1,n()}}}function $i(e){let t,r=e[1]&&wt(e);return{c(){r&&r.c(),t=Lt()},m(n,i){r&&r.m(n,i),N(n,t,i)},p(n,i){n[1]?r?r.p(n,i):(r=wt(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&O(t),r&&r.d(n)}}}function Ri(e){let t,r=e[4](e[2])+"",n;return{c(){t=R("span"),n=Qe(r),U(t,"class","CashierHeaderTitle")},m(i,s){N(i,t,s),K(t,n)},p(i,s){s&20&&r!==(r=i[4](i[2])+"")&&Ar(n,r)},d(i){i&&O(t)}}}function St(e){let t,r,n;return{c(){t=R("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',U(t,"class","CashierHeaderRightButton")},m(i,s){N(i,t,s),r||(n=qe(t,"click",e[5]),r=!0)},p:T,d(i){i&&O(t),r=!1,n()}}}function Ui(e){let t,r=e[3]&&St(e);return{c(){r&&r.c(),t=Lt()},m(n,i){r&&r.m(n,i),N(n,t,i)},p(n,i){n[3]?r?r.p(n,i):(r=St(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&O(t),r&&r.d(n)}}}function Di(e){let t,r,n,i;const s=e[16].leftButton,a=Be(s,e,e[15],Tt),o=a||$i(e),l=e[16].title,u=Be(l,e,e[15],Bt),h=u||Ri(e),c=e[16].rightButton,m=Be(c,e,e[15],Ht),p=m||Ui(e);return{c(){t=R("div"),o&&o.c(),r=$e(),h&&h.c(),n=$e(),p&&p.c(),U(t,"class","CashierHeader")},m(f,_){N(f,t,_),o&&o.m(t,null),K(t,r),h&&h.m(t,null),K(t,n),p&&p.m(t,null),e[17](t),i=!0},p(f,[_]){a?a.p&&(!i||_&32768)&&we(a,s,f,f[15],i?Te(s,f[15],_,Mi):Se(f[15]),Tt):o&&o.p&&(!i||_&2)&&o.p(f,i?_:-1),u?u.p&&(!i||_&32768)&&we(u,l,f,f[15],i?Te(l,f[15],_,Ii):Se(f[15]),Bt):h&&h.p&&(!i||_&20)&&h.p(f,i?_:-1),m?m.p&&(!i||_&32768)&&we(m,c,f,f[15],i?Te(c,f[15],_,Ni):Se(f[15]),Ht):p&&p.p&&(!i||_&8)&&p.p(f,i?_:-1)},i(f){i||(le(o,f),le(h,f),le(p,f),i=!0)},o(f){Oe(o,f),Oe(h,f),Oe(p,f),i=!1},d(f){f&&O(t),o&&o.d(f),h&&h.d(f),p&&p.d(f),e[17](null)}}}function Gi(e,t,r){let n;Hr(e,Ci,g=>r(4,n=g));let{$$slots:i={},$$scope:s}=t,{clientstyling:a=""}=t,{clientstylingurl:o=""}=t,{translationurl:l=""}=t,{showbackbutton:u=""}=t,{title:h="header.general"}=t,{lang:c="en"}=t,{showclosebutton:m=""}=t,{mbsource:p=""}=t,f,_=!1,v,C=!1;const P=()=>{fetch(l).then(g=>g.json()).then(g=>{Object.keys(g).forEach(et=>{xt(et,g[et])})}).catch(g=>{console.log(g)})};Object.keys(vt).forEach(g=>{xt(g,vt[g])});const H=()=>{Pi(c)},$=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},A=()=>{window.postMessage({type:"BackCashier"},window.location.href)},D=()=>{r(1,_=!!u&&u!=="false")},oe=()=>{r(3,C=!!m&&m!=="false")},mr=()=>{r(2,v=h||"header.general")};Nt(()=>()=>{});function pr(g){pe[g?"unshift":"push"](()=>{f=g,r(0,f)})}return e.$$set=g=>{"clientstyling"in g&&r(7,a=g.clientstyling),"clientstylingurl"in g&&r(8,o=g.clientstylingurl),"translationurl"in g&&r(9,l=g.translationurl),"showbackbutton"in g&&r(10,u=g.showbackbutton),"title"in g&&r(11,h=g.title),"lang"in g&&r(12,c=g.lang),"showclosebutton"in g&&r(13,m=g.showclosebutton),"mbsource"in g&&r(14,p=g.mbsource),"$$scope"in g&&r(15,s=g.$$scope)},e.$$.update=()=>{e.$$.dirty&4096&&c&&H(),e.$$.dirty&6144&&c&&h&&mr(),e.$$.dirty&129&&a&&f&&hr(f,a),e.$$.dirty&257&&o&&f&&lr(f,o),e.$$.dirty&16385&&p&&f&&fr(f,`${p}.Style`),e.$$.dirty&4608&&c&&l&&P(),e.$$.dirty&1024&&u&&D(),e.$$.dirty&8192&&m&&oe()},[f,_,v,C,n,$,A,a,o,l,u,h,c,m,p,s,i,pr]}class cr extends Rt{constructor(t){super(),It(this,t,Gi,Di,Ze,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},Li)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),w()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),w()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),w()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),w()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),w()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),w()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),w()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),w()}}$t(cr,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const Fi=Object.freeze(Object.defineProperty({__proto__:null,default:cr},Symbol.toStringTag,{value:"Module"}));exports.$locale=M;exports.CashierHeader_ce=Fi;exports.SvelteComponent=Rt;exports.addMessages=Ye;exports.append=K;exports.append_styles=Pt;exports.attr=U;exports.binding_callbacks=pe;exports.create_custom_element=$t;exports.detach=O;exports.element=R;exports.flush=w;exports.init=or;exports.init$1=It;exports.insert=N;exports.listen=qe;exports.noop=T;exports.onMount=Nt;exports.safe_not_equal=Ze;exports.setClientStyling=hr;exports.setClientStylingURL=lr;exports.setStreamStyling=fr;exports.set_custom_element_data=wr;exports.space=$e;exports.src_url_equal=xr;
5
+ Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ui={fallbackLocale:null,loadingDelay:200,formats:oi,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},J=ui;function W(){return J}function or(e){const t=e,{formats:r}=t,n=si(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{tr.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=ai:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(J,n,{initialLocale:i}),r&&("number"in r&&Object.assign(J.formats.number,r.number),"date"in r&&Object.assign(J.formats.date,r.date),"time"in r&&Object.assign(J.formats.time,r.time)),M.set(i)}const Me=ye(!1);var hi=Object.defineProperty,li=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,_t=(e,t,r)=>t in e?hi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pi=(e,t)=>{for(var r in t||(t={}))ci.call(t,r)&&_t(e,r,t[r]);if(gt)for(var r of gt(t))mi.call(t,r)&&_t(e,r,t[r]);return e},di=(e,t)=>li(e,fi(t));let ze;const ge=ye(null);function yt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function se(e,t=W().fallbackLocale){const r=yt(e);return t?[...new Set([...r,...yt(t)])]:r}function I(){return ze!=null?ze:void 0}ge.subscribe(e=>{ze=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const bi=e=>{if(e&&Kn(e)&&be(e)){const{loadingDelay:t}=W();let r;return typeof window!="undefined"&&I()!=null&&t?r=window.setTimeout(()=>Me.set(!0),t):Me.set(!0),sr(e).then(()=>{ge.set(e)}).finally(()=>{clearTimeout(r),Me.set(!1)})}return ge.set(e)},M=di(pi({},ge),{set:bi}),ve=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var gi=Object.defineProperty,_e=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,Et=(e,t,r)=>t in e?gi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ke=(e,t)=>{for(var r in t||(t={}))ar.call(t,r)&&Et(e,r,t[r]);if(_e)for(var r of _e(t))ur.call(t,r)&&Et(e,r,t[r]);return e},Q=(e,t)=>{var r={};for(var n in e)ar.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&_e)for(var n of _e(e))t.indexOf(n)<0&&ur.call(e,n)&&(r[n]=e[n]);return r};const re=(e,t)=>{const{formats:r}=W();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},_i=ve(e=>{var t=e,{locale:r,format:n}=t,i=Q(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=re("number",n)),new Intl.NumberFormat(r,i)}),yi=ve(e=>{var t=e,{locale:r,format:n}=t,i=Q(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=re("date",n):Object.keys(i).length===0&&(i=re("date","short")),new Intl.DateTimeFormat(r,i)}),Ei=ve(e=>{var t=e,{locale:r,format:n}=t,i=Q(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=re("time",n):Object.keys(i).length===0&&(i=re("time","short")),new Intl.DateTimeFormat(r,i)}),xi=(e={})=>{var t=e,{locale:r=I()}=t,n=Q(t,["locale"]);return _i(Ke({locale:r},n))},vi=(e={})=>{var t=e,{locale:r=I()}=t,n=Q(t,["locale"]);return yi(Ke({locale:r},n))},Hi=(e={})=>{var t=e,{locale:r=I()}=t,n=Q(t,["locale"]);return Ei(Ke({locale:r},n))},Bi=ve((e,t=I())=>new tr(e,t,W().formats,{ignoreTag:W().ignoreTag})),Ti=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=I(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=rr(e,l);if(!h)h=(s=(i=(n=(r=W()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!o)return h;let c=h;try{c=Bi(h,l).format(o)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return c},wi=(e,t)=>Hi(t).format(e),Si=(e,t)=>vi(t).format(e),Ai=(e,t)=>xi(t).format(e),Oi=(e,t=I())=>rr(e,t),Ci=Z([M,ie],()=>Ti);Z([M],()=>wi);Z([M],()=>Si);Z([M],()=>Ai);Z([M,ie],()=>Oi);function hr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function lr(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function fr(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function xt(e,t){Ye(e,t)}function Pi(e){or({fallbackLocale:"en"}),M.set(e)}const vt={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function Li(e){Pt(e,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}")}const Ni=e=>({}),Ht=e=>({}),Ii=e=>({}),Bt=e=>({}),Mi=e=>({}),Tt=e=>({});function wt(e){let t,r,n;return{c(){t=R("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>',U(t,"class","CashierHeaderLeftButton")},m(i,s){N(i,t,s),r||(n=qe(t,"click",e[6]),r=!0)},p:T,d(i){i&&O(t),r=!1,n()}}}function $i(e){let t,r=e[1]&&wt(e);return{c(){r&&r.c(),t=Lt()},m(n,i){r&&r.m(n,i),N(n,t,i)},p(n,i){n[1]?r?r.p(n,i):(r=wt(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&O(t),r&&r.d(n)}}}function Ri(e){let t,r=e[4](e[2])+"",n;return{c(){t=R("span"),n=Qe(r),U(t,"class","CashierHeaderTitle")},m(i,s){N(i,t,s),K(t,n)},p(i,s){s&20&&r!==(r=i[4](i[2])+"")&&Ar(n,r)},d(i){i&&O(t)}}}function St(e){let t,r,n;return{c(){t=R("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>',U(t,"class","CashierHeaderRightButton")},m(i,s){N(i,t,s),r||(n=qe(t,"click",e[5]),r=!0)},p:T,d(i){i&&O(t),r=!1,n()}}}function Ui(e){let t,r=e[3]&&St(e);return{c(){r&&r.c(),t=Lt()},m(n,i){r&&r.m(n,i),N(n,t,i)},p(n,i){n[3]?r?r.p(n,i):(r=St(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&O(t),r&&r.d(n)}}}function Di(e){let t,r,n,i;const s=e[16].leftButton,a=Be(s,e,e[15],Tt),o=a||$i(e),l=e[16].title,u=Be(l,e,e[15],Bt),h=u||Ri(e),c=e[16].rightButton,m=Be(c,e,e[15],Ht),p=m||Ui(e);return{c(){t=R("div"),o&&o.c(),r=$e(),h&&h.c(),n=$e(),p&&p.c(),U(t,"class","CashierHeader")},m(f,_){N(f,t,_),o&&o.m(t,null),K(t,r),h&&h.m(t,null),K(t,n),p&&p.m(t,null),e[17](t),i=!0},p(f,[_]){a?a.p&&(!i||_&32768)&&we(a,s,f,f[15],i?Te(s,f[15],_,Mi):Se(f[15]),Tt):o&&o.p&&(!i||_&2)&&o.p(f,i?_:-1),u?u.p&&(!i||_&32768)&&we(u,l,f,f[15],i?Te(l,f[15],_,Ii):Se(f[15]),Bt):h&&h.p&&(!i||_&20)&&h.p(f,i?_:-1),m?m.p&&(!i||_&32768)&&we(m,c,f,f[15],i?Te(c,f[15],_,Ni):Se(f[15]),Ht):p&&p.p&&(!i||_&8)&&p.p(f,i?_:-1)},i(f){i||(le(o,f),le(h,f),le(p,f),i=!0)},o(f){Oe(o,f),Oe(h,f),Oe(p,f),i=!1},d(f){f&&O(t),o&&o.d(f),h&&h.d(f),p&&p.d(f),e[17](null)}}}function Gi(e,t,r){let n;Hr(e,Ci,g=>r(4,n=g));let{$$slots:i={},$$scope:s}=t,{clientstyling:a=""}=t,{clientstylingurl:o=""}=t,{translationurl:l=""}=t,{showbackbutton:u=""}=t,{title:h="header.general"}=t,{lang:c="en"}=t,{showclosebutton:m=""}=t,{mbsource:p=""}=t,f,_=!1,v,C=!1;const P=()=>{fetch(l).then(g=>g.json()).then(g=>{Object.keys(g).forEach(et=>{xt(et,g[et])})}).catch(g=>{console.log(g)})};Object.keys(vt).forEach(g=>{xt(g,vt[g])});const H=()=>{Pi(c)},$=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},A=()=>{window.postMessage({type:"BackCashier"},window.location.href)},D=()=>{r(1,_=!!u&&u!=="false")},oe=()=>{r(3,C=!!m&&m!=="false")},mr=()=>{r(2,v=h||"header.general")};Nt(()=>()=>{});function pr(g){pe[g?"unshift":"push"](()=>{f=g,r(0,f)})}return e.$$set=g=>{"clientstyling"in g&&r(7,a=g.clientstyling),"clientstylingurl"in g&&r(8,o=g.clientstylingurl),"translationurl"in g&&r(9,l=g.translationurl),"showbackbutton"in g&&r(10,u=g.showbackbutton),"title"in g&&r(11,h=g.title),"lang"in g&&r(12,c=g.lang),"showclosebutton"in g&&r(13,m=g.showclosebutton),"mbsource"in g&&r(14,p=g.mbsource),"$$scope"in g&&r(15,s=g.$$scope)},e.$$.update=()=>{e.$$.dirty&4096&&c&&H(),e.$$.dirty&6144&&c&&h&&mr(),e.$$.dirty&129&&a&&f&&hr(f,a),e.$$.dirty&257&&o&&f&&lr(f,o),e.$$.dirty&16385&&p&&f&&fr(f,`${p}.Style`),e.$$.dirty&4608&&c&&l&&P(),e.$$.dirty&1024&&u&&D(),e.$$.dirty&8192&&m&&oe()},[f,_,v,C,n,$,A,a,o,l,u,h,c,m,p,s,i,pr]}class cr extends Rt{constructor(t){super(),It(this,t,Gi,Di,Ze,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},Li)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),w()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),w()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),w()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),w()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),w()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),w()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),w()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),w()}}$t(cr,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const Fi=Object.freeze(Object.defineProperty({__proto__:null,default:cr},Symbol.toStringTag,{value:"Module"}));exports.$locale=M;exports.CashierHeader_ce=Fi;exports.SvelteComponent=Rt;exports.addMessages=Ye;exports.append=K;exports.append_styles=Pt;exports.attr=U;exports.binding_callbacks=pe;exports.create_custom_element=$t;exports.detach=O;exports.element=R;exports.flush=w;exports.init=or;exports.init$1=It;exports.insert=N;exports.listen=qe;exports.noop=T;exports.onMount=Nt;exports.safe_not_equal=Ze;exports.setClientStyling=hr;exports.setClientStylingURL=lr;exports.setStreamStyling=fr;exports.set_custom_element_data=wr;exports.space=$e;exports.src_url_equal=xr;
@@ -155,7 +155,7 @@ function rt() {
155
155
  function Ot() {
156
156
  return We("");
157
157
  }
158
- function Pt(e, t, r, n) {
158
+ function Ct(e, t, r, n) {
159
159
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
160
160
  }
161
161
  function W(e, t, r) {
@@ -269,7 +269,7 @@ function Ar(e, t) {
269
269
  function Or(e, t) {
270
270
  e.$$.dirty[0] === -1 && (G.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
271
271
  }
272
- function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
272
+ function Cr(e, t, r, n, i, s, a = null, o = [-1]) {
273
273
  const l = K;
274
274
  Y(e);
275
275
  const u = e.$$ = {
@@ -308,8 +308,8 @@ function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
308
308
  }
309
309
  Y(l);
310
310
  }
311
- let Ct;
312
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
311
+ let Pt;
312
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
313
313
  constructor(t, r, n) {
314
314
  super();
315
315
  /** The Svelte component constructor */
@@ -459,8 +459,8 @@ function le(e, t, r, n) {
459
459
  return t;
460
460
  }
461
461
  }
462
- function Cr(e, t, r, n, i, s) {
463
- let a = class extends Ct {
462
+ function Pr(e, t, r, n, i, s) {
463
+ let a = class extends Pt {
464
464
  constructor() {
465
465
  super(e, r, i), this.$$p_d = t;
466
466
  }
@@ -717,7 +717,7 @@ function Oe(e, t, r) {
717
717
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
718
718
  return e.concat(s || Array.prototype.slice.call(t));
719
719
  }
720
- function Pe(e, t) {
720
+ function Ce(e, t) {
721
721
  var r = t && t.cache ? t.cache : sn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : en;
722
722
  return i(e, {
723
723
  cache: r,
@@ -763,7 +763,7 @@ var rn = function() {
763
763
  create: function() {
764
764
  return new nn();
765
765
  }
766
- }, Ce = {
766
+ }, Pe = {
767
767
  variadic: tn
768
768
  }, pe = function() {
769
769
  return pe = Object.assign || function(t) {
@@ -2657,7 +2657,7 @@ var ht = En ? (
2657
2657
  function(t) {
2658
2658
  return t.replace(_n, "");
2659
2659
  }
2660
- ), Pn = Tn ? (
2660
+ ), Cn = Tn ? (
2661
2661
  // Native
2662
2662
  function(t) {
2663
2663
  return t.trimEnd();
@@ -2690,7 +2690,7 @@ if (Ge) {
2690
2690
  }
2691
2691
  return Fe.apply(void 0, n);
2692
2692
  };
2693
- var Cn = (
2693
+ var Pn = (
2694
2694
  /** @class */
2695
2695
  function() {
2696
2696
  function e(t, r) {
@@ -2888,7 +2888,7 @@ var Cn = (
2888
2888
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2889
2889
  if (c.err)
2890
2890
  return c;
2891
- var m = Pn(c.val);
2891
+ var m = Cn(c.val);
2892
2892
  if (m.length === 0)
2893
2893
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2894
2894
  var p = b(h, this.clonePosition());
@@ -2916,9 +2916,9 @@ var Cn = (
2916
2916
  pattern: O,
2917
2917
  location: u.styleLocation,
2918
2918
  parsedOptions: this.shouldParseSkeletons ? hn(O) : {}
2919
- }, P = o === "date" ? y.date : y.time;
2919
+ }, C = o === "date" ? y.date : y.time;
2920
2920
  return {
2921
- val: { type: P, value: n, location: _, style: m },
2921
+ val: { type: C, value: n, location: _, style: m },
2922
2922
  err: null
2923
2923
  };
2924
2924
  }
@@ -3169,7 +3169,7 @@ function Ve(e) {
3169
3169
  }
3170
3170
  function Mn(e, t) {
3171
3171
  t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3172
- var r = new Cn(e, t).parse();
3172
+ var r = new Pn(e, t).parse();
3173
3173
  if (r.err) {
3174
3174
  var n = SyntaxError(d[r.err.kind]);
3175
3175
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3295,10 +3295,10 @@ function fe(e, t, r, n, i, s, a) {
3295
3295
  var f = h.children, _ = h.value, v = i[_];
3296
3296
  if (!Dn(v))
3297
3297
  throw new $n(_, "function", a);
3298
- var O = fe(f, t, r, n, i, s), P = v(O.map(function(A) {
3298
+ var O = fe(f, t, r, n, i, s), C = v(O.map(function(A) {
3299
3299
  return A.value;
3300
3300
  }));
3301
- Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(A) {
3301
+ Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(A) {
3302
3302
  return {
3303
3303
  type: typeof A == "string" ? x.literal : x.object,
3304
3304
  value: A
@@ -3360,29 +3360,29 @@ function jn(e) {
3360
3360
  dateTime: {},
3361
3361
  pluralRules: {}
3362
3362
  }), {
3363
- getNumberFormat: Pe(function() {
3363
+ getNumberFormat: Ce(function() {
3364
3364
  for (var t, r = [], n = 0; n < arguments.length; n++)
3365
3365
  r[n] = arguments[n];
3366
3366
  return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3367
3367
  }, {
3368
3368
  cache: Ne(e.number),
3369
- strategy: Ce.variadic
3369
+ strategy: Pe.variadic
3370
3370
  }),
3371
- getDateTimeFormat: Pe(function() {
3371
+ getDateTimeFormat: Ce(function() {
3372
3372
  for (var t, r = [], n = 0; n < arguments.length; n++)
3373
3373
  r[n] = arguments[n];
3374
3374
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3375
3375
  }, {
3376
3376
  cache: Ne(e.dateTime),
3377
- strategy: Ce.variadic
3377
+ strategy: Pe.variadic
3378
3378
  }),
3379
- getPluralRules: Pe(function() {
3379
+ getPluralRules: Ce(function() {
3380
3380
  for (var t, r = [], n = 0; n < arguments.length; n++)
3381
3381
  r[n] = arguments[n];
3382
3382
  return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3383
3383
  }, {
3384
3384
  cache: Ne(e.pluralRules),
3385
- strategy: Ce.variadic
3385
+ strategy: Pe.variadic
3386
3386
  })
3387
3387
  };
3388
3388
  }
@@ -3519,11 +3519,11 @@ function kn(e, t) {
3519
3519
  n = void 0;
3520
3520
  return n;
3521
3521
  }
3522
- const C = {}, Vn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), qt = (e, t) => {
3522
+ const P = {}, Vn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), qt = (e, t) => {
3523
3523
  if (t == null)
3524
3524
  return;
3525
- if (t in C && e in C[t])
3526
- return C[t][e];
3525
+ if (t in P && e in P[t])
3526
+ return P[t][e];
3527
3527
  const r = ie(t);
3528
3528
  for (let n = 0; n < r.length; n++) {
3529
3529
  const i = r[n], s = zn(i, e);
@@ -3556,7 +3556,7 @@ function Wn(e) {
3556
3556
  }
3557
3557
  }
3558
3558
  function Yt(e, ...t) {
3559
- delete C[e], ne.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3559
+ delete P[e], ne.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3560
3560
  }
3561
3561
  Z(
3562
3562
  [ne],
@@ -3839,6 +3839,8 @@ function wi(e, t) {
3839
3839
  }
3840
3840
  }
3841
3841
  function Si(e, t) {
3842
+ if (!e || !t)
3843
+ return;
3842
3844
  const r = new URL(t);
3843
3845
  fetch(r.href).then((n) => n.text()).then((n) => {
3844
3846
  const i = document.createElement("style");
@@ -3886,18 +3888,18 @@ const yt = {
3886
3888
  }
3887
3889
  }
3888
3890
  };
3889
- function Pi(e) {
3890
- pr(e, "svelte-brbf89", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}");
3891
+ function Ci(e) {
3892
+ pr(e, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
3891
3893
  }
3892
- const Ci = (e) => ({}), Et = (e) => ({}), Li = (e) => ({}), xt = (e) => ({}), Ni = (e) => ({}), vt = (e) => ({});
3894
+ const Pi = (e) => ({}), Et = (e) => ({}), Li = (e) => ({}), xt = (e) => ({}), Ni = (e) => ({}), vt = (e) => ({});
3893
3895
  function Ht(e) {
3894
3896
  let t, r, n;
3895
3897
  return {
3896
3898
  c() {
3897
- t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderLeftButton");
3899
+ t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', W(t, "class", "CashierHeaderLeftButton");
3898
3900
  },
3899
3901
  m(i, s) {
3900
- M(i, t, s), r || (n = Pt(
3902
+ M(i, t, s), r || (n = Ct(
3901
3903
  t,
3902
3904
  "click",
3903
3905
  /*back*/
@@ -3963,10 +3965,10 @@ function Bt(e) {
3963
3965
  let t, r, n;
3964
3966
  return {
3965
3967
  c() {
3966
- t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderRightButton");
3968
+ t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', W(t, "class", "CashierHeaderRightButton");
3967
3969
  },
3968
3970
  m(i, s) {
3969
- M(i, t, s), r || (n = Pt(
3971
+ M(i, t, s), r || (n = Ct(
3970
3972
  t,
3971
3973
  "click",
3972
3974
  /*close*/
@@ -4088,7 +4090,7 @@ function Ri(e) {
4088
4090
  /*$$scope*/
4089
4091
  f[15],
4090
4092
  _,
4091
- Ci
4093
+ Pi
4092
4094
  ) : we(
4093
4095
  /*$$scope*/
4094
4096
  f[15]
@@ -4112,7 +4114,7 @@ function Ui(e, t, r) {
4112
4114
  let n;
4113
4115
  mr(e, Ti, (g) => r(4, n = g));
4114
4116
  let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: p = "" } = t, f, _ = !1, v, O = !1;
4115
- const P = () => {
4117
+ const C = () => {
4116
4118
  fetch(l).then((g) => g.json()).then((g) => {
4117
4119
  Object.keys(g).forEach((qe) => {
4118
4120
  _t(qe, g[qe]);
@@ -4153,7 +4155,7 @@ function Ui(e, t, r) {
4153
4155
  129 && a && f && wi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4154
4156
  257 && o && f && Si(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4155
4157
  16385 && p && f && Ai(f, `${p}.Style`), e.$$.dirty & /*lang, translationurl*/
4156
- 4608 && c && l && P(), e.$$.dirty & /*showbackbutton*/
4158
+ 4608 && c && l && C(), e.$$.dirty & /*showbackbutton*/
4157
4159
  1024 && u && R(), e.$$.dirty & /*showclosebutton*/
4158
4160
  8192 && m && se();
4159
4161
  }, [
@@ -4179,7 +4181,7 @@ function Ui(e, t, r) {
4179
4181
  }
4180
4182
  class nr extends Lr {
4181
4183
  constructor(t) {
4182
- super(), Pr(
4184
+ super(), Cr(
4183
4185
  this,
4184
4186
  t,
4185
4187
  Ui,
@@ -4195,7 +4197,7 @@ class nr extends Lr {
4195
4197
  showclosebutton: 13,
4196
4198
  mbsource: 14
4197
4199
  },
4198
- Pi
4200
+ Ci
4199
4201
  );
4200
4202
  }
4201
4203
  get clientstyling() {
@@ -4247,7 +4249,7 @@ class nr extends Lr {
4247
4249
  this.$$set({ mbsource: t }), w();
4248
4250
  }
4249
4251
  }
4250
- Cr(nr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4252
+ Pr(nr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4251
4253
  const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4252
4254
  __proto__: null,
4253
4255
  default: nr
@@ -4257,8 +4259,8 @@ export {
4257
4259
  ji as C,
4258
4260
  Lr as S,
4259
4261
  Yt as a,
4260
- Pr as b,
4261
- Cr as c,
4262
+ Cr as b,
4263
+ Pr as c,
4262
4264
  pr as d,
4263
4265
  L as e,
4264
4266
  w as f,
@@ -4268,7 +4270,7 @@ export {
4268
4270
  W as j,
4269
4271
  M as k,
4270
4272
  me as l,
4271
- Pt as m,
4273
+ Ct as m,
4272
4274
  T as n,
4273
4275
  z as o,
4274
4276
  rt as p,
@@ -111,7 +111,7 @@ function sr(e, t) {
111
111
  function I(e, t, r) {
112
112
  e.insertBefore(t, r || null);
113
113
  }
114
- function C(e) {
114
+ function P(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
117
  function X(e) {
@@ -272,7 +272,7 @@ function yr(e, t, r, n, i, s, u = null, o = [-1]) {
272
272
  }) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
273
273
  if (t.hydrate) {
274
274
  const c = or(t.target);
275
- a.fragment && a.fragment.l(c), c.forEach(C);
275
+ a.fragment && a.fragment.l(c), c.forEach(P);
276
276
  } else
277
277
  a.fragment && a.fragment.c();
278
278
  t.intro && ue(e.$$.fragment), br(e, t.target, t.anchor), T();
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
332
332
  I(l, s, a);
333
333
  },
334
334
  d: function(l) {
335
- l && C(s);
335
+ l && P(s);
336
336
  }
337
337
  };
338
338
  };
@@ -575,17 +575,17 @@ function wr(e) {
575
575
  }
576
576
  function Sr(e) {
577
577
  var t = Object.prototype.toString.call(e);
578
- return t === "[object RegExp]" || t === "[object Date]" || Pr(e);
578
+ return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
579
579
  }
580
580
  var Ar = typeof Symbol == "function" && Symbol.for, Or = Ar ? Symbol.for("react.element") : 60103;
581
- function Pr(e) {
581
+ function Cr(e) {
582
582
  return e.$$typeof === Or;
583
583
  }
584
- function Cr(e) {
584
+ function Pr(e) {
585
585
  return Array.isArray(e) ? [] : {};
586
586
  }
587
587
  function K(e, t) {
588
- return t.clone !== !1 && t.isMergeableObject(e) ? F(Cr(e), e, t) : e;
588
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(Pr(e), e, t) : e;
589
589
  }
590
590
  function Lr(e, t, r) {
591
591
  return e.concat(t).map(function(n) {
@@ -759,10 +759,10 @@ function Zr(e) {
759
759
  function Ot(e) {
760
760
  return e.type === y.number;
761
761
  }
762
- function Pt(e) {
762
+ function Ct(e) {
763
763
  return e.type === y.date;
764
764
  }
765
- function Ct(e) {
765
+ function Pt(e) {
766
766
  return e.type === y.time;
767
767
  }
768
768
  function Lt(e) {
@@ -2549,7 +2549,7 @@ function on(e) {
2549
2549
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2550
2550
  return i[0];
2551
2551
  }
2552
- var Pe, an = new RegExp("^".concat($t.source, "*")), un = new RegExp("".concat($t.source, "*$"));
2552
+ var Ce, an = new RegExp("^".concat($t.source, "*")), un = new RegExp("".concat($t.source, "*$"));
2553
2553
  function b(e, t) {
2554
2554
  return { start: e, end: t };
2555
2555
  }
@@ -2558,7 +2558,7 @@ var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ln = !!String
2558
2558
  }, Ue = !0;
2559
2559
  try {
2560
2560
  var gn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2561
- Ue = ((Pe = gn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2561
+ Ue = ((Ce = gn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2562
2562
  } catch {
2563
2563
  Ue = !1;
2564
2564
  }
@@ -3127,7 +3127,7 @@ function je(e) {
3127
3127
  for (var r in t.options)
3128
3128
  delete t.options[r].location, je(t.options[r].value);
3129
3129
  else
3130
- Ot(t) && Mt(t.style) || (Pt(t) || Ct(t)) && Re(t.style) ? delete t.style.location : It(t) && je(t.children);
3130
+ Ot(t) && Mt(t.style) || (Ct(t) || Pt(t)) && Re(t.style) ? delete t.style.location : It(t) && je(t.children);
3131
3131
  });
3132
3132
  }
3133
3133
  function Bn(e, t) {
@@ -3230,7 +3230,7 @@ function le(e, t, r, n, i, s, u) {
3230
3230
  });
3231
3231
  continue;
3232
3232
  }
3233
- if (Pt(h)) {
3233
+ if (Ct(h)) {
3234
3234
  var p = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3235
3235
  o.push({
3236
3236
  type: x.literal,
@@ -3238,7 +3238,7 @@ function le(e, t, r, n, i, s, u) {
3238
3238
  });
3239
3239
  continue;
3240
3240
  }
3241
- if (Ct(h)) {
3241
+ if (Pt(h)) {
3242
3242
  var p = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3243
3243
  o.push({
3244
3244
  type: x.literal,
@@ -3298,12 +3298,12 @@ function On(e, t) {
3298
3298
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3299
3299
  }, {})) : e;
3300
3300
  }
3301
- function Pn(e, t) {
3301
+ function Cn(e, t) {
3302
3302
  return t ? Object.keys(e).reduce(function(r, n) {
3303
3303
  return r[n] = On(e[n], t[n]), r;
3304
3304
  }, w({}, e)) : e;
3305
3305
  }
3306
- function Ce(e) {
3306
+ function Pe(e) {
3307
3307
  return {
3308
3308
  create: function() {
3309
3309
  return {
@@ -3317,7 +3317,7 @@ function Ce(e) {
3317
3317
  }
3318
3318
  };
3319
3319
  }
3320
- function Cn(e) {
3320
+ function Pn(e) {
3321
3321
  return e === void 0 && (e = {
3322
3322
  number: {},
3323
3323
  dateTime: {},
@@ -3328,7 +3328,7 @@ function Cn(e) {
3328
3328
  r[n] = arguments[n];
3329
3329
  return new ((t = Intl.NumberFormat).bind.apply(t, Se([void 0], r, !1)))();
3330
3330
  }, {
3331
- cache: Ce(e.number),
3331
+ cache: Pe(e.number),
3332
3332
  strategy: Oe.variadic
3333
3333
  }),
3334
3334
  getDateTimeFormat: Ae(function() {
@@ -3336,7 +3336,7 @@ function Cn(e) {
3336
3336
  r[n] = arguments[n];
3337
3337
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Se([void 0], r, !1)))();
3338
3338
  }, {
3339
- cache: Ce(e.dateTime),
3339
+ cache: Pe(e.dateTime),
3340
3340
  strategy: Oe.variadic
3341
3341
  }),
3342
3342
  getPluralRules: Ae(function() {
@@ -3344,7 +3344,7 @@ function Cn(e) {
3344
3344
  r[n] = arguments[n];
3345
3345
  return new ((t = Intl.PluralRules).bind.apply(t, Se([void 0], r, !1)))();
3346
3346
  }, {
3347
- cache: Ce(e.pluralRules),
3347
+ cache: Pe(e.pluralRules),
3348
3348
  strategy: Oe.variadic
3349
3349
  })
3350
3350
  };
@@ -3387,7 +3387,7 @@ var kt = (
3387
3387
  this.ast = t;
3388
3388
  if (!Array.isArray(this.ast))
3389
3389
  throw new TypeError("A message must be provided as a String or AST.");
3390
- this.formats = Pn(e.formats, n), this.formatters = i && i.formatters || Cn(this.formatterCache);
3390
+ this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || Pn(this.formatterCache);
3391
3391
  }
3392
3392
  return Object.defineProperty(e, "defaultLocale", {
3393
3393
  get: function() {
@@ -3482,11 +3482,11 @@ function Ln(e, t) {
3482
3482
  n = void 0;
3483
3483
  return n;
3484
3484
  }
3485
- const P = {}, Nn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Vt = (e, t) => {
3485
+ const C = {}, Nn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Vt = (e, t) => {
3486
3486
  if (t == null)
3487
3487
  return;
3488
- if (t in P && e in P[t])
3489
- return P[t][e];
3488
+ if (t in C && e in C[t])
3489
+ return C[t][e];
3490
3490
  const r = ne(t);
3491
3491
  for (let n = 0; n < r.length; n++) {
3492
3492
  const i = r[n], s = Mn(i, e);
@@ -3519,7 +3519,7 @@ function $n(e) {
3519
3519
  }
3520
3520
  }
3521
3521
  function zt(e, ...t) {
3522
- delete P[e], re.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3522
+ delete C[e], re.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3523
3523
  }
3524
3524
  W(
3525
3525
  [re],
@@ -3802,6 +3802,8 @@ function di(e, t) {
3802
3802
  }
3803
3803
  }
3804
3804
  function bi(e, t) {
3805
+ if (!e || !t)
3806
+ return;
3805
3807
  const r = new URL(t);
3806
3808
  fetch(r.href).then((n) => n.text()).then((n) => {
3807
3809
  const i = document.createElement("style");
@@ -3850,14 +3852,14 @@ const mt = {
3850
3852
  }
3851
3853
  };
3852
3854
  function yi(e) {
3853
- nr(e, "svelte-brbf89", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}");
3855
+ nr(e, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
3854
3856
  }
3855
3857
  const Ei = (e) => ({}), pt = (e) => ({}), xi = (e) => ({}), dt = (e) => ({}), vi = (e) => ({}), bt = (e) => ({});
3856
3858
  function gt(e) {
3857
3859
  let t, r, n;
3858
3860
  return {
3859
3861
  c() {
3860
- t = X("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', z(t, "class", "CashierHeaderLeftButton");
3862
+ t = X("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', z(t, "class", "CashierHeaderLeftButton");
3861
3863
  },
3862
3864
  m(i, s) {
3863
3865
  I(i, t, s), r || (n = Bt(
@@ -3869,7 +3871,7 @@ function gt(e) {
3869
3871
  },
3870
3872
  p: B,
3871
3873
  d(i) {
3872
- i && C(t), r = !1, n();
3874
+ i && P(t), r = !1, n();
3873
3875
  }
3874
3876
  };
3875
3877
  }
@@ -3890,7 +3892,7 @@ function Hi(e) {
3890
3892
  n[1] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3891
3893
  },
3892
3894
  d(n) {
3893
- n && C(t), r && r.d(n);
3895
+ n && P(t), r && r.d(n);
3894
3896
  }
3895
3897
  };
3896
3898
  }
@@ -3918,7 +3920,7 @@ function Bi(e) {
3918
3920
  ) + "") && ar(n, r);
3919
3921
  },
3920
3922
  d(i) {
3921
- i && C(t);
3923
+ i && P(t);
3922
3924
  }
3923
3925
  };
3924
3926
  }
@@ -3926,7 +3928,7 @@ function _t(e) {
3926
3928
  let t, r, n;
3927
3929
  return {
3928
3930
  c() {
3929
- t = X("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', z(t, "class", "CashierHeaderRightButton");
3931
+ t = X("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', z(t, "class", "CashierHeaderRightButton");
3930
3932
  },
3931
3933
  m(i, s) {
3932
3934
  I(i, t, s), r || (n = Bt(
@@ -3938,7 +3940,7 @@ function _t(e) {
3938
3940
  },
3939
3941
  p: B,
3940
3942
  d(i) {
3941
- i && C(t), r = !1, n();
3943
+ i && P(t), r = !1, n();
3942
3944
  }
3943
3945
  };
3944
3946
  }
@@ -3959,7 +3961,7 @@ function Ti(e) {
3959
3961
  n[3] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3960
3962
  },
3961
3963
  d(n) {
3962
- n && C(t), r && r.d(n);
3964
+ n && P(t), r && r.d(n);
3963
3965
  }
3964
3966
  };
3965
3967
  }
@@ -4067,7 +4069,7 @@ function wi(e) {
4067
4069
  we(o, f), we(h, f), we(p, f), i = !1;
4068
4070
  },
4069
4071
  d(f) {
4070
- f && C(t), o && o.d(f), h && h.d(f), p && p.d(f), e[17](null);
4072
+ f && P(t), o && o.d(f), h && h.d(f), p && p.d(f), e[17](null);
4071
4073
  }
4072
4074
  };
4073
4075
  }
@@ -4211,19 +4213,19 @@ class Jt extends xr {
4211
4213
  }
4212
4214
  }
4213
4215
  Er(Jt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4214
- const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4216
+ const Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4215
4217
  __proto__: null,
4216
4218
  default: Jt
4217
4219
  }, Symbol.toStringTag, { value: "Module" }));
4218
4220
  export {
4219
4221
  M as $,
4220
- Pi as C,
4222
+ Ci as C,
4221
4223
  xr as S,
4222
4224
  zt as a,
4223
4225
  yr as b,
4224
4226
  Er as c,
4225
4227
  nr as d,
4226
- C as e,
4228
+ P as e,
4227
4229
  T as f,
4228
4230
  Oi as g,
4229
4231
  Ai as h,
@@ -1,4 +1,4 @@
1
- import { a as A, i as N, $ as U, c as Z, S as P, b as F, s as G, f as b, d as J, n as L, e as v, g as a, h as S, j as w, k, l as _, m as H, o as p, p as E, q as K, r as Q, t as V, u as W, v as X } from "./CashierHeader-f6jWnWep.js";
1
+ import { a as A, i as N, $ as U, c as Z, S as F, b as P, s as G, f as b, d as J, n as L, e as v, g as a, h as S, j as w, k, l as _, m as H, o as p, p as E, q as K, r as Q, t as V, u as W, v as X } from "./CashierHeader-vX-EoCiI.js";
2
2
  function R(i, e) {
3
3
  A(i, e);
4
4
  }
@@ -7,7 +7,7 @@ function Y(i) {
7
7
  fallbackLocale: "en"
8
8
  }), U.set(i);
9
9
  }
10
- const D = {
10
+ const j = {
11
11
  en: {
12
12
  redirectHeader: "Deposit redirect"
13
13
  },
@@ -36,7 +36,7 @@ if (typeof window < "u") {
36
36
  }
37
37
  };
38
38
  };
39
- customElements.define = i(customElements.define), import("./CashierHeader-f6jWnWep.js").then((e) => e.C).then(({ default: e }) => {
39
+ customElements.define = i(customElements.define), import("./CashierHeader-vX-EoCiI.js").then((e) => e.C).then(({ default: e }) => {
40
40
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
41
41
  });
42
42
  }
@@ -52,18 +52,18 @@ if (typeof window < "u") {
52
52
  }
53
53
  };
54
54
  };
55
- customElements.define = i(customElements.define), import("./CashierSpinner-C_NiI_YQ.js").then(({ default: e }) => {
55
+ customElements.define = i(customElements.define), import("./CashierSpinner-B8tJnYkk.js").then(({ default: e }) => {
56
56
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
57
57
  });
58
58
  }
59
59
  function x(i) {
60
- J(i, "svelte-wuv80u", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
60
+ J(i, "svelte-1ex0q4o", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
61
61
  }
62
- function j(i) {
62
+ function D(i) {
63
63
  let e, t, n;
64
64
  return {
65
65
  c() {
66
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
66
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
67
67
  },
68
68
  m(f, h) {
69
69
  k(f, e, h), t || (n = H(
@@ -83,7 +83,7 @@ function I(i) {
83
83
  let e, t, n;
84
84
  return {
85
85
  c() {
86
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
86
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
87
87
  },
88
88
  m(f, h) {
89
89
  k(f, e, h), t || (n = H(
@@ -152,7 +152,7 @@ function O(i) {
152
152
  function $(i) {
153
153
  let e, t, n, f, h, m, d, g, C, o = !!/*showbackbutton*/
154
154
  i[3] && /*showbackbutton*/
155
- i[3] !== "false" && j(i), r = (!/*showbackbutton*/
155
+ i[3] !== "false" && D(i), r = (!/*showbackbutton*/
156
156
  i[3] || /*showbackbutton*/
157
157
  i[3] === "false") && I(i), c = (
158
158
  /*isLoading*/
@@ -209,7 +209,7 @@ function $(i) {
209
209
  p(l, [u]) {
210
210
  /*showbackbutton*/
211
211
  l[3] && /*showbackbutton*/
212
- l[3] !== "false" ? o ? o.p(l, u) : (o = j(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
212
+ l[3] !== "false" ? o ? o.p(l, u) : (o = D(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
213
213
  l[3] || /*showbackbutton*/
214
214
  l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
215
215
  1 && a(
@@ -278,8 +278,8 @@ function ee(i, e, t) {
278
278
  console.log(y);
279
279
  });
280
280
  };
281
- Object.keys(D).forEach((s) => {
282
- R(s, D[s]);
281
+ Object.keys(j).forEach((s) => {
282
+ R(s, j[s]);
283
283
  });
284
284
  const u = () => {
285
285
  Y(n);
@@ -322,9 +322,9 @@ function ee(i, e, t) {
322
322
  z
323
323
  ];
324
324
  }
325
- class te extends P {
325
+ class te extends F {
326
326
  constructor(e) {
327
- super(), F(
327
+ super(), P(
328
328
  this,
329
329
  e,
330
330
  ee,
@@ -1,4 +1,4 @@
1
- import { a as A, i as N, $ as U, S as Z, b as P, f as b, s as F, c as G, d as J, n as L, e as v, g as a, h as S, j as w, k, l as _, m as H, o as p, p as E, q as K, r as Q, t as V, u as W, v as X } from "./CashierHeader-3BHguzLW.js";
1
+ import { a as A, i as N, $ as U, S as Z, b as F, f as b, s as P, c as G, d as J, n as L, e as v, g as a, h as S, j as w, k, l as _, m as H, o as p, p as E, q as K, r as Q, t as V, u as W, v as X } from "./CashierHeader-JjN9bt8g.js";
2
2
  function R(i, e) {
3
3
  A(i, e);
4
4
  }
@@ -7,7 +7,7 @@ function Y(i) {
7
7
  fallbackLocale: "en"
8
8
  }), U.set(i);
9
9
  }
10
- const D = {
10
+ const j = {
11
11
  en: {
12
12
  redirectHeader: "Deposit redirect"
13
13
  },
@@ -36,7 +36,7 @@ if (typeof window != "undefined") {
36
36
  }
37
37
  };
38
38
  };
39
- customElements.define = i(customElements.define), import("./CashierHeader-3BHguzLW.js").then((e) => e.C).then(({ default: e }) => {
39
+ customElements.define = i(customElements.define), import("./CashierHeader-JjN9bt8g.js").then((e) => e.C).then(({ default: e }) => {
40
40
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
41
41
  });
42
42
  }
@@ -52,18 +52,18 @@ if (typeof window != "undefined") {
52
52
  }
53
53
  };
54
54
  };
55
- customElements.define = i(customElements.define), import("./CashierSpinner-CwK7YfzB.js").then(({ default: e }) => {
55
+ customElements.define = i(customElements.define), import("./CashierSpinner-MD6SvDSE.js").then(({ default: e }) => {
56
56
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
57
57
  });
58
58
  }
59
59
  function x(i) {
60
- J(i, "svelte-wuv80u", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
60
+ J(i, "svelte-1ex0q4o", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
61
61
  }
62
- function j(i) {
62
+ function D(i) {
63
63
  let e, t, n;
64
64
  return {
65
65
  c() {
66
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
66
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
67
67
  },
68
68
  m(f, h) {
69
69
  k(f, e, h), t || (n = H(
@@ -83,7 +83,7 @@ function I(i) {
83
83
  let e, t, n;
84
84
  return {
85
85
  c() {
86
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
86
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
87
87
  },
88
88
  m(f, h) {
89
89
  k(f, e, h), t || (n = H(
@@ -150,17 +150,17 @@ function O(i) {
150
150
  };
151
151
  }
152
152
  function $(i) {
153
- let e, t, n, f, h, m, d, g, C, o = !!/*showbackbutton*/
153
+ let e, t, n, f, h, m, d, g, y, o = !!/*showbackbutton*/
154
154
  i[3] && /*showbackbutton*/
155
- i[3] !== "false" && j(i), r = (!/*showbackbutton*/
155
+ i[3] !== "false" && D(i), r = (!/*showbackbutton*/
156
156
  i[3] || /*showbackbutton*/
157
- i[3] === "false") && I(i), u = (
157
+ i[3] === "false") && I(i), c = (
158
158
  /*isLoading*/
159
159
  i[9] && O(i)
160
160
  );
161
161
  return {
162
162
  c() {
163
- e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), u && u.c(), h = E(), m = p("iframe"), a(
163
+ e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), h = E(), m = p("iframe"), a(
164
164
  t,
165
165
  "lang",
166
166
  /*lang*/
@@ -198,95 +198,95 @@ function $(i) {
198
198
  ), S(m.src, d = /*iframeurl*/
199
199
  i[1]) || w(m, "src", d), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
200
200
  },
201
- m(l, c) {
202
- k(l, e, c), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), u && u.m(e, null), _(e, h), _(e, m), i[13](e), g || (C = H(
201
+ m(l, u) {
202
+ k(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, h), _(e, m), i[13](e), g || (y = H(
203
203
  m,
204
204
  "load",
205
205
  /*load_handler*/
206
206
  i[12]
207
207
  ), g = !0);
208
208
  },
209
- p(l, [c]) {
209
+ p(l, [u]) {
210
210
  /*showbackbutton*/
211
211
  l[3] && /*showbackbutton*/
212
- l[3] !== "false" ? o ? o.p(l, c) : (o = j(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
212
+ l[3] !== "false" ? o ? o.p(l, u) : (o = D(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
213
213
  l[3] || /*showbackbutton*/
214
- l[3] === "false" ? r ? r.p(l, c) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), c & /*lang*/
214
+ l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
215
215
  1 && a(
216
216
  t,
217
217
  "lang",
218
218
  /*lang*/
219
219
  l[0]
220
- ), c & /*translationurl*/
220
+ ), u & /*translationurl*/
221
221
  4 && a(
222
222
  t,
223
223
  "translationurl",
224
224
  /*translationurl*/
225
225
  l[2]
226
- ), c & /*title*/
226
+ ), u & /*title*/
227
227
  128 && a(
228
228
  t,
229
229
  "title",
230
230
  /*title*/
231
231
  l[7]
232
- ), c & /*showbackbutton*/
232
+ ), u & /*showbackbutton*/
233
233
  8 && a(
234
234
  t,
235
235
  "showbackbutton",
236
236
  /*showbackbutton*/
237
237
  l[3]
238
- ), c & /*clientstylingurl*/
238
+ ), u & /*clientstylingurl*/
239
239
  64 && a(
240
240
  t,
241
241
  "clientstylingurl",
242
242
  /*clientstylingurl*/
243
243
  l[6]
244
- ), c & /*clientstyling*/
244
+ ), u & /*clientstyling*/
245
245
  32 && a(
246
246
  t,
247
247
  "clientstyling",
248
248
  /*clientstyling*/
249
249
  l[5]
250
- ), c & /*mbsource*/
250
+ ), u & /*mbsource*/
251
251
  16 && a(
252
252
  t,
253
253
  "mbsource",
254
254
  /*mbsource*/
255
255
  l[4]
256
256
  ), /*isLoading*/
257
- l[9] ? u ? u.p(l, c) : (u = O(l), u.c(), u.m(e, h)) : u && (u.d(1), u = null), c & /*iframeurl*/
257
+ l[9] ? c ? c.p(l, u) : (c = O(l), c.c(), c.m(e, h)) : c && (c.d(1), c = null), u & /*iframeurl*/
258
258
  2 && !S(m.src, d = /*iframeurl*/
259
259
  l[1]) && w(m, "src", d);
260
260
  },
261
261
  i: L,
262
262
  o: L,
263
263
  d(l) {
264
- l && v(e), o && o.d(), r && r.d(), u && u.d(), i[13](null), g = !1, C();
264
+ l && v(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, y();
265
265
  }
266
266
  };
267
267
  }
268
268
  function ee(i, e, t) {
269
- let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, u = !0;
269
+ let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c = !0;
270
270
  const l = () => {
271
271
  let s = h;
272
272
  if (s)
273
- return fetch(s).then((y) => y.json()).then((y) => {
274
- Object.keys(y).forEach((M) => {
275
- R(M, y[M]);
273
+ return fetch(s).then((C) => C.json()).then((C) => {
274
+ Object.keys(C).forEach((M) => {
275
+ R(M, C[M]);
276
276
  });
277
- }).catch((y) => {
278
- console.log(y);
277
+ }).catch((C) => {
278
+ console.log(C);
279
279
  });
280
280
  };
281
- Object.keys(D).forEach((s) => {
282
- R(s, D[s]);
281
+ Object.keys(j).forEach((s) => {
282
+ R(s, j[s]);
283
283
  });
284
- const c = () => {
284
+ const u = () => {
285
285
  Y(n);
286
286
  }, T = () => {
287
287
  window.postMessage({ type: "CloseIframe" }, window.location.href);
288
288
  }, B = (s) => {
289
- s.target.src && t(9, u = !1);
289
+ s.target.src && t(9, c = !1);
290
290
  };
291
291
  K(() => () => {
292
292
  });
@@ -297,13 +297,13 @@ function ee(i, e, t) {
297
297
  });
298
298
  }
299
299
  return i.$$set = (s) => {
300
- "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, C = s.clientstylingurl), "title" in s && t(7, o = s.title);
300
+ "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, o = s.title);
301
301
  }, i.$$.update = () => {
302
302
  i.$$.dirty & /*lang*/
303
- 1 && n && c(), i.$$.dirty & /*translationurl*/
303
+ 1 && n && u(), i.$$.dirty & /*translationurl*/
304
304
  4 && h && l(), i.$$.dirty & /*clientstyling, customStylingContainer*/
305
305
  288 && g && r && V(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
306
- 320 && C && r && W(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
306
+ 320 && y && r && W(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
307
307
  272 && d && r && X(r, `${d}.Style`);
308
308
  }, [
309
309
  n,
@@ -312,10 +312,10 @@ function ee(i, e, t) {
312
312
  m,
313
313
  d,
314
314
  g,
315
- C,
315
+ y,
316
316
  o,
317
317
  r,
318
- u,
318
+ c,
319
319
  T,
320
320
  B,
321
321
  q,
@@ -324,12 +324,12 @@ function ee(i, e, t) {
324
324
  }
325
325
  class te extends Z {
326
326
  constructor(e) {
327
- super(), P(
327
+ super(), F(
328
328
  this,
329
329
  e,
330
330
  ee,
331
331
  $,
332
- F,
332
+ P,
333
333
  {
334
334
  lang: 0,
335
335
  iframeurl: 1,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierHeader-B4vq2OCf.cjs");function y(i,t){e.addMessages(i,t)}function B(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const C={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},"en-us":{redirectHeader:"Deposit redirect"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-B4vq2OCf.cjs")).then(t=>t.CashierHeader_ce).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-BydUGGdZ.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function R(i){e.append_styles(i,"svelte-1ex0q4o",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}")}function L(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function v(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function k(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,s){e.insert(n,t,s)},p(n,s){s&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),s&32&&e.set_custom_element_data(t,"clientstyling",n[5]),s&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function q(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),a=(!i[3]||i[3]==="false")&&v(i),c=i[9]&&k(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),s=e.space(),a&&a.c(),f=e.space(),c&&c.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(r,u){e.insert(r,t,u),e.append(t,n),o&&o.m(n,null),e.append(n,s),a&&a.m(n,null),e.append(t,f),c&&c.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(r,[u]){r[3]&&r[3]!=="false"?o?o.p(r,u):(o=L(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,u):(a=v(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&e.set_custom_element_data(n,"lang",r[0]),u&4&&e.set_custom_element_data(n,"translationurl",r[2]),u&128&&e.set_custom_element_data(n,"title",r[7]),u&8&&e.set_custom_element_data(n,"showbackbutton",r[3]),u&64&&e.set_custom_element_data(n,"clientstylingurl",r[6]),u&32&&e.set_custom_element_data(n,"clientstyling",r[5]),u&16&&e.set_custom_element_data(n,"mbsource",r[4]),r[9]?c?c.p(r,u):(c=k(r),c.c(),c.m(t,m)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=r[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),o&&o.d(),a&&a.d(),c&&c.d(),i[13](null),g=!1,_()}}}function j(i,t,n){let{lang:s="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,c=!0;const r=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(p=>{y(p,b[p])})}).catch(b=>{console.log(b)})};Object.keys(C).forEach(l=>{y(l,C[l])});const u=()=>{B(s)},H=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},w=l=>{l.target.src&&n(9,c=!1)};e.onMount(()=>()=>{});const M=l=>w(l);function S(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&u(),i.$$.dirty&4&&m&&r(),i.$$.dirty&288&&g&&a&&e.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&e.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&e.setStreamStyling(a,`${h}.Style`)},[s,f,m,d,h,g,_,o,a,c,H,w,M,S]}class E extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,j,q,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},R)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(E,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=E;
@@ -1,4 +1,4 @@
1
- import { S as h, b as d, s as f, f as o, d as m, n as c, e as y, k as g, o as p, j as k, q as b, r as S, t as x, u as v, v as w, c as _ } from "./CashierHeader-f6jWnWep.js";
1
+ import { S as h, b as d, s as f, f as o, d as m, n as c, e as y, k as g, o as p, j as k, q as b, r as S, t as x, u as v, v as w, c as _ } from "./CashierHeader-vX-EoCiI.js";
2
2
  function C(e) {
3
3
  m(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierHeader-kJ73l8JW.cjs");function h(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function d(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function f(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i;t.onMount(()=>()=>{});function u(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&t.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&t.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&t.setStreamStyling(i,`${a}.Style`)},[i,l,o,a,u]}class c extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,f,d,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(c,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierHeader-B4vq2OCf.cjs");function h(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function d(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function f(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i;t.onMount(()=>()=>{});function u(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&t.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&t.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&t.setStreamStyling(i,`${a}.Style`)},[i,l,o,a,u]}class c extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,f,d,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(c,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=c;
@@ -1,4 +1,4 @@
1
- import { S as h, b as d, s as f, f as o, d as m, n as c, e as y, k as g, o as p, j as k, q as b, r as S, t as x, u as v, v as w, c as _ } from "./CashierHeader-3BHguzLW.js";
1
+ import { S as h, b as d, s as f, f as o, d as m, n as c, e as y, k as g, o as p, j as k, q as b, r as S, t as x, u as v, v as w, c as _ } from "./CashierHeader-JjN9bt8g.js";
2
2
  function C(e) {
3
3
  m(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
4
4
  }
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierIframeRedirect-IdrBPZVu.cjs")).then(({default:t})=>{!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierIframeRedirect-U4M7rsOM.cjs")).then(({default:t})=>{!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierIframeRedirect-D7p4NZmd.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierIframeRedirect-DZQlVfGF.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-iframe-redirect") && customElements.define("cashier-iframe-redirect", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CashierIframeRedirect-CA0WParE.js";
1
+ import { C as s } from "../components/CashierIframeRedirect-CywLKlxb.js";
2
2
  function i(t) {
3
3
  return function(...r) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-iframe-redirect",
3
- "version": "1.85.17",
3
+ "version": "1.85.18",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-iframe-redirect.cjs",
6
6
  "module": "esnext/cashier-iframe-redirect.js",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierHeader-kJ73l8JW.cjs");function y(i,t){e.addMessages(i,t)}function B(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const p={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},"en-us":{redirectHeader:"Deposit redirect"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-kJ73l8JW.cjs")).then(t=>t.CashierHeader_ce).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-Cwhfqlrm.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function R(i){e.append_styles(i,"svelte-wuv80u",".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}function L(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function v(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function k(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,s){e.insert(n,t,s)},p(n,s){s&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),s&32&&e.set_custom_element_data(t,"clientstyling",n[5]),s&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function q(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),a=(!i[3]||i[3]==="false")&&v(i),u=i[9]&&k(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),s=e.space(),a&&a.c(),f=e.space(),u&&u.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(r,c){e.insert(r,t,c),e.append(t,n),o&&o.m(n,null),e.append(n,s),a&&a.m(n,null),e.append(t,f),u&&u.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(r,[c]){r[3]&&r[3]!=="false"?o?o.p(r,c):(o=L(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,c):(a=v(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c&1&&e.set_custom_element_data(n,"lang",r[0]),c&4&&e.set_custom_element_data(n,"translationurl",r[2]),c&128&&e.set_custom_element_data(n,"title",r[7]),c&8&&e.set_custom_element_data(n,"showbackbutton",r[3]),c&64&&e.set_custom_element_data(n,"clientstylingurl",r[6]),c&32&&e.set_custom_element_data(n,"clientstyling",r[5]),c&16&&e.set_custom_element_data(n,"mbsource",r[4]),r[9]?u?u.p(r,c):(u=k(r),u.c(),u.m(t,m)):u&&(u.d(1),u=null),c&2&&!e.src_url_equal(d.src,h=r[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),o&&o.d(),a&&a.d(),u&&u.d(),i[13](null),g=!1,_()}}}function D(i,t,n){let{lang:s="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,u=!0;const r=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{y(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(p).forEach(l=>{y(l,p[l])});const c=()=>{B(s)},H=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},w=l=>{l.target.src&&n(9,u=!1)};e.onMount(()=>()=>{});const M=l=>w(l);function S(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&c(),i.$$.dirty&4&&m&&r(),i.$$.dirty&288&&g&&a&&e.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&e.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&e.setStreamStyling(a,`${h}.Style`)},[s,f,m,d,h,g,_,o,a,u,H,w,M,S]}class E extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,D,q,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},R)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(E,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=E;