@everymatrix/cashier-page 1.99.48 → 1.99.50
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-BcNuZOer.js → CashierCarousel-Bq6JHr1Y.js} +2 -2
- package/components/{CashierCarousel-C6BOzXYz.cjs → CashierCarousel-Ctoob299.cjs} +1 -1
- package/components/{CashierCarousel-Dfd3Qe-_.js → CashierCarousel-wn8kpuPF.js} +2 -2
- package/components/{CashierError-7pwi-NRr.js → CashierError-B-t9yJK5.js} +2 -2
- package/components/{CashierError-B3FbMpBH.cjs → CashierError-CQUh7JV4.cjs} +1 -1
- package/components/{CashierError-CqQ4O7t6.js → CashierError-DstkCld2.js} +2 -2
- package/components/{CashierHeader-CNDi-XSK.js → CashierHeader-3TzJeRBQ.js} +1 -1
- package/components/{CashierHeader-B6Wo6LTP.cjs → CashierHeader-BptzIafi.cjs} +1 -1
- package/components/{CashierHeader-zIpiQVx9.js → CashierHeader-C5GFNe5x.js} +1 -1
- package/components/{CashierIframeRedirect-aGxBQkS9.cjs → CashierIframeRedirect-BD0fZt0J.cjs} +1 -1
- package/components/{CashierIframeRedirect-_lLwPtaw.js → CashierIframeRedirect-BW5jUrMU.js} +3 -3
- package/components/{CashierIframeRedirect-B0eitvb-.js → CashierIframeRedirect-MM75ztx3.js} +3 -3
- package/components/{CashierMethodDetails-C_DyIOhn.js → CashierMethodDetails-B4ywLHvK.js} +1329 -1327
- package/components/{CashierMethodDetails-Cmwq_I9U.cjs → CashierMethodDetails-Cw0xeUoP.cjs} +12 -12
- package/components/{CashierMethodDetails-BrOsbBw9.js → CashierMethodDetails-Ddmi8gsJ.js} +1291 -1289
- package/components/{CashierMethodsList-Cu1VlO-j.cjs → CashierMethodsList-DMbcGJVU.cjs} +1 -1
- package/components/{CashierMethodsList-BWBZBcfr.js → CashierMethodsList-Dc9C5fgg.js} +2 -2
- package/components/{CashierMethodsList-CE0VW2NV.js → CashierMethodsList-DcEuBd5x.js} +2 -2
- package/components/{CashierModal-EubpbWhA.js → CashierModal-CcAnM7L4.js} +2 -2
- package/components/{CashierModal-C3Z0sqUs.js → CashierModal-DIVRThiN.js} +2 -2
- package/components/{CashierModal-sbtpXNDT.cjs → CashierModal-DTy_R1Q9.cjs} +1 -1
- package/components/{CashierNotifications-B7_Q_L-J.js → CashierNotifications-BTgKJZox.js} +1 -1
- package/components/{CashierNotifications-DyWpSdjx.cjs → CashierNotifications-CuYxd_Cw.cjs} +1 -1
- package/components/{CashierNotifications-CngKlt_n.js → CashierNotifications-tregIR2O.js} +1 -1
- package/components/{CashierPage-KveirW5y.cjs → CashierPage-BN1YsmNi.cjs} +1 -1
- package/components/{CashierPage-DmlkeXDX.js → CashierPage-BNY5LfLG.js} +10 -10
- package/components/{CashierPage-C0dmE1Zq.js → CashierPage-C2d4Yckq.js} +10 -10
- package/components/{CashierReceiptPage-MKOlL-WS.cjs → CashierReceiptPage-BRZWNT0y.cjs} +2 -2
- package/components/{CashierReceiptPage-CF41IfYQ.js → CashierReceiptPage-PlJmUcxS.js} +286 -283
- package/components/{CashierReceiptPage-DHC93hZu.js → CashierReceiptPage-SrRzhHQW.js} +275 -272
- package/components/{CashierSessionExpirationModal-DS1aF6dF.js → CashierSessionExpirationModal-BBnUl2gT.js} +2 -2
- package/components/{CashierSessionExpirationModal-sBwOxQHL.js → CashierSessionExpirationModal-BqMv2q05.js} +2 -2
- package/components/{CashierSessionExpirationModal-BDJ1mret.cjs → CashierSessionExpirationModal-CfqFV_7b.cjs} +1 -1
- package/components/{CashierSpinner-92RQoCxO.js → CashierSpinner-CipdBaaS.js} +2 -2
- package/components/{CashierSpinner-D3HAmElu.cjs → CashierSpinner-DnLnE8Mq.cjs} +1 -1
- package/components/{CashierSpinner-CDEoKepx.js → CashierSpinner-n5sM1EOg.js} +2 -2
- package/components/{CashierStepUp-ChHRBAcA.cjs → CashierStepUp-17Y6VY4a.cjs} +1 -1
- package/components/{CashierStepUp-CqbKXkfC.js → CashierStepUp-CmvBQ-B5.js} +2 -2
- package/components/{CashierStepUp-BCzCIAfz.js → CashierStepUp-DsK6MYhc.js} +2 -2
- package/components/{CashierTransactionHistory-DPrTCUQA.cjs → CashierTransactionHistory-CZp9Djf8.cjs} +1 -1
- package/components/{CashierTransactionHistory-CNmKRkkY.js → CashierTransactionHistory-CyOSbHny.js} +4 -4
- package/components/{CashierTransactionHistory-hd-3jx3q.js → CashierTransactionHistory-Ko-Idso7.js} +4 -4
- package/components/{CashierVerifications-BGNH08qI.js → CashierVerifications-CN1PN4GS.js} +3 -3
- package/components/{CashierVerifications-BnwHrFpd.js → CashierVerifications-CwceMdIx.js} +3 -3
- package/components/{CashierVerifications-BDt76xy4.cjs → CashierVerifications-DCSFOKYF.cjs} +1 -1
- package/components/{TxnStatusIcon-Csz2sPzl.js → TxnStatusIcon-BZfo-T3Z.js} +1 -1
- package/components/{TxnStatusIcon-XI0L-x9h.js → TxnStatusIcon-CrK6wHW9.js} +1 -1
- package/components/{TxnStatusIcon-COlxAnp4.cjs → TxnStatusIcon-DtUIlopw.cjs} +1 -1
- package/components/{TxnTypeIcons-ZAKO07TB.cjs → TxnTypeIcons-B8QwYfy1.cjs} +1 -1
- package/components/{TxnTypeIcons-cw9FmT6W.js → TxnTypeIcons-CRINeVr3.js} +1 -1
- package/components/{TxnTypeIcons-D-QeUCv_.js → TxnTypeIcons-DTd3R0J9.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
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { s as
|
|
1
|
+
import { a as t1, i as n1, $ as i1, S as a1, b as o1, s as r1, f as L, d as s1, z as pe, g as h, l as b, n as g, p as l, q as l1, N as ze, O as c1, r as u1, L as d1, J as p1, C as De, y as He, D as Pe, h as We, V as m1, t as f1, U as g1, m as c, o as _, ag as C1, af as Ae, I as h1, ah as b1, w as S, x as R, P as x, G as w1, A as Se, v as Ie, E as Le, F as Xe, R as N, K as je, c as y1, B as T1 } from "./CashierPage-C2d4Yckq.js";
|
|
2
|
+
import { s as k1, a as v1, b as _1 } from "./CashierHeader-3TzJeRBQ.js";
|
|
3
3
|
function Ze(i, e) {
|
|
4
|
-
|
|
4
|
+
t1(i, e);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
6
|
+
function x1(i) {
|
|
7
|
+
n1({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
9
|
+
}), i1.set(i);
|
|
10
10
|
}
|
|
11
11
|
const Ee = {
|
|
12
12
|
en: {
|
|
@@ -745,7 +745,7 @@ const Ee = {
|
|
|
745
745
|
uploadDocuments: "Sənədləri yüklə",
|
|
746
746
|
goToHomepage: "Əsas səhifəyə keç"
|
|
747
747
|
}
|
|
748
|
-
},
|
|
748
|
+
}, S1 = (i, e) => `${i + D1[e]}`, R1 = (i, e) => `${z1[e]}.${Je[i]}.text`, M1 = (i) => `${Je[`${i}`]}`, D1 = {
|
|
749
749
|
Success: "/txn-success.png",
|
|
750
750
|
Voided: "/txn-success.png",
|
|
751
751
|
Rejected: "/txn-failed.png",
|
|
@@ -757,7 +757,7 @@ const Ee = {
|
|
|
757
757
|
PendingApprovalStage2: "/txn-pending.png",
|
|
758
758
|
PendingApprovalStage3: "/txn-pending.png",
|
|
759
759
|
PendingOfflineNotification: "/txn-pending.png"
|
|
760
|
-
},
|
|
760
|
+
}, z1 = {
|
|
761
761
|
Deposit: "deposit",
|
|
762
762
|
Withdraw: "withdrawal"
|
|
763
763
|
}, Je = {
|
|
@@ -806,18 +806,18 @@ const Ee = {
|
|
|
806
806
|
</svg>
|
|
807
807
|
`
|
|
808
808
|
};
|
|
809
|
-
function
|
|
810
|
-
|
|
809
|
+
function L1(i) {
|
|
810
|
+
s1(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)}');
|
|
811
811
|
}
|
|
812
812
|
function Ne(i, e, t) {
|
|
813
813
|
const n = i.slice();
|
|
814
|
-
return n[
|
|
814
|
+
return n[72] = e[t], n[74] = t, n;
|
|
815
815
|
}
|
|
816
816
|
function Ke(i, e, t) {
|
|
817
817
|
const n = i.slice();
|
|
818
|
-
return n[
|
|
818
|
+
return n[75] = e[t], n;
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function I1(i) {
|
|
821
821
|
let e, t, n = Pe(
|
|
822
822
|
/*userAgent*/
|
|
823
823
|
i[25]
|
|
@@ -832,18 +832,18 @@ function z1(i) {
|
|
|
832
832
|
/*txnInfo*/
|
|
833
833
|
u[15]
|
|
834
834
|
)
|
|
835
|
-
return
|
|
835
|
+
return P1;
|
|
836
836
|
if (
|
|
837
837
|
/*errorResponseCode*/
|
|
838
838
|
u[19] && !/*showErrorOutsideReceiptPage*/
|
|
839
839
|
u[20]
|
|
840
840
|
)
|
|
841
|
-
return
|
|
841
|
+
return H1;
|
|
842
842
|
}
|
|
843
843
|
let p = d(i), m = p && p(i);
|
|
844
844
|
return {
|
|
845
845
|
c() {
|
|
846
|
-
r && r.c(), e =
|
|
846
|
+
r && r.c(), e = _(), t = g("div"), o && o.c(), a = _(), m && m.c(), l(t, "class", "CashierReceiptPage");
|
|
847
847
|
},
|
|
848
848
|
m(u, C) {
|
|
849
849
|
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);
|
|
@@ -851,9 +851,9 @@ function z1(i) {
|
|
|
851
851
|
p(u, C) {
|
|
852
852
|
/*copied*/
|
|
853
853
|
u[23] ? r ? (r.p(u, C), C[0] & /*copied*/
|
|
854
|
-
8388608 && We(r, 1)) : (r = Ue(u), r.c(), We(r, 1), r.m(e.parentNode, e)) : r && (
|
|
854
|
+
8388608 && We(r, 1)) : (r = Ue(u), r.c(), We(r, 1), r.m(e.parentNode, e)) : r && (m1(), f1(r, 1, 1, () => {
|
|
855
855
|
r = null;
|
|
856
|
-
}),
|
|
856
|
+
}), g1()), C[0] & /*showverifications, displayVerifications*/
|
|
857
857
|
4194816 && (n = Pe(
|
|
858
858
|
/*userAgent*/
|
|
859
859
|
u[25]
|
|
@@ -866,11 +866,11 @@ function z1(i) {
|
|
|
866
866
|
}
|
|
867
867
|
};
|
|
868
868
|
}
|
|
869
|
-
function
|
|
869
|
+
function B1(i) {
|
|
870
870
|
let e;
|
|
871
871
|
return {
|
|
872
872
|
c() {
|
|
873
|
-
e =
|
|
873
|
+
e = g("div"), e.innerHTML = '<div class="Spinner"></div>', l(e, "class", "LoadingOverlay");
|
|
874
874
|
},
|
|
875
875
|
m(t, n) {
|
|
876
876
|
b(t, e, n);
|
|
@@ -888,7 +888,7 @@ function Ue(i) {
|
|
|
888
888
|
), n, a, r, o;
|
|
889
889
|
return {
|
|
890
890
|
c() {
|
|
891
|
-
e =
|
|
891
|
+
e = g("div"), n = R(t), l(e, "class", "CopyTooltip");
|
|
892
892
|
},
|
|
893
893
|
m(d, p) {
|
|
894
894
|
b(d, e, p), c(e, n), o = !0;
|
|
@@ -899,12 +899,12 @@ function Ue(i) {
|
|
|
899
899
|
d[24]("copyTransactionId") + "") && S(n, t);
|
|
900
900
|
},
|
|
901
901
|
i(d) {
|
|
902
|
-
o || (d &&
|
|
903
|
-
o && (r && r.end(1), a =
|
|
902
|
+
o || (d && h1(() => {
|
|
903
|
+
o && (r && r.end(1), a = b1(e, Ae, { duration: 100 }), a.start());
|
|
904
904
|
}), o = !0);
|
|
905
905
|
},
|
|
906
906
|
o(d) {
|
|
907
|
-
a && a.invalidate(), d && (r =
|
|
907
|
+
a && a.invalidate(), d && (r = C1(e, Ae, { duration: 1e3 })), o = !1;
|
|
908
908
|
},
|
|
909
909
|
d(d) {
|
|
910
910
|
d && h(e), d && r && r.end();
|
|
@@ -915,7 +915,7 @@ function Ye(i) {
|
|
|
915
915
|
let e;
|
|
916
916
|
return {
|
|
917
917
|
c() {
|
|
918
|
-
e =
|
|
918
|
+
e = g("cashier-verifications"), x(
|
|
919
919
|
e,
|
|
920
920
|
"lang",
|
|
921
921
|
/*lang*/
|
|
@@ -1005,7 +1005,7 @@ function Ye(i) {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
};
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function H1(i) {
|
|
1009
1009
|
let e, t = (
|
|
1010
1010
|
/*errorResponseCode*/
|
|
1011
1011
|
i[19] === /*ResponseCode*/
|
|
@@ -1013,7 +1013,7 @@ function I1(i) {
|
|
|
1013
1013
|
);
|
|
1014
1014
|
return {
|
|
1015
1015
|
c() {
|
|
1016
|
-
e =
|
|
1016
|
+
e = g("cashier-error"), t && t.c(), x(
|
|
1017
1017
|
e,
|
|
1018
1018
|
"assetsurl",
|
|
1019
1019
|
/*assetsurl*/
|
|
@@ -1094,7 +1094,7 @@ function I1(i) {
|
|
|
1094
1094
|
}
|
|
1095
1095
|
};
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function P1(i) {
|
|
1098
1098
|
let e, t, n, a, r, o = (
|
|
1099
1099
|
/*$_*/
|
|
1100
1100
|
i[24]("amount") + ""
|
|
@@ -1105,68 +1105,68 @@ function B1(i) {
|
|
|
1105
1105
|
/*$_*/
|
|
1106
1106
|
i[24](`${/*txnStatus*/
|
|
1107
1107
|
i[21]}`) + ""
|
|
1108
|
-
), E, K,
|
|
1108
|
+
), E, K, ie, D, P, $ = (
|
|
1109
1109
|
/*$_*/
|
|
1110
1110
|
i[24]("transactionId") + ""
|
|
1111
|
-
),
|
|
1111
|
+
), ae, me, F, oe = (
|
|
1112
1112
|
/*txnInfo*/
|
|
1113
1113
|
i[15].referenceId + ""
|
|
1114
|
-
), ge,
|
|
1114
|
+
), fe, ge, X, ee, M = (
|
|
1115
1115
|
/*$_*/
|
|
1116
1116
|
i[24]("payemntMethod") + ""
|
|
1117
|
-
),
|
|
1117
|
+
), be, Re, v, re, we, A, te, ne = (
|
|
1118
1118
|
/*$_*/
|
|
1119
1119
|
i[24]("paymentTime") + ""
|
|
1120
|
-
),
|
|
1120
|
+
), se, le, ye, ce = ze(
|
|
1121
1121
|
/*txnInfo*/
|
|
1122
1122
|
i[15].time
|
|
1123
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "", Ce,
|
|
1124
|
-
function
|
|
1123
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "", Ce, he, O, Te, G, ke, ue, ve, Me;
|
|
1124
|
+
function _e(f, k) {
|
|
1125
1125
|
if (
|
|
1126
1126
|
/*txnStatus*/
|
|
1127
|
-
|
|
1127
|
+
f[21] === "success"
|
|
1128
1128
|
)
|
|
1129
|
-
return
|
|
1129
|
+
return j1;
|
|
1130
1130
|
if (
|
|
1131
1131
|
/*txnStatus*/
|
|
1132
|
-
|
|
1132
|
+
f[21] === "pending"
|
|
1133
1133
|
)
|
|
1134
|
-
return
|
|
1134
|
+
return A1;
|
|
1135
1135
|
if (
|
|
1136
1136
|
/*txnStatus*/
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1137
|
+
f[21] === "failed" || /*txnStatus*/
|
|
1138
|
+
f[21] === "rejected" || /*txnStatus*/
|
|
1139
|
+
f[21] === "canceled"
|
|
1140
1140
|
)
|
|
1141
|
-
return
|
|
1141
|
+
return W1;
|
|
1142
1142
|
}
|
|
1143
|
-
let
|
|
1143
|
+
let J = _e(i), W = J && J(i), B = (
|
|
1144
1144
|
/*displayedButtons*/
|
|
1145
1145
|
i[12].length > 0 && Oe(i)
|
|
1146
1146
|
);
|
|
1147
|
-
function
|
|
1147
|
+
function xe(f, k) {
|
|
1148
1148
|
return (
|
|
1149
1149
|
/*txnInfo*/
|
|
1150
|
-
|
|
1150
|
+
f[15].type ? E1 : Z1
|
|
1151
1151
|
);
|
|
1152
1152
|
}
|
|
1153
|
-
let
|
|
1153
|
+
let de = xe(i), U = de(i), j = (
|
|
1154
1154
|
/*receiptFields*/
|
|
1155
1155
|
i[16].length && Ge(i)
|
|
1156
1156
|
);
|
|
1157
1157
|
return {
|
|
1158
1158
|
c() {
|
|
1159
|
-
e =
|
|
1159
|
+
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(
|
|
1160
1160
|
/*amount*/
|
|
1161
1161
|
i[17]
|
|
1162
|
-
), C =
|
|
1162
|
+
), 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(
|
|
1163
1163
|
/*paymentmethod*/
|
|
1164
1164
|
i[0]
|
|
1165
|
-
),
|
|
1166
|
-
i[21]}`), l(F, "class", "TxnIdText"), l(D, "class", "TxnId"), l(
|
|
1165
|
+
), 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*/
|
|
1166
|
+
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");
|
|
1167
1167
|
},
|
|
1168
|
-
m(
|
|
1169
|
-
b(
|
|
1168
|
+
m(f, k) {
|
|
1169
|
+
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 = [
|
|
1170
1170
|
Se(
|
|
1171
1171
|
F,
|
|
1172
1172
|
"click",
|
|
@@ -1174,51 +1174,51 @@ function B1(i) {
|
|
|
1174
1174
|
i[45]
|
|
1175
1175
|
),
|
|
1176
1176
|
Se(
|
|
1177
|
-
|
|
1177
|
+
G,
|
|
1178
1178
|
"click",
|
|
1179
1179
|
/*closeReceipt*/
|
|
1180
1180
|
i[26]
|
|
1181
1181
|
)
|
|
1182
|
-
],
|
|
1182
|
+
], ve = !0);
|
|
1183
1183
|
},
|
|
1184
|
-
p(
|
|
1185
|
-
|
|
1184
|
+
p(f, k) {
|
|
1185
|
+
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] & /*$_*/
|
|
1186
1186
|
16777216 && o !== (o = /*$_*/
|
|
1187
|
-
|
|
1187
|
+
f[24]("amount") + "") && S(d, o), k[0] & /*amount*/
|
|
1188
1188
|
131072 && S(
|
|
1189
1189
|
u,
|
|
1190
1190
|
/*amount*/
|
|
1191
|
-
|
|
1191
|
+
f[17]
|
|
1192
1192
|
), k[0] & /*$_*/
|
|
1193
1193
|
16777216 && T !== (T = /*$_*/
|
|
1194
|
-
|
|
1194
|
+
f[24]("status") + "") && S(I, T), k[0] & /*$_, txnStatus*/
|
|
1195
1195
|
18874368 && V !== (V = /*$_*/
|
|
1196
|
-
|
|
1197
|
-
|
|
1196
|
+
f[24](`${/*txnStatus*/
|
|
1197
|
+
f[21]}`) + "") && S(E, V), k[0] & /*txnStatus*/
|
|
1198
1198
|
2097152 && K !== (K = `Status ${/*txnStatus*/
|
|
1199
|
-
|
|
1200
|
-
16777216 &&
|
|
1201
|
-
|
|
1202
|
-
32768 &&
|
|
1203
|
-
|
|
1199
|
+
f[21]}`) && l(y, "class", K), k[0] & /*$_*/
|
|
1200
|
+
16777216 && $ !== ($ = /*$_*/
|
|
1201
|
+
f[24]("transactionId") + "") && S(ae, $), k[0] & /*txnInfo*/
|
|
1202
|
+
32768 && oe !== (oe = /*txnInfo*/
|
|
1203
|
+
f[15].referenceId + "") && S(fe, oe), k[0] & /*$_*/
|
|
1204
1204
|
16777216 && M !== (M = /*$_*/
|
|
1205
|
-
|
|
1205
|
+
f[24]("payemntMethod") + "") && S(be, M), k[0] & /*paymentmethod*/
|
|
1206
1206
|
1 && S(
|
|
1207
|
-
|
|
1207
|
+
re,
|
|
1208
1208
|
/*paymentmethod*/
|
|
1209
|
-
|
|
1209
|
+
f[0]
|
|
1210
1210
|
), k[0] & /*$_*/
|
|
1211
|
-
16777216 &&
|
|
1212
|
-
|
|
1213
|
-
32768 &&
|
|
1211
|
+
16777216 && ne !== (ne = /*$_*/
|
|
1212
|
+
f[24]("paymentTime") + "") && S(se, ne), k[0] & /*txnInfo*/
|
|
1213
|
+
32768 && ce !== (ce = ze(
|
|
1214
1214
|
/*txnInfo*/
|
|
1215
|
-
|
|
1216
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "") && S(Ce,
|
|
1217
|
-
|
|
1218
|
-
|
|
1215
|
+
f[15].time
|
|
1216
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "") && S(Ce, ce), /*displayedButtons*/
|
|
1217
|
+
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*/
|
|
1218
|
+
f[16].length ? j ? j.p(f, k) : (j = Ge(f), j.c(), j.m(ue.parentNode, ue)) : j && (j.d(1), j = null);
|
|
1219
1219
|
},
|
|
1220
|
-
d(
|
|
1221
|
-
|
|
1220
|
+
d(f) {
|
|
1221
|
+
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);
|
|
1222
1222
|
}
|
|
1223
1223
|
};
|
|
1224
1224
|
}
|
|
@@ -1232,7 +1232,7 @@ function Fe(i) {
|
|
|
1232
1232
|
), m;
|
|
1233
1233
|
return {
|
|
1234
1234
|
c() {
|
|
1235
|
-
e =
|
|
1235
|
+
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");
|
|
1236
1236
|
},
|
|
1237
1237
|
m(u, C) {
|
|
1238
1238
|
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);
|
|
@@ -1249,7 +1249,7 @@ function Fe(i) {
|
|
|
1249
1249
|
}
|
|
1250
1250
|
};
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function W1(i) {
|
|
1253
1253
|
let e, t, n, a, r, o, d, p = (
|
|
1254
1254
|
/*$_*/
|
|
1255
1255
|
i[24](`${/*txnInfo*/
|
|
@@ -1261,7 +1261,7 @@ function H1(i) {
|
|
|
1261
1261
|
), w;
|
|
1262
1262
|
return {
|
|
1263
1263
|
c() {
|
|
1264
|
-
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r =
|
|
1264
|
+
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");
|
|
1265
1265
|
},
|
|
1266
1266
|
m(T, I) {
|
|
1267
1267
|
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);
|
|
@@ -1280,7 +1280,7 @@ function H1(i) {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
};
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1283
|
+
function A1(i) {
|
|
1284
1284
|
let e, t, n, a, r, o, d, p, m, u = (
|
|
1285
1285
|
/*$_*/
|
|
1286
1286
|
i[24](`${/*txnInfo*/
|
|
@@ -1292,36 +1292,36 @@ function P1(i) {
|
|
|
1292
1292
|
), I, Y, Z, V = (
|
|
1293
1293
|
/*$_*/
|
|
1294
1294
|
i[24]("refreshButton") + ""
|
|
1295
|
-
), E, K,
|
|
1295
|
+
), E, K, ie;
|
|
1296
1296
|
return {
|
|
1297
1297
|
c() {
|
|
1298
|
-
e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), d =
|
|
1298
|
+
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");
|
|
1299
1299
|
},
|
|
1300
|
-
m(D,
|
|
1301
|
-
b(D, e,
|
|
1300
|
+
m(D, P) {
|
|
1301
|
+
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(
|
|
1302
1302
|
Z,
|
|
1303
1303
|
"click",
|
|
1304
|
-
/*
|
|
1304
|
+
/*refreshTxnStatus*/
|
|
1305
1305
|
i[27]
|
|
1306
1306
|
), K = !0);
|
|
1307
1307
|
},
|
|
1308
|
-
p(D,
|
|
1309
|
-
|
|
1308
|
+
p(D, P) {
|
|
1309
|
+
P[0] & /*$_, txnInfo*/
|
|
1310
1310
|
16809984 && u !== (u = /*$_*/
|
|
1311
1311
|
D[24](`${/*txnInfo*/
|
|
1312
|
-
D[15].type.toLowerCase()}.pending.title`) + "") && S(C, u),
|
|
1312
|
+
D[15].type.toLowerCase()}.pending.title`) + "") && S(C, u), P[0] & /*$_, txnInfo*/
|
|
1313
1313
|
16809984 && T !== (T = /*$_*/
|
|
1314
1314
|
D[24](`${/*txnInfo*/
|
|
1315
|
-
D[15].type.toLowerCase()}.pending.text`) + "") && S(I, T),
|
|
1315
|
+
D[15].type.toLowerCase()}.pending.text`) + "") && S(I, T), P[0] & /*$_*/
|
|
1316
1316
|
16777216 && V !== (V = /*$_*/
|
|
1317
1317
|
D[24]("refreshButton") + "") && S(E, V);
|
|
1318
1318
|
},
|
|
1319
1319
|
d(D) {
|
|
1320
|
-
D && (h(e), h(d), h(p), h(Y), h(Z)), K = !1,
|
|
1320
|
+
D && (h(e), h(d), h(p), h(Y), h(Z)), K = !1, ie();
|
|
1321
1321
|
}
|
|
1322
1322
|
};
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1324
|
+
function j1(i) {
|
|
1325
1325
|
let e, t, n, a, r, o, d = (
|
|
1326
1326
|
/*$_*/
|
|
1327
1327
|
i[24](`${/*txnInfo*/
|
|
@@ -1333,7 +1333,7 @@ function W1(i) {
|
|
|
1333
1333
|
), y;
|
|
1334
1334
|
return {
|
|
1335
1335
|
c() {
|
|
1336
|
-
e = N("svg"), t = N("circle"), n = N("path"), a =
|
|
1336
|
+
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");
|
|
1337
1337
|
},
|
|
1338
1338
|
m(w, T) {
|
|
1339
1339
|
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);
|
|
@@ -1353,7 +1353,7 @@ function W1(i) {
|
|
|
1353
1353
|
};
|
|
1354
1354
|
}
|
|
1355
1355
|
function Oe(i) {
|
|
1356
|
-
let e, t =
|
|
1356
|
+
let e, t = Le(
|
|
1357
1357
|
/*displayedButtons*/
|
|
1358
1358
|
i[12]
|
|
1359
1359
|
), n = [];
|
|
@@ -1373,7 +1373,7 @@ function Oe(i) {
|
|
|
1373
1373
|
p(a, r) {
|
|
1374
1374
|
if (r[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
1375
1375
|
285216768) {
|
|
1376
|
-
t =
|
|
1376
|
+
t = Le(
|
|
1377
1377
|
/*displayedButtons*/
|
|
1378
1378
|
a[12]
|
|
1379
1379
|
);
|
|
@@ -1394,24 +1394,24 @@ function Oe(i) {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
function qe(i) {
|
|
1396
1396
|
let e, t, n = (Ve[`${/*btn*/
|
|
1397
|
-
i[
|
|
1397
|
+
i[75].type}`] ?? "") + "", a, r = (
|
|
1398
1398
|
/*$_*/
|
|
1399
1399
|
i[24](`${/*btn*/
|
|
1400
|
-
i[
|
|
1400
|
+
i[75].translationKey}`) + ""
|
|
1401
1401
|
), o, d, p, m, u;
|
|
1402
1402
|
function C() {
|
|
1403
1403
|
return (
|
|
1404
1404
|
/*click_handler_1*/
|
|
1405
1405
|
i[46](
|
|
1406
1406
|
/*btn*/
|
|
1407
|
-
i[
|
|
1407
|
+
i[75]
|
|
1408
1408
|
)
|
|
1409
1409
|
);
|
|
1410
1410
|
}
|
|
1411
1411
|
return {
|
|
1412
1412
|
c() {
|
|
1413
|
-
e =
|
|
1414
|
-
i[
|
|
1413
|
+
e = g("button"), t = g("div"), a = _(), o = R(r), d = _(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
|
|
1414
|
+
i[75].type} GoToButton`);
|
|
1415
1415
|
},
|
|
1416
1416
|
m(y, w) {
|
|
1417
1417
|
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);
|
|
@@ -1419,19 +1419,19 @@ function qe(i) {
|
|
|
1419
1419
|
p(y, w) {
|
|
1420
1420
|
i = y, w[0] & /*displayedButtons*/
|
|
1421
1421
|
4096 && n !== (n = (Ve[`${/*btn*/
|
|
1422
|
-
i[
|
|
1422
|
+
i[75].type}`] ?? "") + "") && (t.innerHTML = n), w[0] & /*$_, displayedButtons*/
|
|
1423
1423
|
16781312 && r !== (r = /*$_*/
|
|
1424
1424
|
i[24](`${/*btn*/
|
|
1425
|
-
i[
|
|
1425
|
+
i[75].translationKey}`) + "") && S(o, r), w[0] & /*displayedButtons*/
|
|
1426
1426
|
4096 && p !== (p = `${/*btn*/
|
|
1427
|
-
i[
|
|
1427
|
+
i[75].type} GoToButton`) && l(e, "class", p);
|
|
1428
1428
|
},
|
|
1429
1429
|
d(y) {
|
|
1430
1430
|
y && h(e), m = !1, u();
|
|
1431
1431
|
}
|
|
1432
1432
|
};
|
|
1433
1433
|
}
|
|
1434
|
-
function
|
|
1434
|
+
function Z1(i) {
|
|
1435
1435
|
let e = (
|
|
1436
1436
|
/*$_*/
|
|
1437
1437
|
i[24]("backHome") + ""
|
|
@@ -1453,7 +1453,7 @@ function A1(i) {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
};
|
|
1455
1455
|
}
|
|
1456
|
-
function
|
|
1456
|
+
function E1(i) {
|
|
1457
1457
|
let e = (
|
|
1458
1458
|
/*$_*/
|
|
1459
1459
|
i[24](`back${/*txnInfo*/
|
|
@@ -1478,7 +1478,7 @@ function j1(i) {
|
|
|
1478
1478
|
};
|
|
1479
1479
|
}
|
|
1480
1480
|
function Ge(i) {
|
|
1481
|
-
let e, t =
|
|
1481
|
+
let e, t = Le(
|
|
1482
1482
|
/*receiptFields*/
|
|
1483
1483
|
i[16]
|
|
1484
1484
|
), n = [];
|
|
@@ -1498,7 +1498,7 @@ function Ge(i) {
|
|
|
1498
1498
|
p(a, r) {
|
|
1499
1499
|
if (r[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1500
1500
|
537214976) {
|
|
1501
|
-
t =
|
|
1501
|
+
t = Le(
|
|
1502
1502
|
/*receiptFields*/
|
|
1503
1503
|
a[16]
|
|
1504
1504
|
);
|
|
@@ -1517,14 +1517,14 @@ function Ge(i) {
|
|
|
1517
1517
|
}
|
|
1518
1518
|
};
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1520
|
+
function V1(i) {
|
|
1521
1521
|
let e, t = (
|
|
1522
1522
|
/*field*/
|
|
1523
|
-
i[
|
|
1523
|
+
i[72].defaultValue + ""
|
|
1524
1524
|
), n;
|
|
1525
1525
|
return {
|
|
1526
1526
|
c() {
|
|
1527
|
-
e =
|
|
1527
|
+
e = g("span"), n = R(t), l(e, "class", "Label");
|
|
1528
1528
|
},
|
|
1529
1529
|
m(a, r) {
|
|
1530
1530
|
b(a, e, r), c(e, n);
|
|
@@ -1532,28 +1532,28 @@ function Z1(i) {
|
|
|
1532
1532
|
p(a, r) {
|
|
1533
1533
|
r[0] & /*receiptFields*/
|
|
1534
1534
|
65536 && t !== (t = /*field*/
|
|
1535
|
-
a[
|
|
1535
|
+
a[72].defaultValue + "") && S(n, t);
|
|
1536
1536
|
},
|
|
1537
1537
|
d(a) {
|
|
1538
1538
|
a && h(e);
|
|
1539
1539
|
}
|
|
1540
1540
|
};
|
|
1541
1541
|
}
|
|
1542
|
-
function
|
|
1542
|
+
function N1(i) {
|
|
1543
1543
|
return { c: pe, m: pe, p: pe, d: pe };
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1545
|
+
function K1(i) {
|
|
1546
1546
|
let e, t = (
|
|
1547
1547
|
/*field*/
|
|
1548
|
-
i[
|
|
1548
|
+
i[72].description + ""
|
|
1549
1549
|
), n, a, r, o = (
|
|
1550
1550
|
/*field*/
|
|
1551
|
-
i[
|
|
1551
|
+
i[72].name + ""
|
|
1552
1552
|
), d, p;
|
|
1553
1553
|
return {
|
|
1554
1554
|
c() {
|
|
1555
|
-
e =
|
|
1556
|
-
i[
|
|
1555
|
+
e = g("span"), n = R(t), a = _(), r = g("a"), d = R(o), l(r, "href", p = /*field*/
|
|
1556
|
+
i[72].defaultValue), l(r, "target", "_blank"), l(r, "rel", "noopener noreferrer");
|
|
1557
1557
|
},
|
|
1558
1558
|
m(m, u) {
|
|
1559
1559
|
b(m, e, u), c(e, n), c(e, a), c(e, r), c(r, d);
|
|
@@ -1561,24 +1561,24 @@ function V1(i) {
|
|
|
1561
1561
|
p(m, u) {
|
|
1562
1562
|
u[0] & /*receiptFields*/
|
|
1563
1563
|
65536 && t !== (t = /*field*/
|
|
1564
|
-
m[
|
|
1564
|
+
m[72].description + "") && S(n, t), u[0] & /*receiptFields*/
|
|
1565
1565
|
65536 && o !== (o = /*field*/
|
|
1566
|
-
m[
|
|
1566
|
+
m[72].name + "") && S(d, o), u[0] & /*receiptFields*/
|
|
1567
1567
|
65536 && p !== (p = /*field*/
|
|
1568
|
-
m[
|
|
1568
|
+
m[72].defaultValue) && l(r, "href", p);
|
|
1569
1569
|
},
|
|
1570
1570
|
d(m) {
|
|
1571
1571
|
m && h(e);
|
|
1572
1572
|
}
|
|
1573
1573
|
};
|
|
1574
1574
|
}
|
|
1575
|
-
function
|
|
1575
|
+
function U1(i) {
|
|
1576
1576
|
let e, t, n;
|
|
1577
1577
|
return {
|
|
1578
1578
|
c() {
|
|
1579
|
-
e =
|
|
1580
|
-
i[
|
|
1581
|
-
i[
|
|
1579
|
+
e = g("img"), je(e.src, t = /*field*/
|
|
1580
|
+
i[72].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1581
|
+
i[72].description), l(e, "alt", "");
|
|
1582
1582
|
},
|
|
1583
1583
|
m(a, r) {
|
|
1584
1584
|
b(a, e, r);
|
|
@@ -1586,23 +1586,23 @@ function N1(i) {
|
|
|
1586
1586
|
p(a, r) {
|
|
1587
1587
|
r[0] & /*receiptFields*/
|
|
1588
1588
|
65536 && !je(e.src, t = /*field*/
|
|
1589
|
-
a[
|
|
1589
|
+
a[72].defaultValue) && l(e, "src", t), r[0] & /*receiptFields*/
|
|
1590
1590
|
65536 && n !== (n = /*field*/
|
|
1591
|
-
a[
|
|
1591
|
+
a[72].description) && l(e, "title", n);
|
|
1592
1592
|
},
|
|
1593
1593
|
d(a) {
|
|
1594
1594
|
a && h(e);
|
|
1595
1595
|
}
|
|
1596
1596
|
};
|
|
1597
1597
|
}
|
|
1598
|
-
function
|
|
1598
|
+
function Y1(i) {
|
|
1599
1599
|
let e, t = (
|
|
1600
1600
|
/*field*/
|
|
1601
|
-
i[
|
|
1601
|
+
i[72].defaultValue + ""
|
|
1602
1602
|
);
|
|
1603
1603
|
return {
|
|
1604
1604
|
c() {
|
|
1605
|
-
e =
|
|
1605
|
+
e = g("span");
|
|
1606
1606
|
},
|
|
1607
1607
|
m(n, a) {
|
|
1608
1608
|
b(n, e, a), e.innerHTML = t;
|
|
@@ -1610,30 +1610,30 @@ function K1(i) {
|
|
|
1610
1610
|
p(n, a) {
|
|
1611
1611
|
a[0] & /*receiptFields*/
|
|
1612
1612
|
65536 && t !== (t = /*field*/
|
|
1613
|
-
n[
|
|
1613
|
+
n[72].defaultValue + "") && (e.innerHTML = t);
|
|
1614
1614
|
},
|
|
1615
1615
|
d(n) {
|
|
1616
1616
|
n && h(e);
|
|
1617
1617
|
}
|
|
1618
1618
|
};
|
|
1619
1619
|
}
|
|
1620
|
-
function
|
|
1620
|
+
function F1(i) {
|
|
1621
1621
|
let e, t, n = (
|
|
1622
1622
|
/*field*/
|
|
1623
|
-
i[
|
|
1623
|
+
i[72].defaultValue + ""
|
|
1624
1624
|
), a, r, o;
|
|
1625
1625
|
function d() {
|
|
1626
1626
|
return (
|
|
1627
1627
|
/*click_handler_2*/
|
|
1628
1628
|
i[48](
|
|
1629
1629
|
/*field*/
|
|
1630
|
-
i[
|
|
1630
|
+
i[72]
|
|
1631
1631
|
)
|
|
1632
1632
|
);
|
|
1633
1633
|
}
|
|
1634
1634
|
return {
|
|
1635
1635
|
c() {
|
|
1636
|
-
e =
|
|
1636
|
+
e = g("div"), t = g("div"), a = R(n), l(e, "class", "QRCode");
|
|
1637
1637
|
},
|
|
1638
1638
|
m(p, m) {
|
|
1639
1639
|
b(p, e, m), c(e, t), c(t, a), i[47](t), r || (o = Se(e, "click", d), r = !0);
|
|
@@ -1641,7 +1641,7 @@ function U1(i) {
|
|
|
1641
1641
|
p(p, m) {
|
|
1642
1642
|
i = p, m[0] & /*receiptFields*/
|
|
1643
1643
|
65536 && n !== (n = /*field*/
|
|
1644
|
-
i[
|
|
1644
|
+
i[72].defaultValue + "") && S(a, n);
|
|
1645
1645
|
},
|
|
1646
1646
|
d(p) {
|
|
1647
1647
|
p && h(e), i[47](null), r = !1, o();
|
|
@@ -1653,20 +1653,20 @@ function Qe(i) {
|
|
|
1653
1653
|
function n(o, d) {
|
|
1654
1654
|
return (
|
|
1655
1655
|
/*field*/
|
|
1656
|
-
o[
|
|
1657
|
-
o[14].QRCode ?
|
|
1656
|
+
o[72].type === /*FieldTypes*/
|
|
1657
|
+
o[14].QRCode ? F1 : (
|
|
1658
1658
|
/*field*/
|
|
1659
|
-
o[
|
|
1660
|
-
o[14].Html ?
|
|
1659
|
+
o[72].type === /*FieldTypes*/
|
|
1660
|
+
o[14].Html ? Y1 : (
|
|
1661
1661
|
/*field*/
|
|
1662
|
-
o[
|
|
1663
|
-
o[14].Image ?
|
|
1662
|
+
o[72].type === /*FieldTypes*/
|
|
1663
|
+
o[14].Image ? U1 : (
|
|
1664
1664
|
/*field*/
|
|
1665
|
-
o[
|
|
1666
|
-
o[14].Link ?
|
|
1665
|
+
o[72].type === /*FieldTypes*/
|
|
1666
|
+
o[14].Link ? K1 : (
|
|
1667
1667
|
/*field*/
|
|
1668
|
-
o[
|
|
1669
|
-
o[14].Hidden ?
|
|
1668
|
+
o[72].type === /*FieldTypes*/
|
|
1669
|
+
o[14].Hidden ? N1 : V1
|
|
1670
1670
|
)
|
|
1671
1671
|
)
|
|
1672
1672
|
)
|
|
@@ -1676,7 +1676,7 @@ function Qe(i) {
|
|
|
1676
1676
|
let a = n(i), r = a(i);
|
|
1677
1677
|
return {
|
|
1678
1678
|
c() {
|
|
1679
|
-
e =
|
|
1679
|
+
e = g("div"), r.c(), t = _(), l(e, "class", "ReceiptField");
|
|
1680
1680
|
},
|
|
1681
1681
|
m(o, d) {
|
|
1682
1682
|
b(o, e, d), r.m(e, null), c(e, t);
|
|
@@ -1689,18 +1689,18 @@ function Qe(i) {
|
|
|
1689
1689
|
}
|
|
1690
1690
|
};
|
|
1691
1691
|
}
|
|
1692
|
-
function
|
|
1692
|
+
function O1(i) {
|
|
1693
1693
|
let e;
|
|
1694
1694
|
function t(r, o) {
|
|
1695
1695
|
return (
|
|
1696
1696
|
/*isLoading*/
|
|
1697
|
-
r[11] ?
|
|
1697
|
+
r[11] ? B1 : I1
|
|
1698
1698
|
);
|
|
1699
1699
|
}
|
|
1700
1700
|
let n = t(i), a = n(i);
|
|
1701
1701
|
return {
|
|
1702
1702
|
c() {
|
|
1703
|
-
e =
|
|
1703
|
+
e = g("div"), a.c(), l(e, "class", "CashierReceiptPageWidget");
|
|
1704
1704
|
},
|
|
1705
1705
|
m(r, o) {
|
|
1706
1706
|
b(r, e, o), a.m(e, null), i[49](e);
|
|
@@ -1715,22 +1715,22 @@ function Y1(i) {
|
|
|
1715
1715
|
}
|
|
1716
1716
|
};
|
|
1717
1717
|
}
|
|
1718
|
-
let
|
|
1719
|
-
function
|
|
1718
|
+
let q1 = "_blank";
|
|
1719
|
+
function G1(i, e, t) {
|
|
1720
1720
|
let n;
|
|
1721
|
-
|
|
1722
|
-
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,
|
|
1723
|
-
var
|
|
1721
|
+
l1(i, T1, (s) => t(24, n = s)), ze.extend(c1);
|
|
1722
|
+
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 = [];
|
|
1723
|
+
var ee;
|
|
1724
1724
|
(function(s) {
|
|
1725
1725
|
s.Success = "Success", s.Maintenance = "Maintenance";
|
|
1726
|
-
})(
|
|
1726
|
+
})(ee || (ee = {}));
|
|
1727
1727
|
var M;
|
|
1728
1728
|
(function(s) {
|
|
1729
1729
|
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";
|
|
1730
1730
|
})(M || (M = {}));
|
|
1731
|
-
const
|
|
1731
|
+
const be = (s, [H, q]) => [
|
|
1732
1732
|
...s,
|
|
1733
|
-
...Array.isArray(
|
|
1733
|
+
...Array.isArray(H) ? [...H.map((z) => [z, q])] : [[H, q]]
|
|
1734
1734
|
], Re = new Map([
|
|
1735
1735
|
[["Unknown", 0], M.Unknown],
|
|
1736
1736
|
[["Text", 1], M.Text],
|
|
@@ -1750,9 +1750,9 @@ function O1(i, e, t) {
|
|
|
1750
1750
|
[["Image", 15], M.Image],
|
|
1751
1751
|
[["Html", 19], M.Html],
|
|
1752
1752
|
[["QR", 20], M.QRCode]
|
|
1753
|
-
].reduce(
|
|
1754
|
-
let
|
|
1755
|
-
const
|
|
1753
|
+
].reduce(be, []));
|
|
1754
|
+
let v, re = [], we, A, te = [], ne, se, le = "", ye = window.navigator.userAgent, ce = !1, Ce = !1;
|
|
1755
|
+
const he = {
|
|
1756
1756
|
promotions: {
|
|
1757
1757
|
event: "Cashier:goToPromotions",
|
|
1758
1758
|
translationKey: "goToPromotions",
|
|
@@ -1808,28 +1808,28 @@ function O1(i, e, t) {
|
|
|
1808
1808
|
translationKey: "close",
|
|
1809
1809
|
type: "CloseButton"
|
|
1810
1810
|
}
|
|
1811
|
-
},
|
|
1812
|
-
t(12,
|
|
1813
|
-
|
|
1811
|
+
}, O = (s) => {
|
|
1812
|
+
t(12, ge = []), s.split(",").forEach((q) => {
|
|
1813
|
+
he[q.trim()] && ge.push(he[q.trim()]);
|
|
1814
1814
|
});
|
|
1815
|
-
},
|
|
1816
|
-
|
|
1815
|
+
}, Te = () => {
|
|
1816
|
+
x1(o);
|
|
1817
1817
|
};
|
|
1818
|
-
|
|
1819
|
-
window.removeEventListener("message",
|
|
1818
|
+
u1(() => (window.addEventListener("message", G, !1), d1(d, ae, me, w), () => {
|
|
1819
|
+
window.removeEventListener("message", G);
|
|
1820
1820
|
}));
|
|
1821
|
-
const
|
|
1821
|
+
const G = (s) => {
|
|
1822
1822
|
switch (s.data.type) {
|
|
1823
1823
|
case "CloseReceiptInSecondTab":
|
|
1824
1824
|
window.opener?.postMessage(s.data);
|
|
1825
1825
|
break;
|
|
1826
1826
|
}
|
|
1827
|
-
},
|
|
1827
|
+
}, ke = () => {
|
|
1828
1828
|
let s = m;
|
|
1829
1829
|
if (s)
|
|
1830
|
-
return fetch(s).then((
|
|
1831
|
-
Object.keys(
|
|
1832
|
-
Ze(
|
|
1830
|
+
return fetch(s).then((H) => H.json()).then((H) => {
|
|
1831
|
+
Object.keys(H).forEach((q) => {
|
|
1832
|
+
Ze(q, H[q]);
|
|
1833
1833
|
});
|
|
1834
1834
|
}).catch(() => {
|
|
1835
1835
|
});
|
|
@@ -1837,31 +1837,33 @@ function O1(i, e, t) {
|
|
|
1837
1837
|
Object.keys(Ee).forEach((s) => {
|
|
1838
1838
|
Ze(s, Ee[s]);
|
|
1839
1839
|
});
|
|
1840
|
-
const
|
|
1840
|
+
const ue = () => {
|
|
1841
1841
|
window.postMessage({ type: "CloseCashierReceiptPage" }, window.location.href);
|
|
1842
|
-
},
|
|
1842
|
+
}, ve = () => {
|
|
1843
1843
|
window.postMessage(
|
|
1844
1844
|
{
|
|
1845
1845
|
type: "ErrorResponseCode",
|
|
1846
|
-
errorResponseCode:
|
|
1847
|
-
showErrorOutsideReceiptPage:
|
|
1846
|
+
errorResponseCode: ne,
|
|
1847
|
+
showErrorOutsideReceiptPage: se
|
|
1848
1848
|
},
|
|
1849
1849
|
window.location.href
|
|
1850
1850
|
);
|
|
1851
|
-
},
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
const
|
|
1851
|
+
}, Me = () => {
|
|
1852
|
+
Ce || (Ce = !0, De("cashier_receipt_refresh", { transactionType: v.type })), _e();
|
|
1853
|
+
}, _e = () => {
|
|
1854
|
+
const s = new URL(`${a}/v1/player/${C}/payment/GetPaymentInfo`), H = new Headers();
|
|
1855
|
+
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");
|
|
1856
|
+
const q = {
|
|
1855
1857
|
method: "POST",
|
|
1856
|
-
headers:
|
|
1858
|
+
headers: H,
|
|
1857
1859
|
body: JSON.stringify({ TransactionCode: y })
|
|
1858
1860
|
};
|
|
1859
|
-
t(11, K = !0), fetch(s,
|
|
1860
|
-
if (z.ResponseCode !==
|
|
1861
|
-
t(19,
|
|
1861
|
+
t(11, K = !0), fetch(s, q).then((z) => z.json()).then((z) => {
|
|
1862
|
+
if (z.ResponseCode !== ee.Success) {
|
|
1863
|
+
t(19, ne = z.ResponseCode), t(20, se = p.toLowerCase() === "false" || !p), ve();
|
|
1862
1864
|
return;
|
|
1863
1865
|
}
|
|
1864
|
-
switch (t(15,
|
|
1866
|
+
switch (t(15, v = {
|
|
1865
1867
|
type: z.Transaction.Type,
|
|
1866
1868
|
referenceId: z.Transaction.Code,
|
|
1867
1869
|
status: z.Transaction.Status?.Status,
|
|
@@ -1869,44 +1871,45 @@ function O1(i, e, t) {
|
|
|
1869
1871
|
amount: z.Transaction.Amounts[0]?.Amount,
|
|
1870
1872
|
currency: z.Transaction.Amounts[0]?.Currency,
|
|
1871
1873
|
time: z.Transaction.Status.Created
|
|
1872
|
-
}), t(16,
|
|
1873
|
-
type: Re.get(
|
|
1874
|
-
name:
|
|
1875
|
-
description:
|
|
1876
|
-
defaultValue:
|
|
1877
|
-
useCopyButton:
|
|
1878
|
-
usePrintButton:
|
|
1879
|
-
})) : []), z.ReceiptInfo && z.ReceiptInfo.ReceiptFields && !E && t(0, E =
|
|
1874
|
+
}), t(16, re = z.ReceiptInfo && z.ReceiptInfo.ReceiptFields ? z.ReceiptInfo.ReceiptFields.map((Q) => ({
|
|
1875
|
+
type: Re.get(Q.Type),
|
|
1876
|
+
name: Q.Name,
|
|
1877
|
+
description: Q.Description,
|
|
1878
|
+
defaultValue: Q.DefaultValue,
|
|
1879
|
+
useCopyButton: Q.UseCopyButton,
|
|
1880
|
+
usePrintButton: Q.UsePrintButton
|
|
1881
|
+
})) : []), z.ReceiptInfo && z.ReceiptInfo.ReceiptFields && !E && t(0, E = re[0].defaultValue), n(R1(v.status, v.type), { values: { errorText: v.message } }), t(17, we = p1(Number(v.amount), v.currency)), De("cashier_submit", {
|
|
1882
|
+
transactionType: v.type,
|
|
1883
|
+
method: E,
|
|
1884
|
+
transactionStatus: v.status
|
|
1885
|
+
}), v.status) {
|
|
1880
1886
|
case "Voided":
|
|
1881
1887
|
case "Success":
|
|
1882
|
-
if (
|
|
1883
|
-
const
|
|
1888
|
+
if (O(D || "casino, livecasino, tournaments"), t(21, le = "success"), v.type === "Deposit") {
|
|
1889
|
+
const Q = z.Transaction?.Flags?.NewDepositCustomer, Be = z?.Transaction?.Payloads;
|
|
1884
1890
|
window.postMessage(
|
|
1885
1891
|
{
|
|
1886
|
-
type:
|
|
1892
|
+
type: Q === "True" ? "FirstDeposit" : "ConfirmedDeposit",
|
|
1887
1893
|
method: E,
|
|
1888
|
-
amount:
|
|
1889
|
-
currency:
|
|
1894
|
+
amount: v.amount,
|
|
1895
|
+
currency: v.currency,
|
|
1890
1896
|
depositType: Be?.TagManagerDepositType ?? "",
|
|
1891
1897
|
publicPaymentId: Be?.TagManagerCode ?? ""
|
|
1892
1898
|
},
|
|
1893
1899
|
window.location.href
|
|
1894
1900
|
);
|
|
1895
1901
|
}
|
|
1896
|
-
|
|
1897
|
-
|
|
1902
|
+
De(
|
|
1903
|
+
v.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1898
1904
|
{
|
|
1899
1905
|
userID: C,
|
|
1900
|
-
amount:
|
|
1901
|
-
currency:
|
|
1902
|
-
transactionId:
|
|
1906
|
+
amount: v.amount,
|
|
1907
|
+
currency: v.currency,
|
|
1908
|
+
transactionId: v.referenceId,
|
|
1903
1909
|
method: E,
|
|
1904
1910
|
isFirstDeposit: z.Transaction?.Flags?.NewDepositCustomer === "True"
|
|
1905
1911
|
}
|
|
1906
|
-
)
|
|
1907
|
-
transactionType: _.type,
|
|
1908
|
-
method: E
|
|
1909
|
-
});
|
|
1912
|
+
);
|
|
1910
1913
|
break;
|
|
1911
1914
|
case "PendingNotification":
|
|
1912
1915
|
case "PendingConfirmation":
|
|
@@ -1914,82 +1917,82 @@ function O1(i, e, t) {
|
|
|
1914
1917
|
case "PendingApprovalStage2":
|
|
1915
1918
|
case "PendingApprovalStage3":
|
|
1916
1919
|
case "PendingOfflineNotification":
|
|
1917
|
-
|
|
1920
|
+
O(P || "casino, livecasino, tournaments"), t(21, le = "pending");
|
|
1918
1921
|
break;
|
|
1919
1922
|
case "Rejected":
|
|
1920
1923
|
case "Cancelled":
|
|
1921
1924
|
case "Failed":
|
|
1922
|
-
|
|
1923
|
-
|
|
1925
|
+
O($ || "casino, livecasino, tournaments"), t(21, le = v.status.toLowerCase()), De(
|
|
1926
|
+
v.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1924
1927
|
{
|
|
1925
1928
|
userID: C,
|
|
1926
|
-
amount:
|
|
1927
|
-
currency:
|
|
1928
|
-
failureReason:
|
|
1929
|
+
amount: v.amount,
|
|
1930
|
+
currency: v.currency,
|
|
1931
|
+
failureReason: v.message
|
|
1929
1932
|
}
|
|
1930
|
-
), V === "true" && t(22,
|
|
1933
|
+
), V === "true" && t(22, ce = !0);
|
|
1931
1934
|
break;
|
|
1932
1935
|
default:
|
|
1933
|
-
|
|
1936
|
+
O("close");
|
|
1934
1937
|
}
|
|
1935
|
-
u ?
|
|
1938
|
+
u ? S1(u, v.status) : M1(v.status);
|
|
1936
1939
|
}).finally(() => t(11, K = !1));
|
|
1937
|
-
},
|
|
1940
|
+
}, J = (s) => {
|
|
1938
1941
|
window.postMessage({ type: s }, window.location.href);
|
|
1939
|
-
},
|
|
1942
|
+
}, W = (s) => {
|
|
1940
1943
|
s && window.postMessage(
|
|
1941
1944
|
{
|
|
1942
1945
|
type: "NavigateTo",
|
|
1943
1946
|
path: s,
|
|
1944
|
-
target:
|
|
1947
|
+
target: q1,
|
|
1945
1948
|
externalLink: !1
|
|
1946
1949
|
},
|
|
1947
1950
|
window.location.href
|
|
1948
1951
|
);
|
|
1949
1952
|
};
|
|
1950
|
-
let
|
|
1951
|
-
const
|
|
1953
|
+
let B, xe;
|
|
1954
|
+
const de = async (s, H = !0) => {
|
|
1952
1955
|
const z = s.currentTarget.innerHTML;
|
|
1953
1956
|
if (z && navigator.clipboard && navigator.clipboard.writeText)
|
|
1954
1957
|
try {
|
|
1955
|
-
await navigator.clipboard.writeText(z),
|
|
1958
|
+
await navigator.clipboard.writeText(z), H && (t(23, B = !0), clearTimeout(xe), xe = setTimeout(
|
|
1956
1959
|
() => {
|
|
1957
|
-
t(23,
|
|
1960
|
+
t(23, B = !1);
|
|
1958
1961
|
},
|
|
1959
1962
|
2e3
|
|
1960
1963
|
));
|
|
1961
|
-
} catch (
|
|
1962
|
-
console.error("Clipboard API failed:",
|
|
1964
|
+
} catch (Q) {
|
|
1965
|
+
console.error("Clipboard API failed:", Q);
|
|
1963
1966
|
}
|
|
1964
|
-
},
|
|
1965
|
-
F.length > 0 && (
|
|
1966
|
-
},
|
|
1967
|
-
function
|
|
1967
|
+
}, U = () => {
|
|
1968
|
+
F.length > 0 && (X = F.split(","));
|
|
1969
|
+
}, j = (s) => de(s), f = (s) => J(s.event);
|
|
1970
|
+
function k(s) {
|
|
1968
1971
|
He[s ? "unshift" : "push"](() => {
|
|
1969
|
-
|
|
1972
|
+
te[te.length] = s, t(18, te);
|
|
1970
1973
|
});
|
|
1971
1974
|
}
|
|
1972
|
-
const
|
|
1973
|
-
|
|
1975
|
+
const $e = (s) => {
|
|
1976
|
+
W(s.description);
|
|
1974
1977
|
};
|
|
1975
|
-
function
|
|
1978
|
+
function e1(s) {
|
|
1976
1979
|
He[s ? "unshift" : "push"](() => {
|
|
1977
1980
|
A = s, t(10, A);
|
|
1978
1981
|
});
|
|
1979
1982
|
}
|
|
1980
1983
|
return i.$$set = (s) => {
|
|
1981
|
-
"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,
|
|
1984
|
+
"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);
|
|
1982
1985
|
}, i.$$.update = () => {
|
|
1983
1986
|
i.$$.dirty[1] & /*userroles*/
|
|
1984
|
-
2048 && F &&
|
|
1987
|
+
2048 && F && U(), i.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
1985
1988
|
70 | i.$$.dirty[1] & /*transactionid, showerrors*/
|
|
1986
|
-
6 && a && r && C && y && p &&
|
|
1987
|
-
8 && o &&
|
|
1988
|
-
24 && o && m &&
|
|
1989
|
-
1152 && I && A &&
|
|
1990
|
-
1280 && Y && A &&
|
|
1989
|
+
6 && a && r && C && y && p && _e(), i.$$.dirty[0] & /*lang*/
|
|
1990
|
+
8 && o && Te(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1991
|
+
24 && o && m && ke(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1992
|
+
1152 && I && A && k1(A, I), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1993
|
+
1280 && Y && A && v1(A, Y), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1991
1994
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1992
|
-
32 && Z && A &&
|
|
1995
|
+
32 && Z && A && _1(A, `${Z}.Style`, ie);
|
|
1993
1996
|
}, [
|
|
1994
1997
|
E,
|
|
1995
1998
|
a,
|
|
@@ -2003,25 +2006,25 @@ function O1(i, e, t) {
|
|
|
2003
2006
|
V,
|
|
2004
2007
|
A,
|
|
2005
2008
|
K,
|
|
2006
|
-
|
|
2007
|
-
$,
|
|
2008
|
-
M,
|
|
2009
|
-
_,
|
|
2010
|
-
se,
|
|
2011
|
-
Te,
|
|
2009
|
+
ge,
|
|
2012
2010
|
ee,
|
|
2011
|
+
M,
|
|
2012
|
+
v,
|
|
2013
|
+
re,
|
|
2014
|
+
we,
|
|
2013
2015
|
te,
|
|
2016
|
+
ne,
|
|
2017
|
+
se,
|
|
2014
2018
|
le,
|
|
2015
2019
|
ce,
|
|
2016
|
-
|
|
2017
|
-
q,
|
|
2020
|
+
B,
|
|
2018
2021
|
n,
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
xe,
|
|
2022
|
+
ye,
|
|
2023
|
+
ue,
|
|
2024
|
+
Me,
|
|
2025
|
+
J,
|
|
2024
2026
|
W,
|
|
2027
|
+
de,
|
|
2025
2028
|
d,
|
|
2026
2029
|
p,
|
|
2027
2030
|
y,
|
|
@@ -2029,28 +2032,28 @@ function O1(i, e, t) {
|
|
|
2029
2032
|
T,
|
|
2030
2033
|
Z,
|
|
2031
2034
|
D,
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
+
P,
|
|
2036
|
+
$,
|
|
2037
|
+
ae,
|
|
2035
2038
|
me,
|
|
2036
2039
|
F,
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
we,
|
|
2040
|
-
U,
|
|
2040
|
+
oe,
|
|
2041
|
+
fe,
|
|
2041
2042
|
j,
|
|
2042
|
-
|
|
2043
|
-
k
|
|
2043
|
+
f,
|
|
2044
|
+
k,
|
|
2045
|
+
$e,
|
|
2046
|
+
e1
|
|
2044
2047
|
];
|
|
2045
2048
|
}
|
|
2046
|
-
class
|
|
2049
|
+
class Q1 extends a1 {
|
|
2047
2050
|
constructor(e) {
|
|
2048
|
-
super(),
|
|
2051
|
+
super(), o1(
|
|
2049
2052
|
this,
|
|
2050
2053
|
e,
|
|
2054
|
+
G1,
|
|
2051
2055
|
O1,
|
|
2052
|
-
|
|
2053
|
-
a1,
|
|
2056
|
+
r1,
|
|
2054
2057
|
{
|
|
2055
2058
|
endpoint: 1,
|
|
2056
2059
|
session: 2,
|
|
@@ -2077,7 +2080,7 @@ class q1 extends n1 {
|
|
|
2077
2080
|
windowsize: 43,
|
|
2078
2081
|
p2p: 44
|
|
2079
2082
|
},
|
|
2080
|
-
|
|
2083
|
+
L1,
|
|
2081
2084
|
[-1, -1, -1]
|
|
2082
2085
|
);
|
|
2083
2086
|
}
|
|
@@ -2226,7 +2229,7 @@ class q1 extends n1 {
|
|
|
2226
2229
|
this.$$set({ p2p: e }), L();
|
|
2227
2230
|
}
|
|
2228
2231
|
}
|
|
2229
|
-
|
|
2232
|
+
y1(Q1, { 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);
|
|
2230
2233
|
export {
|
|
2231
|
-
|
|
2234
|
+
Q1 as default
|
|
2232
2235
|
};
|