@everymatrix/cashier-page 1.90.38 → 1.91.1
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-BNcnaN7U.js +672 -0
- package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
- package/components/CashierCarousel-tfVH51fj.js +675 -0
- package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
- package/components/CashierError-BqvEnGrr.cjs +1 -0
- package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
- package/components/CashierHeader-BGA-Qd-S.js +456 -0
- package/components/CashierHeader-BKL2lJFV.cjs +1 -0
- package/components/CashierHeader-Bt5aV48_.js +456 -0
- package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
- package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
- package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
- package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
- package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
- package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
- package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
- package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
- package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
- package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
- package/components/CashierModal-J_mZ6ODP.cjs +1 -0
- package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
- package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
- package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
- package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
- package/components/CashierPage-7d2gkNjC.js +9989 -0
- package/components/CashierPage-N8z4Zzox.js +9936 -0
- package/components/CashierPage-flG2gyRG.cjs +23 -0
- package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
- package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
- package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
- package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
- package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
- package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
- package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
- package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
- package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
- package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
- package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
- package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
- package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
- package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
- package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
- package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
- package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
- package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
- package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
- package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
- package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
- package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
- package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
- package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B-cM-nlR.js +0 -5797
- package/components/CashierCarousel-CXoovlrR.js +0 -5835
- package/components/CashierCarousel-DMrMmClP.cjs +0 -23
- package/components/CashierError-CHGdRh2_.cjs +0 -1
- package/components/CashierHeader-B7FnLv3f.js +0 -397
- package/components/CashierHeader-BbP0idUh.js +0 -397
- package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
- package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
- package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
- package/components/CashierModal-DF8meLAZ.cjs +0 -1
- package/components/CashierNotifications-B8bRZMac.cjs +0 -1
- package/components/CashierPage-CrLOKCt7.js +0 -4485
- package/components/CashierPage-DDNG9YBM.cjs +0 -1
- package/components/CashierPage-Ra2kFFdS.js +0 -4455
- package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
- package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
- package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
- package/components/CashierStepUp-DKytvkqu.cjs +0 -1
- package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
- package/components/CashierVerifications-8c9sENE2.cjs +0 -1
- package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
|
@@ -14,24 +14,16 @@ var z1 = (i, e, t) => new Promise((n, a) => {
|
|
|
14
14
|
}, u = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(s, o);
|
|
15
15
|
u((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
const a = +getComputedStyle(i).opacity;
|
|
21
|
-
return {
|
|
22
|
-
delay: e,
|
|
23
|
-
duration: t,
|
|
24
|
-
easing: n,
|
|
25
|
-
css: (s) => `opacity: ${s * a}`
|
|
26
|
-
};
|
|
27
|
-
}
|
|
17
|
+
import { a as ie, i as ae, $ as oe, S as se, b as re, s as le, f as L, c as ce, y as p1, e as h, k as b, m as C, o as l, p as ue, M as D1, N as pe, q as de, K as fe, I as me, Z as A1, x as j1, C as Z1, g as V1, a8 as Ce, t as ge, a9 as he, l as c, n as _, ac as be, H as we, ad as ye, v as R, w as x, O as T, F as ve, z as x1, r as P1, D as B1, E as te, P as E, J as E1, A as _e, B as ke } from "./CashierPage-7d2gkNjC.js";
|
|
18
|
+
import { f as N1 } from "./CashierSessionExpirationModal-fN2A0ywt.js";
|
|
19
|
+
import { s as Te, a as Re, b as xe } from "./CashierHeader-BGA-Qd-S.js";
|
|
28
20
|
function Y1(i, e) {
|
|
29
|
-
|
|
21
|
+
ie(i, e);
|
|
30
22
|
}
|
|
31
|
-
function
|
|
32
|
-
|
|
23
|
+
function Se(i) {
|
|
24
|
+
ae({
|
|
33
25
|
fallbackLocale: "en"
|
|
34
|
-
}),
|
|
26
|
+
}), oe.set(i);
|
|
35
27
|
}
|
|
36
28
|
const K1 = {
|
|
37
29
|
en: {
|
|
@@ -310,7 +302,7 @@ const K1 = {
|
|
|
310
302
|
uploadDocuments: "Télécharger des documents",
|
|
311
303
|
goToHomepage: "Aller à la page d’accueil"
|
|
312
304
|
}
|
|
313
|
-
},
|
|
305
|
+
}, Me = (i, e) => `${i + Be[e]}`, Le = (i, e) => `${Pe[e]}.${ne[i]}.text`, De = (i) => `${ne[`${i}`]}`, Be = {
|
|
314
306
|
Success: "/txn-success.png",
|
|
315
307
|
Voided: "/txn-success.png",
|
|
316
308
|
Rejected: "/txn-failed.png",
|
|
@@ -322,7 +314,7 @@ const K1 = {
|
|
|
322
314
|
PendingApprovalStage2: "/txn-pending.png",
|
|
323
315
|
PendingApprovalStage3: "/txn-pending.png",
|
|
324
316
|
PendingOfflineNotification: "/txn-pending.png"
|
|
325
|
-
},
|
|
317
|
+
}, Pe = {
|
|
326
318
|
Deposit: "deposit",
|
|
327
319
|
Withdraw: "withdrawal"
|
|
328
320
|
}, ne = {
|
|
@@ -367,8 +359,8 @@ const K1 = {
|
|
|
367
359
|
</svg>
|
|
368
360
|
`
|
|
369
361
|
};
|
|
370
|
-
function
|
|
371
|
-
|
|
362
|
+
function We(i) {
|
|
363
|
+
ce(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)}');
|
|
372
364
|
}
|
|
373
365
|
function O1(i, e, t) {
|
|
374
366
|
const n = i.slice();
|
|
@@ -378,8 +370,8 @@ function F1(i, e, t) {
|
|
|
378
370
|
const n = i.slice();
|
|
379
371
|
return n[73] = e[t], n;
|
|
380
372
|
}
|
|
381
|
-
function
|
|
382
|
-
let e, t, n =
|
|
373
|
+
function He(i) {
|
|
374
|
+
let e, t, n = Z1(
|
|
383
375
|
/*userAgent*/
|
|
384
376
|
i[25]
|
|
385
377
|
) && /*showverifications*/
|
|
@@ -393,13 +385,13 @@ function ze(i) {
|
|
|
393
385
|
/*txnInfo*/
|
|
394
386
|
d[15]
|
|
395
387
|
)
|
|
396
|
-
return
|
|
388
|
+
return Ae;
|
|
397
389
|
if (
|
|
398
390
|
/*errorResponseCode*/
|
|
399
391
|
d[19] && !/*showErrorOutsideReceiptPage*/
|
|
400
392
|
d[20]
|
|
401
393
|
)
|
|
402
|
-
return
|
|
394
|
+
return ze;
|
|
403
395
|
}
|
|
404
396
|
let p = u(i), f = p && p(i);
|
|
405
397
|
return {
|
|
@@ -412,10 +404,10 @@ function ze(i) {
|
|
|
412
404
|
p(d, g) {
|
|
413
405
|
/*copied*/
|
|
414
406
|
d[23] ? s ? (s.p(d, g), g[0] & /*copied*/
|
|
415
|
-
8388608 &&
|
|
407
|
+
8388608 && V1(s, 1)) : (s = G1(d), s.c(), V1(s, 1), s.m(e.parentNode, e)) : s && (Ce(), ge(s, 1, 1, () => {
|
|
416
408
|
s = null;
|
|
417
|
-
}),
|
|
418
|
-
4194816 && (n =
|
|
409
|
+
}), he()), g[0] & /*showverifications, displayVerifications*/
|
|
410
|
+
4194816 && (n = Z1(
|
|
419
411
|
/*userAgent*/
|
|
420
412
|
d[25]
|
|
421
413
|
) && /*showverifications*/
|
|
@@ -427,7 +419,7 @@ function ze(i) {
|
|
|
427
419
|
}
|
|
428
420
|
};
|
|
429
421
|
}
|
|
430
|
-
function
|
|
422
|
+
function Ie(i) {
|
|
431
423
|
let e;
|
|
432
424
|
return {
|
|
433
425
|
c() {
|
|
@@ -449,7 +441,7 @@ function G1(i) {
|
|
|
449
441
|
), n, a, s, o;
|
|
450
442
|
return {
|
|
451
443
|
c() {
|
|
452
|
-
e = C("div"), n =
|
|
444
|
+
e = C("div"), n = x(t), l(e, "class", "CopyTooltip");
|
|
453
445
|
},
|
|
454
446
|
m(u, p) {
|
|
455
447
|
b(u, e, p), c(e, n), o = !0;
|
|
@@ -460,12 +452,12 @@ function G1(i) {
|
|
|
460
452
|
u[24]("copyTransactionId") + "") && R(n, t);
|
|
461
453
|
},
|
|
462
454
|
i(u) {
|
|
463
|
-
o || (u &&
|
|
464
|
-
o && (s && s.end(1), a =
|
|
455
|
+
o || (u && we(() => {
|
|
456
|
+
o && (s && s.end(1), a = ye(e, N1, { duration: 100 }), a.start());
|
|
465
457
|
}), o = !0);
|
|
466
458
|
},
|
|
467
459
|
o(u) {
|
|
468
|
-
a && a.invalidate(), u && (s =
|
|
460
|
+
a && a.invalidate(), u && (s = be(e, N1, { duration: 1e3 })), o = !1;
|
|
469
461
|
},
|
|
470
462
|
d(u) {
|
|
471
463
|
u && h(e), u && s && s.end();
|
|
@@ -566,7 +558,7 @@ function q1(i) {
|
|
|
566
558
|
}
|
|
567
559
|
};
|
|
568
560
|
}
|
|
569
|
-
function
|
|
561
|
+
function ze(i) {
|
|
570
562
|
let e, t = (
|
|
571
563
|
/*errorResponseCode*/
|
|
572
564
|
i[19] === /*ResponseCode*/
|
|
@@ -655,7 +647,7 @@ function je(i) {
|
|
|
655
647
|
}
|
|
656
648
|
};
|
|
657
649
|
}
|
|
658
|
-
function
|
|
650
|
+
function Ae(i) {
|
|
659
651
|
let e, t, n, a, s, o = (
|
|
660
652
|
/*$_*/
|
|
661
653
|
i[24]("amount") + ""
|
|
@@ -672,13 +664,13 @@ function Ze(i) {
|
|
|
672
664
|
), a1, d1, O, o1 = (
|
|
673
665
|
/*txnInfo*/
|
|
674
666
|
i[15].referenceId + ""
|
|
675
|
-
), f1, m1, q, J,
|
|
667
|
+
), f1, m1, q, J, S = (
|
|
676
668
|
/*$_*/
|
|
677
669
|
i[24]("payemntMethod") + ""
|
|
678
|
-
), y1,
|
|
670
|
+
), y1, S1, D, s1, v1, A, $, e1 = (
|
|
679
671
|
/*$_*/
|
|
680
672
|
i[24]("paymentTime") + ""
|
|
681
|
-
), r1, l1, _1, c1 =
|
|
673
|
+
), r1, l1, _1, c1 = D1(
|
|
682
674
|
/*txnInfo*/
|
|
683
675
|
i[15].time
|
|
684
676
|
).format("MMM DD, YYYY, HH:mm:ss") + "", C1, t1, n1, g1, Q, k1, u1, h1, T1;
|
|
@@ -687,19 +679,19 @@ function Ze(i) {
|
|
|
687
679
|
/*txnStatus*/
|
|
688
680
|
m[21] === "success"
|
|
689
681
|
)
|
|
690
|
-
return
|
|
682
|
+
return Ve;
|
|
691
683
|
if (
|
|
692
684
|
/*txnStatus*/
|
|
693
685
|
m[21] === "pending"
|
|
694
686
|
)
|
|
695
|
-
return
|
|
687
|
+
return Ze;
|
|
696
688
|
if (
|
|
697
689
|
/*txnStatus*/
|
|
698
690
|
m[21] === "failed" || /*txnStatus*/
|
|
699
691
|
m[21] === "rejected" || /*txnStatus*/
|
|
700
692
|
m[21] === "canceled"
|
|
701
693
|
)
|
|
702
|
-
return
|
|
694
|
+
return je;
|
|
703
695
|
}
|
|
704
696
|
let G = R1(i), I = G && G(i), z = (
|
|
705
697
|
/*displayedButtons*/
|
|
@@ -708,7 +700,7 @@ function Ze(i) {
|
|
|
708
700
|
function M1(m, v) {
|
|
709
701
|
return (
|
|
710
702
|
/*txnInfo*/
|
|
711
|
-
m[15].type ?
|
|
703
|
+
m[15].type ? Ne : Ee
|
|
712
704
|
);
|
|
713
705
|
}
|
|
714
706
|
let b1 = M1(i), K = b1(i), j = (
|
|
@@ -717,24 +709,24 @@ function Ze(i) {
|
|
|
717
709
|
);
|
|
718
710
|
return {
|
|
719
711
|
c() {
|
|
720
|
-
e = C("div"), I && I.c(), t = _(), n = C("div"), a = C("div"), s = C("p"), u =
|
|
712
|
+
e = C("div"), I && I.c(), t = _(), n = C("div"), a = C("div"), s = C("p"), u = x(o), p = _(), f = C("span"), d = x(
|
|
721
713
|
/*amount*/
|
|
722
714
|
i[17]
|
|
723
|
-
), g = _(), k = C("div"), y = C("p"), B =
|
|
715
|
+
), g = _(), k = C("div"), y = C("p"), B = x(w), U = _(), Z = C("span"), N = x(V), i1 = _(), M = C("div"), H = C("p"), a1 = x(X), d1 = _(), O = C("span"), f1 = x(o1), m1 = _(), q = C("div"), J = C("p"), y1 = x(S), S1 = _(), D = C("span"), s1 = x(
|
|
724
716
|
/*paymentmethod*/
|
|
725
717
|
i[0]
|
|
726
|
-
), v1 = _(), A = C("div"), $ = C("p"), r1 =
|
|
718
|
+
), v1 = _(), A = C("div"), $ = C("p"), r1 = x(e1), l1 = _(), _1 = C("span"), C1 = x(c1), t1 = _(), n1 = C("div"), z && z.c(), g1 = _(), Q = C("button"), K.c(), k1 = _(), j && j.c(), u1 = P1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(k, "class", Y = `Status ${/*txnStatus*/
|
|
727
719
|
i[21]}`), l(O, "class", "TxnIdText"), l(M, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(n1, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
|
|
728
720
|
},
|
|
729
721
|
m(m, v) {
|
|
730
|
-
b(m, e, v), I && I.m(e, null), b(m, t, v), b(m, n, v), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, g), c(n, k), c(k, y), c(y, B), c(k, U), c(k, Z), c(Z, N), c(n, i1), c(n, M), c(M, H), c(H, a1), c(M, d1), c(M, O), c(O, f1), c(n, m1), c(n, q), c(q, J), c(J, y1), c(q,
|
|
731
|
-
|
|
722
|
+
b(m, e, v), I && I.m(e, null), b(m, t, v), b(m, n, v), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, g), c(n, k), c(k, y), c(y, B), c(k, U), c(k, Z), c(Z, N), c(n, i1), c(n, M), c(M, H), c(H, a1), c(M, d1), c(M, O), c(O, f1), c(n, m1), c(n, q), c(q, J), c(J, y1), c(q, S1), c(q, D), c(D, s1), c(n, v1), c(n, A), c(A, $), c($, r1), c(A, l1), c(A, _1), c(_1, C1), b(m, t1, v), b(m, n1, v), z && z.m(n1, null), b(m, g1, v), b(m, Q, v), K.m(Q, null), b(m, k1, v), j && j.m(m, v), b(m, u1, v), h1 || (T1 = [
|
|
723
|
+
x1(
|
|
732
724
|
O,
|
|
733
725
|
"click",
|
|
734
726
|
/*click_handler*/
|
|
735
727
|
i[45]
|
|
736
728
|
),
|
|
737
|
-
|
|
729
|
+
x1(
|
|
738
730
|
Q,
|
|
739
731
|
"click",
|
|
740
732
|
/*closeReceipt*/
|
|
@@ -762,8 +754,8 @@ function Ze(i) {
|
|
|
762
754
|
m[24]("transactionId") + "") && R(a1, X), v[0] & /*txnInfo*/
|
|
763
755
|
32768 && o1 !== (o1 = /*txnInfo*/
|
|
764
756
|
m[15].referenceId + "") && R(f1, o1), v[0] & /*$_*/
|
|
765
|
-
16777216 &&
|
|
766
|
-
m[24]("payemntMethod") + "") && R(y1,
|
|
757
|
+
16777216 && S !== (S = /*$_*/
|
|
758
|
+
m[24]("payemntMethod") + "") && R(y1, S), v[0] & /*paymentmethod*/
|
|
767
759
|
1 && R(
|
|
768
760
|
s1,
|
|
769
761
|
/*paymentmethod*/
|
|
@@ -771,7 +763,7 @@ function Ze(i) {
|
|
|
771
763
|
), v[0] & /*$_*/
|
|
772
764
|
16777216 && e1 !== (e1 = /*$_*/
|
|
773
765
|
m[24]("paymentTime") + "") && R(r1, e1), v[0] & /*txnInfo*/
|
|
774
|
-
32768 && c1 !== (c1 =
|
|
766
|
+
32768 && c1 !== (c1 = D1(
|
|
775
767
|
/*txnInfo*/
|
|
776
768
|
m[15].time
|
|
777
769
|
).format("MMM DD, YYYY, HH:mm:ss") + "") && R(C1, c1), /*displayedButtons*/
|
|
@@ -779,7 +771,7 @@ function Ze(i) {
|
|
|
779
771
|
m[16].length ? j ? j.p(m, v) : (j = $1(m), j.c(), j.m(u1.parentNode, u1)) : j && (j.d(1), j = null);
|
|
780
772
|
},
|
|
781
773
|
d(m) {
|
|
782
|
-
m && (h(e), h(t), h(n), h(t1), h(n1), h(g1), h(Q), h(k1), h(u1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), h1 = !1,
|
|
774
|
+
m && (h(e), h(t), h(n), h(t1), h(n1), h(g1), h(Q), h(k1), h(u1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), h1 = !1, ve(T1);
|
|
783
775
|
}
|
|
784
776
|
};
|
|
785
777
|
}
|
|
@@ -793,7 +785,7 @@ function Q1(i) {
|
|
|
793
785
|
), f;
|
|
794
786
|
return {
|
|
795
787
|
c() {
|
|
796
|
-
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = C("span"), s =
|
|
788
|
+
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = C("span"), s = x(a), o = _(), u = C("span"), f = x(p), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(u, "slot", "text"), l(u, "class", "CashierErrorText");
|
|
797
789
|
},
|
|
798
790
|
m(d, g) {
|
|
799
791
|
b(d, e, g), b(d, t, g), b(d, n, g), c(n, s), b(d, o, g), b(d, u, g), c(u, f);
|
|
@@ -810,7 +802,7 @@ function Q1(i) {
|
|
|
810
802
|
}
|
|
811
803
|
};
|
|
812
804
|
}
|
|
813
|
-
function
|
|
805
|
+
function je(i) {
|
|
814
806
|
let e, t, n, a, s, o, u, p = (
|
|
815
807
|
/*$_*/
|
|
816
808
|
i[24](`${/*txnInfo*/
|
|
@@ -822,7 +814,7 @@ function Ve(i) {
|
|
|
822
814
|
), y;
|
|
823
815
|
return {
|
|
824
816
|
c() {
|
|
825
|
-
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = _(), o = C("div"), u = C("h3"), f =
|
|
817
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = _(), o = C("div"), u = C("h3"), f = x(p), d = _(), g = C("p"), y = x(k), 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");
|
|
826
818
|
},
|
|
827
819
|
m(w, B) {
|
|
828
820
|
b(w, e, B), c(e, t), c(e, n), c(e, a), b(w, s, B), b(w, o, B), c(o, u), c(u, f), c(o, d), c(o, g), c(g, y);
|
|
@@ -841,7 +833,7 @@ function Ve(i) {
|
|
|
841
833
|
}
|
|
842
834
|
};
|
|
843
835
|
}
|
|
844
|
-
function
|
|
836
|
+
function Ze(i) {
|
|
845
837
|
let e, t, n, a, s, o, u, p, f, d = (
|
|
846
838
|
/*$_*/
|
|
847
839
|
i[24](`${/*txnInfo*/
|
|
@@ -856,10 +848,10 @@ function Ee(i) {
|
|
|
856
848
|
), N, Y, i1;
|
|
857
849
|
return {
|
|
858
850
|
c() {
|
|
859
|
-
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), u = _(), p = C("div"), f = C("h3"), g =
|
|
851
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), u = _(), p = C("div"), f = C("h3"), g = x(d), k = _(), y = C("p"), B = x(w), U = _(), Z = C("button"), N = x(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
|
|
860
852
|
},
|
|
861
853
|
m(M, H) {
|
|
862
|
-
b(M, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), b(M, u, H), b(M, p, H), c(p, f), c(f, g), c(p, k), c(p, y), c(y, B), b(M, U, H), b(M, Z, H), c(Z, N), Y || (i1 =
|
|
854
|
+
b(M, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), b(M, u, H), b(M, p, H), c(p, f), c(f, g), c(p, k), c(p, y), c(y, B), b(M, U, H), b(M, Z, H), c(Z, N), Y || (i1 = x1(
|
|
863
855
|
Z,
|
|
864
856
|
"click",
|
|
865
857
|
/*getPaymentInfo*/
|
|
@@ -882,7 +874,7 @@ function Ee(i) {
|
|
|
882
874
|
}
|
|
883
875
|
};
|
|
884
876
|
}
|
|
885
|
-
function
|
|
877
|
+
function Ve(i) {
|
|
886
878
|
let e, t, n, a, s, o, u = (
|
|
887
879
|
/*$_*/
|
|
888
880
|
i[24](`${/*txnInfo*/
|
|
@@ -894,7 +886,7 @@ function Ne(i) {
|
|
|
894
886
|
), k;
|
|
895
887
|
return {
|
|
896
888
|
c() {
|
|
897
|
-
e = E("svg"), t = E("circle"), n = E("path"), a = _(), s = C("div"), o = C("h3"), p =
|
|
889
|
+
e = E("svg"), t = E("circle"), n = E("path"), a = _(), s = C("div"), o = C("h3"), p = x(u), f = _(), d = C("p"), k = x(g), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
|
|
898
890
|
},
|
|
899
891
|
m(y, w) {
|
|
900
892
|
b(y, e, w), c(e, t), c(e, n), b(y, a, w), b(y, s, w), c(s, o), c(o, p), c(s, f), c(s, d), c(d, k);
|
|
@@ -914,7 +906,7 @@ function Ne(i) {
|
|
|
914
906
|
};
|
|
915
907
|
}
|
|
916
908
|
function X1(i) {
|
|
917
|
-
let e, t =
|
|
909
|
+
let e, t = B1(
|
|
918
910
|
/*displayedButtons*/
|
|
919
911
|
i[12]
|
|
920
912
|
), n = [];
|
|
@@ -934,7 +926,7 @@ function X1(i) {
|
|
|
934
926
|
p(a, s) {
|
|
935
927
|
if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
936
928
|
285216768) {
|
|
937
|
-
t =
|
|
929
|
+
t = B1(
|
|
938
930
|
/*displayedButtons*/
|
|
939
931
|
a[12]
|
|
940
932
|
);
|
|
@@ -972,11 +964,11 @@ function J1(i) {
|
|
|
972
964
|
}
|
|
973
965
|
return {
|
|
974
966
|
c() {
|
|
975
|
-
e = C("button"), t = C("div"), a = _(), o =
|
|
967
|
+
e = C("button"), t = C("div"), a = _(), o = x(s), u = _(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
|
|
976
968
|
i[73].type} GoToButton`);
|
|
977
969
|
},
|
|
978
970
|
m(y, w) {
|
|
979
|
-
b(y, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), f || (d =
|
|
971
|
+
b(y, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), f || (d = x1(e, "click", g), f = !0);
|
|
980
972
|
},
|
|
981
973
|
p(y, w) {
|
|
982
974
|
var B;
|
|
@@ -994,14 +986,14 @@ function J1(i) {
|
|
|
994
986
|
}
|
|
995
987
|
};
|
|
996
988
|
}
|
|
997
|
-
function
|
|
989
|
+
function Ee(i) {
|
|
998
990
|
let e = (
|
|
999
991
|
/*$_*/
|
|
1000
992
|
i[24]("backHome") + ""
|
|
1001
993
|
), t;
|
|
1002
994
|
return {
|
|
1003
995
|
c() {
|
|
1004
|
-
t =
|
|
996
|
+
t = x(e);
|
|
1005
997
|
},
|
|
1006
998
|
m(n, a) {
|
|
1007
999
|
b(n, t, a);
|
|
@@ -1016,7 +1008,7 @@ function Ye(i) {
|
|
|
1016
1008
|
}
|
|
1017
1009
|
};
|
|
1018
1010
|
}
|
|
1019
|
-
function
|
|
1011
|
+
function Ne(i) {
|
|
1020
1012
|
let e = (
|
|
1021
1013
|
/*$_*/
|
|
1022
1014
|
i[24](`back${/*txnInfo*/
|
|
@@ -1024,7 +1016,7 @@ function Ke(i) {
|
|
|
1024
1016
|
), t;
|
|
1025
1017
|
return {
|
|
1026
1018
|
c() {
|
|
1027
|
-
t =
|
|
1019
|
+
t = x(e);
|
|
1028
1020
|
},
|
|
1029
1021
|
m(n, a) {
|
|
1030
1022
|
b(n, t, a);
|
|
@@ -1041,7 +1033,7 @@ function Ke(i) {
|
|
|
1041
1033
|
};
|
|
1042
1034
|
}
|
|
1043
1035
|
function $1(i) {
|
|
1044
|
-
let e, t =
|
|
1036
|
+
let e, t = B1(
|
|
1045
1037
|
/*receiptFields*/
|
|
1046
1038
|
i[16]
|
|
1047
1039
|
), n = [];
|
|
@@ -1061,7 +1053,7 @@ function $1(i) {
|
|
|
1061
1053
|
p(a, s) {
|
|
1062
1054
|
if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1063
1055
|
537214976) {
|
|
1064
|
-
t =
|
|
1056
|
+
t = B1(
|
|
1065
1057
|
/*receiptFields*/
|
|
1066
1058
|
a[16]
|
|
1067
1059
|
);
|
|
@@ -1080,14 +1072,14 @@ function $1(i) {
|
|
|
1080
1072
|
}
|
|
1081
1073
|
};
|
|
1082
1074
|
}
|
|
1083
|
-
function
|
|
1075
|
+
function Ye(i) {
|
|
1084
1076
|
let e, t = (
|
|
1085
1077
|
/*field*/
|
|
1086
1078
|
i[70].defaultValue + ""
|
|
1087
1079
|
), n;
|
|
1088
1080
|
return {
|
|
1089
1081
|
c() {
|
|
1090
|
-
e = C("span"), n =
|
|
1082
|
+
e = C("span"), n = x(t), l(e, "class", "Label");
|
|
1091
1083
|
},
|
|
1092
1084
|
m(a, s) {
|
|
1093
1085
|
b(a, e, s), c(e, n);
|
|
@@ -1102,10 +1094,10 @@ function Ue(i) {
|
|
|
1102
1094
|
}
|
|
1103
1095
|
};
|
|
1104
1096
|
}
|
|
1105
|
-
function
|
|
1097
|
+
function Ke(i) {
|
|
1106
1098
|
return { c: p1, m: p1, p: p1, d: p1 };
|
|
1107
1099
|
}
|
|
1108
|
-
function
|
|
1100
|
+
function Ue(i) {
|
|
1109
1101
|
let e, t = (
|
|
1110
1102
|
/*field*/
|
|
1111
1103
|
i[70].description + ""
|
|
@@ -1115,7 +1107,7 @@ function Fe(i) {
|
|
|
1115
1107
|
), u, p;
|
|
1116
1108
|
return {
|
|
1117
1109
|
c() {
|
|
1118
|
-
e = C("span"), n =
|
|
1110
|
+
e = C("span"), n = x(t), a = _(), s = C("a"), u = x(o), l(s, "href", p = /*field*/
|
|
1119
1111
|
i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
|
|
1120
1112
|
},
|
|
1121
1113
|
m(f, d) {
|
|
@@ -1135,11 +1127,11 @@ function Fe(i) {
|
|
|
1135
1127
|
}
|
|
1136
1128
|
};
|
|
1137
1129
|
}
|
|
1138
|
-
function
|
|
1130
|
+
function Oe(i) {
|
|
1139
1131
|
let e, t, n;
|
|
1140
1132
|
return {
|
|
1141
1133
|
c() {
|
|
1142
|
-
e = C("img"),
|
|
1134
|
+
e = C("img"), E1(e.src, t = /*field*/
|
|
1143
1135
|
i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1144
1136
|
i[70].description), l(e, "alt", "");
|
|
1145
1137
|
},
|
|
@@ -1148,7 +1140,7 @@ function Ge(i) {
|
|
|
1148
1140
|
},
|
|
1149
1141
|
p(a, s) {
|
|
1150
1142
|
s[0] & /*receiptFields*/
|
|
1151
|
-
65536 && !
|
|
1143
|
+
65536 && !E1(e.src, t = /*field*/
|
|
1152
1144
|
a[70].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
|
|
1153
1145
|
65536 && n !== (n = /*field*/
|
|
1154
1146
|
a[70].description) && l(e, "title", n);
|
|
@@ -1158,7 +1150,7 @@ function Ge(i) {
|
|
|
1158
1150
|
}
|
|
1159
1151
|
};
|
|
1160
1152
|
}
|
|
1161
|
-
function
|
|
1153
|
+
function Fe(i) {
|
|
1162
1154
|
let e, t = (
|
|
1163
1155
|
/*field*/
|
|
1164
1156
|
i[70].defaultValue + ""
|
|
@@ -1180,7 +1172,7 @@ function qe(i) {
|
|
|
1180
1172
|
}
|
|
1181
1173
|
};
|
|
1182
1174
|
}
|
|
1183
|
-
function
|
|
1175
|
+
function Ge(i) {
|
|
1184
1176
|
let e, t, n = (
|
|
1185
1177
|
/*field*/
|
|
1186
1178
|
i[70].defaultValue + ""
|
|
@@ -1196,10 +1188,10 @@ function Qe(i) {
|
|
|
1196
1188
|
}
|
|
1197
1189
|
return {
|
|
1198
1190
|
c() {
|
|
1199
|
-
e = C("div"), t = C("div"), a =
|
|
1191
|
+
e = C("div"), t = C("div"), a = x(n), l(e, "class", "QRCode");
|
|
1200
1192
|
},
|
|
1201
1193
|
m(p, f) {
|
|
1202
|
-
b(p, e, f), c(e, t), c(t, a), i[47](t), s || (o =
|
|
1194
|
+
b(p, e, f), c(e, t), c(t, a), i[47](t), s || (o = x1(e, "click", u), s = !0);
|
|
1203
1195
|
},
|
|
1204
1196
|
p(p, f) {
|
|
1205
1197
|
i = p, f[0] & /*receiptFields*/
|
|
@@ -1217,19 +1209,19 @@ function ee(i) {
|
|
|
1217
1209
|
return (
|
|
1218
1210
|
/*field*/
|
|
1219
1211
|
o[70].type === /*FieldTypes*/
|
|
1220
|
-
o[14].QRCode ?
|
|
1212
|
+
o[14].QRCode ? Ge : (
|
|
1221
1213
|
/*field*/
|
|
1222
1214
|
o[70].type === /*FieldTypes*/
|
|
1223
|
-
o[14].Html ?
|
|
1215
|
+
o[14].Html ? Fe : (
|
|
1224
1216
|
/*field*/
|
|
1225
1217
|
o[70].type === /*FieldTypes*/
|
|
1226
|
-
o[14].Image ?
|
|
1218
|
+
o[14].Image ? Oe : (
|
|
1227
1219
|
/*field*/
|
|
1228
1220
|
o[70].type === /*FieldTypes*/
|
|
1229
|
-
o[14].Link ?
|
|
1221
|
+
o[14].Link ? Ue : (
|
|
1230
1222
|
/*field*/
|
|
1231
1223
|
o[70].type === /*FieldTypes*/
|
|
1232
|
-
o[14].Hidden ?
|
|
1224
|
+
o[14].Hidden ? Ke : Ye
|
|
1233
1225
|
)
|
|
1234
1226
|
)
|
|
1235
1227
|
)
|
|
@@ -1252,12 +1244,12 @@ function ee(i) {
|
|
|
1252
1244
|
}
|
|
1253
1245
|
};
|
|
1254
1246
|
}
|
|
1255
|
-
function
|
|
1247
|
+
function qe(i) {
|
|
1256
1248
|
let e;
|
|
1257
1249
|
function t(s, o) {
|
|
1258
1250
|
return (
|
|
1259
1251
|
/*isLoading*/
|
|
1260
|
-
s[11] ?
|
|
1252
|
+
s[11] ? Ie : He
|
|
1261
1253
|
);
|
|
1262
1254
|
}
|
|
1263
1255
|
let n = t(i), a = n(i);
|
|
@@ -1278,41 +1270,41 @@ function Xe(i) {
|
|
|
1278
1270
|
}
|
|
1279
1271
|
};
|
|
1280
1272
|
}
|
|
1281
|
-
let
|
|
1282
|
-
function
|
|
1273
|
+
let Qe = "_blank";
|
|
1274
|
+
function Xe(i, e, t) {
|
|
1283
1275
|
let n;
|
|
1284
|
-
|
|
1276
|
+
ue(i, ke, (r) => t(24, n = r)), D1.extend(pe);
|
|
1285
1277
|
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: f } = e, { assetsurl: d = "" } = e, { customerid: g } = e, { transactionid: k } = e, { currencydecimals: y = "0" } = e, { type: w } = e, { clientstyling: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: N = "" } = e, Y = !1, i1, { customsucceessbuttons: M = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: a1 = "" } = e, { currencyposition: d1 = "" } = e, { userroles: O = "" } = e, { windowsize: o1 } = e, { p2p: f1 = "false" } = e, m1 = [], q = [];
|
|
1286
1278
|
var J;
|
|
1287
1279
|
(function(r) {
|
|
1288
1280
|
r.Success = "Success", r.Maintenance = "Maintenance";
|
|
1289
1281
|
})(J || (J = {}));
|
|
1290
|
-
var
|
|
1282
|
+
var S;
|
|
1291
1283
|
(function(r) {
|
|
1292
1284
|
r.Unknown = "Unknown", r.Text = "Text", r.Boolean = "Boolean", r.Number = "Number", r.Money = "Money", r.DateTime = "DateTime", r.Lookup = "Lookup", r.IpAddress = "IpAddress", r.Date = "Date", r.Time = "Time", r.LookupCollection = "LookupCollection", r.Hidden = "Hidden", r.Label = "Label", r.Password = "Password", r.Link = "Link", r.Image = "Image", r.Html = "Html", r.QRCode = "QR";
|
|
1293
|
-
})(
|
|
1285
|
+
})(S || (S = {}));
|
|
1294
1286
|
const y1 = (r, [P, F]) => [
|
|
1295
1287
|
...r,
|
|
1296
1288
|
...Array.isArray(P) ? [...P.map((W) => [W, F])] : [[P, F]]
|
|
1297
|
-
],
|
|
1298
|
-
[["Unknown", 0],
|
|
1299
|
-
[["Text", 1],
|
|
1300
|
-
[["Boolean", 2],
|
|
1301
|
-
[["Number", 3],
|
|
1302
|
-
[["Money", 4],
|
|
1303
|
-
[["DateTime", 5],
|
|
1304
|
-
[["Lookup", 6],
|
|
1305
|
-
[["IpAddress", 7],
|
|
1306
|
-
[["Date", 8],
|
|
1307
|
-
[["Time", 9],
|
|
1308
|
-
[["LookupCollection", 10],
|
|
1309
|
-
[["Hidden", 11],
|
|
1310
|
-
[["Label", 12],
|
|
1311
|
-
[["Password", 13],
|
|
1312
|
-
[["Link", 14],
|
|
1313
|
-
[["Image", 15],
|
|
1314
|
-
[["Html", 19],
|
|
1315
|
-
[["QR", 20],
|
|
1289
|
+
], S1 = new Map([
|
|
1290
|
+
[["Unknown", 0], S.Unknown],
|
|
1291
|
+
[["Text", 1], S.Text],
|
|
1292
|
+
[["Boolean", 2], S.Boolean],
|
|
1293
|
+
[["Number", 3], S.Number],
|
|
1294
|
+
[["Money", 4], S.Money],
|
|
1295
|
+
[["DateTime", 5], S.DateTime],
|
|
1296
|
+
[["Lookup", 6], S.Lookup],
|
|
1297
|
+
[["IpAddress", 7], S.IpAddress],
|
|
1298
|
+
[["Date", 8], S.Date],
|
|
1299
|
+
[["Time", 9], S.Time],
|
|
1300
|
+
[["LookupCollection", 10], S.LookupCollection],
|
|
1301
|
+
[["Hidden", 11], S.Hidden],
|
|
1302
|
+
[["Label", 12], S.Label],
|
|
1303
|
+
[["Password", 13], S.Password],
|
|
1304
|
+
[["Link", 14], S.Link],
|
|
1305
|
+
[["Image", 15], S.Image],
|
|
1306
|
+
[["Html", 19], S.Html],
|
|
1307
|
+
[["QR", 20], S.QRCode]
|
|
1316
1308
|
].reduce(y1, []));
|
|
1317
1309
|
let D, s1 = [], v1, A, $ = [], e1, r1, l1 = "", _1 = window.navigator.userAgent, c1 = !1;
|
|
1318
1310
|
const C1 = {
|
|
@@ -1376,9 +1368,9 @@ function $e(i, e, t) {
|
|
|
1376
1368
|
C1[F.trim()] && m1.push(C1[F.trim()]);
|
|
1377
1369
|
});
|
|
1378
1370
|
}, n1 = () => {
|
|
1379
|
-
|
|
1371
|
+
Se(o);
|
|
1380
1372
|
};
|
|
1381
|
-
|
|
1373
|
+
de(() => (window.addEventListener("message", g1, !1), fe(u, a1, d1, y), () => {
|
|
1382
1374
|
window.removeEventListener("message", g1);
|
|
1383
1375
|
}));
|
|
1384
1376
|
const g1 = (r) => {
|
|
@@ -1414,7 +1406,7 @@ function $e(i, e, t) {
|
|
|
1414
1406
|
);
|
|
1415
1407
|
}, h1 = () => {
|
|
1416
1408
|
const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), P = new Headers();
|
|
1417
|
-
P.append("accept", "application/json"), P.append("Content-Type", "application/json"), P.append("X-SessionId", `${s}`), P.append("X-Client-Request-Timestamp",
|
|
1409
|
+
P.append("accept", "application/json"), P.append("Content-Type", "application/json"), P.append("X-SessionId", `${s}`), P.append("X-Client-Request-Timestamp", D1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && P.append("MM_CHANNEL", "BETA");
|
|
1418
1410
|
const F = {
|
|
1419
1411
|
method: "POST",
|
|
1420
1412
|
headers: P,
|
|
@@ -1435,16 +1427,16 @@ function $e(i, e, t) {
|
|
|
1435
1427
|
currency: (I1 = W.Transaction.Amounts[0]) == null ? void 0 : I1.Currency,
|
|
1436
1428
|
time: W.Transaction.Status.Created
|
|
1437
1429
|
}), t(16, s1 = W.ReceiptInfo && W.ReceiptInfo.ReceiptFields ? W.ReceiptInfo.ReceiptFields.map((w1) => ({
|
|
1438
|
-
type:
|
|
1430
|
+
type: S1.get(w1.Type),
|
|
1439
1431
|
name: w1.Name,
|
|
1440
1432
|
description: w1.Description,
|
|
1441
1433
|
defaultValue: w1.DefaultValue,
|
|
1442
1434
|
useCopyButton: w1.UseCopyButton,
|
|
1443
1435
|
usePrintButton: w1.UsePrintButton
|
|
1444
|
-
})) : []), W.ReceiptInfo && W.ReceiptInfo.ReceiptFields && !N && t(0, N = s1[0].defaultValue), n(
|
|
1436
|
+
})) : []), W.ReceiptInfo && W.ReceiptInfo.ReceiptFields && !N && t(0, N = s1[0].defaultValue), n(Le(D.status, D.type), { values: { errorText: D.message } }), t(17, v1 = me(Number(D.amount), D.currency)), D.status) {
|
|
1445
1437
|
case "Voided":
|
|
1446
1438
|
case "Success":
|
|
1447
|
-
t1(M || "casino, livecasino, tournaments"), t(21, l1 = "success"),
|
|
1439
|
+
t1(M || "casino, livecasino, tournaments"), t(21, l1 = "success"), A1(
|
|
1448
1440
|
D.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1449
1441
|
{
|
|
1450
1442
|
userID: g,
|
|
@@ -1465,7 +1457,7 @@ function $e(i, e, t) {
|
|
|
1465
1457
|
case "Rejected":
|
|
1466
1458
|
case "Cancelled":
|
|
1467
1459
|
case "Failed":
|
|
1468
|
-
t1(X || "casino, livecasino, tournaments"), t(21, l1 = D.status.toLowerCase()),
|
|
1460
|
+
t1(X || "casino, livecasino, tournaments"), t(21, l1 = D.status.toLowerCase()), A1(
|
|
1469
1461
|
D.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1470
1462
|
{
|
|
1471
1463
|
userID: g,
|
|
@@ -1478,7 +1470,7 @@ function $e(i, e, t) {
|
|
|
1478
1470
|
default:
|
|
1479
1471
|
t1("close");
|
|
1480
1472
|
}
|
|
1481
|
-
d ?
|
|
1473
|
+
d ? Me(d, D.status) : De(D.status);
|
|
1482
1474
|
}).finally(() => t(11, Y = !1));
|
|
1483
1475
|
}, T1 = (r) => {
|
|
1484
1476
|
window.postMessage({ type: r }, window.location.href);
|
|
@@ -1487,7 +1479,7 @@ function $e(i, e, t) {
|
|
|
1487
1479
|
{
|
|
1488
1480
|
type: "NavigateTo",
|
|
1489
1481
|
path: r,
|
|
1490
|
-
target:
|
|
1482
|
+
target: Qe,
|
|
1491
1483
|
externalLink: !1
|
|
1492
1484
|
},
|
|
1493
1485
|
window.location.href
|
|
@@ -1511,7 +1503,7 @@ function $e(i, e, t) {
|
|
|
1511
1503
|
O.length > 0 && (q = O.split(","));
|
|
1512
1504
|
}, b1 = (r) => z(r), K = (r) => T1(r.event);
|
|
1513
1505
|
function j(r) {
|
|
1514
|
-
|
|
1506
|
+
j1[r ? "unshift" : "push"](() => {
|
|
1515
1507
|
$[$.length] = r, t(18, $);
|
|
1516
1508
|
});
|
|
1517
1509
|
}
|
|
@@ -1519,7 +1511,7 @@ function $e(i, e, t) {
|
|
|
1519
1511
|
R1(r.description);
|
|
1520
1512
|
};
|
|
1521
1513
|
function v(r) {
|
|
1522
|
-
|
|
1514
|
+
j1[r ? "unshift" : "push"](() => {
|
|
1523
1515
|
A = r, t(10, A);
|
|
1524
1516
|
});
|
|
1525
1517
|
}
|
|
@@ -1532,10 +1524,10 @@ function $e(i, e, t) {
|
|
|
1532
1524
|
6 && a && s && g && k && p && h1(), i.$$.dirty[0] & /*lang*/
|
|
1533
1525
|
8 && o && n1(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1534
1526
|
24 && o && f && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1535
|
-
1152 && B && A &&
|
|
1536
|
-
1280 && U && A &&
|
|
1527
|
+
1152 && B && A && Te(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1528
|
+
1280 && U && A && Re(A, U), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1537
1529
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1538
|
-
32 && Z && A &&
|
|
1530
|
+
32 && Z && A && xe(A, `${Z}.Style`, i1);
|
|
1539
1531
|
}, [
|
|
1540
1532
|
N,
|
|
1541
1533
|
a,
|
|
@@ -1551,7 +1543,7 @@ function $e(i, e, t) {
|
|
|
1551
1543
|
Y,
|
|
1552
1544
|
m1,
|
|
1553
1545
|
J,
|
|
1554
|
-
|
|
1546
|
+
S,
|
|
1555
1547
|
D,
|
|
1556
1548
|
s1,
|
|
1557
1549
|
v1,
|
|
@@ -1589,14 +1581,14 @@ function $e(i, e, t) {
|
|
|
1589
1581
|
v
|
|
1590
1582
|
];
|
|
1591
1583
|
}
|
|
1592
|
-
class
|
|
1584
|
+
class Je extends se {
|
|
1593
1585
|
constructor(e) {
|
|
1594
|
-
super(),
|
|
1586
|
+
super(), re(
|
|
1595
1587
|
this,
|
|
1596
1588
|
e,
|
|
1597
|
-
$e,
|
|
1598
1589
|
Xe,
|
|
1599
|
-
|
|
1590
|
+
qe,
|
|
1591
|
+
le,
|
|
1600
1592
|
{
|
|
1601
1593
|
endpoint: 1,
|
|
1602
1594
|
session: 2,
|
|
@@ -1623,7 +1615,7 @@ class ie extends le {
|
|
|
1623
1615
|
windowsize: 43,
|
|
1624
1616
|
p2p: 44
|
|
1625
1617
|
},
|
|
1626
|
-
|
|
1618
|
+
We,
|
|
1627
1619
|
[-1, -1, -1]
|
|
1628
1620
|
);
|
|
1629
1621
|
}
|
|
@@ -1772,12 +1764,7 @@ class ie extends le {
|
|
|
1772
1764
|
this.$$set({ p2p: e }), L();
|
|
1773
1765
|
}
|
|
1774
1766
|
}
|
|
1775
|
-
|
|
1776
|
-
const it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1777
|
-
__proto__: null,
|
|
1778
|
-
default: ie
|
|
1779
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
1767
|
+
_e(Je, { 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);
|
|
1780
1768
|
export {
|
|
1781
|
-
|
|
1782
|
-
N1 as f
|
|
1769
|
+
Je as default
|
|
1783
1770
|
};
|