@everymatrix/cashier-page 1.85.17 → 1.85.18
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-D9RhCULN.js → CashierCarousel-Cf2c1vPp.js} +1938 -1376
- package/components/{CashierCarousel-C-jIotRi.js → CashierCarousel-CsnmOP94.js} +1961 -1398
- package/components/CashierCarousel-DHmjrgBC.cjs +23 -0
- package/components/CashierError-BDmChuIE.js +438 -0
- package/components/CashierError-BIiEXbdF.js +438 -0
- package/components/CashierError-CLWqWwfU.cjs +1 -0
- package/components/CashierHeader-CP7RROYr.cjs +1 -0
- package/components/{CashierHeader-CK_NVBvX.js → CashierHeader-Cecv5g56.js} +51 -51
- package/components/{CashierHeader-Z4vR_fbH.js → CashierHeader-Dd5b4-yJ.js} +47 -47
- package/components/CashierIframeRedirect-BXrhvi-f.cjs +1 -0
- package/components/{CashierIframeRedirect-Cae_sEXq.js → CashierIframeRedirect-DMYVav-v.js} +51 -51
- package/components/{CashierIframeRedirect-Cs3dAZqE.js → CashierIframeRedirect-reE-yTgQ.js} +45 -45
- package/components/CashierMethodDetails-DMWm-2jm.js +9918 -0
- package/components/CashierMethodDetails-Dqye22rm.cjs +85 -0
- package/components/CashierMethodDetails-wpPiw7iF.js +9878 -0
- package/components/CashierMethodsList-3cUFLT6G.js +825 -0
- package/components/CashierMethodsList-Cu_kh22f.cjs +1 -0
- package/components/CashierMethodsList-DLD2m0bS.js +810 -0
- package/components/CashierModal-C-jze_SD.js +342 -0
- package/components/CashierModal-DVeVHCTj.cjs +1 -0
- package/components/CashierModal-Dclaqxyx.js +358 -0
- package/components/{CashierNotifications-64xrf21d.js → CashierNotifications-BVUb_REU.js} +13 -13
- package/components/{CashierNotifications-Cot8tKyV.js → CashierNotifications-COlT367w.js} +13 -13
- package/components/{CashierNotifications-o1UTpxCw.cjs → CashierNotifications-DdrhkPqp.cjs} +1 -1
- package/components/CashierPage-BZrMKgWP.js +3848 -0
- package/components/CashierPage-CNxxSYGB.cjs +1 -0
- package/components/CashierPage-DXq4FlWN.js +3822 -0
- package/components/{CashierReceiptPage-ctSAsYol.js → CashierReceiptPage-BDZFgJSl.js} +894 -744
- package/components/{CashierReceiptPage-xNlmU_u-.js → CashierReceiptPage-aqMEl6Er.js} +887 -737
- package/components/CashierReceiptPage-fKiQGusu.cjs +26 -0
- package/components/{CashierSessionExpirationModal-DbkIQJ-J.js → CashierSessionExpirationModal-BqgXO3EK.js} +238 -238
- package/components/CashierSessionExpirationModal-UM35srIk.cjs +2 -0
- package/components/{CashierSessionExpirationModal-DJxx7PT2.js → CashierSessionExpirationModal-lONAKt8s.js} +202 -202
- package/components/{CashierSpinner-fUvoz21a.js → CashierSpinner-BQWOaYce.js} +8 -8
- package/components/{CashierSpinner-DOCzNsD8.cjs → CashierSpinner-D5McPkCt.cjs} +1 -1
- package/components/{CashierSpinner-CIpXwm9I.js → CashierSpinner-DZSuVNPM.js} +6 -6
- package/components/CashierStepUp-DWd3cylJ.cjs +1 -0
- package/components/CashierStepUp-DyfuU9cc.js +1109 -0
- package/components/CashierStepUp-sBUhsV5t.js +1070 -0
- package/components/CashierTransactionHistory-DG7eCAHQ.js +1305 -0
- package/components/CashierTransactionHistory-EZ0xgsVJ.js +1305 -0
- package/components/CashierTransactionHistory-MUYg9ooO.cjs +1 -0
- package/components/CashierVerifications-BbUQaFnO.cjs +1 -0
- package/components/{CashierVerifications-DyEtjk9T.js → CashierVerifications-Cz6b5MUe.js} +159 -159
- package/components/{CashierVerifications-OqNAPlvP.js → CashierVerifications-kIOoUzVh.js} +144 -144
- package/components/{TxnStatusIcon-Dx4SpBKR.cjs → TxnStatusIcon-BhtPQm1B.cjs} +1 -1
- package/components/{TxnStatusIcon-C5YEVJGC.js → TxnStatusIcon-DMKCkAXd.js} +1 -1
- package/components/{TxnStatusIcon-Cdbn57Qc.js → TxnStatusIcon-ty2g5_He.js} +1 -1
- package/components/{TxnTypeIcons-DaYTcY0u.js → TxnTypeIcons-B5CYl9NW.js} +1 -1
- package/components/{TxnTypeIcons-D-p9WLvQ.cjs → TxnTypeIcons-CyHXLkXz.cjs} +1 -1
- package/components/{TxnTypeIcons-Dl8aWDV4.js → TxnTypeIcons-D_bSXM7r.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +2 -2
- package/esnext/cashier-page.js +2 -2
- package/package.json +1 -1
- package/stencil/{index-b2193545-CEVSYa3a.cjs → index-b2193545-B5Q7rnAU.cjs} +1 -1
- package/stencil/{ui-skeleton-CjyC3-3H.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Cb3lsf1V.cjs → ui-skeleton-ed169f8f-BEwquWmd.cjs} +1 -1
- package/components/CashierCarousel-DXPbv83E.cjs +0 -23
- package/components/CashierError-BrNzlEVN.js +0 -478
- package/components/CashierError-C8pJvoqH.cjs +0 -1
- package/components/CashierError-eoaZt-lY.js +0 -478
- package/components/CashierHeader-B3IckLiD.cjs +0 -1
- package/components/CashierIframeRedirect-CdQkuIPa.cjs +0 -1
- package/components/CashierMethodDetails-C-vMOTBK.cjs +0 -85
- package/components/CashierMethodDetails-CHTQD5q8.js +0 -9014
- package/components/CashierMethodDetails-nseWnQWW.js +0 -8995
- package/components/CashierMethodsList-Bk6wZ8bj.js +0 -733
- package/components/CashierMethodsList-CDXei8fp.cjs +0 -1
- package/components/CashierMethodsList-DmYBXQ0H.js +0 -745
- package/components/CashierModal-By3PyyVz.js +0 -268
- package/components/CashierModal-D2cxw8Kv.cjs +0 -1
- package/components/CashierModal-pKGYmx2d.js +0 -268
- package/components/CashierPage-Bvp8N4fC.cjs +0 -1
- package/components/CashierPage-DYIYpRj6.js +0 -2619
- package/components/CashierPage-Ddeo-vHf.js +0 -2619
- package/components/CashierReceiptPage-C0VpFZGT.cjs +0 -26
- package/components/CashierSessionExpirationModal-DgpP9ZIj.cjs +0 -2
- package/components/CashierTransactionHistory-8T01T0tU.js +0 -1305
- package/components/CashierTransactionHistory-CIy5cCml.cjs +0 -1
- package/components/CashierTransactionHistory-Cd8u6Bhf.js +0 -1305
- package/components/CashierVerifications-5x8_YW9j.cjs +0 -1
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
var I = (n, e, t) => new Promise((i, a) => {
|
|
2
|
+
var c = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
g(t.next(r));
|
|
5
|
+
} catch (l) {
|
|
6
|
+
a(l);
|
|
7
|
+
}
|
|
8
|
+
}, u = (r) => {
|
|
9
|
+
try {
|
|
10
|
+
g(t.throw(r));
|
|
11
|
+
} catch (l) {
|
|
12
|
+
a(l);
|
|
13
|
+
}
|
|
14
|
+
}, g = (r) => r.done ? i(r.value) : Promise.resolve(r.value).then(c, u);
|
|
15
|
+
g((t = t.apply(n, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { S as K, b as P, s as Q, f as _, c as V, e as L, t as H, g as M, a6 as $, a7 as ee, k as S, r as te, q as ie, R as O, d as ne, u as oe, h as se, j as ae, W as x, l as C, a8 as le, m as v, n as j, o as p, L as re, y as k, G as de, x as ce, X as E, B as ue, C as fe, D as he, E as me } from "./CashierCarousel-CsnmOP94.js";
|
|
18
|
+
function ge(n) {
|
|
19
|
+
V(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}}');
|
|
20
|
+
}
|
|
21
|
+
const pe = (n) => ({}), B = (n) => ({});
|
|
22
|
+
function F(n) {
|
|
23
|
+
let e, t, i, a, c, u, g, r, l = (
|
|
24
|
+
/*modaltype*/
|
|
25
|
+
n[3] !== "error" && /*modaltype*/
|
|
26
|
+
n[3] !== "bonusList" && /*modaltype*/
|
|
27
|
+
n[3] !== "2fa" && /*modaltype*/
|
|
28
|
+
n[3] !== "2fa-old" && Y(n)
|
|
29
|
+
), h = (
|
|
30
|
+
/*isloading*/
|
|
31
|
+
n[4] === "true" && R()
|
|
32
|
+
);
|
|
33
|
+
const y = (
|
|
34
|
+
/*#slots*/
|
|
35
|
+
n[14].content
|
|
36
|
+
), m = ne(
|
|
37
|
+
y,
|
|
38
|
+
n,
|
|
39
|
+
/*$$scope*/
|
|
40
|
+
n[13],
|
|
41
|
+
B
|
|
42
|
+
);
|
|
43
|
+
return {
|
|
44
|
+
c() {
|
|
45
|
+
e = v("div"), t = v("div"), i = v("div"), l && l.c(), a = j(), h && h.c(), c = j(), u = v("div"), m && m.c(), p(u, "class", "ModalContentWrapper"), x(
|
|
46
|
+
u,
|
|
47
|
+
"hidden",
|
|
48
|
+
/*isloading*/
|
|
49
|
+
n[4] === "true"
|
|
50
|
+
), p(i, "class", "ModalContainer"), x(
|
|
51
|
+
i,
|
|
52
|
+
"video-mode",
|
|
53
|
+
/*modaltype*/
|
|
54
|
+
n[3] === "video"
|
|
55
|
+
), x(
|
|
56
|
+
i,
|
|
57
|
+
"twofa-mode",
|
|
58
|
+
/*modaltype*/
|
|
59
|
+
n[3] === "2fa"
|
|
60
|
+
), p(t, "id", "Modal"), re(() => (
|
|
61
|
+
/*div2_elementresize_handler*/
|
|
62
|
+
n[18].call(t)
|
|
63
|
+
));
|
|
64
|
+
},
|
|
65
|
+
m(s, f) {
|
|
66
|
+
S(s, e, f), C(e, t), C(t, i), l && l.m(i, null), C(i, a), h && h.m(i, null), C(i, c), C(i, u), m && m.m(u, null), n[15](u), n[16](i), n[17](t), g = le(
|
|
67
|
+
t,
|
|
68
|
+
/*div2_elementresize_handler*/
|
|
69
|
+
n[18].bind(t)
|
|
70
|
+
), n[19](e), r = !0;
|
|
71
|
+
},
|
|
72
|
+
p(s, f) {
|
|
73
|
+
/*modaltype*/
|
|
74
|
+
s[3] !== "error" && /*modaltype*/
|
|
75
|
+
s[3] !== "bonusList" && /*modaltype*/
|
|
76
|
+
s[3] !== "2fa" && /*modaltype*/
|
|
77
|
+
s[3] !== "2fa-old" ? l ? l.p(s, f) : (l = Y(s), l.c(), l.m(i, a)) : l && (l.d(1), l = null), /*isloading*/
|
|
78
|
+
s[4] === "true" ? h || (h = R(), h.c(), h.m(i, c)) : h && (h.d(1), h = null), m && m.p && (!r || f & /*$$scope*/
|
|
79
|
+
8192) && oe(
|
|
80
|
+
m,
|
|
81
|
+
y,
|
|
82
|
+
s,
|
|
83
|
+
/*$$scope*/
|
|
84
|
+
s[13],
|
|
85
|
+
r ? ae(
|
|
86
|
+
y,
|
|
87
|
+
/*$$scope*/
|
|
88
|
+
s[13],
|
|
89
|
+
f,
|
|
90
|
+
pe
|
|
91
|
+
) : se(
|
|
92
|
+
/*$$scope*/
|
|
93
|
+
s[13]
|
|
94
|
+
),
|
|
95
|
+
B
|
|
96
|
+
), (!r || f & /*isloading*/
|
|
97
|
+
16) && x(
|
|
98
|
+
u,
|
|
99
|
+
"hidden",
|
|
100
|
+
/*isloading*/
|
|
101
|
+
s[4] === "true"
|
|
102
|
+
), (!r || f & /*modaltype*/
|
|
103
|
+
8) && x(
|
|
104
|
+
i,
|
|
105
|
+
"video-mode",
|
|
106
|
+
/*modaltype*/
|
|
107
|
+
s[3] === "video"
|
|
108
|
+
), (!r || f & /*modaltype*/
|
|
109
|
+
8) && x(
|
|
110
|
+
i,
|
|
111
|
+
"twofa-mode",
|
|
112
|
+
/*modaltype*/
|
|
113
|
+
s[3] === "2fa"
|
|
114
|
+
);
|
|
115
|
+
},
|
|
116
|
+
i(s) {
|
|
117
|
+
r || (M(m, s), r = !0);
|
|
118
|
+
},
|
|
119
|
+
o(s) {
|
|
120
|
+
H(m, s), r = !1;
|
|
121
|
+
},
|
|
122
|
+
d(s) {
|
|
123
|
+
s && L(e), l && l.d(), h && h.d(), m && m.d(s), n[15](null), n[16](null), n[17](null), g(), n[19](null);
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function Y(n) {
|
|
128
|
+
let e, t, i, a, c;
|
|
129
|
+
return {
|
|
130
|
+
c() {
|
|
131
|
+
e = v("div"), t = E("svg"), i = E("path"), p(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"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "viewBox", "0 0 13 13"), p(t, "fill", "none"), p(t, "class", "CloseButton"), p(e, "class", "ModalCloseIcon");
|
|
132
|
+
},
|
|
133
|
+
m(u, g) {
|
|
134
|
+
S(u, e, g), C(e, t), C(t, i), a || (c = ce(
|
|
135
|
+
t,
|
|
136
|
+
"click",
|
|
137
|
+
/*closeModal*/
|
|
138
|
+
n[9]
|
|
139
|
+
), a = !0);
|
|
140
|
+
},
|
|
141
|
+
p: de,
|
|
142
|
+
d(u) {
|
|
143
|
+
u && L(e), a = !1, c();
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
function R(n) {
|
|
148
|
+
let e;
|
|
149
|
+
return {
|
|
150
|
+
c() {
|
|
151
|
+
e = v("div"), e.innerHTML = '<div class="ModalLoader"></div>', p(e, "class", "ModalLoadingOverlay");
|
|
152
|
+
},
|
|
153
|
+
m(t, i) {
|
|
154
|
+
S(t, e, i);
|
|
155
|
+
},
|
|
156
|
+
d(t) {
|
|
157
|
+
t && L(e);
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
function ye(n) {
|
|
162
|
+
let e, t, i = (
|
|
163
|
+
/*show*/
|
|
164
|
+
n[2] === "true" && F(n)
|
|
165
|
+
);
|
|
166
|
+
return {
|
|
167
|
+
c() {
|
|
168
|
+
i && i.c(), e = te();
|
|
169
|
+
},
|
|
170
|
+
m(a, c) {
|
|
171
|
+
i && i.m(a, c), S(a, e, c), t = !0;
|
|
172
|
+
},
|
|
173
|
+
p(a, [c]) {
|
|
174
|
+
/*show*/
|
|
175
|
+
a[2] === "true" ? i ? (i.p(a, c), c & /*show*/
|
|
176
|
+
4 && M(i, 1)) : (i = F(a), i.c(), M(i, 1), i.m(e.parentNode, e)) : i && ($(), H(i, 1, 1, () => {
|
|
177
|
+
i = null;
|
|
178
|
+
}), ee());
|
|
179
|
+
},
|
|
180
|
+
i(a) {
|
|
181
|
+
t || (M(i), t = !0);
|
|
182
|
+
},
|
|
183
|
+
o(a) {
|
|
184
|
+
H(i), t = !1;
|
|
185
|
+
},
|
|
186
|
+
d(a) {
|
|
187
|
+
a && L(e), i && i.d(a);
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
function be(n, e, t) {
|
|
192
|
+
let { $$slots: i = {}, $$scope: a } = e, { mbsource: c } = e, { clientstyling: u } = e, { clientstylingurl: g } = e, { show: r } = e, { modaltype: l = "" } = e, { isloading: h = "false" } = e, { width: y } = e, { height: m } = e, s, f, b, d, z = !1, w, T;
|
|
193
|
+
const q = () => {
|
|
194
|
+
w && clearTimeout(w), s && (s.classList.add("closing"), w = setTimeout(
|
|
195
|
+
() => {
|
|
196
|
+
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
197
|
+
},
|
|
198
|
+
200
|
|
199
|
+
));
|
|
200
|
+
}, W = () => I(this, null, function* () {
|
|
201
|
+
if (!d || !b || z)
|
|
202
|
+
return;
|
|
203
|
+
T && clearTimeout(w), z = !0;
|
|
204
|
+
const o = d.offsetWidth, Z = d.offsetHeight;
|
|
205
|
+
t(8, d.style.width = `${o}px`, d), t(8, d.style.height = `${Z}px`, d), d.offsetHeight, yield O();
|
|
206
|
+
const A = b.scrollHeight, J = b.scrollWidth;
|
|
207
|
+
t(8, d.style.width = `${J}px`, d), t(8, d.style.height = `${A}px`, d), T = setTimeout(
|
|
208
|
+
() => {
|
|
209
|
+
d && (t(8, d.style.width = "auto", d), t(8, d.style.height = "auto", d)), z = !1;
|
|
210
|
+
},
|
|
211
|
+
300
|
|
212
|
+
);
|
|
213
|
+
});
|
|
214
|
+
ie(() => {
|
|
215
|
+
if (O().then(() => {
|
|
216
|
+
W();
|
|
217
|
+
}), b) {
|
|
218
|
+
const o = new ResizeObserver(() => {
|
|
219
|
+
W();
|
|
220
|
+
});
|
|
221
|
+
return o.observe(b), () => {
|
|
222
|
+
o.disconnect();
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
return () => {
|
|
226
|
+
w && clearTimeout(w), T && clearTimeout(w);
|
|
227
|
+
};
|
|
228
|
+
});
|
|
229
|
+
function D(o) {
|
|
230
|
+
k[o ? "unshift" : "push"](() => {
|
|
231
|
+
b = o, t(7, b);
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
function G(o) {
|
|
235
|
+
k[o ? "unshift" : "push"](() => {
|
|
236
|
+
d = o, t(8, d);
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
function N(o) {
|
|
240
|
+
k[o ? "unshift" : "push"](() => {
|
|
241
|
+
s = o, t(6, s);
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
function U() {
|
|
245
|
+
y = this.clientWidth, m = this.clientHeight, t(0, y), t(1, m);
|
|
246
|
+
}
|
|
247
|
+
function X(o) {
|
|
248
|
+
k[o ? "unshift" : "push"](() => {
|
|
249
|
+
f = o, t(5, f);
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
return n.$$set = (o) => {
|
|
253
|
+
"mbsource" in o && t(10, c = o.mbsource), "clientstyling" in o && t(11, u = o.clientstyling), "clientstylingurl" in o && t(12, g = o.clientstylingurl), "show" in o && t(2, r = o.show), "modaltype" in o && t(3, l = o.modaltype), "isloading" in o && t(4, h = o.isloading), "width" in o && t(0, y = o.width), "height" in o && t(1, m = o.height), "$$scope" in o && t(13, a = o.$$scope);
|
|
254
|
+
}, n.$$.update = () => {
|
|
255
|
+
n.$$.dirty & /*isloading*/
|
|
256
|
+
16 && h && O().then(() => {
|
|
257
|
+
W();
|
|
258
|
+
}), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
259
|
+
2080 && u && f && ue(f, u), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
260
|
+
4128 && g && f && fe(f, g), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
261
|
+
1056 && c && f && he(f, `${c}.Style`);
|
|
262
|
+
}, [
|
|
263
|
+
y,
|
|
264
|
+
m,
|
|
265
|
+
r,
|
|
266
|
+
l,
|
|
267
|
+
h,
|
|
268
|
+
f,
|
|
269
|
+
s,
|
|
270
|
+
b,
|
|
271
|
+
d,
|
|
272
|
+
q,
|
|
273
|
+
c,
|
|
274
|
+
u,
|
|
275
|
+
g,
|
|
276
|
+
a,
|
|
277
|
+
i,
|
|
278
|
+
D,
|
|
279
|
+
G,
|
|
280
|
+
N,
|
|
281
|
+
U,
|
|
282
|
+
X
|
|
283
|
+
];
|
|
284
|
+
}
|
|
285
|
+
class _e extends K {
|
|
286
|
+
constructor(e) {
|
|
287
|
+
super(), P(
|
|
288
|
+
this,
|
|
289
|
+
e,
|
|
290
|
+
be,
|
|
291
|
+
ye,
|
|
292
|
+
Q,
|
|
293
|
+
{
|
|
294
|
+
mbsource: 10,
|
|
295
|
+
clientstyling: 11,
|
|
296
|
+
clientstylingurl: 12,
|
|
297
|
+
show: 2,
|
|
298
|
+
modaltype: 3,
|
|
299
|
+
isloading: 4,
|
|
300
|
+
width: 0,
|
|
301
|
+
height: 1
|
|
302
|
+
},
|
|
303
|
+
ge
|
|
304
|
+
);
|
|
305
|
+
}
|
|
306
|
+
get mbsource() {
|
|
307
|
+
return this.$$.ctx[10];
|
|
308
|
+
}
|
|
309
|
+
set mbsource(e) {
|
|
310
|
+
this.$$set({ mbsource: e }), _();
|
|
311
|
+
}
|
|
312
|
+
get clientstyling() {
|
|
313
|
+
return this.$$.ctx[11];
|
|
314
|
+
}
|
|
315
|
+
set clientstyling(e) {
|
|
316
|
+
this.$$set({ clientstyling: e }), _();
|
|
317
|
+
}
|
|
318
|
+
get clientstylingurl() {
|
|
319
|
+
return this.$$.ctx[12];
|
|
320
|
+
}
|
|
321
|
+
set clientstylingurl(e) {
|
|
322
|
+
this.$$set({ clientstylingurl: e }), _();
|
|
323
|
+
}
|
|
324
|
+
get show() {
|
|
325
|
+
return this.$$.ctx[2];
|
|
326
|
+
}
|
|
327
|
+
set show(e) {
|
|
328
|
+
this.$$set({ show: e }), _();
|
|
329
|
+
}
|
|
330
|
+
get modaltype() {
|
|
331
|
+
return this.$$.ctx[3];
|
|
332
|
+
}
|
|
333
|
+
set modaltype(e) {
|
|
334
|
+
this.$$set({ modaltype: e }), _();
|
|
335
|
+
}
|
|
336
|
+
get isloading() {
|
|
337
|
+
return this.$$.ctx[4];
|
|
338
|
+
}
|
|
339
|
+
set isloading(e) {
|
|
340
|
+
this.$$set({ isloading: e }), _();
|
|
341
|
+
}
|
|
342
|
+
get width() {
|
|
343
|
+
return this.$$.ctx[0];
|
|
344
|
+
}
|
|
345
|
+
set width(e) {
|
|
346
|
+
this.$$set({ width: e }), _();
|
|
347
|
+
}
|
|
348
|
+
get height() {
|
|
349
|
+
return this.$$.ctx[1];
|
|
350
|
+
}
|
|
351
|
+
set height(e) {
|
|
352
|
+
this.$$set({ height: e }), _();
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
me(_e, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["content"], [], !0);
|
|
356
|
+
export {
|
|
357
|
+
_e as default
|
|
358
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as
|
|
2
|
-
function B(n) {
|
|
3
|
-
N(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
|
-
}
|
|
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-Cf2c1vPp.js";
|
|
5
2
|
function H(n) {
|
|
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
|
+
}
|
|
5
|
+
function R(n) {
|
|
6
6
|
let t, s, r, u, l, a, i, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
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,11 +38,11 @@ function H(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
|
}
|
|
45
|
-
function
|
|
45
|
+
function U(n, t, s) {
|
|
46
46
|
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
47
47
|
const m = () => {
|
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
@@ -81,13 +81,13 @@ function R(n, t, s) {
|
|
|
81
81
|
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class q extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
+
U,
|
|
89
90
|
R,
|
|
90
|
-
H,
|
|
91
91
|
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
@@ -95,7 +95,7 @@ class U extends C {
|
|
|
95
95
|
clientstyling: 4,
|
|
96
96
|
clientstylingurl: 5
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
H
|
|
99
99
|
);
|
|
100
100
|
}
|
|
101
101
|
get text() {
|
|
@@ -123,7 +123,7 @@ class U extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
T(
|
|
126
|
+
T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
q as default
|
|
129
129
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as
|
|
2
|
-
function q(n) {
|
|
3
|
-
N(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
|
-
}
|
|
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-CsnmOP94.js";
|
|
5
2
|
function H(n) {
|
|
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
|
+
}
|
|
5
|
+
function R(n) {
|
|
6
6
|
let t, s, r, u, l, a, i, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
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,11 +38,11 @@ function H(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
|
}
|
|
45
|
-
function
|
|
45
|
+
function U(n, t, s) {
|
|
46
46
|
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
47
47
|
const m = () => {
|
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
@@ -81,13 +81,13 @@ function R(n, t, s) {
|
|
|
81
81
|
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class q extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
+
U,
|
|
89
90
|
R,
|
|
90
|
-
H,
|
|
91
91
|
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
@@ -95,7 +95,7 @@ class U extends C {
|
|
|
95
95
|
clientstyling: 4,
|
|
96
96
|
clientstylingurl: 5
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
H
|
|
99
99
|
);
|
|
100
100
|
}
|
|
101
101
|
get text() {
|
|
@@ -123,7 +123,7 @@ class U extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
T(
|
|
126
|
+
T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
q as default
|
|
129
129
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-DHmjrgBC.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;
|