@everymatrix/cashier-page 1.93.15 → 1.93.20
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-DJXsZKF9.js +5797 -0
- package/components/CashierCarousel-DMrMmClP.cjs +23 -0
- package/components/CashierCarousel-DwrGzk7c.js +5835 -0
- package/components/CashierError-BL_rmfvV.cjs +1 -0
- package/components/{CashierError-CmQqKE96.js → CashierError-Bqtyy8-q.js} +11 -12
- package/components/{CashierError-lww0Xhhd.js → CashierError-D054pa3k.js} +12 -13
- package/components/CashierHeader-BNDmkX5f.js +397 -0
- package/components/CashierHeader-DJYOdmdi.js +397 -0
- package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
- package/components/{CashierIframeRedirect-Cp8i9DwX.js → CashierIframeRedirect-CF8dL6ee.js} +106 -91
- package/components/{CashierIframeRedirect-D8w_XK4C.js → CashierIframeRedirect-CbC9sVb1.js} +108 -93
- package/components/{CashierMethodDetails-xNqhPyCs.js → CashierMethodDetails-C4LO5ZmR.js} +3063 -2638
- package/components/{CashierMethodDetails-D1X3MbmW.js → CashierMethodDetails-DPSHfVSK.js} +3281 -2856
- package/components/CashierMethodDetails-Zu0mfsD3.cjs +85 -0
- package/components/{CashierMethodsList-Cj6o2dtI.js → CashierMethodsList-Cab5da83.js} +51 -51
- package/components/CashierMethodsList-D1hypwra.cjs +1 -0
- package/components/{CashierMethodsList-COnGq2tb.js → CashierMethodsList-a7jjIZJf.js} +61 -61
- package/components/CashierModal-BLrymidc.cjs +1 -0
- package/components/{CashierModal-DYVHfktP.js → CashierModal-CV1Fn4BP.js} +34 -35
- package/components/{CashierModal-DANMfzKu.js → CashierModal-ZV_9oeml.js} +48 -49
- package/components/CashierNotifications-B8bRZMac.cjs +1 -0
- package/components/{CashierNotifications-IhAYYFLY.js → CashierNotifications-C_xReVni.js} +3 -3
- package/components/{CashierNotifications-Yvo_vvrp.js → CashierNotifications-DHKh64xU.js} +5 -5
- package/components/CashierPage-BRIKDWtS.cjs +1 -0
- package/components/CashierPage-CP9Cqpxc.js +4531 -0
- package/components/CashierPage-CvryQjo1.js +4565 -0
- package/components/{CashierReceiptPage-BtK09hHe.js → CashierReceiptPage-AZUU23Gj.js} +79 -78
- package/components/{CashierReceiptPage-CYUSXFbL.js → CashierReceiptPage-DLR6eK_m.js} +80 -79
- package/components/CashierReceiptPage-uOjbYrPM.cjs +26 -0
- package/components/{CashierSessionExpirationModal-YLys2PDl.js → CashierSessionExpirationModal-C9Tx9XKH.js} +132 -131
- package/components/CashierSessionExpirationModal-Ce2YoO0w.cjs +2 -0
- package/components/{CashierSessionExpirationModal-C5gv5Kex.js → CashierSessionExpirationModal-DXHf3_kf.js} +132 -131
- package/components/{CashierSpinner-DEY3bxsG.js → CashierSpinner-D3HhhmOb.js} +10 -11
- package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
- package/components/{CashierSpinner-C_YWOPLu.js → CashierSpinner-DyemUXs_.js} +12 -13
- package/components/{CashierStepUp-C-C7MzQF.js → CashierStepUp-CSZd5C7z.js} +245 -246
- package/components/{CashierStepUp-OocwQDO8.js → CashierStepUp-CmTcFbG9.js} +168 -169
- package/components/CashierStepUp-DKytvkqu.cjs +1 -0
- package/components/{CashierTransactionHistory-uR3LgcWt.js → CashierTransactionHistory-BEGYEMBh.js} +53 -52
- package/components/CashierTransactionHistory-Bo-v22P3.cjs +1 -0
- package/components/{CashierTransactionHistory-Cr0MttRX.js → CashierTransactionHistory-DlyX-frZ.js} +53 -52
- package/components/{CashierVerifications-CZkslVbR.js → CashierVerifications-C9vycMOx.js} +140 -156
- package/components/{CashierVerifications-k6yPLmW_.js → CashierVerifications-YwLouGLa.js} +151 -167
- package/components/CashierVerifications-xB9Sk0Qp.cjs +1 -0
- package/components/{TxnStatusIcon-Diii3Es2.js → TxnStatusIcon-BwvCa-Ig.js} +1 -1
- package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
- package/components/{TxnStatusIcon-Dgm2t94G.js → TxnStatusIcon-ssLhQR5N.js} +8 -8
- package/components/{TxnTypeIcons-BpmVN0J8.js → TxnTypeIcons-B84nFRMh.js} +1 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
- package/components/{TxnTypeIcons-DXpOeTfk.js → TxnTypeIcons-DhwUYw-o.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-2Y_QFlk8.js +0 -675
- package/components/CashierCarousel-LFH0uftr.js +0 -672
- package/components/CashierCarousel-Njl1VM8D.cjs +0 -1
- package/components/CashierError-zaQMVBwa.cjs +0 -1
- package/components/CashierHeader-BRtZK3Yj.cjs +0 -1
- package/components/CashierHeader-BXQCcYBU.js +0 -456
- package/components/CashierHeader-CV1mrRsd.js +0 -456
- package/components/CashierIframeRedirect-CYEQyHaS.cjs +0 -1
- package/components/CashierMethodDetails-BvSDCKZN.cjs +0 -85
- package/components/CashierMethodsList-BOpP96gM.cjs +0 -1
- package/components/CashierModal--1fztdGJ.cjs +0 -1
- package/components/CashierNotifications-CHbG6OoC.cjs +0 -1
- package/components/CashierPage-Bl4ava_U.js +0 -10064
- package/components/CashierPage-C7hbc8P5.cjs +0 -23
- package/components/CashierPage-DY5ngRhg.js +0 -10011
- package/components/CashierReceiptPage-DAfRN8k6.cjs +0 -26
- package/components/CashierSessionExpirationModal-Cd-Gd4Ir.cjs +0 -2
- package/components/CashierSpinner-Bvspj0cH.cjs +0 -1
- package/components/CashierStepUp-4B7szI7i.cjs +0 -1
- package/components/CashierTransactionHistory-Cpr3zr_V.cjs +0 -1
- package/components/CashierVerifications-Ddf15TF_.cjs +0 -1
- package/components/TxnStatusIcon-_lk_AnRy.cjs +0 -1
- package/components/TxnTypeIcons-CmilEOnE.cjs +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { a as $1, i as ee, $ as te, S as ne, b as ie, s as ae, f as L,
|
|
2
|
-
import {
|
|
1
|
+
import { a as $1, i as ee, $ as te, S as ne, b as ie, s as ae, f as L, c as oe, G as d1, e as h, k as w, m as C, o as l, p as se, q as re, O as le, U as ce, y as W1, N as H1, g as I1, a6 as ue, t as pe, a7 as de, l as c, n as k, ae as fe, L as me, af as Ce, v as R, w as x, A as T, a2 as ge, x as x1, r as B1, Z as D1, a4 as X1, X as N, z as z1, B as he, C as we, D as be, E as ye, F as ve } from "./CashierCarousel-DJXsZKF9.js";
|
|
2
|
+
import { f as A1 } from "./CashierPage-CP9Cqpxc.js";
|
|
3
|
+
import { d as L1, u as _e, a as j1 } from "./CashierMethodDetails-C4LO5ZmR.js";
|
|
3
4
|
function Z1(i, e) {
|
|
4
5
|
$1(i, e);
|
|
5
6
|
}
|
|
@@ -285,7 +286,7 @@ const V1 = {
|
|
|
285
286
|
uploadDocuments: "Télécharger des documents",
|
|
286
287
|
goToHomepage: "Aller à la page d’accueil"
|
|
287
288
|
}
|
|
288
|
-
}, Te = (i, e) => `${i +
|
|
289
|
+
}, Te = (i, e) => `${i + Me[e]}`, Re = (i, e) => `${Se[e]}.${J1[i]}.text`, xe = (i) => `${J1[`${i}`]}`, Me = {
|
|
289
290
|
Success: "/txn-success.png",
|
|
290
291
|
Voided: "/txn-success.png",
|
|
291
292
|
Rejected: "/txn-failed.png",
|
|
@@ -354,7 +355,7 @@ function Y1(i, e, t) {
|
|
|
354
355
|
return n[73] = e[t], n;
|
|
355
356
|
}
|
|
356
357
|
function Le(i) {
|
|
357
|
-
let e, t, n =
|
|
358
|
+
let e, t, n = H1(
|
|
358
359
|
/*userAgent*/
|
|
359
360
|
i[25]
|
|
360
361
|
) && /*showverifications*/
|
|
@@ -387,10 +388,10 @@ function Le(i) {
|
|
|
387
388
|
p(u, g) {
|
|
388
389
|
/*copied*/
|
|
389
390
|
u[23] ? s ? (s.p(u, g), g[0] & /*copied*/
|
|
390
|
-
8388608 &&
|
|
391
|
+
8388608 && I1(s, 1)) : (s = K1(u), s.c(), I1(s, 1), s.m(e.parentNode, e)) : s && (ue(), pe(s, 1, 1, () => {
|
|
391
392
|
s = null;
|
|
392
|
-
}),
|
|
393
|
-
4194816 && (n =
|
|
393
|
+
}), de()), g[0] & /*showverifications, displayVerifications*/
|
|
394
|
+
4194816 && (n = H1(
|
|
394
395
|
/*userAgent*/
|
|
395
396
|
u[25]
|
|
396
397
|
) && /*showverifications*/
|
|
@@ -424,7 +425,7 @@ function K1(i) {
|
|
|
424
425
|
), n, a, s, o;
|
|
425
426
|
return {
|
|
426
427
|
c() {
|
|
427
|
-
e = C("div"), n =
|
|
428
|
+
e = C("div"), n = x(t), l(e, "class", "CopyTooltip");
|
|
428
429
|
},
|
|
429
430
|
m(p, d) {
|
|
430
431
|
w(p, e, d), c(e, n), o = !0;
|
|
@@ -435,12 +436,12 @@ function K1(i) {
|
|
|
435
436
|
p[24]("copyTransactionId") + "") && R(n, t);
|
|
436
437
|
},
|
|
437
438
|
i(p) {
|
|
438
|
-
o || (p &&
|
|
439
|
-
o && (s && s.end(1), a =
|
|
439
|
+
o || (p && me(() => {
|
|
440
|
+
o && (s && s.end(1), a = Ce(e, A1, { duration: 100 }), a.start());
|
|
440
441
|
}), o = !0);
|
|
441
442
|
},
|
|
442
443
|
o(p) {
|
|
443
|
-
a && a.invalidate(), p && (s =
|
|
444
|
+
a && a.invalidate(), p && (s = fe(e, A1, { duration: 1e3 })), o = !1;
|
|
444
445
|
},
|
|
445
446
|
d(p) {
|
|
446
447
|
p && h(e), p && s && s.end();
|
|
@@ -647,13 +648,13 @@ function We(i) {
|
|
|
647
648
|
), o1, f1, F, s1 = (
|
|
648
649
|
/*txnInfo*/
|
|
649
650
|
i[15].referenceId + ""
|
|
650
|
-
), m1, C1, Q, $,
|
|
651
|
+
), m1, C1, Q, $, M = (
|
|
651
652
|
/*$_*/
|
|
652
653
|
i[24]("payemntMethod") + ""
|
|
653
|
-
), y1,
|
|
654
|
+
), y1, M1, S, r1, v1, A, e1, t1 = (
|
|
654
655
|
/*$_*/
|
|
655
656
|
i[24]("paymentTime") + ""
|
|
656
|
-
), l1, c1, _1, u1 =
|
|
657
|
+
), l1, c1, _1, u1 = L1(
|
|
657
658
|
/*txnInfo*/
|
|
658
659
|
i[15].time
|
|
659
660
|
).format("MMM DD, YYYY, HH:mm:ss") + "", g1, n1, i1, h1, X, k1, p1, w1, T1;
|
|
@@ -692,24 +693,24 @@ function We(i) {
|
|
|
692
693
|
);
|
|
693
694
|
return {
|
|
694
695
|
c() {
|
|
695
|
-
e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p =
|
|
696
|
+
e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p = x(o), d = k(), f = C("span"), u = x(
|
|
696
697
|
/*amount*/
|
|
697
698
|
i[17]
|
|
698
|
-
), g = k(), y = C("div"), b = C("p"), P =
|
|
699
|
+
), g = k(), y = C("div"), b = C("p"), P = x(v), U = k(), Z = C("span"), E = x(V), a1 = k(), D = C("div"), H = C("p"), o1 = x(J), f1 = k(), F = C("span"), m1 = x(s1), C1 = k(), Q = C("div"), $ = C("p"), y1 = x(M), M1 = k(), S = C("span"), r1 = x(
|
|
699
700
|
/*paymentmethod*/
|
|
700
701
|
i[0]
|
|
701
|
-
), v1 = k(), A = C("div"), e1 = C("p"), l1 =
|
|
702
|
+
), v1 = k(), A = C("div"), e1 = C("p"), l1 = x(t1), c1 = k(), _1 = C("span"), g1 = x(u1), n1 = k(), i1 = C("div"), z && z.c(), h1 = k(), X = C("button"), K.c(), k1 = k(), j && j.c(), p1 = B1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", Y = `Status ${/*txnStatus*/
|
|
702
703
|
i[21]}`), l(F, "class", "TxnIdText"), l(D, "class", "TxnId"), l(Q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(i1, "class", "ReceiptButtonsWrapper"), l(X, "class", "DefaultButton");
|
|
703
704
|
},
|
|
704
705
|
m(m, _) {
|
|
705
|
-
w(m, e, _), I && I.m(e, null), w(m, t, _), w(m, n, _), c(n, a), c(a, s), c(s, p), c(a, d), c(a, f), c(f, u), c(n, g), c(n, y), c(y, b), c(b, P), c(y, U), c(y, Z), c(Z, E), c(n, a1), c(n, D), c(D, H), c(H, o1), c(D, f1), c(D, F), c(F, m1), c(n, C1), c(n, Q), c(Q, $), c($, y1), c(Q,
|
|
706
|
-
|
|
706
|
+
w(m, e, _), I && I.m(e, null), w(m, t, _), w(m, n, _), c(n, a), c(a, s), c(s, p), c(a, d), c(a, f), c(f, u), c(n, g), c(n, y), c(y, b), c(b, P), c(y, U), c(y, Z), c(Z, E), c(n, a1), c(n, D), c(D, H), c(H, o1), c(D, f1), c(D, F), c(F, m1), c(n, C1), c(n, Q), c(Q, $), c($, y1), c(Q, M1), c(Q, S), c(S, r1), c(n, v1), c(n, A), c(A, e1), c(e1, l1), c(A, c1), c(A, _1), c(_1, g1), w(m, n1, _), w(m, i1, _), z && z.m(i1, null), w(m, h1, _), w(m, X, _), K.m(X, null), w(m, k1, _), j && j.m(m, _), w(m, p1, _), w1 || (T1 = [
|
|
707
|
+
x1(
|
|
707
708
|
F,
|
|
708
709
|
"click",
|
|
709
710
|
/*click_handler*/
|
|
710
711
|
i[45]
|
|
711
712
|
),
|
|
712
|
-
|
|
713
|
+
x1(
|
|
713
714
|
X,
|
|
714
715
|
"click",
|
|
715
716
|
/*closeReceipt*/
|
|
@@ -737,8 +738,8 @@ function We(i) {
|
|
|
737
738
|
m[24]("transactionId") + "") && R(o1, J), _[0] & /*txnInfo*/
|
|
738
739
|
32768 && s1 !== (s1 = /*txnInfo*/
|
|
739
740
|
m[15].referenceId + "") && R(m1, s1), _[0] & /*$_*/
|
|
740
|
-
16777216 &&
|
|
741
|
-
m[24]("payemntMethod") + "") && R(y1,
|
|
741
|
+
16777216 && M !== (M = /*$_*/
|
|
742
|
+
m[24]("payemntMethod") + "") && R(y1, M), _[0] & /*paymentmethod*/
|
|
742
743
|
1 && R(
|
|
743
744
|
r1,
|
|
744
745
|
/*paymentmethod*/
|
|
@@ -746,7 +747,7 @@ function We(i) {
|
|
|
746
747
|
), _[0] & /*$_*/
|
|
747
748
|
16777216 && t1 !== (t1 = /*$_*/
|
|
748
749
|
m[24]("paymentTime") + "") && R(l1, t1), _[0] & /*txnInfo*/
|
|
749
|
-
32768 && u1 !== (u1 =
|
|
750
|
+
32768 && u1 !== (u1 = L1(
|
|
750
751
|
/*txnInfo*/
|
|
751
752
|
m[15].time
|
|
752
753
|
).format("MMM DD, YYYY, HH:mm:ss") + "") && R(g1, u1), /*displayedButtons*/
|
|
@@ -754,7 +755,7 @@ function We(i) {
|
|
|
754
755
|
m[16].length ? j ? j.p(m, _) : (j = q1(m), j.c(), j.m(p1.parentNode, p1)) : j && (j.d(1), j = null);
|
|
755
756
|
},
|
|
756
757
|
d(m) {
|
|
757
|
-
m && (h(e), h(t), h(n), h(n1), h(i1), h(h1), h(X), h(k1), h(p1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), w1 = !1,
|
|
758
|
+
m && (h(e), h(t), h(n), h(n1), h(i1), h(h1), h(X), h(k1), h(p1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), w1 = !1, ge(T1);
|
|
758
759
|
}
|
|
759
760
|
};
|
|
760
761
|
}
|
|
@@ -768,7 +769,7 @@ function F1(i) {
|
|
|
768
769
|
), f;
|
|
769
770
|
return {
|
|
770
771
|
c() {
|
|
771
|
-
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s =
|
|
772
|
+
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s = x(a), o = k(), p = C("span"), f = x(d), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(p, "slot", "text"), l(p, "class", "CashierErrorText");
|
|
772
773
|
},
|
|
773
774
|
m(u, g) {
|
|
774
775
|
w(u, e, g), w(u, t, g), w(u, n, g), c(n, s), w(u, o, g), w(u, p, g), c(p, f);
|
|
@@ -797,7 +798,7 @@ function He(i) {
|
|
|
797
798
|
), b;
|
|
798
799
|
return {
|
|
799
800
|
c() {
|
|
800
|
-
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = k(), o = C("div"), p = C("h3"), f =
|
|
801
|
+
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = k(), o = C("div"), p = C("h3"), f = x(d), u = k(), g = C("p"), b = x(y), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
|
|
801
802
|
},
|
|
802
803
|
m(v, P) {
|
|
803
804
|
w(v, e, P), c(e, t), c(e, n), c(e, a), w(v, s, P), w(v, o, P), c(o, p), c(p, f), c(o, u), c(o, g), c(g, b);
|
|
@@ -831,10 +832,10 @@ function Ie(i) {
|
|
|
831
832
|
), E, Y, a1;
|
|
832
833
|
return {
|
|
833
834
|
c() {
|
|
834
|
-
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), p = k(), d = C("div"), f = C("h3"), g =
|
|
835
|
+
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), p = k(), d = C("div"), f = C("h3"), g = x(u), y = k(), b = C("p"), P = x(v), U = k(), Z = C("button"), E = x(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(d, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
|
|
835
836
|
},
|
|
836
837
|
m(D, H) {
|
|
837
|
-
w(D, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(D, p, H), w(D, d, H), c(d, f), c(f, g), c(d, y), c(d, b), c(b, P), w(D, U, H), w(D, Z, H), c(Z, E), Y || (a1 =
|
|
838
|
+
w(D, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(D, p, H), w(D, d, H), c(d, f), c(f, g), c(d, y), c(d, b), c(b, P), w(D, U, H), w(D, Z, H), c(Z, E), Y || (a1 = x1(
|
|
838
839
|
Z,
|
|
839
840
|
"click",
|
|
840
841
|
/*getPaymentInfo*/
|
|
@@ -869,7 +870,7 @@ function ze(i) {
|
|
|
869
870
|
), y;
|
|
870
871
|
return {
|
|
871
872
|
c() {
|
|
872
|
-
e = N("svg"), t = N("circle"), n = N("path"), a = k(), s = C("div"), o = C("h3"), d =
|
|
873
|
+
e = N("svg"), t = N("circle"), n = N("path"), a = k(), s = C("div"), o = C("h3"), d = x(p), f = k(), u = C("p"), y = x(g), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
|
|
873
874
|
},
|
|
874
875
|
m(b, v) {
|
|
875
876
|
w(b, e, v), c(e, t), c(e, n), w(b, a, v), w(b, s, v), c(s, o), c(o, d), c(s, f), c(s, u), c(u, y);
|
|
@@ -889,7 +890,7 @@ function ze(i) {
|
|
|
889
890
|
};
|
|
890
891
|
}
|
|
891
892
|
function O1(i) {
|
|
892
|
-
let e, t =
|
|
893
|
+
let e, t = D1(
|
|
893
894
|
/*displayedButtons*/
|
|
894
895
|
i[12]
|
|
895
896
|
), n = [];
|
|
@@ -909,7 +910,7 @@ function O1(i) {
|
|
|
909
910
|
p(a, s) {
|
|
910
911
|
if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
911
912
|
285216768) {
|
|
912
|
-
t =
|
|
913
|
+
t = D1(
|
|
913
914
|
/*displayedButtons*/
|
|
914
915
|
a[12]
|
|
915
916
|
);
|
|
@@ -946,11 +947,11 @@ function G1(i) {
|
|
|
946
947
|
}
|
|
947
948
|
return {
|
|
948
949
|
c() {
|
|
949
|
-
e = C("button"), t = C("div"), a = k(), o =
|
|
950
|
+
e = C("button"), t = C("div"), a = k(), o = x(s), p = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", d = `${/*btn*/
|
|
950
951
|
i[73].type} GoToButton`);
|
|
951
952
|
},
|
|
952
953
|
m(y, b) {
|
|
953
|
-
w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u =
|
|
954
|
+
w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u = x1(e, "click", g), f = !0);
|
|
954
955
|
},
|
|
955
956
|
p(y, b) {
|
|
956
957
|
i = y, b[0] & /*displayedButtons*/
|
|
@@ -974,7 +975,7 @@ function Ae(i) {
|
|
|
974
975
|
), t;
|
|
975
976
|
return {
|
|
976
977
|
c() {
|
|
977
|
-
t =
|
|
978
|
+
t = x(e);
|
|
978
979
|
},
|
|
979
980
|
m(n, a) {
|
|
980
981
|
w(n, t, a);
|
|
@@ -997,7 +998,7 @@ function je(i) {
|
|
|
997
998
|
), t;
|
|
998
999
|
return {
|
|
999
1000
|
c() {
|
|
1000
|
-
t =
|
|
1001
|
+
t = x(e);
|
|
1001
1002
|
},
|
|
1002
1003
|
m(n, a) {
|
|
1003
1004
|
w(n, t, a);
|
|
@@ -1014,7 +1015,7 @@ function je(i) {
|
|
|
1014
1015
|
};
|
|
1015
1016
|
}
|
|
1016
1017
|
function q1(i) {
|
|
1017
|
-
let e, t =
|
|
1018
|
+
let e, t = D1(
|
|
1018
1019
|
/*receiptFields*/
|
|
1019
1020
|
i[16]
|
|
1020
1021
|
), n = [];
|
|
@@ -1034,7 +1035,7 @@ function q1(i) {
|
|
|
1034
1035
|
p(a, s) {
|
|
1035
1036
|
if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1036
1037
|
537214976) {
|
|
1037
|
-
t =
|
|
1038
|
+
t = D1(
|
|
1038
1039
|
/*receiptFields*/
|
|
1039
1040
|
a[16]
|
|
1040
1041
|
);
|
|
@@ -1060,7 +1061,7 @@ function Ze(i) {
|
|
|
1060
1061
|
), n;
|
|
1061
1062
|
return {
|
|
1062
1063
|
c() {
|
|
1063
|
-
e = C("span"), n =
|
|
1064
|
+
e = C("span"), n = x(t), l(e, "class", "Label");
|
|
1064
1065
|
},
|
|
1065
1066
|
m(a, s) {
|
|
1066
1067
|
w(a, e, s), c(e, n);
|
|
@@ -1088,7 +1089,7 @@ function Ee(i) {
|
|
|
1088
1089
|
), p, d;
|
|
1089
1090
|
return {
|
|
1090
1091
|
c() {
|
|
1091
|
-
e = C("span"), n =
|
|
1092
|
+
e = C("span"), n = x(t), a = k(), s = C("a"), p = x(o), l(s, "href", d = /*field*/
|
|
1092
1093
|
i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
|
|
1093
1094
|
},
|
|
1094
1095
|
m(f, u) {
|
|
@@ -1112,7 +1113,7 @@ function Ne(i) {
|
|
|
1112
1113
|
let e, t, n;
|
|
1113
1114
|
return {
|
|
1114
1115
|
c() {
|
|
1115
|
-
e = C("img"),
|
|
1116
|
+
e = C("img"), z1(e.src, t = /*field*/
|
|
1116
1117
|
i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1117
1118
|
i[70].description), l(e, "alt", "");
|
|
1118
1119
|
},
|
|
@@ -1121,7 +1122,7 @@ function Ne(i) {
|
|
|
1121
1122
|
},
|
|
1122
1123
|
p(a, s) {
|
|
1123
1124
|
s[0] & /*receiptFields*/
|
|
1124
|
-
65536 && !
|
|
1125
|
+
65536 && !z1(e.src, t = /*field*/
|
|
1125
1126
|
a[70].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
|
|
1126
1127
|
65536 && n !== (n = /*field*/
|
|
1127
1128
|
a[70].description) && l(e, "title", n);
|
|
@@ -1169,10 +1170,10 @@ function Ke(i) {
|
|
|
1169
1170
|
}
|
|
1170
1171
|
return {
|
|
1171
1172
|
c() {
|
|
1172
|
-
e = C("div"), t = C("div"), a =
|
|
1173
|
+
e = C("div"), t = C("div"), a = x(n), l(e, "class", "QRCode");
|
|
1173
1174
|
},
|
|
1174
1175
|
m(d, f) {
|
|
1175
|
-
w(d, e, f), c(e, t), c(t, a), i[47](t), s || (o =
|
|
1176
|
+
w(d, e, f), c(e, t), c(t, a), i[47](t), s || (o = x1(e, "click", p), s = !0);
|
|
1176
1177
|
},
|
|
1177
1178
|
p(d, f) {
|
|
1178
1179
|
i = d, f[0] & /*receiptFields*/
|
|
@@ -1254,38 +1255,38 @@ function Ue(i) {
|
|
|
1254
1255
|
let Fe = "_blank";
|
|
1255
1256
|
function Oe(i, e, t) {
|
|
1256
1257
|
let n;
|
|
1257
|
-
se(i,
|
|
1258
|
+
se(i, ve, (r) => t(24, n = r)), L1.extend(_e);
|
|
1258
1259
|
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: p = "en-US" } = e, { showerrors: d = "true" } = e, { translationurl: f } = e, { assetsurl: u = "" } = e, { customerid: g } = e, { transactionid: y } = e, { currencydecimals: b = "0" } = e, { type: v } = e, { clientstyling: P = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, Y = !1, a1, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: J = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: F = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], Q = [];
|
|
1259
1260
|
var $;
|
|
1260
1261
|
(function(r) {
|
|
1261
1262
|
r.Success = "Success", r.Maintenance = "Maintenance";
|
|
1262
1263
|
})($ || ($ = {}));
|
|
1263
|
-
var
|
|
1264
|
+
var M;
|
|
1264
1265
|
(function(r) {
|
|
1265
1266
|
r.Unknown = "Unknown", r.Text = "Text", r.Boolean = "Boolean", r.Number = "Number", r.Money = "Money", r.DateTime = "DateTime", r.Lookup = "Lookup", r.IpAddress = "IpAddress", r.Date = "Date", r.Time = "Time", r.LookupCollection = "LookupCollection", r.Hidden = "Hidden", r.Label = "Label", r.Password = "Password", r.Link = "Link", r.Image = "Image", r.Html = "Html", r.QRCode = "QR";
|
|
1266
|
-
})(
|
|
1267
|
+
})(M || (M = {}));
|
|
1267
1268
|
const y1 = (r, [W, O]) => [
|
|
1268
1269
|
...r,
|
|
1269
1270
|
...Array.isArray(W) ? [...W.map((B) => [B, O])] : [[W, O]]
|
|
1270
|
-
],
|
|
1271
|
-
[["Unknown", 0],
|
|
1272
|
-
[["Text", 1],
|
|
1273
|
-
[["Boolean", 2],
|
|
1274
|
-
[["Number", 3],
|
|
1275
|
-
[["Money", 4],
|
|
1276
|
-
[["DateTime", 5],
|
|
1277
|
-
[["Lookup", 6],
|
|
1278
|
-
[["IpAddress", 7],
|
|
1279
|
-
[["Date", 8],
|
|
1280
|
-
[["Time", 9],
|
|
1281
|
-
[["LookupCollection", 10],
|
|
1282
|
-
[["Hidden", 11],
|
|
1283
|
-
[["Label", 12],
|
|
1284
|
-
[["Password", 13],
|
|
1285
|
-
[["Link", 14],
|
|
1286
|
-
[["Image", 15],
|
|
1287
|
-
[["Html", 19],
|
|
1288
|
-
[["QR", 20],
|
|
1271
|
+
], M1 = new Map([
|
|
1272
|
+
[["Unknown", 0], M.Unknown],
|
|
1273
|
+
[["Text", 1], M.Text],
|
|
1274
|
+
[["Boolean", 2], M.Boolean],
|
|
1275
|
+
[["Number", 3], M.Number],
|
|
1276
|
+
[["Money", 4], M.Money],
|
|
1277
|
+
[["DateTime", 5], M.DateTime],
|
|
1278
|
+
[["Lookup", 6], M.Lookup],
|
|
1279
|
+
[["IpAddress", 7], M.IpAddress],
|
|
1280
|
+
[["Date", 8], M.Date],
|
|
1281
|
+
[["Time", 9], M.Time],
|
|
1282
|
+
[["LookupCollection", 10], M.LookupCollection],
|
|
1283
|
+
[["Hidden", 11], M.Hidden],
|
|
1284
|
+
[["Label", 12], M.Label],
|
|
1285
|
+
[["Password", 13], M.Password],
|
|
1286
|
+
[["Link", 14], M.Link],
|
|
1287
|
+
[["Image", 15], M.Image],
|
|
1288
|
+
[["Html", 19], M.Html],
|
|
1289
|
+
[["QR", 20], M.QRCode]
|
|
1289
1290
|
].reduce(y1, []));
|
|
1290
1291
|
let S, r1 = [], v1, A, e1 = [], t1, l1, c1 = "", _1 = window.navigator.userAgent, u1 = !1;
|
|
1291
1292
|
const g1 = {
|
|
@@ -1351,7 +1352,7 @@ function Oe(i, e, t) {
|
|
|
1351
1352
|
}, i1 = () => {
|
|
1352
1353
|
ke(o);
|
|
1353
1354
|
};
|
|
1354
|
-
|
|
1355
|
+
re(() => (window.addEventListener("message", h1, !1), le(p, o1, f1, b), () => {
|
|
1355
1356
|
window.removeEventListener("message", h1);
|
|
1356
1357
|
}));
|
|
1357
1358
|
const h1 = (r) => {
|
|
@@ -1386,7 +1387,7 @@ function Oe(i, e, t) {
|
|
|
1386
1387
|
);
|
|
1387
1388
|
}, w1 = () => {
|
|
1388
1389
|
const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), W = new Headers();
|
|
1389
|
-
W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp",
|
|
1390
|
+
W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", L1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
|
|
1390
1391
|
const O = {
|
|
1391
1392
|
method: "POST",
|
|
1392
1393
|
headers: W,
|
|
@@ -1406,13 +1407,13 @@ function Oe(i, e, t) {
|
|
|
1406
1407
|
currency: B.Transaction.Amounts[0]?.Currency,
|
|
1407
1408
|
time: B.Transaction.Status.Created
|
|
1408
1409
|
}), t(16, r1 = B.ReceiptInfo && B.ReceiptInfo.ReceiptFields ? B.ReceiptInfo.ReceiptFields.map((q) => ({
|
|
1409
|
-
type:
|
|
1410
|
+
type: M1.get(q.Type),
|
|
1410
1411
|
name: q.Name,
|
|
1411
1412
|
description: q.Description,
|
|
1412
1413
|
defaultValue: q.DefaultValue,
|
|
1413
1414
|
useCopyButton: q.UseCopyButton,
|
|
1414
1415
|
usePrintButton: q.UsePrintButton
|
|
1415
|
-
})) : []), B.ReceiptInfo && B.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Re(S.status, S.type), { values: { errorText: S.message } }), t(17, v1 =
|
|
1416
|
+
})) : []), B.ReceiptInfo && B.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Re(S.status, S.type), { values: { errorText: S.message } }), t(17, v1 = ce(Number(S.amount), S.currency)), S.status) {
|
|
1416
1417
|
case "Voided":
|
|
1417
1418
|
case "Success":
|
|
1418
1419
|
if (n1(D || "casino, livecasino, tournaments"), t(21, c1 = "success"), S.type === "Deposit") {
|
|
@@ -1429,7 +1430,7 @@ function Oe(i, e, t) {
|
|
|
1429
1430
|
window.location.href
|
|
1430
1431
|
);
|
|
1431
1432
|
}
|
|
1432
|
-
|
|
1433
|
+
j1(
|
|
1433
1434
|
S.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1434
1435
|
{
|
|
1435
1436
|
userID: g,
|
|
@@ -1450,7 +1451,7 @@ function Oe(i, e, t) {
|
|
|
1450
1451
|
case "Rejected":
|
|
1451
1452
|
case "Cancelled":
|
|
1452
1453
|
case "Failed":
|
|
1453
|
-
n1(J || "casino, livecasino, tournaments"), t(21, c1 = S.status.toLowerCase()),
|
|
1454
|
+
n1(J || "casino, livecasino, tournaments"), t(21, c1 = S.status.toLowerCase()), j1(
|
|
1454
1455
|
S.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1455
1456
|
{
|
|
1456
1457
|
userID: g,
|
|
@@ -1463,7 +1464,7 @@ function Oe(i, e, t) {
|
|
|
1463
1464
|
default:
|
|
1464
1465
|
n1("close");
|
|
1465
1466
|
}
|
|
1466
|
-
u ? Te(u, S.status) :
|
|
1467
|
+
u ? Te(u, S.status) : xe(S.status);
|
|
1467
1468
|
}).finally(() => t(11, Y = !1));
|
|
1468
1469
|
}, T1 = (r) => {
|
|
1469
1470
|
window.postMessage({ type: r }, window.location.href);
|
|
@@ -1496,7 +1497,7 @@ function Oe(i, e, t) {
|
|
|
1496
1497
|
F.length > 0 && (Q = F.split(","));
|
|
1497
1498
|
}, b1 = (r) => z(r), K = (r) => T1(r.event);
|
|
1498
1499
|
function j(r) {
|
|
1499
|
-
|
|
1500
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1500
1501
|
e1[e1.length] = r, t(18, e1);
|
|
1501
1502
|
});
|
|
1502
1503
|
}
|
|
@@ -1504,7 +1505,7 @@ function Oe(i, e, t) {
|
|
|
1504
1505
|
R1(r.description);
|
|
1505
1506
|
};
|
|
1506
1507
|
function _(r) {
|
|
1507
|
-
|
|
1508
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1508
1509
|
A = r, t(10, A);
|
|
1509
1510
|
});
|
|
1510
1511
|
}
|
|
@@ -1517,10 +1518,10 @@ function Oe(i, e, t) {
|
|
|
1517
1518
|
6 && a && s && g && y && d && w1(), i.$$.dirty[0] & /*lang*/
|
|
1518
1519
|
8 && o && i1(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1519
1520
|
24 && o && f && X(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1520
|
-
1152 && P && A &&
|
|
1521
|
-
1280 && U && A &&
|
|
1521
|
+
1152 && P && A && he(A, P), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1522
|
+
1280 && U && A && we(A, U), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1522
1523
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1523
|
-
32 && Z && A &&
|
|
1524
|
+
32 && Z && A && be(A, `${Z}.Style`, a1);
|
|
1524
1525
|
}, [
|
|
1525
1526
|
E,
|
|
1526
1527
|
a,
|
|
@@ -1536,7 +1537,7 @@ function Oe(i, e, t) {
|
|
|
1536
1537
|
Y,
|
|
1537
1538
|
C1,
|
|
1538
1539
|
$,
|
|
1539
|
-
|
|
1540
|
+
M,
|
|
1540
1541
|
S,
|
|
1541
1542
|
r1,
|
|
1542
1543
|
v1,
|
|
@@ -1757,7 +1758,7 @@ class Ge extends ne {
|
|
|
1757
1758
|
this.$$set({ p2p: e }), L();
|
|
1758
1759
|
}
|
|
1759
1760
|
}
|
|
1760
|
-
|
|
1761
|
+
ye(Ge, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, userroles: {}, windowsize: {}, p2p: {} }, [], [], !0);
|
|
1761
1762
|
export {
|
|
1762
1763
|
Ge as default
|
|
1763
1764
|
};
|