@everymatrix/cashier-method-details 1.86.3 → 1.86.5
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/CashierError-0ryZiOME.cjs +8 -0
- package/components/{CashierError-BrH4JtME.js → CashierError-KZG3X_VW.js} +817 -849
- package/components/{CashierError-C38DHl9-.js → CashierError-qzZcJhp7.js} +800 -832
- package/components/{CashierMethodDetails-B9-uo6qb.js → CashierMethodDetails-Ci_KcLF2.js} +906 -857
- package/components/{CashierMethodDetails-ChQ3M-wq.js → CashierMethodDetails-DiIuR1qE.js} +1403 -1354
- package/components/{CashierMethodDetails-2anZaPtI.cjs → CashierMethodDetails-DqgFo-Zf.cjs} +18 -5
- package/components/{CashierModal-CRWjrDnj.js → CashierModal-DHyc4Yo0.js} +65 -65
- package/components/{CashierModal-B2BegJ8J.cjs → CashierModal-DeCFU_ep.cjs} +1 -1
- package/components/{CashierModal-BvLB_9aG.js → CashierModal-m7cXuxT1.js} +61 -61
- package/components/{CashierNotifications-3BcrYOeA.js → CashierNotifications-Bo4IAEf_.js} +33 -33
- package/components/{CashierNotifications-CSlK-g-S.js → CashierNotifications-DGAnrrsp.js} +33 -33
- package/components/{CashierNotifications-SEdxNl-z.cjs → CashierNotifications-DTeolEy1.cjs} +1 -1
- package/components/{CashierReceiptPage-4k0rJqmU.js → CashierReceiptPage-BOqnf35Q.js} +124 -124
- package/components/{CashierReceiptPage-BoTTgL6X.cjs → CashierReceiptPage-BiPrXfCL.cjs} +1 -1
- package/components/{CashierReceiptPage-B35Jarr_.js → CashierReceiptPage-CoCpQjJ1.js} +124 -124
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CashierError-Btvxfcrs.cjs +0 -21
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { S as $,
|
|
1
|
+
import { S as $, f as ee, s as te, h as C, j as ie, l as F, V as E, W as I, X as ne, Y as oe, m as Y, r as b, x as le, D as B, Z as D, _ as R, a0 as U, a1 as Z, E as H, o as w, a2 as se, p as ae, t as O, F as q, u as f, k as re, z as j, R as de, T as ce, U as fe, e as he } from "./CashierError-qzZcJhp7.js";
|
|
2
2
|
function ue(i) {
|
|
3
|
-
|
|
3
|
+
ie(i, "svelte-vlp16o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
4
4
|
}
|
|
5
|
-
const me = (i) => ({}),
|
|
6
|
-
function
|
|
7
|
-
let e, t, o, r, h, x, M, k, y, L, T, v, u, p, d, s,
|
|
5
|
+
const me = (i) => ({}), V = (i) => ({}), ge = (i) => ({}), X = (i) => ({});
|
|
6
|
+
function A(i) {
|
|
7
|
+
let e, t, o, r, h, x, M, k, y, L, T, v, u, p, d, s, S, a = (
|
|
8
8
|
/*modaltype*/
|
|
9
9
|
(i[3] == "error" || /*modaltype*/
|
|
10
|
-
i[3] == "bonusDescription") &&
|
|
10
|
+
i[3] == "bonusDescription") && G()
|
|
11
11
|
);
|
|
12
12
|
const z = (
|
|
13
13
|
/*#slots*/
|
|
14
14
|
i[14].title
|
|
15
|
-
), m =
|
|
15
|
+
), m = D(
|
|
16
16
|
z,
|
|
17
17
|
i,
|
|
18
18
|
/*$$scope*/
|
|
19
19
|
i[13],
|
|
20
|
-
|
|
20
|
+
X
|
|
21
21
|
);
|
|
22
22
|
let c = (
|
|
23
23
|
/*isloading*/
|
|
24
|
-
i[4] === "true" &&
|
|
24
|
+
i[4] === "true" && J()
|
|
25
25
|
);
|
|
26
|
-
const
|
|
26
|
+
const W = (
|
|
27
27
|
/*#slots*/
|
|
28
28
|
i[14].content
|
|
29
|
-
), g =
|
|
30
|
-
|
|
29
|
+
), g = D(
|
|
30
|
+
W,
|
|
31
31
|
i,
|
|
32
32
|
/*$$scope*/
|
|
33
33
|
i[13],
|
|
34
|
-
|
|
34
|
+
V
|
|
35
35
|
);
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
|
-
e = b("div"), t = b("div"), o = b("div"), r = b("div"), a && a.c(), h = O(), x = b("div"), m && m.c(), M = O(), k = b("div"), y =
|
|
38
|
+
e = b("div"), t = b("div"), o = b("div"), r = b("div"), a && a.c(), h = O(), x = b("div"), m && m.c(), M = O(), k = b("div"), y = q("svg"), L = q("path"), T = O(), c && c.c(), v = O(), u = b("div"), g && g.c(), f(x, "class", "TitleText"), f(r, "class", "ModalTitle"), f(L, "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"), f(y, "xmlns", "http://www.w3.org/2000/svg"), f(y, "viewBox", "0 0 13 13"), f(y, "fill", "none"), f(y, "class", "CloseButton"), f(k, "class", "ModalCloseIcon"), f(o, "class", "ModalHeader"), f(u, "class", "ModalContentWrapper"), H(
|
|
39
39
|
u,
|
|
40
40
|
"hidden",
|
|
41
41
|
/*isloading*/
|
|
42
42
|
i[4] === "true"
|
|
43
|
-
), f(t, "class", "ModalContainer"),
|
|
43
|
+
), f(t, "class", "ModalContainer"), H(
|
|
44
44
|
t,
|
|
45
45
|
"video-mode",
|
|
46
46
|
/*modaltype*/
|
|
47
47
|
i[3] === "video"
|
|
48
|
-
),
|
|
48
|
+
), H(
|
|
49
49
|
t,
|
|
50
50
|
"twofa-mode",
|
|
51
51
|
/*modaltype*/
|
|
52
52
|
i[3] === "2fa"
|
|
53
|
-
), f(e, "id", "Modal"),
|
|
53
|
+
), f(e, "id", "Modal"), re(() => (
|
|
54
54
|
/*div6_elementresize_handler*/
|
|
55
55
|
i[18].call(e)
|
|
56
56
|
));
|
|
57
57
|
},
|
|
58
58
|
m(l, _) {
|
|
59
|
-
Y(l, e, _), w(e, t), w(t, o), w(o, r), a && a.m(r, null), w(r, h), w(r, x), m && m.m(x, null), w(o, M), w(o, k), w(k, y), w(y, L), w(t, T), c && c.m(t, null), w(t, v), w(t, u), g && g.m(u, null), i[15](u), i[16](t), i[17](e), p =
|
|
59
|
+
Y(l, e, _), w(e, t), w(t, o), w(o, r), a && a.m(r, null), w(r, h), w(r, x), m && m.m(x, null), w(o, M), w(o, k), w(k, y), w(y, L), w(t, T), c && c.m(t, null), w(t, v), w(t, u), g && g.m(u, null), i[15](u), i[16](t), i[17](e), p = se(
|
|
60
60
|
e,
|
|
61
61
|
/*div6_elementresize_handler*/
|
|
62
62
|
i[18].bind(e)
|
|
63
|
-
), d = !0, s || (
|
|
63
|
+
), d = !0, s || (S = ae(
|
|
64
64
|
y,
|
|
65
65
|
"click",
|
|
66
66
|
/*closeModal*/
|
|
@@ -70,57 +70,57 @@ function U(i) {
|
|
|
70
70
|
p(l, _) {
|
|
71
71
|
/*modaltype*/
|
|
72
72
|
l[3] == "error" || /*modaltype*/
|
|
73
|
-
l[3] == "bonusDescription" ? a || (a =
|
|
73
|
+
l[3] == "bonusDescription" ? a || (a = G(), a.c(), a.m(r, h)) : a && (a.d(1), a = null), m && m.p && (!d || _ & /*$$scope*/
|
|
74
74
|
8192) && R(
|
|
75
75
|
m,
|
|
76
76
|
z,
|
|
77
77
|
l,
|
|
78
78
|
/*$$scope*/
|
|
79
79
|
l[13],
|
|
80
|
-
d ?
|
|
80
|
+
d ? Z(
|
|
81
81
|
z,
|
|
82
82
|
/*$$scope*/
|
|
83
83
|
l[13],
|
|
84
84
|
_,
|
|
85
85
|
ge
|
|
86
|
-
) :
|
|
86
|
+
) : U(
|
|
87
87
|
/*$$scope*/
|
|
88
88
|
l[13]
|
|
89
89
|
),
|
|
90
|
-
|
|
90
|
+
X
|
|
91
91
|
), /*isloading*/
|
|
92
|
-
l[4] === "true" ? c || (c =
|
|
92
|
+
l[4] === "true" ? c || (c = J(), c.c(), c.m(t, v)) : c && (c.d(1), c = null), g && g.p && (!d || _ & /*$$scope*/
|
|
93
93
|
8192) && R(
|
|
94
94
|
g,
|
|
95
|
-
|
|
95
|
+
W,
|
|
96
96
|
l,
|
|
97
97
|
/*$$scope*/
|
|
98
98
|
l[13],
|
|
99
|
-
d ?
|
|
100
|
-
|
|
99
|
+
d ? Z(
|
|
100
|
+
W,
|
|
101
101
|
/*$$scope*/
|
|
102
102
|
l[13],
|
|
103
103
|
_,
|
|
104
104
|
me
|
|
105
|
-
) :
|
|
105
|
+
) : U(
|
|
106
106
|
/*$$scope*/
|
|
107
107
|
l[13]
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
V
|
|
110
110
|
), (!d || _ & /*isloading*/
|
|
111
|
-
16) &&
|
|
111
|
+
16) && H(
|
|
112
112
|
u,
|
|
113
113
|
"hidden",
|
|
114
114
|
/*isloading*/
|
|
115
115
|
l[4] === "true"
|
|
116
116
|
), (!d || _ & /*modaltype*/
|
|
117
|
-
8) &&
|
|
117
|
+
8) && H(
|
|
118
118
|
t,
|
|
119
119
|
"video-mode",
|
|
120
120
|
/*modaltype*/
|
|
121
121
|
l[3] === "video"
|
|
122
122
|
), (!d || _ & /*modaltype*/
|
|
123
|
-
8) &&
|
|
123
|
+
8) && H(
|
|
124
124
|
t,
|
|
125
125
|
"twofa-mode",
|
|
126
126
|
/*modaltype*/
|
|
@@ -128,17 +128,17 @@ function U(i) {
|
|
|
128
128
|
);
|
|
129
129
|
},
|
|
130
130
|
i(l) {
|
|
131
|
-
d || (
|
|
131
|
+
d || (I(m, l), I(g, l), d = !0);
|
|
132
132
|
},
|
|
133
133
|
o(l) {
|
|
134
134
|
E(m, l), E(g, l), d = !1;
|
|
135
135
|
},
|
|
136
136
|
d(l) {
|
|
137
|
-
l &&
|
|
137
|
+
l && F(e), a && a.d(), m && m.d(l), c && c.d(), g && g.d(l), i[15](null), i[16](null), i[17](null), p(), s = !1, S();
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function G(i) {
|
|
142
142
|
let e;
|
|
143
143
|
return {
|
|
144
144
|
c() {
|
|
@@ -148,11 +148,11 @@ function J(i) {
|
|
|
148
148
|
Y(t, e, o);
|
|
149
149
|
},
|
|
150
150
|
d(t) {
|
|
151
|
-
t &&
|
|
151
|
+
t && F(e);
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function J(i) {
|
|
156
156
|
let e;
|
|
157
157
|
return {
|
|
158
158
|
c() {
|
|
@@ -162,14 +162,14 @@ function N(i) {
|
|
|
162
162
|
Y(t, e, o);
|
|
163
163
|
},
|
|
164
164
|
d(t) {
|
|
165
|
-
t &&
|
|
165
|
+
t && F(e);
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
function pe(i) {
|
|
170
170
|
let e, t, o = (
|
|
171
171
|
/*show*/
|
|
172
|
-
i[2] === "true" &&
|
|
172
|
+
i[2] === "true" && A(i)
|
|
173
173
|
);
|
|
174
174
|
return {
|
|
175
175
|
c() {
|
|
@@ -181,23 +181,23 @@ function pe(i) {
|
|
|
181
181
|
p(r, [h]) {
|
|
182
182
|
/*show*/
|
|
183
183
|
r[2] === "true" ? o ? (o.p(r, h), h & /*show*/
|
|
184
|
-
4 &&
|
|
184
|
+
4 && I(o, 1)) : (o = A(r), o.c(), I(o, 1), o.m(e, null)) : o && (ne(), E(o, 1, 1, () => {
|
|
185
185
|
o = null;
|
|
186
186
|
}), oe());
|
|
187
187
|
},
|
|
188
188
|
i(r) {
|
|
189
|
-
t || (
|
|
189
|
+
t || (I(o), t = !0);
|
|
190
190
|
},
|
|
191
191
|
o(r) {
|
|
192
192
|
E(o), t = !1;
|
|
193
193
|
},
|
|
194
194
|
d(r) {
|
|
195
|
-
r &&
|
|
195
|
+
r && F(e), o && o.d(), i[19](null);
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
199
|
function we(i, e, t) {
|
|
200
|
-
let { $$slots: o = {}, $$scope: r } = e, { mbsource: h } = e, { clientstyling: x } = e, { clientstylingurl: M } = e, { show: k } = e, { modaltype: y = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: v } = e, u, p, d, s,
|
|
200
|
+
let { $$slots: o = {}, $$scope: r } = e, { mbsource: h } = e, { clientstyling: x } = e, { clientstylingurl: M } = e, { show: k } = e, { modaltype: y = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: v } = e, u, p, d, s, S = !1, a, z;
|
|
201
201
|
const m = () => {
|
|
202
202
|
a && clearTimeout(a), u && (u.classList.add("closing"), a = setTimeout(
|
|
203
203
|
() => {
|
|
@@ -206,21 +206,21 @@ function we(i, e, t) {
|
|
|
206
206
|
200
|
|
207
207
|
));
|
|
208
208
|
}, c = async () => {
|
|
209
|
-
if (!s || !d ||
|
|
209
|
+
if (!s || !d || S)
|
|
210
210
|
return;
|
|
211
|
-
z && clearTimeout(a),
|
|
212
|
-
const n = s.offsetWidth,
|
|
213
|
-
t(8, s.style.width = `${n}px`, s), t(8, s.style.height = `${
|
|
214
|
-
const
|
|
215
|
-
t(8, s.style.width = `${
|
|
211
|
+
z && clearTimeout(a), S = !0;
|
|
212
|
+
const n = s.offsetWidth, N = s.offsetHeight;
|
|
213
|
+
t(8, s.style.width = `${n}px`, s), t(8, s.style.height = `${N}px`, s), s.offsetHeight, await B();
|
|
214
|
+
const P = d.scrollHeight, Q = d.scrollWidth;
|
|
215
|
+
t(8, s.style.width = `${Q}px`, s), t(8, s.style.height = `${P}px`, s), z = setTimeout(
|
|
216
216
|
() => {
|
|
217
|
-
s && (t(8, s.style.width = "auto", s), t(8, s.style.height = "auto", s)),
|
|
217
|
+
s && (t(8, s.style.width = "auto", s), t(8, s.style.height = "auto", s)), S = !1;
|
|
218
218
|
},
|
|
219
219
|
300
|
|
220
220
|
);
|
|
221
221
|
};
|
|
222
222
|
le(() => {
|
|
223
|
-
if (
|
|
223
|
+
if (B().then(() => {
|
|
224
224
|
c();
|
|
225
225
|
}), d) {
|
|
226
226
|
const n = new ResizeObserver(() => {
|
|
@@ -234,7 +234,7 @@ function we(i, e, t) {
|
|
|
234
234
|
a && clearTimeout(a), z && clearTimeout(a);
|
|
235
235
|
};
|
|
236
236
|
});
|
|
237
|
-
function
|
|
237
|
+
function W(n) {
|
|
238
238
|
j[n ? "unshift" : "push"](() => {
|
|
239
239
|
d = n, t(7, d);
|
|
240
240
|
});
|
|
@@ -252,7 +252,7 @@ function we(i, e, t) {
|
|
|
252
252
|
function _() {
|
|
253
253
|
T = this.clientWidth, v = this.clientHeight, t(0, T), t(1, v);
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function K(n) {
|
|
256
256
|
j[n ? "unshift" : "push"](() => {
|
|
257
257
|
p = n, t(5, p);
|
|
258
258
|
});
|
|
@@ -261,12 +261,12 @@ function we(i, e, t) {
|
|
|
261
261
|
"mbsource" in n && t(10, h = n.mbsource), "clientstyling" in n && t(11, x = n.clientstyling), "clientstylingurl" in n && t(12, M = n.clientstylingurl), "show" in n && t(2, k = n.show), "modaltype" in n && t(3, y = n.modaltype), "isloading" in n && t(4, L = n.isloading), "width" in n && t(0, T = n.width), "height" in n && t(1, v = n.height), "$$scope" in n && t(13, r = n.$$scope);
|
|
262
262
|
}, i.$$.update = () => {
|
|
263
263
|
i.$$.dirty & /*isloading*/
|
|
264
|
-
16 && L &&
|
|
264
|
+
16 && L && B().then(() => {
|
|
265
265
|
c();
|
|
266
266
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
267
|
-
2080 && x && p &&
|
|
268
|
-
4128 && M && p &&
|
|
269
|
-
1056 && h && p &&
|
|
267
|
+
2080 && x && p && de(p, x), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
268
|
+
4128 && M && p && ce(p, M), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
269
|
+
1056 && h && p && fe(p, `${h}.Style`);
|
|
270
270
|
}, [
|
|
271
271
|
T,
|
|
272
272
|
v,
|
|
@@ -283,11 +283,11 @@ function we(i, e, t) {
|
|
|
283
283
|
M,
|
|
284
284
|
r,
|
|
285
285
|
o,
|
|
286
|
-
|
|
286
|
+
W,
|
|
287
287
|
g,
|
|
288
288
|
l,
|
|
289
289
|
_,
|
|
290
|
-
|
|
290
|
+
K
|
|
291
291
|
];
|
|
292
292
|
}
|
|
293
293
|
class ye extends $ {
|
|
@@ -297,7 +297,7 @@ class ye extends $ {
|
|
|
297
297
|
e,
|
|
298
298
|
we,
|
|
299
299
|
pe,
|
|
300
|
-
|
|
300
|
+
te,
|
|
301
301
|
{
|
|
302
302
|
mbsource: 10,
|
|
303
303
|
clientstyling: 11,
|
|
@@ -360,7 +360,7 @@ class ye extends $ {
|
|
|
360
360
|
this.$$set({ height: e }), C();
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
|
-
|
|
363
|
+
he(ye, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
364
364
|
export {
|
|
365
365
|
ye as default
|
|
366
366
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C,
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { S as C, e as v, s as _, f as d, j as N, n as p, l as k, I as b, m as z, o as f, p as L, r as h, L as x, t as S, u as E, z as M, h as T } from "./CashierError-KZG3X_VW.js";
|
|
2
|
+
function H(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
4
|
}
|
|
5
|
-
function
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function R(n) {
|
|
6
|
+
let t, s, r, u, l, a, i, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
t = h("div"), s = h("span"), r =
|
|
9
|
+
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
12
|
-
), u =
|
|
11
|
+
n[0]
|
|
12
|
+
), u = S(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
14
|
+
n[1]
|
|
15
15
|
), E(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
|
|
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 = L(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
22
|
-
|
|
23
|
-
),
|
|
22
|
+
n[3]
|
|
23
|
+
), i = !0);
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
@@ -35,67 +35,67 @@ function H(i) {
|
|
|
35
35
|
o[1]
|
|
36
36
|
);
|
|
37
37
|
},
|
|
38
|
-
i:
|
|
39
|
-
o:
|
|
38
|
+
i: p,
|
|
39
|
+
o: p,
|
|
40
40
|
d(o) {
|
|
41
|
-
o &&
|
|
41
|
+
o && k(t), n[6](null), i = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t,
|
|
45
|
+
function U(n, t, s) {
|
|
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);
|
|
49
49
|
}, o = () => {
|
|
50
50
|
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l,
|
|
51
|
+
e.innerHTML = l, i.appendChild(e);
|
|
52
52
|
}, c = () => {
|
|
53
53
|
let e = new URL(a), y = document.createElement("style");
|
|
54
54
|
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
55
|
y.innerHTML = g, setTimeout(
|
|
56
56
|
() => {
|
|
57
|
-
|
|
57
|
+
i.appendChild(y);
|
|
58
58
|
},
|
|
59
59
|
1
|
|
60
60
|
);
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
M[e ? "unshift" : "push"](() => {
|
|
65
|
+
i = e, s(2, i);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
return
|
|
68
|
+
return n.$$set = (e) => {
|
|
69
69
|
"text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
20 && l &&
|
|
73
|
-
36 && a &&
|
|
70
|
+
}, n.$$.update = () => {
|
|
71
|
+
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && i && c();
|
|
74
74
|
}, [
|
|
75
75
|
r,
|
|
76
76
|
u,
|
|
77
|
-
|
|
77
|
+
i,
|
|
78
78
|
m,
|
|
79
79
|
l,
|
|
80
80
|
a,
|
|
81
81
|
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class j extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
+
U,
|
|
89
90
|
R,
|
|
90
|
-
|
|
91
|
-
N,
|
|
91
|
+
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
94
94
|
button: 1,
|
|
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
|
-
|
|
126
|
+
T(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
j as default
|
|
129
129
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C,
|
|
2
|
-
function
|
|
3
|
-
k(
|
|
1
|
+
import { S as C, f as v, h as d, s as _, e as N, j as k, n as p, l as z, I as b, m as L, o as f, p as S, r as h, L as x, t as E, u as M, z as T } from "./CashierError-qzZcJhp7.js";
|
|
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
4
|
}
|
|
5
|
-
function
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function R(n) {
|
|
6
|
+
let t, s, r, u, l, a, i, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
t = h("div"), s = h("span"), r =
|
|
9
|
+
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
12
|
-
), u =
|
|
11
|
+
n[0]
|
|
12
|
+
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
15
|
-
),
|
|
14
|
+
n[1]
|
|
15
|
+
), M(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
|
|
18
|
+
L(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
22
|
-
|
|
23
|
-
),
|
|
22
|
+
n[3]
|
|
23
|
+
), i = !0);
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
@@ -35,26 +35,26 @@ function H(i) {
|
|
|
35
35
|
o[1]
|
|
36
36
|
);
|
|
37
37
|
},
|
|
38
|
-
i:
|
|
39
|
-
o:
|
|
38
|
+
i: p,
|
|
39
|
+
o: p,
|
|
40
40
|
d(o) {
|
|
41
|
-
o &&
|
|
41
|
+
o && z(t), n[6](null), i = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t,
|
|
45
|
+
function U(n, t, s) {
|
|
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);
|
|
49
49
|
}, o = () => {
|
|
50
50
|
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l,
|
|
51
|
+
e.innerHTML = l, i.appendChild(e);
|
|
52
52
|
}, c = () => {
|
|
53
53
|
let e = new URL(a), y = document.createElement("style");
|
|
54
54
|
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
55
|
y.innerHTML = g, setTimeout(
|
|
56
56
|
() => {
|
|
57
|
-
|
|
57
|
+
i.appendChild(y);
|
|
58
58
|
},
|
|
59
59
|
1
|
|
60
60
|
);
|
|
@@ -62,40 +62,40 @@ function R(i, t, s) {
|
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
64
|
T[e ? "unshift" : "push"](() => {
|
|
65
|
-
|
|
65
|
+
i = e, s(2, i);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
return
|
|
68
|
+
return n.$$set = (e) => {
|
|
69
69
|
"text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
20 && l &&
|
|
73
|
-
36 && a &&
|
|
70
|
+
}, n.$$.update = () => {
|
|
71
|
+
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && i && c();
|
|
74
74
|
}, [
|
|
75
75
|
r,
|
|
76
76
|
u,
|
|
77
|
-
|
|
77
|
+
i,
|
|
78
78
|
m,
|
|
79
79
|
l,
|
|
80
80
|
a,
|
|
81
81
|
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class j extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
+
U,
|
|
89
90
|
R,
|
|
90
|
-
|
|
91
|
-
N,
|
|
91
|
+
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
94
94
|
button: 1,
|
|
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
|
-
|
|
126
|
+
N(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
j as default
|
|
129
129
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-0ryZiOME.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,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&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:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),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,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,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;
|