@everymatrix/cashier-page 1.69.94 → 1.69.123
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/CashierCarousel-Bmkxhtnm.cjs +23 -0
- package/components/{CashierCarousel-BdYVF6QV.js → CashierCarousel-D_wSKCMs.js} +1400 -1318
- package/components/{CashierCarousel-P8JOEAdW.js → CashierCarousel-U2ysEkZo.js} +1425 -1343
- package/components/{CashierError-BHR0wCX8.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
- package/components/{CashierError-CV3sSdTA.js → CashierError-D2jZsClG.js} +2 -2
- package/components/{CashierError-Dc97Q3ia.js → CashierError-ZLpQCZ7N.js} +2 -2
- package/components/{CashierHeader-CNnGcxHX.js → CashierHeader-BCCA_87T.js} +4 -4
- package/components/CashierHeader-D40gryOj.cjs +1 -0
- package/components/{CashierHeader-BvRwyGj-.js → CashierHeader-DyFARvnF.js} +4 -4
- package/components/CashierIframeRedirect-BKExS9o2.cjs +1 -0
- package/components/{CashierIframeRedirect-CyxYgQXl.js → CashierIframeRedirect-BMGvaxHv.js} +29 -29
- package/components/{CashierIframeRedirect-Tyfog0B-.js → CashierIframeRedirect-Hz0t-XHA.js} +29 -29
- package/components/CashierMethodDetails-D0wpum5b.js +9564 -0
- package/components/CashierMethodDetails-FeiyXoHw.js +9523 -0
- package/components/CashierMethodDetails-ziUU0Tui.cjs +85 -0
- package/components/CashierMethodsList-CI_1-_NW.js +737 -0
- package/components/CashierMethodsList-PbOH7p79.cjs +1 -0
- package/components/CashierMethodsList-WQndorD0.js +725 -0
- package/components/CashierModal-Bm1ZHiKF.js +337 -0
- package/components/CashierModal-CZXS870r.cjs +1 -0
- package/components/CashierModal-DA9pYzjv.js +353 -0
- package/components/{CashierNotifications-B1_IvWSx.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
- package/components/{CashierNotifications-C7E0y8oy.js → CashierNotifications-BKEjPFOe.js} +1 -1
- package/components/{CashierNotifications-CV5fK-_h.js → CashierNotifications-BhTVfc_q.js} +1 -1
- package/components/CashierPage-B2478cGI.cjs +1 -0
- package/components/CashierPage-Bu-Q7zGW.js +3202 -0
- package/components/CashierPage-DRqoyxvy.js +3202 -0
- package/components/{CashierReceiptPage-CtOCAaLC.js → CashierReceiptPage-BCdXtAQy.js} +847 -767
- package/components/CashierReceiptPage-BTnWWxrf.cjs +26 -0
- package/components/{CashierReceiptPage-C6wwbN8P.js → CashierReceiptPage-mprh7bxR.js} +871 -767
- package/components/CashierSessionExpirationModal-CO21pLuC.cjs +2 -0
- package/components/{CashierSessionExpirationModal-DZ6cbZMo.js → CashierSessionExpirationModal-Cf9kV9t-.js} +36 -36
- package/components/{CashierSessionExpirationModal-CH7OH5eP.js → CashierSessionExpirationModal-DmelwHmk.js} +64 -64
- package/components/{CashierSpinner-CyPuIakf.js → CashierSpinner-BafoqXXx.js} +1 -1
- package/components/{CashierSpinner-DN8Xti3l.js → CashierSpinner-BoT5LgPd.js} +1 -1
- package/components/{CashierSpinner-CL3BxNa3.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
- package/components/CashierStepUp-DAwEA9m8.js +1118 -0
- package/components/CashierStepUp-DHD1RjqN.js +1079 -0
- package/components/CashierStepUp-DPLCXGpo.cjs +1 -0
- package/components/{CashierTransactionHistory-DUJ7uEPo.js → CashierTransactionHistory-BKgkxlMX.js} +28 -28
- package/components/{CashierTransactionHistory-D7x8iV5o.js → CashierTransactionHistory-C8ds2Zwi.js} +28 -28
- package/components/CashierTransactionHistory-CBn28kTC.cjs +1 -0
- package/components/{CashierVerifications-dsnZ9UGl.js → CashierVerifications-B5x1jg3q.js} +124 -124
- package/components/CashierVerifications-Hi5EfxuQ.cjs +1 -0
- package/components/{CashierVerifications-D98F06Sz.js → CashierVerifications-fksQOX8S.js} +94 -94
- package/components/{TxnStatusIcon-DKrjQDkn.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
- package/components/{TxnStatusIcon-Bjzryymo.js → TxnStatusIcon-Ck-w1f1a.js} +1 -1
- package/components/{TxnStatusIcon-BnNOvKNP.js → TxnStatusIcon-ZhJG6FAv.js} +1 -1
- package/components/{TxnTypeIcons-CdJDWKBc.js → TxnTypeIcons-BJMvuKXL.js} +1 -1
- package/components/{TxnTypeIcons-DUFNEYZT.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
- package/components/{TxnTypeIcons-CgvUMv-Q.js → TxnTypeIcons-OgWLkxli.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-B6BYeRne.js} +1 -1
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-BOr4KAqq.js} +1 -1
- package/stencil/{index-97d17652-BhLhk_xz.cjs → index-97d17652-zTl06Vn9.cjs} +1 -1
- package/stencil/{index-b2193545-B8kMF2bI.cjs → index-b2193545-B5Q7rnAU.cjs} +1 -1
- package/stencil/{index-b2193545-BoSqyMpB.js → index-b2193545-CF_fVoFe.js} +1 -1
- package/stencil/{index-b2193545-D4dOaNlR.js → index-b2193545-DfttkCgg.js} +1 -1
- package/stencil/{ui-image-DIEeZy5u.js → ui-image-BsYHwNhO.js} +1 -1
- package/stencil/{ui-image-BWJXFWH1.js → ui-image-CNaRr0ax.js} +1 -1
- package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-IJc7Zz_R.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CmVho0dS.js} +13 -13
- package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
- package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-image_2-Daq38JGa.js} +14 -12
- package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-B9YTz-WD.js} +2 -2
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-CQ-FgYMx.js} +2 -2
- package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
- package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +55 -0
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-skeleton-ed169f8f-BMrkXoR5.js} +12 -14
- package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ed169f8f-BNn31z1X.js} +12 -12
- package/components/CashierCarousel-HRUJt7XK.cjs +0 -23
- package/components/CashierHeader-Dq5rXKEy.cjs +0 -1
- package/components/CashierIframeRedirect-C7g6aYiD.cjs +0 -1
- package/components/CashierMethodDetails-BQQkicL5.js +0 -8999
- package/components/CashierMethodDetails-Cw3bppxA.js +0 -8978
- package/components/CashierMethodDetails-vl9WpFW-.cjs +0 -85
- package/components/CashierMethodsList-Bi29u-3T.js +0 -733
- package/components/CashierMethodsList-Dnurtmpq.js +0 -745
- package/components/CashierMethodsList-MWY8DbQT.cjs +0 -1
- package/components/CashierModal-7LneBvzD.cjs +0 -1
- package/components/CashierModal-ChoubLYy.js +0 -268
- package/components/CashierModal-DCTbhFou.js +0 -268
- package/components/CashierPage-CPBTVmCF.js +0 -2724
- package/components/CashierPage-DOxt1V6T.cjs +0 -1
- package/components/CashierPage-TX2t-xAH.js +0 -2724
- package/components/CashierReceiptPage-BdQL3__D.cjs +0 -26
- package/components/CashierSessionExpirationModal-wp_kWVca.cjs +0 -2
- package/components/CashierTransactionHistory-DbJgP2OJ.cjs +0 -1
- package/components/CashierVerifications-BzbSPCl7.cjs +0 -1
- package/stencil/ui-image_2-DdFjzzNO.cjs +0 -55
- package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +0 -55
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { S as U, b as V, s as Z, f as _, c as A, e as M, t as W, g as k, a0 as J, a1 as P, k as L, r as X, q as $, a2 as O, d as tt, u as et, h as it, j as nt, V as C, l as w, a3 as ot, m as x, n as H, o as g, K as st, y as v, G as at, x as lt, Q as I, B as rt, C as dt, D as ct, E as ut } from "./CashierCarousel-D_wSKCMs.js";
|
|
2
|
+
function ht(n) {
|
|
3
|
+
A(n, "svelte-10nykxd", '*,*::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}.ModalContainer{min-width:300px;width:auto;height:auto;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);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%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);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
|
+
}
|
|
5
|
+
const ft = (n) => ({}), j = (n) => ({});
|
|
6
|
+
function E(n) {
|
|
7
|
+
let t, e, i, a, d, h, p, m, c = (
|
|
8
|
+
/*modaltype*/
|
|
9
|
+
n[3] !== "error" && /*modaltype*/
|
|
10
|
+
n[3] !== "bonusList" && B(n)
|
|
11
|
+
), u = (
|
|
12
|
+
/*isloading*/
|
|
13
|
+
n[4] === "true" && F()
|
|
14
|
+
);
|
|
15
|
+
const y = (
|
|
16
|
+
/*#slots*/
|
|
17
|
+
n[14].content
|
|
18
|
+
), f = tt(
|
|
19
|
+
y,
|
|
20
|
+
n,
|
|
21
|
+
/*$$scope*/
|
|
22
|
+
n[13],
|
|
23
|
+
j
|
|
24
|
+
);
|
|
25
|
+
return {
|
|
26
|
+
c() {
|
|
27
|
+
t = x("div"), e = x("div"), i = x("div"), c && c.c(), a = H(), u && u.c(), d = H(), h = x("div"), f && f.c(), g(h, "class", "ModalContentWrapper"), C(
|
|
28
|
+
h,
|
|
29
|
+
"hidden",
|
|
30
|
+
/*isloading*/
|
|
31
|
+
n[4] === "true"
|
|
32
|
+
), g(i, "class", "ModalContainer"), C(
|
|
33
|
+
i,
|
|
34
|
+
"video-mode",
|
|
35
|
+
/*modaltype*/
|
|
36
|
+
n[3] === "video"
|
|
37
|
+
), C(
|
|
38
|
+
i,
|
|
39
|
+
"twofa-mode",
|
|
40
|
+
/*modaltype*/
|
|
41
|
+
n[3] === "2fa"
|
|
42
|
+
), g(e, "id", "Modal"), st(() => (
|
|
43
|
+
/*div2_elementresize_handler*/
|
|
44
|
+
n[18].call(e)
|
|
45
|
+
));
|
|
46
|
+
},
|
|
47
|
+
m(s, r) {
|
|
48
|
+
L(s, t, r), w(t, e), w(e, i), c && c.m(i, null), w(i, a), u && u.m(i, null), w(i, d), w(i, h), f && f.m(h, null), n[15](h), n[16](i), n[17](e), p = ot(
|
|
49
|
+
e,
|
|
50
|
+
/*div2_elementresize_handler*/
|
|
51
|
+
n[18].bind(e)
|
|
52
|
+
), n[19](t), m = !0;
|
|
53
|
+
},
|
|
54
|
+
p(s, r) {
|
|
55
|
+
/*modaltype*/
|
|
56
|
+
s[3] !== "error" && /*modaltype*/
|
|
57
|
+
s[3] !== "bonusList" ? c ? c.p(s, r) : (c = B(s), c.c(), c.m(i, a)) : c && (c.d(1), c = null), /*isloading*/
|
|
58
|
+
s[4] === "true" ? u || (u = F(), u.c(), u.m(i, d)) : u && (u.d(1), u = null), f && f.p && (!m || r & /*$$scope*/
|
|
59
|
+
8192) && et(
|
|
60
|
+
f,
|
|
61
|
+
y,
|
|
62
|
+
s,
|
|
63
|
+
/*$$scope*/
|
|
64
|
+
s[13],
|
|
65
|
+
m ? nt(
|
|
66
|
+
y,
|
|
67
|
+
/*$$scope*/
|
|
68
|
+
s[13],
|
|
69
|
+
r,
|
|
70
|
+
ft
|
|
71
|
+
) : it(
|
|
72
|
+
/*$$scope*/
|
|
73
|
+
s[13]
|
|
74
|
+
),
|
|
75
|
+
j
|
|
76
|
+
), (!m || r & /*isloading*/
|
|
77
|
+
16) && C(
|
|
78
|
+
h,
|
|
79
|
+
"hidden",
|
|
80
|
+
/*isloading*/
|
|
81
|
+
s[4] === "true"
|
|
82
|
+
), (!m || r & /*modaltype*/
|
|
83
|
+
8) && C(
|
|
84
|
+
i,
|
|
85
|
+
"video-mode",
|
|
86
|
+
/*modaltype*/
|
|
87
|
+
s[3] === "video"
|
|
88
|
+
), (!m || r & /*modaltype*/
|
|
89
|
+
8) && C(
|
|
90
|
+
i,
|
|
91
|
+
"twofa-mode",
|
|
92
|
+
/*modaltype*/
|
|
93
|
+
s[3] === "2fa"
|
|
94
|
+
);
|
|
95
|
+
},
|
|
96
|
+
i(s) {
|
|
97
|
+
m || (k(f, s), m = !0);
|
|
98
|
+
},
|
|
99
|
+
o(s) {
|
|
100
|
+
W(f, s), m = !1;
|
|
101
|
+
},
|
|
102
|
+
d(s) {
|
|
103
|
+
s && M(t), c && c.d(), u && u.d(), f && f.d(s), n[15](null), n[16](null), n[17](null), p(), n[19](null);
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function B(n) {
|
|
108
|
+
let t, e, i, a, d;
|
|
109
|
+
return {
|
|
110
|
+
c() {
|
|
111
|
+
t = x("div"), e = I("svg"), i = I("path"), g(i, "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"), g(e, "xmlns", "http://www.w3.org/2000/svg"), g(e, "viewBox", "0 0 13 13"), g(e, "fill", "none"), g(e, "class", "CloseButton"), g(t, "class", "ModalCloseIcon");
|
|
112
|
+
},
|
|
113
|
+
m(h, p) {
|
|
114
|
+
L(h, t, p), w(t, e), w(e, i), a || (d = lt(
|
|
115
|
+
e,
|
|
116
|
+
"click",
|
|
117
|
+
/*closeModal*/
|
|
118
|
+
n[9]
|
|
119
|
+
), a = !0);
|
|
120
|
+
},
|
|
121
|
+
p: at,
|
|
122
|
+
d(h) {
|
|
123
|
+
h && M(t), a = !1, d();
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function F(n) {
|
|
128
|
+
let t;
|
|
129
|
+
return {
|
|
130
|
+
c() {
|
|
131
|
+
t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', g(t, "class", "ModalLoadingOverlay");
|
|
132
|
+
},
|
|
133
|
+
m(e, i) {
|
|
134
|
+
L(e, t, i);
|
|
135
|
+
},
|
|
136
|
+
d(e) {
|
|
137
|
+
e && M(t);
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function mt(n) {
|
|
142
|
+
let t, e, i = (
|
|
143
|
+
/*show*/
|
|
144
|
+
n[2] === "true" && E(n)
|
|
145
|
+
);
|
|
146
|
+
return {
|
|
147
|
+
c() {
|
|
148
|
+
i && i.c(), t = X();
|
|
149
|
+
},
|
|
150
|
+
m(a, d) {
|
|
151
|
+
i && i.m(a, d), L(a, t, d), e = !0;
|
|
152
|
+
},
|
|
153
|
+
p(a, [d]) {
|
|
154
|
+
/*show*/
|
|
155
|
+
a[2] === "true" ? i ? (i.p(a, d), d & /*show*/
|
|
156
|
+
4 && k(i, 1)) : (i = E(a), i.c(), k(i, 1), i.m(t.parentNode, t)) : i && (J(), W(i, 1, 1, () => {
|
|
157
|
+
i = null;
|
|
158
|
+
}), P());
|
|
159
|
+
},
|
|
160
|
+
i(a) {
|
|
161
|
+
e || (k(i), e = !0);
|
|
162
|
+
},
|
|
163
|
+
o(a) {
|
|
164
|
+
W(i), e = !1;
|
|
165
|
+
},
|
|
166
|
+
d(a) {
|
|
167
|
+
a && M(t), i && i.d(a);
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
function gt(n, t, e) {
|
|
172
|
+
let { $$slots: i = {}, $$scope: a } = t, { mbsource: d } = t, { clientstyling: h } = t, { clientstylingurl: p } = t, { show: m } = t, { modaltype: c = "" } = t, { isloading: u = "false" } = t, { width: y } = t, { height: f } = t, s, r, b, l, S = !1;
|
|
173
|
+
const T = () => {
|
|
174
|
+
s && (s.classList.add("closing"), setTimeout(
|
|
175
|
+
() => {
|
|
176
|
+
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
177
|
+
},
|
|
178
|
+
200
|
|
179
|
+
));
|
|
180
|
+
}, z = async () => {
|
|
181
|
+
if (!l || !b || S)
|
|
182
|
+
return;
|
|
183
|
+
S = !0;
|
|
184
|
+
const o = l.offsetWidth, K = l.offsetHeight;
|
|
185
|
+
e(8, l.style.width = `${o}px`, l), e(8, l.style.height = `${K}px`, l), l.offsetHeight, await O();
|
|
186
|
+
const N = b.scrollHeight, Q = b.scrollWidth;
|
|
187
|
+
e(8, l.style.width = `${Q}px`, l), e(8, l.style.height = `${N}px`, l), setTimeout(
|
|
188
|
+
() => {
|
|
189
|
+
l && (e(8, l.style.width = "auto", l), e(8, l.style.height = "auto", l)), S = !1;
|
|
190
|
+
},
|
|
191
|
+
300
|
|
192
|
+
);
|
|
193
|
+
};
|
|
194
|
+
$(() => {
|
|
195
|
+
if (O().then(() => {
|
|
196
|
+
z();
|
|
197
|
+
}), b) {
|
|
198
|
+
const o = new ResizeObserver(() => {
|
|
199
|
+
z();
|
|
200
|
+
});
|
|
201
|
+
return o.observe(b), () => {
|
|
202
|
+
o.disconnect();
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
return () => {
|
|
206
|
+
};
|
|
207
|
+
});
|
|
208
|
+
function Y(o) {
|
|
209
|
+
v[o ? "unshift" : "push"](() => {
|
|
210
|
+
b = o, e(7, b);
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
function q(o) {
|
|
214
|
+
v[o ? "unshift" : "push"](() => {
|
|
215
|
+
l = o, e(8, l);
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
function R(o) {
|
|
219
|
+
v[o ? "unshift" : "push"](() => {
|
|
220
|
+
s = o, e(6, s);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
function D() {
|
|
224
|
+
y = this.clientWidth, f = this.clientHeight, e(0, y), e(1, f);
|
|
225
|
+
}
|
|
226
|
+
function G(o) {
|
|
227
|
+
v[o ? "unshift" : "push"](() => {
|
|
228
|
+
r = o, e(5, r);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
return n.$$set = (o) => {
|
|
232
|
+
"mbsource" in o && e(10, d = o.mbsource), "clientstyling" in o && e(11, h = o.clientstyling), "clientstylingurl" in o && e(12, p = o.clientstylingurl), "show" in o && e(2, m = o.show), "modaltype" in o && e(3, c = o.modaltype), "isloading" in o && e(4, u = o.isloading), "width" in o && e(0, y = o.width), "height" in o && e(1, f = o.height), "$$scope" in o && e(13, a = o.$$scope);
|
|
233
|
+
}, n.$$.update = () => {
|
|
234
|
+
n.$$.dirty & /*isloading*/
|
|
235
|
+
16 && u && O().then(() => {
|
|
236
|
+
z();
|
|
237
|
+
}), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
238
|
+
2080 && h && r && rt(r, h), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
239
|
+
4128 && p && r && dt(r, p), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
240
|
+
1056 && d && r && ct(r, `${d}.Style`);
|
|
241
|
+
}, [
|
|
242
|
+
y,
|
|
243
|
+
f,
|
|
244
|
+
m,
|
|
245
|
+
c,
|
|
246
|
+
u,
|
|
247
|
+
r,
|
|
248
|
+
s,
|
|
249
|
+
b,
|
|
250
|
+
l,
|
|
251
|
+
T,
|
|
252
|
+
d,
|
|
253
|
+
h,
|
|
254
|
+
p,
|
|
255
|
+
a,
|
|
256
|
+
i,
|
|
257
|
+
Y,
|
|
258
|
+
q,
|
|
259
|
+
R,
|
|
260
|
+
D,
|
|
261
|
+
G
|
|
262
|
+
];
|
|
263
|
+
}
|
|
264
|
+
class pt extends U {
|
|
265
|
+
constructor(t) {
|
|
266
|
+
super(), V(
|
|
267
|
+
this,
|
|
268
|
+
t,
|
|
269
|
+
gt,
|
|
270
|
+
mt,
|
|
271
|
+
Z,
|
|
272
|
+
{
|
|
273
|
+
mbsource: 10,
|
|
274
|
+
clientstyling: 11,
|
|
275
|
+
clientstylingurl: 12,
|
|
276
|
+
show: 2,
|
|
277
|
+
modaltype: 3,
|
|
278
|
+
isloading: 4,
|
|
279
|
+
width: 0,
|
|
280
|
+
height: 1
|
|
281
|
+
},
|
|
282
|
+
ht
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
get mbsource() {
|
|
286
|
+
return this.$$.ctx[10];
|
|
287
|
+
}
|
|
288
|
+
set mbsource(t) {
|
|
289
|
+
this.$$set({ mbsource: t }), _();
|
|
290
|
+
}
|
|
291
|
+
get clientstyling() {
|
|
292
|
+
return this.$$.ctx[11];
|
|
293
|
+
}
|
|
294
|
+
set clientstyling(t) {
|
|
295
|
+
this.$$set({ clientstyling: t }), _();
|
|
296
|
+
}
|
|
297
|
+
get clientstylingurl() {
|
|
298
|
+
return this.$$.ctx[12];
|
|
299
|
+
}
|
|
300
|
+
set clientstylingurl(t) {
|
|
301
|
+
this.$$set({ clientstylingurl: t }), _();
|
|
302
|
+
}
|
|
303
|
+
get show() {
|
|
304
|
+
return this.$$.ctx[2];
|
|
305
|
+
}
|
|
306
|
+
set show(t) {
|
|
307
|
+
this.$$set({ show: t }), _();
|
|
308
|
+
}
|
|
309
|
+
get modaltype() {
|
|
310
|
+
return this.$$.ctx[3];
|
|
311
|
+
}
|
|
312
|
+
set modaltype(t) {
|
|
313
|
+
this.$$set({ modaltype: t }), _();
|
|
314
|
+
}
|
|
315
|
+
get isloading() {
|
|
316
|
+
return this.$$.ctx[4];
|
|
317
|
+
}
|
|
318
|
+
set isloading(t) {
|
|
319
|
+
this.$$set({ isloading: t }), _();
|
|
320
|
+
}
|
|
321
|
+
get width() {
|
|
322
|
+
return this.$$.ctx[0];
|
|
323
|
+
}
|
|
324
|
+
set width(t) {
|
|
325
|
+
this.$$set({ width: t }), _();
|
|
326
|
+
}
|
|
327
|
+
get height() {
|
|
328
|
+
return this.$$.ctx[1];
|
|
329
|
+
}
|
|
330
|
+
set height(t) {
|
|
331
|
+
this.$$set({ height: t }), _();
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
ut(pt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["content"], [], !0);
|
|
335
|
+
export {
|
|
336
|
+
pt as default
|
|
337
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var C=(o,e,i)=>new Promise((n,a)=>{var u=d=>{try{p(i.next(d))}catch(r){a(r)}},h=d=>{try{p(i.throw(d))}catch(r){a(r)}},p=d=>d.done?n(d.value):Promise.resolve(d.value).then(u,h);p((i=i.apply(o,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-Bmkxhtnm.cjs");function F(o){t.append_styles(o,"svelte-10nykxd",'*,*::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}.ModalContainer{min-width:300px;width:auto;height:auto;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);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%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);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 Y=o=>({}),x=o=>({});function k(o){let e,i,n,a,u,h,p,d,r=o[3]!=="error"&&o[3]!=="bonusList"&&v(o),g=o[4]==="true"&&M();const _=o[14].content,m=t.create_slot(_,o,o[13],x);return{c(){e=t.element("div"),i=t.element("div"),n=t.element("div"),r&&r.c(),a=t.space(),g&&g.c(),u=t.space(),h=t.element("div"),m&&m.c(),t.attr(h,"class","ModalContentWrapper"),t.toggle_class(h,"hidden",o[4]==="true"),t.attr(n,"class","ModalContainer"),t.toggle_class(n,"video-mode",o[3]==="video"),t.toggle_class(n,"twofa-mode",o[3]==="2fa"),t.attr(i,"id","Modal"),t.add_render_callback(()=>o[18].call(i))},m(l,f){t.insert(l,e,f),t.append(e,i),t.append(i,n),r&&r.m(n,null),t.append(n,a),g&&g.m(n,null),t.append(n,u),t.append(n,h),m&&m.m(h,null),o[15](h),o[16](n),o[17](i),p=t.add_iframe_resize_listener(i,o[18].bind(i)),o[19](e),d=!0},p(l,f){l[3]!=="error"&&l[3]!=="bonusList"?r?r.p(l,f):(r=v(l),r.c(),r.m(n,a)):r&&(r.d(1),r=null),l[4]==="true"?g||(g=M(),g.c(),g.m(n,u)):g&&(g.d(1),g=null),m&&m.p&&(!d||f&8192)&&t.update_slot_base(m,_,l,l[13],d?t.get_slot_changes(_,l[13],f,Y):t.get_all_dirty_from_scope(l[13]),x),(!d||f&16)&&t.toggle_class(h,"hidden",l[4]==="true"),(!d||f&8)&&t.toggle_class(n,"video-mode",l[3]==="video"),(!d||f&8)&&t.toggle_class(n,"twofa-mode",l[3]==="2fa")},i(l){d||(t.transition_in(m,l),d=!0)},o(l){t.transition_out(m,l),d=!1},d(l){l&&t.detach(e),r&&r.d(),g&&g.d(),m&&m.d(l),o[15](null),o[16](null),o[17](null),p(),o[19](null)}}}function v(o){let e,i,n,a,u;return{c(){e=t.element("div"),i=t.svg_element("svg"),n=t.svg_element("path"),t.attr(n,"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"),t.attr(i,"xmlns","http://www.w3.org/2000/svg"),t.attr(i,"viewBox","0 0 13 13"),t.attr(i,"fill","none"),t.attr(i,"class","CloseButton"),t.attr(e,"class","ModalCloseIcon")},m(h,p){t.insert(h,e,p),t.append(e,i),t.append(i,n),a||(u=t.listen(i,"click",o[9]),a=!0)},p:t.noop,d(h){h&&t.detach(e),a=!1,u()}}}function M(o){let e;return{c(){e=t.element("div"),e.innerHTML='<div class="ModalLoader"></div>',t.attr(e,"class","ModalLoadingOverlay")},m(i,n){t.insert(i,e,n)},d(i){i&&t.detach(e)}}}function B(o){let e,i,n=o[2]==="true"&&k(o);return{c(){n&&n.c(),e=t.empty()},m(a,u){n&&n.m(a,u),t.insert(a,e,u),i=!0},p(a,[u]){a[2]==="true"?n?(n.p(a,u),u&4&&t.transition_in(n,1)):(n=k(a),n.c(),t.transition_in(n,1),n.m(e.parentNode,e)):n&&(t.group_outros(),t.transition_out(n,1,1,()=>{n=null}),t.check_outros())},i(a){i||(t.transition_in(n),i=!0)},o(a){t.transition_out(n),i=!1},d(a){a&&t.detach(e),n&&n.d(a)}}}function q(o,e,i){let{$$slots:n={},$$scope:a}=e,{mbsource:u}=e,{clientstyling:h}=e,{clientstylingurl:p}=e,{show:d}=e,{modaltype:r=""}=e,{isloading:g="false"}=e,{width:_}=e,{height:m}=e,l,f,b,c,y=!1;const S=()=>{l&&(l.classList.add("closing"),setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},w=()=>C(this,null,function*(){if(!c||!b||y)return;y=!0;const s=c.offsetWidth,j=c.offsetHeight;i(8,c.style.width=`${s}px`,c),i(8,c.style.height=`${j}px`,c),c.offsetHeight,yield t.tick();const T=b.scrollHeight,E=b.scrollWidth;i(8,c.style.width=`${E}px`,c),i(8,c.style.height=`${T}px`,c),setTimeout(()=>{c&&(i(8,c.style.width="auto",c),i(8,c.style.height="auto",c)),y=!1},300)});t.onMount(()=>{if(t.tick().then(()=>{w()}),b){const s=new ResizeObserver(()=>{w()});return s.observe(b),()=>{s.disconnect()}}return()=>{}});function z(s){t.binding_callbacks[s?"unshift":"push"](()=>{b=s,i(7,b)})}function O(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,i(8,c)})}function W(s){t.binding_callbacks[s?"unshift":"push"](()=>{l=s,i(6,l)})}function H(){_=this.clientWidth,m=this.clientHeight,i(0,_),i(1,m)}function I(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,i(5,f)})}return o.$$set=s=>{"mbsource"in s&&i(10,u=s.mbsource),"clientstyling"in s&&i(11,h=s.clientstyling),"clientstylingurl"in s&&i(12,p=s.clientstylingurl),"show"in s&&i(2,d=s.show),"modaltype"in s&&i(3,r=s.modaltype),"isloading"in s&&i(4,g=s.isloading),"width"in s&&i(0,_=s.width),"height"in s&&i(1,m=s.height),"$$scope"in s&&i(13,a=s.$$scope)},o.$$.update=()=>{o.$$.dirty&16&&g&&t.tick().then(()=>{w()}),o.$$.dirty&2080&&h&&f&&t.setClientStyling(f,h),o.$$.dirty&4128&&p&&f&&t.setClientStylingURL(f,p),o.$$.dirty&1056&&u&&f&&t.setStreamStyling(f,`${u}.Style`)},[_,m,d,r,g,f,l,b,c,S,u,h,p,a,n,z,O,W,H,I]}class L extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,q,B,t.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},F)}get mbsource(){return this.$$.ctx[10]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(e){this.$$set({modaltype:e}),t.flush()}get isloading(){return this.$$.ctx[4]}set isloading(e){this.$$set({isloading:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(L,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["content"],[],!0);exports.default=L;
|