@everymatrix/cashier-page 1.93.82 → 1.93.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CashierCarousel-BSxG-xai.cjs +1 -0
- package/components/CashierCarousel-CaSLwSQZ.js +711 -0
- package/components/CashierCarousel-hhzygSIh.js +708 -0
- package/components/CashierError-8nBQ12Ro.cjs +1 -0
- package/components/{CashierError-Dl1PsAvl.js → CashierError-CUmyB5lN.js} +15 -14
- package/components/{CashierError-BtMqsFpr.js → CashierError-ChfgU3dy.js} +15 -14
- package/components/CashierHeader-Cxg2Bbwv.cjs +1 -0
- package/components/CashierHeader-CztzLdMZ.js +477 -0
- package/components/CashierHeader-LzICktCn.js +477 -0
- package/components/{CashierIframeRedirect-B_XLllRU.js → CashierIframeRedirect-Cmjb6V8k.js} +79 -94
- package/components/{CashierIframeRedirect-wYvtOAcP.js → CashierIframeRedirect-DPrxcEUI.js} +75 -90
- package/components/CashierIframeRedirect-DhxaD3C-.cjs +1 -0
- package/components/CashierMethodDetails-BtSiMmg9.cjs +85 -0
- package/components/{CashierMethodDetails-wGMBuOxy.js → CashierMethodDetails-DSPP4Q1p.js} +3188 -3495
- package/components/{CashierMethodDetails-DaD697V7.js → CashierMethodDetails-JcREkr2L.js} +3455 -3770
- package/components/{CashierMethodsList-B4UpzKsn.js → CashierMethodsList-0LyVXgQ0.js} +80 -88
- package/components/{CashierMethodsList-B_aSe6bW.js → CashierMethodsList-Cw44onHK.js} +89 -97
- package/components/CashierMethodsList-DDdnWCVs.cjs +1 -0
- package/components/{CashierModal-DmFWYYBv.js → CashierModal-BWJqiuUm.js} +35 -34
- package/components/CashierModal-CbW-aJRp.cjs +1 -0
- package/components/{CashierModal-Dbo2y6I0.js → CashierModal-Cx16xGm6.js} +53 -52
- package/components/{CashierNotifications-CCfHWtui.js → CashierNotifications-BNacIn3G.js} +27 -27
- package/components/{CashierNotifications-BF72AddE.js → CashierNotifications-CGPpJwPT.js} +29 -29
- package/components/CashierNotifications-COhg-R-t.cjs +1 -0
- package/components/CashierPage-BHPTJcjL.js +10233 -0
- package/components/CashierPage-CYk7P-lY.js +10286 -0
- package/components/CashierPage-DoQEkSE2.cjs +23 -0
- package/components/CashierReceiptPage-DQlDMGoG.cjs +29 -0
- package/components/{CashierReceiptPage-Dv62xfX7.js → CashierReceiptPage-DnxAMr9D.js} +56 -57
- package/components/{CashierReceiptPage-BrGb_Hvr.js → CashierReceiptPage-IKLG5tQV.js} +49 -50
- package/components/{CashierSessionExpirationModal-BGyMfsOA.js → CashierSessionExpirationModal-BubeLoKh.js} +58 -59
- package/components/{CashierSessionExpirationModal-93K5YDe6.js → CashierSessionExpirationModal-C_2xlICF.js} +58 -59
- package/components/CashierSessionExpirationModal-DmrmH2xx.cjs +2 -0
- package/components/{CashierSpinner-BJI9qezE.js → CashierSpinner-B_Ey78yx.js} +15 -14
- package/components/CashierSpinner-BlRqsMug.cjs +1 -0
- package/components/{CashierSpinner-DOUYOomg.js → CashierSpinner-CwcwkjeV.js} +19 -18
- package/components/{CashierStepUp-C3MjcoUT.js → CashierStepUp-CSBqoOrt.js} +7 -6
- package/components/CashierStepUp-DVXV10Vd.cjs +1 -0
- package/components/{CashierStepUp-NMJhP_y_.js → CashierStepUp-f4sFTU4l.js} +48 -47
- package/components/{CashierTransactionHistory-D-ILp63Z.js → CashierTransactionHistory-1SskkrpF.js} +53 -54
- package/components/{CashierTransactionHistory-CgTMpzNV.js → CashierTransactionHistory-BMYFeuL5.js} +53 -54
- package/components/CashierTransactionHistory-DlID7rkA.cjs +1 -0
- package/components/{CashierVerifications-G7kq70X5.js → CashierVerifications-BjpOrTTp.js} +148 -132
- package/components/{CashierVerifications-C0epXYG7.js → CashierVerifications-Dp5nS2oy.js} +155 -139
- package/components/CashierVerifications-truLPmcH.cjs +1 -0
- package/components/{TxnStatusIcon-DbrDCliI.js → TxnStatusIcon-BNxmTC8i.js} +12 -12
- package/components/TxnStatusIcon-CNarrbiO.cjs +1 -0
- package/components/{TxnStatusIcon-z17R4Qdy.js → TxnStatusIcon-DyCxSWXD.js} +1 -1
- package/components/{TxnTypeIcons-DA4xjdSc.js → TxnTypeIcons-D0Vb7S38.js} +1 -1
- package/components/TxnTypeIcons-DFWcjK5-.cjs +1 -0
- package/components/{TxnTypeIcons-_jm1frsR.js → TxnTypeIcons-Dtk3rc1Y.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B0fVKMjP.js +0 -5871
- package/components/CashierCarousel-BekweMPA.cjs +0 -23
- package/components/CashierCarousel-BtKQtzdv.js +0 -5833
- package/components/CashierError-Co7r_Zm9.cjs +0 -1
- package/components/CashierHeader-BPxfHV7O.js +0 -418
- package/components/CashierHeader-BfBH2bp5.js +0 -418
- package/components/CashierHeader-CCqfqjfy.cjs +0 -1
- package/components/CashierIframeRedirect-BjtL1epU.cjs +0 -1
- package/components/CashierMethodDetails-Ctclpkim.cjs +0 -85
- package/components/CashierMethodsList-DW2EatO7.cjs +0 -1
- package/components/CashierModal-D_cTbvqs.cjs +0 -1
- package/components/CashierNotifications-O-t5pi8m.cjs +0 -1
- package/components/CashierPage-B6cpE8nZ.js +0 -4753
- package/components/CashierPage-Bt3cVEtH.js +0 -4787
- package/components/CashierPage-BySSrDh5.cjs +0 -1
- package/components/CashierReceiptPage-tMafTG-d.cjs +0 -29
- package/components/CashierSessionExpirationModal-VHFllEY0.cjs +0 -2
- package/components/CashierSpinner-BNkBVuft.cjs +0 -1
- package/components/CashierStepUp-BFJ7us6S.cjs +0 -1
- package/components/CashierTransactionHistory-D0_sooBa.cjs +0 -1
- package/components/CashierVerifications-BnMMvMfo.cjs +0 -1
- package/components/TxnStatusIcon-BcQgw6kQ.cjs +0 -1
- package/components/TxnTypeIcons-keA0IcNM.cjs +0 -1
|
@@ -14,9 +14,8 @@ var Ne = (i, e, t) => new Promise((n, a) => {
|
|
|
14
14
|
}, u = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(r, o);
|
|
15
15
|
u((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as c1, i as u1, $ as p1, S as d1, b as m1, s as f1, f as I, c as g1,
|
|
18
|
-
import {
|
|
19
|
-
import { d as Be, u as B1, a as Ge } from "./CashierMethodDetails-wGMBuOxy.js";
|
|
17
|
+
import { a as c1, i as u1, $ as p1, S as d1, b as m1, s as f1, f as I, c as g1, y as de, e as h, k as b, m as g, o as l, p as C1, M as Ie, N as h1, q as b1, K as w1, I as v1, _ as Ke, x as Ue, C as Ye, g as Fe, a7 as y1, t as k1, a8 as T1, l as c, n as k, ac as _1, ab as Oe, H as x1, ad as S1, v as x, w as S, O as _, F as R1, z as Re, r as ze, D as Be, E as s1, Q as N, J as Ge, A as M1, B as D1 } from "./CashierPage-CYk7P-lY.js";
|
|
18
|
+
import { s as L1, a as I1, b as B1 } from "./CashierHeader-CztzLdMZ.js";
|
|
20
19
|
function qe(i, e) {
|
|
21
20
|
c1(i, e);
|
|
22
21
|
}
|
|
@@ -651,7 +650,7 @@ function $e(i, e, t) {
|
|
|
651
650
|
return n[73] = e[t], n;
|
|
652
651
|
}
|
|
653
652
|
function E1(i) {
|
|
654
|
-
let e, t, n =
|
|
653
|
+
let e, t, n = Ye(
|
|
655
654
|
/*userAgent*/
|
|
656
655
|
i[25]
|
|
657
656
|
) && /*showverifications*/
|
|
@@ -665,7 +664,7 @@ function E1(i) {
|
|
|
665
664
|
/*txnInfo*/
|
|
666
665
|
d[15]
|
|
667
666
|
)
|
|
668
|
-
return
|
|
667
|
+
return K1;
|
|
669
668
|
if (
|
|
670
669
|
/*errorResponseCode*/
|
|
671
670
|
d[19] && !/*showErrorOutsideReceiptPage*/
|
|
@@ -684,10 +683,10 @@ function E1(i) {
|
|
|
684
683
|
p(d, C) {
|
|
685
684
|
/*copied*/
|
|
686
685
|
d[23] ? r ? (r.p(d, C), C[0] & /*copied*/
|
|
687
|
-
8388608 &&
|
|
686
|
+
8388608 && Fe(r, 1)) : (r = e1(d), r.c(), Fe(r, 1), r.m(e.parentNode, e)) : r && (y1(), k1(r, 1, 1, () => {
|
|
688
687
|
r = null;
|
|
689
|
-
}),
|
|
690
|
-
4194816 && (n =
|
|
688
|
+
}), T1()), C[0] & /*showverifications, displayVerifications*/
|
|
689
|
+
4194816 && (n = Ye(
|
|
691
690
|
/*userAgent*/
|
|
692
691
|
d[25]
|
|
693
692
|
) && /*showverifications*/
|
|
@@ -732,12 +731,12 @@ function e1(i) {
|
|
|
732
731
|
u[24]("copyTransactionId") + "") && x(n, t);
|
|
733
732
|
},
|
|
734
733
|
i(u) {
|
|
735
|
-
o || (u &&
|
|
736
|
-
o && (r && r.end(1), a =
|
|
734
|
+
o || (u && x1(() => {
|
|
735
|
+
o && (r && r.end(1), a = S1(e, Oe, { duration: 100 }), a.start());
|
|
737
736
|
}), o = !0);
|
|
738
737
|
},
|
|
739
738
|
o(u) {
|
|
740
|
-
a && a.invalidate(), u && (r =
|
|
739
|
+
a && a.invalidate(), u && (r = _1(e, Oe, { duration: 1e3 })), o = !1;
|
|
741
740
|
},
|
|
742
741
|
d(u) {
|
|
743
742
|
u && h(e), u && r && r.end();
|
|
@@ -927,7 +926,7 @@ function N1(i) {
|
|
|
927
926
|
}
|
|
928
927
|
};
|
|
929
928
|
}
|
|
930
|
-
function
|
|
929
|
+
function K1(i) {
|
|
931
930
|
let e, t, n, a, r, o = (
|
|
932
931
|
/*$_*/
|
|
933
932
|
i[24]("amount") + ""
|
|
@@ -938,7 +937,7 @@ function U1(i) {
|
|
|
938
937
|
/*$_*/
|
|
939
938
|
i[24](`${/*txnStatus*/
|
|
940
939
|
i[21]}`) + ""
|
|
941
|
-
), V,
|
|
940
|
+
), V, K, ae, L, H, X = (
|
|
942
941
|
/*$_*/
|
|
943
942
|
i[24]("transactionId") + ""
|
|
944
943
|
), oe, me, F, re = (
|
|
@@ -950,7 +949,7 @@ function U1(i) {
|
|
|
950
949
|
), ye, Me, M, se, ke, A, $, ee = (
|
|
951
950
|
/*$_*/
|
|
952
951
|
i[24]("paymentTime") + ""
|
|
953
|
-
), le, ce, Te, ue =
|
|
952
|
+
), le, ce, Te, ue = Ie(
|
|
954
953
|
/*txnInfo*/
|
|
955
954
|
i[15].time
|
|
956
955
|
).format("MMM DD, YYYY, HH:mm:ss") + "", Ce, te, ne, he, Q, _e, pe, be, xe;
|
|
@@ -971,7 +970,7 @@ function U1(i) {
|
|
|
971
970
|
f[21] === "rejected" || /*txnStatus*/
|
|
972
971
|
f[21] === "canceled"
|
|
973
972
|
)
|
|
974
|
-
return
|
|
973
|
+
return U1;
|
|
975
974
|
}
|
|
976
975
|
let G = Se(i), P = G && G(i), W = (
|
|
977
976
|
/*displayedButtons*/
|
|
@@ -983,7 +982,7 @@ function U1(i) {
|
|
|
983
982
|
f[15].type ? G1 : O1
|
|
984
983
|
);
|
|
985
984
|
}
|
|
986
|
-
let we = De(i),
|
|
985
|
+
let we = De(i), U = we(i), j = (
|
|
987
986
|
/*receiptFields*/
|
|
988
987
|
i[16].length && o1(i)
|
|
989
988
|
);
|
|
@@ -995,11 +994,11 @@ function U1(i) {
|
|
|
995
994
|
), C = k(), T = g("div"), v = g("p"), B = S(w), Y = k(), Z = g("span"), V = S(E), ae = k(), L = g("div"), H = g("p"), oe = S(X), me = k(), F = g("span"), fe = S(re), ge = k(), q = g("div"), J = g("p"), ye = S(R), Me = k(), M = g("span"), se = S(
|
|
996
995
|
/*paymentmethod*/
|
|
997
996
|
i[0]
|
|
998
|
-
), ke = k(), A = g("div"), $ = g("p"), le = S(ee), ce = k(), Te = g("span"), Ce = S(ue), te = k(), ne = g("div"), W && W.c(), he = k(), Q = g("button"),
|
|
997
|
+
), ke = k(), A = g("div"), $ = g("p"), le = S(ee), ce = k(), Te = g("span"), Ce = S(ue), te = k(), ne = g("div"), W && W.c(), he = k(), Q = g("button"), U.c(), _e = k(), j && j.c(), pe = ze(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(T, "class", K = `Status ${/*txnStatus*/
|
|
999
998
|
i[21]}`), l(F, "class", "TxnIdText"), l(L, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(ne, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
|
|
1000
999
|
},
|
|
1001
1000
|
m(f, y) {
|
|
1002
|
-
b(f, e, y), P && P.m(e, null), b(f, t, y), b(f, n, y), c(n, a), c(a, r), c(r, u), c(a, p), c(a, m), c(m, d), c(n, C), c(n, T), c(T, v), c(v, B), c(T, Y), c(T, Z), c(Z, V), c(n, ae), c(n, L), c(L, H), c(H, oe), c(L, me), c(L, F), c(F, fe), c(n, ge), c(n, q), c(q, J), c(J, ye), c(q, Me), c(q, M), c(M, se), c(n, ke), c(n, A), c(A, $), c($, le), c(A, ce), c(A, Te), c(Te, Ce), b(f, te, y), b(f, ne, y), W && W.m(ne, null), b(f, he, y), b(f, Q, y),
|
|
1001
|
+
b(f, e, y), P && P.m(e, null), b(f, t, y), b(f, n, y), c(n, a), c(a, r), c(r, u), c(a, p), c(a, m), c(m, d), c(n, C), c(n, T), c(T, v), c(v, B), c(T, Y), c(T, Z), c(Z, V), c(n, ae), c(n, L), c(L, H), c(H, oe), c(L, me), c(L, F), c(F, fe), c(n, ge), c(n, q), c(q, J), c(J, ye), c(q, Me), c(q, M), c(M, se), c(n, ke), c(n, A), c(A, $), c($, le), c(A, ce), c(A, Te), c(Te, Ce), b(f, te, y), b(f, ne, y), W && W.m(ne, null), b(f, he, y), b(f, Q, y), U.m(Q, null), b(f, _e, y), j && j.m(f, y), b(f, pe, y), be || (xe = [
|
|
1003
1002
|
Re(
|
|
1004
1003
|
F,
|
|
1005
1004
|
"click",
|
|
@@ -1028,8 +1027,8 @@ function U1(i) {
|
|
|
1028
1027
|
18874368 && E !== (E = /*$_*/
|
|
1029
1028
|
f[24](`${/*txnStatus*/
|
|
1030
1029
|
f[21]}`) + "") && x(V, E), y[0] & /*txnStatus*/
|
|
1031
|
-
2097152 &&
|
|
1032
|
-
f[21]}`) && l(T, "class",
|
|
1030
|
+
2097152 && K !== (K = `Status ${/*txnStatus*/
|
|
1031
|
+
f[21]}`) && l(T, "class", K), y[0] & /*$_*/
|
|
1033
1032
|
16777216 && X !== (X = /*$_*/
|
|
1034
1033
|
f[24]("transactionId") + "") && x(oe, X), y[0] & /*txnInfo*/
|
|
1035
1034
|
32768 && re !== (re = /*txnInfo*/
|
|
@@ -1043,15 +1042,15 @@ function U1(i) {
|
|
|
1043
1042
|
), y[0] & /*$_*/
|
|
1044
1043
|
16777216 && ee !== (ee = /*$_*/
|
|
1045
1044
|
f[24]("paymentTime") + "") && x(le, ee), y[0] & /*txnInfo*/
|
|
1046
|
-
32768 && ue !== (ue =
|
|
1045
|
+
32768 && ue !== (ue = Ie(
|
|
1047
1046
|
/*txnInfo*/
|
|
1048
1047
|
f[15].time
|
|
1049
1048
|
).format("MMM DD, YYYY, HH:mm:ss") + "") && x(Ce, ue), /*displayedButtons*/
|
|
1050
|
-
f[12].length > 0 ? W ? W.p(f, y) : (W = i1(f), W.c(), W.m(ne, null)) : W && (W.d(1), W = null), we === (we = De(f)) &&
|
|
1049
|
+
f[12].length > 0 ? W ? W.p(f, y) : (W = i1(f), W.c(), W.m(ne, null)) : W && (W.d(1), W = null), we === (we = De(f)) && U ? U.p(f, y) : (U.d(1), U = we(f), U && (U.c(), U.m(Q, null))), /*receiptFields*/
|
|
1051
1050
|
f[16].length ? j ? j.p(f, y) : (j = o1(f), j.c(), j.m(pe.parentNode, pe)) : j && (j.d(1), j = null);
|
|
1052
1051
|
},
|
|
1053
1052
|
d(f) {
|
|
1054
|
-
f && (h(e), h(t), h(n), h(te), h(ne), h(he), h(Q), h(_e), h(pe)), P && P.d(), W && W.d(),
|
|
1053
|
+
f && (h(e), h(t), h(n), h(te), h(ne), h(he), h(Q), h(_e), h(pe)), P && P.d(), W && W.d(), U.d(), j && j.d(f), be = !1, R1(xe);
|
|
1055
1054
|
}
|
|
1056
1055
|
};
|
|
1057
1056
|
}
|
|
@@ -1082,7 +1081,7 @@ function n1(i) {
|
|
|
1082
1081
|
}
|
|
1083
1082
|
};
|
|
1084
1083
|
}
|
|
1085
|
-
function
|
|
1084
|
+
function U1(i) {
|
|
1086
1085
|
let e, t, n, a, r, o, u, p = (
|
|
1087
1086
|
/*$_*/
|
|
1088
1087
|
i[24](`${/*txnInfo*/
|
|
@@ -1125,18 +1124,18 @@ function Y1(i) {
|
|
|
1125
1124
|
), B, Y, Z, E = (
|
|
1126
1125
|
/*$_*/
|
|
1127
1126
|
i[24]("refreshButton") + ""
|
|
1128
|
-
), V,
|
|
1127
|
+
), V, K, ae;
|
|
1129
1128
|
return {
|
|
1130
1129
|
c() {
|
|
1131
1130
|
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), u = k(), p = g("div"), m = g("h3"), C = S(d), T = k(), v = g("p"), B = S(w), Y = k(), Z = g("button"), V = S(E), 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(r, "d", "M36 32V36L38 38"), l(r, "stroke", "black"), l(r, "stroke-width", "1.5"), l(r, "stroke-linecap", "round"), l(r, "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(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
|
|
1132
1131
|
},
|
|
1133
1132
|
m(L, H) {
|
|
1134
|
-
b(L, e, H), c(e, t), c(e, n), c(e, a), c(e, r), c(e, o), b(L, u, H), b(L, p, H), c(p, m), c(m, C), c(p, T), c(p, v), c(v, B), b(L, Y, H), b(L, Z, H), c(Z, V),
|
|
1133
|
+
b(L, e, H), c(e, t), c(e, n), c(e, a), c(e, r), c(e, o), b(L, u, H), b(L, p, H), c(p, m), c(m, C), c(p, T), c(p, v), c(v, B), b(L, Y, H), b(L, Z, H), c(Z, V), K || (ae = Re(
|
|
1135
1134
|
Z,
|
|
1136
1135
|
"click",
|
|
1137
1136
|
/*getPaymentInfo*/
|
|
1138
1137
|
i[27]
|
|
1139
|
-
),
|
|
1138
|
+
), K = !0);
|
|
1140
1139
|
},
|
|
1141
1140
|
p(L, H) {
|
|
1142
1141
|
H[0] & /*$_, txnInfo*/
|
|
@@ -1150,7 +1149,7 @@ function Y1(i) {
|
|
|
1150
1149
|
L[24]("refreshButton") + "") && x(V, E);
|
|
1151
1150
|
},
|
|
1152
1151
|
d(L) {
|
|
1153
|
-
L && (h(e), h(u), h(p), h(Y), h(Z)),
|
|
1152
|
+
L && (h(e), h(u), h(p), h(Y), h(Z)), K = !1, ae();
|
|
1154
1153
|
}
|
|
1155
1154
|
};
|
|
1156
1155
|
}
|
|
@@ -1186,7 +1185,7 @@ function F1(i) {
|
|
|
1186
1185
|
};
|
|
1187
1186
|
}
|
|
1188
1187
|
function i1(i) {
|
|
1189
|
-
let e, t =
|
|
1188
|
+
let e, t = Be(
|
|
1190
1189
|
/*displayedButtons*/
|
|
1191
1190
|
i[12]
|
|
1192
1191
|
), n = [];
|
|
@@ -1206,7 +1205,7 @@ function i1(i) {
|
|
|
1206
1205
|
p(a, r) {
|
|
1207
1206
|
if (r[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
1208
1207
|
285216768) {
|
|
1209
|
-
t =
|
|
1208
|
+
t = Be(
|
|
1210
1209
|
/*displayedButtons*/
|
|
1211
1210
|
a[12]
|
|
1212
1211
|
);
|
|
@@ -1313,7 +1312,7 @@ function G1(i) {
|
|
|
1313
1312
|
};
|
|
1314
1313
|
}
|
|
1315
1314
|
function o1(i) {
|
|
1316
|
-
let e, t =
|
|
1315
|
+
let e, t = Be(
|
|
1317
1316
|
/*receiptFields*/
|
|
1318
1317
|
i[16]
|
|
1319
1318
|
), n = [];
|
|
@@ -1333,7 +1332,7 @@ function o1(i) {
|
|
|
1333
1332
|
p(a, r) {
|
|
1334
1333
|
if (r[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1335
1334
|
537214976) {
|
|
1336
|
-
t =
|
|
1335
|
+
t = Be(
|
|
1337
1336
|
/*receiptFields*/
|
|
1338
1337
|
a[16]
|
|
1339
1338
|
);
|
|
@@ -1411,7 +1410,7 @@ function J1(i) {
|
|
|
1411
1410
|
let e, t, n;
|
|
1412
1411
|
return {
|
|
1413
1412
|
c() {
|
|
1414
|
-
e = g("img"),
|
|
1413
|
+
e = g("img"), Ge(e.src, t = /*field*/
|
|
1415
1414
|
i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1416
1415
|
i[70].description), l(e, "alt", "");
|
|
1417
1416
|
},
|
|
@@ -1420,7 +1419,7 @@ function J1(i) {
|
|
|
1420
1419
|
},
|
|
1421
1420
|
p(a, r) {
|
|
1422
1421
|
r[0] & /*receiptFields*/
|
|
1423
|
-
65536 && !
|
|
1422
|
+
65536 && !Ge(e.src, t = /*field*/
|
|
1424
1423
|
a[70].defaultValue) && l(e, "src", t), r[0] & /*receiptFields*/
|
|
1425
1424
|
65536 && n !== (n = /*field*/
|
|
1426
1425
|
a[70].description) && l(e, "title", n);
|
|
@@ -1553,8 +1552,8 @@ function tt(i) {
|
|
|
1553
1552
|
let nt = "_blank";
|
|
1554
1553
|
function it(i, e, t) {
|
|
1555
1554
|
let n;
|
|
1556
|
-
C1(i,
|
|
1557
|
-
let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: d = "" } = e, { customerid: C } = e, { transactionid: T } = e, { currencydecimals: v = "0" } = e, { type: w } = e, { clientstyling: B = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: E = "true" } = e, { paymentmethod: V = "" } = e,
|
|
1555
|
+
C1(i, D1, (s) => t(24, n = s)), Ie.extend(h1);
|
|
1556
|
+
let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: d = "" } = e, { customerid: C } = e, { transactionid: T } = e, { currencydecimals: v = "0" } = e, { type: w } = e, { clientstyling: B = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: E = "true" } = e, { paymentmethod: V = "" } = e, K = !1, ae, { customsucceessbuttons: L = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: oe = "" } = e, { currencyposition: me = "" } = e, { userroles: F = "" } = e, { windowsize: re } = e, { p2p: fe = "false" } = e, ge = [], q = [];
|
|
1558
1557
|
var J;
|
|
1559
1558
|
(function(s) {
|
|
1560
1559
|
s.Success = "Success", s.Maintenance = "Maintenance";
|
|
@@ -1650,7 +1649,7 @@ function it(i, e, t) {
|
|
|
1650
1649
|
}, ne = () => {
|
|
1651
1650
|
z1(o);
|
|
1652
1651
|
};
|
|
1653
|
-
|
|
1652
|
+
b1(() => (window.addEventListener("message", he, !1), w1(u, oe, me, v), () => {
|
|
1654
1653
|
window.removeEventListener("message", he);
|
|
1655
1654
|
}));
|
|
1656
1655
|
const he = (s) => {
|
|
@@ -1686,13 +1685,13 @@ function it(i, e, t) {
|
|
|
1686
1685
|
);
|
|
1687
1686
|
}, be = () => {
|
|
1688
1687
|
const s = new URL(`${a}/v1/player/${C}/payment/GetPaymentInfo`), z = new Headers();
|
|
1689
|
-
z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-SessionId", `${r}`), z.append("X-Client-Request-Timestamp",
|
|
1688
|
+
z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-SessionId", `${r}`), z.append("X-Client-Request-Timestamp", Ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && z.append("MM_CHANNEL", "BETA");
|
|
1690
1689
|
const O = {
|
|
1691
1690
|
method: "POST",
|
|
1692
1691
|
headers: z,
|
|
1693
1692
|
body: JSON.stringify({ TransactionCode: T })
|
|
1694
1693
|
};
|
|
1695
|
-
t(11,
|
|
1694
|
+
t(11, K = !0), fetch(s, O).then((D) => D.json()).then((D) => {
|
|
1696
1695
|
var Le, He, Pe, We, Ae, je, Ze, Ee, Ve;
|
|
1697
1696
|
if (D.ResponseCode !== J.Success) {
|
|
1698
1697
|
t(19, ee = D.ResponseCode), t(20, le = p.toLowerCase() === "false" || !p), pe();
|
|
@@ -1713,7 +1712,7 @@ function it(i, e, t) {
|
|
|
1713
1712
|
defaultValue: ie.DefaultValue,
|
|
1714
1713
|
useCopyButton: ie.UseCopyButton,
|
|
1715
1714
|
usePrintButton: ie.UsePrintButton
|
|
1716
|
-
})) : []), D.ReceiptInfo && D.ReceiptInfo.ReceiptFields && !V && t(0, V = se[0].defaultValue), n(P1(M.status, M.type), { values: { errorText: M.message } }), t(17, ke =
|
|
1715
|
+
})) : []), D.ReceiptInfo && D.ReceiptInfo.ReceiptFields && !V && t(0, V = se[0].defaultValue), n(P1(M.status, M.type), { values: { errorText: M.message } }), t(17, ke = v1(Number(M.amount), M.currency)), M.status) {
|
|
1717
1716
|
case "Voided":
|
|
1718
1717
|
case "Success":
|
|
1719
1718
|
if (te(L || "casino, livecasino, tournaments"), t(21, ce = "success"), M.type === "Deposit") {
|
|
@@ -1730,7 +1729,7 @@ function it(i, e, t) {
|
|
|
1730
1729
|
window.location.href
|
|
1731
1730
|
);
|
|
1732
1731
|
}
|
|
1733
|
-
|
|
1732
|
+
Ke(
|
|
1734
1733
|
M.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1735
1734
|
{
|
|
1736
1735
|
userID: C,
|
|
@@ -1751,7 +1750,7 @@ function it(i, e, t) {
|
|
|
1751
1750
|
case "Rejected":
|
|
1752
1751
|
case "Cancelled":
|
|
1753
1752
|
case "Failed":
|
|
1754
|
-
te(X || "casino, livecasino, tournaments"), t(21, ce = M.status.toLowerCase()),
|
|
1753
|
+
te(X || "casino, livecasino, tournaments"), t(21, ce = M.status.toLowerCase()), Ke(
|
|
1755
1754
|
M.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1756
1755
|
{
|
|
1757
1756
|
userID: C,
|
|
@@ -1765,7 +1764,7 @@ function it(i, e, t) {
|
|
|
1765
1764
|
te("close");
|
|
1766
1765
|
}
|
|
1767
1766
|
d ? H1(d, M.status) : W1(M.status);
|
|
1768
|
-
}).finally(() => t(11,
|
|
1767
|
+
}).finally(() => t(11, K = !1));
|
|
1769
1768
|
}, xe = (s) => {
|
|
1770
1769
|
window.postMessage({ type: s }, window.location.href);
|
|
1771
1770
|
}, Se = (s) => {
|
|
@@ -1795,7 +1794,7 @@ function it(i, e, t) {
|
|
|
1795
1794
|
}
|
|
1796
1795
|
}), De = () => {
|
|
1797
1796
|
F.length > 0 && (q = F.split(","));
|
|
1798
|
-
}, we = (s) => W(s),
|
|
1797
|
+
}, we = (s) => W(s), U = (s) => xe(s.event);
|
|
1799
1798
|
function j(s) {
|
|
1800
1799
|
Ue[s ? "unshift" : "push"](() => {
|
|
1801
1800
|
$[$.length] = s, t(18, $);
|
|
@@ -1818,10 +1817,10 @@ function it(i, e, t) {
|
|
|
1818
1817
|
6 && a && r && C && T && p && be(), i.$$.dirty[0] & /*lang*/
|
|
1819
1818
|
8 && o && ne(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1820
1819
|
24 && o && m && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1821
|
-
1152 && B && A &&
|
|
1822
|
-
1280 && Y && A &&
|
|
1820
|
+
1152 && B && A && L1(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1821
|
+
1280 && Y && A && I1(A, Y), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1823
1822
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1824
|
-
32 && Z && A &&
|
|
1823
|
+
32 && Z && A && B1(A, `${Z}.Style`, ae);
|
|
1825
1824
|
}, [
|
|
1826
1825
|
V,
|
|
1827
1826
|
a,
|
|
@@ -1834,7 +1833,7 @@ function it(i, e, t) {
|
|
|
1834
1833
|
Y,
|
|
1835
1834
|
E,
|
|
1836
1835
|
A,
|
|
1837
|
-
|
|
1836
|
+
K,
|
|
1838
1837
|
ge,
|
|
1839
1838
|
J,
|
|
1840
1839
|
R,
|
|
@@ -1869,7 +1868,7 @@ function it(i, e, t) {
|
|
|
1869
1868
|
re,
|
|
1870
1869
|
fe,
|
|
1871
1870
|
we,
|
|
1872
|
-
|
|
1871
|
+
U,
|
|
1873
1872
|
j,
|
|
1874
1873
|
f,
|
|
1875
1874
|
y
|
|
@@ -2058,7 +2057,7 @@ class at extends d1 {
|
|
|
2058
2057
|
this.$$set({ p2p: e }), I();
|
|
2059
2058
|
}
|
|
2060
2059
|
}
|
|
2061
|
-
|
|
2060
|
+
M1(at, { 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);
|
|
2062
2061
|
export {
|
|
2063
2062
|
at as default
|
|
2064
2063
|
};
|