@everymatrix/cashier-page 1.91.2 → 1.91.100
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-B-cM-nlR.js +5797 -0
- package/components/CashierCarousel-CXoovlrR.js +5835 -0
- package/components/CashierCarousel-DMrMmClP.cjs +23 -0
- package/components/{CashierError-DUP7tACy.js → CashierError-BlrbZwNZ.js} +188 -165
- package/components/{CashierError-DJPfXVFN.js → CashierError-DO35fhDE.js} +189 -150
- package/components/CashierError-L1DNwfP5.cjs +1 -0
- package/components/CashierHeader-B7FnLv3f.js +397 -0
- package/components/CashierHeader-BbP0idUh.js +397 -0
- package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
- package/components/{CashierIframeRedirect-DZ_YLJYj.js → CashierIframeRedirect-C3muwYdO.js} +106 -91
- package/components/{CashierIframeRedirect-DRD9axM6.js → CashierIframeRedirect-Ti9O6xV-.js} +108 -93
- package/components/CashierMethodDetails-8eadCpOv.cjs +85 -0
- package/components/{CashierMethodDetails-Deaprjr2.js → CashierMethodDetails-De6XPMBV.js} +3651 -3225
- package/components/{CashierMethodDetails-CKIGaxi8.js → CashierMethodDetails-IzgiLexN.js} +3636 -3210
- package/components/{CashierMethodsList-gnvGqv6E.js → CashierMethodsList-Da8rvRg-.js} +56 -56
- package/components/CashierMethodsList-De1RhpZt.cjs +1 -0
- package/components/{CashierMethodsList-Bi2J58lb.js → CashierMethodsList-Nkttmbnc.js} +65 -65
- package/components/{CashierModal-D1IV_K94.js → CashierModal-B1pfSpCs.js} +36 -37
- package/components/{CashierModal-SkRBY0vF.js → CashierModal-BsrmgnKi.js} +32 -33
- package/components/CashierModal-DF8meLAZ.cjs +1 -0
- package/components/CashierNotifications-B8bRZMac.cjs +1 -0
- package/components/{CashierNotifications-BIU_bNM2.js → CashierNotifications-BXxNDzMM.js} +3 -3
- package/components/{CashierNotifications-C4Zl0QXH.js → CashierNotifications-DbJuswYZ.js} +5 -5
- package/components/CashierPage-5qwo9TY-.js +4455 -0
- package/components/CashierPage-B2xvrrqk.cjs +1 -0
- package/components/CashierPage-BZ15dctr.js +4485 -0
- package/components/{CashierReceiptPage-Bp1kvPqZ.js → CashierReceiptPage-Cx2S8Yd3.js} +177 -164
- package/components/CashierReceiptPage-DfRnKyz5.cjs +26 -0
- package/components/{CashierReceiptPage-DIQ5NCmX.js → CashierReceiptPage-DyKDJqYi.js} +169 -156
- package/components/CashierSessionExpirationModal-BhtIbI5L.cjs +2 -0
- package/components/{CashierSessionExpirationModal-B-DtrlP7.js → CashierSessionExpirationModal-CcK11U_D.js} +254 -267
- package/components/{CashierSessionExpirationModal-YnQFh24c.js → CashierSessionExpirationModal-Cdghu8oJ.js} +267 -280
- package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
- package/components/{CashierSpinner-BCzuIyuu.js → CashierSpinner-DMrM0bGx.js} +10 -11
- package/components/{CashierSpinner-BOQbmF2h.js → CashierSpinner-gJqeYU1n.js} +12 -13
- package/components/{CashierStepUp-Bpqm3i57.js → CashierStepUp-B530YrSp.js} +168 -169
- package/components/{CashierStepUp-D79Gj8_o.js → CashierStepUp-BtmD9q4i.js} +245 -246
- package/components/CashierStepUp-DKytvkqu.cjs +1 -0
- package/components/{CashierTransactionHistory-qJMjtAww.js → CashierTransactionHistory-BJ4jifcI.js} +66 -66
- package/components/CashierTransactionHistory-D6XL9PQC.cjs +1 -0
- package/components/{CashierTransactionHistory-CeuEInba.js → CashierTransactionHistory-DoQwTsPR.js} +71 -71
- package/components/CashierVerifications-BwU_2CWl.cjs +1 -0
- package/components/{CashierVerifications-D954Dcmi.js → CashierVerifications-DlGEny6X.js} +102 -118
- package/components/{CashierVerifications-BUvupwqw.js → CashierVerifications-dvwEyukN.js} +142 -158
- package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
- package/components/{TxnStatusIcon-DRjPEMAm.js → TxnStatusIcon-DCSCOAn2.js} +1 -1
- package/components/{TxnStatusIcon-j6u7C3Y3.js → TxnStatusIcon-DRFHs_0F.js} +8 -8
- package/components/{TxnTypeIcons-euzGvJDK.js → TxnTypeIcons-Bg7QJKuH.js} +1 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
- package/components/{TxnTypeIcons-ggzXXvn_.js → TxnTypeIcons-D37zQDwq.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-BofZKjRf.js +0 -672
- package/components/CashierCarousel-CNMnDNQz.js +0 -675
- package/components/CashierCarousel-DQbG4edk.cjs +0 -1
- package/components/CashierError-ISlGyswL.cjs +0 -1
- package/components/CashierHeader-DF-2cBjK.js +0 -456
- package/components/CashierHeader-DKJVHe7h.js +0 -456
- package/components/CashierHeader-DvFR_9go.cjs +0 -1
- package/components/CashierIframeRedirect-BNEVitom.cjs +0 -1
- package/components/CashierMethodDetails-BZKMdu3t.cjs +0 -85
- package/components/CashierMethodsList-D80YHvjG.cjs +0 -1
- package/components/CashierModal-aStI-fdB.cjs +0 -1
- package/components/CashierNotifications-B-qpSzxF.cjs +0 -1
- package/components/CashierPage-CkcgKU-E.cjs +0 -23
- package/components/CashierPage-Dj7li6Lk.js +0 -9989
- package/components/CashierPage-yP_xx26w.js +0 -9936
- package/components/CashierReceiptPage-C2LRGXPG.cjs +0 -26
- package/components/CashierSessionExpirationModal-_NLQgrzL.cjs +0 -2
- package/components/CashierSpinner-Dn0kfQ_K.cjs +0 -1
- package/components/CashierStepUp-CpCirwQD.cjs +0 -1
- package/components/CashierTransactionHistory-DkzZ_zMy.cjs +0 -1
- package/components/CashierVerifications-DcShCh6T.cjs +0 -1
- package/components/TxnStatusIcon-CP7WnbND.cjs +0 -1
- package/components/TxnTypeIcons-BnhR_qpa.cjs +0 -1
package/components/{CashierTransactionHistory-CeuEInba.js → CashierTransactionHistory-DoQwTsPR.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as it, $ as at, i as lt, S as nt, b as rt, s as ot, f as z, c as ct, e as R, t as B, g as
|
|
2
|
-
import { f as
|
|
3
|
-
import {
|
|
1
|
+
import { a as it, $ as at, i as lt, S as nt, b as rt, s as ot, f as z, c as ct, e as R, t as B, g as P, a6 as ye, a7 as _e, k as A, m as h, o as m, p as ut, q as mt, Z as $, a4 as He, v as H, W as ee, l as r, n as S, w, G as M, A as Q, y as dt, ad as ft, L as Ke, ae as Qe, x as Ae, r as $e, ah as ke, z as Fe, X as De, ai as et, aj as tt, ak as st, B as pt, C as ht, D as vt, E as gt, F as xt } from "./CashierCarousel-CXoovlrR.js";
|
|
2
|
+
import { f as Pe } from "./CashierReceiptPage-DyKDJqYi.js";
|
|
3
|
+
import { d as te } from "./CashierMethodDetails-De6XPMBV.js";
|
|
4
4
|
import "../stencil/ui-image-CNaRr0ax.js";
|
|
5
|
-
import { T as yt } from "./TxnTypeIcons-
|
|
6
|
-
import { T as _t } from "./TxnStatusIcon-
|
|
5
|
+
import { T as yt } from "./TxnTypeIcons-Bg7QJKuH.js";
|
|
6
|
+
import { T as _t } from "./TxnStatusIcon-DCSCOAn2.js";
|
|
7
7
|
lt({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
9
|
});
|
|
@@ -157,18 +157,18 @@ function bt(i) {
|
|
|
157
157
|
), c, o, l, g, q, f, d, x, _, T = (
|
|
158
158
|
/*copied*/
|
|
159
159
|
i[8] && Ve(i)
|
|
160
|
-
),
|
|
160
|
+
), F = $(
|
|
161
161
|
/*tableColumns*/
|
|
162
162
|
i[10]
|
|
163
163
|
), k = [];
|
|
164
|
-
for (let p = 0; p <
|
|
165
|
-
k[p] = We(Ue(i,
|
|
164
|
+
for (let p = 0; p < F.length; p += 1)
|
|
165
|
+
k[p] = We(Ue(i, F, p));
|
|
166
166
|
let N = $(
|
|
167
167
|
/*txnHistory*/
|
|
168
168
|
i[7]
|
|
169
169
|
), b = [];
|
|
170
170
|
for (let p = 0; p < N.length; p += 1)
|
|
171
|
-
b[p] =
|
|
171
|
+
b[p] = Je(Ee(i, N, p));
|
|
172
172
|
const se = (p) => B(b[p], 1, 1, () => {
|
|
173
173
|
b[p] = null;
|
|
174
174
|
});
|
|
@@ -199,24 +199,24 @@ function bt(i) {
|
|
|
199
199
|
p(p, C) {
|
|
200
200
|
if (/*copied*/
|
|
201
201
|
p[8] ? T ? (T.p(p, C), C[0] & /*copied*/
|
|
202
|
-
256 &&
|
|
202
|
+
256 && P(T, 1)) : (T = Ve(p), T.c(), P(T, 1), T.m(e, s)) : T && (ye(), B(T, 1, 1, () => {
|
|
203
203
|
T = null;
|
|
204
204
|
}), _e()), (!_ || C[0] & /*$_*/
|
|
205
205
|
4096) && u !== (u = /*$_*/
|
|
206
206
|
p[12]("transactionHistoryTitle") + "") && H(c, u), C[0] & /*$_, tableColumns*/
|
|
207
207
|
5120) {
|
|
208
|
-
|
|
208
|
+
F = $(
|
|
209
209
|
/*tableColumns*/
|
|
210
210
|
p[10]
|
|
211
211
|
);
|
|
212
212
|
let v;
|
|
213
|
-
for (v = 0; v <
|
|
214
|
-
const V = Ue(p,
|
|
213
|
+
for (v = 0; v < F.length; v += 1) {
|
|
214
|
+
const V = Ue(p, F, v);
|
|
215
215
|
k[v] ? k[v].p(V, C) : (k[v] = We(V), k[v].c(), k[v].m(f, null));
|
|
216
216
|
}
|
|
217
217
|
for (; v < k.length; v += 1)
|
|
218
218
|
k[v].d(1);
|
|
219
|
-
k.length =
|
|
219
|
+
k.length = F.length;
|
|
220
220
|
}
|
|
221
221
|
if (C[0] & /*tableColumns, txnHistory, $_, copyToClipboard, datetimeformat, expandedRow, isshorttransactionhistory, expandRow, copied, dateformat*/
|
|
222
222
|
32184) {
|
|
@@ -227,7 +227,7 @@ function bt(i) {
|
|
|
227
227
|
let v;
|
|
228
228
|
for (v = 0; v < N.length; v += 1) {
|
|
229
229
|
const V = Ee(p, N, v);
|
|
230
|
-
b[v] ? (b[v].p(V, C),
|
|
230
|
+
b[v] ? (b[v].p(V, C), P(b[v], 1)) : (b[v] = Je(V), b[v].c(), P(b[v], 1), b[v].m(x, null));
|
|
231
231
|
}
|
|
232
232
|
for (ye(), v = N.length; v < b.length; v += 1)
|
|
233
233
|
se(v);
|
|
@@ -243,9 +243,9 @@ function bt(i) {
|
|
|
243
243
|
},
|
|
244
244
|
i(p) {
|
|
245
245
|
if (!_) {
|
|
246
|
-
|
|
246
|
+
P(T);
|
|
247
247
|
for (let C = 0; C < N.length; C += 1)
|
|
248
|
-
|
|
248
|
+
P(b[C]);
|
|
249
249
|
_ = !0;
|
|
250
250
|
}
|
|
251
251
|
},
|
|
@@ -279,11 +279,11 @@ function Ve(i) {
|
|
|
279
279
|
},
|
|
280
280
|
i(o) {
|
|
281
281
|
c || (o && Ke(() => {
|
|
282
|
-
c && (u && u.end(1), a = Qe(e,
|
|
282
|
+
c && (u && u.end(1), a = Qe(e, Pe, { duration: 100 }), a.start());
|
|
283
283
|
}), c = !0);
|
|
284
284
|
},
|
|
285
285
|
o(o) {
|
|
286
|
-
a && a.invalidate(), o && (u = ft(e,
|
|
286
|
+
a && a.invalidate(), o && (u = ft(e, Pe, { duration: (
|
|
287
287
|
/*tooltipduration*/
|
|
288
288
|
i[2]
|
|
289
289
|
) })), c = !1;
|
|
@@ -465,7 +465,7 @@ function St(i) {
|
|
|
465
465
|
o[45].Status}`) + "") && H(u, a);
|
|
466
466
|
},
|
|
467
467
|
i(o) {
|
|
468
|
-
c || (
|
|
468
|
+
c || (P(e.$$.fragment, o), c = !0);
|
|
469
469
|
},
|
|
470
470
|
o(o) {
|
|
471
471
|
B(e.$$.fragment, o), c = !1;
|
|
@@ -573,7 +573,7 @@ function jt(i) {
|
|
|
573
573
|
t[45].Type), e.$set(u);
|
|
574
574
|
},
|
|
575
575
|
i(t) {
|
|
576
|
-
s || (
|
|
576
|
+
s || (P(e.$$.fragment, t), s = !0);
|
|
577
577
|
},
|
|
578
578
|
o(t) {
|
|
579
579
|
B(e.$$.fragment, t), s = !1;
|
|
@@ -664,7 +664,7 @@ function Ye(i) {
|
|
|
664
664
|
let _ = t;
|
|
665
665
|
t = f(d), t === _ ? q[t].p(d, x) : (ye(), B(q[_], 1, 1, () => {
|
|
666
666
|
q[_] = null;
|
|
667
|
-
}), _e(), a = q[t], a ? a.p(d, x) : (a = q[t] = g[t](d), a.c()),
|
|
667
|
+
}), _e(), a = q[t], a ? a.p(d, x) : (a = q[t] = g[t](d), a.c()), P(a, 1), a.m(s, null)), (!l || x[0] & /*tableColumns*/
|
|
668
668
|
1024 && u !== (u = ke(
|
|
669
669
|
/*columnName*/
|
|
670
670
|
d[52]
|
|
@@ -673,7 +673,7 @@ function Ye(i) {
|
|
|
673
673
|
d[52]}`) + " svelte-1xsmrqu")) && m(e, "class", o);
|
|
674
674
|
},
|
|
675
675
|
i(d) {
|
|
676
|
-
l || (
|
|
676
|
+
l || (P(a), l = !0);
|
|
677
677
|
},
|
|
678
678
|
o(d) {
|
|
679
679
|
B(a), l = !1;
|
|
@@ -691,7 +691,7 @@ function Be(i) {
|
|
|
691
691
|
/*$_*/
|
|
692
692
|
i[12](`transactionType.${/*transaction*/
|
|
693
693
|
i[45].Type}`) + ""
|
|
694
|
-
), x, _, T,
|
|
694
|
+
), x, _, T, F, k = (
|
|
695
695
|
/*$_*/
|
|
696
696
|
i[12]("transactionDateTitle") + ""
|
|
697
697
|
), N, b, se, p, C = te(
|
|
@@ -700,34 +700,34 @@ function Be(i) {
|
|
|
700
700
|
).format(
|
|
701
701
|
/*datetimeformat*/
|
|
702
702
|
i[5]
|
|
703
|
-
) + "", v, V, E,
|
|
703
|
+
) + "", v, V, E, Z, re = (
|
|
704
704
|
/*$_*/
|
|
705
705
|
i[12]("transactionPaymentMethodTitle") + ""
|
|
706
|
-
), ie, pe, he,
|
|
706
|
+
), ie, pe, he, G, W = (
|
|
707
707
|
/*transaction*/
|
|
708
708
|
i[45].PaymentMethod + ""
|
|
709
|
-
), oe, ce,
|
|
709
|
+
), oe, ce, J, ae, ue = (
|
|
710
710
|
/*$_*/
|
|
711
711
|
i[12]("transactionCodeTitle") + ""
|
|
712
712
|
), ve, qe, me, Y, de, fe = (
|
|
713
713
|
/*transaction*/
|
|
714
714
|
i[45].Code + ""
|
|
715
|
-
), ge, Te,
|
|
715
|
+
), ge, Te, X, K, n, y, j, I, le, xe, je, we, ne, be, Se, Ce, Ie, Re, ze, O = (
|
|
716
716
|
/*transaction*/
|
|
717
|
-
i[45].RejectionNote &&
|
|
717
|
+
i[45].RejectionNote && Xe(i)
|
|
718
718
|
), U = (
|
|
719
719
|
/*transaction*/
|
|
720
|
-
i[45].PaymentFields &&
|
|
720
|
+
i[45].PaymentFields && Ge(i)
|
|
721
721
|
);
|
|
722
722
|
return {
|
|
723
723
|
c() {
|
|
724
|
-
e = h("tr"), s = h("td"), t = h("div"), a = h("div"), u = h("div"), c = h("span"), l = w(o), g = w(" :"), q = S(), f = h("span"), x = w(d), _ = S(), T = h("div"),
|
|
725
|
-
i[45].Code), m(Y, "class", "DetailsValue CopyCode svelte-1xsmrqu"), m(
|
|
724
|
+
e = h("tr"), s = h("td"), t = h("div"), a = h("div"), u = h("div"), c = h("span"), l = w(o), g = w(" :"), q = S(), f = h("span"), x = w(d), _ = S(), T = h("div"), F = h("span"), N = w(k), b = w(" :"), se = S(), p = h("span"), v = w(C), V = S(), E = h("div"), Z = h("span"), ie = w(re), pe = w(" :"), he = S(), G = h("span"), oe = w(W), ce = S(), J = h("div"), ae = h("span"), ve = w(ue), qe = w(" :"), me = S(), Y = h("span"), de = h("span"), ge = w(fe), Te = S(), X = De("svg"), K = De("g"), n = De("path"), y = De("path"), I = S(), O && O.c(), le = S(), xe = h("div"), U && U.c(), je = S(), we = h("div"), ne = h("ui-image"), Ie = S(), m(c, "class", "DetailsTitle svelte-1xsmrqu"), m(f, "class", "DetailsValue svelte-1xsmrqu"), m(u, "class", "DetailsRow svelte-1xsmrqu"), m(F, "class", "DetailsTitle svelte-1xsmrqu"), m(p, "class", "DetailsValue svelte-1xsmrqu"), m(T, "class", "DetailsRow svelte-1xsmrqu"), m(Z, "class", "DetailsTitle svelte-1xsmrqu"), m(G, "class", "DetailsValue svelte-1xsmrqu"), m(E, "class", "DetailsRow svelte-1xsmrqu"), m(ae, "class", "DetailsTitle svelte-1xsmrqu"), m(de, "class", "svelte-1xsmrqu"), m(n, "d", "M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"), m(n, "stroke", "#666666"), m(n, "stroke-linecap", "round"), m(n, "stroke-linejoin", "round"), m(n, "class", "svelte-1xsmrqu"), m(y, "d", "M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"), m(y, "stroke", "#666666"), m(y, "stroke-linecap", "round"), m(y, "stroke-linejoin", "round"), m(y, "class", "svelte-1xsmrqu"), m(K, "opacity", "0.5"), m(K, "class", "svelte-1xsmrqu"), m(X, "xmlns", "http://www.w3.org/2000/svg"), m(X, "width", "19"), m(X, "height", "19"), m(X, "viewBox", "0 0 19 19"), m(X, "fill", "none"), m(X, "class", "svelte-1xsmrqu"), m(Y, "data-copy", j = /*transaction*/
|
|
725
|
+
i[45].Code), m(Y, "class", "DetailsValue CopyCode svelte-1xsmrqu"), m(J, "class", "DetailsRow svelte-1xsmrqu"), m(a, "class", "StaticDetails svelte-1xsmrqu"), m(xe, "class", "DynamicDetails svelte-1xsmrqu"), Fe(ne.src, be = /*transaction*/
|
|
726
726
|
i[45].Logo) || Q(ne, "src", be), Q(ne, "class", "svelte-1xsmrqu"), m(we, "class", "DetailsLogo svelte-1xsmrqu"), m(t, "class", "ExpandedContent svelte-1xsmrqu"), m(s, "colspan", Ce = /*tableColumns*/
|
|
727
727
|
i[10].length), m(s, "class", "no-padding svelte-1xsmrqu"), m(e, "class", "ExpandedRow svelte-1xsmrqu");
|
|
728
728
|
},
|
|
729
729
|
m(D, L) {
|
|
730
|
-
A(D, e, L), r(e, s), r(s, t), r(t, a), r(a, u), r(u, c), r(c, l), r(c, g), r(u, q), r(u, f), r(f, x), r(a, _), r(a, T), r(T,
|
|
730
|
+
A(D, e, L), r(e, s), r(s, t), r(t, a), r(a, u), r(u, c), r(c, l), r(c, g), r(u, q), r(u, f), r(f, x), r(a, _), r(a, T), r(T, F), r(F, N), r(F, b), r(T, se), r(T, p), r(p, v), r(a, V), r(a, E), r(E, Z), r(Z, ie), r(Z, pe), r(E, he), r(E, G), r(G, oe), r(a, ce), r(a, J), r(J, ae), r(ae, ve), r(ae, qe), r(J, me), r(J, Y), r(Y, de), r(de, ge), r(Y, Te), r(Y, X), r(X, K), r(K, n), r(K, y), r(a, I), O && O.m(a, null), r(t, le), r(t, xe), U && U.m(xe, null), r(t, je), r(t, we), r(we, ne), r(e, Ie), Re || (ze = Ae(
|
|
731
731
|
Y,
|
|
732
732
|
"mousedown",
|
|
733
733
|
/*mousedown_handler*/
|
|
@@ -760,9 +760,9 @@ function Be(i) {
|
|
|
760
760
|
D[45].Code + "") && H(ge, fe), L[0] & /*txnHistory*/
|
|
761
761
|
128 && j !== (j = /*transaction*/
|
|
762
762
|
D[45].Code) && m(Y, "data-copy", j), /*transaction*/
|
|
763
|
-
D[45].RejectionNote ? O ? O.p(D, L) : (O =
|
|
764
|
-
D[45].PaymentFields ? U ? U.p(D, L) : (U =
|
|
765
|
-
128 && !
|
|
763
|
+
D[45].RejectionNote ? O ? O.p(D, L) : (O = Xe(D), O.c(), O.m(a, null)) : O && (O.d(1), O = null), /*transaction*/
|
|
764
|
+
D[45].PaymentFields ? U ? U.p(D, L) : (U = Ge(D), U.c(), U.m(xe, null)) : U && (U.d(1), U = null), L[0] & /*txnHistory*/
|
|
765
|
+
128 && !Fe(ne.src, be = /*transaction*/
|
|
766
766
|
D[45].Logo) && Q(ne, "src", be), L[0] & /*tableColumns*/
|
|
767
767
|
1024 && Ce !== (Ce = /*tableColumns*/
|
|
768
768
|
D[10].length) && m(s, "colspan", Ce);
|
|
@@ -783,7 +783,7 @@ function Be(i) {
|
|
|
783
783
|
}
|
|
784
784
|
};
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function Xe(i) {
|
|
787
787
|
let e, s, t = (
|
|
788
788
|
/*$_*/
|
|
789
789
|
i[12]("transactionRejectionNoteTitle") + ""
|
|
@@ -810,13 +810,13 @@ function Je(i) {
|
|
|
810
810
|
}
|
|
811
811
|
};
|
|
812
812
|
}
|
|
813
|
-
function
|
|
813
|
+
function Ge(i) {
|
|
814
814
|
let e, s = $(Object.entries(
|
|
815
815
|
/*transaction*/
|
|
816
816
|
i[45].PaymentFields
|
|
817
817
|
)), t = [];
|
|
818
818
|
for (let a = 0; a < s.length; a += 1)
|
|
819
|
-
t[a] =
|
|
819
|
+
t[a] = Ze(Le(i, s, a));
|
|
820
820
|
return {
|
|
821
821
|
c() {
|
|
822
822
|
for (let a = 0; a < t.length; a += 1)
|
|
@@ -838,7 +838,7 @@ function Xe(i) {
|
|
|
838
838
|
let c;
|
|
839
839
|
for (c = 0; c < s.length; c += 1) {
|
|
840
840
|
const o = Le(a, s, c);
|
|
841
|
-
t[c] ? t[c].p(o, u) : (t[c] =
|
|
841
|
+
t[c] ? t[c].p(o, u) : (t[c] = Ze(o), t[c].c(), t[c].m(e.parentNode, e));
|
|
842
842
|
}
|
|
843
843
|
for (; c < t.length; c += 1)
|
|
844
844
|
t[c].d(1);
|
|
@@ -850,7 +850,7 @@ function Xe(i) {
|
|
|
850
850
|
}
|
|
851
851
|
};
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function Ze(i) {
|
|
854
854
|
let e, s, t = (
|
|
855
855
|
/*$_*/
|
|
856
856
|
i[12](`transaction${/*key*/
|
|
@@ -885,7 +885,7 @@ function Ge(i) {
|
|
|
885
885
|
}
|
|
886
886
|
};
|
|
887
887
|
}
|
|
888
|
-
function
|
|
888
|
+
function Je(i) {
|
|
889
889
|
let e, s, t, a, u, c, o = $(
|
|
890
890
|
/*tableColumns*/
|
|
891
891
|
i[10]
|
|
@@ -943,7 +943,7 @@ function Ze(i) {
|
|
|
943
943
|
let _;
|
|
944
944
|
for (_ = 0; _ < o.length; _ += 1) {
|
|
945
945
|
const T = Oe(i, o, _);
|
|
946
|
-
l[_] ? (l[_].p(T, x),
|
|
946
|
+
l[_] ? (l[_].p(T, x), P(l[_], 1)) : (l[_] = Ye(T), l[_].c(), P(l[_], 1), l[_].m(e, null));
|
|
947
947
|
}
|
|
948
948
|
for (ye(), _ = o.length; _ < l.length; _ += 1)
|
|
949
949
|
g(_);
|
|
@@ -965,13 +965,13 @@ function Ze(i) {
|
|
|
965
965
|
), /*expandedRow*/
|
|
966
966
|
i[11] === /*index*/
|
|
967
967
|
i[47] ? f ? (f.p(i, x), x[0] & /*expandedRow*/
|
|
968
|
-
2048 &&
|
|
968
|
+
2048 && P(f, 1)) : (f = Be(i), f.c(), P(f, 1), f.m(t.parentNode, t)) : f && (f.d(1), f = null);
|
|
969
969
|
},
|
|
970
970
|
i(d) {
|
|
971
971
|
if (!a) {
|
|
972
972
|
for (let x = 0; x < o.length; x += 1)
|
|
973
|
-
|
|
974
|
-
|
|
973
|
+
P(l[x]);
|
|
974
|
+
P(f), a = !0;
|
|
975
975
|
}
|
|
976
976
|
},
|
|
977
977
|
o(d) {
|
|
@@ -1008,10 +1008,10 @@ function zt(i) {
|
|
|
1008
1008
|
let q = s;
|
|
1009
1009
|
s = o(l), s === q ? ~s && c[s].p(l, g) : (t && (ye(), B(c[q], 1, 1, () => {
|
|
1010
1010
|
c[q] = null;
|
|
1011
|
-
}), _e()), ~s ? (t = c[s], t ? t.p(l, g) : (t = c[s] = u[s](l), t.c()),
|
|
1011
|
+
}), _e()), ~s ? (t = c[s], t ? t.p(l, g) : (t = c[s] = u[s](l), t.c()), P(t, 1), t.m(e, null)) : t = null);
|
|
1012
1012
|
},
|
|
1013
1013
|
i(l) {
|
|
1014
|
-
a || (
|
|
1014
|
+
a || (P(t), a = !0);
|
|
1015
1015
|
},
|
|
1016
1016
|
o(l) {
|
|
1017
1017
|
B(t), a = !1;
|
|
@@ -1021,10 +1021,10 @@ function zt(i) {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
};
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function Ft(i, e, s) {
|
|
1025
1025
|
let t;
|
|
1026
|
-
ut(i,
|
|
1027
|
-
let { endpoint: a } = e, { session: u } = e, { lang: c = "en" } = e, { customerid: o } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: q } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: _ } = e, { page: T = "0" } = e, { calculateprofit:
|
|
1026
|
+
ut(i, xt, (n) => s(12, t = n));
|
|
1027
|
+
let { endpoint: a } = e, { session: u } = e, { lang: c = "en" } = e, { customerid: o } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: q } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: _ } = e, { page: T = "0" } = e, { calculateprofit: F = "false" } = e, { fromdate: k = te().subtract(3, "month") } = e, { todate: N = te() } = e, { isshorttransactionhistory: b = "false" } = e, { dateformat: se = "DD.MM.YYYY" } = e, { datetimeformat: p = "DD.MM.YYYY HH:mm:ss" } = e, { userroles: C = "" } = e, v = [], V = !1, E, Z, re, ie = !1, pe = [], he = [], G;
|
|
1028
1028
|
var W;
|
|
1029
1029
|
(function(n) {
|
|
1030
1030
|
n.Deposit = "deposit", n.Withdraw = "withdraw", n.Refund = "refund", n.Unknown = "unknown", n.TaxDeduction = "taxDeduction";
|
|
@@ -1046,7 +1046,7 @@ function Pt(i, e, s) {
|
|
|
1046
1046
|
n.Authorized = "Authorized", n.Success = "Success", n.Failed = "Failed", n.Rejected = "Rejected", n.Pending = "Pending";
|
|
1047
1047
|
})(ce || (ce = {})), mt(() => () => {
|
|
1048
1048
|
});
|
|
1049
|
-
const
|
|
1049
|
+
const J = () => {
|
|
1050
1050
|
let n = q;
|
|
1051
1051
|
if (n)
|
|
1052
1052
|
return fetch(n).then((y) => y.json()).then((y) => {
|
|
@@ -1083,7 +1083,7 @@ function Pt(i, e, s) {
|
|
|
1083
1083
|
[W.TaxDeduction]: ["Unknown"],
|
|
1084
1084
|
[W.Unknown]: ["Unknown"]
|
|
1085
1085
|
},
|
|
1086
|
-
calculateProfit:
|
|
1086
|
+
calculateProfit: F === "true"
|
|
1087
1087
|
})
|
|
1088
1088
|
};
|
|
1089
1089
|
s(9, ie = !0), fetch(n, j).then((I) => I.json()).then((I) => {
|
|
@@ -1092,9 +1092,9 @@ function Pt(i, e, s) {
|
|
|
1092
1092
|
type: "TransactionsLoaded",
|
|
1093
1093
|
total: I.total
|
|
1094
1094
|
};
|
|
1095
|
-
|
|
1095
|
+
F === "true" && (le.statistic = I.statistic), window.postMessage(le, window.location.href);
|
|
1096
1096
|
}).catch((I) => console.log(I)).finally(() => s(9, ie = !1));
|
|
1097
|
-
}, ve = (n) => (s(10, he = _.split(",")), s(11,
|
|
1097
|
+
}, ve = (n) => (s(10, he = _.split(",")), s(11, G = null), n.map((y) => {
|
|
1098
1098
|
let j = y.generalFields.status;
|
|
1099
1099
|
return y.generalFields.status.toLowerCase().includes("pending") && (j = ce.Pending), {
|
|
1100
1100
|
Code: y.generalFields.code,
|
|
@@ -1117,7 +1117,7 @@ function Pt(i, e, s) {
|
|
|
1117
1117
|
}, me = (n, y = !0) => {
|
|
1118
1118
|
const I = n.currentTarget.dataset.copy;
|
|
1119
1119
|
I && navigator.clipboard.writeText(I).then(() => {
|
|
1120
|
-
y && (s(8, V = !0), clearTimeout(
|
|
1120
|
+
y && (s(8, V = !0), clearTimeout(Z), Z = setTimeout(
|
|
1121
1121
|
() => {
|
|
1122
1122
|
s(8, V = !1);
|
|
1123
1123
|
},
|
|
@@ -1127,29 +1127,29 @@ function Pt(i, e, s) {
|
|
|
1127
1127
|
console.error("Could not copy text: ", le);
|
|
1128
1128
|
});
|
|
1129
1129
|
}, Y = (n) => {
|
|
1130
|
-
b !== "true" && s(11,
|
|
1130
|
+
b !== "true" && s(11, G = G === n ? null : n);
|
|
1131
1131
|
}, de = (n, y) => ({
|
|
1132
1132
|
delay: 0,
|
|
1133
1133
|
duration: 250,
|
|
1134
1134
|
css: (j) => `overflow: hidden; transform: translateY(${(1 - j) * 20}px); opacity: ${j}`
|
|
1135
1135
|
}), fe = () => {
|
|
1136
1136
|
C.length > 0 && (pe = C.split(","));
|
|
1137
|
-
}, ge = (n) => me(n), Te = (n) => Y(n),
|
|
1137
|
+
}, ge = (n) => me(n), Te = (n) => Y(n), X = (n) => me(n, !1);
|
|
1138
1138
|
function K(n) {
|
|
1139
1139
|
dt[n ? "unshift" : "push"](() => {
|
|
1140
1140
|
E = n, s(6, E);
|
|
1141
1141
|
});
|
|
1142
1142
|
}
|
|
1143
1143
|
return i.$$set = (n) => {
|
|
1144
|
-
"endpoint" in n && s(16, a = n.endpoint), "session" in n && s(17, u = n.session), "lang" in n && s(18, c = n.lang), "customerid" in n && s(19, o = n.customerid), "clientstyling" in n && s(0, l = n.clientstyling), "clientstylingurl" in n && s(1, g = n.clientstylingurl), "translationurl" in n && s(20, q = n.translationurl), "tooltipduration" in n && s(2, f = n.tooltipduration), "txncount" in n && s(21, d = n.txncount), "mbsource" in n && s(22, x = n.mbsource), "columns" in n && s(23, _ = n.columns), "page" in n && s(24, T = n.page), "calculateprofit" in n && s(25,
|
|
1144
|
+
"endpoint" in n && s(16, a = n.endpoint), "session" in n && s(17, u = n.session), "lang" in n && s(18, c = n.lang), "customerid" in n && s(19, o = n.customerid), "clientstyling" in n && s(0, l = n.clientstyling), "clientstylingurl" in n && s(1, g = n.clientstylingurl), "translationurl" in n && s(20, q = n.translationurl), "tooltipduration" in n && s(2, f = n.tooltipduration), "txncount" in n && s(21, d = n.txncount), "mbsource" in n && s(22, x = n.mbsource), "columns" in n && s(23, _ = n.columns), "page" in n && s(24, T = n.page), "calculateprofit" in n && s(25, F = n.calculateprofit), "fromdate" in n && s(26, k = n.fromdate), "todate" in n && s(27, N = n.todate), "isshorttransactionhistory" in n && s(3, b = n.isshorttransactionhistory), "dateformat" in n && s(4, se = n.dateformat), "datetimeformat" in n && s(5, p = n.datetimeformat), "userroles" in n && s(28, C = n.userroles);
|
|
1145
1145
|
}, i.$$.update = () => {
|
|
1146
1146
|
i.$$.dirty[0] & /*lang*/
|
|
1147
1147
|
262144 && c && ae(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1148
|
-
65 && l && E &&
|
|
1149
|
-
66 && g && E &&
|
|
1150
|
-
252641280 && a && u && o && c && k && N && T &&
|
|
1151
|
-
1048576 && q &&
|
|
1152
|
-
4194368 && x && E &&
|
|
1148
|
+
65 && l && E && pt(E, l), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1149
|
+
66 && g && E && ht(E, g), i.$$.dirty[0] & /*endpoint, session, customerid, lang, fromdate, todate, page, calculateprofit*/
|
|
1150
|
+
252641280 && a && u && o && c && k && N && T && F && ue(), i.$$.dirty[0] & /*translationurl*/
|
|
1151
|
+
1048576 && q && J(), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1152
|
+
4194368 && x && E && vt(E, `${x}.Style`, re), i.$$.dirty[0] & /*userroles*/
|
|
1153
1153
|
268435456 && C && fe();
|
|
1154
1154
|
}, [
|
|
1155
1155
|
l,
|
|
@@ -1163,7 +1163,7 @@ function Pt(i, e, s) {
|
|
|
1163
1163
|
V,
|
|
1164
1164
|
ie,
|
|
1165
1165
|
he,
|
|
1166
|
-
|
|
1166
|
+
G,
|
|
1167
1167
|
t,
|
|
1168
1168
|
me,
|
|
1169
1169
|
Y,
|
|
@@ -1177,22 +1177,22 @@ function Pt(i, e, s) {
|
|
|
1177
1177
|
x,
|
|
1178
1178
|
_,
|
|
1179
1179
|
T,
|
|
1180
|
-
|
|
1180
|
+
F,
|
|
1181
1181
|
k,
|
|
1182
1182
|
N,
|
|
1183
1183
|
C,
|
|
1184
1184
|
ge,
|
|
1185
1185
|
Te,
|
|
1186
|
-
|
|
1186
|
+
X,
|
|
1187
1187
|
K
|
|
1188
1188
|
];
|
|
1189
1189
|
}
|
|
1190
|
-
class
|
|
1190
|
+
class Pt extends nt {
|
|
1191
1191
|
constructor(e) {
|
|
1192
1192
|
super(), rt(
|
|
1193
1193
|
this,
|
|
1194
1194
|
e,
|
|
1195
|
-
|
|
1195
|
+
Ft,
|
|
1196
1196
|
zt,
|
|
1197
1197
|
ot,
|
|
1198
1198
|
{
|
|
@@ -1335,7 +1335,7 @@ class Ft extends nt {
|
|
|
1335
1335
|
this.$$set({ userroles: e }), z();
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
|
-
|
|
1338
|
+
gt(Pt, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {}, mbsource: {}, columns: {}, page: {}, calculateprofit: {}, fromdate: {}, todate: {}, isshorttransactionhistory: {}, dateformat: {}, datetimeformat: {}, userroles: {} }, [], [], !0);
|
|
1339
1339
|
export {
|
|
1340
|
-
|
|
1340
|
+
Pt as default
|
|
1341
1341
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs"),q=require("./CashierMethodDetails-8eadCpOv.cjs");function j(n,t){e.addMessages(n,t)}function ye(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const N={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},fr:{verificationsRequired:"Vérifications requises","verification.video.how-to":"Comment vérifier votre identité ?","verification.idenfy.referred-awaiting":"La vérification d’identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.","verification.message.failed":"Nous sommes désolés, mais nous n’avons pas pu vérifier votre compte. Veuillez contacter l’équipe d’assistance.","verification.idenfy.link-name":"lien","verification.idenfy.in-progress":"Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l’utilisateur. Veuillez préparer votre pièce d’identité et suivre le {link} pour commencer la vérification.","verification.shuftipro.in-progress.Biometric":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.","verification.shuftipro.in-progress.Biometric.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.","verification.shuftipro.link-name.Biometric":"Biométrique","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Justificatif de domicile","verification.shuftipro.validations-started":"Après avoir terminé la vérification, veuillez procéder à la transaction."}};function Ve(n){e.append_styles(n,"svelte-xrv2v8",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}')}function W(n,t,r){const s=n.slice();return s[56]=t[r],s}function be(n){let t,r=n[3].length>0&&Y(n);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","CashierVerificationsWrapper")},m(s,a){e.insert(s,t,a),r&&r.m(t,null)},p(s,a){s[3].length>0?r?r.p(s,a):(r=Y(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function _e(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[1]),e.set_custom_element_data(t,"clientstyling",n[0])},m(r,s){e.insert(r,t,s)},p(r,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",r[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&e.detach(t)}}}function Y(n){let t,r,s,a,l,u,g,_=n[8]("verificationsRequired")+"",w,V,P,C,v,D,b,M,S=e.ensure_array_like(n[3]),d=[];for(let f=0;f<S.length;f+=1)d[f]=X(W(n,S,f));let m=n[6]&&K(n);return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("path"),a=e.svg_element("path"),l=e.svg_element("path"),u=e.space(),g=e.element("p"),w=e.text(_),V=e.space(),P=e.element("span"),P.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',C=e.space(),v=e.element("div");for(let f=0;f<d.length;f+=1)d[f].c();D=e.space(),m&&m.c(),e.attr(s,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),e.attr(s,"stroke","#6E738F"),e.attr(s,"stroke-width","2"),e.attr(s,"stroke-linecap","round"),e.attr(s,"stroke-linejoin","round"),e.attr(a,"d","M12 8V12"),e.attr(a,"stroke","#6E738F"),e.attr(a,"stroke-width","2"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(l,"d","M12 16H12.01"),e.attr(l,"stroke","#6E738F"),e.attr(l,"stroke-width","2"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(r,"width","24"),e.attr(r,"height","24"),e.attr(r,"viewBox","0 0 24 24"),e.attr(r,"fill","none"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(P,"class","CashierVerificationChevron"),e.toggle_class(P,"ShowVerifications",n[4]),e.attr(t,"class","VerificationsHeader"),e.attr(v,"class","VerificationsList"),e.toggle_class(v,"ShowVerifications",n[4])},m(f,k){e.insert(f,t,k),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,u),e.append(t,g),e.append(g,w),e.append(t,V),e.append(t,P),e.insert(f,C,k),e.insert(f,v,k);for(let p=0;p<d.length;p+=1)d[p]&&d[p].m(v,null);e.append(v,D),m&&m.m(v,null),b||(M=e.listen(t,"click",n[9]),b=!0)},p(f,k){if(k[0]&256&&_!==(_=f[8]("verificationsRequired")+"")&&e.set_data(w,_),k[0]&16&&e.toggle_class(P,"ShowVerifications",f[4]),k[0]&8){S=e.ensure_array_like(f[3]);let p;for(p=0;p<S.length;p+=1){const z=W(f,S,p);d[p]?d[p].p(z,k):(d[p]=X(z),d[p].c(),d[p].m(v,D))}for(;p<d.length;p+=1)d[p].d(1);d.length=S.length}f[6]?m?m.p(f,k):(m=K(f),m.c(),m.m(v,null)):m&&(m.d(1),m=null),k[0]&16&&e.toggle_class(v,"ShowVerifications",f[4])},d(f){f&&(e.detach(t),e.detach(C),e.detach(v)),e.destroy_each(d,f),m&&m.d(),b=!1,M()}}}function X(n){let t,r,s,a,l=n[56]+"";return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',s=e.space(),a=e.element("p"),e.attr(r,"class","IconVerification"),e.attr(a,"class","text"),e.attr(t,"class","CashierVerificationMessage Test")},m(u,g){e.insert(u,t,g),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(u,g){g[0]&8&&l!==(l=u[56]+"")&&(a.innerHTML=l)},d(u){u&&e.detach(t)}}}function K(n){let t,r,s,a,l=n[8]("verification.video.how-to")+"",u,g,_;return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',s=e.space(),a=e.element("div"),u=e.text(l),e.attr(r,"class","IconVideo"),e.attr(a,"class","CashierVerificationVideoLink"),e.toggle_class(a,"CashierVerificationVideoLinkDesktop",n[5]),e.attr(t,"class","CashierVerificationVideo Test")},m(w,V){e.insert(w,t,V),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,u),g||(_=e.listen(t,"click",n[10]),g=!0)},p(w,V){V[0]&256&&l!==(l=w[8]("verification.video.how-to")+"")&&e.set_data(u,l),V[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),g=!1,_()}}}function Pe(n){let t;function r(l,u){if(l[7])return _e;if(l[3])return be}let s=r(n),a=s&&s(n);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",n[5])},m(l,u){e.insert(l,t,u),a&&a.m(t,null),n[20](t)},p(l,u){s===(s=r(l))&&a?a.p(l,u):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),u[0]&32&&e.toggle_class(t,"CashierVerificationsDesktop",l[5])},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a&&a.d(),n[20](null)}}}const Ce="verification_explanation_video_widgets.MP4";function De(n,t,r){let s,a;e.component_subscribe(n,e.$format,i=>r(8,s=i)),e.component_subscribe(n,q.xPaymentSessionToken,i=>r(29,a=i)),q.dayjs.extend(q.utc);let{endpoint:l}=t,{lang:u="en"}=t,{translationurl:g=""}=t,{clientstyling:_=""}=t,{clientstylingurl:w=""}=t,{session:V=""}=t,{customerid:P=""}=t,{playersession:C=""}=t,{userroles:v=""}=t,{mbsource:D=""}=t,b,M=new Set,S=new Set,d,m,f,k=!1,p=!0,z=!1,F="",E=!1,Z,T=[],G=window.navigator.userAgent;var O;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(O||(O={}));var R;(function(i){i.Requested="Requested"})(R||(R={}));var y;(function(i){i.Unknown="Unknown",i.Unverified="Unverified",i.InProgress="InProgress",i.Failed="Failed",i.Verified="Verified",i.Referred="Referred",i.True="True",i.False="False",i.AwaitingForResponse="AwaitingForResponse"})(y||(y={}));var B;(function(i){i.Unknown="Unknown",i.Documents="Documents",i.Age="Age",i.Pep="Pep",i.Sanction="Sanction",i.Aml="Aml",i.ProofOfAddress="ProofOfAddress",i.SourceOfWealth="SourceOfWealth",i.SocialMedia="SocialMedia",i.Biometric="Biometric"})(B||(B={}));const H=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",H),he(),()=>{window.removeEventListener("message",H)}));const Q=[y.InProgress,y.Referred,y.AwaitingForResponse],$=()=>{let i=g;if(i)return fetch(i).then(o=>o.json()).then(o=>{Object.keys(o).forEach(c=>{j(c,o[c])})}).catch(o=>{console.log(o)})};Object.keys(N).forEach(i=>{j(i,N[i])});const ee=()=>{ye(u)},I=()=>{r(19,m=re());const i=new URL(`${l}/v1/player/${P}/verification/GetKYCCustomerStatus?language=${u}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${C}`),o.append("X-Client-Request-Timestamp",q.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),Array.isArray(T)&&T.length>0&&T.indexOf("MM_CHANNEL_BETA")!=-1&&o.append("MM_CHANNEL","BETA");const c={method:"POST",headers:o,body:JSON.stringify({})};r(7,E=!0),fetch(i,c).then(h=>h.json()).then(h=>{const x=ie(h==null?void 0:h.Verifications);d=oe(x),d.VerificationStatuses.forEach(L=>{L.VerificationUrlType!=="Widget"&&M.add(L.Vendor)}),r(3,f=ce())}).finally(()=>r(7,E=!1))},ie=i=>i?i.sort((o,c)=>new Date(c.Created).getTime()-new Date(o.Created).getTime()):[],te=()=>{a&&I()},re=()=>{let i=(V||a).split(".")[1];if(i){let o=JSON.parse(atob(i));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},oe=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:y.Unverified,VerificationStatuses:[]};const o=se(i);if(o&&o.length){const h=ne(o);return{VerificationSummaryStatus:h.Status,VerificationUrl:(c=h.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:U(o,h.Status)}}else return{VerificationSummaryStatus:i.some(x=>x.Status===y.Failed)?y.Failed:y.Verified,VerificationStatuses:U(i,[y.Failed])}},ne=i=>i.reduce((o,c)=>o?new Date(o)<new Date(c)?c:o:c,0),U=(i,o)=>i.filter(c=>o.includes(c.Status)).map(c=>{var h,x;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(h=c.FlowInfo)==null?void 0:h.Type,VerificationUrl:(x=c.FlowInfo)==null?void 0:x.Url}}),se=i=>i.filter(o=>Q.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||ae(o)||le(o):!1),ae=i=>{const o=i.Documents&&i.VendorName===O.Manual,c=i.Documents&&i.Documents.some(h=>h.Status===R.Requested);return o&&c},le=i=>i.VendorName===O.ShuftiPro&&i.Status===y.Referred,ce=()=>{switch(d.VerificationSummaryStatus){case y.InProgress:const i=[];return M.forEach(o=>{i.push(fe(o))}),i;case y.Referred:return[s("verification.idenfy.referred-awaiting")];case y.Failed:return[s("verification.message.failed")]}},fe=i=>{const o=d.VerificationStatuses.filter(c=>c.Vendor===i);if(i===O.ShuftiPro)return ue(o);{const c=s("verification.idenfy.link-name"),h={link:`<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:h})}},ue=i=>{const o=[],c={},h=[B.Biometric,B.Documents,B.ProofOfAddress];i.forEach(A=>{h.includes(A.Type)&&(o.push(A.Type),c[A.Type]=de(A,pe(A.Type)))});let x=o.every(A=>S.has(A)),L=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return x?s("verification.shuftipro.validations-started"):s(L,{values:c})},de=(i,o)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${o}</a>`,pe=i=>s(`verification.shuftipro.link-name.${i}`),me=()=>{r(4,k=!k)},he=()=>{r(5,p=!e.isMobile(G))},ve=()=>{F=m+"/"+u+"/"+Ce;try{fetch(F,{method:"HEAD"}).then(i=>{r(6,z=i.ok)})}catch(i){r(6,z=!1)}},ge=()=>{v.length>0&&(T=v.split(","))},we=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:F}}}))};function ke(i){e.binding_callbacks[i?"unshift":"push"](()=>{b=i,r(2,b)})}return n.$$set=i=>{"endpoint"in i&&r(11,l=i.endpoint),"lang"in i&&r(12,u=i.lang),"translationurl"in i&&r(13,g=i.translationurl),"clientstyling"in i&&r(0,_=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(14,V=i.session),"customerid"in i&&r(15,P=i.customerid),"playersession"in i&&r(16,C=i.playersession),"userroles"in i&&r(17,v=i.userroles),"mbsource"in i&&r(18,D=i.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&131072&&v&&ge(),n.$$.dirty[0]&4096&&u&&ee(),n.$$.dirty[0]&83968&&l&&V&&C&&I(),n.$$.dirty[0]&83968&&l&&!V&&C&&te(),n.$$.dirty[0]&8192&&g&&$(),n.$$.dirty[0]&5&&_&&b&&e.setClientStyling(b,_),n.$$.dirty[0]&6&&w&&b&&e.setClientStylingURL(b,w),n.$$.dirty[0]&524288&&m&&ve(),n.$$.dirty[0]&262148&&D&&b&&e.setStreamStyling(b,`${D}.Style`,Z)},[_,w,b,f,k,p,z,E,s,me,we,l,u,g,V,P,C,v,D,m,ke]}class J extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,De,Pe,e.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,userroles:17,mbsource:18},Ve,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),e.flush()}get userroles(){return this.$$.ctx[17]}set userroles(t){this.$$set({userroles:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},userroles:{},mbsource:{}},[],[],!0);exports.default=J;
|