@everymatrix/cashier-page 1.93.82 → 1.93.151
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-BSxG-xai.cjs +1 -0
- package/components/CashierCarousel-CaSLwSQZ.js +711 -0
- package/components/CashierCarousel-hhzygSIh.js +708 -0
- package/components/CashierError-8nBQ12Ro.cjs +1 -0
- package/components/{CashierError-Dl1PsAvl.js → CashierError-CUmyB5lN.js} +15 -14
- package/components/{CashierError-BtMqsFpr.js → CashierError-ChfgU3dy.js} +15 -14
- package/components/CashierHeader-Cxg2Bbwv.cjs +1 -0
- package/components/CashierHeader-CztzLdMZ.js +477 -0
- package/components/CashierHeader-LzICktCn.js +477 -0
- package/components/{CashierIframeRedirect-B_XLllRU.js → CashierIframeRedirect-Cmjb6V8k.js} +79 -94
- package/components/{CashierIframeRedirect-wYvtOAcP.js → CashierIframeRedirect-DPrxcEUI.js} +75 -90
- package/components/CashierIframeRedirect-DhxaD3C-.cjs +1 -0
- package/components/CashierMethodDetails-BtSiMmg9.cjs +85 -0
- package/components/{CashierMethodDetails-wGMBuOxy.js → CashierMethodDetails-DSPP4Q1p.js} +3188 -3495
- package/components/{CashierMethodDetails-DaD697V7.js → CashierMethodDetails-JcREkr2L.js} +3455 -3770
- package/components/{CashierMethodsList-B4UpzKsn.js → CashierMethodsList-0LyVXgQ0.js} +80 -88
- package/components/{CashierMethodsList-B_aSe6bW.js → CashierMethodsList-Cw44onHK.js} +89 -97
- package/components/CashierMethodsList-DDdnWCVs.cjs +1 -0
- package/components/{CashierModal-DmFWYYBv.js → CashierModal-BWJqiuUm.js} +35 -34
- package/components/CashierModal-CbW-aJRp.cjs +1 -0
- package/components/{CashierModal-Dbo2y6I0.js → CashierModal-Cx16xGm6.js} +53 -52
- package/components/{CashierNotifications-CCfHWtui.js → CashierNotifications-BNacIn3G.js} +27 -27
- package/components/{CashierNotifications-BF72AddE.js → CashierNotifications-CGPpJwPT.js} +29 -29
- package/components/CashierNotifications-COhg-R-t.cjs +1 -0
- package/components/CashierPage-BHPTJcjL.js +10233 -0
- package/components/CashierPage-CYk7P-lY.js +10286 -0
- package/components/CashierPage-DoQEkSE2.cjs +23 -0
- package/components/CashierReceiptPage-DQlDMGoG.cjs +29 -0
- package/components/{CashierReceiptPage-Dv62xfX7.js → CashierReceiptPage-DnxAMr9D.js} +56 -57
- package/components/{CashierReceiptPage-BrGb_Hvr.js → CashierReceiptPage-IKLG5tQV.js} +49 -50
- package/components/{CashierSessionExpirationModal-BGyMfsOA.js → CashierSessionExpirationModal-BubeLoKh.js} +58 -59
- package/components/{CashierSessionExpirationModal-93K5YDe6.js → CashierSessionExpirationModal-C_2xlICF.js} +58 -59
- package/components/CashierSessionExpirationModal-DmrmH2xx.cjs +2 -0
- package/components/{CashierSpinner-BJI9qezE.js → CashierSpinner-B_Ey78yx.js} +15 -14
- package/components/CashierSpinner-BlRqsMug.cjs +1 -0
- package/components/{CashierSpinner-DOUYOomg.js → CashierSpinner-CwcwkjeV.js} +19 -18
- package/components/{CashierStepUp-C3MjcoUT.js → CashierStepUp-CSBqoOrt.js} +7 -6
- package/components/CashierStepUp-DVXV10Vd.cjs +1 -0
- package/components/{CashierStepUp-NMJhP_y_.js → CashierStepUp-f4sFTU4l.js} +48 -47
- package/components/{CashierTransactionHistory-D-ILp63Z.js → CashierTransactionHistory-1SskkrpF.js} +53 -54
- package/components/{CashierTransactionHistory-CgTMpzNV.js → CashierTransactionHistory-BMYFeuL5.js} +53 -54
- package/components/CashierTransactionHistory-DlID7rkA.cjs +1 -0
- package/components/{CashierVerifications-G7kq70X5.js → CashierVerifications-BjpOrTTp.js} +148 -132
- package/components/{CashierVerifications-C0epXYG7.js → CashierVerifications-Dp5nS2oy.js} +155 -139
- package/components/CashierVerifications-truLPmcH.cjs +1 -0
- package/components/{TxnStatusIcon-DbrDCliI.js → TxnStatusIcon-BNxmTC8i.js} +12 -12
- package/components/TxnStatusIcon-CNarrbiO.cjs +1 -0
- package/components/{TxnStatusIcon-z17R4Qdy.js → TxnStatusIcon-DyCxSWXD.js} +1 -1
- package/components/{TxnTypeIcons-DA4xjdSc.js → TxnTypeIcons-D0Vb7S38.js} +1 -1
- package/components/TxnTypeIcons-DFWcjK5-.cjs +1 -0
- package/components/{TxnTypeIcons-_jm1frsR.js → TxnTypeIcons-Dtk3rc1Y.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B0fVKMjP.js +0 -5871
- package/components/CashierCarousel-BekweMPA.cjs +0 -23
- package/components/CashierCarousel-BtKQtzdv.js +0 -5833
- package/components/CashierError-Co7r_Zm9.cjs +0 -1
- package/components/CashierHeader-BPxfHV7O.js +0 -418
- package/components/CashierHeader-BfBH2bp5.js +0 -418
- package/components/CashierHeader-CCqfqjfy.cjs +0 -1
- package/components/CashierIframeRedirect-BjtL1epU.cjs +0 -1
- package/components/CashierMethodDetails-Ctclpkim.cjs +0 -85
- package/components/CashierMethodsList-DW2EatO7.cjs +0 -1
- package/components/CashierModal-D_cTbvqs.cjs +0 -1
- package/components/CashierNotifications-O-t5pi8m.cjs +0 -1
- package/components/CashierPage-B6cpE8nZ.js +0 -4753
- package/components/CashierPage-Bt3cVEtH.js +0 -4787
- package/components/CashierPage-BySSrDh5.cjs +0 -1
- package/components/CashierReceiptPage-tMafTG-d.cjs +0 -29
- package/components/CashierSessionExpirationModal-VHFllEY0.cjs +0 -2
- package/components/CashierSpinner-BNkBVuft.cjs +0 -1
- package/components/CashierStepUp-BFJ7us6S.cjs +0 -1
- package/components/CashierTransactionHistory-D0_sooBa.cjs +0 -1
- package/components/CashierVerifications-BnMMvMfo.cjs +0 -1
- package/components/TxnStatusIcon-BcQgw6kQ.cjs +0 -1
- package/components/TxnTypeIcons-keA0IcNM.cjs +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as
|
|
2
|
-
import {
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-wGMBuOxy.js";
|
|
1
|
+
import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, c as kn, e as Me, t as Ae, g as we, a7 as un, a8 as fn, k as Re, m as R, p as Ut, M as Bt, N as On, q as Dn, a9 as Nn, d as $e, F as In, aa as zt, ab as Ht, H as Ft, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Pn, z as Ze, Q as se, n as be, w as Ye, R as Gt, x as Wt, r as Un, y as Yt, J as jt, A as Bn, B as zn } from "./CashierPage-CYk7P-lY.js";
|
|
2
|
+
import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-CztzLdMZ.js";
|
|
4
3
|
function Vt(n, t) {
|
|
5
4
|
An(n, t);
|
|
6
5
|
}
|
|
@@ -87,15 +86,15 @@ dt || (dt = function(t, i, o) {
|
|
|
87
86
|
ht || (ht = function(t, i) {
|
|
88
87
|
return new t(...i);
|
|
89
88
|
});
|
|
90
|
-
const Ke =
|
|
91
|
-
function
|
|
89
|
+
const Ke = Z(Array.prototype.forEach), Jt = Z(Array.prototype.pop), Be = Z(Array.prototype.push), it = Z(String.prototype.toLowerCase), ct = Z(String.prototype.toString), Zt = Z(String.prototype.match), ze = Z(String.prototype.replace), Xn = Z(String.prototype.indexOf), qn = Z(String.prototype.trim), re = Z(Object.prototype.hasOwnProperty), B = Z(RegExp.prototype.test), He = Jn(TypeError);
|
|
90
|
+
function Z(n) {
|
|
92
91
|
return function(t) {
|
|
93
92
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
|
|
94
93
|
o[r - 1] = arguments[r];
|
|
95
94
|
return dt(n, t, o);
|
|
96
95
|
};
|
|
97
96
|
}
|
|
98
|
-
function
|
|
97
|
+
function Jn(n) {
|
|
99
98
|
return function() {
|
|
100
99
|
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
|
|
101
100
|
i[o] = arguments[o];
|
|
@@ -116,7 +115,7 @@ function d(n, t) {
|
|
|
116
115
|
}
|
|
117
116
|
return n;
|
|
118
117
|
}
|
|
119
|
-
function
|
|
118
|
+
function Zn(n) {
|
|
120
119
|
for (let t = 0; t < n.length; t++)
|
|
121
120
|
re(n, t) || (n[t] = null);
|
|
122
121
|
return n;
|
|
@@ -124,7 +123,7 @@ function Jn(n) {
|
|
|
124
123
|
function Le(n) {
|
|
125
124
|
const t = pn(null);
|
|
126
125
|
for (const [i, o] of mn(n))
|
|
127
|
-
re(n, i) && (Array.isArray(o) ? t[i] =
|
|
126
|
+
re(n, i) && (Array.isArray(o) ? t[i] = Zn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
|
|
128
127
|
return t;
|
|
129
128
|
}
|
|
130
129
|
function Fe(n, t) {
|
|
@@ -132,9 +131,9 @@ function Fe(n, t) {
|
|
|
132
131
|
const o = Vn(n, t);
|
|
133
132
|
if (o) {
|
|
134
133
|
if (o.get)
|
|
135
|
-
return
|
|
134
|
+
return Z(o.get);
|
|
136
135
|
if (typeof o.value == "function")
|
|
137
|
-
return
|
|
136
|
+
return Z(o.value);
|
|
138
137
|
}
|
|
139
138
|
n = jn(n);
|
|
140
139
|
}
|
|
@@ -321,7 +320,7 @@ function gn() {
|
|
|
321
320
|
} catch (s) {
|
|
322
321
|
ae(e);
|
|
323
322
|
}
|
|
324
|
-
},
|
|
323
|
+
}, Je = function(e, s) {
|
|
325
324
|
try {
|
|
326
325
|
Be(t.removed, {
|
|
327
326
|
attribute: s.getAttributeNode(e),
|
|
@@ -349,7 +348,7 @@ function gn() {
|
|
|
349
348
|
if (C)
|
|
350
349
|
e = "<remove></remove>" + e;
|
|
351
350
|
else {
|
|
352
|
-
const O =
|
|
351
|
+
const O = Zt(e, /^[\r\n\t ]+/);
|
|
353
352
|
l = O && O[0];
|
|
354
353
|
}
|
|
355
354
|
Pe === "application/xhtml+xml" && De === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
@@ -443,7 +442,7 @@ function gn() {
|
|
|
443
442
|
}
|
|
444
443
|
return !0;
|
|
445
444
|
}, Dt = function(e) {
|
|
446
|
-
return e !== "annotation-xml" &&
|
|
445
|
+
return e !== "annotation-xml" && Zt(e, ve);
|
|
447
446
|
}, Nt = function(e) {
|
|
448
447
|
Te("beforeSanitizeAttributes", e, null);
|
|
449
448
|
const {
|
|
@@ -466,13 +465,13 @@ function gn() {
|
|
|
466
465
|
} = N, Ue = k(O);
|
|
467
466
|
let U = O === "value" ? pe : qn(pe);
|
|
468
467
|
if (l.attrName = Ue, l.attrValue = U, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), U = l.attrValue, ee && B(/((--!?|])>)|<\/(style|title)/i, U)) {
|
|
469
|
-
|
|
468
|
+
Je(O, e);
|
|
470
469
|
continue;
|
|
471
470
|
}
|
|
472
|
-
if (l.forceKeepAttr || (
|
|
471
|
+
if (l.forceKeepAttr || (Je(O, e), !l.keepAttr))
|
|
473
472
|
continue;
|
|
474
473
|
if (!Y && B(/\/>/i, U)) {
|
|
475
|
-
|
|
474
|
+
Je(O, e);
|
|
476
475
|
continue;
|
|
477
476
|
}
|
|
478
477
|
_e && Ke([ce, X, ge], (Pt) => {
|
|
@@ -480,7 +479,7 @@ function gn() {
|
|
|
480
479
|
});
|
|
481
480
|
const It = k(e.nodeName);
|
|
482
481
|
if (Ot(It, Ue, U)) {
|
|
483
|
-
if (_t && (Ue === "id" || Ue === "name") && (
|
|
482
|
+
if (_t && (Ue === "id" || Ue === "name") && (Je(O, e), U = _n + U), g && typeof H == "object" && typeof H.getAttributeType == "function" && !j)
|
|
484
483
|
switch (H.getAttributeType(It, Ue)) {
|
|
485
484
|
case "TrustedHTML": {
|
|
486
485
|
U = g.createHTML(U);
|
|
@@ -492,7 +491,7 @@ function gn() {
|
|
|
492
491
|
}
|
|
493
492
|
}
|
|
494
493
|
try {
|
|
495
|
-
j ? e.setAttributeNS(j, O, U) : e.setAttribute(O, U), Mt(e) ? me(e) :
|
|
494
|
+
j ? e.setAttributeNS(j, O, U) : e.setAttribute(O, U), Mt(e) ? me(e) : Jt(t.removed);
|
|
496
495
|
} catch (Pt) {
|
|
497
496
|
}
|
|
498
497
|
}
|
|
@@ -562,7 +561,7 @@ function gn() {
|
|
|
562
561
|
typeof e == "function" && (v[c] = v[c] || [], Be(v[c], e));
|
|
563
562
|
}, t.removeHook = function(c) {
|
|
564
563
|
if (v[c])
|
|
565
|
-
return
|
|
564
|
+
return Jt(v[c]);
|
|
566
565
|
}, t.removeHooks = function(c) {
|
|
567
566
|
v[c] && (v[c] = []);
|
|
568
567
|
}, t.removeAllHooks = function() {
|
|
@@ -619,36 +618,36 @@ function ln(n) {
|
|
|
619
618
|
return D = ue(n), I = ee[D] = _e[D](n), {
|
|
620
619
|
c() {
|
|
621
620
|
t = R("div"), i = R("div"), o = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), S = se("mask"), b = se("circle"), E = se("rect"), V = se("circle"), ne = se("circle"), Ce = be(), F = Ye(H), ye = be(), ae = R("div"), G = se("svg"), de = se("path"), K = be(), g = R("div"), x = R("div"), L && L.c(), ie = be(), h && h.c(), le = be(), Y && Y.c(), he = be(), W = R("div"), oe = R("button"), v = R("span"), X = Ye(ce), ge = be(), Q = R("button"), I.c(), u(b, "cx", "100"), u(b, "cy", "100"), u(b, "r", "90"), u(E, "x", "88"), u(E, "y", "40"), u(E, "width", "24"), u(E, "height", "80"), u(E, "rx", "12"), u(E, "fill", "black"), u(V, "cx", "100"), u(V, "cy", "150"), u(V, "r", "14"), u(V, "fill", "black"), u(S, "id", "exclamation-mask"), u(ne, "cx", "100"), u(ne, "cy", "100"), u(ne, "r", "90"), u(ne, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(r, "class", "CashierSessionExpirationModalHeaderTitle"), u(de, "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"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(ae, "class", "ModalCloseIcon"), u(o, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(oe, "type", "button"), u(oe, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
|
|
622
|
-
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(x, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"),
|
|
621
|
+
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(x, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), Ft(() => (
|
|
623
622
|
/*div7_elementresize_handler*/
|
|
624
623
|
n[25].call(t)
|
|
625
624
|
));
|
|
626
625
|
},
|
|
627
626
|
m(y, C) {
|
|
628
|
-
Re(y, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, _), p(_, S), p(S, b), p(S, E), p(S, V), p(f, ne), p(r, Ce), p(r, F), p(o, ye), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, g), p(g, x), L && L.m(x, null), p(x, ie), h && h.m(x, null), p(x, le), Y && Y.m(x, null), p(x, he), p(x, W), p(W, oe), p(oe, v), p(v, X), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](x), ve =
|
|
627
|
+
Re(y, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, _), p(_, S), p(S, b), p(S, E), p(S, V), p(f, ne), p(r, Ce), p(r, F), p(o, ye), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, g), p(g, x), L && L.m(x, null), p(x, ie), h && h.m(x, null), p(x, le), Y && Y.m(x, null), p(x, he), p(x, W), p(W, oe), p(oe, v), p(v, X), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](x), ve = Pn(
|
|
629
628
|
t,
|
|
630
629
|
/*div7_elementresize_handler*/
|
|
631
630
|
n[25].bind(t)
|
|
632
631
|
), m = !0, Se || (A = [
|
|
633
|
-
|
|
632
|
+
Ze(
|
|
634
633
|
G,
|
|
635
634
|
"click",
|
|
636
635
|
/*goToHome*/
|
|
637
636
|
n[11]
|
|
638
637
|
),
|
|
639
|
-
|
|
638
|
+
Ze(
|
|
640
639
|
oe,
|
|
641
640
|
"click",
|
|
642
641
|
/*goToHome*/
|
|
643
642
|
n[11]
|
|
644
643
|
),
|
|
645
|
-
|
|
644
|
+
Ze(
|
|
646
645
|
Q,
|
|
647
646
|
"click",
|
|
648
647
|
/*renewSession*/
|
|
649
648
|
n[9]
|
|
650
649
|
),
|
|
651
|
-
|
|
650
|
+
Ze(
|
|
652
651
|
t,
|
|
653
652
|
"click",
|
|
654
653
|
/*outOfModalClick*/
|
|
@@ -726,21 +725,21 @@ function ln(n) {
|
|
|
726
725
|
(n[6] ? "Disabled" : ""))) && u(Q, "class", $);
|
|
727
726
|
},
|
|
728
727
|
i(y) {
|
|
729
|
-
m || (we(L, y), we(h, y), we(Y, y), we(I), y &&
|
|
730
|
-
m && (q || (q =
|
|
728
|
+
m || (we(L, y), we(h, y), we(Y, y), we(I), y && Ft(() => {
|
|
729
|
+
m && (q || (q = zt(t, Ht, { duration: (
|
|
731
730
|
/*duration*/
|
|
732
731
|
n[2]
|
|
733
732
|
) }, !0)), q.run(1));
|
|
734
733
|
}), m = !0);
|
|
735
734
|
},
|
|
736
735
|
o(y) {
|
|
737
|
-
Ae(L, y), Ae(h, y), Ae(Y, y), Ae(I), y && (q || (q =
|
|
736
|
+
Ae(L, y), Ae(h, y), Ae(Y, y), Ae(I), y && (q || (q = zt(t, Ht, { duration: (
|
|
738
737
|
/*duration*/
|
|
739
738
|
n[2]
|
|
740
739
|
) }, !1)), q.run(0)), m = !1;
|
|
741
740
|
},
|
|
742
741
|
d(y) {
|
|
743
|
-
y && Me(t), L && L.d(y), h && h.d(y), Y && Y.d(y), ee[D].d(), n[24](null), ve(), y && q && q.end(), Se = !1,
|
|
742
|
+
y && Me(t), L && L.d(y), h && h.d(y), Y && Y.d(y), ee[D].d(), n[24](null), ve(), y && q && q.end(), Se = !1, In(A);
|
|
744
743
|
}
|
|
745
744
|
};
|
|
746
745
|
}
|
|
@@ -748,7 +747,7 @@ function cn(n) {
|
|
|
748
747
|
let t, i;
|
|
749
748
|
return {
|
|
750
749
|
c() {
|
|
751
|
-
t = R("img"),
|
|
750
|
+
t = R("img"), jt(t.src, i = `${/*assetsurl*/
|
|
752
751
|
n[3]}/set-timeout-icon.png`) || u(t, "src", i), u(t, "width", "300px"), u(t, "alt", "error");
|
|
753
752
|
},
|
|
754
753
|
m(o, r) {
|
|
@@ -756,7 +755,7 @@ function cn(n) {
|
|
|
756
755
|
},
|
|
757
756
|
p(o, r) {
|
|
758
757
|
r[0] & /*assetsurl*/
|
|
759
|
-
8 && !
|
|
758
|
+
8 && !jt(t.src, i = `${/*assetsurl*/
|
|
760
759
|
o[3]}/set-timeout-icon.png`) && u(t, "src", i);
|
|
761
760
|
},
|
|
762
761
|
d(o) {
|
|
@@ -771,7 +770,7 @@ function di(n) {
|
|
|
771
770
|
);
|
|
772
771
|
return {
|
|
773
772
|
c() {
|
|
774
|
-
i && i.c(), t =
|
|
773
|
+
i && i.c(), t = Un();
|
|
775
774
|
},
|
|
776
775
|
m(o, r) {
|
|
777
776
|
i && i.m(o, r), Re(o, t, r);
|
|
@@ -889,8 +888,8 @@ function _i(n) {
|
|
|
889
888
|
256 && _ !== (_ = /*$_*/
|
|
890
889
|
b[8]("sessionExpirationLoadingButton") + "") && We(S, _);
|
|
891
890
|
},
|
|
892
|
-
i:
|
|
893
|
-
o:
|
|
891
|
+
i: Yt,
|
|
892
|
+
o: Yt,
|
|
894
893
|
d(b) {
|
|
895
894
|
b && Me(t);
|
|
896
895
|
}
|
|
@@ -951,9 +950,9 @@ function Ti(n) {
|
|
|
951
950
|
const bi = 90;
|
|
952
951
|
function wi(n, t, i) {
|
|
953
952
|
let o, r;
|
|
954
|
-
Ut(n,
|
|
953
|
+
Ut(n, Gt, (a) => i(21, o = a)), Ut(n, zn, (a) => i(8, r = a));
|
|
955
954
|
let { $$slots: f = {}, $$scope: _ } = t;
|
|
956
|
-
|
|
955
|
+
Bt.extend(On);
|
|
957
956
|
let { clientstyling: S = "" } = t, { clientstylingurl: b = "" } = t, { width: E } = t, { height: V } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: H = "en" } = t, { translationurl: F = "" } = t, { endpoint: ye } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, x = !1, ie = !1, le, he, W, oe, v, ce;
|
|
958
957
|
var X;
|
|
959
958
|
(function(a) {
|
|
@@ -991,7 +990,7 @@ function wi(n, t, i) {
|
|
|
991
990
|
if (ie)
|
|
992
991
|
return;
|
|
993
992
|
const a = new URL(`${ye}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
|
|
994
|
-
i(6, ie = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp",
|
|
993
|
+
i(6, ie = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Bt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
995
994
|
const P = {
|
|
996
995
|
method: "POST",
|
|
997
996
|
mode: "cors",
|
|
@@ -1021,7 +1020,7 @@ function wi(n, t, i) {
|
|
|
1021
1020
|
v = M.ResponseCode, $();
|
|
1022
1021
|
return;
|
|
1023
1022
|
}
|
|
1024
|
-
M.XPaymentSessionToken &&
|
|
1023
|
+
M.XPaymentSessionToken && Gt.set(M.XPaymentSessionToken);
|
|
1025
1024
|
}).finally(() => i(6, ie = !1));
|
|
1026
1025
|
}, q = (a) => {
|
|
1027
1026
|
const h = a.currentTarget;
|
|
@@ -1043,13 +1042,13 @@ function wi(n, t, i) {
|
|
|
1043
1042
|
const A = () => {
|
|
1044
1043
|
Wn(H);
|
|
1045
1044
|
};
|
|
1046
|
-
|
|
1045
|
+
Dn(() => (window.addEventListener("message", ge, !1), () => {
|
|
1047
1046
|
window.removeEventListener("message", ge);
|
|
1048
|
-
})),
|
|
1047
|
+
})), Nn(() => {
|
|
1049
1048
|
clearInterval(W);
|
|
1050
1049
|
});
|
|
1051
1050
|
function xe(a) {
|
|
1052
|
-
|
|
1051
|
+
Wt[a ? "unshift" : "push"](() => {
|
|
1053
1052
|
g = a, i(4, g);
|
|
1054
1053
|
});
|
|
1055
1054
|
}
|
|
@@ -1057,7 +1056,7 @@ function wi(n, t, i) {
|
|
|
1057
1056
|
E = this.clientWidth, V = this.clientHeight, i(0, E), i(1, V);
|
|
1058
1057
|
}
|
|
1059
1058
|
function L(a) {
|
|
1060
|
-
|
|
1059
|
+
Wt[a ? "unshift" : "push"](() => {
|
|
1061
1060
|
g = a, i(4, g);
|
|
1062
1061
|
});
|
|
1063
1062
|
}
|
|
@@ -1067,9 +1066,9 @@ function wi(n, t, i) {
|
|
|
1067
1066
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1068
1067
|
2097152 && I(o), n.$$.dirty[0] & /*lang*/
|
|
1069
1068
|
16384 && H && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1070
|
-
4112 && S && g &&
|
|
1071
|
-
8208 && b && g &&
|
|
1072
|
-
1048592 && K && g &&
|
|
1069
|
+
4112 && S && g && Hn(g, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1070
|
+
8208 && b && g && Fn(g, b), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1071
|
+
1048592 && K && g && Gn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
|
|
1073
1072
|
32768 && F && m();
|
|
1074
1073
|
}, [
|
|
1075
1074
|
E,
|
|
@@ -1132,82 +1131,82 @@ class yi extends Ln {
|
|
|
1132
1131
|
return this.$$.ctx[12];
|
|
1133
1132
|
}
|
|
1134
1133
|
set clientstyling(t) {
|
|
1135
|
-
this.$$set({ clientstyling: t }),
|
|
1134
|
+
this.$$set({ clientstyling: t }), J();
|
|
1136
1135
|
}
|
|
1137
1136
|
get clientstylingurl() {
|
|
1138
1137
|
return this.$$.ctx[13];
|
|
1139
1138
|
}
|
|
1140
1139
|
set clientstylingurl(t) {
|
|
1141
|
-
this.$$set({ clientstylingurl: t }),
|
|
1140
|
+
this.$$set({ clientstylingurl: t }), J();
|
|
1142
1141
|
}
|
|
1143
1142
|
get width() {
|
|
1144
1143
|
return this.$$.ctx[0];
|
|
1145
1144
|
}
|
|
1146
1145
|
set width(t) {
|
|
1147
|
-
this.$$set({ width: t }),
|
|
1146
|
+
this.$$set({ width: t }), J();
|
|
1148
1147
|
}
|
|
1149
1148
|
get height() {
|
|
1150
1149
|
return this.$$.ctx[1];
|
|
1151
1150
|
}
|
|
1152
1151
|
set height(t) {
|
|
1153
|
-
this.$$set({ height: t }),
|
|
1152
|
+
this.$$set({ height: t }), J();
|
|
1154
1153
|
}
|
|
1155
1154
|
get duration() {
|
|
1156
1155
|
return this.$$.ctx[2];
|
|
1157
1156
|
}
|
|
1158
1157
|
set duration(t) {
|
|
1159
|
-
this.$$set({ duration: t }),
|
|
1158
|
+
this.$$set({ duration: t }), J();
|
|
1160
1159
|
}
|
|
1161
1160
|
get assetsurl() {
|
|
1162
1161
|
return this.$$.ctx[3];
|
|
1163
1162
|
}
|
|
1164
1163
|
set assetsurl(t) {
|
|
1165
|
-
this.$$set({ assetsurl: t }),
|
|
1164
|
+
this.$$set({ assetsurl: t }), J();
|
|
1166
1165
|
}
|
|
1167
1166
|
get lang() {
|
|
1168
1167
|
return this.$$.ctx[14];
|
|
1169
1168
|
}
|
|
1170
1169
|
set lang(t) {
|
|
1171
|
-
this.$$set({ lang: t }),
|
|
1170
|
+
this.$$set({ lang: t }), J();
|
|
1172
1171
|
}
|
|
1173
1172
|
get translationurl() {
|
|
1174
1173
|
return this.$$.ctx[15];
|
|
1175
1174
|
}
|
|
1176
1175
|
set translationurl(t) {
|
|
1177
|
-
this.$$set({ translationurl: t }),
|
|
1176
|
+
this.$$set({ translationurl: t }), J();
|
|
1178
1177
|
}
|
|
1179
1178
|
get endpoint() {
|
|
1180
1179
|
return this.$$.ctx[16];
|
|
1181
1180
|
}
|
|
1182
1181
|
set endpoint(t) {
|
|
1183
|
-
this.$$set({ endpoint: t }),
|
|
1182
|
+
this.$$set({ endpoint: t }), J();
|
|
1184
1183
|
}
|
|
1185
1184
|
get currency() {
|
|
1186
1185
|
return this.$$.ctx[17];
|
|
1187
1186
|
}
|
|
1188
1187
|
set currency(t) {
|
|
1189
|
-
this.$$set({ currency: t }),
|
|
1188
|
+
this.$$set({ currency: t }), J();
|
|
1190
1189
|
}
|
|
1191
1190
|
get customerid() {
|
|
1192
1191
|
return this.$$.ctx[18];
|
|
1193
1192
|
}
|
|
1194
1193
|
set customerid(t) {
|
|
1195
|
-
this.$$set({ customerid: t }),
|
|
1194
|
+
this.$$set({ customerid: t }), J();
|
|
1196
1195
|
}
|
|
1197
1196
|
get selectedpaymentmethodname() {
|
|
1198
1197
|
return this.$$.ctx[19];
|
|
1199
1198
|
}
|
|
1200
1199
|
set selectedpaymentmethodname(t) {
|
|
1201
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
1200
|
+
this.$$set({ selectedpaymentmethodname: t }), J();
|
|
1202
1201
|
}
|
|
1203
1202
|
get mbsource() {
|
|
1204
1203
|
return this.$$.ctx[20];
|
|
1205
1204
|
}
|
|
1206
1205
|
set mbsource(t) {
|
|
1207
|
-
this.$$set({ mbsource: t }),
|
|
1206
|
+
this.$$set({ mbsource: t }), J();
|
|
1208
1207
|
}
|
|
1209
1208
|
}
|
|
1210
|
-
|
|
1209
|
+
Bn(yi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1211
1210
|
export {
|
|
1212
1211
|
yi as default
|
|
1213
1212
|
};
|