@everymatrix/cashier-verifications 1.90.26 → 1.90.28
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-9bZnkOUx.js → CashierModal-CKCmZ_m7.js} +1 -1
- package/components/{CashierModal-DGzmBQH5.js → CashierModal-Cerc1iVi.js} +1 -1
- package/components/{CashierModal-BUyiHrp1.cjs → CashierModal-mvLty-MR.cjs} +1 -1
- package/components/{CashierVerifications-DwmGqqWX.cjs → CashierVerifications-BNo5lH9v.cjs} +1 -1
- package/components/{CashierVerifications-CK-5XmoH.js → CashierVerifications-BVgcQaoW.js} +4 -4
- package/components/{CashierVerifications-BIttzn1o.js → CashierVerifications-D5t73_cL.js} +4 -4
- 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
|
@@ -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-BVgcQaoW.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
|
}
|
|
@@ -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-D5t73_cL.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
|
}
|
|
@@ -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-DwmGqqWX.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-BNo5lH9v.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;
|
|
@@ -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 Ct(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 $t(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 le(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=Ct(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(h){t={error:h}}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(le(f))try{f()}catch(h){o=h instanceof xt?h.errors:[h]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var v=Ct(p),b=v.next();!b.done;b=v.next()){var T=b.value;try{dr(T)}catch(h){o=o!=null?o:[],h instanceof xt?o=Lt(Lt([],$t(o)),$t(h.errors)):o.push(h)}}}catch(h){i={error:h}}finally{try{b&&!b.done&&(n=v.return)&&n.call(v)}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&&le(e.remove)&&le(e.add)&&le(e.unsubscribe)}function dr(e){le(e)?e():e.unsubscribe()}var ts={Promise:void 0},rs={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],$t(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function is(e){rs.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=ss,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),ns=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 le(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 ns(s),o}return t}(vi);function Je(e){is(e)}function os(e){throw e}var ss={closed:!0,next:pr,error:os,complete:pr},as=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function us(e){return e}function ls(e){return e.length===0?us: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=fs(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[as]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ls(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:ts.Promise)!==null&&t!==void 0?t:Promise}function cs(e){return e&&le(e.next)&&le(e.error)&&le(e.complete)}function fs(e){return e&&e instanceof vi||cs(e)&&mi(e)}var hs=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 hs},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=Ct(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},ds=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={},ps=(e,t=0)=>{if(br.indexOf(e)==-1){const r=new ds(t);yr[e]=r,br.push(e)}return yr[e]};window.emWidgets={topic:ps};const ms=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-BUyiHrp1.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",p="month",v="quarter",b="year",T="date",h="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|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(x){var d=["th","st","nd","rd"],m=x%100;return"["+x+(d[(m-20)%10]||d[m]||d[0])+"]"}},E=function(x,d,m){var y=String(x);return!y||y.length>=d?x:""+Array(d+1-y.length).join(m)+x},O={s:E,z:function(x){var d=-x.utcOffset(),m=Math.abs(d),y=Math.floor(m/60),g=m%60;return(d<=0?"+":"-")+E(y,2,"0")+":"+E(g,2,"0")},m:function x(d,m){if(d.date()<m.date())return-x(m,d);var y=12*(m.year()-d.year())+(m.month()-d.month()),g=d.clone().add(y,p),w=m-g<0,S=d.clone().add(y+(w?-1:1),p);return+(-(y+(m-g)/(w?g-S:S-g))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:p,y:b,w:f,d:l,D:T,h:u,m:a,s,ms:o,Q:v}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},$="en",P={};P[$]=H;var X="$isDayjsObject",se=function(x){return x instanceof xe||!(!x||!x[X])},Q=function x(d,m,y){var g;if(!d)return $;if(typeof d=="string"){var w=d.toLowerCase();P[w]&&(g=w),m&&(P[w]=m,g=w);var S=d.split("-");if(!g&&S.length>1)return x(S[0])}else{var D=d.name;P[D]=d,g=D}return!y&&g&&($=g),g||!y&&$},V=function(x,d){if(se(x))return x.clone();var m=typeof d=="object"?d:{};return m.date=x,m.args=arguments,new xe(m)},C=O;C.l=Q,C.i=se,C.w=function(x,d){return V(x,{locale:d.$L,utc:d.$u,x:d.$x,$offset:d.$offset})};var xe=function(){function x(m){this.$L=Q(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[X]=!0}var d=x.prototype;return d.parse=function(m){this.$d=function(y){var g=y.date,w=y.utc;if(g===null)return new Date(NaN);if(C.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var S=g.match(I);if(S){var D=S[2]-1||0,k=(S[7]||"0").substring(0,3);return w?new Date(Date.UTC(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)):new Date(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)}}return new Date(g)}(m),this.init()},d.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},d.$utils=function(){return C},d.isValid=function(){return this.$d.toString()!==h},d.isSame=function(m,y){var g=V(m);return this.startOf(y)<=g&&g<=this.endOf(y)},d.isAfter=function(m,y){return V(m)<this.startOf(y)},d.isBefore=function(m,y){return this.endOf(y)<V(m)},d.$g=function(m,y,g){return C.u(m)?this[y]:this.set(g,m)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(m,y){var g=this,w=!!C.u(y)||y,S=C.p(m),D=function(ae,q){var ie=C.w(g.$u?Date.UTC(g.$y,q,ae):new Date(g.$y,q,ae),g);return w?ie:ie.endOf(l)},k=function(ae,q){return C.w(g.toDate()[ae].apply(g.toDate("s"),(w?[0,0,0,0]:[23,59,59,999]).slice(q)),g)},F=this.$W,z=this.$M,Z=this.$D,fe="set"+(this.$u?"UTC":"");switch(S){case b:return w?D(1,0):D(31,11);case p:return w?D(1,z):D(0,z+1);case f:var re=this.$locale().weekStart||0,me=(F<re?F+7:F)-re;return D(w?Z-me:Z+(6-me),z);case l:case T:return k(fe+"Hours",0);case u:return k(fe+"Minutes",1);case a:return k(fe+"Seconds",2);case s:return k(fe+"Milliseconds",3);default:return this.clone()}},d.endOf=function(m){return this.startOf(m,!1)},d.$set=function(m,y){var g,w=C.p(m),S="set"+(this.$u?"UTC":""),D=(g={},g[l]=S+"Date",g[T]=S+"Date",g[p]=S+"Month",g[b]=S+"FullYear",g[u]=S+"Hours",g[a]=S+"Minutes",g[s]=S+"Seconds",g[o]=S+"Milliseconds",g)[w],k=w===l?this.$D+(y-this.$W):y;if(w===p||w===b){var F=this.clone().set(T,1);F.$d[D](k),F.init(),this.$d=F.set(T,Math.min(this.$D,F.daysInMonth())).$d}else D&&this.$d[D](k);return this.init(),this},d.set=function(m,y){return this.clone().$set(m,y)},d.get=function(m){return this[C.p(m)]()},d.add=function(m,y){var g,w=this;m=Number(m);var S=C.p(y),D=function(z){var Z=V(w);return C.w(Z.date(Z.date()+Math.round(z*m)),w)};if(S===p)return this.set(p,this.$M+m);if(S===b)return this.set(b,this.$y+m);if(S===l)return D(1);if(S===f)return D(7);var k=(g={},g[a]=i,g[u]=n,g[s]=r,g)[S]||1,F=this.$d.getTime()+m*k;return C.w(F,this)},d.subtract=function(m,y){return this.add(-1*m,y)},d.format=function(m){var y=this,g=this.$locale();if(!this.isValid())return g.invalidDate||h;var w=m||"YYYY-MM-DDTHH:mm:ssZ",S=C.z(this),D=this.$H,k=this.$m,F=this.$M,z=g.weekdays,Z=g.months,fe=g.meridiem,re=function(q,ie,ve,Ee){return q&&(q[ie]||q(y,w))||ve[ie].slice(0,Ee)},me=function(q){return C.s(D%12||12,q,"0")},ae=fe||function(q,ie,ve){var Ee=q<12?"AM":"PM";return ve?Ee.toLowerCase():Ee};return w.replace(R,function(q,ie){return ie||function(ve){switch(ve){case"YY":return String(y.$y).slice(-2);case"YYYY":return C.s(y.$y,4,"0");case"M":return F+1;case"MM":return C.s(F+1,2,"0");case"MMM":return re(g.monthsShort,F,Z,3);case"MMMM":return re(Z,F);case"D":return y.$D;case"DD":return C.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return re(g.weekdaysMin,y.$W,z,2);case"ddd":return re(g.weekdaysShort,y.$W,z,3);case"dddd":return z[y.$W];case"H":return String(D);case"HH":return C.s(D,2,"0");case"h":return me(1);case"hh":return me(2);case"a":return ae(D,k,!0);case"A":return ae(D,k,!1);case"m":return String(k);case"mm":return C.s(k,2,"0");case"s":return String(y.$s);case"ss":return C.s(y.$s,2,"0");case"SSS":return C.s(y.$ms,3,"0");case"Z":return S}return null}(q)||S.replace(":","")})},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(m,y,g){var w,S=this,D=C.p(y),k=V(m),F=(k.utcOffset()-this.utcOffset())*i,z=this-k,Z=function(){return C.m(S,k)};switch(D){case b:w=Z()/12;break;case p:w=Z();break;case v:w=Z()/3;break;case f:w=(z-F)/6048e5;break;case l:w=(z-F)/864e5;break;case u:w=z/n;break;case a:w=z/i;break;case s:w=z/r;break;default:w=z}return g?w:C.a(w)},d.daysInMonth=function(){return this.endOf(p).$D},d.$locale=function(){return P[this.$L]},d.locale=function(m,y){if(!m)return this.$L;var g=this.clone(),w=Q(m,y,!0);return w&&(g.$L=w),g},d.clone=function(){return C.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},x}(),ce=xe.prototype;return V.prototype=ce,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",p],["$y",b],["$D",T]].forEach(function(x){ce[x[1]]=function(d){return this.$g(d,x[0],x[1])}}),V.extend=function(x,d){return x.$i||(x(d,xe,V),x.$i=!0),V},V.locale=Q,V.isDayjs=se,V.unix=function(x){return V(1e3*x)},V.en=P[$],V.Ls=P,V.p={},V})})(yi);var vs=yi.exports;const _r=Ut(vs);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(h){var I={date:h,utc:!0,args:arguments};return new s(I)},u.utc=function(h){var I=a(this.toDate(),{locale:this.$L,utc:!0});return h?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(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),l.call(this,h)};var f=u.init;u.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else f.call(this)};var p=u.utcOffset;u.utcOffset=function(h,I){var R=this.$utils().u;if(R(h))return this.$u?0:R(this.$offset)?p.call(this):this.$offset;if(typeof h=="string"&&(h=function($){$===void 0&&($="");var P=$.match(i);if(!P)return null;var X=(""+P[0]).match(n)||["-",0,0],se=X[0],Q=60*+X[1]+ +X[2];return Q===0?0:se==="+"?Q:-Q}(h),h===null))return this;var H=Math.abs(h)<=16?60*h:h,E=this;if(I)return E.$offset=H,E.$u=h===0,E;if(h!==0){var O=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(E=this.local().add(H+O,r)).$offset=H,E.$x.$localOffset=O}else E=this.utc();return E};var v=u.format;u.format=function(h){var I=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return v.call(this,I)},u.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},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(h){return h==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():b.call(this)};var T=u.diff;u.diff=function(h,I,R){if(h&&this.$u===h.$u)return T.call(this,h,I,R);var H=this.local(),E=a(h).local();return T.call(H,E,I,R)}}})})(_i);var gs=_i.exports;const bs=Ut(gs);function ys(e){Hr(e,"svelte-xrv2v8",'*,*::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 .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.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[56]=t[r],i}function _s(e){let t,r=e[3].length>0&&Er(e);return{c(){t=W("div"),r&&r.c(),M(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=Er(i),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(i){i&&te(t),r&&r.d()}}}function xs(e){let t;return{c(){t=W("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 Er(e){let t,r,i,n,o,s,a,u=e[8]("verificationsRequired")+"",l,f,p,v,b,T,h,I,R=Zt(e[3]),H=[];for(let O=0;O<R.length;O+=1)H[O]=wr(xr(e,R,O));let E=e[6]&&Sr(e);return{c(){t=W("div"),r=De("svg"),i=De("path"),n=De("path"),o=De("path"),s=be(),a=W("p"),l=Rt(u),f=be(),p=W("span"),p.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>',v=be(),b=W("div");for(let O=0;O<H.length;O+=1)H[O].c();T=be(),E&&E.c(),M(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"),M(i,"stroke","#6E738F"),M(i,"stroke-width","2"),M(i,"stroke-linecap","round"),M(i,"stroke-linejoin","round"),M(n,"d","M12 8V12"),M(n,"stroke","#6E738F"),M(n,"stroke-width","2"),M(n,"stroke-linecap","round"),M(n,"stroke-linejoin","round"),M(o,"d","M12 16H12.01"),M(o,"stroke","#6E738F"),M(o,"stroke-width","2"),M(o,"stroke-linecap","round"),M(o,"stroke-linejoin","round"),M(r,"width","24"),M(r,"height","24"),M(r,"viewBox","0 0 24 24"),M(r,"fill","none"),M(r,"xmlns","http://www.w3.org/2000/svg"),M(p,"class","CashierVerificationChevron"),ue(p,"ShowVerifications",e[4]),M(t,"class","VerificationsHeader"),M(b,"class","VerificationsList"),ue(b,"ShowVerifications",e[4])},m(O,$){oe(O,t,$),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,p),oe(O,v,$),oe(O,b,$);for(let P=0;P<H.length;P+=1)H[P]&&H[P].m(b,null);G(b,T),E&&E.m(b,null),h||(I=Re(t,"click",e[9]),h=!0)},p(O,$){if($[0]&256&&u!==(u=O[8]("verificationsRequired")+"")&&Ar(l,u),$[0]&16&&ue(p,"ShowVerifications",O[4]),$[0]&8){R=Zt(O[3]);let P;for(P=0;P<R.length;P+=1){const X=xr(O,R,P);H[P]?H[P].p(X,$):(H[P]=wr(X),H[P].c(),H[P].m(b,T))}for(;P<H.length;P+=1)H[P].d(1);H.length=R.length}O[6]?E?E.p(O,$):(E=Sr(O),E.c(),E.m(b,null)):E&&(E.d(1),E=null),$[0]&16&&ue(b,"ShowVerifications",O[4])},d(O){O&&(te(t),te(v),te(b)),Gi(H,O),E&&E.d(),h=!1,I()}}}function wr(e){let t,r,i,n,o=e[56]+"";return{c(){t=W("div"),r=W("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=be(),n=W("p"),M(r,"class","IconVerification"),M(n,"class","text"),M(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[56]+"")&&(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=W("div"),r=W("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=be(),n=W("div"),s=Rt(o),M(r,"class","IconVideo"),M(n,"class","CashierVerificationVideoLink"),ue(n,"CashierVerificationVideoLinkDesktop",e[5]),M(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&&ue(n,"CashierVerificationVideoLinkDesktop",l[5])},d(l){l&&te(t),a=!1,u()}}}function Es(e){let t;function r(o,s){if(o[7])return xs;if(o[3])return _s}let i=r(e),n=i&&i(e);return{c(){t=W("div"),n&&n.c(),M(t,"class","CashierVerifications"),ue(t,"CashierVerificationsDesktop",e[5])},m(o,s){oe(o,t,s),n&&n.m(t,null),e[20](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&&ue(t,"CashierVerificationsDesktop",o[5])},i:ee,o:ee,d(o){o&&te(t),n&&n.d(),e[20](null)}}}const ws="verification_explanation_video_widgets.MP4";function Ss(e,t,r){let i,n;qt(e,Zo,c=>r(8,i=c)),qt(e,Qo,c=>r(29,n=c)),_r.extend(bs);let{endpoint:o}=t,{lang:s="en"}=t,{translationurl:a=""}=t,{clientstyling:u=""}=t,{clientstylingurl:l=""}=t,{session:f=""}=t,{customerid:p=""}=t,{playersession:v=""}=t,{userroles:b=""}=t,{mbsource:T=""}=t,h,I=new Set,R=new Set,H,E,O,$=!1,P=!0,X=!1,se="",Q=!1,V,C=[],xe=window.navigator.userAgent;var ce;(function(c){c.Manual="Manual",c.ShuftiPro="ShuftiPro"})(ce||(ce={}));var x;(function(c){c.Requested="Requested"})(x||(x={}));var d;(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"})(d||(d={}));var m;(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"})(m||(m={}));const y=c=>{c.data&&c.data.type};Br(()=>(window.addEventListener("message",y),Ti(),()=>{window.removeEventListener("message",y)}));const g=[d.InProgress,d.Referred,d.AwaitingForResponse],w=()=>{let c=a;if(c)return fetch(c).then(_=>_.json()).then(_=>{Object.keys(_).forEach(L=>{fr(L,_[L])})}).catch(_=>{console.log(_)})};Object.keys(hr).forEach(c=>{fr(c,hr[c])});const S=()=>{Jo(s)},D=()=>{r(19,E=z());const c=new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`),_=new Headers;_.append("accept","application/json"),_.append("Content-Type","application/json"),_.append("x-sessionid",`${v}`),_.append("X-Client-Request-Timestamp",_r.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),Array.isArray(C)&&C.length>0&&C.indexOf("MM_CHANNEL_BETA")!=-1&&_.append("MM_CHANNEL","BETA");const L={method:"POST",headers:_,body:JSON.stringify({})};r(7,Q=!0),fetch(c,L).then(j=>j.json()).then(j=>{const he=k(j==null?void 0:j.Verifications);H=Z(he),H.VerificationStatuses.forEach(Xe=>{Xe.VerificationUrlType!=="Widget"&&I.add(Xe.Vendor)}),r(3,O=ie())}).finally(()=>r(7,Q=!1))},k=c=>c?c.sort((_,L)=>new Date(L.Created).getTime()-new Date(_.Created).getTime()):[],F=()=>{n&&D()},z=()=>{let c=(f||n).split(".")[1];if(c){let _=JSON.parse(atob(c));return _.cdn+"/cashier/operator-assets/"+(_==null?void 0:_.mid)}return""},Z=c=>{var L;if(!c||!c.length)return{VerificationSummaryStatus:d.Unverified,VerificationStatuses:[]};const _=me(c);if(_&&_.length){const j=fe(_);return{VerificationSummaryStatus:j.Status,VerificationUrl:(L=j.Flags)==null?void 0:L.DeferredUrlKey,VerificationStatuses:re(_,j.Status)}}else return{VerificationSummaryStatus:c.some(he=>he.Status===d.Failed)?d.Failed:d.Verified,VerificationStatuses:re(c,[d.Failed])}},fe=c=>c.reduce((_,L)=>_?new Date(_)<new Date(L)?L:_:L,0),re=(c,_)=>c.filter(L=>_.includes(L.Status)).map(L=>{var j,he;return{Type:L.Type,Vendor:L.VendorName,VerificationDocuments:L.Documents?[...L.Documents]:[],VerificationUrlType:(j=L.FlowInfo)==null?void 0:j.Type,VerificationUrl:(he=L.FlowInfo)==null?void 0:he.Url}}),me=c=>c.filter(_=>g.includes(_.Status)?_.FlowInfo&&_.FlowInfo.Url||ae(_)||q(_):!1),ae=c=>{const _=c.Documents&&c.VendorName===ce.Manual,L=c.Documents&&c.Documents.some(j=>j.Status===x.Requested);return _&&L},q=c=>c.VendorName===ce.ShuftiPro&&c.Status===d.Referred,ie=()=>{switch(H.VerificationSummaryStatus){case d.InProgress:const c=[];return I.forEach(_=>{c.push(ve(_))}),c;case d.Referred:return[i("verification.idenfy.referred-awaiting")];case d.Failed:return[i("verification.message.failed")]}},ve=c=>{const _=H.VerificationStatuses.filter(L=>L.Vendor===c);if(c===ce.ShuftiPro)return Ee(_);{const L=i("verification.idenfy.link-name"),j={link:`<a href="${_[0].VerificationUrl}" target="_blank">${L}</a>`};return i("verification.idenfy.in-progress",{values:j})}},Ee=c=>{const _=[],L={},j=[m.Biometric,m.Documents,m.ProofOfAddress];c.forEach(ge=>{j.includes(ge.Type)&&(_.push(ge.Type),L[ge.Type]=Ei(ge,wi(ge.Type)))});let he=_.every(ge=>R.has(ge)),Xe=`verification.shuftipro.in-progress.${_.sort().join(".")}`;return he?i("verification.shuftipro.validations-started"):i(Xe,{values:L})},Ei=(c,_)=>`<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${_}</a>`,wi=c=>i(`verification.shuftipro.link-name.${c}`),Si=()=>{r(4,$=!$)},Ti=()=>{r(5,P=!ms(xe))},Oi=()=>{se=E+"/"+s+"/"+ws;try{fetch(se,{method:"HEAD"}).then(c=>{r(6,X=c.ok)})}catch(c){r(6,X=!1)}},Pi=()=>{b.length>0&&(C=b.split(","))},Hi=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:se}}}))};function Ai(c){it[c?"unshift":"push"](()=>{h=c,r(2,h)})}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,p=c.customerid),"playersession"in c&&r(16,v=c.playersession),"userroles"in c&&r(17,b=c.userroles),"mbsource"in c&&r(18,T=c.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&4096&&s&&S(),e.$$.dirty[0]&83968&&o&&f&&v&&D(),e.$$.dirty[0]&83968&&o&&!f&&v&&F(),e.$$.dirty[0]&8192&&a&&w(),e.$$.dirty[0]&5&&u&&h&&ci(h,u),e.$$.dirty[0]&6&&l&&h&&fi(h,l),e.$$.dirty[0]&524288&&E&&Oi(),e.$$.dirty[0]&131072&&b&&Pi(),e.$$.dirty[0]&262148&&T&&h&&hi(h,`${T}.Style`,V)},[u,l,h,O,$,P,X,Q,i,Si,Hi,o,s,a,f,p,v,b,T,E,Ai]}class xi extends Nr{constructor(t){super(),Lr(this,t,Ss,Es,kt,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,userroles:17,mbsource:18},ys,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),J()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),J()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),J()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),J()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),J()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),J()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),J()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),J()}get userroles(){return this.$$.ctx[17]}set userroles(t){this.$$set({userroles:t}),J()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),J()}}Dr(xi,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},userroles:{},mbsource:{}},[],[],!0);const Ts=Object.freeze(Object.defineProperty({__proto__:null,default:xi},Symbol.toStringTag,{value:"Module"}));exports.CashierVerifications_ce=Ts;exports.SvelteComponent=Nr;exports.add_iframe_resize_listener=Wi;exports.add_render_callback=nt;exports.append=G;exports.append_styles=Hr;exports.attr=M;exports.binding_callbacks=it;exports.check_outros=Ki;exports.create_custom_element=Dr;exports.create_slot=Ni;exports.detach=te;exports.element=W;exports.flush=J;exports.get_all_dirty_from_scope=Ui;exports.get_slot_changes=ki;exports.group_outros=Qi;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=be;exports.svg_element=De;exports.tick=Yi;exports.toggle_class=ue;exports.transition_in=$r;exports.transition_out=en;exports.update_slot_base=Ri;
|
|
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=Ct(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(h){t={error:h}}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(le(f))try{f()}catch(h){o=h instanceof xt?h.errors:[h]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var v=Ct(p),b=v.next();!b.done;b=v.next()){var T=b.value;try{dr(T)}catch(h){o=o!=null?o:[],h instanceof xt?o=Lt(Lt([],$t(o)),$t(h.errors)):o.push(h)}}}catch(h){i={error:h}}finally{try{b&&!b.done&&(n=v.return)&&n.call(v)}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&&le(e.remove)&&le(e.add)&&le(e.unsubscribe)}function dr(e){le(e)?e():e.unsubscribe()}var ts={Promise:void 0},rs={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],$t(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function is(e){rs.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=ss,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),ns=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 le(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 ns(s),o}return t}(vi);function Je(e){is(e)}function os(e){throw e}var ss={closed:!0,next:pr,error:os,complete:pr},as=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function us(e){return e}function ls(e){return e.length===0?us: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=fs(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[as]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ls(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:ts.Promise)!==null&&t!==void 0?t:Promise}function cs(e){return e&&le(e.next)&&le(e.error)&&le(e.complete)}function fs(e){return e&&e instanceof vi||cs(e)&&mi(e)}var hs=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 hs},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=Ct(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},ds=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={},ps=(e,t=0)=>{if(br.indexOf(e)==-1){const r=new ds(t);yr[e]=r,br.push(e)}return yr[e]};window.emWidgets={topic:ps};const ms=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-mvLty-MR.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",p="month",v="quarter",b="year",T="date",h="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|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(x){var d=["th","st","nd","rd"],m=x%100;return"["+x+(d[(m-20)%10]||d[m]||d[0])+"]"}},E=function(x,d,m){var y=String(x);return!y||y.length>=d?x:""+Array(d+1-y.length).join(m)+x},O={s:E,z:function(x){var d=-x.utcOffset(),m=Math.abs(d),y=Math.floor(m/60),g=m%60;return(d<=0?"+":"-")+E(y,2,"0")+":"+E(g,2,"0")},m:function x(d,m){if(d.date()<m.date())return-x(m,d);var y=12*(m.year()-d.year())+(m.month()-d.month()),g=d.clone().add(y,p),w=m-g<0,S=d.clone().add(y+(w?-1:1),p);return+(-(y+(m-g)/(w?g-S:S-g))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:p,y:b,w:f,d:l,D:T,h:u,m:a,s,ms:o,Q:v}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},$="en",P={};P[$]=H;var X="$isDayjsObject",se=function(x){return x instanceof xe||!(!x||!x[X])},Q=function x(d,m,y){var g;if(!d)return $;if(typeof d=="string"){var w=d.toLowerCase();P[w]&&(g=w),m&&(P[w]=m,g=w);var S=d.split("-");if(!g&&S.length>1)return x(S[0])}else{var D=d.name;P[D]=d,g=D}return!y&&g&&($=g),g||!y&&$},V=function(x,d){if(se(x))return x.clone();var m=typeof d=="object"?d:{};return m.date=x,m.args=arguments,new xe(m)},C=O;C.l=Q,C.i=se,C.w=function(x,d){return V(x,{locale:d.$L,utc:d.$u,x:d.$x,$offset:d.$offset})};var xe=function(){function x(m){this.$L=Q(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[X]=!0}var d=x.prototype;return d.parse=function(m){this.$d=function(y){var g=y.date,w=y.utc;if(g===null)return new Date(NaN);if(C.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var S=g.match(I);if(S){var D=S[2]-1||0,k=(S[7]||"0").substring(0,3);return w?new Date(Date.UTC(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)):new Date(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)}}return new Date(g)}(m),this.init()},d.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},d.$utils=function(){return C},d.isValid=function(){return this.$d.toString()!==h},d.isSame=function(m,y){var g=V(m);return this.startOf(y)<=g&&g<=this.endOf(y)},d.isAfter=function(m,y){return V(m)<this.startOf(y)},d.isBefore=function(m,y){return this.endOf(y)<V(m)},d.$g=function(m,y,g){return C.u(m)?this[y]:this.set(g,m)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(m,y){var g=this,w=!!C.u(y)||y,S=C.p(m),D=function(ae,q){var ie=C.w(g.$u?Date.UTC(g.$y,q,ae):new Date(g.$y,q,ae),g);return w?ie:ie.endOf(l)},k=function(ae,q){return C.w(g.toDate()[ae].apply(g.toDate("s"),(w?[0,0,0,0]:[23,59,59,999]).slice(q)),g)},F=this.$W,z=this.$M,Z=this.$D,fe="set"+(this.$u?"UTC":"");switch(S){case b:return w?D(1,0):D(31,11);case p:return w?D(1,z):D(0,z+1);case f:var re=this.$locale().weekStart||0,me=(F<re?F+7:F)-re;return D(w?Z-me:Z+(6-me),z);case l:case T:return k(fe+"Hours",0);case u:return k(fe+"Minutes",1);case a:return k(fe+"Seconds",2);case s:return k(fe+"Milliseconds",3);default:return this.clone()}},d.endOf=function(m){return this.startOf(m,!1)},d.$set=function(m,y){var g,w=C.p(m),S="set"+(this.$u?"UTC":""),D=(g={},g[l]=S+"Date",g[T]=S+"Date",g[p]=S+"Month",g[b]=S+"FullYear",g[u]=S+"Hours",g[a]=S+"Minutes",g[s]=S+"Seconds",g[o]=S+"Milliseconds",g)[w],k=w===l?this.$D+(y-this.$W):y;if(w===p||w===b){var F=this.clone().set(T,1);F.$d[D](k),F.init(),this.$d=F.set(T,Math.min(this.$D,F.daysInMonth())).$d}else D&&this.$d[D](k);return this.init(),this},d.set=function(m,y){return this.clone().$set(m,y)},d.get=function(m){return this[C.p(m)]()},d.add=function(m,y){var g,w=this;m=Number(m);var S=C.p(y),D=function(z){var Z=V(w);return C.w(Z.date(Z.date()+Math.round(z*m)),w)};if(S===p)return this.set(p,this.$M+m);if(S===b)return this.set(b,this.$y+m);if(S===l)return D(1);if(S===f)return D(7);var k=(g={},g[a]=i,g[u]=n,g[s]=r,g)[S]||1,F=this.$d.getTime()+m*k;return C.w(F,this)},d.subtract=function(m,y){return this.add(-1*m,y)},d.format=function(m){var y=this,g=this.$locale();if(!this.isValid())return g.invalidDate||h;var w=m||"YYYY-MM-DDTHH:mm:ssZ",S=C.z(this),D=this.$H,k=this.$m,F=this.$M,z=g.weekdays,Z=g.months,fe=g.meridiem,re=function(q,ie,ve,Ee){return q&&(q[ie]||q(y,w))||ve[ie].slice(0,Ee)},me=function(q){return C.s(D%12||12,q,"0")},ae=fe||function(q,ie,ve){var Ee=q<12?"AM":"PM";return ve?Ee.toLowerCase():Ee};return w.replace(R,function(q,ie){return ie||function(ve){switch(ve){case"YY":return String(y.$y).slice(-2);case"YYYY":return C.s(y.$y,4,"0");case"M":return F+1;case"MM":return C.s(F+1,2,"0");case"MMM":return re(g.monthsShort,F,Z,3);case"MMMM":return re(Z,F);case"D":return y.$D;case"DD":return C.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return re(g.weekdaysMin,y.$W,z,2);case"ddd":return re(g.weekdaysShort,y.$W,z,3);case"dddd":return z[y.$W];case"H":return String(D);case"HH":return C.s(D,2,"0");case"h":return me(1);case"hh":return me(2);case"a":return ae(D,k,!0);case"A":return ae(D,k,!1);case"m":return String(k);case"mm":return C.s(k,2,"0");case"s":return String(y.$s);case"ss":return C.s(y.$s,2,"0");case"SSS":return C.s(y.$ms,3,"0");case"Z":return S}return null}(q)||S.replace(":","")})},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(m,y,g){var w,S=this,D=C.p(y),k=V(m),F=(k.utcOffset()-this.utcOffset())*i,z=this-k,Z=function(){return C.m(S,k)};switch(D){case b:w=Z()/12;break;case p:w=Z();break;case v:w=Z()/3;break;case f:w=(z-F)/6048e5;break;case l:w=(z-F)/864e5;break;case u:w=z/n;break;case a:w=z/i;break;case s:w=z/r;break;default:w=z}return g?w:C.a(w)},d.daysInMonth=function(){return this.endOf(p).$D},d.$locale=function(){return P[this.$L]},d.locale=function(m,y){if(!m)return this.$L;var g=this.clone(),w=Q(m,y,!0);return w&&(g.$L=w),g},d.clone=function(){return C.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},x}(),ce=xe.prototype;return V.prototype=ce,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",p],["$y",b],["$D",T]].forEach(function(x){ce[x[1]]=function(d){return this.$g(d,x[0],x[1])}}),V.extend=function(x,d){return x.$i||(x(d,xe,V),x.$i=!0),V},V.locale=Q,V.isDayjs=se,V.unix=function(x){return V(1e3*x)},V.en=P[$],V.Ls=P,V.p={},V})})(yi);var vs=yi.exports;const _r=Ut(vs);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(h){var I={date:h,utc:!0,args:arguments};return new s(I)},u.utc=function(h){var I=a(this.toDate(),{locale:this.$L,utc:!0});return h?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(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),l.call(this,h)};var f=u.init;u.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else f.call(this)};var p=u.utcOffset;u.utcOffset=function(h,I){var R=this.$utils().u;if(R(h))return this.$u?0:R(this.$offset)?p.call(this):this.$offset;if(typeof h=="string"&&(h=function($){$===void 0&&($="");var P=$.match(i);if(!P)return null;var X=(""+P[0]).match(n)||["-",0,0],se=X[0],Q=60*+X[1]+ +X[2];return Q===0?0:se==="+"?Q:-Q}(h),h===null))return this;var H=Math.abs(h)<=16?60*h:h,E=this;if(I)return E.$offset=H,E.$u=h===0,E;if(h!==0){var O=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(E=this.local().add(H+O,r)).$offset=H,E.$x.$localOffset=O}else E=this.utc();return E};var v=u.format;u.format=function(h){var I=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return v.call(this,I)},u.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},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(h){return h==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():b.call(this)};var T=u.diff;u.diff=function(h,I,R){if(h&&this.$u===h.$u)return T.call(this,h,I,R);var H=this.local(),E=a(h).local();return T.call(H,E,I,R)}}})})(_i);var gs=_i.exports;const bs=Ut(gs);function ys(e){Hr(e,"svelte-xrv2v8",'*,*::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 .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.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[56]=t[r],i}function _s(e){let t,r=e[3].length>0&&Er(e);return{c(){t=W("div"),r&&r.c(),M(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=Er(i),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(i){i&&te(t),r&&r.d()}}}function xs(e){let t;return{c(){t=W("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 Er(e){let t,r,i,n,o,s,a,u=e[8]("verificationsRequired")+"",l,f,p,v,b,T,h,I,R=Zt(e[3]),H=[];for(let O=0;O<R.length;O+=1)H[O]=wr(xr(e,R,O));let E=e[6]&&Sr(e);return{c(){t=W("div"),r=De("svg"),i=De("path"),n=De("path"),o=De("path"),s=be(),a=W("p"),l=Rt(u),f=be(),p=W("span"),p.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>',v=be(),b=W("div");for(let O=0;O<H.length;O+=1)H[O].c();T=be(),E&&E.c(),M(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"),M(i,"stroke","#6E738F"),M(i,"stroke-width","2"),M(i,"stroke-linecap","round"),M(i,"stroke-linejoin","round"),M(n,"d","M12 8V12"),M(n,"stroke","#6E738F"),M(n,"stroke-width","2"),M(n,"stroke-linecap","round"),M(n,"stroke-linejoin","round"),M(o,"d","M12 16H12.01"),M(o,"stroke","#6E738F"),M(o,"stroke-width","2"),M(o,"stroke-linecap","round"),M(o,"stroke-linejoin","round"),M(r,"width","24"),M(r,"height","24"),M(r,"viewBox","0 0 24 24"),M(r,"fill","none"),M(r,"xmlns","http://www.w3.org/2000/svg"),M(p,"class","CashierVerificationChevron"),ue(p,"ShowVerifications",e[4]),M(t,"class","VerificationsHeader"),M(b,"class","VerificationsList"),ue(b,"ShowVerifications",e[4])},m(O,$){oe(O,t,$),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,p),oe(O,v,$),oe(O,b,$);for(let P=0;P<H.length;P+=1)H[P]&&H[P].m(b,null);G(b,T),E&&E.m(b,null),h||(I=Re(t,"click",e[9]),h=!0)},p(O,$){if($[0]&256&&u!==(u=O[8]("verificationsRequired")+"")&&Ar(l,u),$[0]&16&&ue(p,"ShowVerifications",O[4]),$[0]&8){R=Zt(O[3]);let P;for(P=0;P<R.length;P+=1){const X=xr(O,R,P);H[P]?H[P].p(X,$):(H[P]=wr(X),H[P].c(),H[P].m(b,T))}for(;P<H.length;P+=1)H[P].d(1);H.length=R.length}O[6]?E?E.p(O,$):(E=Sr(O),E.c(),E.m(b,null)):E&&(E.d(1),E=null),$[0]&16&&ue(b,"ShowVerifications",O[4])},d(O){O&&(te(t),te(v),te(b)),Gi(H,O),E&&E.d(),h=!1,I()}}}function wr(e){let t,r,i,n,o=e[56]+"";return{c(){t=W("div"),r=W("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=be(),n=W("p"),M(r,"class","IconVerification"),M(n,"class","text"),M(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[56]+"")&&(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=W("div"),r=W("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=be(),n=W("div"),s=Rt(o),M(r,"class","IconVideo"),M(n,"class","CashierVerificationVideoLink"),ue(n,"CashierVerificationVideoLinkDesktop",e[5]),M(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&&ue(n,"CashierVerificationVideoLinkDesktop",l[5])},d(l){l&&te(t),a=!1,u()}}}function Es(e){let t;function r(o,s){if(o[7])return xs;if(o[3])return _s}let i=r(e),n=i&&i(e);return{c(){t=W("div"),n&&n.c(),M(t,"class","CashierVerifications"),ue(t,"CashierVerificationsDesktop",e[5])},m(o,s){oe(o,t,s),n&&n.m(t,null),e[20](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&&ue(t,"CashierVerificationsDesktop",o[5])},i:ee,o:ee,d(o){o&&te(t),n&&n.d(),e[20](null)}}}const ws="verification_explanation_video_widgets.MP4";function Ss(e,t,r){let i,n;qt(e,Zo,c=>r(8,i=c)),qt(e,Qo,c=>r(29,n=c)),_r.extend(bs);let{endpoint:o}=t,{lang:s="en"}=t,{translationurl:a=""}=t,{clientstyling:u=""}=t,{clientstylingurl:l=""}=t,{session:f=""}=t,{customerid:p=""}=t,{playersession:v=""}=t,{userroles:b=""}=t,{mbsource:T=""}=t,h,I=new Set,R=new Set,H,E,O,$=!1,P=!0,X=!1,se="",Q=!1,V,C=[],xe=window.navigator.userAgent;var ce;(function(c){c.Manual="Manual",c.ShuftiPro="ShuftiPro"})(ce||(ce={}));var x;(function(c){c.Requested="Requested"})(x||(x={}));var d;(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"})(d||(d={}));var m;(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"})(m||(m={}));const y=c=>{c.data&&c.data.type};Br(()=>(window.addEventListener("message",y),Ti(),()=>{window.removeEventListener("message",y)}));const g=[d.InProgress,d.Referred,d.AwaitingForResponse],w=()=>{let c=a;if(c)return fetch(c).then(_=>_.json()).then(_=>{Object.keys(_).forEach(L=>{fr(L,_[L])})}).catch(_=>{console.log(_)})};Object.keys(hr).forEach(c=>{fr(c,hr[c])});const S=()=>{Jo(s)},D=()=>{r(19,E=z());const c=new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`),_=new Headers;_.append("accept","application/json"),_.append("Content-Type","application/json"),_.append("x-sessionid",`${v}`),_.append("X-Client-Request-Timestamp",_r.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),Array.isArray(C)&&C.length>0&&C.indexOf("MM_CHANNEL_BETA")!=-1&&_.append("MM_CHANNEL","BETA");const L={method:"POST",headers:_,body:JSON.stringify({})};r(7,Q=!0),fetch(c,L).then(j=>j.json()).then(j=>{const he=k(j==null?void 0:j.Verifications);H=Z(he),H.VerificationStatuses.forEach(Xe=>{Xe.VerificationUrlType!=="Widget"&&I.add(Xe.Vendor)}),r(3,O=ie())}).finally(()=>r(7,Q=!1))},k=c=>c?c.sort((_,L)=>new Date(L.Created).getTime()-new Date(_.Created).getTime()):[],F=()=>{n&&D()},z=()=>{let c=(f||n).split(".")[1];if(c){let _=JSON.parse(atob(c));return _.cdn+"/cashier/operator-assets/"+(_==null?void 0:_.mid)}return""},Z=c=>{var L;if(!c||!c.length)return{VerificationSummaryStatus:d.Unverified,VerificationStatuses:[]};const _=me(c);if(_&&_.length){const j=fe(_);return{VerificationSummaryStatus:j.Status,VerificationUrl:(L=j.Flags)==null?void 0:L.DeferredUrlKey,VerificationStatuses:re(_,j.Status)}}else return{VerificationSummaryStatus:c.some(he=>he.Status===d.Failed)?d.Failed:d.Verified,VerificationStatuses:re(c,[d.Failed])}},fe=c=>c.reduce((_,L)=>_?new Date(_)<new Date(L)?L:_:L,0),re=(c,_)=>c.filter(L=>_.includes(L.Status)).map(L=>{var j,he;return{Type:L.Type,Vendor:L.VendorName,VerificationDocuments:L.Documents?[...L.Documents]:[],VerificationUrlType:(j=L.FlowInfo)==null?void 0:j.Type,VerificationUrl:(he=L.FlowInfo)==null?void 0:he.Url}}),me=c=>c.filter(_=>g.includes(_.Status)?_.FlowInfo&&_.FlowInfo.Url||ae(_)||q(_):!1),ae=c=>{const _=c.Documents&&c.VendorName===ce.Manual,L=c.Documents&&c.Documents.some(j=>j.Status===x.Requested);return _&&L},q=c=>c.VendorName===ce.ShuftiPro&&c.Status===d.Referred,ie=()=>{switch(H.VerificationSummaryStatus){case d.InProgress:const c=[];return I.forEach(_=>{c.push(ve(_))}),c;case d.Referred:return[i("verification.idenfy.referred-awaiting")];case d.Failed:return[i("verification.message.failed")]}},ve=c=>{const _=H.VerificationStatuses.filter(L=>L.Vendor===c);if(c===ce.ShuftiPro)return Ee(_);{const L=i("verification.idenfy.link-name"),j={link:`<a href="${_[0].VerificationUrl}" target="_blank">${L}</a>`};return i("verification.idenfy.in-progress",{values:j})}},Ee=c=>{const _=[],L={},j=[m.Biometric,m.Documents,m.ProofOfAddress];c.forEach(ge=>{j.includes(ge.Type)&&(_.push(ge.Type),L[ge.Type]=Ei(ge,wi(ge.Type)))});let he=_.every(ge=>R.has(ge)),Xe=`verification.shuftipro.in-progress.${_.sort().join(".")}`;return he?i("verification.shuftipro.validations-started"):i(Xe,{values:L})},Ei=(c,_)=>`<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${_}</a>`,wi=c=>i(`verification.shuftipro.link-name.${c}`),Si=()=>{r(4,$=!$)},Ti=()=>{r(5,P=!ms(xe))},Oi=()=>{se=E+"/"+s+"/"+ws;try{fetch(se,{method:"HEAD"}).then(c=>{r(6,X=c.ok)})}catch(c){r(6,X=!1)}},Pi=()=>{b.length>0&&(C=b.split(","))},Hi=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:se}}}))};function Ai(c){it[c?"unshift":"push"](()=>{h=c,r(2,h)})}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,p=c.customerid),"playersession"in c&&r(16,v=c.playersession),"userroles"in c&&r(17,b=c.userroles),"mbsource"in c&&r(18,T=c.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&131072&&b&&Pi(),e.$$.dirty[0]&4096&&s&&S(),e.$$.dirty[0]&83968&&o&&f&&v&&D(),e.$$.dirty[0]&83968&&o&&!f&&v&&F(),e.$$.dirty[0]&8192&&a&&w(),e.$$.dirty[0]&5&&u&&h&&ci(h,u),e.$$.dirty[0]&6&&l&&h&&fi(h,l),e.$$.dirty[0]&524288&&E&&Oi(),e.$$.dirty[0]&262148&&T&&h&&hi(h,`${T}.Style`,V)},[u,l,h,O,$,P,X,Q,i,Si,Hi,o,s,a,f,p,v,b,T,E,Ai]}class xi extends Nr{constructor(t){super(),Lr(this,t,Ss,Es,kt,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,userroles:17,mbsource:18},ys,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),J()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),J()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),J()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),J()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),J()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),J()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),J()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),J()}get userroles(){return this.$$.ctx[17]}set userroles(t){this.$$set({userroles:t}),J()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),J()}}Dr(xi,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},userroles:{},mbsource:{}},[],[],!0);const Ts=Object.freeze(Object.defineProperty({__proto__:null,default:xi},Symbol.toStringTag,{value:"Module"}));exports.CashierVerifications_ce=Ts;exports.SvelteComponent=Nr;exports.add_iframe_resize_listener=Wi;exports.add_render_callback=nt;exports.append=G;exports.append_styles=Hr;exports.attr=M;exports.binding_callbacks=it;exports.check_outros=Ki;exports.create_custom_element=Dr;exports.create_slot=Ni;exports.detach=te;exports.element=W;exports.flush=J;exports.get_all_dirty_from_scope=Ui;exports.get_slot_changes=ki;exports.group_outros=Qi;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=be;exports.svg_element=De;exports.tick=Yi;exports.toggle_class=ue;exports.transition_in=$r;exports.transition_out=en;exports.update_slot_base=Ri;
|
|
@@ -4544,7 +4544,7 @@ if (typeof window != "undefined") {
|
|
|
4544
4544
|
}
|
|
4545
4545
|
};
|
|
4546
4546
|
};
|
|
4547
|
-
customElements.define = e(customElements.define), import("./CashierModal-
|
|
4547
|
+
customElements.define = e(customElements.define), import("./CashierModal-CKCmZ_m7.js").then(({ default: t }) => {
|
|
4548
4548
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
|
|
4549
4549
|
});
|
|
4550
4550
|
}
|
|
@@ -5343,15 +5343,15 @@ function ms(e, t, r) {
|
|
|
5343
5343
|
return e.$$set = (c) => {
|
|
5344
5344
|
"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, p = c.customerid), "playersession" in c && r(16, v = c.playersession), "userroles" in c && r(17, b = c.userroles), "mbsource" in c && r(18, T = c.mbsource);
|
|
5345
5345
|
}, e.$$.update = () => {
|
|
5346
|
-
e.$$.dirty[0] & /*
|
|
5346
|
+
e.$$.dirty[0] & /*userroles*/
|
|
5347
|
+
131072 && b && bi(), e.$$.dirty[0] & /*lang*/
|
|
5347
5348
|
4096 && s && S(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
5348
5349
|
83968 && o && f && v && D(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
5349
5350
|
83968 && o && !f && v && F(), e.$$.dirty[0] & /*translationurl*/
|
|
5350
5351
|
8192 && a && w(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5351
5352
|
5 && u && h && Vo(h, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5352
5353
|
6 && l && h && Fo(h, l), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
5353
|
-
524288 && E && gi(), e.$$.dirty[0] & /*
|
|
5354
|
-
131072 && b && bi(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5354
|
+
524288 && E && gi(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5355
5355
|
262148 && T && h && Go(h, `${T}.Style`, V);
|
|
5356
5356
|
}, [
|
|
5357
5357
|
u,
|
|
@@ -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-Cerc1iVi.js").then(({ default: t }) => {
|
|
4511
4511
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
|
|
4512
4512
|
});
|
|
4513
4513
|
}
|
|
@@ -5302,15 +5302,15 @@ function is(e, t, r) {
|
|
|
5302
5302
|
return e.$$set = (c) => {
|
|
5303
5303
|
"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, p = c.customerid), "playersession" in c && r(16, v = c.playersession), "userroles" in c && r(17, b = c.userroles), "mbsource" in c && r(18, T = c.mbsource);
|
|
5304
5304
|
}, e.$$.update = () => {
|
|
5305
|
-
e.$$.dirty[0] & /*
|
|
5305
|
+
e.$$.dirty[0] & /*userroles*/
|
|
5306
|
+
131072 && b && fi(), e.$$.dirty[0] & /*lang*/
|
|
5306
5307
|
4096 && s && S(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
5307
5308
|
83968 && o && f && v && D(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
5308
5309
|
83968 && o && !f && v && F(), e.$$.dirty[0] & /*translationurl*/
|
|
5309
5310
|
8192 && a && w(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5310
5311
|
5 && u && h && Ao(h, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5311
5312
|
6 && l && h && Bo(h, l), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
5312
|
-
524288 && E && ci(), e.$$.dirty[0] & /*
|
|
5313
|
-
131072 && b && fi(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5313
|
+
524288 && E && ci(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5314
5314
|
262148 && T && h && Mo(h, `${T}.Style`, V);
|
|
5315
5315
|
}, [
|
|
5316
5316
|
u,
|
|
@@ -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-BNo5lH9v.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-BVgcQaoW.js").then((e) => e.F).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|