@everymatrix/cashier-page 1.99.58 → 1.99.60
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-BcGw2Iil.js → CashierCarousel-CJtWorSQ.js} +4 -6
- package/components/{CashierCarousel-oeV9uwbB.cjs → CashierCarousel-DdZUtrwb.cjs} +1 -1
- package/components/{CashierCarousel-DIWNTroF.js → CashierCarousel-Dz-764eL.js} +4 -6
- package/components/{CashierError-DvxLpmQl.js → CashierError-BVnbSsWW.js} +2 -2
- package/components/{CashierError-B-SvMqHe.cjs → CashierError-CyOn_w6n.cjs} +1 -1
- package/components/{CashierError-CY8AKVRd.js → CashierError-DGp705iQ.js} +2 -2
- package/components/{CashierHeader-C9OtNu_h.js → CashierHeader-BWlMJjEk.js} +4 -7
- package/components/{CashierHeader-SblNGTaM.js → CashierHeader-DCLhUu5P.js} +4 -7
- package/components/{CashierHeader-BKPnlW1J.cjs → CashierHeader-TNoSsp7R.cjs} +1 -1
- package/components/{CashierIframeRedirect-DbIrq8JB.js → CashierIframeRedirect-BKYcqmhK.js} +3 -3
- package/components/{CashierIframeRedirect-4zWDELkB.cjs → CashierIframeRedirect-DpxscKvW.cjs} +1 -1
- package/components/{CashierIframeRedirect-D-7sFno5.js → CashierIframeRedirect-ML8yhbxt.js} +3 -3
- package/components/{CashierMethodDetails-CKThC1HM.js → CashierMethodDetails-BS0O9494.js} +55 -94
- package/components/{CashierMethodDetails-Cn7YhxQ2.js → CashierMethodDetails-D2bHBA7M.js} +55 -94
- package/components/{CashierMethodDetails-CdZ1oEyr.cjs → CashierMethodDetails-D5CoDgEr.cjs} +2 -2
- package/components/{CashierMethodsList-bifISWCM.cjs → CashierMethodsList-BaxLPtwx.cjs} +1 -1
- package/components/{CashierMethodsList-BseiqoYS.js → CashierMethodsList-GMv73qvB.js} +2 -2
- package/components/{CashierMethodsList-DFrbG4o9.js → CashierMethodsList-UqHTRs6v.js} +2 -2
- package/components/{CashierModal-DCG6Cjxr.cjs → CashierModal-2-zKJuyV.cjs} +1 -1
- package/components/{CashierModal-CNnSLXtD.js → CashierModal-Bs59rIJP.js} +3 -4
- package/components/{CashierModal-kEpamCPW.js → CashierModal-UCVrxQ_z.js} +3 -4
- package/components/{CashierNotifications-BQu8GnW6.js → CashierNotifications-96uIaTlk.js} +1 -1
- package/components/{CashierNotifications-eaYYJx6S.js → CashierNotifications-DEnGPaZ-.js} +1 -1
- package/components/{CashierNotifications-Byo5heQd.cjs → CashierNotifications-tUr5uOkW.cjs} +1 -1
- package/components/{CashierPage-Cw8SuqrM.cjs → CashierPage-Cn_6Y31M.cjs} +2 -2
- package/components/{CashierPage-Q3gRhq-t.js → CashierPage-DKkNfScX.js} +81 -146
- package/components/{CashierPage-DqvIiBXC.js → CashierPage-gngXzyvp.js} +82 -147
- package/components/{CashierReceiptPage-ByymtCV7.js → CashierReceiptPage-BLioIvS1.js} +7 -12
- package/components/{CashierReceiptPage-CXd1LxB9.cjs → CashierReceiptPage-D4zHCqcb.cjs} +1 -1
- package/components/{CashierReceiptPage-BcwAk3lc.js → CashierReceiptPage-DB4IRsZq.js} +7 -12
- package/components/CashierSessionExpirationModal-B5K8_aPx.js +2235 -0
- package/components/CashierSessionExpirationModal-C5RURmGt.cjs +3 -0
- package/components/CashierSessionExpirationModal-bnYaJkxM.js +2235 -0
- package/components/{CashierSpinner-DlrzVgZb.js → CashierSpinner-5kG9xekp.js} +2 -2
- package/components/{CashierSpinner-IoAgO9zR.cjs → CashierSpinner-9LdAaRH1.cjs} +1 -1
- package/components/{CashierSpinner-DtfhoBoU.js → CashierSpinner-DgKQYH3d.js} +2 -2
- package/components/{CashierStepUp-azFXbSe8.cjs → CashierStepUp-7eh4BF2Q.cjs} +1 -1
- package/components/{CashierStepUp-Cy3WnSZu.js → CashierStepUp-DbFkfvys.js} +8 -14
- package/components/{CashierStepUp-BohwBFVk.js → CashierStepUp-ZsDc-nSM.js} +8 -14
- package/components/{CashierTransactionHistory-DiCpwadg.js → CashierTransactionHistory-BZN4rNLQ.js} +4 -4
- package/components/{CashierTransactionHistory-BWBFLDa9.cjs → CashierTransactionHistory-DwijdMtL.cjs} +1 -1
- package/components/{CashierTransactionHistory-BtS8Qvjj.js → CashierTransactionHistory-NQYozSMg.js} +4 -4
- package/components/{CashierVerifications-2LE_3tfS.js → CashierVerifications-BxDoaS7p.js} +5 -7
- package/components/{CashierVerifications-DeaKhVYC.cjs → CashierVerifications-DGYILGGe.cjs} +1 -1
- package/components/{CashierVerifications-72R9JTq9.js → CashierVerifications-MHaarwxq.js} +5 -7
- package/components/{TxnStatusIcon-Cn8b5-c6.js → TxnStatusIcon-C061Ckrf.js} +6 -11
- package/components/{TxnStatusIcon-DVPKS6QM.js → TxnStatusIcon-DmjdxtdT.js} +6 -11
- package/components/{TxnStatusIcon-WsTomkfH.cjs → TxnStatusIcon-DznYpTuX.cjs} +1 -1
- package/components/{TxnTypeIcons-BpBKcbTi.js → TxnTypeIcons-B3GP1FD8.js} +4 -7
- package/components/{TxnTypeIcons-C5f-boTP.js → TxnTypeIcons-BNiMYDpn.js} +4 -7
- package/components/{TxnTypeIcons-3dGL7iAQ.cjs → TxnTypeIcons-_be7k-vy.cjs} +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/CashierSessionExpirationModal-CiOXVQ4Q.js +0 -1228
- package/components/CashierSessionExpirationModal-DRlOrhYj.js +0 -1228
- package/components/CashierSessionExpirationModal-Ds_BwdK1.cjs +0 -2
|
@@ -26,9 +26,9 @@ var kn = (t, n, e) => new Promise((r, i) => {
|
|
|
26
26
|
}, d = (s) => s.done ? r(s.value) : Promise.resolve(s.value).then(o, l);
|
|
27
27
|
d((e = e.apply(t, n)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a as ws, i as vs, $ as ys, _ as Ga, a0 as Xa, N as Gn, O as Qa, S as ks, b as Cs, s as $a, f as Me, c as _s, I as Ms, e as T, t as lr, g as sr, U as eo, V as no, k as E, l as g, z as G, a1 as Ds, m as k, n as V, o as c, p as Bi, q as Ss, D as ei, L as Ls, a2 as As, y as lt, v as $, P as U, w as ee, r as Sn, a3 as Ts, x as ot, a4 as Mr, M as Q, R as ln, W as Es, E as Vn, X as Ps, a5 as ai, Y as Ns, a6 as ni, Z as Bs, T as Tt, C as bt, a7 as wr, J as Cn, a8 as vr, G as En, a9 as Is, aa as un, Q as Ii, F as Tr, ab as oi, K as Dr, A as Fs, B as Vs } from "./CashierPage-
|
|
30
|
-
import { s as Hs, a as zs, b as Rs } from "./CashierHeader-
|
|
31
|
-
import "./CashierVerifications-
|
|
29
|
+
import { a as ws, i as vs, $ as ys, _ as Ga, a0 as Xa, N as Gn, O as Qa, S as ks, b as Cs, s as $a, f as Me, c as _s, I as Ms, e as T, t as lr, g as sr, U as eo, V as no, k as E, l as g, z as G, a1 as Ds, m as k, n as V, o as c, p as Bi, q as Ss, D as ei, L as Ls, a2 as As, y as lt, v as $, P as U, w as ee, r as Sn, a3 as Ts, x as ot, a4 as Mr, M as Q, R as ln, W as Es, E as Vn, X as Ps, a5 as ai, Y as Ns, a6 as ni, Z as Bs, T as Tt, C as bt, a7 as wr, J as Cn, a8 as vr, G as En, a9 as Is, aa as un, Q as Ii, F as Tr, ab as oi, K as Dr, A as Fs, B as Vs } from "./CashierPage-gngXzyvp.js";
|
|
30
|
+
import { s as Hs, a as zs, b as Rs } from "./CashierHeader-BWlMJjEk.js";
|
|
31
|
+
import "./CashierVerifications-BxDoaS7p.js";
|
|
32
32
|
function Fi(t, n) {
|
|
33
33
|
ws(t, n);
|
|
34
34
|
}
|
|
@@ -815,8 +815,7 @@ function xs(t) {
|
|
|
815
815
|
const zi = 15, Ri = 3, Oi = {
|
|
816
816
|
format(t, n) {
|
|
817
817
|
var l, d;
|
|
818
|
-
if (!n)
|
|
819
|
-
return t || "";
|
|
818
|
+
if (!n) return t || "";
|
|
820
819
|
let e = Hi.get(n);
|
|
821
820
|
if (!e) {
|
|
822
821
|
e = {
|
|
@@ -829,8 +828,7 @@ const zi = 15, Ri = 3, Oi = {
|
|
|
829
828
|
Hi.set(n, e);
|
|
830
829
|
}
|
|
831
830
|
const r = (t || "").replace(/\D/g, ""), i = r.slice(0, e.maxDigits);
|
|
832
|
-
if (i.length === 0)
|
|
833
|
-
return "";
|
|
831
|
+
if (i.length === 0) return "";
|
|
834
832
|
let o = n;
|
|
835
833
|
for (let s = 0; s < r.length && s < e.inputChars.length; s++) {
|
|
836
834
|
const p = e.inputChars[s].position;
|
|
@@ -900,15 +898,13 @@ const zi = 15, Ri = 3, Oi = {
|
|
|
900
898
|
return o;
|
|
901
899
|
for (let l in o.children) {
|
|
902
900
|
let d = i(o.children[l]);
|
|
903
|
-
if (d)
|
|
904
|
-
return d;
|
|
901
|
+
if (d) return d;
|
|
905
902
|
}
|
|
906
903
|
return null;
|
|
907
904
|
}
|
|
908
905
|
for (let o in t) {
|
|
909
906
|
let l = i(t[o]);
|
|
910
|
-
if (l)
|
|
911
|
-
return l;
|
|
907
|
+
if (l) return l;
|
|
912
908
|
}
|
|
913
909
|
return t[n] = {
|
|
914
910
|
field: e,
|
|
@@ -1197,7 +1193,7 @@ if (typeof window != "undefined") {
|
|
|
1197
1193
|
}
|
|
1198
1194
|
};
|
|
1199
1195
|
};
|
|
1200
|
-
customElements.define = t(customElements.define), import("./CashierNotifications-
|
|
1196
|
+
customElements.define = t(customElements.define), import("./CashierNotifications-DEnGPaZ-.js").then(({ default: n }) => {
|
|
1201
1197
|
!customElements.get("cashier-notifications") && customElements.define("cashier-notifications", n.element);
|
|
1202
1198
|
});
|
|
1203
1199
|
}
|
|
@@ -1213,7 +1209,7 @@ if (typeof window != "undefined") {
|
|
|
1213
1209
|
}
|
|
1214
1210
|
};
|
|
1215
1211
|
};
|
|
1216
|
-
customElements.define = t(customElements.define), import("./CashierReceiptPage-
|
|
1212
|
+
customElements.define = t(customElements.define), import("./CashierReceiptPage-DB4IRsZq.js").then(({ default: n }) => {
|
|
1217
1213
|
!customElements.get("cashier-receipt-page") && customElements.define("cashier-receipt-page", n.element);
|
|
1218
1214
|
});
|
|
1219
1215
|
}
|
|
@@ -1613,8 +1609,7 @@ var Xr = function() {
|
|
|
1613
1609
|
fn: $s[A],
|
|
1614
1610
|
val: ie[++P]
|
|
1615
1611
|
});
|
|
1616
|
-
} else
|
|
1617
|
-
B || (L += ".");
|
|
1612
|
+
} else B || (L += ".");
|
|
1618
1613
|
}
|
|
1619
1614
|
m = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), y.forEach(function(fe) {
|
|
1620
1615
|
var se = fe.fn, ge = fe.val;
|
|
@@ -1674,14 +1669,12 @@ var Dn = function() {
|
|
|
1674
1669
|
return Dn = Object.assign || function(t) {
|
|
1675
1670
|
for (var n, e = 1, r = arguments.length; e < r; e++) {
|
|
1676
1671
|
n = arguments[e];
|
|
1677
|
-
for (var i in n)
|
|
1678
|
-
Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
|
|
1672
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
|
|
1679
1673
|
}
|
|
1680
1674
|
return t;
|
|
1681
1675
|
}, Dn.apply(this, arguments);
|
|
1682
1676
|
}, ji = function() {
|
|
1683
|
-
for (var t = 0, n = 0, e = arguments.length; n < e; n++)
|
|
1684
|
-
t += arguments[n].length;
|
|
1677
|
+
for (var t = 0, n = 0, e = arguments.length; n < e; n++) t += arguments[n].length;
|
|
1685
1678
|
for (var r = Array(t), i = 0, n = 0; n < e; n++)
|
|
1686
1679
|
for (var o = arguments[n], l = 0, d = o.length; l < d; l++, i++)
|
|
1687
1680
|
r[i] = o[l];
|
|
@@ -2145,8 +2138,7 @@ function iu(t, n) {
|
|
|
2145
2138
|
var K = u.keyCode === 39 ? 1 : -1;
|
|
2146
2139
|
u.ctrlKey ? (u.stopPropagation(), en(K), Te(se(1), 0)) : Te(void 0, K);
|
|
2147
2140
|
}
|
|
2148
|
-
} else
|
|
2149
|
-
e.hourElement && e.hourElement.focus();
|
|
2141
|
+
} else e.hourElement && e.hourElement.focus();
|
|
2150
2142
|
break;
|
|
2151
2143
|
case 38:
|
|
2152
2144
|
case 40:
|
|
@@ -2168,8 +2160,7 @@ function iu(t, n) {
|
|
|
2168
2160
|
var rn = X[ke + (u.shiftKey ? -1 : 1)];
|
|
2169
2161
|
u.preventDefault(), (rn || e._input).focus();
|
|
2170
2162
|
}
|
|
2171
|
-
} else
|
|
2172
|
-
!e.config.noCalendar && e.daysContainer && e.daysContainer.contains(f) && u.shiftKey && (u.preventDefault(), e._input.focus());
|
|
2163
|
+
} else !e.config.noCalendar && e.daysContainer && e.daysContainer.contains(f) && u.shiftKey && (u.preventDefault(), e._input.focus());
|
|
2173
2164
|
break;
|
|
2174
2165
|
}
|
|
2175
2166
|
}
|
|
@@ -2387,10 +2378,9 @@ function iu(t, n) {
|
|
|
2387
2378
|
else if (e.config.mode === "multiple") {
|
|
2388
2379
|
var q = Bn(R);
|
|
2389
2380
|
q ? e.selectedDates.splice(parseInt(q), 1) : e.selectedDates.push(R);
|
|
2390
|
-
} else
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
}));
|
|
2381
|
+
} else e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = R, e.selectedDates.push(R), On(R, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(X, ke) {
|
|
2382
|
+
return X.getTime() - ke.getTime();
|
|
2383
|
+
}));
|
|
2394
2384
|
if (v(), x) {
|
|
2395
2385
|
var O = e.currentYear !== R.getFullYear();
|
|
2396
2386
|
e.currentYear = R.getFullYear(), e.currentMonth = R.getMonth(), O && (re("onYearChange"), he()), re("onMonthChange");
|
|
@@ -2630,8 +2620,7 @@ var ii = { exports: {} };
|
|
|
2630
2620
|
return r = Object.assign || function(jn) {
|
|
2631
2621
|
for (var It, ft = 1, Ft = arguments.length; ft < Ft; ft++) {
|
|
2632
2622
|
It = arguments[ft];
|
|
2633
|
-
for (var Ln in It)
|
|
2634
|
-
Object.prototype.hasOwnProperty.call(It, Ln) && (jn[Ln] = It[Ln]);
|
|
2623
|
+
for (var Ln in It) Object.prototype.hasOwnProperty.call(It, Ln) && (jn[Ln] = It[Ln]);
|
|
2635
2624
|
}
|
|
2636
2625
|
return jn;
|
|
2637
2626
|
}, r.apply(this, arguments);
|
|
@@ -6087,8 +6076,7 @@ var ao = { exports: {} };
|
|
|
6087
6076
|
};
|
|
6088
6077
|
}, m = [/[+-]\d\d:?(\d\d)?|Z/, function(y) {
|
|
6089
6078
|
(this.zone || (this.zone = {})).offset = function(F) {
|
|
6090
|
-
if (!F || F === "Z")
|
|
6091
|
-
return 0;
|
|
6079
|
+
if (!F || F === "Z") return 0;
|
|
6092
6080
|
var P = F.match(/([+-]|\d\d)/g), L = 60 * P[1] + (+P[2] || 0);
|
|
6093
6081
|
return L === 0 ? 0 : P[0] === "+" ? -L : L;
|
|
6094
6082
|
}(y);
|
|
@@ -6098,13 +6086,11 @@ var ao = { exports: {} };
|
|
|
6098
6086
|
}, C = function(y, F) {
|
|
6099
6087
|
var P, L = d.meridiem;
|
|
6100
6088
|
if (L) {
|
|
6101
|
-
for (var A = 1; A <= 24; A += 1)
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
} else
|
|
6107
|
-
P = y === (F ? "pm" : "PM");
|
|
6089
|
+
for (var A = 1; A <= 24; A += 1) if (y.indexOf(L(A, 0, F)) > -1) {
|
|
6090
|
+
P = A > 12;
|
|
6091
|
+
break;
|
|
6092
|
+
}
|
|
6093
|
+
} else P = y === (F ? "pm" : "PM");
|
|
6108
6094
|
return P;
|
|
6109
6095
|
}, S = { A: [l, function(y) {
|
|
6110
6096
|
this.afternoon = C(y, !1);
|
|
@@ -6118,20 +6104,16 @@ var ao = { exports: {} };
|
|
|
6118
6104
|
this.milliseconds = +y;
|
|
6119
6105
|
}], s: [o, p("seconds")], ss: [o, p("seconds")], m: [o, p("minutes")], mm: [o, p("minutes")], H: [o, p("hours")], h: [o, p("hours")], HH: [o, p("hours")], hh: [o, p("hours")], D: [o, p("day")], DD: [i, p("day")], Do: [l, function(y) {
|
|
6120
6106
|
var F = d.ordinal, P = y.match(/\d+/);
|
|
6121
|
-
if (this.day = P[0], F)
|
|
6122
|
-
for (var L = 1; L <= 31; L += 1)
|
|
6123
|
-
F(L).replace(/\[|\]/g, "") === y && (this.day = L);
|
|
6107
|
+
if (this.day = P[0], F) for (var L = 1; L <= 31; L += 1) F(L).replace(/\[|\]/g, "") === y && (this.day = L);
|
|
6124
6108
|
}], M: [o, p("month")], MM: [i, p("month")], MMM: [l, function(y) {
|
|
6125
6109
|
var F = v("months"), P = (v("monthsShort") || F.map(function(L) {
|
|
6126
6110
|
return L.slice(0, 3);
|
|
6127
6111
|
})).indexOf(y) + 1;
|
|
6128
|
-
if (P < 1)
|
|
6129
|
-
throw new Error();
|
|
6112
|
+
if (P < 1) throw new Error();
|
|
6130
6113
|
this.month = P % 12 || P;
|
|
6131
6114
|
}], MMMM: [l, function(y) {
|
|
6132
6115
|
var F = v("months").indexOf(y) + 1;
|
|
6133
|
-
if (F < 1)
|
|
6134
|
-
throw new Error();
|
|
6116
|
+
if (F < 1) throw new Error();
|
|
6135
6117
|
this.month = F % 12 || F;
|
|
6136
6118
|
}], Y: [/[+-]?\d+/, p("year")], YY: [i, function(y) {
|
|
6137
6119
|
this.year = s(y);
|
|
@@ -6151,8 +6133,7 @@ var ao = { exports: {} };
|
|
|
6151
6133
|
return function(ge) {
|
|
6152
6134
|
for (var Te = {}, Se = 0, me = 0; Se < A; Se += 1) {
|
|
6153
6135
|
var he = L[Se];
|
|
6154
|
-
if (typeof he == "string")
|
|
6155
|
-
me += he.length;
|
|
6136
|
+
if (typeof he == "string") me += he.length;
|
|
6156
6137
|
else {
|
|
6157
6138
|
var le = he.regex, Ge = he.parser, Xe = ge.slice(me), Ce = le.exec(Xe)[0];
|
|
6158
6139
|
Ge.call(Te, Ce), ge = ge.replace(Ce, "");
|
|
@@ -6178,8 +6159,7 @@ var ao = { exports: {} };
|
|
|
6178
6159
|
var ge = fe[2] === !0, Te = fe[3] === !0, Se = ge || Te, me = fe[2];
|
|
6179
6160
|
Te && (me = fe[2]), d = this.$locale(), !ge && me && (d = P.Ls[me]), this.$d = function(Xe, Ce, be) {
|
|
6180
6161
|
try {
|
|
6181
|
-
if (["x", "X"].indexOf(Ce) > -1)
|
|
6182
|
-
return new Date((Ce === "X" ? 1e3 : 1) * Xe);
|
|
6162
|
+
if (["x", "X"].indexOf(Ce) > -1) return new Date((Ce === "X" ? 1e3 : 1) * Xe);
|
|
6183
6163
|
var ue = N(Ce)(Xe), Le = ue.year, en = ue.month, gn = ue.day, Ye = ue.hours, Fe = ue.minutes, _e = ue.seconds, we = ue.milliseconds, Z = ue.zone, ce = /* @__PURE__ */ new Date(), mn = gn || (Le || en ? 1 : ce.getDate()), bn = Le || ce.getFullYear(), He = 0;
|
|
6184
6164
|
Le && !en || (He = en > 0 ? en - 1 : ce.getMonth());
|
|
6185
6165
|
var hn = Ye || 0, wn = Fe || 0, Qe = _e || 0, Ee = we || 0;
|
|
@@ -6188,18 +6168,16 @@ var ao = { exports: {} };
|
|
|
6188
6168
|
return /* @__PURE__ */ new Date("");
|
|
6189
6169
|
}
|
|
6190
6170
|
}(H, se, ie), this.init(), me && me !== !0 && (this.$L = this.locale(me).$L), Se && H != this.format(se) && (this.$d = /* @__PURE__ */ new Date("")), d = {};
|
|
6191
|
-
} else if (se instanceof Array)
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
break;
|
|
6198
|
-
}
|
|
6199
|
-
le === he && (this.$d = /* @__PURE__ */ new Date(""));
|
|
6171
|
+
} else if (se instanceof Array) for (var he = se.length, le = 1; le <= he; le += 1) {
|
|
6172
|
+
fe[1] = se[le - 1];
|
|
6173
|
+
var Ge = P.apply(this, fe);
|
|
6174
|
+
if (Ge.isValid()) {
|
|
6175
|
+
this.$d = Ge.$d, this.$L = Ge.$L, this.init();
|
|
6176
|
+
break;
|
|
6200
6177
|
}
|
|
6201
|
-
|
|
6202
|
-
|
|
6178
|
+
le === he && (this.$d = /* @__PURE__ */ new Date(""));
|
|
6179
|
+
}
|
|
6180
|
+
else A.call(this, B);
|
|
6203
6181
|
};
|
|
6204
6182
|
};
|
|
6205
6183
|
});
|
|
@@ -6242,8 +6220,7 @@ class Ar {
|
|
|
6242
6220
|
return Cr.has(n.Type) && !Sr.get(n.Placeholder) ? Cr.get(n.Type)[e] : n[e] || null;
|
|
6243
6221
|
}
|
|
6244
6222
|
setValue(n, e) {
|
|
6245
|
-
if (!(Cr.has(n.Type) && !Sr.get(n.Placeholder)))
|
|
6246
|
-
return n[e] || null;
|
|
6223
|
+
if (!(Cr.has(n.Type) && !Sr.get(n.Placeholder))) return n[e] || null;
|
|
6247
6224
|
}
|
|
6248
6225
|
get descriptionWithLink() {
|
|
6249
6226
|
if (ne[this.type] === "Boolean" && this.placeholder || ne[this.type] === "Link") {
|
|
@@ -6932,12 +6909,10 @@ function gu(t) {
|
|
|
6932
6909
|
if (!/*isProcessingTxn*/
|
|
6933
6910
|
z[49] && !/*applePayVisible*/
|
|
6934
6911
|
z[74] && !/*payPalVisible*/
|
|
6935
|
-
z[76])
|
|
6936
|
-
return Uu;
|
|
6912
|
+
z[76]) return Uu;
|
|
6937
6913
|
if (!/*applePayVisible*/
|
|
6938
6914
|
z[74] && !/*payPalVisible*/
|
|
6939
|
-
z[76])
|
|
6940
|
-
return Ju;
|
|
6915
|
+
z[76]) return Ju;
|
|
6941
6916
|
}
|
|
6942
6917
|
let sn = dn(t), Ie = sn && sn(t), Ke = (
|
|
6943
6918
|
/*showRetryNotification*/
|
|
@@ -8005,13 +7980,11 @@ function ba(t) {
|
|
|
8005
7980
|
if (
|
|
8006
7981
|
/*bonusLoading*/
|
|
8007
7982
|
o[66]
|
|
8008
|
-
)
|
|
8009
|
-
return Su;
|
|
7983
|
+
) return Su;
|
|
8010
7984
|
if (
|
|
8011
7985
|
/*availableBonuses*/
|
|
8012
7986
|
o[65].length > 0
|
|
8013
|
-
)
|
|
8014
|
-
return Du;
|
|
7987
|
+
) return Du;
|
|
8015
7988
|
}
|
|
8016
7989
|
let r = e(t), i = r && r(t);
|
|
8017
7990
|
return {
|
|
@@ -10547,8 +10520,7 @@ function Xu(t, n, e) {
|
|
|
10547
10520
|
});
|
|
10548
10521
|
yield wr(), Ct || (Ct = Document.prototype.querySelector), Document.prototype.querySelector = (W) => (re == null ? void 0 : re.querySelector(W)) || (Ct == null ? void 0 : Ct.call(document, W)), Xt || (Xt = Document.prototype.getElementById), Document.prototype.getElementById = function(W) {
|
|
10549
10522
|
const de = Xt.call(document, W);
|
|
10550
|
-
if (de)
|
|
10551
|
-
return de;
|
|
10523
|
+
if (de) return de;
|
|
10552
10524
|
try {
|
|
10553
10525
|
return (re == null ? void 0 : re.querySelector("#" + CSS.escape(W))) || null;
|
|
10554
10526
|
} catch (xe) {
|
|
@@ -10636,8 +10608,7 @@ function Xu(t, n, e) {
|
|
|
10636
10608
|
onPrepareDeposit(b) {
|
|
10637
10609
|
return kn(this, null, function* () {
|
|
10638
10610
|
var I, J;
|
|
10639
|
-
if (X)
|
|
10640
|
-
return null;
|
|
10611
|
+
if (X) return null;
|
|
10641
10612
|
Zn = "", he === on.Deposit && Jr();
|
|
10642
10613
|
const _ = yield Vt({
|
|
10643
10614
|
applePayValidationURL: b.MobileWalletApplePayMerchantValidationUrl
|
|
@@ -10701,8 +10672,7 @@ function Xu(t, n, e) {
|
|
|
10701
10672
|
onPrepareDeposit() {
|
|
10702
10673
|
return kn(this, null, function* () {
|
|
10703
10674
|
var b, _;
|
|
10704
|
-
if (X)
|
|
10705
|
-
return null;
|
|
10675
|
+
if (X) return null;
|
|
10706
10676
|
Zn = "", he === on.Deposit && Jr();
|
|
10707
10677
|
const h = yield Vt({ isCustomButtonFlow: !0 });
|
|
10708
10678
|
return h ? (qe = (_ = (b = h.Transaction) == null ? void 0 : b.MerchantId) != null ? _ : null, {
|
|
@@ -11538,8 +11508,7 @@ function Xu(t, n, e) {
|
|
|
11538
11508
|
delete pe[b], delete te[b], delete ve[b], delete O[b], delete q[b];
|
|
11539
11509
|
}), e(36, Oe = ""), e(37, Ve = ""), e(70, yt = !1), e(71, kt = !1), (h = Ue == null ? void 0 : Ue.clear) == null || h.call(Ue), e(28, te = nn({}, te)), pe = nn({}, pe), e(131, ve = nn({}, ve));
|
|
11540
11510
|
}, Co = (a) => {
|
|
11541
|
-
if (!(a != null && a.startsWith(Za)))
|
|
11542
|
-
return null;
|
|
11511
|
+
if (!(a != null && a.startsWith(Za))) return null;
|
|
11543
11512
|
const h = a.slice(Za.length), b = h.lastIndexOf("_");
|
|
11544
11513
|
return b <= 0 ? null : {
|
|
11545
11514
|
targetField: h.slice(0, b),
|
|
@@ -11554,8 +11523,7 @@ function Xu(t, n, e) {
|
|
|
11554
11523
|
}), pe = nn({}, pe), e(28, te = nn({}, te));
|
|
11555
11524
|
}, Do = () => {
|
|
11556
11525
|
var _;
|
|
11557
|
-
if (!(j != null && j.Fields))
|
|
11558
|
-
return [];
|
|
11526
|
+
if (!(j != null && j.Fields)) return [];
|
|
11559
11527
|
const a = [], h = /* @__PURE__ */ new Set(), b = (I, J = 0) => {
|
|
11560
11528
|
const W = I.field;
|
|
11561
11529
|
W && Pe.has(W.name) && !h.has(W.name) && (a.push(gt(nn({}, W), { level: J })), h.add(W.name)), Object.keys(I.children).forEach((de) => {
|
|
@@ -11703,8 +11671,7 @@ function Xu(t, n, e) {
|
|
|
11703
11671
|
let St = "", xr = "", Yr = null;
|
|
11704
11672
|
const Bo = () => `${Date.now().toString(36)}${Math.random().toString(36).slice(2, 10)}`, Io = () => typeof BroadcastChannel == "undefined" ? null : (Yr || (Yr = new BroadcastChannel(_r)), Yr), hi = (a) => {
|
|
11705
11673
|
var h, b;
|
|
11706
|
-
if (!gr(a))
|
|
11707
|
-
return !1;
|
|
11674
|
+
if (!gr(a)) return !1;
|
|
11708
11675
|
try {
|
|
11709
11676
|
return ((b = (h = a.document) == null ? void 0 : h.documentElement) == null ? void 0 : b.getAttribute(Ku)) === St;
|
|
11710
11677
|
} catch (_) {
|
|
@@ -11858,11 +11825,9 @@ function Xu(t, n, e) {
|
|
|
11858
11825
|
}, vi = (a, h) => a.format && h && !qo(a.format, h) ? S("invalidFieldError", { values: { field: a.label } }) : "", yi = (a, h) => typeof h != "boolean" && a.isRequired && (!h || !h.toString().trim()) ? S("errorEmptyField") : "", Ko = (a) => {
|
|
11859
11826
|
["+", "-", "e", "E"].includes(a.key) && a.preventDefault();
|
|
11860
11827
|
}, ki = (a) => {
|
|
11861
|
-
if (ce === st.vaults)
|
|
11862
|
-
return;
|
|
11828
|
+
if (ce === st.vaults) return;
|
|
11863
11829
|
const h = a.target, b = Number(Xe);
|
|
11864
|
-
if (Number.isNaN(b) || b < 0)
|
|
11865
|
-
return;
|
|
11830
|
+
if (Number.isNaN(b) || b < 0) return;
|
|
11866
11831
|
const [_, I] = h.value.split(".");
|
|
11867
11832
|
b === 0 && I !== void 0 ? (h.value = _, e(54, K = Number(_))) : I !== void 0 && I.length > b && (h.value = `${_}.${I.slice(0, b)}`, e(54, K = Number(h.value)));
|
|
11868
11833
|
}, $n = (a) => {
|
|
@@ -11913,21 +11878,18 @@ function Xu(t, n, e) {
|
|
|
11913
11878
|
let J = !1;
|
|
11914
11879
|
if (qn.forEach((W) => {
|
|
11915
11880
|
I && I.has(W) || te[W] || (J = !0);
|
|
11916
|
-
}), J)
|
|
11917
|
-
return J;
|
|
11881
|
+
}), J) return J;
|
|
11918
11882
|
}
|
|
11919
11883
|
return s && !r && (At || !Oe || !Ve || Ve.length < 2) || a || Object.entries(h).some(([I, J]) => Pe.has(I) && !!J) || je === Ae.true && bn == Ae.true && Je[Je.length - 1] && (!yn || yn.trim() === "") ? !0 : Ue ? !!(l && !((_ = Ue.fields["card-number"]) != null && _.valid) || d && Ue.fields["card-security-code"] && !Ue.fields["card-security-code"].valid) : !1;
|
|
11920
11884
|
}, Wr = (a) => {
|
|
11921
11885
|
let h = 0;
|
|
11922
|
-
if (a.length !== 7)
|
|
11923
|
-
return !1;
|
|
11886
|
+
if (a.length !== 7) return !1;
|
|
11924
11887
|
const b = a.split("").map(Number), _ = F.reduce((I, J, W) => I + b[W] * J, 0);
|
|
11925
11888
|
for (; (_ + h) % 10 !== 0; )
|
|
11926
11889
|
h++;
|
|
11927
11890
|
return h;
|
|
11928
11891
|
}, Zo = (a, h) => {
|
|
11929
|
-
if (!/^\d{16}$/.test(h) && !/^\d{24}$/.test(h))
|
|
11930
|
-
return S("invalidFieldError", { values: { field: a.label } });
|
|
11892
|
+
if (!/^\d{16}$/.test(h) && !/^\d{24}$/.test(h)) return S("invalidFieldError", { values: { field: a.label } });
|
|
11931
11893
|
const b = h.slice(0, 7), _ = parseInt(h[7], 10), I = h.slice(8, 15), J = parseInt(h[15], 10);
|
|
11932
11894
|
if (_ != Wr(b) || J != Wr(I))
|
|
11933
11895
|
return S("invalidFieldError", { values: { field: a.label } });
|
|
@@ -12017,8 +11979,7 @@ function Xu(t, n, e) {
|
|
|
12017
11979
|
let b = h.value.replace(/\D/g, "").slice(0, 2);
|
|
12018
11980
|
e(36, Oe = b), h.value = b, e(82, At = !1), b.length === 2 && (Rt == null || Rt.focus());
|
|
12019
11981
|
}, Ai = () => {
|
|
12020
|
-
if (!Oe)
|
|
12021
|
-
return;
|
|
11982
|
+
if (!Oe) return;
|
|
12022
11983
|
Oe.length === 1 && e(36, Oe = Oe.padStart(2, "0"));
|
|
12023
11984
|
const a = parseInt(Oe, 10);
|
|
12024
11985
|
a > 12 && e(36, Oe = "12"), a < 1 && e(36, Oe = "01"), Mn && (pe.ExpirationMonth = Oe, Oe && Ve && Ve.length === 2 && Ei());
|