@everymatrix/cashier-page 1.93.15 → 1.93.20
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-DJXsZKF9.js +5797 -0
- package/components/CashierCarousel-DMrMmClP.cjs +23 -0
- package/components/CashierCarousel-DwrGzk7c.js +5835 -0
- package/components/CashierError-BL_rmfvV.cjs +1 -0
- package/components/{CashierError-CmQqKE96.js → CashierError-Bqtyy8-q.js} +11 -12
- package/components/{CashierError-lww0Xhhd.js → CashierError-D054pa3k.js} +12 -13
- package/components/CashierHeader-BNDmkX5f.js +397 -0
- package/components/CashierHeader-DJYOdmdi.js +397 -0
- package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
- package/components/{CashierIframeRedirect-Cp8i9DwX.js → CashierIframeRedirect-CF8dL6ee.js} +106 -91
- package/components/{CashierIframeRedirect-D8w_XK4C.js → CashierIframeRedirect-CbC9sVb1.js} +108 -93
- package/components/{CashierMethodDetails-xNqhPyCs.js → CashierMethodDetails-C4LO5ZmR.js} +3063 -2638
- package/components/{CashierMethodDetails-D1X3MbmW.js → CashierMethodDetails-DPSHfVSK.js} +3281 -2856
- package/components/CashierMethodDetails-Zu0mfsD3.cjs +85 -0
- package/components/{CashierMethodsList-Cj6o2dtI.js → CashierMethodsList-Cab5da83.js} +51 -51
- package/components/CashierMethodsList-D1hypwra.cjs +1 -0
- package/components/{CashierMethodsList-COnGq2tb.js → CashierMethodsList-a7jjIZJf.js} +61 -61
- package/components/CashierModal-BLrymidc.cjs +1 -0
- package/components/{CashierModal-DYVHfktP.js → CashierModal-CV1Fn4BP.js} +34 -35
- package/components/{CashierModal-DANMfzKu.js → CashierModal-ZV_9oeml.js} +48 -49
- package/components/CashierNotifications-B8bRZMac.cjs +1 -0
- package/components/{CashierNotifications-IhAYYFLY.js → CashierNotifications-C_xReVni.js} +3 -3
- package/components/{CashierNotifications-Yvo_vvrp.js → CashierNotifications-DHKh64xU.js} +5 -5
- package/components/CashierPage-BRIKDWtS.cjs +1 -0
- package/components/CashierPage-CP9Cqpxc.js +4531 -0
- package/components/CashierPage-CvryQjo1.js +4565 -0
- package/components/{CashierReceiptPage-BtK09hHe.js → CashierReceiptPage-AZUU23Gj.js} +79 -78
- package/components/{CashierReceiptPage-CYUSXFbL.js → CashierReceiptPage-DLR6eK_m.js} +80 -79
- package/components/CashierReceiptPage-uOjbYrPM.cjs +26 -0
- package/components/{CashierSessionExpirationModal-YLys2PDl.js → CashierSessionExpirationModal-C9Tx9XKH.js} +132 -131
- package/components/CashierSessionExpirationModal-Ce2YoO0w.cjs +2 -0
- package/components/{CashierSessionExpirationModal-C5gv5Kex.js → CashierSessionExpirationModal-DXHf3_kf.js} +132 -131
- package/components/{CashierSpinner-DEY3bxsG.js → CashierSpinner-D3HhhmOb.js} +10 -11
- package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
- package/components/{CashierSpinner-C_YWOPLu.js → CashierSpinner-DyemUXs_.js} +12 -13
- package/components/{CashierStepUp-C-C7MzQF.js → CashierStepUp-CSZd5C7z.js} +245 -246
- package/components/{CashierStepUp-OocwQDO8.js → CashierStepUp-CmTcFbG9.js} +168 -169
- package/components/CashierStepUp-DKytvkqu.cjs +1 -0
- package/components/{CashierTransactionHistory-uR3LgcWt.js → CashierTransactionHistory-BEGYEMBh.js} +53 -52
- package/components/CashierTransactionHistory-Bo-v22P3.cjs +1 -0
- package/components/{CashierTransactionHistory-Cr0MttRX.js → CashierTransactionHistory-DlyX-frZ.js} +53 -52
- package/components/{CashierVerifications-CZkslVbR.js → CashierVerifications-C9vycMOx.js} +140 -156
- package/components/{CashierVerifications-k6yPLmW_.js → CashierVerifications-YwLouGLa.js} +151 -167
- package/components/CashierVerifications-xB9Sk0Qp.cjs +1 -0
- package/components/{TxnStatusIcon-Diii3Es2.js → TxnStatusIcon-BwvCa-Ig.js} +1 -1
- package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
- package/components/{TxnStatusIcon-Dgm2t94G.js → TxnStatusIcon-ssLhQR5N.js} +8 -8
- package/components/{TxnTypeIcons-BpmVN0J8.js → TxnTypeIcons-B84nFRMh.js} +1 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
- package/components/{TxnTypeIcons-DXpOeTfk.js → TxnTypeIcons-DhwUYw-o.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/components/CashierCarousel-2Y_QFlk8.js +0 -675
- package/components/CashierCarousel-LFH0uftr.js +0 -672
- package/components/CashierCarousel-Njl1VM8D.cjs +0 -1
- package/components/CashierError-zaQMVBwa.cjs +0 -1
- package/components/CashierHeader-BRtZK3Yj.cjs +0 -1
- package/components/CashierHeader-BXQCcYBU.js +0 -456
- package/components/CashierHeader-CV1mrRsd.js +0 -456
- package/components/CashierIframeRedirect-CYEQyHaS.cjs +0 -1
- package/components/CashierMethodDetails-BvSDCKZN.cjs +0 -85
- package/components/CashierMethodsList-BOpP96gM.cjs +0 -1
- package/components/CashierModal--1fztdGJ.cjs +0 -1
- package/components/CashierNotifications-CHbG6OoC.cjs +0 -1
- package/components/CashierPage-Bl4ava_U.js +0 -10064
- package/components/CashierPage-C7hbc8P5.cjs +0 -23
- package/components/CashierPage-DY5ngRhg.js +0 -10011
- package/components/CashierReceiptPage-DAfRN8k6.cjs +0 -26
- package/components/CashierSessionExpirationModal-Cd-Gd4Ir.cjs +0 -2
- package/components/CashierSpinner-Bvspj0cH.cjs +0 -1
- package/components/CashierStepUp-4B7szI7i.cjs +0 -1
- package/components/CashierTransactionHistory-Cpr3zr_V.cjs +0 -1
- package/components/CashierVerifications-Ddf15TF_.cjs +0 -1
- package/components/TxnStatusIcon-_lk_AnRy.cjs +0 -1
- package/components/TxnTypeIcons-CmilEOnE.cjs +0 -1
|
@@ -2,29 +2,28 @@ var B = (i, e, t) => new Promise((n, a) => {
|
|
|
2
2
|
var f = (p) => {
|
|
3
3
|
try {
|
|
4
4
|
g(t.next(p));
|
|
5
|
-
} catch (
|
|
6
|
-
a(
|
|
5
|
+
} catch (C) {
|
|
6
|
+
a(C);
|
|
7
7
|
}
|
|
8
8
|
}, h = (p) => {
|
|
9
9
|
try {
|
|
10
10
|
g(t.throw(p));
|
|
11
|
-
} catch (
|
|
12
|
-
a(
|
|
11
|
+
} catch (C) {
|
|
12
|
+
a(C);
|
|
13
13
|
}
|
|
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, b as ne, s as oe, f as M, c as le, e as S, t as O, g as z,
|
|
18
|
-
import { s as me, a as ge, b as pe } from "./CashierHeader-CV1mrRsd.js";
|
|
17
|
+
import { S as ie, b as ne, s as oe, f as M, c as le, e as S, t as O, g as z, a6 as se, a7 as ae, k as H, m as x, q as re, T as j, d as F, u as Y, h as D, j as q, W as T, l as v, a8 as de, n as W, o as m, L as ce, y as I, G as fe, x as ue, X as R, B as he, C as me, D as ge, E as pe } from "./CashierCarousel-DwrGzk7c.js";
|
|
19
18
|
function we(i) {
|
|
20
19
|
le(i, "svelte-e2luo5", '*,*::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)}.Uppercase{text-transform:uppercase}.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}}');
|
|
21
20
|
}
|
|
22
|
-
const ye = (i) => ({}), U = (i) => ({}), _e = (i) => ({}),
|
|
23
|
-
function
|
|
24
|
-
let e, t, n, a, f, h, g, p,
|
|
21
|
+
const ye = (i) => ({}), U = (i) => ({}), _e = (i) => ({}), G = (i) => ({});
|
|
22
|
+
function P(i) {
|
|
23
|
+
let e, t, n, a, f, h, g, p, C, b, k, u, d = (
|
|
25
24
|
/*modaltype*/
|
|
26
25
|
(i[3] == "error" || /*modaltype*/
|
|
27
|
-
i[3] == "bonusDescription") &&
|
|
26
|
+
i[3] == "bonusDescription") && X()
|
|
28
27
|
);
|
|
29
28
|
const w = (
|
|
30
29
|
/*#slots*/
|
|
@@ -34,14 +33,14 @@ function G(i) {
|
|
|
34
33
|
i,
|
|
35
34
|
/*$$scope*/
|
|
36
35
|
i[13],
|
|
37
|
-
|
|
36
|
+
G
|
|
38
37
|
);
|
|
39
38
|
let r = (
|
|
40
39
|
/*modaltype*/
|
|
41
|
-
i[3] != "2fa-old" &&
|
|
40
|
+
i[3] != "2fa-old" && Z(i)
|
|
42
41
|
), l = (
|
|
43
42
|
/*isloading*/
|
|
44
|
-
i[4] === "true" &&
|
|
43
|
+
i[4] === "true" && A()
|
|
45
44
|
);
|
|
46
45
|
const L = (
|
|
47
46
|
/*#slots*/
|
|
@@ -55,7 +54,7 @@ function G(i) {
|
|
|
55
54
|
);
|
|
56
55
|
return {
|
|
57
56
|
c() {
|
|
58
|
-
e =
|
|
57
|
+
e = x("div"), t = x("div"), n = x("div"), a = x("div"), d && d.c(), f = W(), h = x("div"), y && y.c(), g = W(), r && r.c(), p = W(), l && l.c(), C = W(), b = x("div"), c && c.c(), m(h, "class", "TitleText"), m(a, "class", "ModalTitle"), m(n, "class", "ModalHeader"), m(b, "class", "ModalContentWrapper"), T(
|
|
59
58
|
b,
|
|
60
59
|
"hidden",
|
|
61
60
|
/*isloading*/
|
|
@@ -76,7 +75,7 @@ function G(i) {
|
|
|
76
75
|
));
|
|
77
76
|
},
|
|
78
77
|
m(s, _) {
|
|
79
|
-
H(s, e, _), v(e, t), v(t, n), v(n, a), d && d.m(a, null), v(a, f), v(a, h), y && y.m(h, null), v(n, g), r && r.m(n, null), v(t, p), l && l.m(t, null), v(t,
|
|
78
|
+
H(s, e, _), v(e, t), v(t, n), v(n, a), d && d.m(a, null), v(a, f), v(a, h), y && y.m(h, null), v(n, g), r && r.m(n, null), v(t, p), l && l.m(t, null), v(t, C), v(t, b), c && c.m(b, null), i[15](b), i[16](t), i[17](e), k = de(
|
|
80
79
|
e,
|
|
81
80
|
/*div5_elementresize_handler*/
|
|
82
81
|
i[18].bind(e)
|
|
@@ -85,40 +84,40 @@ function G(i) {
|
|
|
85
84
|
p(s, _) {
|
|
86
85
|
/*modaltype*/
|
|
87
86
|
s[3] == "error" || /*modaltype*/
|
|
88
|
-
s[3] == "bonusDescription" ? d || (d =
|
|
87
|
+
s[3] == "bonusDescription" ? d || (d = X(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), y && y.p && (!u || _ & /*$$scope*/
|
|
89
88
|
8192) && Y(
|
|
90
89
|
y,
|
|
91
90
|
w,
|
|
92
91
|
s,
|
|
93
92
|
/*$$scope*/
|
|
94
93
|
s[13],
|
|
95
|
-
u ?
|
|
94
|
+
u ? q(
|
|
96
95
|
w,
|
|
97
96
|
/*$$scope*/
|
|
98
97
|
s[13],
|
|
99
98
|
_,
|
|
100
99
|
_e
|
|
101
|
-
) :
|
|
100
|
+
) : D(
|
|
102
101
|
/*$$scope*/
|
|
103
102
|
s[13]
|
|
104
103
|
),
|
|
105
|
-
|
|
104
|
+
G
|
|
106
105
|
), /*modaltype*/
|
|
107
|
-
s[3] != "2fa-old" ? r ? r.p(s, _) : (r =
|
|
108
|
-
s[4] === "true" ? l || (l =
|
|
106
|
+
s[3] != "2fa-old" ? r ? r.p(s, _) : (r = Z(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
107
|
+
s[4] === "true" ? l || (l = A(), l.c(), l.m(t, C)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
|
|
109
108
|
8192) && Y(
|
|
110
109
|
c,
|
|
111
110
|
L,
|
|
112
111
|
s,
|
|
113
112
|
/*$$scope*/
|
|
114
113
|
s[13],
|
|
115
|
-
u ?
|
|
114
|
+
u ? q(
|
|
116
115
|
L,
|
|
117
116
|
/*$$scope*/
|
|
118
117
|
s[13],
|
|
119
118
|
_,
|
|
120
119
|
ye
|
|
121
|
-
) :
|
|
120
|
+
) : D(
|
|
122
121
|
/*$$scope*/
|
|
123
122
|
s[13]
|
|
124
123
|
),
|
|
@@ -154,11 +153,11 @@ function G(i) {
|
|
|
154
153
|
}
|
|
155
154
|
};
|
|
156
155
|
}
|
|
157
|
-
function
|
|
156
|
+
function X(i) {
|
|
158
157
|
let e;
|
|
159
158
|
return {
|
|
160
159
|
c() {
|
|
161
|
-
e =
|
|
160
|
+
e = x("div"), e.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>', m(e, "class", "WarningIcon");
|
|
162
161
|
},
|
|
163
162
|
m(t, n) {
|
|
164
163
|
H(t, e, n);
|
|
@@ -168,11 +167,11 @@ function P(i) {
|
|
|
168
167
|
}
|
|
169
168
|
};
|
|
170
169
|
}
|
|
171
|
-
function
|
|
170
|
+
function Z(i) {
|
|
172
171
|
let e, t, n, a, f;
|
|
173
172
|
return {
|
|
174
173
|
c() {
|
|
175
|
-
e =
|
|
174
|
+
e = x("div"), t = R("svg"), n = R("path"), m(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"), m(t, "xmlns", "http://www.w3.org/2000/svg"), m(t, "viewBox", "0 0 13 13"), m(t, "fill", "none"), m(t, "class", "CloseButton"), m(e, "class", "ModalCloseIcon");
|
|
176
175
|
},
|
|
177
176
|
m(h, g) {
|
|
178
177
|
H(h, e, g), v(e, t), v(t, n), a || (f = ue(
|
|
@@ -188,11 +187,11 @@ function Q(i) {
|
|
|
188
187
|
}
|
|
189
188
|
};
|
|
190
189
|
}
|
|
191
|
-
function
|
|
190
|
+
function A(i) {
|
|
192
191
|
let e;
|
|
193
192
|
return {
|
|
194
193
|
c() {
|
|
195
|
-
e =
|
|
194
|
+
e = x("div"), e.innerHTML = '<div class="ModalLoader"></div>', m(e, "class", "ModalLoadingOverlay");
|
|
196
195
|
},
|
|
197
196
|
m(t, n) {
|
|
198
197
|
H(t, e, n);
|
|
@@ -205,11 +204,11 @@ function Z(i) {
|
|
|
205
204
|
function be(i) {
|
|
206
205
|
let e, t, n = (
|
|
207
206
|
/*show*/
|
|
208
|
-
i[2] === "true" &&
|
|
207
|
+
i[2] === "true" && P(i)
|
|
209
208
|
);
|
|
210
209
|
return {
|
|
211
210
|
c() {
|
|
212
|
-
e =
|
|
211
|
+
e = x("div"), n && n.c();
|
|
213
212
|
},
|
|
214
213
|
m(a, f) {
|
|
215
214
|
H(a, e, f), n && n.m(e, null), i[19](e), t = !0;
|
|
@@ -217,7 +216,7 @@ function be(i) {
|
|
|
217
216
|
p(a, [f]) {
|
|
218
217
|
/*show*/
|
|
219
218
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
220
|
-
4 && z(n, 1)) : (n =
|
|
219
|
+
4 && z(n, 1)) : (n = P(a), n.c(), z(n, 1), n.m(e, null)) : n && (se(), O(n, 1, 1, () => {
|
|
221
220
|
n = null;
|
|
222
221
|
}), ae());
|
|
223
222
|
},
|
|
@@ -233,7 +232,7 @@ function be(i) {
|
|
|
233
232
|
};
|
|
234
233
|
}
|
|
235
234
|
function ve(i, e, t) {
|
|
236
|
-
let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: h } = e, { clientstylingurl: g } = e, { show: p } = e, { modaltype:
|
|
235
|
+
let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: h } = e, { clientstylingurl: g } = e, { show: p } = e, { modaltype: C = "" } = e, { isloading: b = "false" } = e, { width: k } = e, { height: u } = e, d, w, y, r, l, L = !1, c, s;
|
|
237
236
|
const _ = () => {
|
|
238
237
|
c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
|
|
239
238
|
() => {
|
|
@@ -271,43 +270,43 @@ function ve(i, e, t) {
|
|
|
271
270
|
};
|
|
272
271
|
});
|
|
273
272
|
function J(o) {
|
|
274
|
-
|
|
273
|
+
I[o ? "unshift" : "push"](() => {
|
|
275
274
|
r = o, t(7, r);
|
|
276
275
|
});
|
|
277
276
|
}
|
|
278
277
|
function K(o) {
|
|
279
|
-
|
|
278
|
+
I[o ? "unshift" : "push"](() => {
|
|
280
279
|
l = o, t(8, l);
|
|
281
280
|
});
|
|
282
281
|
}
|
|
283
282
|
function N(o) {
|
|
284
|
-
|
|
283
|
+
I[o ? "unshift" : "push"](() => {
|
|
285
284
|
d = o, t(6, d);
|
|
286
285
|
});
|
|
287
286
|
}
|
|
288
|
-
function
|
|
287
|
+
function Q() {
|
|
289
288
|
k = this.clientWidth, u = this.clientHeight, t(0, k), t(1, u);
|
|
290
289
|
}
|
|
291
|
-
function
|
|
292
|
-
|
|
290
|
+
function V(o) {
|
|
291
|
+
I[o ? "unshift" : "push"](() => {
|
|
293
292
|
w = o, t(5, w);
|
|
294
293
|
});
|
|
295
294
|
}
|
|
296
295
|
return i.$$set = (o) => {
|
|
297
|
-
"mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, h = o.clientstyling), "clientstylingurl" in o && t(12, g = o.clientstylingurl), "show" in o && t(2, p = o.show), "modaltype" in o && t(3,
|
|
296
|
+
"mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, h = o.clientstyling), "clientstylingurl" in o && t(12, g = o.clientstylingurl), "show" in o && t(2, p = o.show), "modaltype" in o && t(3, C = o.modaltype), "isloading" in o && t(4, b = o.isloading), "width" in o && t(0, k = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
|
|
298
297
|
}, i.$$.update = () => {
|
|
299
298
|
i.$$.dirty & /*isloading*/
|
|
300
299
|
16 && b && j().then(() => {
|
|
301
300
|
E();
|
|
302
301
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
303
|
-
2080 && h && w &&
|
|
304
|
-
4128 && g && w &&
|
|
305
|
-
1056 && f && w &&
|
|
302
|
+
2080 && h && w && he(w, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
303
|
+
4128 && g && w && me(w, g), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
304
|
+
1056 && f && w && ge(w, `${f}.Style`, y);
|
|
306
305
|
}, [
|
|
307
306
|
k,
|
|
308
307
|
u,
|
|
309
308
|
p,
|
|
310
|
-
|
|
309
|
+
C,
|
|
311
310
|
b,
|
|
312
311
|
w,
|
|
313
312
|
d,
|
|
@@ -322,11 +321,11 @@ function ve(i, e, t) {
|
|
|
322
321
|
J,
|
|
323
322
|
K,
|
|
324
323
|
N,
|
|
325
|
-
|
|
326
|
-
|
|
324
|
+
Q,
|
|
325
|
+
V
|
|
327
326
|
];
|
|
328
327
|
}
|
|
329
|
-
class
|
|
328
|
+
class Ce extends ie {
|
|
330
329
|
constructor(e) {
|
|
331
330
|
super(), ne(
|
|
332
331
|
this,
|
|
@@ -396,7 +395,7 @@ class xe extends ie {
|
|
|
396
395
|
this.$$set({ height: e }), M();
|
|
397
396
|
}
|
|
398
397
|
}
|
|
399
|
-
|
|
398
|
+
pe(Ce, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
400
399
|
export {
|
|
401
|
-
|
|
400
|
+
Ce as default
|
|
402
401
|
};
|
|
@@ -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-DJXsZKF9.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-DwrGzk7c.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
|
}
|