@everymatrix/cashier-page 1.92.8 → 1.92.21
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-B-cM-nlR.js +5797 -0
- package/components/CashierCarousel-CXoovlrR.js +5835 -0
- package/components/CashierCarousel-DMrMmClP.cjs +23 -0
- package/components/{CashierError-C854_1dB.js → CashierError-66WHxjwV.js} +45 -44
- package/components/{CashierError-D638x9x-.js → CashierError-BCtelxyY.js} +46 -45
- package/components/CashierError-BL_rmfvV.cjs +1 -0
- package/components/CashierHeader-B7FnLv3f.js +397 -0
- package/components/CashierHeader-BbP0idUh.js +397 -0
- package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
- package/components/{CashierIframeRedirect-BUcU3T5U.js → CashierIframeRedirect-C3muwYdO.js} +106 -91
- package/components/{CashierIframeRedirect-BhmYmTKc.js → CashierIframeRedirect-Ti9O6xV-.js} +108 -93
- package/components/{CashierMethodDetails-iZTHVxaU.js → CashierMethodDetails-C7odWYEI.js} +3987 -3408
- package/components/CashierMethodDetails-DjLhLSey.cjs +85 -0
- package/components/{CashierMethodDetails-BOhUmKCH.js → CashierMethodDetails-JQOw_ppF.js} +4016 -3438
- package/components/{CashierMethodsList-B97v3Xuh.js → CashierMethodsList-C-7-CmRx.js} +65 -65
- package/components/CashierMethodsList-CNxb5rVf.cjs +1 -0
- package/components/{CashierMethodsList-eUczF6XC.js → CashierMethodsList-CZxMoF32.js} +56 -56
- package/components/{CashierModal-C4MoXHG7.js → CashierModal-B1pfSpCs.js} +36 -37
- package/components/{CashierModal-BUkNhHpl.js → CashierModal-BsrmgnKi.js} +32 -33
- package/components/CashierModal-DF8meLAZ.cjs +1 -0
- package/components/CashierNotifications-B8bRZMac.cjs +1 -0
- package/components/{CashierNotifications-BatwRhbq.js → CashierNotifications-BXxNDzMM.js} +3 -3
- package/components/{CashierNotifications-C0NjswTn.js → CashierNotifications-DbJuswYZ.js} +5 -5
- package/components/CashierPage-Bhgj76MY.js +4490 -0
- package/components/CashierPage-CIxAkXYb.js +4460 -0
- package/components/CashierPage-iIGUB5g4.cjs +1 -0
- package/components/CashierReceiptPage-B530KWIS.cjs +26 -0
- package/components/{CashierReceiptPage-CdqmVXe9.js → CashierReceiptPage-DGZSqJFO.js} +169 -156
- package/components/{CashierReceiptPage-2rVfG2fm.js → CashierReceiptPage-DjfCUH2F.js} +177 -164
- package/components/{CashierSessionExpirationModal-CK0YLZbU.js → CashierSessionExpirationModal-BKxhGCj9.js} +254 -267
- package/components/CashierSessionExpirationModal-C6owPr_u.cjs +2 -0
- package/components/{CashierSessionExpirationModal-0EbJrsdx.js → CashierSessionExpirationModal-CU8HtTwA.js} +267 -280
- package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
- package/components/{CashierSpinner-hEROg29-.js → CashierSpinner-DMrM0bGx.js} +10 -11
- package/components/{CashierSpinner-DGz_dycp.js → CashierSpinner-gJqeYU1n.js} +12 -13
- package/components/{CashierStepUp-CrJocLXp.js → CashierStepUp-B530YrSp.js} +168 -169
- package/components/{CashierStepUp-q7iSJelQ.js → CashierStepUp-BtmD9q4i.js} +245 -246
- package/components/CashierStepUp-DKytvkqu.cjs +1 -0
- package/components/{CashierTransactionHistory-sGV35WcB.js → CashierTransactionHistory-CWxjn4dO.js} +71 -71
- package/components/CashierTransactionHistory-CYaB1hEN.cjs +1 -0
- package/components/{CashierTransactionHistory-BrgrDNsw.js → CashierTransactionHistory-D1hopcmz.js} +66 -66
- package/components/{CashierVerifications-yC2Ur1H-.js → CashierVerifications-B3UcXWeI.js} +142 -158
- package/components/{CashierVerifications-DnM9z8za.js → CashierVerifications-CWsTc0hE.js} +102 -118
- package/components/CashierVerifications-D3X4oFbB.cjs +1 -0
- package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
- package/components/{TxnStatusIcon-BduMMfo6.js → TxnStatusIcon-DCSCOAn2.js} +1 -1
- package/components/{TxnStatusIcon-rwPr0B_L.js → TxnStatusIcon-DRFHs_0F.js} +8 -8
- package/components/{TxnTypeIcons-ByJ8NlBp.js → TxnTypeIcons-Bg7QJKuH.js} +1 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
- package/components/{TxnTypeIcons-DQrCawdt.js → TxnTypeIcons-D37zQDwq.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-CFDrfBto.cjs +0 -1
- package/components/CashierCarousel-JhSTmzvt.js +0 -672
- package/components/CashierCarousel-PsCjjLe2.js +0 -675
- package/components/CashierError-zeIQl4g_.cjs +0 -1
- package/components/CashierHeader-Bp8vaWrp.cjs +0 -1
- package/components/CashierHeader-D-mMGt-Y.js +0 -456
- package/components/CashierHeader-il09PBLP.js +0 -456
- package/components/CashierIframeRedirect-CMcw96Fv.cjs +0 -1
- package/components/CashierMethodDetails-DnbNzQW6.cjs +0 -85
- package/components/CashierMethodsList-B_9i2Q2s.cjs +0 -1
- package/components/CashierModal-Dq36GGc7.cjs +0 -1
- package/components/CashierNotifications-BB8FN1j_.cjs +0 -1
- package/components/CashierPage-Cc-WWhS2.cjs +0 -23
- package/components/CashierPage-DRWrUyaV.js +0 -9936
- package/components/CashierPage-HxKce2E6.js +0 -9989
- package/components/CashierReceiptPage-CF7knTfT.cjs +0 -26
- package/components/CashierSessionExpirationModal-Dht4fdo7.cjs +0 -2
- package/components/CashierSpinner-D78lroyw.cjs +0 -1
- package/components/CashierStepUp-Dr4sPwOr.cjs +0 -1
- package/components/CashierTransactionHistory-sQ3KzTVb.cjs +0 -1
- package/components/CashierVerifications-t7V-5Qq2.cjs +0 -1
- package/components/TxnStatusIcon-DwP4kCaz.cjs +0 -1
- package/components/TxnTypeIcons-DwmzII52.cjs +0 -1
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { S as te, b as ie, s as ne, f as C,
|
|
2
|
-
import { s as he, a as me, b as ge } from "./CashierHeader-il09PBLP.js";
|
|
1
|
+
import { S as te, b as ie, s as ne, f as C, c as oe, e as S, t as O, g as z, a6 as le, a7 as se, k as H, m as b, q as ae, T as j, d as B, u as F, h as Y, j as D, W as L, l as _, a8 as re, n as W, o as h, L as de, y as I, G as ce, x as fe, X as q, B as ue, C as he, D as me, E as ge } from "./CashierCarousel-B-cM-nlR.js";
|
|
3
2
|
function pe(i) {
|
|
4
3
|
oe(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}}');
|
|
5
4
|
}
|
|
6
|
-
const we = (i) => ({}), R = (i) => ({}), ye = (i) => ({}),
|
|
7
|
-
function
|
|
5
|
+
const we = (i) => ({}), R = (i) => ({}), ye = (i) => ({}), G = (i) => ({});
|
|
6
|
+
function P(i) {
|
|
8
7
|
let e, t, n, a, f, m, v, T, k, y, x, u, d = (
|
|
9
8
|
/*modaltype*/
|
|
10
9
|
(i[3] == "error" || /*modaltype*/
|
|
11
|
-
i[3] == "bonusDescription") &&
|
|
10
|
+
i[3] == "bonusDescription") && U()
|
|
12
11
|
);
|
|
13
12
|
const g = (
|
|
14
13
|
/*#slots*/
|
|
@@ -18,11 +17,11 @@ function A(i) {
|
|
|
18
17
|
i,
|
|
19
18
|
/*$$scope*/
|
|
20
19
|
i[13],
|
|
21
|
-
|
|
20
|
+
G
|
|
22
21
|
);
|
|
23
22
|
let r = (
|
|
24
23
|
/*modaltype*/
|
|
25
|
-
i[3] != "2fa-old" &&
|
|
24
|
+
i[3] != "2fa-old" && X(i)
|
|
26
25
|
), l = (
|
|
27
26
|
/*isloading*/
|
|
28
27
|
i[4] === "true" && Z()
|
|
@@ -39,7 +38,7 @@ function A(i) {
|
|
|
39
38
|
);
|
|
40
39
|
return {
|
|
41
40
|
c() {
|
|
42
|
-
e = b("div"), t = b("div"), n = b("div"), a = b("div"), d && d.c(), f =
|
|
41
|
+
e = b("div"), t = b("div"), n = b("div"), a = b("div"), d && d.c(), f = W(), m = b("div"), p && p.c(), v = W(), r && r.c(), T = W(), l && l.c(), k = W(), y = b("div"), c && c.c(), h(m, "class", "TitleText"), h(a, "class", "ModalTitle"), h(n, "class", "ModalHeader"), h(y, "class", "ModalContentWrapper"), L(
|
|
43
42
|
y,
|
|
44
43
|
"hidden",
|
|
45
44
|
/*isloading*/
|
|
@@ -69,7 +68,7 @@ function A(i) {
|
|
|
69
68
|
p(s, w) {
|
|
70
69
|
/*modaltype*/
|
|
71
70
|
s[3] == "error" || /*modaltype*/
|
|
72
|
-
s[3] == "bonusDescription" ? d || (d =
|
|
71
|
+
s[3] == "bonusDescription" ? d || (d = U(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
|
|
73
72
|
8192) && F(
|
|
74
73
|
p,
|
|
75
74
|
g,
|
|
@@ -86,9 +85,9 @@ function A(i) {
|
|
|
86
85
|
/*$$scope*/
|
|
87
86
|
s[13]
|
|
88
87
|
),
|
|
89
|
-
|
|
88
|
+
G
|
|
90
89
|
), /*modaltype*/
|
|
91
|
-
s[3] != "2fa-old" ? r ? r.p(s, w) : (r =
|
|
90
|
+
s[3] != "2fa-old" ? r ? r.p(s, w) : (r = X(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
92
91
|
s[4] === "true" ? l || (l = Z(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
|
|
93
92
|
8192) && F(
|
|
94
93
|
c,
|
|
@@ -138,7 +137,7 @@ function A(i) {
|
|
|
138
137
|
}
|
|
139
138
|
};
|
|
140
139
|
}
|
|
141
|
-
function
|
|
140
|
+
function U(i) {
|
|
142
141
|
let e;
|
|
143
142
|
return {
|
|
144
143
|
c() {
|
|
@@ -152,11 +151,11 @@ function G(i) {
|
|
|
152
151
|
}
|
|
153
152
|
};
|
|
154
153
|
}
|
|
155
|
-
function
|
|
154
|
+
function X(i) {
|
|
156
155
|
let e, t, n, a, f;
|
|
157
156
|
return {
|
|
158
157
|
c() {
|
|
159
|
-
e = b("div"), t =
|
|
158
|
+
e = b("div"), t = q("svg"), n = q("path"), h(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"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "viewBox", "0 0 13 13"), h(t, "fill", "none"), h(t, "class", "CloseButton"), h(e, "class", "ModalCloseIcon");
|
|
160
159
|
},
|
|
161
160
|
m(m, v) {
|
|
162
161
|
H(m, e, v), _(e, t), _(t, n), a || (f = fe(
|
|
@@ -189,7 +188,7 @@ function Z(i) {
|
|
|
189
188
|
function _e(i) {
|
|
190
189
|
let e, t, n = (
|
|
191
190
|
/*show*/
|
|
192
|
-
i[2] === "true" &&
|
|
191
|
+
i[2] === "true" && P(i)
|
|
193
192
|
);
|
|
194
193
|
return {
|
|
195
194
|
c() {
|
|
@@ -201,7 +200,7 @@ function _e(i) {
|
|
|
201
200
|
p(a, [f]) {
|
|
202
201
|
/*show*/
|
|
203
202
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
204
|
-
4 && z(n, 1)) : (n =
|
|
203
|
+
4 && z(n, 1)) : (n = P(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
|
|
205
204
|
n = null;
|
|
206
205
|
}), se());
|
|
207
206
|
},
|
|
@@ -229,8 +228,8 @@ function be(i, e, t) {
|
|
|
229
228
|
if (!l || !r || M)
|
|
230
229
|
return;
|
|
231
230
|
s && clearTimeout(c), M = !0;
|
|
232
|
-
const o = l.offsetWidth,
|
|
233
|
-
t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${
|
|
231
|
+
const o = l.offsetWidth, V = l.offsetHeight;
|
|
232
|
+
t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${V}px`, l), l.offsetHeight, await j();
|
|
234
233
|
const $ = r.scrollHeight, ee = r.scrollWidth;
|
|
235
234
|
t(8, l.style.width = `${ee}px`, l), t(8, l.style.height = `${$}px`, l), s = setTimeout(
|
|
236
235
|
() => {
|
|
@@ -254,26 +253,26 @@ function be(i, e, t) {
|
|
|
254
253
|
c && clearTimeout(c), s && clearTimeout(c);
|
|
255
254
|
};
|
|
256
255
|
});
|
|
257
|
-
function
|
|
258
|
-
|
|
256
|
+
function A(o) {
|
|
257
|
+
I[o ? "unshift" : "push"](() => {
|
|
259
258
|
r = o, t(7, r);
|
|
260
259
|
});
|
|
261
260
|
}
|
|
262
|
-
function
|
|
263
|
-
|
|
261
|
+
function J(o) {
|
|
262
|
+
I[o ? "unshift" : "push"](() => {
|
|
264
263
|
l = o, t(8, l);
|
|
265
264
|
});
|
|
266
265
|
}
|
|
267
|
-
function
|
|
268
|
-
|
|
266
|
+
function K(o) {
|
|
267
|
+
I[o ? "unshift" : "push"](() => {
|
|
269
268
|
d = o, t(6, d);
|
|
270
269
|
});
|
|
271
270
|
}
|
|
272
|
-
function
|
|
271
|
+
function N() {
|
|
273
272
|
x = this.clientWidth, u = this.clientHeight, t(0, x), t(1, u);
|
|
274
273
|
}
|
|
275
|
-
function
|
|
276
|
-
|
|
274
|
+
function Q(o) {
|
|
275
|
+
I[o ? "unshift" : "push"](() => {
|
|
277
276
|
g = o, t(5, g);
|
|
278
277
|
});
|
|
279
278
|
}
|
|
@@ -284,9 +283,9 @@ function be(i, e, t) {
|
|
|
284
283
|
16 && y && j().then(() => {
|
|
285
284
|
E();
|
|
286
285
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
287
|
-
2080 && m && g &&
|
|
288
|
-
4128 && v && g &&
|
|
289
|
-
1056 && f && g &&
|
|
286
|
+
2080 && m && g && ue(g, m), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
287
|
+
4128 && v && g && he(g, v), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
288
|
+
1056 && f && g && me(g, `${f}.Style`, p);
|
|
290
289
|
}, [
|
|
291
290
|
x,
|
|
292
291
|
u,
|
|
@@ -303,11 +302,11 @@ function be(i, e, t) {
|
|
|
303
302
|
v,
|
|
304
303
|
a,
|
|
305
304
|
n,
|
|
305
|
+
A,
|
|
306
306
|
J,
|
|
307
307
|
K,
|
|
308
308
|
N,
|
|
309
|
-
Q
|
|
310
|
-
V
|
|
309
|
+
Q
|
|
311
310
|
];
|
|
312
311
|
}
|
|
313
312
|
class ve extends te {
|
|
@@ -380,7 +379,7 @@ class ve extends te {
|
|
|
380
379
|
this.$$set({ height: e }), C();
|
|
381
380
|
}
|
|
382
381
|
}
|
|
383
|
-
|
|
382
|
+
ge(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
384
383
|
export {
|
|
385
384
|
ve as default
|
|
386
385
|
};
|
|
@@ -0,0 +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("./CashierCarousel-DMrMmClP.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 Z(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 A(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$1(this,t,A,Z,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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-DMrMmClP.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as k,
|
|
1
|
+
import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-CXoovlrR.js";
|
|
2
2
|
function H(n) {
|
|
3
3
|
k(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
4
|
}
|
|
@@ -9,13 +9,13 @@ function R(n) {
|
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
11
|
n[0]
|
|
12
|
-
), u =
|
|
12
|
+
), u = S(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
14
|
n[1]
|
|
15
15
|
), L(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m =
|
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d,
|
|
1
|
+
import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-B-cM-nlR.js";
|
|
2
2
|
function H(n) {
|
|
3
|
-
|
|
3
|
+
k(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
4
|
}
|
|
5
5
|
function R(n) {
|
|
6
6
|
let t, s, r, u, l, a, i, m;
|
|
@@ -9,13 +9,13 @@ function R(n) {
|
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
11
|
n[0]
|
|
12
|
-
), u =
|
|
12
|
+
), u = S(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
14
|
n[1]
|
|
15
15
|
), L(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m =
|
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
@@ -38,7 +38,7 @@ function R(n) {
|
|
|
38
38
|
i: b,
|
|
39
39
|
o: b,
|
|
40
40
|
d(o) {
|
|
41
|
-
o &&
|
|
41
|
+
o && N(t), n[6](null), i = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|