@everymatrix/cashier-page 1.94.4 → 1.94.6
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-BLSsdI8N.js → CashierCarousel-CTD4ADEl.js} +79 -79
- package/components/{CashierCarousel-D92KGNvD.js → CashierCarousel-D6SuMcQ1.js} +64 -64
- package/components/{CashierError-D6h70alS.js → CashierError-C0W34998.js} +22 -22
- package/components/{CashierError-BioxJD3d.js → CashierError-Dg834slb.js} +23 -23
- package/components/{CashierHeader-DldQQGAU.js → CashierHeader-DafDx_3j.js} +37 -37
- package/components/{CashierHeader-Di0dH8Ch.js → CashierHeader-YhgwXeCk.js} +37 -37
- package/components/{CashierIframeRedirect-1MymL4-w.js → CashierIframeRedirect-DWa2IM1a.js} +25 -25
- package/components/{CashierIframeRedirect-BvHGxm2j.js → CashierIframeRedirect-M5hsugC-.js} +21 -21
- package/components/{CashierMethodDetails-gGaSXhnd.js → CashierMethodDetails-C9lU-1Od.js} +5 -5
- package/components/{CashierMethodDetails-CJyvwSPZ.js → CashierMethodDetails-CXSI2Ftt.js} +5 -5
- package/components/{CashierMethodsList-B51H80eX.js → CashierMethodsList-D5gWM-5x.js} +69 -69
- package/components/{CashierMethodsList-Bn7TgrUA.js → CashierMethodsList-GlL1YNei.js} +40 -40
- package/components/{CashierModal-Ck7dIF1h.js → CashierModal-BL_3_v5C.js} +43 -43
- package/components/{CashierModal-BTxh5964.js → CashierModal-BxhVa9nJ.js} +35 -35
- package/components/{CashierNotifications-Bni-Zo-O.js → CashierNotifications-D7pEjC9e.js} +31 -31
- package/components/{CashierNotifications-DgA6o4pi.js → CashierNotifications-DumJSi6H.js} +31 -31
- package/components/{CashierPage-_PJq9teT.js → CashierPage-CyVP1RTq.js} +82 -82
- package/components/{CashierPage-Bi4eFJ59.js → CashierPage-Yklnwu-d.js} +82 -82
- package/components/{CashierReceiptPage-vsCixPJi.js → CashierReceiptPage-Cz47umjb.js} +107 -107
- package/components/{CashierReceiptPage-CIjEPaeD.js → CashierReceiptPage-DfwtOyaZ.js} +120 -120
- package/components/{CashierSessionExpirationModal-DfcoFbz3.js → CashierSessionExpirationModal-BfLsDfD2.js} +101 -101
- package/components/{CashierSessionExpirationModal-Dbknu3z5.js → CashierSessionExpirationModal-h3rhYNkG.js} +126 -126
- package/components/{CashierSpinner-CNjbjUJb.js → CashierSpinner-BFMZw2tU.js} +6 -6
- package/components/{CashierSpinner-B1Snzdbq.js → CashierSpinner-D8ZX1N7Y.js} +10 -10
- package/components/{CashierStepUp-DLx4ZhqR.js → CashierStepUp-CUavQfr0.js} +132 -132
- package/components/{CashierStepUp-DTRMNDxI.js → CashierStepUp-Nzn5RFP5.js} +49 -49
- package/components/{CashierTransactionHistory-CBHJVCjw.js → CashierTransactionHistory-ByF437F5.js} +110 -110
- package/components/{CashierTransactionHistory-tRzzuMzy.js → CashierTransactionHistory-GtXsIggF.js} +110 -110
- package/components/{CashierVerifications-2v6SzakW.js → CashierVerifications-CuD13Li5.js} +60 -60
- package/components/{CashierVerifications-CNVn8Koy.js → CashierVerifications-sG9Xn_xc.js} +43 -43
- package/components/{TxnStatusIcon-BMW53lVy.js → TxnStatusIcon-B0-RrZPH.js} +23 -23
- package/components/{TxnStatusIcon-BGoL7geL.js → TxnStatusIcon-DYgNkITO.js} +28 -28
- package/components/{TxnTypeIcons-DkN5cVT-.js → TxnTypeIcons-BnO0cks2.js} +1 -1
- package/components/{TxnTypeIcons-QCBLyb31.js → TxnTypeIcons-DPmJegXP.js} +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as
|
|
1
|
+
import { b as Ce, N as _e, a as Me, S as ke, O as De, a1 as Le, E as F, f as Ne, V as te, x as R, a3 as V, Q as E, e as c, z as g, a9 as I, a6 as P, g as p, l as Te, Y as Pe, h as re, R as K, B as $, w as le, _ as Se, c as We, T as O, d as Fe, F as ee, a7 as ne, P as Ae, o as ze, $ as Ve } from "./CashierPage-CyVP1RTq.js";
|
|
2
|
+
import { s as Ie, a as Re, b as Ee } from "./CashierHeader-DafDx_3j.js";
|
|
3
3
|
function se(e, t) {
|
|
4
4
|
Ce(e, t);
|
|
5
5
|
}
|
|
@@ -64,7 +64,7 @@ function je(e) {
|
|
|
64
64
|
), l;
|
|
65
65
|
return {
|
|
66
66
|
c() {
|
|
67
|
-
t = g("p"), l =
|
|
67
|
+
t = g("p"), l = I(a), p(t, "class", "NoFavoritePaymentMethods");
|
|
68
68
|
},
|
|
69
69
|
m(s, f) {
|
|
70
70
|
E(s, t, f), c(t, l);
|
|
@@ -72,7 +72,7 @@ function je(e) {
|
|
|
72
72
|
p(s, f) {
|
|
73
73
|
f[0] & /*$_*/
|
|
74
74
|
512 && a !== (a = /*$_*/
|
|
75
|
-
s[9]("noFavoritePaymentMethods") + "") &&
|
|
75
|
+
s[9]("noFavoritePaymentMethods") + "") && V(l, a);
|
|
76
76
|
},
|
|
77
77
|
d(s) {
|
|
78
78
|
s && R(t);
|
|
@@ -80,11 +80,11 @@ function je(e) {
|
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
function Ze(e) {
|
|
83
|
-
let t, a = !
|
|
83
|
+
let t, a = !K(
|
|
84
84
|
/*userAgent*/
|
|
85
85
|
e[10]
|
|
86
86
|
) && /*promotedPaymentMethods*/
|
|
87
|
-
e[5].length > 1, l, s, f, D = !
|
|
87
|
+
e[5].length > 1, l, s, f, D = !K(
|
|
88
88
|
/*userAgent*/
|
|
89
89
|
e[10]
|
|
90
90
|
) && /*promotedPaymentMethods*/
|
|
@@ -102,13 +102,13 @@ function Ze(e) {
|
|
|
102
102
|
b[i] = he(ce(e, m, i));
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
t = g("div"), h && h.c(), l =
|
|
105
|
+
t = g("div"), h && h.c(), l = P(), s = g("div");
|
|
106
106
|
for (let i = 0; i < u.length; i += 1)
|
|
107
107
|
u[i].c();
|
|
108
|
-
f =
|
|
108
|
+
f = P(), d && d.c(), M = P(), v = g("div");
|
|
109
109
|
for (let i = 0; i < b.length; i += 1)
|
|
110
110
|
b[i].c();
|
|
111
|
-
p(s, "class", "Carousel"), p(t, "class", "CarouselCardsContainer"),
|
|
111
|
+
p(s, "class", "Carousel"), p(t, "class", "CarouselCardsContainer"), Fe(() => (
|
|
112
112
|
/*div1_elementresize_handler*/
|
|
113
113
|
e[30].call(t)
|
|
114
114
|
)), p(v, "class", "VisualDotIndicator");
|
|
@@ -125,19 +125,19 @@ function Ze(e) {
|
|
|
125
125
|
for (let n = 0; n < b.length; n += 1)
|
|
126
126
|
b[n] && b[n].m(v, null);
|
|
127
127
|
k || (L = [
|
|
128
|
-
|
|
128
|
+
O(
|
|
129
129
|
s,
|
|
130
130
|
"touchstart",
|
|
131
131
|
/*handleTouchStart*/
|
|
132
132
|
e[12]
|
|
133
133
|
),
|
|
134
|
-
|
|
134
|
+
O(
|
|
135
135
|
s,
|
|
136
136
|
"touchmove",
|
|
137
137
|
/*handleTouchMove*/
|
|
138
138
|
e[13]
|
|
139
139
|
),
|
|
140
|
-
|
|
140
|
+
O(
|
|
141
141
|
s,
|
|
142
142
|
"touchend",
|
|
143
143
|
/*handleTouchEnd*/
|
|
@@ -147,7 +147,7 @@ function Ze(e) {
|
|
|
147
147
|
},
|
|
148
148
|
p(i, o) {
|
|
149
149
|
if (o[0] & /*promotedPaymentMethods*/
|
|
150
|
-
32 && (a = !
|
|
150
|
+
32 && (a = !K(
|
|
151
151
|
/*userAgent*/
|
|
152
152
|
i[10]
|
|
153
153
|
) && /*promotedPaymentMethods*/
|
|
@@ -167,7 +167,7 @@ function Ze(e) {
|
|
|
167
167
|
u.length = y.length;
|
|
168
168
|
}
|
|
169
169
|
if (o[0] & /*promotedPaymentMethods*/
|
|
170
|
-
32 && (D = !
|
|
170
|
+
32 && (D = !K(
|
|
171
171
|
/*userAgent*/
|
|
172
172
|
i[10]
|
|
173
173
|
) && /*promotedPaymentMethods*/
|
|
@@ -188,7 +188,7 @@ function Ze(e) {
|
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
190
|
d(i) {
|
|
191
|
-
i && (R(t), R(M), R(v)), h && h.d(), le(u, i), e[28](null), d && d.d(), C(), le(b, i), k = !1,
|
|
191
|
+
i && (R(t), R(M), R(v)), h && h.d(), le(u, i), e[28](null), d && d.d(), C(), le(b, i), k = !1, Se(L);
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
194
|
}
|
|
@@ -199,7 +199,7 @@ function de(e) {
|
|
|
199
199
|
t = g("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', p(t, "class", "NavigationArrow Left");
|
|
200
200
|
},
|
|
201
201
|
m(s, f) {
|
|
202
|
-
E(s, t, f), a || (l =
|
|
202
|
+
E(s, t, f), a || (l = O(
|
|
203
203
|
t,
|
|
204
204
|
"click",
|
|
205
205
|
/*click_handler*/
|
|
@@ -225,7 +225,7 @@ function me(e) {
|
|
|
225
225
|
), m, b, i, o, n, N = (
|
|
226
226
|
/*$_*/
|
|
227
227
|
e[9]("generalMin") + ""
|
|
228
|
-
), X, w,
|
|
228
|
+
), X, w, S = ee(
|
|
229
229
|
/*method*/
|
|
230
230
|
e[45].DisplayCurrency.MinAmountLimit,
|
|
231
231
|
/*method*/
|
|
@@ -248,10 +248,10 @@ function me(e) {
|
|
|
248
248
|
e[8]
|
|
249
249
|
)
|
|
250
250
|
}
|
|
251
|
-
) + "",
|
|
251
|
+
) + "", A, G, H, Z = (
|
|
252
252
|
/*$_*/
|
|
253
253
|
e[9]("generalMax") + ""
|
|
254
|
-
), B,
|
|
254
|
+
), B, q, W = ee(
|
|
255
255
|
/*method*/
|
|
256
256
|
e[45].DisplayCurrency.MaxAmountLimit,
|
|
257
257
|
/*method*/
|
|
@@ -274,7 +274,7 @@ function me(e) {
|
|
|
274
274
|
e[8]
|
|
275
275
|
)
|
|
276
276
|
}
|
|
277
|
-
) + "",
|
|
277
|
+
) + "", Y, J, U, Q, x;
|
|
278
278
|
function ae() {
|
|
279
279
|
return (
|
|
280
280
|
/*click_handler_1*/
|
|
@@ -288,14 +288,14 @@ function me(e) {
|
|
|
288
288
|
}
|
|
289
289
|
return {
|
|
290
290
|
c() {
|
|
291
|
-
t = g("div"), a = g("div"), l = g("img"), D =
|
|
291
|
+
t = g("div"), a = g("div"), l = g("img"), D = P(), C = g("div"), M = g("div"), v = g("span"), L = I(k), h = P(), y = g("div"), u = g("span"), m = I(d), b = P(), i = g("div"), o = g("span"), n = g("span"), X = I(N), w = P(), A = I(S), G = P(), H = g("span"), B = I(Z), q = P(), Y = I(W), J = P(), ne(l.src, s = /*method*/
|
|
292
292
|
e[45].LogoUrl) || p(l, "src", s), p(l, "alt", f = /*method*/
|
|
293
293
|
e[45].Label), p(a, "class", "MethodLogo"), p(M, "class", "MethodTitle"), p(y, "class", "MethodProcessingTime"), p(o, "class", "Limits"), p(i, "class", "MethodLimits"), p(C, "class", "MethodInfo"), p(t, "class", U = `CarouselCardWrapper ${/*index*/
|
|
294
294
|
e[44] === /*activeIndex*/
|
|
295
295
|
e[6] ? "active" : ""}`);
|
|
296
296
|
},
|
|
297
297
|
m(j, T) {
|
|
298
|
-
E(j, t, T), c(t, a), c(a, l), c(t, D), c(t, C), c(C, M), c(M, v), c(v, L), c(C, h), c(C, y), c(y, u), c(u, m), c(C, b), c(C, i), c(i, o), c(o, n), c(n, X), c(n, w), c(n,
|
|
298
|
+
E(j, t, T), c(t, a), c(a, l), c(t, D), c(t, C), c(C, M), c(M, v), c(v, L), c(C, h), c(C, y), c(y, u), c(u, m), c(C, b), c(C, i), c(i, o), c(o, n), c(n, X), c(n, w), c(n, A), c(o, G), c(o, H), c(H, B), c(H, q), c(H, Y), c(t, J), e[27](t), Q || (x = O(t, "click", ae), Q = !0);
|
|
299
299
|
},
|
|
300
300
|
p(j, T) {
|
|
301
301
|
e = j, T[0] & /*promotedPaymentMethods*/
|
|
@@ -305,14 +305,14 @@ function me(e) {
|
|
|
305
305
|
e[45].Label) && p(l, "alt", f), T[0] & /*promotedPaymentMethods*/
|
|
306
306
|
32 && k !== (k = /*method*/
|
|
307
307
|
(e[45].Label || /*method*/
|
|
308
|
-
e[45].Name) + "") &&
|
|
308
|
+
e[45].Name) + "") && V(L, k), T[0] & /*$_, methodtype, promotedPaymentMethods*/
|
|
309
309
|
545 && d !== (d = /*$_*/
|
|
310
310
|
e[9](`${/*methodtype*/
|
|
311
311
|
e[0]}${/*method*/
|
|
312
|
-
e[45].ProcessingTime}`) + "") &&
|
|
312
|
+
e[45].ProcessingTime}`) + "") && V(m, d), T[0] & /*$_*/
|
|
313
313
|
512 && N !== (N = /*$_*/
|
|
314
|
-
e[9]("generalMin") + "") &&
|
|
315
|
-
304 &&
|
|
314
|
+
e[9]("generalMin") + "") && V(X, N), T[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
315
|
+
304 && S !== (S = ee(
|
|
316
316
|
/*method*/
|
|
317
317
|
e[45].DisplayCurrency.MinAmountLimit,
|
|
318
318
|
/*method*/
|
|
@@ -335,9 +335,9 @@ function me(e) {
|
|
|
335
335
|
e[8]
|
|
336
336
|
)
|
|
337
337
|
}
|
|
338
|
-
) + "") &&
|
|
338
|
+
) + "") && V(A, S), T[0] & /*$_*/
|
|
339
339
|
512 && Z !== (Z = /*$_*/
|
|
340
|
-
e[9]("generalMax") + "") &&
|
|
340
|
+
e[9]("generalMax") + "") && V(B, Z), T[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
341
341
|
304 && W !== (W = ee(
|
|
342
342
|
/*method*/
|
|
343
343
|
e[45].DisplayCurrency.MaxAmountLimit,
|
|
@@ -361,13 +361,13 @@ function me(e) {
|
|
|
361
361
|
e[8]
|
|
362
362
|
)
|
|
363
363
|
}
|
|
364
|
-
) + "") &&
|
|
364
|
+
) + "") && V(Y, W), T[0] & /*activeIndex*/
|
|
365
365
|
64 && U !== (U = `CarouselCardWrapper ${/*index*/
|
|
366
366
|
e[44] === /*activeIndex*/
|
|
367
367
|
e[6] ? "active" : ""}`) && p(t, "class", U);
|
|
368
368
|
},
|
|
369
369
|
d(j) {
|
|
370
|
-
j && R(t), e[27](null),
|
|
370
|
+
j && R(t), e[27](null), Q = !1, x();
|
|
371
371
|
}
|
|
372
372
|
};
|
|
373
373
|
}
|
|
@@ -378,7 +378,7 @@ function fe(e) {
|
|
|
378
378
|
t = g("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', p(t, "class", "NavigationArrow Right");
|
|
379
379
|
},
|
|
380
380
|
m(s, f) {
|
|
381
|
-
E(s, t, f), a || (l =
|
|
381
|
+
E(s, t, f), a || (l = O(
|
|
382
382
|
t,
|
|
383
383
|
"click",
|
|
384
384
|
/*click_handler_2*/
|
|
@@ -430,7 +430,7 @@ function Ue(e) {
|
|
|
430
430
|
let y = h(e), u = y(e);
|
|
431
431
|
return {
|
|
432
432
|
c() {
|
|
433
|
-
t = g("div"), a = g("div"), l = g("div"), s = g("h4"), D =
|
|
433
|
+
t = g("div"), a = g("div"), l = g("div"), s = g("h4"), D = I(f), C = P(), M = g("p"), k = I(v), L = P(), u.c(), p(l, "class", "CarouselHeader"), p(a, "class", "CashierCarouselWarpper");
|
|
434
434
|
},
|
|
435
435
|
m(d, m) {
|
|
436
436
|
E(d, t, m), c(t, a), c(a, l), c(l, s), c(s, D), c(l, C), c(l, M), c(M, k), c(a, L), u.m(a, null), e[31](t);
|
|
@@ -438,9 +438,9 @@ function Ue(e) {
|
|
|
438
438
|
p(d, m) {
|
|
439
439
|
m[0] & /*$_*/
|
|
440
440
|
512 && f !== (f = /*$_*/
|
|
441
|
-
d[9]("carouselTitle") + "") &&
|
|
441
|
+
d[9]("carouselTitle") + "") && V(D, f), m[0] & /*$_*/
|
|
442
442
|
512 && v !== (v = /*$_*/
|
|
443
|
-
d[9]("carouselSubtitle") + "") &&
|
|
443
|
+
d[9]("carouselSubtitle") + "") && V(k, v), y === (y = h(d)) && u ? u.p(d, m) : (u.d(1), u = y(d), u && (u.c(), u.m(a, null)));
|
|
444
444
|
},
|
|
445
445
|
i: te,
|
|
446
446
|
o: te,
|
|
@@ -451,8 +451,8 @@ function Ue(e) {
|
|
|
451
451
|
}
|
|
452
452
|
function xe(e, t, a) {
|
|
453
453
|
let l, s;
|
|
454
|
-
Te(e,
|
|
455
|
-
let { lang: f = "en" } = t, { local: D = "en-US" } = t, { currencysymbol: C = "true" } = t, { currencyposition: M = "" } = t, { currencydecimals: v = "0" } = t, { methodtype: k = "" } = t, { clientstyling: L = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: y = "" } = t, { translationurl: u = "" } = t, d = {}, m, b, i = [], o = 0, n = !0, N = 0, X = !1, w,
|
|
454
|
+
Te(e, Ve, (r) => a(9, s = r));
|
|
455
|
+
let { lang: f = "en" } = t, { local: D = "en-US" } = t, { currencysymbol: C = "true" } = t, { currencyposition: M = "" } = t, { currencydecimals: v = "0" } = t, { methodtype: k = "" } = t, { clientstyling: L = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: y = "" } = t, { translationurl: u = "" } = t, d = {}, m, b, i = [], o = 0, n = !0, N = 0, X = !1, w, S, A, G = window.navigator.userAgent;
|
|
456
456
|
const H = (r) => {
|
|
457
457
|
const { data: { type: _ } = {} } = r || {};
|
|
458
458
|
switch (_) {
|
|
@@ -481,7 +481,7 @@ function xe(e, t, a) {
|
|
|
481
481
|
});
|
|
482
482
|
}, B = () => {
|
|
483
483
|
Xe(f);
|
|
484
|
-
},
|
|
484
|
+
}, q = (r, _) => {
|
|
485
485
|
a(6, o = _), a(2, w.style.transform = W(), w), r.Name, window.postMessage({ type: "SelectPayMeth", details: r }, window.location.href), dispatchEvent(new CustomEvent(
|
|
486
486
|
"selectPayMeth",
|
|
487
487
|
{
|
|
@@ -492,11 +492,11 @@ function xe(e, t, a) {
|
|
|
492
492
|
}
|
|
493
493
|
));
|
|
494
494
|
}, W = () => {
|
|
495
|
-
const r = parseFloat(getComputedStyle(
|
|
495
|
+
const r = parseFloat(getComputedStyle(A).getPropertyValue("--emw-cashier-card-width")) || 78, _ = parseFloat(getComputedStyle(w).getPropertyValue("--emw-cashier-card-gap")) || 10, z = parseFloat(getComputedStyle(A).getPropertyValue("--emw-cashier-card-width-active")) || 100, ie = r + _, be = S / 2, we = o * ie + z / 2;
|
|
496
496
|
return `translateX(${be - we}px)`;
|
|
497
|
-
}, G = (r) => {
|
|
498
|
-
N = r.touches[0].clientX, X = !0, w.classList.add("dragging");
|
|
499
497
|
}, Y = (r) => {
|
|
498
|
+
N = r.touches[0].clientX, X = !0, w.classList.add("dragging");
|
|
499
|
+
}, J = (r) => {
|
|
500
500
|
if (!X)
|
|
501
501
|
return;
|
|
502
502
|
const _ = r.touches[0].clientX;
|
|
@@ -507,18 +507,18 @@ function xe(e, t, a) {
|
|
|
507
507
|
X = !1, w.classList.remove("dragging");
|
|
508
508
|
const _ = r.changedTouches[0].clientX, z = N - _;
|
|
509
509
|
Math.abs(z) > 50 && (z > 0 && o < i.length - 1 ? a(6, o++, o) : z < 0 && o > 0 && a(6, o--, o), a(2, w.style.transform = W(), w));
|
|
510
|
-
},
|
|
510
|
+
}, Q = () => {
|
|
511
511
|
n && (a(2, w.style.transform = W(), w), n = !1);
|
|
512
512
|
}, x = (r) => {
|
|
513
513
|
r === "next" && o < i.length - 1 ? a(6, o++, o) : r === "prev" && o > 0 && a(6, o--, o), a(2, w.style.transform = W(), w);
|
|
514
514
|
};
|
|
515
|
-
|
|
515
|
+
Pe(() => (Ae(D, C, M, v), window.addEventListener("message", H), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), w && W(), () => {
|
|
516
516
|
window.removeEventListener("message", H);
|
|
517
517
|
}));
|
|
518
|
-
const ae = () => x("prev"), j = (r, _) =>
|
|
518
|
+
const ae = () => x("prev"), j = (r, _) => q(r, _);
|
|
519
519
|
function T(r) {
|
|
520
520
|
re[r ? "unshift" : "push"](() => {
|
|
521
|
-
|
|
521
|
+
A = r, a(7, A);
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
524
|
function ge(r) {
|
|
@@ -528,7 +528,7 @@ function xe(e, t, a) {
|
|
|
528
528
|
}
|
|
529
529
|
const pe = () => x("next");
|
|
530
530
|
function ye() {
|
|
531
|
-
|
|
531
|
+
S = this.clientWidth, a(3, S);
|
|
532
532
|
}
|
|
533
533
|
function ve(r) {
|
|
534
534
|
re[r ? "unshift" : "push"](() => {
|
|
@@ -541,8 +541,8 @@ function xe(e, t, a) {
|
|
|
541
541
|
e.$$.dirty[0] & /*lang*/
|
|
542
542
|
65536 && f && B(), e.$$.dirty[0] & /*lang, translationurl*/
|
|
543
543
|
16842752 && f && u && Z(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
|
|
544
|
-
12 && w &&
|
|
545
|
-
2097154 && L && m &&
|
|
544
|
+
12 && w && S && Q(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
545
|
+
2097154 && L && m && Ie(m, L), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
546
546
|
4194306 && h && m && Re(m, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
547
547
|
8388610 && y && m && Ee(m, `${y}.Style`, b), e.$$.dirty[0] & /*currencydecimals*/
|
|
548
548
|
1048576 && a(8, l = Number(v));
|
|
@@ -550,17 +550,17 @@ function xe(e, t, a) {
|
|
|
550
550
|
k,
|
|
551
551
|
m,
|
|
552
552
|
w,
|
|
553
|
-
|
|
553
|
+
S,
|
|
554
554
|
d,
|
|
555
555
|
i,
|
|
556
556
|
o,
|
|
557
|
-
|
|
557
|
+
A,
|
|
558
558
|
l,
|
|
559
559
|
s,
|
|
560
|
-
K,
|
|
561
|
-
O,
|
|
562
560
|
G,
|
|
561
|
+
q,
|
|
563
562
|
Y,
|
|
563
|
+
J,
|
|
564
564
|
U,
|
|
565
565
|
x,
|
|
566
566
|
f,
|
|
@@ -581,7 +581,7 @@ function xe(e, t, a) {
|
|
|
581
581
|
ve
|
|
582
582
|
];
|
|
583
583
|
}
|
|
584
|
-
class
|
|
584
|
+
class Oe extends ke {
|
|
585
585
|
constructor(t) {
|
|
586
586
|
super(), De(
|
|
587
587
|
this,
|
|
@@ -609,64 +609,64 @@ class qe extends ke {
|
|
|
609
609
|
return this.$$.ctx[16];
|
|
610
610
|
}
|
|
611
611
|
set lang(t) {
|
|
612
|
-
this.$$set({ lang: t }),
|
|
612
|
+
this.$$set({ lang: t }), F();
|
|
613
613
|
}
|
|
614
614
|
get local() {
|
|
615
615
|
return this.$$.ctx[17];
|
|
616
616
|
}
|
|
617
617
|
set local(t) {
|
|
618
|
-
this.$$set({ local: t }),
|
|
618
|
+
this.$$set({ local: t }), F();
|
|
619
619
|
}
|
|
620
620
|
get currencysymbol() {
|
|
621
621
|
return this.$$.ctx[18];
|
|
622
622
|
}
|
|
623
623
|
set currencysymbol(t) {
|
|
624
|
-
this.$$set({ currencysymbol: t }),
|
|
624
|
+
this.$$set({ currencysymbol: t }), F();
|
|
625
625
|
}
|
|
626
626
|
get currencyposition() {
|
|
627
627
|
return this.$$.ctx[19];
|
|
628
628
|
}
|
|
629
629
|
set currencyposition(t) {
|
|
630
|
-
this.$$set({ currencyposition: t }),
|
|
630
|
+
this.$$set({ currencyposition: t }), F();
|
|
631
631
|
}
|
|
632
632
|
get currencydecimals() {
|
|
633
633
|
return this.$$.ctx[20];
|
|
634
634
|
}
|
|
635
635
|
set currencydecimals(t) {
|
|
636
|
-
this.$$set({ currencydecimals: t }),
|
|
636
|
+
this.$$set({ currencydecimals: t }), F();
|
|
637
637
|
}
|
|
638
638
|
get methodtype() {
|
|
639
639
|
return this.$$.ctx[0];
|
|
640
640
|
}
|
|
641
641
|
set methodtype(t) {
|
|
642
|
-
this.$$set({ methodtype: t }),
|
|
642
|
+
this.$$set({ methodtype: t }), F();
|
|
643
643
|
}
|
|
644
644
|
get clientstyling() {
|
|
645
645
|
return this.$$.ctx[21];
|
|
646
646
|
}
|
|
647
647
|
set clientstyling(t) {
|
|
648
|
-
this.$$set({ clientstyling: t }),
|
|
648
|
+
this.$$set({ clientstyling: t }), F();
|
|
649
649
|
}
|
|
650
650
|
get clientstylingurl() {
|
|
651
651
|
return this.$$.ctx[22];
|
|
652
652
|
}
|
|
653
653
|
set clientstylingurl(t) {
|
|
654
|
-
this.$$set({ clientstylingurl: t }),
|
|
654
|
+
this.$$set({ clientstylingurl: t }), F();
|
|
655
655
|
}
|
|
656
656
|
get mbsource() {
|
|
657
657
|
return this.$$.ctx[23];
|
|
658
658
|
}
|
|
659
659
|
set mbsource(t) {
|
|
660
|
-
this.$$set({ mbsource: t }),
|
|
660
|
+
this.$$set({ mbsource: t }), F();
|
|
661
661
|
}
|
|
662
662
|
get translationurl() {
|
|
663
663
|
return this.$$.ctx[24];
|
|
664
664
|
}
|
|
665
665
|
set translationurl(t) {
|
|
666
|
-
this.$$set({ translationurl: t }),
|
|
666
|
+
this.$$set({ translationurl: t }), F();
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
|
-
ze(
|
|
669
|
+
ze(Oe, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
670
670
|
export {
|
|
671
|
-
|
|
671
|
+
Oe as default
|
|
672
672
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as me, a as fe, b as pe } from "./CashierHeader-
|
|
1
|
+
import { b as $, N as ee, a as te, S as ie, O as ne, a1 as ae, E as T, f as re, r as M, x as h, ae as A, ad as P, ag as W, H as x, I as O, Q as v, e as k, z as b, a6 as L, g as E, l as oe, Y as se, A as B, a3 as D, a9 as I, T as le, h as ue, a7 as N, a2 as V, o as de, $ as ce } from "./CashierPage-CyVP1RTq.js";
|
|
2
|
+
import { s as me, a as fe, b as pe } from "./CashierHeader-DafDx_3j.js";
|
|
3
3
|
import "../stencil/ui-image-BsYHwNhO.js";
|
|
4
|
-
function
|
|
4
|
+
function R(i, e) {
|
|
5
5
|
$(i, e);
|
|
6
6
|
}
|
|
7
7
|
function ye(i) {
|
|
@@ -9,7 +9,7 @@ function ye(i) {
|
|
|
9
9
|
fallbackLocale: "en"
|
|
10
10
|
}), te.set(i);
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const H = {
|
|
13
13
|
en: {
|
|
14
14
|
VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
|
|
15
15
|
CustomerDocumentIdMissing: "The document ID is missing",
|
|
@@ -165,12 +165,12 @@ const q = {
|
|
|
165
165
|
function ge(i) {
|
|
166
166
|
re(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
|
|
167
167
|
}
|
|
168
|
-
const he = (i) => ({}),
|
|
168
|
+
const he = (i) => ({}), q = (i) => ({}), ve = (i) => ({}), F = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({ class: "CashierErrorIcon" });
|
|
169
169
|
function G(i) {
|
|
170
170
|
let e, t;
|
|
171
171
|
return {
|
|
172
172
|
c() {
|
|
173
|
-
e = b("ui-image"),
|
|
173
|
+
e = b("ui-image"), N(e.src, t = `${/*assetsurl*/
|
|
174
174
|
i[0]}/error-general-icon.png`) || V(e, "src", t), V(e, "width", "300px"), V(e, "alt", "error");
|
|
175
175
|
},
|
|
176
176
|
m(r, o) {
|
|
@@ -178,7 +178,7 @@ function G(i) {
|
|
|
178
178
|
},
|
|
179
179
|
p(r, o) {
|
|
180
180
|
o & /*assetsurl*/
|
|
181
|
-
1 && !
|
|
181
|
+
1 && !N(e.src, t = `${/*assetsurl*/
|
|
182
182
|
r[0]}/error-general-icon.png`) && V(e, "src", t);
|
|
183
183
|
},
|
|
184
184
|
d(r) {
|
|
@@ -207,7 +207,7 @@ function _e(i) {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Y(i) {
|
|
211
211
|
let e;
|
|
212
212
|
function t(a, n) {
|
|
213
213
|
return (
|
|
@@ -237,7 +237,7 @@ function ze(i) {
|
|
|
237
237
|
i[5]("DepositWageringLimitText") + ""
|
|
238
238
|
), r, o, a = (
|
|
239
239
|
/*depositWageringAmount*/
|
|
240
|
-
i[3] > 0 &&
|
|
240
|
+
i[3] > 0 && j(i)
|
|
241
241
|
);
|
|
242
242
|
return {
|
|
243
243
|
c() {
|
|
@@ -250,7 +250,7 @@ function ze(i) {
|
|
|
250
250
|
u & /*$_*/
|
|
251
251
|
32 && t !== (t = /*$_*/
|
|
252
252
|
n[5]("DepositWageringLimitText") + "") && D(r, t), /*depositWageringAmount*/
|
|
253
|
-
n[3] > 0 ? a ? a.p(n, u) : (a =
|
|
253
|
+
n[3] > 0 ? a ? a.p(n, u) : (a = j(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
|
|
254
254
|
},
|
|
255
255
|
d(n) {
|
|
256
256
|
n && h(e), a && a.d();
|
|
@@ -279,7 +279,7 @@ function Ce(i) {
|
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function j(i) {
|
|
283
283
|
let e, t, r;
|
|
284
284
|
return {
|
|
285
285
|
c() {
|
|
@@ -319,7 +319,7 @@ function Te(i) {
|
|
|
319
319
|
i[1] || "errorGeneralText"}`) + ""
|
|
320
320
|
), r, o, a, n = (
|
|
321
321
|
/*errorcode*/
|
|
322
|
-
i[1] == "DepositWageringLimit" &&
|
|
322
|
+
i[1] == "DepositWageringLimit" && Y(i)
|
|
323
323
|
);
|
|
324
324
|
return {
|
|
325
325
|
c() {
|
|
@@ -333,7 +333,7 @@ function Te(i) {
|
|
|
333
333
|
34 && t !== (t = /*$_*/
|
|
334
334
|
u[5](`${/*errorcode*/
|
|
335
335
|
u[1] || "errorGeneralText"}`) + "") && D(r, t), /*errorcode*/
|
|
336
|
-
u[1] == "DepositWageringLimit" ? n ? n.p(u, d) : (n =
|
|
336
|
+
u[1] == "DepositWageringLimit" ? n ? n.p(u, d) : (n = Y(u), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
|
|
337
337
|
},
|
|
338
338
|
d(u) {
|
|
339
339
|
u && (h(e), h(o), h(a)), n && n.d(u);
|
|
@@ -395,7 +395,7 @@ function we(i) {
|
|
|
395
395
|
i,
|
|
396
396
|
/*$$scope*/
|
|
397
397
|
i[12],
|
|
398
|
-
|
|
398
|
+
F
|
|
399
399
|
), y = p || Te(i), w = (
|
|
400
400
|
/*#slots*/
|
|
401
401
|
i[13].button
|
|
@@ -404,7 +404,7 @@ function we(i) {
|
|
|
404
404
|
i,
|
|
405
405
|
/*$$scope*/
|
|
406
406
|
i[12],
|
|
407
|
-
|
|
407
|
+
q
|
|
408
408
|
), g = C || Ee(i);
|
|
409
409
|
return {
|
|
410
410
|
c() {
|
|
@@ -468,7 +468,7 @@ function we(i) {
|
|
|
468
468
|
/*$$scope*/
|
|
469
469
|
s[12]
|
|
470
470
|
),
|
|
471
|
-
|
|
471
|
+
F
|
|
472
472
|
) : y && y.p && (!n || c & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
|
|
473
473
|
58) && y.p(s, n ? c : -1), C ? C.p && (!n || c & /*$$scope*/
|
|
474
474
|
4096) && W(
|
|
@@ -487,7 +487,7 @@ function we(i) {
|
|
|
487
487
|
/*$$scope*/
|
|
488
488
|
s[12]
|
|
489
489
|
),
|
|
490
|
-
|
|
490
|
+
q
|
|
491
491
|
) : g && g.p && (!n || c & /*$_*/
|
|
492
492
|
32) && g.p(s, n ? c : -1);
|
|
493
493
|
},
|
|
@@ -516,14 +516,14 @@ function Le(i, e, t) {
|
|
|
516
516
|
throw new Error(`HTTP error! status: ${l.status}`);
|
|
517
517
|
const X = await l.json();
|
|
518
518
|
Object.entries(X).forEach(([Q, Z]) => {
|
|
519
|
-
|
|
519
|
+
R(Q, Z);
|
|
520
520
|
});
|
|
521
521
|
} catch (l) {
|
|
522
522
|
console.error(l);
|
|
523
523
|
}
|
|
524
524
|
};
|
|
525
|
-
Object.keys(
|
|
526
|
-
|
|
525
|
+
Object.keys(H).forEach((l) => {
|
|
526
|
+
R(l, H[l]);
|
|
527
527
|
});
|
|
528
528
|
const c = () => {
|
|
529
529
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
@@ -538,7 +538,7 @@ function Le(i, e, t) {
|
|
|
538
538
|
se(() => (window.addEventListener("message", S, !1), () => {
|
|
539
539
|
window.removeEventListener("message", S);
|
|
540
540
|
}));
|
|
541
|
-
function
|
|
541
|
+
function J(l) {
|
|
542
542
|
ue[l ? "unshift" : "push"](() => {
|
|
543
543
|
p = l, t(2, p);
|
|
544
544
|
});
|
|
@@ -567,7 +567,7 @@ function Le(i, e, t) {
|
|
|
567
567
|
z,
|
|
568
568
|
a,
|
|
569
569
|
o,
|
|
570
|
-
|
|
570
|
+
J
|
|
571
571
|
];
|
|
572
572
|
}
|
|
573
573
|
class De extends ie {
|