@everymatrix/cashier-method-details 1.99.47 → 1.99.49
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/{CashierError-CevHMlZD.js → CashierError-BXRkT4Kk.js} +1 -1
- package/components/{CashierError-gG_Up_CU.js → CashierError-C5pF7yR6.js} +1 -1
- package/components/{CashierError-MDY6mzP3.cjs → CashierError-O21zeB_u.cjs} +1 -1
- package/components/{CashierMethodDetails-CN54xd1T.cjs → CashierMethodDetails-DZrM5wld.cjs} +17 -17
- package/components/{CashierMethodDetails-BFx1A960.js → CashierMethodDetails-HslBSxAG.js} +2374 -2372
- package/components/{CashierMethodDetails-DM5blWzU.js → CashierMethodDetails-LiDQHqpw.js} +2074 -2072
- package/components/{CashierModal-CeAqormC.cjs → CashierModal-ClxoScDo.cjs} +1 -1
- package/components/{CashierModal-C7zisZ5V.js → CashierModal-CohlKt10.js} +1 -1
- package/components/{CashierModal-GIlQPa4f.js → CashierModal-DL-BQs4T.js} +1 -1
- package/components/{CashierNotifications-Cfco4-7L.js → CashierNotifications-Q_YmNcJI.js} +1 -1
- package/components/{CashierNotifications-BI-Uwbae.js → CashierNotifications-TO3IiCjq.js} +1 -1
- package/components/{CashierNotifications-Bzhp13gU.cjs → CashierNotifications-jhuGjx4C.cjs} +1 -1
- package/components/{CashierReceiptPage-CjDq21Bx.cjs → CashierReceiptPage-B3EFdzHg.cjs} +2 -2
- package/components/{CashierReceiptPage-BQLL0r7a.js → CashierReceiptPage-C-Dm0_kZ.js} +299 -296
- package/components/{CashierReceiptPage-BXmfn0zH.js → CashierReceiptPage-CRTDkCIK.js} +312 -309
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as
|
|
2
|
-
function je(i, { delay: e = 0, duration: t = 400, easing: n =
|
|
1
|
+
import { M as t1, o as n1, p as i1, $ as a1, S as o1, i as r1, s as s1, f as L, a as l1, n as pe, d as h, e as b, h as g, k as l, v as c1, N as ze, O as u1, w as d1, P as p1, Q as De, m as He, R as Pe, r as We, B as m1, q as f1, u as g1, g as c, j as _, T as C1, U as h1, V as b1, b as S, t as R, W as x, X as w1, l as Se, C as Ie, Y as Le, Z as Xe, _ as N, a0 as Ae, a1 as y1, G as T1, I as k1, J as v1, c as _1, K as x1 } from "./CashierMethodDetails-HslBSxAG.js";
|
|
2
|
+
function je(i, { delay: e = 0, duration: t = 400, easing: n = t1 } = {}) {
|
|
3
3
|
const a = +getComputedStyle(i).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: e,
|
|
@@ -9,12 +9,12 @@ function je(i, { delay: e = 0, duration: t = 400, easing: n = $e } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function Ze(i, e) {
|
|
12
|
-
|
|
12
|
+
n1(i, e);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
|
|
14
|
+
function S1(i) {
|
|
15
|
+
i1({
|
|
16
16
|
fallbackLocale: "en"
|
|
17
|
-
}),
|
|
17
|
+
}), a1.set(i);
|
|
18
18
|
}
|
|
19
19
|
const Ee = {
|
|
20
20
|
en: {
|
|
@@ -753,7 +753,7 @@ const Ee = {
|
|
|
753
753
|
uploadDocuments: "Sənədləri yüklə",
|
|
754
754
|
goToHomepage: "Əsas səhifəyə keç"
|
|
755
755
|
}
|
|
756
|
-
},
|
|
756
|
+
}, R1 = (i, e) => `${i + z1[e]}`, M1 = (i, e) => `${L1[e]}.${Je[i]}.text`, D1 = (i) => `${Je[`${i}`]}`, z1 = {
|
|
757
757
|
Success: "/txn-success.png",
|
|
758
758
|
Voided: "/txn-success.png",
|
|
759
759
|
Rejected: "/txn-failed.png",
|
|
@@ -765,7 +765,7 @@ const Ee = {
|
|
|
765
765
|
PendingApprovalStage2: "/txn-pending.png",
|
|
766
766
|
PendingApprovalStage3: "/txn-pending.png",
|
|
767
767
|
PendingOfflineNotification: "/txn-pending.png"
|
|
768
|
-
},
|
|
768
|
+
}, L1 = {
|
|
769
769
|
Deposit: "deposit",
|
|
770
770
|
Withdraw: "withdrawal"
|
|
771
771
|
}, Je = {
|
|
@@ -814,18 +814,18 @@ const Ee = {
|
|
|
814
814
|
</svg>
|
|
815
815
|
`
|
|
816
816
|
};
|
|
817
|
-
function
|
|
818
|
-
|
|
817
|
+
function I1(i) {
|
|
818
|
+
l1(i, "svelte-nkabfs", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}');
|
|
819
819
|
}
|
|
820
820
|
function Ne(i, e, t) {
|
|
821
821
|
const n = i.slice();
|
|
822
|
-
return n[
|
|
822
|
+
return n[72] = e[t], n[74] = t, n;
|
|
823
823
|
}
|
|
824
824
|
function Ke(i, e, t) {
|
|
825
825
|
const n = i.slice();
|
|
826
|
-
return n[
|
|
826
|
+
return n[75] = e[t], n;
|
|
827
827
|
}
|
|
828
|
-
function
|
|
828
|
+
function B1(i) {
|
|
829
829
|
let e, t, n = Pe(
|
|
830
830
|
/*userAgent*/
|
|
831
831
|
i[25]
|
|
@@ -840,18 +840,18 @@ function L1(i) {
|
|
|
840
840
|
/*txnInfo*/
|
|
841
841
|
u[15]
|
|
842
842
|
)
|
|
843
|
-
return
|
|
843
|
+
return W1;
|
|
844
844
|
if (
|
|
845
845
|
/*errorResponseCode*/
|
|
846
846
|
u[19] && !/*showErrorOutsideReceiptPage*/
|
|
847
847
|
u[20]
|
|
848
848
|
)
|
|
849
|
-
return
|
|
849
|
+
return P1;
|
|
850
850
|
}
|
|
851
851
|
let p = d(i), m = p && p(i);
|
|
852
852
|
return {
|
|
853
853
|
c() {
|
|
854
|
-
r && r.c(), e =
|
|
854
|
+
r && r.c(), e = _(), t = g("div"), o && o.c(), a = _(), m && m.c(), l(t, "class", "CashierReceiptPage");
|
|
855
855
|
},
|
|
856
856
|
m(u, C) {
|
|
857
857
|
r && r.m(u, C), b(u, e, C), b(u, t, C), o && o.m(t, null), c(t, a), m && m.m(t, null);
|
|
@@ -859,9 +859,9 @@ function L1(i) {
|
|
|
859
859
|
p(u, C) {
|
|
860
860
|
/*copied*/
|
|
861
861
|
u[23] ? r ? (r.p(u, C), C[0] & /*copied*/
|
|
862
|
-
8388608 && We(r, 1)) : (r = Ue(u), r.c(), We(r, 1), r.m(e.parentNode, e)) : r && (
|
|
862
|
+
8388608 && We(r, 1)) : (r = Ue(u), r.c(), We(r, 1), r.m(e.parentNode, e)) : r && (m1(), f1(r, 1, 1, () => {
|
|
863
863
|
r = null;
|
|
864
|
-
}),
|
|
864
|
+
}), g1()), C[0] & /*showverifications, displayVerifications*/
|
|
865
865
|
4194816 && (n = Pe(
|
|
866
866
|
/*userAgent*/
|
|
867
867
|
u[25]
|
|
@@ -874,11 +874,11 @@ function L1(i) {
|
|
|
874
874
|
}
|
|
875
875
|
};
|
|
876
876
|
}
|
|
877
|
-
function
|
|
877
|
+
function H1(i) {
|
|
878
878
|
let e;
|
|
879
879
|
return {
|
|
880
880
|
c() {
|
|
881
|
-
e =
|
|
881
|
+
e = g("div"), e.innerHTML = '<div class="Spinner"></div>', l(e, "class", "LoadingOverlay");
|
|
882
882
|
},
|
|
883
883
|
m(t, n) {
|
|
884
884
|
b(t, e, n);
|
|
@@ -896,7 +896,7 @@ function Ue(i) {
|
|
|
896
896
|
), n, a, r, o;
|
|
897
897
|
return {
|
|
898
898
|
c() {
|
|
899
|
-
e =
|
|
899
|
+
e = g("div"), n = R(t), l(e, "class", "CopyTooltip");
|
|
900
900
|
},
|
|
901
901
|
m(d, p) {
|
|
902
902
|
b(d, e, p), c(e, n), o = !0;
|
|
@@ -907,12 +907,12 @@ function Ue(i) {
|
|
|
907
907
|
d[24]("copyTransactionId") + "") && S(n, t);
|
|
908
908
|
},
|
|
909
909
|
i(d) {
|
|
910
|
-
o || (d &&
|
|
911
|
-
o && (r && r.end(1), a =
|
|
910
|
+
o || (d && h1(() => {
|
|
911
|
+
o && (r && r.end(1), a = b1(e, je, { duration: 100 }), a.start());
|
|
912
912
|
}), o = !0);
|
|
913
913
|
},
|
|
914
914
|
o(d) {
|
|
915
|
-
a && a.invalidate(), d && (r =
|
|
915
|
+
a && a.invalidate(), d && (r = C1(e, je, { duration: 1e3 })), o = !1;
|
|
916
916
|
},
|
|
917
917
|
d(d) {
|
|
918
918
|
d && h(e), d && r && r.end();
|
|
@@ -923,7 +923,7 @@ function Ye(i) {
|
|
|
923
923
|
let e;
|
|
924
924
|
return {
|
|
925
925
|
c() {
|
|
926
|
-
e =
|
|
926
|
+
e = g("cashier-verifications"), x(
|
|
927
927
|
e,
|
|
928
928
|
"lang",
|
|
929
929
|
/*lang*/
|
|
@@ -1013,7 +1013,7 @@ function Ye(i) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
};
|
|
1015
1015
|
}
|
|
1016
|
-
function
|
|
1016
|
+
function P1(i) {
|
|
1017
1017
|
let e, t = (
|
|
1018
1018
|
/*errorResponseCode*/
|
|
1019
1019
|
i[19] === /*ResponseCode*/
|
|
@@ -1021,7 +1021,7 @@ function B1(i) {
|
|
|
1021
1021
|
);
|
|
1022
1022
|
return {
|
|
1023
1023
|
c() {
|
|
1024
|
-
e =
|
|
1024
|
+
e = g("cashier-error"), t && t.c(), x(
|
|
1025
1025
|
e,
|
|
1026
1026
|
"assetsurl",
|
|
1027
1027
|
/*assetsurl*/
|
|
@@ -1102,7 +1102,7 @@ function B1(i) {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
};
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function W1(i) {
|
|
1106
1106
|
let e, t, n, a, r, o = (
|
|
1107
1107
|
/*$_*/
|
|
1108
1108
|
i[24]("amount") + ""
|
|
@@ -1113,68 +1113,68 @@ function H1(i) {
|
|
|
1113
1113
|
/*$_*/
|
|
1114
1114
|
i[24](`${/*txnStatus*/
|
|
1115
1115
|
i[21]}`) + ""
|
|
1116
|
-
), E, K,
|
|
1116
|
+
), E, K, ie, D, P, $ = (
|
|
1117
1117
|
/*$_*/
|
|
1118
1118
|
i[24]("transactionId") + ""
|
|
1119
|
-
),
|
|
1119
|
+
), ae, me, F, oe = (
|
|
1120
1120
|
/*txnInfo*/
|
|
1121
1121
|
i[15].referenceId + ""
|
|
1122
|
-
), ge,
|
|
1122
|
+
), fe, ge, X, ee, M = (
|
|
1123
1123
|
/*$_*/
|
|
1124
1124
|
i[24]("payemntMethod") + ""
|
|
1125
|
-
),
|
|
1125
|
+
), be, Re, v, re, we, A, te, ne = (
|
|
1126
1126
|
/*$_*/
|
|
1127
1127
|
i[24]("paymentTime") + ""
|
|
1128
|
-
),
|
|
1128
|
+
), se, le, ye, ce = ze(
|
|
1129
1129
|
/*txnInfo*/
|
|
1130
1130
|
i[15].time
|
|
1131
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "", Ce,
|
|
1132
|
-
function
|
|
1131
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "", Ce, he, O, Te, G, ke, ue, ve, Me;
|
|
1132
|
+
function _e(f, k) {
|
|
1133
1133
|
if (
|
|
1134
1134
|
/*txnStatus*/
|
|
1135
|
-
|
|
1135
|
+
f[21] === "success"
|
|
1136
1136
|
)
|
|
1137
|
-
return
|
|
1137
|
+
return Z1;
|
|
1138
1138
|
if (
|
|
1139
1139
|
/*txnStatus*/
|
|
1140
|
-
|
|
1140
|
+
f[21] === "pending"
|
|
1141
1141
|
)
|
|
1142
|
-
return
|
|
1142
|
+
return j1;
|
|
1143
1143
|
if (
|
|
1144
1144
|
/*txnStatus*/
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1145
|
+
f[21] === "failed" || /*txnStatus*/
|
|
1146
|
+
f[21] === "rejected" || /*txnStatus*/
|
|
1147
|
+
f[21] === "canceled"
|
|
1148
1148
|
)
|
|
1149
|
-
return
|
|
1149
|
+
return A1;
|
|
1150
1150
|
}
|
|
1151
|
-
let
|
|
1151
|
+
let J = _e(i), W = J && J(i), B = (
|
|
1152
1152
|
/*displayedButtons*/
|
|
1153
1153
|
i[12].length > 0 && Oe(i)
|
|
1154
1154
|
);
|
|
1155
|
-
function
|
|
1155
|
+
function xe(f, k) {
|
|
1156
1156
|
return (
|
|
1157
1157
|
/*txnInfo*/
|
|
1158
|
-
|
|
1158
|
+
f[15].type ? V1 : E1
|
|
1159
1159
|
);
|
|
1160
1160
|
}
|
|
1161
|
-
let
|
|
1161
|
+
let de = xe(i), U = de(i), j = (
|
|
1162
1162
|
/*receiptFields*/
|
|
1163
1163
|
i[16].length && Ge(i)
|
|
1164
1164
|
);
|
|
1165
1165
|
return {
|
|
1166
1166
|
c() {
|
|
1167
|
-
e =
|
|
1167
|
+
e = g("div"), W && W.c(), t = _(), n = g("div"), a = g("div"), r = g("p"), d = R(o), p = _(), m = g("span"), u = R(
|
|
1168
1168
|
/*amount*/
|
|
1169
1169
|
i[17]
|
|
1170
|
-
), C =
|
|
1170
|
+
), C = _(), y = g("div"), w = g("p"), I = R(T), Y = _(), Z = g("span"), E = R(V), ie = _(), D = g("div"), P = g("p"), ae = R($), me = _(), F = g("span"), fe = R(oe), ge = _(), X = g("div"), ee = g("p"), be = R(M), Re = _(), v = g("span"), re = R(
|
|
1171
1171
|
/*paymentmethod*/
|
|
1172
1172
|
i[0]
|
|
1173
|
-
),
|
|
1174
|
-
i[21]}`), l(F, "class", "TxnIdText"), l(D, "class", "TxnId"), l(
|
|
1173
|
+
), we = _(), A = g("div"), te = g("p"), se = R(ne), le = _(), ye = g("span"), Ce = R(ce), he = _(), O = g("div"), B && B.c(), Te = _(), G = g("button"), U.c(), ke = _(), j && j.c(), ue = Ie(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", K = `Status ${/*txnStatus*/
|
|
1174
|
+
i[21]}`), l(F, "class", "TxnIdText"), l(D, "class", "TxnId"), l(X, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(O, "class", "ReceiptButtonsWrapper"), l(G, "class", "DefaultButton");
|
|
1175
1175
|
},
|
|
1176
|
-
m(
|
|
1177
|
-
b(
|
|
1176
|
+
m(f, k) {
|
|
1177
|
+
b(f, e, k), W && W.m(e, null), b(f, t, k), b(f, n, k), c(n, a), c(a, r), c(r, d), c(a, p), c(a, m), c(m, u), c(n, C), c(n, y), c(y, w), c(w, I), c(y, Y), c(y, Z), c(Z, E), c(n, ie), c(n, D), c(D, P), c(P, ae), c(D, me), c(D, F), c(F, fe), c(n, ge), c(n, X), c(X, ee), c(ee, be), c(X, Re), c(X, v), c(v, re), c(n, we), c(n, A), c(A, te), c(te, se), c(A, le), c(A, ye), c(ye, Ce), b(f, he, k), b(f, O, k), B && B.m(O, null), b(f, Te, k), b(f, G, k), U.m(G, null), b(f, ke, k), j && j.m(f, k), b(f, ue, k), ve || (Me = [
|
|
1178
1178
|
Se(
|
|
1179
1179
|
F,
|
|
1180
1180
|
"click",
|
|
@@ -1182,51 +1182,51 @@ function H1(i) {
|
|
|
1182
1182
|
i[45]
|
|
1183
1183
|
),
|
|
1184
1184
|
Se(
|
|
1185
|
-
|
|
1185
|
+
G,
|
|
1186
1186
|
"click",
|
|
1187
1187
|
/*closeReceipt*/
|
|
1188
1188
|
i[26]
|
|
1189
1189
|
)
|
|
1190
|
-
],
|
|
1190
|
+
], ve = !0);
|
|
1191
1191
|
},
|
|
1192
|
-
p(
|
|
1193
|
-
|
|
1192
|
+
p(f, k) {
|
|
1193
|
+
J === (J = _e(f)) && W ? W.p(f, k) : (W && W.d(1), W = J && J(f), W && (W.c(), W.m(e, null))), k[0] & /*$_*/
|
|
1194
1194
|
16777216 && o !== (o = /*$_*/
|
|
1195
|
-
|
|
1195
|
+
f[24]("amount") + "") && S(d, o), k[0] & /*amount*/
|
|
1196
1196
|
131072 && S(
|
|
1197
1197
|
u,
|
|
1198
1198
|
/*amount*/
|
|
1199
|
-
|
|
1199
|
+
f[17]
|
|
1200
1200
|
), k[0] & /*$_*/
|
|
1201
1201
|
16777216 && T !== (T = /*$_*/
|
|
1202
|
-
|
|
1202
|
+
f[24]("status") + "") && S(I, T), k[0] & /*$_, txnStatus*/
|
|
1203
1203
|
18874368 && V !== (V = /*$_*/
|
|
1204
|
-
|
|
1205
|
-
|
|
1204
|
+
f[24](`${/*txnStatus*/
|
|
1205
|
+
f[21]}`) + "") && S(E, V), k[0] & /*txnStatus*/
|
|
1206
1206
|
2097152 && K !== (K = `Status ${/*txnStatus*/
|
|
1207
|
-
|
|
1208
|
-
16777216 &&
|
|
1209
|
-
|
|
1210
|
-
32768 &&
|
|
1211
|
-
|
|
1212
|
-
16777216 &&
|
|
1213
|
-
|
|
1207
|
+
f[21]}`) && l(y, "class", K), k[0] & /*$_*/
|
|
1208
|
+
16777216 && $ !== ($ = /*$_*/
|
|
1209
|
+
f[24]("transactionId") + "") && S(ae, $), k[0] & /*txnInfo*/
|
|
1210
|
+
32768 && oe !== (oe = /*txnInfo*/
|
|
1211
|
+
f[15].referenceId + "") && S(fe, oe), k[0] & /*$_*/
|
|
1212
|
+
16777216 && M !== (M = /*$_*/
|
|
1213
|
+
f[24]("payemntMethod") + "") && S(be, M), k[0] & /*paymentmethod*/
|
|
1214
1214
|
1 && S(
|
|
1215
|
-
|
|
1215
|
+
re,
|
|
1216
1216
|
/*paymentmethod*/
|
|
1217
|
-
|
|
1217
|
+
f[0]
|
|
1218
1218
|
), k[0] & /*$_*/
|
|
1219
|
-
16777216 &&
|
|
1220
|
-
|
|
1221
|
-
32768 &&
|
|
1219
|
+
16777216 && ne !== (ne = /*$_*/
|
|
1220
|
+
f[24]("paymentTime") + "") && S(se, ne), k[0] & /*txnInfo*/
|
|
1221
|
+
32768 && ce !== (ce = ze(
|
|
1222
1222
|
/*txnInfo*/
|
|
1223
|
-
|
|
1224
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "") && S(Ce,
|
|
1225
|
-
|
|
1226
|
-
|
|
1223
|
+
f[15].time
|
|
1224
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "") && S(Ce, ce), /*displayedButtons*/
|
|
1225
|
+
f[12].length > 0 ? B ? B.p(f, k) : (B = Oe(f), B.c(), B.m(O, null)) : B && (B.d(1), B = null), de === (de = xe(f)) && U ? U.p(f, k) : (U.d(1), U = de(f), U && (U.c(), U.m(G, null))), /*receiptFields*/
|
|
1226
|
+
f[16].length ? j ? j.p(f, k) : (j = Ge(f), j.c(), j.m(ue.parentNode, ue)) : j && (j.d(1), j = null);
|
|
1227
1227
|
},
|
|
1228
|
-
d(
|
|
1229
|
-
|
|
1228
|
+
d(f) {
|
|
1229
|
+
f && (h(e), h(t), h(n), h(he), h(O), h(Te), h(G), h(ke), h(ue)), W && W.d(), B && B.d(), U.d(), j && j.d(f), ve = !1, w1(Me);
|
|
1230
1230
|
}
|
|
1231
1231
|
};
|
|
1232
1232
|
}
|
|
@@ -1240,7 +1240,7 @@ function Fe(i) {
|
|
|
1240
1240
|
), m;
|
|
1241
1241
|
return {
|
|
1242
1242
|
c() {
|
|
1243
|
-
e =
|
|
1243
|
+
e = g("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = g("span"), r = R(a), o = _(), d = g("span"), m = R(p), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(d, "slot", "text"), l(d, "class", "CashierErrorText");
|
|
1244
1244
|
},
|
|
1245
1245
|
m(u, C) {
|
|
1246
1246
|
b(u, e, C), b(u, t, C), b(u, n, C), c(n, r), b(u, o, C), b(u, d, C), c(d, m);
|
|
@@ -1257,7 +1257,7 @@ function Fe(i) {
|
|
|
1257
1257
|
}
|
|
1258
1258
|
};
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function A1(i) {
|
|
1261
1261
|
let e, t, n, a, r, o, d, p = (
|
|
1262
1262
|
/*$_*/
|
|
1263
1263
|
i[24](`${/*txnInfo*/
|
|
@@ -1269,7 +1269,7 @@ function P1(i) {
|
|
|
1269
1269
|
), w;
|
|
1270
1270
|
return {
|
|
1271
1271
|
c() {
|
|
1272
|
-
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r =
|
|
1272
|
+
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = _(), o = g("div"), d = g("h3"), m = R(p), u = _(), C = g("p"), w = R(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");
|
|
1273
1273
|
},
|
|
1274
1274
|
m(T, I) {
|
|
1275
1275
|
b(T, e, I), c(e, t), c(e, n), c(e, a), b(T, r, I), b(T, o, I), c(o, d), c(d, m), c(o, u), c(o, C), c(C, w);
|
|
@@ -1288,7 +1288,7 @@ function P1(i) {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
};
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1291
|
+
function j1(i) {
|
|
1292
1292
|
let e, t, n, a, r, o, d, p, m, u = (
|
|
1293
1293
|
/*$_*/
|
|
1294
1294
|
i[24](`${/*txnInfo*/
|
|
@@ -1300,36 +1300,36 @@ function W1(i) {
|
|
|
1300
1300
|
), I, Y, Z, V = (
|
|
1301
1301
|
/*$_*/
|
|
1302
1302
|
i[24]("refreshButton") + ""
|
|
1303
|
-
), E, K,
|
|
1303
|
+
), E, K, ie;
|
|
1304
1304
|
return {
|
|
1305
1305
|
c() {
|
|
1306
|
-
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), d =
|
|
1306
|
+
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), d = _(), p = g("div"), m = g("h3"), C = R(u), y = _(), w = g("p"), I = R(T), Y = _(), Z = g("button"), E = R(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(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");
|
|
1307
1307
|
},
|
|
1308
|
-
m(D,
|
|
1309
|
-
b(D, e,
|
|
1308
|
+
m(D, P) {
|
|
1309
|
+
b(D, e, P), c(e, t), c(e, n), c(e, a), c(e, r), c(e, o), b(D, d, P), b(D, p, P), c(p, m), c(m, C), c(p, y), c(p, w), c(w, I), b(D, Y, P), b(D, Z, P), c(Z, E), K || (ie = Se(
|
|
1310
1310
|
Z,
|
|
1311
1311
|
"click",
|
|
1312
|
-
/*
|
|
1312
|
+
/*refreshTxnStatus*/
|
|
1313
1313
|
i[27]
|
|
1314
1314
|
), K = !0);
|
|
1315
1315
|
},
|
|
1316
|
-
p(D,
|
|
1317
|
-
|
|
1316
|
+
p(D, P) {
|
|
1317
|
+
P[0] & /*$_, txnInfo*/
|
|
1318
1318
|
16809984 && u !== (u = /*$_*/
|
|
1319
1319
|
D[24](`${/*txnInfo*/
|
|
1320
|
-
D[15].type.toLowerCase()}.pending.title`) + "") && S(C, u),
|
|
1320
|
+
D[15].type.toLowerCase()}.pending.title`) + "") && S(C, u), P[0] & /*$_, txnInfo*/
|
|
1321
1321
|
16809984 && T !== (T = /*$_*/
|
|
1322
1322
|
D[24](`${/*txnInfo*/
|
|
1323
|
-
D[15].type.toLowerCase()}.pending.text`) + "") && S(I, T),
|
|
1323
|
+
D[15].type.toLowerCase()}.pending.text`) + "") && S(I, T), P[0] & /*$_*/
|
|
1324
1324
|
16777216 && V !== (V = /*$_*/
|
|
1325
1325
|
D[24]("refreshButton") + "") && S(E, V);
|
|
1326
1326
|
},
|
|
1327
1327
|
d(D) {
|
|
1328
|
-
D && (h(e), h(d), h(p), h(Y), h(Z)), K = !1,
|
|
1328
|
+
D && (h(e), h(d), h(p), h(Y), h(Z)), K = !1, ie();
|
|
1329
1329
|
}
|
|
1330
1330
|
};
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1332
|
+
function Z1(i) {
|
|
1333
1333
|
let e, t, n, a, r, o, d = (
|
|
1334
1334
|
/*$_*/
|
|
1335
1335
|
i[24](`${/*txnInfo*/
|
|
@@ -1341,7 +1341,7 @@ function A1(i) {
|
|
|
1341
1341
|
), y;
|
|
1342
1342
|
return {
|
|
1343
1343
|
c() {
|
|
1344
|
-
e = N("svg"), t = N("circle"), n = N("path"), a =
|
|
1344
|
+
e = N("svg"), t = N("circle"), n = N("path"), a = _(), r = g("div"), o = g("h3"), p = R(d), m = _(), u = g("p"), y = R(C), 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(r, "class", "ReceiptStatusText");
|
|
1345
1345
|
},
|
|
1346
1346
|
m(w, T) {
|
|
1347
1347
|
b(w, e, T), c(e, t), c(e, n), b(w, a, T), b(w, r, T), c(r, o), c(o, p), c(r, m), c(r, u), c(u, y);
|
|
@@ -1361,7 +1361,7 @@ function A1(i) {
|
|
|
1361
1361
|
};
|
|
1362
1362
|
}
|
|
1363
1363
|
function Oe(i) {
|
|
1364
|
-
let e, t =
|
|
1364
|
+
let e, t = Le(
|
|
1365
1365
|
/*displayedButtons*/
|
|
1366
1366
|
i[12]
|
|
1367
1367
|
), n = [];
|
|
@@ -1381,7 +1381,7 @@ function Oe(i) {
|
|
|
1381
1381
|
p(a, r) {
|
|
1382
1382
|
if (r[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
1383
1383
|
285216768) {
|
|
1384
|
-
t =
|
|
1384
|
+
t = Le(
|
|
1385
1385
|
/*displayedButtons*/
|
|
1386
1386
|
a[12]
|
|
1387
1387
|
);
|
|
@@ -1402,24 +1402,24 @@ function Oe(i) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
function qe(i) {
|
|
1404
1404
|
let e, t, n = (Ve[`${/*btn*/
|
|
1405
|
-
i[
|
|
1405
|
+
i[75].type}`] ?? "") + "", a, r = (
|
|
1406
1406
|
/*$_*/
|
|
1407
1407
|
i[24](`${/*btn*/
|
|
1408
|
-
i[
|
|
1408
|
+
i[75].translationKey}`) + ""
|
|
1409
1409
|
), o, d, p, m, u;
|
|
1410
1410
|
function C() {
|
|
1411
1411
|
return (
|
|
1412
1412
|
/*click_handler_1*/
|
|
1413
1413
|
i[46](
|
|
1414
1414
|
/*btn*/
|
|
1415
|
-
i[
|
|
1415
|
+
i[75]
|
|
1416
1416
|
)
|
|
1417
1417
|
);
|
|
1418
1418
|
}
|
|
1419
1419
|
return {
|
|
1420
1420
|
c() {
|
|
1421
|
-
e =
|
|
1422
|
-
i[
|
|
1421
|
+
e = g("button"), t = g("div"), a = _(), o = R(r), d = _(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
|
|
1422
|
+
i[75].type} GoToButton`);
|
|
1423
1423
|
},
|
|
1424
1424
|
m(y, w) {
|
|
1425
1425
|
b(y, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, d), m || (u = Se(e, "click", C), m = !0);
|
|
@@ -1427,26 +1427,26 @@ function qe(i) {
|
|
|
1427
1427
|
p(y, w) {
|
|
1428
1428
|
i = y, w[0] & /*displayedButtons*/
|
|
1429
1429
|
4096 && n !== (n = (Ve[`${/*btn*/
|
|
1430
|
-
i[
|
|
1430
|
+
i[75].type}`] ?? "") + "") && (t.innerHTML = n), w[0] & /*$_, displayedButtons*/
|
|
1431
1431
|
16781312 && r !== (r = /*$_*/
|
|
1432
1432
|
i[24](`${/*btn*/
|
|
1433
|
-
i[
|
|
1433
|
+
i[75].translationKey}`) + "") && S(o, r), w[0] & /*displayedButtons*/
|
|
1434
1434
|
4096 && p !== (p = `${/*btn*/
|
|
1435
|
-
i[
|
|
1435
|
+
i[75].type} GoToButton`) && l(e, "class", p);
|
|
1436
1436
|
},
|
|
1437
1437
|
d(y) {
|
|
1438
1438
|
y && h(e), m = !1, u();
|
|
1439
1439
|
}
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function E1(i) {
|
|
1443
1443
|
let e = (
|
|
1444
1444
|
/*$_*/
|
|
1445
1445
|
i[24]("backHome") + ""
|
|
1446
1446
|
), t;
|
|
1447
1447
|
return {
|
|
1448
1448
|
c() {
|
|
1449
|
-
t =
|
|
1449
|
+
t = R(e);
|
|
1450
1450
|
},
|
|
1451
1451
|
m(n, a) {
|
|
1452
1452
|
b(n, t, a);
|
|
@@ -1461,7 +1461,7 @@ function j1(i) {
|
|
|
1461
1461
|
}
|
|
1462
1462
|
};
|
|
1463
1463
|
}
|
|
1464
|
-
function
|
|
1464
|
+
function V1(i) {
|
|
1465
1465
|
let e = (
|
|
1466
1466
|
/*$_*/
|
|
1467
1467
|
i[24](`back${/*txnInfo*/
|
|
@@ -1469,7 +1469,7 @@ function Z1(i) {
|
|
|
1469
1469
|
), t;
|
|
1470
1470
|
return {
|
|
1471
1471
|
c() {
|
|
1472
|
-
t =
|
|
1472
|
+
t = R(e);
|
|
1473
1473
|
},
|
|
1474
1474
|
m(n, a) {
|
|
1475
1475
|
b(n, t, a);
|
|
@@ -1486,7 +1486,7 @@ function Z1(i) {
|
|
|
1486
1486
|
};
|
|
1487
1487
|
}
|
|
1488
1488
|
function Ge(i) {
|
|
1489
|
-
let e, t =
|
|
1489
|
+
let e, t = Le(
|
|
1490
1490
|
/*receiptFields*/
|
|
1491
1491
|
i[16]
|
|
1492
1492
|
), n = [];
|
|
@@ -1506,7 +1506,7 @@ function Ge(i) {
|
|
|
1506
1506
|
p(a, r) {
|
|
1507
1507
|
if (r[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1508
1508
|
537214976) {
|
|
1509
|
-
t =
|
|
1509
|
+
t = Le(
|
|
1510
1510
|
/*receiptFields*/
|
|
1511
1511
|
a[16]
|
|
1512
1512
|
);
|
|
@@ -1525,14 +1525,14 @@ function Ge(i) {
|
|
|
1525
1525
|
}
|
|
1526
1526
|
};
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function N1(i) {
|
|
1529
1529
|
let e, t = (
|
|
1530
1530
|
/*field*/
|
|
1531
|
-
i[
|
|
1531
|
+
i[72].defaultValue + ""
|
|
1532
1532
|
), n;
|
|
1533
1533
|
return {
|
|
1534
1534
|
c() {
|
|
1535
|
-
e =
|
|
1535
|
+
e = g("span"), n = R(t), l(e, "class", "Label");
|
|
1536
1536
|
},
|
|
1537
1537
|
m(a, r) {
|
|
1538
1538
|
b(a, e, r), c(e, n);
|
|
@@ -1540,28 +1540,28 @@ function E1(i) {
|
|
|
1540
1540
|
p(a, r) {
|
|
1541
1541
|
r[0] & /*receiptFields*/
|
|
1542
1542
|
65536 && t !== (t = /*field*/
|
|
1543
|
-
a[
|
|
1543
|
+
a[72].defaultValue + "") && S(n, t);
|
|
1544
1544
|
},
|
|
1545
1545
|
d(a) {
|
|
1546
1546
|
a && h(e);
|
|
1547
1547
|
}
|
|
1548
1548
|
};
|
|
1549
1549
|
}
|
|
1550
|
-
function
|
|
1550
|
+
function K1(i) {
|
|
1551
1551
|
return { c: pe, m: pe, p: pe, d: pe };
|
|
1552
1552
|
}
|
|
1553
|
-
function
|
|
1553
|
+
function U1(i) {
|
|
1554
1554
|
let e, t = (
|
|
1555
1555
|
/*field*/
|
|
1556
|
-
i[
|
|
1556
|
+
i[72].description + ""
|
|
1557
1557
|
), n, a, r, o = (
|
|
1558
1558
|
/*field*/
|
|
1559
|
-
i[
|
|
1559
|
+
i[72].name + ""
|
|
1560
1560
|
), d, p;
|
|
1561
1561
|
return {
|
|
1562
1562
|
c() {
|
|
1563
|
-
e =
|
|
1564
|
-
i[
|
|
1563
|
+
e = g("span"), n = R(t), a = _(), r = g("a"), d = R(o), l(r, "href", p = /*field*/
|
|
1564
|
+
i[72].defaultValue), l(r, "target", "_blank"), l(r, "rel", "noopener noreferrer");
|
|
1565
1565
|
},
|
|
1566
1566
|
m(m, u) {
|
|
1567
1567
|
b(m, e, u), c(e, n), c(e, a), c(e, r), c(r, d);
|
|
@@ -1569,24 +1569,24 @@ function N1(i) {
|
|
|
1569
1569
|
p(m, u) {
|
|
1570
1570
|
u[0] & /*receiptFields*/
|
|
1571
1571
|
65536 && t !== (t = /*field*/
|
|
1572
|
-
m[
|
|
1572
|
+
m[72].description + "") && S(n, t), u[0] & /*receiptFields*/
|
|
1573
1573
|
65536 && o !== (o = /*field*/
|
|
1574
|
-
m[
|
|
1574
|
+
m[72].name + "") && S(d, o), u[0] & /*receiptFields*/
|
|
1575
1575
|
65536 && p !== (p = /*field*/
|
|
1576
|
-
m[
|
|
1576
|
+
m[72].defaultValue) && l(r, "href", p);
|
|
1577
1577
|
},
|
|
1578
1578
|
d(m) {
|
|
1579
1579
|
m && h(e);
|
|
1580
1580
|
}
|
|
1581
1581
|
};
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function Y1(i) {
|
|
1584
1584
|
let e, t, n;
|
|
1585
1585
|
return {
|
|
1586
1586
|
c() {
|
|
1587
|
-
e =
|
|
1588
|
-
i[
|
|
1589
|
-
i[
|
|
1587
|
+
e = g("img"), Ae(e.src, t = /*field*/
|
|
1588
|
+
i[72].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1589
|
+
i[72].description), l(e, "alt", "");
|
|
1590
1590
|
},
|
|
1591
1591
|
m(a, r) {
|
|
1592
1592
|
b(a, e, r);
|
|
@@ -1594,23 +1594,23 @@ function K1(i) {
|
|
|
1594
1594
|
p(a, r) {
|
|
1595
1595
|
r[0] & /*receiptFields*/
|
|
1596
1596
|
65536 && !Ae(e.src, t = /*field*/
|
|
1597
|
-
a[
|
|
1597
|
+
a[72].defaultValue) && l(e, "src", t), r[0] & /*receiptFields*/
|
|
1598
1598
|
65536 && n !== (n = /*field*/
|
|
1599
|
-
a[
|
|
1599
|
+
a[72].description) && l(e, "title", n);
|
|
1600
1600
|
},
|
|
1601
1601
|
d(a) {
|
|
1602
1602
|
a && h(e);
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function F1(i) {
|
|
1607
1607
|
let e, t = (
|
|
1608
1608
|
/*field*/
|
|
1609
|
-
i[
|
|
1609
|
+
i[72].defaultValue + ""
|
|
1610
1610
|
);
|
|
1611
1611
|
return {
|
|
1612
1612
|
c() {
|
|
1613
|
-
e =
|
|
1613
|
+
e = g("span");
|
|
1614
1614
|
},
|
|
1615
1615
|
m(n, a) {
|
|
1616
1616
|
b(n, e, a), e.innerHTML = t;
|
|
@@ -1618,30 +1618,30 @@ function U1(i) {
|
|
|
1618
1618
|
p(n, a) {
|
|
1619
1619
|
a[0] & /*receiptFields*/
|
|
1620
1620
|
65536 && t !== (t = /*field*/
|
|
1621
|
-
n[
|
|
1621
|
+
n[72].defaultValue + "") && (e.innerHTML = t);
|
|
1622
1622
|
},
|
|
1623
1623
|
d(n) {
|
|
1624
1624
|
n && h(e);
|
|
1625
1625
|
}
|
|
1626
1626
|
};
|
|
1627
1627
|
}
|
|
1628
|
-
function
|
|
1628
|
+
function O1(i) {
|
|
1629
1629
|
let e, t, n = (
|
|
1630
1630
|
/*field*/
|
|
1631
|
-
i[
|
|
1631
|
+
i[72].defaultValue + ""
|
|
1632
1632
|
), a, r, o;
|
|
1633
1633
|
function d() {
|
|
1634
1634
|
return (
|
|
1635
1635
|
/*click_handler_2*/
|
|
1636
1636
|
i[48](
|
|
1637
1637
|
/*field*/
|
|
1638
|
-
i[
|
|
1638
|
+
i[72]
|
|
1639
1639
|
)
|
|
1640
1640
|
);
|
|
1641
1641
|
}
|
|
1642
1642
|
return {
|
|
1643
1643
|
c() {
|
|
1644
|
-
e =
|
|
1644
|
+
e = g("div"), t = g("div"), a = R(n), l(e, "class", "QRCode");
|
|
1645
1645
|
},
|
|
1646
1646
|
m(p, m) {
|
|
1647
1647
|
b(p, e, m), c(e, t), c(t, a), i[47](t), r || (o = Se(e, "click", d), r = !0);
|
|
@@ -1649,7 +1649,7 @@ function Y1(i) {
|
|
|
1649
1649
|
p(p, m) {
|
|
1650
1650
|
i = p, m[0] & /*receiptFields*/
|
|
1651
1651
|
65536 && n !== (n = /*field*/
|
|
1652
|
-
i[
|
|
1652
|
+
i[72].defaultValue + "") && S(a, n);
|
|
1653
1653
|
},
|
|
1654
1654
|
d(p) {
|
|
1655
1655
|
p && h(e), i[47](null), r = !1, o();
|
|
@@ -1661,20 +1661,20 @@ function Qe(i) {
|
|
|
1661
1661
|
function n(o, d) {
|
|
1662
1662
|
return (
|
|
1663
1663
|
/*field*/
|
|
1664
|
-
o[
|
|
1665
|
-
o[14].QRCode ?
|
|
1664
|
+
o[72].type === /*FieldTypes*/
|
|
1665
|
+
o[14].QRCode ? O1 : (
|
|
1666
1666
|
/*field*/
|
|
1667
|
-
o[
|
|
1668
|
-
o[14].Html ?
|
|
1667
|
+
o[72].type === /*FieldTypes*/
|
|
1668
|
+
o[14].Html ? F1 : (
|
|
1669
1669
|
/*field*/
|
|
1670
|
-
o[
|
|
1671
|
-
o[14].Image ?
|
|
1670
|
+
o[72].type === /*FieldTypes*/
|
|
1671
|
+
o[14].Image ? Y1 : (
|
|
1672
1672
|
/*field*/
|
|
1673
|
-
o[
|
|
1674
|
-
o[14].Link ?
|
|
1673
|
+
o[72].type === /*FieldTypes*/
|
|
1674
|
+
o[14].Link ? U1 : (
|
|
1675
1675
|
/*field*/
|
|
1676
|
-
o[
|
|
1677
|
-
o[14].Hidden ?
|
|
1676
|
+
o[72].type === /*FieldTypes*/
|
|
1677
|
+
o[14].Hidden ? K1 : N1
|
|
1678
1678
|
)
|
|
1679
1679
|
)
|
|
1680
1680
|
)
|
|
@@ -1684,7 +1684,7 @@ function Qe(i) {
|
|
|
1684
1684
|
let a = n(i), r = a(i);
|
|
1685
1685
|
return {
|
|
1686
1686
|
c() {
|
|
1687
|
-
e =
|
|
1687
|
+
e = g("div"), r.c(), t = _(), l(e, "class", "ReceiptField");
|
|
1688
1688
|
},
|
|
1689
1689
|
m(o, d) {
|
|
1690
1690
|
b(o, e, d), r.m(e, null), c(e, t);
|
|
@@ -1697,18 +1697,18 @@ function Qe(i) {
|
|
|
1697
1697
|
}
|
|
1698
1698
|
};
|
|
1699
1699
|
}
|
|
1700
|
-
function
|
|
1700
|
+
function q1(i) {
|
|
1701
1701
|
let e;
|
|
1702
1702
|
function t(r, o) {
|
|
1703
1703
|
return (
|
|
1704
1704
|
/*isLoading*/
|
|
1705
|
-
r[11] ?
|
|
1705
|
+
r[11] ? H1 : B1
|
|
1706
1706
|
);
|
|
1707
1707
|
}
|
|
1708
1708
|
let n = t(i), a = n(i);
|
|
1709
1709
|
return {
|
|
1710
1710
|
c() {
|
|
1711
|
-
e =
|
|
1711
|
+
e = g("div"), a.c(), l(e, "class", "CashierReceiptPageWidget");
|
|
1712
1712
|
},
|
|
1713
1713
|
m(r, o) {
|
|
1714
1714
|
b(r, e, o), a.m(e, null), i[49](e);
|
|
@@ -1723,44 +1723,44 @@ function F1(i) {
|
|
|
1723
1723
|
}
|
|
1724
1724
|
};
|
|
1725
1725
|
}
|
|
1726
|
-
let
|
|
1727
|
-
function
|
|
1726
|
+
let G1 = "_blank";
|
|
1727
|
+
function Q1(i, e, t) {
|
|
1728
1728
|
let n;
|
|
1729
|
-
|
|
1730
|
-
let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: d = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: u = "" } = e, { customerid: C } = e, { transactionid: y } = e, { currencydecimals: w = "0" } = e, { type: T } = e, { clientstyling: I = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, K = !1,
|
|
1731
|
-
var
|
|
1729
|
+
c1(i, x1, (s) => t(24, n = s)), ze.extend(u1);
|
|
1730
|
+
let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: d = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: u = "" } = e, { customerid: C } = e, { transactionid: y } = e, { currencydecimals: w = "0" } = e, { type: T } = e, { clientstyling: I = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, K = !1, ie, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: P = "" } = e, { customfailedbuttons: $ = "" } = e, { currencysymbol: ae = "" } = e, { currencyposition: me = "" } = e, { userroles: F = "" } = e, { windowsize: oe } = e, { p2p: fe = "false" } = e, ge = [], X = [];
|
|
1731
|
+
var ee;
|
|
1732
1732
|
(function(s) {
|
|
1733
1733
|
s.Success = "Success", s.Maintenance = "Maintenance";
|
|
1734
|
-
})(
|
|
1735
|
-
var
|
|
1734
|
+
})(ee || (ee = {}));
|
|
1735
|
+
var M;
|
|
1736
1736
|
(function(s) {
|
|
1737
1737
|
s.Unknown = "Unknown", s.Text = "Text", s.Boolean = "Boolean", s.Number = "Number", s.Money = "Money", s.DateTime = "DateTime", s.Lookup = "Lookup", s.IpAddress = "IpAddress", s.Date = "Date", s.Time = "Time", s.LookupCollection = "LookupCollection", s.Hidden = "Hidden", s.Label = "Label", s.Password = "Password", s.Link = "Link", s.Image = "Image", s.Html = "Html", s.QRCode = "QR";
|
|
1738
|
-
})(
|
|
1739
|
-
const
|
|
1738
|
+
})(M || (M = {}));
|
|
1739
|
+
const be = (s, [H, q]) => [
|
|
1740
1740
|
...s,
|
|
1741
|
-
...Array.isArray(
|
|
1742
|
-
],
|
|
1743
|
-
[["Unknown", 0],
|
|
1744
|
-
[["Text", 1],
|
|
1745
|
-
[["Boolean", 2],
|
|
1746
|
-
[["Number", 3],
|
|
1747
|
-
[["Money", 4],
|
|
1748
|
-
[["DateTime", 5],
|
|
1749
|
-
[["Lookup", 6],
|
|
1750
|
-
[["IpAddress", 7],
|
|
1751
|
-
[["Date", 8],
|
|
1752
|
-
[["Time", 9],
|
|
1753
|
-
[["LookupCollection", 10],
|
|
1754
|
-
[["Hidden", 11],
|
|
1755
|
-
[["Label", 12],
|
|
1756
|
-
[["Password", 13],
|
|
1757
|
-
[["Link", 14],
|
|
1758
|
-
[["Image", 15],
|
|
1759
|
-
[["Html", 19],
|
|
1760
|
-
[["QR", 20],
|
|
1761
|
-
].reduce(
|
|
1762
|
-
let
|
|
1763
|
-
const
|
|
1741
|
+
...Array.isArray(H) ? [...H.map((z) => [z, q])] : [[H, q]]
|
|
1742
|
+
], Re = new Map([
|
|
1743
|
+
[["Unknown", 0], M.Unknown],
|
|
1744
|
+
[["Text", 1], M.Text],
|
|
1745
|
+
[["Boolean", 2], M.Boolean],
|
|
1746
|
+
[["Number", 3], M.Number],
|
|
1747
|
+
[["Money", 4], M.Money],
|
|
1748
|
+
[["DateTime", 5], M.DateTime],
|
|
1749
|
+
[["Lookup", 6], M.Lookup],
|
|
1750
|
+
[["IpAddress", 7], M.IpAddress],
|
|
1751
|
+
[["Date", 8], M.Date],
|
|
1752
|
+
[["Time", 9], M.Time],
|
|
1753
|
+
[["LookupCollection", 10], M.LookupCollection],
|
|
1754
|
+
[["Hidden", 11], M.Hidden],
|
|
1755
|
+
[["Label", 12], M.Label],
|
|
1756
|
+
[["Password", 13], M.Password],
|
|
1757
|
+
[["Link", 14], M.Link],
|
|
1758
|
+
[["Image", 15], M.Image],
|
|
1759
|
+
[["Html", 19], M.Html],
|
|
1760
|
+
[["QR", 20], M.QRCode]
|
|
1761
|
+
].reduce(be, []));
|
|
1762
|
+
let v, re = [], we, A, te = [], ne, se, le = "", ye = window.navigator.userAgent, ce = !1, Ce = !1;
|
|
1763
|
+
const he = {
|
|
1764
1764
|
promotions: {
|
|
1765
1765
|
event: "Cashier:goToPromotions",
|
|
1766
1766
|
translationKey: "goToPromotions",
|
|
@@ -1816,28 +1816,28 @@ function q1(i, e, t) {
|
|
|
1816
1816
|
translationKey: "close",
|
|
1817
1817
|
type: "CloseButton"
|
|
1818
1818
|
}
|
|
1819
|
-
},
|
|
1820
|
-
t(12,
|
|
1821
|
-
|
|
1819
|
+
}, O = (s) => {
|
|
1820
|
+
t(12, ge = []), s.split(",").forEach((q) => {
|
|
1821
|
+
he[q.trim()] && ge.push(he[q.trim()]);
|
|
1822
1822
|
});
|
|
1823
|
-
},
|
|
1824
|
-
|
|
1823
|
+
}, Te = () => {
|
|
1824
|
+
S1(o);
|
|
1825
1825
|
};
|
|
1826
|
-
|
|
1827
|
-
window.removeEventListener("message",
|
|
1826
|
+
d1(() => (window.addEventListener("message", G, !1), y1(d, ae, me, w), () => {
|
|
1827
|
+
window.removeEventListener("message", G);
|
|
1828
1828
|
}));
|
|
1829
|
-
const
|
|
1829
|
+
const G = (s) => {
|
|
1830
1830
|
switch (s.data.type) {
|
|
1831
1831
|
case "CloseReceiptInSecondTab":
|
|
1832
1832
|
window.opener?.postMessage(s.data);
|
|
1833
1833
|
break;
|
|
1834
1834
|
}
|
|
1835
|
-
},
|
|
1835
|
+
}, ke = () => {
|
|
1836
1836
|
let s = m;
|
|
1837
1837
|
if (s)
|
|
1838
|
-
return fetch(s).then((
|
|
1839
|
-
Object.keys(
|
|
1840
|
-
Ze(
|
|
1838
|
+
return fetch(s).then((H) => H.json()).then((H) => {
|
|
1839
|
+
Object.keys(H).forEach((q) => {
|
|
1840
|
+
Ze(q, H[q]);
|
|
1841
1841
|
});
|
|
1842
1842
|
}).catch(() => {
|
|
1843
1843
|
});
|
|
@@ -1845,31 +1845,33 @@ function q1(i, e, t) {
|
|
|
1845
1845
|
Object.keys(Ee).forEach((s) => {
|
|
1846
1846
|
Ze(s, Ee[s]);
|
|
1847
1847
|
});
|
|
1848
|
-
const
|
|
1848
|
+
const ue = () => {
|
|
1849
1849
|
window.postMessage({ type: "CloseCashierReceiptPage" }, window.location.href);
|
|
1850
|
-
},
|
|
1850
|
+
}, ve = () => {
|
|
1851
1851
|
window.postMessage(
|
|
1852
1852
|
{
|
|
1853
1853
|
type: "ErrorResponseCode",
|
|
1854
|
-
errorResponseCode:
|
|
1855
|
-
showErrorOutsideReceiptPage:
|
|
1854
|
+
errorResponseCode: ne,
|
|
1855
|
+
showErrorOutsideReceiptPage: se
|
|
1856
1856
|
},
|
|
1857
1857
|
window.location.href
|
|
1858
1858
|
);
|
|
1859
|
-
},
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
const
|
|
1859
|
+
}, Me = () => {
|
|
1860
|
+
Ce || (Ce = !0, De("cashier_receipt_refresh", { transactionType: v.type })), _e();
|
|
1861
|
+
}, _e = () => {
|
|
1862
|
+
const s = new URL(`${a}/v1/player/${C}/payment/GetPaymentInfo`), H = new Headers();
|
|
1863
|
+
H.append("accept", "application/json"), H.append("Content-Type", "application/json"), H.append("X-SessionId", `${r}`), H.append("X-Client-Request-Timestamp", ze.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), X.indexOf("MM_CHANNEL_BETA") != -1 && H.append("MM_CHANNEL", "BETA");
|
|
1864
|
+
const q = {
|
|
1863
1865
|
method: "POST",
|
|
1864
|
-
headers:
|
|
1866
|
+
headers: H,
|
|
1865
1867
|
body: JSON.stringify({ TransactionCode: y })
|
|
1866
1868
|
};
|
|
1867
|
-
t(11, K = !0), fetch(s,
|
|
1868
|
-
if (z.ResponseCode !==
|
|
1869
|
-
t(19,
|
|
1869
|
+
t(11, K = !0), fetch(s, q).then((z) => z.json()).then((z) => {
|
|
1870
|
+
if (z.ResponseCode !== ee.Success) {
|
|
1871
|
+
t(19, ne = z.ResponseCode), t(20, se = p.toLowerCase() === "false" || !p), ve();
|
|
1870
1872
|
return;
|
|
1871
1873
|
}
|
|
1872
|
-
switch (t(15,
|
|
1874
|
+
switch (t(15, v = {
|
|
1873
1875
|
type: z.Transaction.Type,
|
|
1874
1876
|
referenceId: z.Transaction.Code,
|
|
1875
1877
|
status: z.Transaction.Status?.Status,
|
|
@@ -1877,44 +1879,45 @@ function q1(i, e, t) {
|
|
|
1877
1879
|
amount: z.Transaction.Amounts[0]?.Amount,
|
|
1878
1880
|
currency: z.Transaction.Amounts[0]?.Currency,
|
|
1879
1881
|
time: z.Transaction.Status.Created
|
|
1880
|
-
}), t(16,
|
|
1881
|
-
type:
|
|
1882
|
-
name:
|
|
1883
|
-
description:
|
|
1884
|
-
defaultValue:
|
|
1885
|
-
useCopyButton:
|
|
1886
|
-
usePrintButton:
|
|
1887
|
-
})) : []), z.ReceiptInfo && z.ReceiptInfo.ReceiptFields && !E && t(0, E =
|
|
1882
|
+
}), t(16, re = z.ReceiptInfo && z.ReceiptInfo.ReceiptFields ? z.ReceiptInfo.ReceiptFields.map((Q) => ({
|
|
1883
|
+
type: Re.get(Q.Type),
|
|
1884
|
+
name: Q.Name,
|
|
1885
|
+
description: Q.Description,
|
|
1886
|
+
defaultValue: Q.DefaultValue,
|
|
1887
|
+
useCopyButton: Q.UseCopyButton,
|
|
1888
|
+
usePrintButton: Q.UsePrintButton
|
|
1889
|
+
})) : []), z.ReceiptInfo && z.ReceiptInfo.ReceiptFields && !E && t(0, E = re[0].defaultValue), n(M1(v.status, v.type), { values: { errorText: v.message } }), t(17, we = p1(Number(v.amount), v.currency)), De("cashier_submit", {
|
|
1890
|
+
transactionType: v.type,
|
|
1891
|
+
method: E,
|
|
1892
|
+
transactionStatus: v.status
|
|
1893
|
+
}), v.status) {
|
|
1888
1894
|
case "Voided":
|
|
1889
1895
|
case "Success":
|
|
1890
|
-
if (
|
|
1891
|
-
const
|
|
1896
|
+
if (O(D || "casino, livecasino, tournaments"), t(21, le = "success"), v.type === "Deposit") {
|
|
1897
|
+
const Q = z.Transaction?.Flags?.NewDepositCustomer, Be = z?.Transaction?.Payloads;
|
|
1892
1898
|
window.postMessage(
|
|
1893
1899
|
{
|
|
1894
|
-
type:
|
|
1900
|
+
type: Q === "True" ? "FirstDeposit" : "ConfirmedDeposit",
|
|
1895
1901
|
method: E,
|
|
1896
|
-
amount:
|
|
1897
|
-
currency:
|
|
1902
|
+
amount: v.amount,
|
|
1903
|
+
currency: v.currency,
|
|
1898
1904
|
depositType: Be?.TagManagerDepositType ?? "",
|
|
1899
1905
|
publicPaymentId: Be?.TagManagerCode ?? ""
|
|
1900
1906
|
},
|
|
1901
1907
|
window.location.href
|
|
1902
1908
|
);
|
|
1903
1909
|
}
|
|
1904
|
-
|
|
1905
|
-
|
|
1910
|
+
De(
|
|
1911
|
+
v.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1906
1912
|
{
|
|
1907
1913
|
userID: C,
|
|
1908
|
-
amount:
|
|
1909
|
-
currency:
|
|
1910
|
-
transactionId:
|
|
1914
|
+
amount: v.amount,
|
|
1915
|
+
currency: v.currency,
|
|
1916
|
+
transactionId: v.referenceId,
|
|
1911
1917
|
method: E,
|
|
1912
1918
|
isFirstDeposit: z.Transaction?.Flags?.NewDepositCustomer === "True"
|
|
1913
1919
|
}
|
|
1914
|
-
)
|
|
1915
|
-
transactionType: _.type,
|
|
1916
|
-
method: E
|
|
1917
|
-
});
|
|
1920
|
+
);
|
|
1918
1921
|
break;
|
|
1919
1922
|
case "PendingNotification":
|
|
1920
1923
|
case "PendingConfirmation":
|
|
@@ -1922,82 +1925,82 @@ function q1(i, e, t) {
|
|
|
1922
1925
|
case "PendingApprovalStage2":
|
|
1923
1926
|
case "PendingApprovalStage3":
|
|
1924
1927
|
case "PendingOfflineNotification":
|
|
1925
|
-
|
|
1928
|
+
O(P || "casino, livecasino, tournaments"), t(21, le = "pending");
|
|
1926
1929
|
break;
|
|
1927
1930
|
case "Rejected":
|
|
1928
1931
|
case "Cancelled":
|
|
1929
1932
|
case "Failed":
|
|
1930
|
-
|
|
1931
|
-
|
|
1933
|
+
O($ || "casino, livecasino, tournaments"), t(21, le = v.status.toLowerCase()), De(
|
|
1934
|
+
v.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1932
1935
|
{
|
|
1933
1936
|
userID: C,
|
|
1934
|
-
amount:
|
|
1935
|
-
currency:
|
|
1936
|
-
failureReason:
|
|
1937
|
+
amount: v.amount,
|
|
1938
|
+
currency: v.currency,
|
|
1939
|
+
failureReason: v.message
|
|
1937
1940
|
}
|
|
1938
|
-
), V === "true" && t(22,
|
|
1941
|
+
), V === "true" && t(22, ce = !0);
|
|
1939
1942
|
break;
|
|
1940
1943
|
default:
|
|
1941
|
-
|
|
1944
|
+
O("close");
|
|
1942
1945
|
}
|
|
1943
|
-
u ?
|
|
1946
|
+
u ? R1(u, v.status) : D1(v.status);
|
|
1944
1947
|
}).finally(() => t(11, K = !1));
|
|
1945
|
-
},
|
|
1948
|
+
}, J = (s) => {
|
|
1946
1949
|
window.postMessage({ type: s }, window.location.href);
|
|
1947
|
-
},
|
|
1950
|
+
}, W = (s) => {
|
|
1948
1951
|
s && window.postMessage(
|
|
1949
1952
|
{
|
|
1950
1953
|
type: "NavigateTo",
|
|
1951
1954
|
path: s,
|
|
1952
|
-
target:
|
|
1955
|
+
target: G1,
|
|
1953
1956
|
externalLink: !1
|
|
1954
1957
|
},
|
|
1955
1958
|
window.location.href
|
|
1956
1959
|
);
|
|
1957
1960
|
};
|
|
1958
|
-
let
|
|
1959
|
-
const
|
|
1961
|
+
let B, xe;
|
|
1962
|
+
const de = async (s, H = !0) => {
|
|
1960
1963
|
const z = s.currentTarget.innerHTML;
|
|
1961
1964
|
if (z && navigator.clipboard && navigator.clipboard.writeText)
|
|
1962
1965
|
try {
|
|
1963
|
-
await navigator.clipboard.writeText(z),
|
|
1966
|
+
await navigator.clipboard.writeText(z), H && (t(23, B = !0), clearTimeout(xe), xe = setTimeout(
|
|
1964
1967
|
() => {
|
|
1965
|
-
t(23,
|
|
1968
|
+
t(23, B = !1);
|
|
1966
1969
|
},
|
|
1967
1970
|
2e3
|
|
1968
1971
|
));
|
|
1969
|
-
} catch (
|
|
1970
|
-
console.error("Clipboard API failed:",
|
|
1972
|
+
} catch (Q) {
|
|
1973
|
+
console.error("Clipboard API failed:", Q);
|
|
1971
1974
|
}
|
|
1972
|
-
},
|
|
1973
|
-
F.length > 0 && (
|
|
1974
|
-
},
|
|
1975
|
-
function
|
|
1975
|
+
}, U = () => {
|
|
1976
|
+
F.length > 0 && (X = F.split(","));
|
|
1977
|
+
}, j = (s) => de(s), f = (s) => J(s.event);
|
|
1978
|
+
function k(s) {
|
|
1976
1979
|
He[s ? "unshift" : "push"](() => {
|
|
1977
|
-
|
|
1980
|
+
te[te.length] = s, t(18, te);
|
|
1978
1981
|
});
|
|
1979
1982
|
}
|
|
1980
|
-
const
|
|
1981
|
-
|
|
1983
|
+
const $e = (s) => {
|
|
1984
|
+
W(s.description);
|
|
1982
1985
|
};
|
|
1983
|
-
function
|
|
1986
|
+
function e1(s) {
|
|
1984
1987
|
He[s ? "unshift" : "push"](() => {
|
|
1985
1988
|
A = s, t(10, A);
|
|
1986
1989
|
});
|
|
1987
1990
|
}
|
|
1988
1991
|
return i.$$set = (s) => {
|
|
1989
|
-
"endpoint" in s && t(1, a = s.endpoint), "session" in s && t(2, r = s.session), "lang" in s && t(3, o = s.lang), "local" in s && t(31, d = s.local), "showerrors" in s && t(32, p = s.showerrors), "translationurl" in s && t(4, m = s.translationurl), "assetsurl" in s && t(5, u = s.assetsurl), "customerid" in s && t(6, C = s.customerid), "transactionid" in s && t(33, y = s.transactionid), "currencydecimals" in s && t(34, w = s.currencydecimals), "type" in s && t(35, T = s.type), "clientstyling" in s && t(7, I = s.clientstyling), "clientstylingurl" in s && t(8, Y = s.clientstylingurl), "mbsource" in s && t(36, Z = s.mbsource), "showverifications" in s && t(9, V = s.showverifications), "paymentmethod" in s && t(0, E = s.paymentmethod), "customsucceessbuttons" in s && t(37, D = s.customsucceessbuttons), "custompendingbuttons" in s && t(38,
|
|
1992
|
+
"endpoint" in s && t(1, a = s.endpoint), "session" in s && t(2, r = s.session), "lang" in s && t(3, o = s.lang), "local" in s && t(31, d = s.local), "showerrors" in s && t(32, p = s.showerrors), "translationurl" in s && t(4, m = s.translationurl), "assetsurl" in s && t(5, u = s.assetsurl), "customerid" in s && t(6, C = s.customerid), "transactionid" in s && t(33, y = s.transactionid), "currencydecimals" in s && t(34, w = s.currencydecimals), "type" in s && t(35, T = s.type), "clientstyling" in s && t(7, I = s.clientstyling), "clientstylingurl" in s && t(8, Y = s.clientstylingurl), "mbsource" in s && t(36, Z = s.mbsource), "showverifications" in s && t(9, V = s.showverifications), "paymentmethod" in s && t(0, E = s.paymentmethod), "customsucceessbuttons" in s && t(37, D = s.customsucceessbuttons), "custompendingbuttons" in s && t(38, P = s.custompendingbuttons), "customfailedbuttons" in s && t(39, $ = s.customfailedbuttons), "currencysymbol" in s && t(40, ae = s.currencysymbol), "currencyposition" in s && t(41, me = s.currencyposition), "userroles" in s && t(42, F = s.userroles), "windowsize" in s && t(43, oe = s.windowsize), "p2p" in s && t(44, fe = s.p2p);
|
|
1990
1993
|
}, i.$$.update = () => {
|
|
1991
1994
|
i.$$.dirty[1] & /*userroles*/
|
|
1992
|
-
2048 && F &&
|
|
1995
|
+
2048 && F && U(), i.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
1993
1996
|
70 | i.$$.dirty[1] & /*transactionid, showerrors*/
|
|
1994
|
-
6 && a && r && C && y && p &&
|
|
1995
|
-
8 && o &&
|
|
1996
|
-
24 && o && m &&
|
|
1997
|
-
1152 && I && A &&
|
|
1998
|
-
1280 && Y && A &&
|
|
1997
|
+
6 && a && r && C && y && p && _e(), i.$$.dirty[0] & /*lang*/
|
|
1998
|
+
8 && o && Te(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1999
|
+
24 && o && m && ke(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
2000
|
+
1152 && I && A && T1(A, I), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
2001
|
+
1280 && Y && A && k1(A, Y), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1999
2002
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
2000
|
-
32 && Z && A &&
|
|
2003
|
+
32 && Z && A && v1(A, `${Z}.Style`, ie);
|
|
2001
2004
|
}, [
|
|
2002
2005
|
E,
|
|
2003
2006
|
a,
|
|
@@ -2011,25 +2014,25 @@ function q1(i, e, t) {
|
|
|
2011
2014
|
V,
|
|
2012
2015
|
A,
|
|
2013
2016
|
K,
|
|
2014
|
-
|
|
2015
|
-
$,
|
|
2016
|
-
R,
|
|
2017
|
-
_,
|
|
2018
|
-
se,
|
|
2019
|
-
Te,
|
|
2017
|
+
ge,
|
|
2020
2018
|
ee,
|
|
2019
|
+
M,
|
|
2020
|
+
v,
|
|
2021
|
+
re,
|
|
2022
|
+
we,
|
|
2021
2023
|
te,
|
|
2024
|
+
ne,
|
|
2025
|
+
se,
|
|
2022
2026
|
le,
|
|
2023
2027
|
ce,
|
|
2024
|
-
|
|
2025
|
-
q,
|
|
2028
|
+
B,
|
|
2026
2029
|
n,
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
xe,
|
|
2030
|
+
ye,
|
|
2031
|
+
ue,
|
|
2032
|
+
Me,
|
|
2033
|
+
J,
|
|
2032
2034
|
W,
|
|
2035
|
+
de,
|
|
2033
2036
|
d,
|
|
2034
2037
|
p,
|
|
2035
2038
|
y,
|
|
@@ -2037,28 +2040,28 @@ function q1(i, e, t) {
|
|
|
2037
2040
|
T,
|
|
2038
2041
|
Z,
|
|
2039
2042
|
D,
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
+
P,
|
|
2044
|
+
$,
|
|
2045
|
+
ae,
|
|
2043
2046
|
me,
|
|
2044
2047
|
F,
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
we,
|
|
2048
|
-
U,
|
|
2048
|
+
oe,
|
|
2049
|
+
fe,
|
|
2049
2050
|
j,
|
|
2050
|
-
|
|
2051
|
-
k
|
|
2051
|
+
f,
|
|
2052
|
+
k,
|
|
2053
|
+
$e,
|
|
2054
|
+
e1
|
|
2052
2055
|
];
|
|
2053
2056
|
}
|
|
2054
|
-
class
|
|
2057
|
+
class X1 extends o1 {
|
|
2055
2058
|
constructor(e) {
|
|
2056
|
-
super(),
|
|
2059
|
+
super(), r1(
|
|
2057
2060
|
this,
|
|
2058
2061
|
e,
|
|
2062
|
+
Q1,
|
|
2059
2063
|
q1,
|
|
2060
|
-
|
|
2061
|
-
o1,
|
|
2064
|
+
s1,
|
|
2062
2065
|
{
|
|
2063
2066
|
endpoint: 1,
|
|
2064
2067
|
session: 2,
|
|
@@ -2085,7 +2088,7 @@ class G1 extends i1 {
|
|
|
2085
2088
|
windowsize: 43,
|
|
2086
2089
|
p2p: 44
|
|
2087
2090
|
},
|
|
2088
|
-
|
|
2091
|
+
I1,
|
|
2089
2092
|
[-1, -1, -1]
|
|
2090
2093
|
);
|
|
2091
2094
|
}
|
|
@@ -2234,7 +2237,7 @@ class G1 extends i1 {
|
|
|
2234
2237
|
this.$$set({ p2p: e }), L();
|
|
2235
2238
|
}
|
|
2236
2239
|
}
|
|
2237
|
-
|
|
2240
|
+
_1(X1, { 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);
|
|
2238
2241
|
export {
|
|
2239
|
-
|
|
2242
|
+
X1 as default
|
|
2240
2243
|
};
|