@everymatrix/cashier-verifications 1.88.6 → 1.88.7
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.
- package/components/{CashierModal-BB9Bfbho.cjs → CashierModal-BvdqK9BG.cjs} +1 -1
- package/components/{CashierModal-o-6wlTe3.js → CashierModal-ByooOQTu.js} +1 -1
- package/components/{CashierModal-CCgjscQa.js → CashierModal-NX5vbh5j.js} +1 -1
- package/components/{CashierVerifications-BRM19T3T.js → CashierVerifications-B6BokUMV.js} +2 -3
- package/components/{CashierVerifications-DqhPIlxg.cjs → CashierVerifications-CAWqbSSg.cjs} +2 -2
- package/components/{CashierVerifications-V9IYaW9J.js → CashierVerifications-nVx2RLZQ.js} +2 -2
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/esnext/cashier-verifications.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var M=(n,t,i)=>new Promise((o,r)=>{var u=p=>{try{g(i.next(p))}catch(v){r(v)}},m=p=>{try{g(i.throw(p))}catch(v){r(v)}},g=p=>p.done?o(p.value):Promise.resolve(p.value).then(u,m);g((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierVerifications-DqhPIlxg.cjs");function P(n){e.append_styles(n,"svelte-vlp16o",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}')}const R=n=>({}),L=n=>({}),U=n=>({}),T=n=>({});function S(n){let t,i,o,r,u,m,g,p,v,b,C,h,c=(n[3]=="error"||n[3]=="bonusDescription")&&z();const _=n[14].title,w=e.create_slot(_,n,n[13],T);let d=n[3]!="2fa-old"&&H(n),s=n[4]==="true"&&I();const x=n[14].content,f=e.create_slot(x,n,n[13],L);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),r=e.element("div"),c&&c.c(),u=e.space(),m=e.element("div"),w&&w.c(),g=e.space(),d&&d.c(),p=e.space(),s&&s.c(),v=e.space(),b=e.element("div"),f&&f.c(),e.attr(m,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(o,"class","ModalHeader"),e.attr(b,"class","ModalContentWrapper"),e.toggle_class(b,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(a,y){e.insert(a,t,y),e.append(t,i),e.append(i,o),e.append(o,r),c&&c.m(r,null),e.append(r,u),e.append(r,m),w&&w.m(m,null),e.append(o,g),d&&d.m(o,null),e.append(i,p),s&&s.m(i,null),e.append(i,v),e.append(i,b),f&&f.m(b,null),n[15](b),n[16](i),n[17](t),C=e.add_iframe_resize_listener(t,n[18].bind(t)),h=!0},p(a,y){a[3]=="error"||a[3]=="bonusDescription"?c||(c=z(),c.c(),c.m(r,u)):c&&(c.d(1),c=null),w&&w.p&&(!h||y&8192)&&e.update_slot_base(w,_,a,a[13],h?e.get_slot_changes(_,a[13],y,U):e.get_all_dirty_from_scope(a[13]),T),a[3]!="2fa-old"?d?d.p(a,y):(d=H(a),d.c(),d.m(o,null)):d&&(d.d(1),d=null),a[4]==="true"?s||(s=I(),s.c(),s.m(i,v)):s&&(s.d(1),s=null),f&&f.p&&(!h||y&8192)&&e.update_slot_base(f,x,a,a[13],h?e.get_slot_changes(x,a[13],y,R):e.get_all_dirty_from_scope(a[13]),L),(!h||y&16)&&e.toggle_class(b,"hidden",a[4]==="true"),(!h||y&8)&&e.toggle_class(i,"video-mode",a[3]==="video"),(!h||y&8)&&e.toggle_class(i,"twofa-mode",a[3]==="2fa")},i(a){h||(e.transition_in(w,a),e.transition_in(f,a),h=!0)},o(a){e.transition_out(w,a),e.transition_out(f,a),h=!1},d(a){a&&e.detach(t),c&&c.d(),w&&w.d(a),d&&d.d(),s&&s.d(),f&&f.d(a),n[15](null),n[16](null),n[17](null),C()}}}function z(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>',e.attr(t,"class","WarningIcon")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function H(n){let t,i,o,r,u;return{c(){t=e.element("div"),i=e.svg_element("svg"),o=e.svg_element("path"),e.attr(o,"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"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(i,"class","CloseButton"),e.attr(t,"class","ModalCloseIcon")},m(m,g){e.insert(m,t,g),e.append(t,i),e.append(i,o),r||(u=e.listen(i,"click",n[9]),r=!0)},p:e.noop,d(m){m&&e.detach(t),r=!1,u()}}}function I(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function V(n){let t,i,o=n[2]==="true"&&S(n);return{c(){t=e.element("div"),o&&o.c()},m(r,u){e.insert(r,t,u),o&&o.m(t,null),n[19](t),i=!0},p(r,[u]){r[2]==="true"?o?(o.p(r,u),u&4&&e.transition_in(o,1)):(o=S(r),o.c(),e.transition_in(o,1),o.m(t,null)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(r){i||(e.transition_in(o),i=!0)},o(r){e.transition_out(o),i=!1},d(r){r&&e.detach(t),o&&o.d(),n[19](null)}}}function Z(n,t,i){let{$$slots:o={},$$scope:r}=t,{mbsource:u}=t,{clientstyling:m}=t,{clientstylingurl:g}=t,{show:p}=t,{modaltype:v=""}=t,{isloading:b="false"}=t,{width:C}=t,{height:h}=t,c,_,w,d,s,x=!1,f,a;const y=()=>{f&&clearTimeout(f),c&&(c.classList.add("closing"),window.dispatchEvent(new CustomEvent("manualClosePopup")),f=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},k=()=>M(this,null,function*(){if(!s||!d||x)return;a&&clearTimeout(f),x=!0;const l=s.offsetWidth,Y=s.offsetHeight;i(8,s.style.width=`${l}px`,s),i(8,s.style.height=`${Y}px`,s),s.offsetHeight,yield e.tick();const q=d.scrollHeight,D=d.scrollWidth;i(8,s.style.width=`${D}px`,s),i(8,s.style.height=`${q}px`,s),a=setTimeout(()=>{s&&(i(8,s.style.width="auto",s),i(8,s.style.height="auto",s)),x=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{k()}),d){const l=new ResizeObserver(()=>{k()});return l.observe(d),()=>{l.disconnect()}}return()=>{f&&clearTimeout(f),a&&clearTimeout(f)}});function O(l){e.binding_callbacks[l?"unshift":"push"](()=>{d=l,i(7,d)})}function E(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(8,s)})}function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(6,c)})}function B(){C=this.clientWidth,h=this.clientHeight,i(0,C),i(1,h)}function F(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,i(5,_)})}return n.$$set=l=>{"mbsource"in l&&i(10,u=l.mbsource),"clientstyling"in l&&i(11,m=l.clientstyling),"clientstylingurl"in l&&i(12,g=l.clientstylingurl),"show"in l&&i(2,p=l.show),"modaltype"in l&&i(3,v=l.modaltype),"isloading"in l&&i(4,b=l.isloading),"width"in l&&i(0,C=l.width),"height"in l&&i(1,h=l.height),"$$scope"in l&&i(13,r=l.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&b&&e.tick().then(()=>{k()}),n.$$.dirty&2080&&m&&_&&e.setClientStyling(_,m),n.$$.dirty&4128&&g&&_&&e.setClientStylingURL(_,g),n.$$.dirty&1056&&u&&_&&e.setStreamStyling(_,`${u}.Style`,w)},[C,h,p,v,b,_,c,d,s,y,u,m,g,r,o,O,E,j,B,F]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Z,V,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},P)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(W,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=W;
|
|
1
|
+
"use strict";var M=(n,t,i)=>new Promise((o,r)=>{var u=p=>{try{g(i.next(p))}catch(v){r(v)}},m=p=>{try{g(i.throw(p))}catch(v){r(v)}},g=p=>p.done?o(p.value):Promise.resolve(p.value).then(u,m);g((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierVerifications-CAWqbSSg.cjs");function P(n){e.append_styles(n,"svelte-vlp16o",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}')}const R=n=>({}),L=n=>({}),U=n=>({}),T=n=>({});function S(n){let t,i,o,r,u,m,g,p,v,b,C,h,c=(n[3]=="error"||n[3]=="bonusDescription")&&z();const _=n[14].title,w=e.create_slot(_,n,n[13],T);let d=n[3]!="2fa-old"&&H(n),s=n[4]==="true"&&I();const x=n[14].content,f=e.create_slot(x,n,n[13],L);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),r=e.element("div"),c&&c.c(),u=e.space(),m=e.element("div"),w&&w.c(),g=e.space(),d&&d.c(),p=e.space(),s&&s.c(),v=e.space(),b=e.element("div"),f&&f.c(),e.attr(m,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(o,"class","ModalHeader"),e.attr(b,"class","ModalContentWrapper"),e.toggle_class(b,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(a,y){e.insert(a,t,y),e.append(t,i),e.append(i,o),e.append(o,r),c&&c.m(r,null),e.append(r,u),e.append(r,m),w&&w.m(m,null),e.append(o,g),d&&d.m(o,null),e.append(i,p),s&&s.m(i,null),e.append(i,v),e.append(i,b),f&&f.m(b,null),n[15](b),n[16](i),n[17](t),C=e.add_iframe_resize_listener(t,n[18].bind(t)),h=!0},p(a,y){a[3]=="error"||a[3]=="bonusDescription"?c||(c=z(),c.c(),c.m(r,u)):c&&(c.d(1),c=null),w&&w.p&&(!h||y&8192)&&e.update_slot_base(w,_,a,a[13],h?e.get_slot_changes(_,a[13],y,U):e.get_all_dirty_from_scope(a[13]),T),a[3]!="2fa-old"?d?d.p(a,y):(d=H(a),d.c(),d.m(o,null)):d&&(d.d(1),d=null),a[4]==="true"?s||(s=I(),s.c(),s.m(i,v)):s&&(s.d(1),s=null),f&&f.p&&(!h||y&8192)&&e.update_slot_base(f,x,a,a[13],h?e.get_slot_changes(x,a[13],y,R):e.get_all_dirty_from_scope(a[13]),L),(!h||y&16)&&e.toggle_class(b,"hidden",a[4]==="true"),(!h||y&8)&&e.toggle_class(i,"video-mode",a[3]==="video"),(!h||y&8)&&e.toggle_class(i,"twofa-mode",a[3]==="2fa")},i(a){h||(e.transition_in(w,a),e.transition_in(f,a),h=!0)},o(a){e.transition_out(w,a),e.transition_out(f,a),h=!1},d(a){a&&e.detach(t),c&&c.d(),w&&w.d(a),d&&d.d(),s&&s.d(),f&&f.d(a),n[15](null),n[16](null),n[17](null),C()}}}function z(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>',e.attr(t,"class","WarningIcon")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function H(n){let t,i,o,r,u;return{c(){t=e.element("div"),i=e.svg_element("svg"),o=e.svg_element("path"),e.attr(o,"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"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(i,"class","CloseButton"),e.attr(t,"class","ModalCloseIcon")},m(m,g){e.insert(m,t,g),e.append(t,i),e.append(i,o),r||(u=e.listen(i,"click",n[9]),r=!0)},p:e.noop,d(m){m&&e.detach(t),r=!1,u()}}}function I(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function V(n){let t,i,o=n[2]==="true"&&S(n);return{c(){t=e.element("div"),o&&o.c()},m(r,u){e.insert(r,t,u),o&&o.m(t,null),n[19](t),i=!0},p(r,[u]){r[2]==="true"?o?(o.p(r,u),u&4&&e.transition_in(o,1)):(o=S(r),o.c(),e.transition_in(o,1),o.m(t,null)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(r){i||(e.transition_in(o),i=!0)},o(r){e.transition_out(o),i=!1},d(r){r&&e.detach(t),o&&o.d(),n[19](null)}}}function Z(n,t,i){let{$$slots:o={},$$scope:r}=t,{mbsource:u}=t,{clientstyling:m}=t,{clientstylingurl:g}=t,{show:p}=t,{modaltype:v=""}=t,{isloading:b="false"}=t,{width:C}=t,{height:h}=t,c,_,w,d,s,x=!1,f,a;const y=()=>{f&&clearTimeout(f),c&&(c.classList.add("closing"),window.dispatchEvent(new CustomEvent("manualClosePopup")),f=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},k=()=>M(this,null,function*(){if(!s||!d||x)return;a&&clearTimeout(f),x=!0;const l=s.offsetWidth,Y=s.offsetHeight;i(8,s.style.width=`${l}px`,s),i(8,s.style.height=`${Y}px`,s),s.offsetHeight,yield e.tick();const q=d.scrollHeight,D=d.scrollWidth;i(8,s.style.width=`${D}px`,s),i(8,s.style.height=`${q}px`,s),a=setTimeout(()=>{s&&(i(8,s.style.width="auto",s),i(8,s.style.height="auto",s)),x=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{k()}),d){const l=new ResizeObserver(()=>{k()});return l.observe(d),()=>{l.disconnect()}}return()=>{f&&clearTimeout(f),a&&clearTimeout(f)}});function O(l){e.binding_callbacks[l?"unshift":"push"](()=>{d=l,i(7,d)})}function E(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(8,s)})}function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(6,c)})}function B(){C=this.clientWidth,h=this.clientHeight,i(0,C),i(1,h)}function F(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,i(5,_)})}return n.$$set=l=>{"mbsource"in l&&i(10,u=l.mbsource),"clientstyling"in l&&i(11,m=l.clientstyling),"clientstylingurl"in l&&i(12,g=l.clientstylingurl),"show"in l&&i(2,p=l.show),"modaltype"in l&&i(3,v=l.modaltype),"isloading"in l&&i(4,b=l.isloading),"width"in l&&i(0,C=l.width),"height"in l&&i(1,h=l.height),"$$scope"in l&&i(13,r=l.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&b&&e.tick().then(()=>{k()}),n.$$.dirty&2080&&m&&_&&e.setClientStyling(_,m),n.$$.dirty&4128&&g&&_&&e.setClientStylingURL(_,g),n.$$.dirty&1056&&u&&_&&e.setStreamStyling(_,`${u}.Style`,w)},[C,h,p,v,b,_,c,d,s,y,u,m,g,r,o,O,E,j,B,F]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Z,V,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},P)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(W,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=W;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as te, i as ie, f as C, s as ne, c as oe, a as le, d as S, t as O, b as z, e as se, g as H, h as b, o as ae, j, k as B, u as F, l as Y, m as D, n as L, p as _, q as re, r as I, v as h, w as de, x as W, y as ce, z as fe, A as q, B as ue, C as he, D as me, E as ge } from "./CashierVerifications-
|
|
1
|
+
import { S as te, i as ie, f as C, s as ne, c as oe, a as le, d as S, t as O, b as z, e as se, g as H, h as b, o as ae, j, k as B, u as F, l as Y, m as D, n as L, p as _, q as re, r as I, v as h, w as de, x as W, y as ce, z as fe, A as q, B as ue, C as he, D as me, E as ge } from "./CashierVerifications-nVx2RLZQ.js";
|
|
2
2
|
function pe(i) {
|
|
3
3
|
le(i, "svelte-vlp16o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
4
4
|
}
|
|
@@ -14,7 +14,7 @@ var B = (i, e, t) => new Promise((n, a) => {
|
|
|
14
14
|
}, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(f, h);
|
|
15
15
|
g((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { S as ie, i as ne, s as oe, f as M, a as le, d as S, t as O, b as z, c as se, e as H, g as x, o as ae, h as j, j as F, u as Y, k as D, l as q, m as T, n as v, p as re, q as I, r as m, v as de, w as W, x as ce, y as fe, z as R, A as ue, B as he, C as me, D as ge, E as pe } from "./CashierVerifications-
|
|
17
|
+
import { S as ie, i as ne, s as oe, f as M, a as le, d as S, t as O, b as z, c as se, e as H, g as x, o as ae, h as j, j as F, u as Y, k as D, l as q, m as T, n as v, p as re, q as I, r as m, v as de, w as W, x as ce, y as fe, z as R, A as ue, B as he, C as me, D as ge, E as pe } from "./CashierVerifications-B6BokUMV.js";
|
|
18
18
|
function we(i) {
|
|
19
19
|
le(i, "svelte-vlp16o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
20
20
|
}
|
|
@@ -3997,11 +3997,10 @@ function Vo(e, t) {
|
|
|
3997
3997
|
}
|
|
3998
3998
|
function Fo(e, t) {
|
|
3999
3999
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
4000
|
-
var a;
|
|
4001
4000
|
if (!e)
|
|
4002
4001
|
return;
|
|
4003
4002
|
const i = e.getRootNode(), n = window[Te];
|
|
4004
|
-
let o =
|
|
4003
|
+
let o = n[t] && n[t].sheet;
|
|
4005
4004
|
o ? n[t].refCount = n[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), n[t] = {
|
|
4006
4005
|
sheet: o,
|
|
4007
4006
|
refCount: 1
|
|
@@ -4545,7 +4544,7 @@ if (typeof window != "undefined") {
|
|
|
4545
4544
|
}
|
|
4546
4545
|
};
|
|
4547
4546
|
};
|
|
4548
|
-
customElements.define = e(customElements.define), import("./CashierModal-
|
|
4547
|
+
customElements.define = e(customElements.define), import("./CashierModal-NX5vbh5j.js").then(({ default: t }) => {
|
|
4549
4548
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
|
|
4550
4549
|
});
|
|
4551
4550
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
3
|
`,Be.MISSING_INTL_API,s);var O=r.getPluralRules(t,{type:f.pluralType}).select(m-(f.offset||0));T=f.options[O]||f.options.other}if(!T)throw new or(f.value,m,Object.keys(f.options),s);a.push.apply(a,et(T.value,t,r,i,n,m-(f.offset||0)));continue}}return oo(a)}function ao(e,t){return t?ne(ne(ne({},e||{}),t||{}),Object.keys(e).reduce(function(r,i){return r[i]=ne(ne({},e[i]),t[i]||{}),r},{})):e}function uo(e,t){return t?Object.keys(e).reduce(function(r,i){return r[i]=ao(e[i],t[i]),r},ne({},e)):e}function yt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function lo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:vt(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,mt([void 0],r,!1)))},{cache:yt(e.number),strategy:gt.variadic}),getDateTimeFormat:vt(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,mt([void 0],r,!1)))},{cache:yt(e.dateTime),strategy:gt.variadic}),getPluralRules:vt(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,mt([void 0],r,!1)))},{cache:yt(e.pluralRules),strategy:gt.variadic})}}var ri=function(){function e(t,r,i,n){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var f=l.reduce(function(h,m){return!h.length||m.type!==J.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(u){return et(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.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 s=n||{};s.formatters;var a=yn(s,["formatters"]);this.ast=e.__parse(t,ne(ne({},a),{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=uo(e.formats,i),this.formatters=n&&n.formatters||lo(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=ro,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 co(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let i=e;for(let n=0;n<r.length;n++)if(typeof i=="object"){if(n>0){const o=r.slice(n,r.length).join(".");if(o in i){i=i[o];break}}i=i[r[n]]}else i=void 0;return i}const pe={},fo=(e,t,r)=>r&&(t in pe||(pe[t]={}),e in pe[t]||(pe[t][e]=r),r),ii=(e,t)=>{if(t==null)return;if(t in pe&&e in pe[t])return pe[t][e];const r=ze(t);for(let i=0;i<r.length;i++){const n=r[i],o=po(n,e);if(o)return fo(e,t,o)}};let Vt;const je=Ge({});function ho(e){return Vt[e]||null}function ni(e){return e in Vt}function po(e,t){if(!ni(e))return null;const r=ho(e);return co(r,t)}function mo(e){if(e==null)return;const t=ze(e);for(let r=0;r<t.length;r++){const i=t[r];if(ni(i))return i}}function oi(e,...t){delete pe[e],je.update(r=>(r[e]=bn.all([r[e]||{},...t]),r))}Ce([je],([e])=>Object.keys(e));je.subscribe(e=>Vt=e);const tt={};function vo(e,t){tt[e].delete(t),tt[e].size===0&&delete tt[e]}function si(e){return tt[e]}function go(e){return ze(e).map(t=>{const r=si(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function st(e){return e==null?!1:ze(e).some(t=>{var r;return(r=si(t))==null?void 0:r.size})}function bo(e,t){return Promise.all(t.map(i=>(vo(e,i),i().then(n=>n.default||n)))).then(i=>oi(e,...i))}const Ie={};function ai(e){if(!st(e))return e in Ie?Ie[e]:Promise.resolve();const t=go(e);return Ie[e]=Promise.all(t.map(([r,i])=>bo(r,i))).then(()=>{if(st(e))return ai(e);delete Ie[e]}),Ie[e]}var sr=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,_o=Object.prototype.propertyIsEnumerable,xo=(e,t)=>{var r={};for(var i in e)yo.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&sr)for(var i of sr(e))t.indexOf(i)<0&&_o.call(e,i)&&(r[i]=e[i]);return r};const wo={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 Eo({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${ze(e).join('", "')}".${st(me())?`
|
|
4
4
|
|
|
5
|
-
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const So={fallbackLocale:null,loadingDelay:200,formats:wo,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ne=So;function Me(){return Ne}function To(e){const t=e,{formats:r}=t,i=xo(t,["formats"]);let n=e.fallbackLocale;if(e.initialLocale)try{ri.resolveLocale(e.initialLocale)&&(n=e.initialLocale)}catch(o){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return i.warnOnMissingMessages&&(delete i.warnOnMissingMessages,i.handleMissingMessage==null?i.handleMissingMessage=Eo:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Ne,i,{initialLocale:n}),r&&("number"in r&&Object.assign(Ne.formats.number,r.number),"date"in r&&Object.assign(Ne.formats.date,r.date),"time"in r&&Object.assign(Ne.formats.time,r.time)),xe.set(n)}const _t=Ge(!1);var Oo=Object.defineProperty,Po=Object.defineProperties,Ho=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,ur=(e,t,r)=>t in e?Oo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mo=(e,t)=>{for(var r in t||(t={}))Ao.call(t,r)&&ur(e,r,t[r]);if(ar)for(var r of ar(t))Bo.call(t,r)&&ur(e,r,t[r]);return e},$o=(e,t)=>Po(e,Ho(t));let Bt;const at=Ge(null);function lr(e){return e.split("-").map((t,r,i)=>i.slice(0,r+1).join("-")).reverse()}function ze(e,t=Me().fallbackLocale){const r=lr(e);return t?[...new Set([...r,...lr(t)])]:r}function me(){return Bt!=null?Bt:void 0}at.subscribe(e=>{Bt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Co=e=>{if(e&&mo(e)&&st(e)){const{loadingDelay:t}=Me();let r;return typeof window!="undefined"&&me()!=null&&t?r=window.setTimeout(()=>_t.set(!0),t):_t.set(!0),ai(e).then(()=>{at.set(e)}).finally(()=>{clearTimeout(r),_t.set(!1)})}return at.set(e)},xe=$o(Mo({},at),{set:Co}),ft=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var Lo=Object.defineProperty,ut=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,li=Object.prototype.propertyIsEnumerable,cr=(e,t,r)=>t in e?Lo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ft=(e,t)=>{for(var r in t||(t={}))ui.call(t,r)&&cr(e,r,t[r]);if(ut)for(var r of ut(t))li.call(t,r)&&cr(e,r,t[r]);return e},Le=(e,t)=>{var r={};for(var i in e)ui.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&ut)for(var i of ut(e))t.indexOf(i)<0&&li.call(e,i)&&(r[i]=e[i]);return r};const Fe=(e,t)=>{const{formats:r}=Me();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Io=ft(e=>{var t=e,{locale:r,format:i}=t,n=Le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=Fe("number",i)),new Intl.NumberFormat(r,n)}),Do=ft(e=>{var t=e,{locale:r,format:i}=t,n=Le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=Fe("date",i):Object.keys(n).length===0&&(n=Fe("date","short")),new Intl.DateTimeFormat(r,n)}),No=ft(e=>{var t=e,{locale:r,format:i}=t,n=Le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=Fe("time",i):Object.keys(n).length===0&&(n=Fe("time","short")),new Intl.DateTimeFormat(r,n)}),ko=(e={})=>{var t=e,{locale:r=me()}=t,i=Le(t,["locale"]);return Io(Ft({locale:r},i))},Ro=(e={})=>{var t=e,{locale:r=me()}=t,i=Le(t,["locale"]);return Do(Ft({locale:r},i))},Uo=(e={})=>{var t=e,{locale:r=me()}=t,i=Le(t,["locale"]);return No(Ft({locale:r},i))},Vo=ft((e,t=me())=>new ri(e,t,Me().formats,{ignoreTag:Me().ignoreTag})),Fo=(e,t={})=>{var r,i,n,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:u=me(),default:l}=s;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=ii(e,u);if(!f)f=(o=(n=(i=(r=Me()).handleMissingMessage)==null?void 0:i.call(r,{locale:u,id:e,defaultValue:l}))!=null?n:l)!=null?o:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!a)return f;let h=f;try{h=Vo(f,u).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},Go=(e,t)=>Uo(t).format(e),jo=(e,t)=>Ro(t).format(e),zo=(e,t)=>ko(t).format(e),Wo=(e,t=me())=>ii(e,t),Xo=Ce([xe,je],()=>Fo);Ce([xe],()=>Go);Ce([xe],()=>jo);Ce([xe],()=>zo);Ce([xe,je],()=>Wo);function fr(e,t){oi(e,t)}function qo(e){To({fallbackLocale:"en"}),xe.set(e)}const hr={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},fr:{verificationsRequired:"Vérifications requises","verification.video.how-to":"Comment vérifier votre identité ?","verification.idenfy.referred-awaiting":"La vérification d’identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.","verification.message.failed":"Nous sommes désolés, mais nous n’avons pas pu vérifier votre compte. Veuillez contacter l’équipe d’assistance.","verification.idenfy.link-name":"lien","verification.idenfy.in-progress":"Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l’utilisateur. Veuillez préparer votre pièce d’identité et suivre le {link} pour commencer la vérification.","verification.shuftipro.in-progress.Biometric":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.","verification.shuftipro.in-progress.Biometric.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.","verification.shuftipro.link-name.Biometric":"Biométrique","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Justificatif de domicile","verification.shuftipro.validations-started":"Après avoir terminé la vérification, veuillez procéder à la transaction."}};let Yo=Ge(null);const Oe="__WIDGET_GLOBAL_STYLE_CACHE__";function ci(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function fi(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(i=>i.text()).then(i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function hi(e,t,r,i=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!i)return r=Zo(e,t),r;window[Oe]||(window[Oe]={}),r=Jo(e,t);const o=r.unsubscribe.bind(r),s=()=>{if(window[Oe][t]){const a=window[Oe][t];a.refCount>1?a.refCount=a.refCount-1:delete window[Oe][t]}o()};return r.unsubscribe=s,r}function Zo(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,i=>{e&&(r.innerHTML=i,e.appendChild(r))})}function Jo(e,t){return window.emMessageBus.subscribe(t,r=>{var a;if(!e)return;const i=e.getRootNode(),n=window[Oe];let o=(a=n[t])==null?void 0:a.sheet;o?n[t].refCount=n[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),n[t]={sheet:o,refCount:1});const s=i.adoptedStyleSheets||[];s.includes(o)||(i.adoptedStyleSheets=[...s,o])})}/*! *****************************************************************************
|
|
5
|
+
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const So={fallbackLocale:null,loadingDelay:200,formats:wo,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ne=So;function Me(){return Ne}function To(e){const t=e,{formats:r}=t,i=xo(t,["formats"]);let n=e.fallbackLocale;if(e.initialLocale)try{ri.resolveLocale(e.initialLocale)&&(n=e.initialLocale)}catch(o){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return i.warnOnMissingMessages&&(delete i.warnOnMissingMessages,i.handleMissingMessage==null?i.handleMissingMessage=Eo:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Ne,i,{initialLocale:n}),r&&("number"in r&&Object.assign(Ne.formats.number,r.number),"date"in r&&Object.assign(Ne.formats.date,r.date),"time"in r&&Object.assign(Ne.formats.time,r.time)),xe.set(n)}const _t=Ge(!1);var Oo=Object.defineProperty,Po=Object.defineProperties,Ho=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,ur=(e,t,r)=>t in e?Oo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mo=(e,t)=>{for(var r in t||(t={}))Ao.call(t,r)&&ur(e,r,t[r]);if(ar)for(var r of ar(t))Bo.call(t,r)&&ur(e,r,t[r]);return e},$o=(e,t)=>Po(e,Ho(t));let Bt;const at=Ge(null);function lr(e){return e.split("-").map((t,r,i)=>i.slice(0,r+1).join("-")).reverse()}function ze(e,t=Me().fallbackLocale){const r=lr(e);return t?[...new Set([...r,...lr(t)])]:r}function me(){return Bt!=null?Bt:void 0}at.subscribe(e=>{Bt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Co=e=>{if(e&&mo(e)&&st(e)){const{loadingDelay:t}=Me();let r;return typeof window!="undefined"&&me()!=null&&t?r=window.setTimeout(()=>_t.set(!0),t):_t.set(!0),ai(e).then(()=>{at.set(e)}).finally(()=>{clearTimeout(r),_t.set(!1)})}return at.set(e)},xe=$o(Mo({},at),{set:Co}),ft=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var Lo=Object.defineProperty,ut=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,li=Object.prototype.propertyIsEnumerable,cr=(e,t,r)=>t in e?Lo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ft=(e,t)=>{for(var r in t||(t={}))ui.call(t,r)&&cr(e,r,t[r]);if(ut)for(var r of ut(t))li.call(t,r)&&cr(e,r,t[r]);return e},Le=(e,t)=>{var r={};for(var i in e)ui.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&ut)for(var i of ut(e))t.indexOf(i)<0&&li.call(e,i)&&(r[i]=e[i]);return r};const Fe=(e,t)=>{const{formats:r}=Me();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Io=ft(e=>{var t=e,{locale:r,format:i}=t,n=Le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=Fe("number",i)),new Intl.NumberFormat(r,n)}),Do=ft(e=>{var t=e,{locale:r,format:i}=t,n=Le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=Fe("date",i):Object.keys(n).length===0&&(n=Fe("date","short")),new Intl.DateTimeFormat(r,n)}),No=ft(e=>{var t=e,{locale:r,format:i}=t,n=Le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=Fe("time",i):Object.keys(n).length===0&&(n=Fe("time","short")),new Intl.DateTimeFormat(r,n)}),ko=(e={})=>{var t=e,{locale:r=me()}=t,i=Le(t,["locale"]);return Io(Ft({locale:r},i))},Ro=(e={})=>{var t=e,{locale:r=me()}=t,i=Le(t,["locale"]);return Do(Ft({locale:r},i))},Uo=(e={})=>{var t=e,{locale:r=me()}=t,i=Le(t,["locale"]);return No(Ft({locale:r},i))},Vo=ft((e,t=me())=>new ri(e,t,Me().formats,{ignoreTag:Me().ignoreTag})),Fo=(e,t={})=>{var r,i,n,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:u=me(),default:l}=s;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=ii(e,u);if(!f)f=(o=(n=(i=(r=Me()).handleMissingMessage)==null?void 0:i.call(r,{locale:u,id:e,defaultValue:l}))!=null?n:l)!=null?o:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!a)return f;let h=f;try{h=Vo(f,u).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},Go=(e,t)=>Uo(t).format(e),jo=(e,t)=>Ro(t).format(e),zo=(e,t)=>ko(t).format(e),Wo=(e,t=me())=>ii(e,t),Xo=Ce([xe,je],()=>Fo);Ce([xe],()=>Go);Ce([xe],()=>jo);Ce([xe],()=>zo);Ce([xe,je],()=>Wo);function fr(e,t){oi(e,t)}function qo(e){To({fallbackLocale:"en"}),xe.set(e)}const hr={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},fr:{verificationsRequired:"Vérifications requises","verification.video.how-to":"Comment vérifier votre identité ?","verification.idenfy.referred-awaiting":"La vérification d’identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.","verification.message.failed":"Nous sommes désolés, mais nous n’avons pas pu vérifier votre compte. Veuillez contacter l’équipe d’assistance.","verification.idenfy.link-name":"lien","verification.idenfy.in-progress":"Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l’utilisateur. Veuillez préparer votre pièce d’identité et suivre le {link} pour commencer la vérification.","verification.shuftipro.in-progress.Biometric":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.","verification.shuftipro.in-progress.Biometric.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.","verification.shuftipro.link-name.Biometric":"Biométrique","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Justificatif de domicile","verification.shuftipro.validations-started":"Après avoir terminé la vérification, veuillez procéder à la transaction."}};let Yo=Ge(null);const Oe="__WIDGET_GLOBAL_STYLE_CACHE__";function ci(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function fi(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(i=>i.text()).then(i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function hi(e,t,r,i=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!i)return r=Zo(e,t),r;window[Oe]||(window[Oe]={}),r=Jo(e,t);const o=r.unsubscribe.bind(r),s=()=>{if(window[Oe][t]){const a=window[Oe][t];a.refCount>1?a.refCount=a.refCount-1:delete window[Oe][t]}o()};return r.unsubscribe=s,r}function Zo(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,i=>{e&&(r.innerHTML=i,e.appendChild(r))})}function Jo(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const i=e.getRootNode(),n=window[Oe];let o=n[t]&&n[t].sheet;o?n[t].refCount=n[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),n[t]={sheet:o,refCount:1});const s=i.adoptedStyleSheets||[];s.includes(o)||(i.adoptedStyleSheets=[...s,o])})}/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
7
7
|
|
|
8
8
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -17,4 +17,4 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
17
17
|
PERFORMANCE OF THIS SOFTWARE.
|
|
18
18
|
***************************************************************************** */var Mt=function(e,t){return Mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},Mt(e,t)};function We(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Mt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function $t(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ct(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),n,o=[],s;try{for(;(t===void 0||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(s)throw s.error}}return o}function Lt(e,t,r){if(arguments.length===2)for(var i=0,n=t.length,o;i<n;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||t)}function ce(e){return typeof e=="function"}function di(e){var t=function(i){Error.call(i),i.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var xt=di(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
19
19
|
`+r.map(function(i,n){return n+1+") "+i.toString()}).join(`
|
|
20
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function It(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ht=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,i,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=$t(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(d){t={error:d}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(ce(f))try{f()}catch(d){o=d instanceof xt?d.errors:[d]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=$t(h),b=m.next();!b.done;b=m.next()){var w=b.value;try{dr(w)}catch(d){o=o!=null?o:[],d instanceof xt?o=Lt(Lt([],Ct(o)),Ct(d.errors)):o.push(d)}}}catch(d){i={error:d}}finally{try{b&&!b.done&&(n=m.return)&&n.call(m)}finally{if(i)throw i.error}}}if(o)throw new xt(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&It(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&It(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),pi=ht.EMPTY;function mi(e){return e instanceof ht||e&&"closed"in e&&ce(e.remove)&&ce(e.add)&&ce(e.unsubscribe)}function dr(e){ce(e)?e():e.unsubscribe()}var Qo={Promise:void 0},Ko={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,Lt([e,t],Ct(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function es(e){Ko.setTimeout(function(){throw e})}function pr(){}function rt(e){e()}var vi=function(e){We(t,e);function t(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,mi(r)&&r.add(i)):i.destination=is,i}return t.create=function(r,i,n){return new Dt(r,i,n)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ht),ts=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(i){Je(i)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(i){Je(i)}else Je(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Je(r)}},e}(),Dt=function(e){We(t,e);function t(r,i,n){var o=e.call(this)||this,s;return ce(r)||!r?s={next:r!=null?r:void 0,error:i!=null?i:void 0,complete:n!=null?n:void 0}:s=r,o.destination=new ts(s),o}return t}(vi);function Je(e){es(e)}function rs(e){throw e}var is={closed:!0,next:pr,error:rs,complete:pr},ns=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function os(e){return e}function ss(e){return e.length===0?os:e.length===1?e[0]:function(r){return e.reduce(function(i,n){return n(i)},r)}}var mr=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,i){var n=this,o=us(t)?t:new Dt(t,r,i);return rt(function(){var s=n,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var i=this;return r=vr(r),new r(function(n,o){var s=new Dt({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:n});i.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ns]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ss(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=vr(t),new t(function(i,n){var o;r.subscribe(function(s){return o=s},function(s){return n(s)},function(){return i(o)})})},e.create=function(t){return new e(t)},e}();function vr(e){var t;return(t=e!=null?e:Qo.Promise)!==null&&t!==void 0?t:Promise}function as(e){return e&&ce(e.next)&&ce(e.error)&&ce(e.complete)}function us(e){return e&&e instanceof vi||as(e)&&mi(e)}var ls=di(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),gi=function(e){We(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var i=new gr(this,this);return i.operator=r,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new ls},t.prototype.next=function(r){var i=this;rt(function(){var n,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var s=$t(i.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var i=this;rt(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=r;for(var n=i.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;rt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var i=r.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var i=this,n=this,o=n.hasError,s=n.isStopped,a=n.observers;return o||s?pi:(this.currentObservers=null,a.push(r),new ht(function(){i.currentObservers=null,It(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var i=this,n=i.hasError,o=i.thrownError,s=i.isStopped;n?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new mr;return r.source=this,r},t.create=function(r,i){return new gr(r,i)},t}(mr),gr=function(e){We(t,e);function t(r,i){var n=e.call(this)||this;return n.destination=r,n.source=i,n}return t.prototype.next=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,r)},t.prototype.error=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,r)},t.prototype.complete=function(){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||i===void 0||i.call(r)},t.prototype._subscribe=function(r){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(r))!==null&&n!==void 0?n:pi},t}(gi),bi={now:function(){return(bi.delegate||Date).now()},delegate:void 0},cs=function(e){We(t,e);function t(r,i,n){r===void 0&&(r=1/0),i===void 0&&(i=1/0),n===void 0&&(n=bi);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=i,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(r){var i=this,n=i.isStopped,o=i._buffer,s=i._infiniteTimeWindow,a=i._timestampProvider,u=i._windowTime;n||(o.push(r),!s&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(r),n=this,o=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),u=0;u<a.length&&!r.closed;u+=o?1:2)r.next(a[u]);return this._checkFinalizedStatuses(r),i},t.prototype._trimBuffer=function(){var r=this,i=r._bufferSize,n=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*i;if(i<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var u=n.now(),l=0,f=1;f<o.length&&o[f]<=u;f+=2)l=f;l&&o.splice(0,l+1)}},t}(gi);const br=[],yr={},fs=(e,t=0)=>{if(br.indexOf(e)==-1){const r=new cs(t);yr[e]=r,br.push(e)}return yr[e]};window.emWidgets={topic:fs};const hs=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierModal-BB9Bfbho.cjs")).then(({default:t})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",t.element)})}var yi={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kr,function(){var r=1e3,i=6e4,n=36e5,o="millisecond",s="second",a="minute",u="hour",l="day",f="week",h="month",m="quarter",b="year",w="date",d="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,N=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,H={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var g=["th","st","nd","rd"],p=_%100;return"["+_+(g[(p-20)%10]||g[p]||g[0])+"]"}},T=function(_,g,p){var y=String(_);return!y||y.length>=g?_:""+Array(g+1-y.length).join(p)+_},O={s:T,z:function(_){var g=-_.utcOffset(),p=Math.abs(g),y=Math.floor(p/60),v=p%60;return(g<=0?"+":"-")+T(y,2,"0")+":"+T(v,2,"0")},m:function _(g,p){if(g.date()<p.date())return-_(p,g);var y=12*(p.year()-g.year())+(p.month()-g.month()),v=g.clone().add(y,h),E=p-v<0,S=g.clone().add(y+(E?-1:1),h);return+(-(y+(p-v)/(E?v-S:S-v))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:h,y:b,w:f,d:l,D:w,h:u,m:a,s,ms:o,Q:m}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},L="en",P={};P[L]=H;var q="$isDayjsObject",se=function(_){return _ instanceof fe||!(!_||!_[q])},re=function _(g,p,y){var v;if(!g)return L;if(typeof g=="string"){var E=g.toLowerCase();P[E]&&(v=E),p&&(P[E]=p,v=E);var S=g.split("-");if(!v&&S.length>1)return _(S[0])}else{var D=g.name;P[D]=g,v=D}return!y&&v&&(L=v),v||!y&&L},V=function(_,g){if(se(_))return _.clone();var p=typeof g=="object"?g:{};return p.date=_,p.args=arguments,new fe(p)},B=O;B.l=re,B.i=se,B.w=function(_,g){return V(_,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var fe=function(){function _(p){this.$L=re(p.locale,null,!0),this.parse(p),this.$x=this.$x||p.x||{},this[q]=!0}var g=_.prototype;return g.parse=function(p){this.$d=function(y){var v=y.date,E=y.utc;if(v===null)return new Date(NaN);if(B.u(v))return new Date;if(v instanceof Date)return new Date(v);if(typeof v=="string"&&!/Z$/i.test(v)){var S=v.match(I);if(S){var D=S[2]-1||0,R=(S[7]||"0").substring(0,3);return E?new Date(Date.UTC(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,R)):new Date(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,R)}}return new Date(v)}(p),this.init()},g.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},g.$utils=function(){return B},g.isValid=function(){return this.$d.toString()!==d},g.isSame=function(p,y){var v=V(p);return this.startOf(y)<=v&&v<=this.endOf(y)},g.isAfter=function(p,y){return V(p)<this.startOf(y)},g.isBefore=function(p,y){return this.endOf(y)<V(p)},g.$g=function(p,y,v){return B.u(p)?this[y]:this.set(v,p)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(p,y){var v=this,E=!!B.u(y)||y,S=B.p(p),D=function(ue,Y){var ie=B.w(v.$u?Date.UTC(v.$y,Y,ue):new Date(v.$y,Y,ue),v);return E?ie:ie.endOf(l)},R=function(ue,Y){return B.w(v.toDate()[ue].apply(v.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(Y)),v)},F=this.$W,z=this.$M,Z=this.$D,he="set"+(this.$u?"UTC":"");switch(S){case b:return E?D(1,0):D(31,11);case h:return E?D(1,z):D(0,z+1);case f:var ae=this.$locale().weekStart||0,ve=(F<ae?F+7:F)-ae;return D(E?Z-ve:Z+(6-ve),z);case l:case w:return R(he+"Hours",0);case u:return R(he+"Minutes",1);case a:return R(he+"Seconds",2);case s:return R(he+"Milliseconds",3);default:return this.clone()}},g.endOf=function(p){return this.startOf(p,!1)},g.$set=function(p,y){var v,E=B.p(p),S="set"+(this.$u?"UTC":""),D=(v={},v[l]=S+"Date",v[w]=S+"Date",v[h]=S+"Month",v[b]=S+"FullYear",v[u]=S+"Hours",v[a]=S+"Minutes",v[s]=S+"Seconds",v[o]=S+"Milliseconds",v)[E],R=E===l?this.$D+(y-this.$W):y;if(E===h||E===b){var F=this.clone().set(w,1);F.$d[D](R),F.init(),this.$d=F.set(w,Math.min(this.$D,F.daysInMonth())).$d}else D&&this.$d[D](R);return this.init(),this},g.set=function(p,y){return this.clone().$set(p,y)},g.get=function(p){return this[B.p(p)]()},g.add=function(p,y){var v,E=this;p=Number(p);var S=B.p(y),D=function(z){var Z=V(E);return B.w(Z.date(Z.date()+Math.round(z*p)),E)};if(S===h)return this.set(h,this.$M+p);if(S===b)return this.set(b,this.$y+p);if(S===l)return D(1);if(S===f)return D(7);var R=(v={},v[a]=i,v[u]=n,v[s]=r,v)[S]||1,F=this.$d.getTime()+p*R;return B.w(F,this)},g.subtract=function(p,y){return this.add(-1*p,y)},g.format=function(p){var y=this,v=this.$locale();if(!this.isValid())return v.invalidDate||d;var E=p||"YYYY-MM-DDTHH:mm:ssZ",S=B.z(this),D=this.$H,R=this.$m,F=this.$M,z=v.weekdays,Z=v.months,he=v.meridiem,ae=function(Y,ie,ge,we){return Y&&(Y[ie]||Y(y,E))||ge[ie].slice(0,we)},ve=function(Y){return B.s(D%12||12,Y,"0")},ue=he||function(Y,ie,ge){var we=Y<12?"AM":"PM";return ge?we.toLowerCase():we};return E.replace(N,function(Y,ie){return ie||function(ge){switch(ge){case"YY":return String(y.$y).slice(-2);case"YYYY":return B.s(y.$y,4,"0");case"M":return F+1;case"MM":return B.s(F+1,2,"0");case"MMM":return ae(v.monthsShort,F,Z,3);case"MMMM":return ae(Z,F);case"D":return y.$D;case"DD":return B.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return ae(v.weekdaysMin,y.$W,z,2);case"ddd":return ae(v.weekdaysShort,y.$W,z,3);case"dddd":return z[y.$W];case"H":return String(D);case"HH":return B.s(D,2,"0");case"h":return ve(1);case"hh":return ve(2);case"a":return ue(D,R,!0);case"A":return ue(D,R,!1);case"m":return String(R);case"mm":return B.s(R,2,"0");case"s":return String(y.$s);case"ss":return B.s(y.$s,2,"0");case"SSS":return B.s(y.$ms,3,"0");case"Z":return S}return null}(Y)||S.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(p,y,v){var E,S=this,D=B.p(y),R=V(p),F=(R.utcOffset()-this.utcOffset())*i,z=this-R,Z=function(){return B.m(S,R)};switch(D){case b:E=Z()/12;break;case h:E=Z();break;case m:E=Z()/3;break;case f:E=(z-F)/6048e5;break;case l:E=(z-F)/864e5;break;case u:E=z/n;break;case a:E=z/i;break;case s:E=z/r;break;default:E=z}return v?E:B.a(E)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return P[this.$L]},g.locale=function(p,y){if(!p)return this.$L;var v=this.clone(),E=re(p,y,!0);return E&&(v.$L=E),v},g.clone=function(){return B.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},_}(),W=fe.prototype;return V.prototype=W,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",h],["$y",b],["$D",w]].forEach(function(_){W[_[1]]=function(g){return this.$g(g,_[0],_[1])}}),V.extend=function(_,g){return _.$i||(_(g,fe,V),_.$i=!0),V},V.locale=re,V.isDayjs=se,V.unix=function(_){return V(1e3*_)},V.en=P[L],V.Ls=P,V.p={},V})})(yi);var ds=yi.exports;const _r=Ut(ds);var _i={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kr,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,s,a){var u=s.prototype;a.utc=function(d){var I={date:d,utc:!0,args:arguments};return new s(I)},u.utc=function(d){var I=a(this.toDate(),{locale:this.$L,utc:!0});return d?I.add(this.utcOffset(),r):I},u.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=u.parse;u.parse=function(d){d.utc&&(this.$u=!0),this.$utils().u(d.$offset)||(this.$offset=d.$offset),l.call(this,d)};var f=u.init;u.init=function(){if(this.$u){var d=this.$d;this.$y=d.getUTCFullYear(),this.$M=d.getUTCMonth(),this.$D=d.getUTCDate(),this.$W=d.getUTCDay(),this.$H=d.getUTCHours(),this.$m=d.getUTCMinutes(),this.$s=d.getUTCSeconds(),this.$ms=d.getUTCMilliseconds()}else f.call(this)};var h=u.utcOffset;u.utcOffset=function(d,I){var N=this.$utils().u;if(N(d))return this.$u?0:N(this.$offset)?h.call(this):this.$offset;if(typeof d=="string"&&(d=function(L){L===void 0&&(L="");var P=L.match(i);if(!P)return null;var q=(""+P[0]).match(n)||["-",0,0],se=q[0],re=60*+q[1]+ +q[2];return re===0?0:se==="+"?re:-re}(d),d===null))return this;var H=Math.abs(d)<=16?60*d:d,T=this;if(I)return T.$offset=H,T.$u=d===0,T;if(d!==0){var O=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(T=this.local().add(H+O,r)).$offset=H,T.$x.$localOffset=O}else T=this.utc();return T};var m=u.format;u.format=function(d){var I=d||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,I)},u.valueOf=function(){var d=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*d},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var b=u.toDate;u.toDate=function(d){return d==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():b.call(this)};var w=u.diff;u.diff=function(d,I,N){if(d&&this.$u===d.$u)return w.call(this,d,I,N);var H=this.local(),T=a(d).local();return w.call(H,T,I,N)}}})})(_i);var ps=_i.exports;const ms=Ut(ps);function vs(e){Hr(e,"svelte-etf668",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}')}function xr(e,t,r){const i=e.slice();return i[53]=t[r],i}function gs(e){let t,r=e[3].length>0&&wr(e);return{c(){t=X("div"),r&&r.c(),$(t,"class","CashierVerificationsWrapper")},m(i,n){oe(i,t,n),r&&r.m(t,null)},p(i,n){i[3].length>0?r?r.p(i,n):(r=wr(i),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(i){i&&te(t),r&&r.d()}}}function bs(e){let t;return{c(){t=X("cashier-spinner"),qe(t,"clientstylingurl",e[1]),qe(t,"clientstyling",e[0])},m(r,i){oe(r,t,i)},p(r,i){i[0]&2&&qe(t,"clientstylingurl",r[1]),i[0]&1&&qe(t,"clientstyling",r[0])},d(r){r&&te(t)}}}function wr(e){let t,r,i,n,o,s,a,u=e[8]("verificationsRequired")+"",l,f,h,m,b,w,d,I,N=Zt(e[3]),H=[];for(let O=0;O<N.length;O+=1)H[O]=Er(xr(e,N,O));let T=e[6]&&Sr(e);return{c(){t=X("div"),r=De("svg"),i=De("path"),n=De("path"),o=De("path"),s=ye(),a=X("p"),l=Rt(u),f=ye(),h=X("span"),h.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',m=ye(),b=X("div");for(let O=0;O<H.length;O+=1)H[O].c();w=ye(),T&&T.c(),$(i,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),$(i,"stroke","#6E738F"),$(i,"stroke-width","2"),$(i,"stroke-linecap","round"),$(i,"stroke-linejoin","round"),$(n,"d","M12 8V12"),$(n,"stroke","#6E738F"),$(n,"stroke-width","2"),$(n,"stroke-linecap","round"),$(n,"stroke-linejoin","round"),$(o,"d","M12 16H12.01"),$(o,"stroke","#6E738F"),$(o,"stroke-width","2"),$(o,"stroke-linecap","round"),$(o,"stroke-linejoin","round"),$(r,"width","24"),$(r,"height","24"),$(r,"viewBox","0 0 24 24"),$(r,"fill","none"),$(r,"xmlns","http://www.w3.org/2000/svg"),$(h,"class","CashierVerificationChevron"),le(h,"ShowVerifications",e[4]),$(t,"class","VerificationsHeader"),$(b,"class","VerificationsList"),le(b,"ShowVerifications",e[4])},m(O,L){oe(O,t,L),G(t,r),G(r,i),G(r,n),G(r,o),G(t,s),G(t,a),G(a,l),G(t,f),G(t,h),oe(O,m,L),oe(O,b,L);for(let P=0;P<H.length;P+=1)H[P]&&H[P].m(b,null);G(b,w),T&&T.m(b,null),d||(I=Re(t,"click",e[9]),d=!0)},p(O,L){if(L[0]&256&&u!==(u=O[8]("verificationsRequired")+"")&&Ar(l,u),L[0]&16&&le(h,"ShowVerifications",O[4]),L[0]&8){N=Zt(O[3]);let P;for(P=0;P<N.length;P+=1){const q=xr(O,N,P);H[P]?H[P].p(q,L):(H[P]=Er(q),H[P].c(),H[P].m(b,w))}for(;P<H.length;P+=1)H[P].d(1);H.length=N.length}O[6]?T?T.p(O,L):(T=Sr(O),T.c(),T.m(b,null)):T&&(T.d(1),T=null),L[0]&16&&le(b,"ShowVerifications",O[4])},d(O){O&&(te(t),te(m),te(b)),Ui(H,O),T&&T.d(),d=!1,I()}}}function Er(e){let t,r,i,n,o=e[53]+"";return{c(){t=X("div"),r=X("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',i=ye(),n=X("p"),$(r,"class","IconVerification"),$(n,"class","text"),$(t,"class","CashierVerificationMessage Test")},m(s,a){oe(s,t,a),G(t,r),G(t,i),G(t,n),n.innerHTML=o},p(s,a){a[0]&8&&o!==(o=s[53]+"")&&(n.innerHTML=o)},d(s){s&&te(t)}}}function Sr(e){let t,r,i,n,o=e[8]("verification.video.how-to")+"",s,a,u;return{c(){t=X("div"),r=X("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',i=ye(),n=X("div"),s=Rt(o),$(r,"class","IconVideo"),$(n,"class","CashierVerificationVideoLink"),le(n,"CashierVerificationVideoLinkDesktop",e[5]),$(t,"class","CashierVerificationVideo Test")},m(l,f){oe(l,t,f),G(t,r),G(t,i),G(t,n),G(n,s),a||(u=Re(t,"click",e[10]),a=!0)},p(l,f){f[0]&256&&o!==(o=l[8]("verification.video.how-to")+"")&&Ar(s,o),f[0]&32&&le(n,"CashierVerificationVideoLinkDesktop",l[5])},d(l){l&&te(t),a=!1,u()}}}function ys(e){let t;function r(o,s){if(o[7])return bs;if(o[3])return gs}let i=r(e),n=i&&i(e);return{c(){t=X("div"),n&&n.c(),$(t,"class","CashierVerifications"),le(t,"CashierVerificationsDesktop",e[5])},m(o,s){oe(o,t,s),n&&n.m(t,null),e[19](t)},p(o,s){i===(i=r(o))&&n?n.p(o,s):(n&&n.d(1),n=i&&i(o),n&&(n.c(),n.m(t,null))),s[0]&32&&le(t,"CashierVerificationsDesktop",o[5])},i:ee,o:ee,d(o){o&&te(t),n&&n.d(),e[19](null)}}}const _s="verification_explanation_video_widgets.MP4";function xs(e,t,r){let i,n;qt(e,Xo,c=>r(8,i=c)),qt(e,Yo,c=>r(27,n=c)),_r.extend(ms);let{endpoint:o}=t,{lang:s="en"}=t,{translationurl:a=""}=t,{clientstyling:u=""}=t,{clientstylingurl:l=""}=t,{session:f=""}=t,{customerid:h=""}=t,{playersession:m=""}=t,{mbsource:b=""}=t,w,d=new Set,I=new Set,N,H,T,O=!1,L=!0,P=!1,q="",se=!1,re,V=window.navigator.userAgent;var B;(function(c){c.Manual="Manual",c.ShuftiPro="ShuftiPro"})(B||(B={}));var fe;(function(c){c.Requested="Requested"})(fe||(fe={}));var W;(function(c){c.Unknown="Unknown",c.Unverified="Unverified",c.InProgress="InProgress",c.Failed="Failed",c.Verified="Verified",c.Referred="Referred",c.True="True",c.False="False",c.AwaitingForResponse="AwaitingForResponse"})(W||(W={}));var _;(function(c){c.Unknown="Unknown",c.Documents="Documents",c.Age="Age",c.Pep="Pep",c.Sanction="Sanction",c.Aml="Aml",c.ProofOfAddress="ProofOfAddress",c.SourceOfWealth="SourceOfWealth",c.SocialMedia="SocialMedia",c.Biometric="Biometric"})(_||(_={}));const g=c=>{c.data&&c.data.type};Br(()=>(window.addEventListener("message",g),Ei(),()=>{window.removeEventListener("message",g)}));const p=[W.InProgress,W.Referred,W.AwaitingForResponse],y=()=>{let c=a;if(c)return fetch(c).then(x=>x.json()).then(x=>{Object.keys(x).forEach(C=>{fr(C,x[C])})}).catch(x=>{console.log(x)})};Object.keys(hr).forEach(c=>{fr(c,hr[c])});const v=()=>{qo(s)},E=()=>{r(18,H=R());const c=new URL(`${o}/v1/player/${h}/verification/GetKYCCustomerStatus?language=${s}`),x=new Headers;x.append("accept","application/json"),x.append("Content-Type","application/json"),x.append("x-sessionid",`${m}`),x.append("X-Client-Request-Timestamp",_r.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const C={method:"POST",headers:x,body:JSON.stringify({})};r(7,se=!0),fetch(c,C).then(j=>j.json()).then(j=>{const de=S(j==null?void 0:j.Verifications);N=F(de),N.VerificationStatuses.forEach(Xe=>{Xe.VerificationUrlType!=="Widget"&&d.add(Xe.Vendor)}),r(3,T=ue())}).finally(()=>r(7,se=!1))},S=c=>c?c.sort((x,C)=>new Date(C.Created).getTime()-new Date(x.Created).getTime()):[],D=()=>{n&&E()},R=()=>{let c=(f||n).split(".")[1];if(c){let x=JSON.parse(atob(c));return x.cdn+"/cashier/operator-assets/"+(x==null?void 0:x.mid)}return""},F=c=>{var C;if(!c||!c.length)return{VerificationSummaryStatus:W.Unverified,VerificationStatuses:[]};const x=he(c);if(x&&x.length){const j=z(x);return{VerificationSummaryStatus:j.Status,VerificationUrl:(C=j.Flags)==null?void 0:C.DeferredUrlKey,VerificationStatuses:Z(x,j.Status)}}else return{VerificationSummaryStatus:c.some(de=>de.Status===W.Failed)?W.Failed:W.Verified,VerificationStatuses:Z(c,[W.Failed])}},z=c=>c.reduce((x,C)=>x?new Date(x)<new Date(C)?C:x:C,0),Z=(c,x)=>c.filter(C=>x.includes(C.Status)).map(C=>{var j,de;return{Type:C.Type,Vendor:C.VendorName,VerificationDocuments:C.Documents?[...C.Documents]:[],VerificationUrlType:(j=C.FlowInfo)==null?void 0:j.Type,VerificationUrl:(de=C.FlowInfo)==null?void 0:de.Url}}),he=c=>c.filter(x=>p.includes(x.Status)?x.FlowInfo&&x.FlowInfo.Url||ae(x)||ve(x):!1),ae=c=>{const x=c.Documents&&c.VendorName===B.Manual,C=c.Documents&&c.Documents.some(j=>j.Status===fe.Requested);return x&&C},ve=c=>c.VendorName===B.ShuftiPro&&c.Status===W.Referred,ue=()=>{switch(N.VerificationSummaryStatus){case W.InProgress:const c=[];return d.forEach(x=>{c.push(Y(x))}),c;case W.Referred:return[i("verification.idenfy.referred-awaiting")];case W.Failed:return[i("verification.message.failed")]}},Y=c=>{const x=N.VerificationStatuses.filter(C=>C.Vendor===c);if(c===B.ShuftiPro)return ie(x);{const C=i("verification.idenfy.link-name"),j={link:`<a href="${x[0].VerificationUrl}" target="_blank">${C}</a>`};return i("verification.idenfy.in-progress",{values:j})}},ie=c=>{const x=[],C={},j=[_.Biometric,_.Documents,_.ProofOfAddress];c.forEach(be=>{j.includes(be.Type)&&(x.push(be.Type),C[be.Type]=ge(be,we(be.Type)))});let de=x.every(be=>I.has(be)),Xe=`verification.shuftipro.in-progress.${x.sort().join(".")}`;return de?i("verification.shuftipro.validations-started"):i(Xe,{values:C})},ge=(c,x)=>`<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${x}</a>`,we=c=>i(`verification.shuftipro.link-name.${c}`),wi=()=>{r(4,O=!O)},Ei=()=>{r(5,L=!hs(V))},Si=()=>{q=H+"/"+s+"/"+_s;try{fetch(q,{method:"HEAD"}).then(c=>{r(6,P=c.ok)})}catch(c){r(6,P=!1)}},Ti=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:q}}}))};function Oi(c){it[c?"unshift":"push"](()=>{w=c,r(2,w)})}return e.$$set=c=>{"endpoint"in c&&r(11,o=c.endpoint),"lang"in c&&r(12,s=c.lang),"translationurl"in c&&r(13,a=c.translationurl),"clientstyling"in c&&r(0,u=c.clientstyling),"clientstylingurl"in c&&r(1,l=c.clientstylingurl),"session"in c&&r(14,f=c.session),"customerid"in c&&r(15,h=c.customerid),"playersession"in c&&r(16,m=c.playersession),"mbsource"in c&&r(17,b=c.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&4096&&s&&v(),e.$$.dirty[0]&83968&&o&&f&&m&&E(),e.$$.dirty[0]&83968&&o&&!f&&m&&D(),e.$$.dirty[0]&8192&&a&&y(),e.$$.dirty[0]&5&&u&&w&&ci(w,u),e.$$.dirty[0]&6&&l&&w&&fi(w,l),e.$$.dirty[0]&262144&&H&&Si(),e.$$.dirty[0]&131076&&b&&w&&hi(w,`${b}.Style`,re)},[u,l,w,T,O,L,P,se,i,wi,Ti,o,s,a,f,h,m,b,H,Oi]}class xi extends Nr{constructor(t){super(),Lr(this,t,xs,ys,kt,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},vs,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),K()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),K()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),K()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),K()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),K()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),K()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),K()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),K()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),K()}}Dr(xi,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);const ws=Object.freeze(Object.defineProperty({__proto__:null,default:xi},Symbol.toStringTag,{value:"Module"}));exports.CashierVerifications_ce=ws;exports.SvelteComponent=Nr;exports.add_iframe_resize_listener=Gi;exports.add_render_callback=nt;exports.append=G;exports.append_styles=Hr;exports.attr=$;exports.binding_callbacks=it;exports.check_outros=Zi;exports.create_custom_element=Dr;exports.create_slot=Li;exports.detach=te;exports.element=X;exports.flush=K;exports.get_all_dirty_from_scope=Ni;exports.get_slot_changes=Ii;exports.group_outros=Yi;exports.init=Lr;exports.insert=oe;exports.listen=Re;exports.noop=ee;exports.onMount=Br;exports.safe_not_equal=kt;exports.setClientStyling=ci;exports.setClientStylingURL=fi;exports.setStreamStyling=hi;exports.space=ye;exports.svg_element=De;exports.tick=Wi;exports.toggle_class=le;exports.transition_in=Cr;exports.transition_out=Ji;exports.update_slot_base=Di;
|
|
20
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function It(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ht=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,i,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=$t(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(d){t={error:d}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(ce(f))try{f()}catch(d){o=d instanceof xt?d.errors:[d]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=$t(h),b=m.next();!b.done;b=m.next()){var w=b.value;try{dr(w)}catch(d){o=o!=null?o:[],d instanceof xt?o=Lt(Lt([],Ct(o)),Ct(d.errors)):o.push(d)}}}catch(d){i={error:d}}finally{try{b&&!b.done&&(n=m.return)&&n.call(m)}finally{if(i)throw i.error}}}if(o)throw new xt(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&It(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&It(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),pi=ht.EMPTY;function mi(e){return e instanceof ht||e&&"closed"in e&&ce(e.remove)&&ce(e.add)&&ce(e.unsubscribe)}function dr(e){ce(e)?e():e.unsubscribe()}var Qo={Promise:void 0},Ko={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,Lt([e,t],Ct(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function es(e){Ko.setTimeout(function(){throw e})}function pr(){}function rt(e){e()}var vi=function(e){We(t,e);function t(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,mi(r)&&r.add(i)):i.destination=is,i}return t.create=function(r,i,n){return new Dt(r,i,n)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ht),ts=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(i){Je(i)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(i){Je(i)}else Je(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Je(r)}},e}(),Dt=function(e){We(t,e);function t(r,i,n){var o=e.call(this)||this,s;return ce(r)||!r?s={next:r!=null?r:void 0,error:i!=null?i:void 0,complete:n!=null?n:void 0}:s=r,o.destination=new ts(s),o}return t}(vi);function Je(e){es(e)}function rs(e){throw e}var is={closed:!0,next:pr,error:rs,complete:pr},ns=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function os(e){return e}function ss(e){return e.length===0?os:e.length===1?e[0]:function(r){return e.reduce(function(i,n){return n(i)},r)}}var mr=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,i){var n=this,o=us(t)?t:new Dt(t,r,i);return rt(function(){var s=n,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var i=this;return r=vr(r),new r(function(n,o){var s=new Dt({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:n});i.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ns]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ss(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=vr(t),new t(function(i,n){var o;r.subscribe(function(s){return o=s},function(s){return n(s)},function(){return i(o)})})},e.create=function(t){return new e(t)},e}();function vr(e){var t;return(t=e!=null?e:Qo.Promise)!==null&&t!==void 0?t:Promise}function as(e){return e&&ce(e.next)&&ce(e.error)&&ce(e.complete)}function us(e){return e&&e instanceof vi||as(e)&&mi(e)}var ls=di(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),gi=function(e){We(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var i=new gr(this,this);return i.operator=r,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new ls},t.prototype.next=function(r){var i=this;rt(function(){var n,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var s=$t(i.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var i=this;rt(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=r;for(var n=i.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;rt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var i=r.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var i=this,n=this,o=n.hasError,s=n.isStopped,a=n.observers;return o||s?pi:(this.currentObservers=null,a.push(r),new ht(function(){i.currentObservers=null,It(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var i=this,n=i.hasError,o=i.thrownError,s=i.isStopped;n?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new mr;return r.source=this,r},t.create=function(r,i){return new gr(r,i)},t}(mr),gr=function(e){We(t,e);function t(r,i){var n=e.call(this)||this;return n.destination=r,n.source=i,n}return t.prototype.next=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,r)},t.prototype.error=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,r)},t.prototype.complete=function(){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||i===void 0||i.call(r)},t.prototype._subscribe=function(r){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(r))!==null&&n!==void 0?n:pi},t}(gi),bi={now:function(){return(bi.delegate||Date).now()},delegate:void 0},cs=function(e){We(t,e);function t(r,i,n){r===void 0&&(r=1/0),i===void 0&&(i=1/0),n===void 0&&(n=bi);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=i,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(r){var i=this,n=i.isStopped,o=i._buffer,s=i._infiniteTimeWindow,a=i._timestampProvider,u=i._windowTime;n||(o.push(r),!s&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(r),n=this,o=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),u=0;u<a.length&&!r.closed;u+=o?1:2)r.next(a[u]);return this._checkFinalizedStatuses(r),i},t.prototype._trimBuffer=function(){var r=this,i=r._bufferSize,n=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*i;if(i<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var u=n.now(),l=0,f=1;f<o.length&&o[f]<=u;f+=2)l=f;l&&o.splice(0,l+1)}},t}(gi);const br=[],yr={},fs=(e,t=0)=>{if(br.indexOf(e)==-1){const r=new cs(t);yr[e]=r,br.push(e)}return yr[e]};window.emWidgets={topic:fs};const hs=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierModal-BvdqK9BG.cjs")).then(({default:t})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",t.element)})}var yi={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kr,function(){var r=1e3,i=6e4,n=36e5,o="millisecond",s="second",a="minute",u="hour",l="day",f="week",h="month",m="quarter",b="year",w="date",d="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,N=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,H={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var g=["th","st","nd","rd"],p=_%100;return"["+_+(g[(p-20)%10]||g[p]||g[0])+"]"}},T=function(_,g,p){var y=String(_);return!y||y.length>=g?_:""+Array(g+1-y.length).join(p)+_},O={s:T,z:function(_){var g=-_.utcOffset(),p=Math.abs(g),y=Math.floor(p/60),v=p%60;return(g<=0?"+":"-")+T(y,2,"0")+":"+T(v,2,"0")},m:function _(g,p){if(g.date()<p.date())return-_(p,g);var y=12*(p.year()-g.year())+(p.month()-g.month()),v=g.clone().add(y,h),E=p-v<0,S=g.clone().add(y+(E?-1:1),h);return+(-(y+(p-v)/(E?v-S:S-v))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:h,y:b,w:f,d:l,D:w,h:u,m:a,s,ms:o,Q:m}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},L="en",P={};P[L]=H;var q="$isDayjsObject",se=function(_){return _ instanceof fe||!(!_||!_[q])},re=function _(g,p,y){var v;if(!g)return L;if(typeof g=="string"){var E=g.toLowerCase();P[E]&&(v=E),p&&(P[E]=p,v=E);var S=g.split("-");if(!v&&S.length>1)return _(S[0])}else{var D=g.name;P[D]=g,v=D}return!y&&v&&(L=v),v||!y&&L},V=function(_,g){if(se(_))return _.clone();var p=typeof g=="object"?g:{};return p.date=_,p.args=arguments,new fe(p)},B=O;B.l=re,B.i=se,B.w=function(_,g){return V(_,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var fe=function(){function _(p){this.$L=re(p.locale,null,!0),this.parse(p),this.$x=this.$x||p.x||{},this[q]=!0}var g=_.prototype;return g.parse=function(p){this.$d=function(y){var v=y.date,E=y.utc;if(v===null)return new Date(NaN);if(B.u(v))return new Date;if(v instanceof Date)return new Date(v);if(typeof v=="string"&&!/Z$/i.test(v)){var S=v.match(I);if(S){var D=S[2]-1||0,R=(S[7]||"0").substring(0,3);return E?new Date(Date.UTC(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,R)):new Date(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,R)}}return new Date(v)}(p),this.init()},g.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},g.$utils=function(){return B},g.isValid=function(){return this.$d.toString()!==d},g.isSame=function(p,y){var v=V(p);return this.startOf(y)<=v&&v<=this.endOf(y)},g.isAfter=function(p,y){return V(p)<this.startOf(y)},g.isBefore=function(p,y){return this.endOf(y)<V(p)},g.$g=function(p,y,v){return B.u(p)?this[y]:this.set(v,p)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(p,y){var v=this,E=!!B.u(y)||y,S=B.p(p),D=function(ue,Y){var ie=B.w(v.$u?Date.UTC(v.$y,Y,ue):new Date(v.$y,Y,ue),v);return E?ie:ie.endOf(l)},R=function(ue,Y){return B.w(v.toDate()[ue].apply(v.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(Y)),v)},F=this.$W,z=this.$M,Z=this.$D,he="set"+(this.$u?"UTC":"");switch(S){case b:return E?D(1,0):D(31,11);case h:return E?D(1,z):D(0,z+1);case f:var ae=this.$locale().weekStart||0,ve=(F<ae?F+7:F)-ae;return D(E?Z-ve:Z+(6-ve),z);case l:case w:return R(he+"Hours",0);case u:return R(he+"Minutes",1);case a:return R(he+"Seconds",2);case s:return R(he+"Milliseconds",3);default:return this.clone()}},g.endOf=function(p){return this.startOf(p,!1)},g.$set=function(p,y){var v,E=B.p(p),S="set"+(this.$u?"UTC":""),D=(v={},v[l]=S+"Date",v[w]=S+"Date",v[h]=S+"Month",v[b]=S+"FullYear",v[u]=S+"Hours",v[a]=S+"Minutes",v[s]=S+"Seconds",v[o]=S+"Milliseconds",v)[E],R=E===l?this.$D+(y-this.$W):y;if(E===h||E===b){var F=this.clone().set(w,1);F.$d[D](R),F.init(),this.$d=F.set(w,Math.min(this.$D,F.daysInMonth())).$d}else D&&this.$d[D](R);return this.init(),this},g.set=function(p,y){return this.clone().$set(p,y)},g.get=function(p){return this[B.p(p)]()},g.add=function(p,y){var v,E=this;p=Number(p);var S=B.p(y),D=function(z){var Z=V(E);return B.w(Z.date(Z.date()+Math.round(z*p)),E)};if(S===h)return this.set(h,this.$M+p);if(S===b)return this.set(b,this.$y+p);if(S===l)return D(1);if(S===f)return D(7);var R=(v={},v[a]=i,v[u]=n,v[s]=r,v)[S]||1,F=this.$d.getTime()+p*R;return B.w(F,this)},g.subtract=function(p,y){return this.add(-1*p,y)},g.format=function(p){var y=this,v=this.$locale();if(!this.isValid())return v.invalidDate||d;var E=p||"YYYY-MM-DDTHH:mm:ssZ",S=B.z(this),D=this.$H,R=this.$m,F=this.$M,z=v.weekdays,Z=v.months,he=v.meridiem,ae=function(Y,ie,ge,we){return Y&&(Y[ie]||Y(y,E))||ge[ie].slice(0,we)},ve=function(Y){return B.s(D%12||12,Y,"0")},ue=he||function(Y,ie,ge){var we=Y<12?"AM":"PM";return ge?we.toLowerCase():we};return E.replace(N,function(Y,ie){return ie||function(ge){switch(ge){case"YY":return String(y.$y).slice(-2);case"YYYY":return B.s(y.$y,4,"0");case"M":return F+1;case"MM":return B.s(F+1,2,"0");case"MMM":return ae(v.monthsShort,F,Z,3);case"MMMM":return ae(Z,F);case"D":return y.$D;case"DD":return B.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return ae(v.weekdaysMin,y.$W,z,2);case"ddd":return ae(v.weekdaysShort,y.$W,z,3);case"dddd":return z[y.$W];case"H":return String(D);case"HH":return B.s(D,2,"0");case"h":return ve(1);case"hh":return ve(2);case"a":return ue(D,R,!0);case"A":return ue(D,R,!1);case"m":return String(R);case"mm":return B.s(R,2,"0");case"s":return String(y.$s);case"ss":return B.s(y.$s,2,"0");case"SSS":return B.s(y.$ms,3,"0");case"Z":return S}return null}(Y)||S.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(p,y,v){var E,S=this,D=B.p(y),R=V(p),F=(R.utcOffset()-this.utcOffset())*i,z=this-R,Z=function(){return B.m(S,R)};switch(D){case b:E=Z()/12;break;case h:E=Z();break;case m:E=Z()/3;break;case f:E=(z-F)/6048e5;break;case l:E=(z-F)/864e5;break;case u:E=z/n;break;case a:E=z/i;break;case s:E=z/r;break;default:E=z}return v?E:B.a(E)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return P[this.$L]},g.locale=function(p,y){if(!p)return this.$L;var v=this.clone(),E=re(p,y,!0);return E&&(v.$L=E),v},g.clone=function(){return B.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},_}(),W=fe.prototype;return V.prototype=W,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",h],["$y",b],["$D",w]].forEach(function(_){W[_[1]]=function(g){return this.$g(g,_[0],_[1])}}),V.extend=function(_,g){return _.$i||(_(g,fe,V),_.$i=!0),V},V.locale=re,V.isDayjs=se,V.unix=function(_){return V(1e3*_)},V.en=P[L],V.Ls=P,V.p={},V})})(yi);var ds=yi.exports;const _r=Ut(ds);var _i={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kr,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,s,a){var u=s.prototype;a.utc=function(d){var I={date:d,utc:!0,args:arguments};return new s(I)},u.utc=function(d){var I=a(this.toDate(),{locale:this.$L,utc:!0});return d?I.add(this.utcOffset(),r):I},u.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=u.parse;u.parse=function(d){d.utc&&(this.$u=!0),this.$utils().u(d.$offset)||(this.$offset=d.$offset),l.call(this,d)};var f=u.init;u.init=function(){if(this.$u){var d=this.$d;this.$y=d.getUTCFullYear(),this.$M=d.getUTCMonth(),this.$D=d.getUTCDate(),this.$W=d.getUTCDay(),this.$H=d.getUTCHours(),this.$m=d.getUTCMinutes(),this.$s=d.getUTCSeconds(),this.$ms=d.getUTCMilliseconds()}else f.call(this)};var h=u.utcOffset;u.utcOffset=function(d,I){var N=this.$utils().u;if(N(d))return this.$u?0:N(this.$offset)?h.call(this):this.$offset;if(typeof d=="string"&&(d=function(L){L===void 0&&(L="");var P=L.match(i);if(!P)return null;var q=(""+P[0]).match(n)||["-",0,0],se=q[0],re=60*+q[1]+ +q[2];return re===0?0:se==="+"?re:-re}(d),d===null))return this;var H=Math.abs(d)<=16?60*d:d,T=this;if(I)return T.$offset=H,T.$u=d===0,T;if(d!==0){var O=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(T=this.local().add(H+O,r)).$offset=H,T.$x.$localOffset=O}else T=this.utc();return T};var m=u.format;u.format=function(d){var I=d||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,I)},u.valueOf=function(){var d=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*d},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var b=u.toDate;u.toDate=function(d){return d==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():b.call(this)};var w=u.diff;u.diff=function(d,I,N){if(d&&this.$u===d.$u)return w.call(this,d,I,N);var H=this.local(),T=a(d).local();return w.call(H,T,I,N)}}})})(_i);var ps=_i.exports;const ms=Ut(ps);function vs(e){Hr(e,"svelte-etf668",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}')}function xr(e,t,r){const i=e.slice();return i[53]=t[r],i}function gs(e){let t,r=e[3].length>0&&wr(e);return{c(){t=X("div"),r&&r.c(),$(t,"class","CashierVerificationsWrapper")},m(i,n){oe(i,t,n),r&&r.m(t,null)},p(i,n){i[3].length>0?r?r.p(i,n):(r=wr(i),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(i){i&&te(t),r&&r.d()}}}function bs(e){let t;return{c(){t=X("cashier-spinner"),qe(t,"clientstylingurl",e[1]),qe(t,"clientstyling",e[0])},m(r,i){oe(r,t,i)},p(r,i){i[0]&2&&qe(t,"clientstylingurl",r[1]),i[0]&1&&qe(t,"clientstyling",r[0])},d(r){r&&te(t)}}}function wr(e){let t,r,i,n,o,s,a,u=e[8]("verificationsRequired")+"",l,f,h,m,b,w,d,I,N=Zt(e[3]),H=[];for(let O=0;O<N.length;O+=1)H[O]=Er(xr(e,N,O));let T=e[6]&&Sr(e);return{c(){t=X("div"),r=De("svg"),i=De("path"),n=De("path"),o=De("path"),s=ye(),a=X("p"),l=Rt(u),f=ye(),h=X("span"),h.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',m=ye(),b=X("div");for(let O=0;O<H.length;O+=1)H[O].c();w=ye(),T&&T.c(),$(i,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),$(i,"stroke","#6E738F"),$(i,"stroke-width","2"),$(i,"stroke-linecap","round"),$(i,"stroke-linejoin","round"),$(n,"d","M12 8V12"),$(n,"stroke","#6E738F"),$(n,"stroke-width","2"),$(n,"stroke-linecap","round"),$(n,"stroke-linejoin","round"),$(o,"d","M12 16H12.01"),$(o,"stroke","#6E738F"),$(o,"stroke-width","2"),$(o,"stroke-linecap","round"),$(o,"stroke-linejoin","round"),$(r,"width","24"),$(r,"height","24"),$(r,"viewBox","0 0 24 24"),$(r,"fill","none"),$(r,"xmlns","http://www.w3.org/2000/svg"),$(h,"class","CashierVerificationChevron"),le(h,"ShowVerifications",e[4]),$(t,"class","VerificationsHeader"),$(b,"class","VerificationsList"),le(b,"ShowVerifications",e[4])},m(O,L){oe(O,t,L),G(t,r),G(r,i),G(r,n),G(r,o),G(t,s),G(t,a),G(a,l),G(t,f),G(t,h),oe(O,m,L),oe(O,b,L);for(let P=0;P<H.length;P+=1)H[P]&&H[P].m(b,null);G(b,w),T&&T.m(b,null),d||(I=Re(t,"click",e[9]),d=!0)},p(O,L){if(L[0]&256&&u!==(u=O[8]("verificationsRequired")+"")&&Ar(l,u),L[0]&16&&le(h,"ShowVerifications",O[4]),L[0]&8){N=Zt(O[3]);let P;for(P=0;P<N.length;P+=1){const q=xr(O,N,P);H[P]?H[P].p(q,L):(H[P]=Er(q),H[P].c(),H[P].m(b,w))}for(;P<H.length;P+=1)H[P].d(1);H.length=N.length}O[6]?T?T.p(O,L):(T=Sr(O),T.c(),T.m(b,null)):T&&(T.d(1),T=null),L[0]&16&&le(b,"ShowVerifications",O[4])},d(O){O&&(te(t),te(m),te(b)),Ui(H,O),T&&T.d(),d=!1,I()}}}function Er(e){let t,r,i,n,o=e[53]+"";return{c(){t=X("div"),r=X("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',i=ye(),n=X("p"),$(r,"class","IconVerification"),$(n,"class","text"),$(t,"class","CashierVerificationMessage Test")},m(s,a){oe(s,t,a),G(t,r),G(t,i),G(t,n),n.innerHTML=o},p(s,a){a[0]&8&&o!==(o=s[53]+"")&&(n.innerHTML=o)},d(s){s&&te(t)}}}function Sr(e){let t,r,i,n,o=e[8]("verification.video.how-to")+"",s,a,u;return{c(){t=X("div"),r=X("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',i=ye(),n=X("div"),s=Rt(o),$(r,"class","IconVideo"),$(n,"class","CashierVerificationVideoLink"),le(n,"CashierVerificationVideoLinkDesktop",e[5]),$(t,"class","CashierVerificationVideo Test")},m(l,f){oe(l,t,f),G(t,r),G(t,i),G(t,n),G(n,s),a||(u=Re(t,"click",e[10]),a=!0)},p(l,f){f[0]&256&&o!==(o=l[8]("verification.video.how-to")+"")&&Ar(s,o),f[0]&32&&le(n,"CashierVerificationVideoLinkDesktop",l[5])},d(l){l&&te(t),a=!1,u()}}}function ys(e){let t;function r(o,s){if(o[7])return bs;if(o[3])return gs}let i=r(e),n=i&&i(e);return{c(){t=X("div"),n&&n.c(),$(t,"class","CashierVerifications"),le(t,"CashierVerificationsDesktop",e[5])},m(o,s){oe(o,t,s),n&&n.m(t,null),e[19](t)},p(o,s){i===(i=r(o))&&n?n.p(o,s):(n&&n.d(1),n=i&&i(o),n&&(n.c(),n.m(t,null))),s[0]&32&&le(t,"CashierVerificationsDesktop",o[5])},i:ee,o:ee,d(o){o&&te(t),n&&n.d(),e[19](null)}}}const _s="verification_explanation_video_widgets.MP4";function xs(e,t,r){let i,n;qt(e,Xo,c=>r(8,i=c)),qt(e,Yo,c=>r(27,n=c)),_r.extend(ms);let{endpoint:o}=t,{lang:s="en"}=t,{translationurl:a=""}=t,{clientstyling:u=""}=t,{clientstylingurl:l=""}=t,{session:f=""}=t,{customerid:h=""}=t,{playersession:m=""}=t,{mbsource:b=""}=t,w,d=new Set,I=new Set,N,H,T,O=!1,L=!0,P=!1,q="",se=!1,re,V=window.navigator.userAgent;var B;(function(c){c.Manual="Manual",c.ShuftiPro="ShuftiPro"})(B||(B={}));var fe;(function(c){c.Requested="Requested"})(fe||(fe={}));var W;(function(c){c.Unknown="Unknown",c.Unverified="Unverified",c.InProgress="InProgress",c.Failed="Failed",c.Verified="Verified",c.Referred="Referred",c.True="True",c.False="False",c.AwaitingForResponse="AwaitingForResponse"})(W||(W={}));var _;(function(c){c.Unknown="Unknown",c.Documents="Documents",c.Age="Age",c.Pep="Pep",c.Sanction="Sanction",c.Aml="Aml",c.ProofOfAddress="ProofOfAddress",c.SourceOfWealth="SourceOfWealth",c.SocialMedia="SocialMedia",c.Biometric="Biometric"})(_||(_={}));const g=c=>{c.data&&c.data.type};Br(()=>(window.addEventListener("message",g),Ei(),()=>{window.removeEventListener("message",g)}));const p=[W.InProgress,W.Referred,W.AwaitingForResponse],y=()=>{let c=a;if(c)return fetch(c).then(x=>x.json()).then(x=>{Object.keys(x).forEach(C=>{fr(C,x[C])})}).catch(x=>{console.log(x)})};Object.keys(hr).forEach(c=>{fr(c,hr[c])});const v=()=>{qo(s)},E=()=>{r(18,H=R());const c=new URL(`${o}/v1/player/${h}/verification/GetKYCCustomerStatus?language=${s}`),x=new Headers;x.append("accept","application/json"),x.append("Content-Type","application/json"),x.append("x-sessionid",`${m}`),x.append("X-Client-Request-Timestamp",_r.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const C={method:"POST",headers:x,body:JSON.stringify({})};r(7,se=!0),fetch(c,C).then(j=>j.json()).then(j=>{const de=S(j==null?void 0:j.Verifications);N=F(de),N.VerificationStatuses.forEach(Xe=>{Xe.VerificationUrlType!=="Widget"&&d.add(Xe.Vendor)}),r(3,T=ue())}).finally(()=>r(7,se=!1))},S=c=>c?c.sort((x,C)=>new Date(C.Created).getTime()-new Date(x.Created).getTime()):[],D=()=>{n&&E()},R=()=>{let c=(f||n).split(".")[1];if(c){let x=JSON.parse(atob(c));return x.cdn+"/cashier/operator-assets/"+(x==null?void 0:x.mid)}return""},F=c=>{var C;if(!c||!c.length)return{VerificationSummaryStatus:W.Unverified,VerificationStatuses:[]};const x=he(c);if(x&&x.length){const j=z(x);return{VerificationSummaryStatus:j.Status,VerificationUrl:(C=j.Flags)==null?void 0:C.DeferredUrlKey,VerificationStatuses:Z(x,j.Status)}}else return{VerificationSummaryStatus:c.some(de=>de.Status===W.Failed)?W.Failed:W.Verified,VerificationStatuses:Z(c,[W.Failed])}},z=c=>c.reduce((x,C)=>x?new Date(x)<new Date(C)?C:x:C,0),Z=(c,x)=>c.filter(C=>x.includes(C.Status)).map(C=>{var j,de;return{Type:C.Type,Vendor:C.VendorName,VerificationDocuments:C.Documents?[...C.Documents]:[],VerificationUrlType:(j=C.FlowInfo)==null?void 0:j.Type,VerificationUrl:(de=C.FlowInfo)==null?void 0:de.Url}}),he=c=>c.filter(x=>p.includes(x.Status)?x.FlowInfo&&x.FlowInfo.Url||ae(x)||ve(x):!1),ae=c=>{const x=c.Documents&&c.VendorName===B.Manual,C=c.Documents&&c.Documents.some(j=>j.Status===fe.Requested);return x&&C},ve=c=>c.VendorName===B.ShuftiPro&&c.Status===W.Referred,ue=()=>{switch(N.VerificationSummaryStatus){case W.InProgress:const c=[];return d.forEach(x=>{c.push(Y(x))}),c;case W.Referred:return[i("verification.idenfy.referred-awaiting")];case W.Failed:return[i("verification.message.failed")]}},Y=c=>{const x=N.VerificationStatuses.filter(C=>C.Vendor===c);if(c===B.ShuftiPro)return ie(x);{const C=i("verification.idenfy.link-name"),j={link:`<a href="${x[0].VerificationUrl}" target="_blank">${C}</a>`};return i("verification.idenfy.in-progress",{values:j})}},ie=c=>{const x=[],C={},j=[_.Biometric,_.Documents,_.ProofOfAddress];c.forEach(be=>{j.includes(be.Type)&&(x.push(be.Type),C[be.Type]=ge(be,we(be.Type)))});let de=x.every(be=>I.has(be)),Xe=`verification.shuftipro.in-progress.${x.sort().join(".")}`;return de?i("verification.shuftipro.validations-started"):i(Xe,{values:C})},ge=(c,x)=>`<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${x}</a>`,we=c=>i(`verification.shuftipro.link-name.${c}`),wi=()=>{r(4,O=!O)},Ei=()=>{r(5,L=!hs(V))},Si=()=>{q=H+"/"+s+"/"+_s;try{fetch(q,{method:"HEAD"}).then(c=>{r(6,P=c.ok)})}catch(c){r(6,P=!1)}},Ti=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:q}}}))};function Oi(c){it[c?"unshift":"push"](()=>{w=c,r(2,w)})}return e.$$set=c=>{"endpoint"in c&&r(11,o=c.endpoint),"lang"in c&&r(12,s=c.lang),"translationurl"in c&&r(13,a=c.translationurl),"clientstyling"in c&&r(0,u=c.clientstyling),"clientstylingurl"in c&&r(1,l=c.clientstylingurl),"session"in c&&r(14,f=c.session),"customerid"in c&&r(15,h=c.customerid),"playersession"in c&&r(16,m=c.playersession),"mbsource"in c&&r(17,b=c.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&4096&&s&&v(),e.$$.dirty[0]&83968&&o&&f&&m&&E(),e.$$.dirty[0]&83968&&o&&!f&&m&&D(),e.$$.dirty[0]&8192&&a&&y(),e.$$.dirty[0]&5&&u&&w&&ci(w,u),e.$$.dirty[0]&6&&l&&w&&fi(w,l),e.$$.dirty[0]&262144&&H&&Si(),e.$$.dirty[0]&131076&&b&&w&&hi(w,`${b}.Style`,re)},[u,l,w,T,O,L,P,se,i,wi,Ti,o,s,a,f,h,m,b,H,Oi]}class xi extends Nr{constructor(t){super(),Lr(this,t,xs,ys,kt,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},vs,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),K()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),K()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),K()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),K()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),K()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),K()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),K()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),K()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),K()}}Dr(xi,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);const ws=Object.freeze(Object.defineProperty({__proto__:null,default:xi},Symbol.toStringTag,{value:"Module"}));exports.CashierVerifications_ce=ws;exports.SvelteComponent=Nr;exports.add_iframe_resize_listener=Gi;exports.add_render_callback=nt;exports.append=G;exports.append_styles=Hr;exports.attr=$;exports.binding_callbacks=it;exports.check_outros=Zi;exports.create_custom_element=Dr;exports.create_slot=Li;exports.detach=te;exports.element=X;exports.flush=K;exports.get_all_dirty_from_scope=Ni;exports.get_slot_changes=Ii;exports.group_outros=Yi;exports.init=Lr;exports.insert=oe;exports.listen=Re;exports.noop=ee;exports.onMount=Br;exports.safe_not_equal=kt;exports.setClientStyling=ci;exports.setClientStylingURL=fi;exports.setStreamStyling=hi;exports.space=ye;exports.svg_element=De;exports.tick=Wi;exports.toggle_class=le;exports.transition_in=Cr;exports.transition_out=Ji;exports.update_slot_base=Di;
|
|
@@ -3963,7 +3963,7 @@ function Bo(e, t) {
|
|
|
3963
3963
|
if (!e)
|
|
3964
3964
|
return;
|
|
3965
3965
|
const i = e.getRootNode(), n = window[Ee];
|
|
3966
|
-
let o = n[t]
|
|
3966
|
+
let o = n[t] && n[t].sheet;
|
|
3967
3967
|
o ? n[t].refCount = n[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), n[t] = {
|
|
3968
3968
|
sheet: o,
|
|
3969
3969
|
refCount: 1
|
|
@@ -4507,7 +4507,7 @@ if (typeof window < "u") {
|
|
|
4507
4507
|
}
|
|
4508
4508
|
};
|
|
4509
4509
|
};
|
|
4510
|
-
customElements.define = e(customElements.define), import("./CashierModal-
|
|
4510
|
+
customElements.define = e(customElements.define), import("./CashierModal-ByooOQTu.js").then(({ default: t }) => {
|
|
4511
4511
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
|
|
4512
4512
|
});
|
|
4513
4513
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-CAWqbSSg.cjs")).then(e=>e.CashierVerifications_ce).then(({default:e})=>{!customElements.get("cashier-verifications")&&customElements.define("cashier-verifications",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierVerifications-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierVerifications-B6BokUMV.js").then((e) => e.F).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|