@everymatrix/cashier-page 1.90.26 → 1.90.28
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-BrHfCrcj.cjs +1 -0
- package/components/CashierCarousel-CYuI7HQI.js +672 -0
- package/components/CashierCarousel-tmq9Vm-z.js +675 -0
- package/components/{CashierError-BdaqUnCv.cjs → CashierError-BNDTiX9f.cjs} +1 -1
- package/components/{CashierError-6oWTzjqv.js → CashierError-BU2Q_1sR.js} +2 -2
- package/components/{CashierError-DoLrYlTr.js → CashierError-wZJrA0ni.js} +2 -2
- package/components/{CashierHeader-DmKyFM7e.js → CashierHeader-4Xfink5m.js} +1 -1
- package/components/{CashierHeader-D0NRcNvL.cjs → CashierHeader-BTyrD5mA.cjs} +1 -1
- package/components/{CashierHeader-lmRz4KZ1.js → CashierHeader-BoRJ5wes.js} +1 -1
- package/components/{CashierIframeRedirect-B0AfjWFn.js → CashierIframeRedirect-BCNZ9IpQ.js} +3 -3
- package/components/{CashierIframeRedirect-B0kSc_vJ.js → CashierIframeRedirect-C-ewsqbt.js} +3 -3
- package/components/{CashierIframeRedirect-DsTf3Ns9.cjs → CashierIframeRedirect-Gt1cUtKI.cjs} +1 -1
- package/components/CashierMethodDetails-B9okIN-B.js +10792 -0
- package/components/{CashierMethodDetails-CE3hxUzQ.js → CashierMethodDetails-CfXv7ns5.js} +4195 -4186
- package/components/CashierMethodDetails-DKeOpfJq.cjs +85 -0
- package/components/{CashierMethodsList-DWWmFwMG.js → CashierMethodsList-Bj04gLAx.js} +2 -2
- package/components/{CashierMethodsList-_zTTZ54Z.cjs → CashierMethodsList-MAN90RyW.cjs} +1 -1
- package/components/{CashierMethodsList-CKw9nrrm.js → CashierMethodsList-Xu1RPUMN.js} +2 -2
- package/components/{CashierModal-CuE7cpuX.cjs → CashierModal-BASgojiA.cjs} +1 -1
- package/components/{CashierModal-DTJQWLIe.js → CashierModal-CEEN1E4C.js} +2 -2
- package/components/{CashierModal-v8zC9LGO.js → CashierModal-D4IAwYSU.js} +2 -2
- package/components/{CashierNotifications-D7mXXvzD.js → CashierNotifications-BPc-G2wT.js} +1 -1
- package/components/{CashierNotifications-yGGRgRNJ.cjs → CashierNotifications-Bvkgmubs.cjs} +1 -1
- package/components/{CashierNotifications-qo9ArgCg.js → CashierNotifications-mrSc2pFg.js} +1 -1
- package/components/{CashierPage-C-ATa8ws.js → CashierPage-BUj3rGGa.js} +1572 -1531
- package/components/{CashierPage-FI7wOUey.js → CashierPage-CL1U4qxB.js} +1933 -1892
- package/components/{CashierPage-CAjB96zt.cjs → CashierPage-CRrW53ta.cjs} +6 -6
- package/components/{CashierReceiptPage-DL0ZMuq-.js → CashierReceiptPage-6dlavH3M.js} +470 -470
- package/components/{CashierReceiptPage-CiflWdaz.cjs → CashierReceiptPage-DrOl8LC6.cjs} +2 -2
- package/components/{CashierReceiptPage-YQY0yyoh.js → CashierReceiptPage-ULdipg1g.js} +479 -479
- package/components/{CashierSessionExpirationModal-DFUTuUZB.cjs → CashierSessionExpirationModal-Bi9xanDi.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-eHDZ3GxJ.js → CashierSessionExpirationModal-DjD-NR3h.js} +2 -2
- package/components/{CashierSessionExpirationModal-D9nG3lIk.js → CashierSessionExpirationModal-Dls8s3Yw.js} +2 -2
- package/components/{CashierSpinner-BYUcQY9I.cjs → CashierSpinner-3BitwvFm.cjs} +1 -1
- package/components/{CashierSpinner-B6GXes-1.js → CashierSpinner-D-eus2YU.js} +2 -2
- package/components/{CashierSpinner-cjtAQFKh.js → CashierSpinner-Duh460SY.js} +2 -2
- package/components/{CashierStepUp-roW6vSqX.js → CashierStepUp-B_XSUUrM.js} +2 -2
- package/components/{CashierStepUp-VfhTY3CX.js → CashierStepUp-CuAGEdgu.js} +2 -2
- package/components/{CashierStepUp-D0vnfZoa.cjs → CashierStepUp-CyQMkF5q.cjs} +1 -1
- package/components/{CashierTransactionHistory-D0HsBTjL.js → CashierTransactionHistory-BhTd-M65.js} +5 -5
- package/components/{CashierTransactionHistory-BYu1r0mg.cjs → CashierTransactionHistory-C5Qaow2I.cjs} +1 -1
- package/components/{CashierTransactionHistory-CKfzFY6T.js → CashierTransactionHistory-CrhWSl5G.js} +5 -5
- package/components/{CashierVerifications-TNAyqFe7.cjs → CashierVerifications-3Aj_AOJL.cjs} +1 -1
- package/components/{CashierVerifications-BLoNEXGR.js → CashierVerifications-BeONbfQW.js} +6 -6
- package/components/{CashierVerifications-BjKcKMFL.js → CashierVerifications-BnAkS_12.js} +6 -6
- package/components/{TxnStatusIcon-aTcNgyC-.cjs → TxnStatusIcon-CF0Vv9E9.cjs} +1 -1
- package/components/{TxnStatusIcon-CA6WI_wW.js → TxnStatusIcon-CZH3zAJo.js} +1 -1
- package/components/{TxnStatusIcon-Dq5CNxeh.js → TxnStatusIcon-C_GY2E8J.js} +1 -1
- package/components/{TxnTypeIcons-CcZcJGfX.cjs → TxnTypeIcons-BiEcSLcf.cjs} +1 -1
- package/components/{TxnTypeIcons-F1CgXgzM.js → TxnTypeIcons-Cu3j2gZ9.js} +1 -1
- package/components/{TxnTypeIcons-CqDoJkqm.js → TxnTypeIcons-Dz2R0jV5.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-D8fstPgf.cjs +0 -1
- package/components/CashierCarousel-DynXfcQe.js +0 -671
- package/components/CashierCarousel-ti976axe.js +0 -674
- package/components/CashierMethodDetails-BcCMtcx1.cjs +0 -85
- package/components/CashierMethodDetails-DOtOJbKT.js +0 -10783
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { f as
|
|
3
|
-
import { s as
|
|
4
|
-
function
|
|
5
|
-
|
|
1
|
+
import { a as J1, i as $1, $ as ee, S as te, b as ne, s as ie, f as L, d as ae, z as d1, g as h, l as w, n as m, p as l, q as oe, M as L1, N as se, r as re, K as le, I as ce, Z as P1, y as W1, C as H1, h as I1, a8 as ue, t as pe, a9 as de, m as c, o as k, ac as fe, H as Ce, ad as me, w as R, x, O as T, F as ge, A as x1, v as B1, D as D1, E as Q1, P as E, J as z1, c as he, B as we } from "./CashierPage-CL1U4qxB.js";
|
|
2
|
+
import { f as A1 } from "./CashierSessionExpirationModal-DjD-NR3h.js";
|
|
3
|
+
import { s as be, a as ye, b as ve } from "./CashierHeader-4Xfink5m.js";
|
|
4
|
+
function Z1(i, e) {
|
|
5
|
+
J1(i, e);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
function _e(i) {
|
|
8
|
+
$1({
|
|
9
9
|
fallbackLocale: "en"
|
|
10
|
-
}),
|
|
10
|
+
}), ee.set(i);
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const j1 = {
|
|
13
13
|
en: {
|
|
14
14
|
amount: "Amount",
|
|
15
15
|
status: "Status",
|
|
@@ -286,7 +286,7 @@ const Z1 = {
|
|
|
286
286
|
uploadDocuments: "Télécharger des documents",
|
|
287
287
|
goToHomepage: "Aller à la page d’accueil"
|
|
288
288
|
}
|
|
289
|
-
},
|
|
289
|
+
}, ke = (i, e) => `${i + xe[e]}`, Te = (i, e) => `${Me[e]}.${X1[i]}.text`, Re = (i) => `${X1[`${i}`]}`, xe = {
|
|
290
290
|
Success: "/txn-success.png",
|
|
291
291
|
Voided: "/txn-success.png",
|
|
292
292
|
Rejected: "/txn-failed.png",
|
|
@@ -298,10 +298,10 @@ const Z1 = {
|
|
|
298
298
|
PendingApprovalStage2: "/txn-pending.png",
|
|
299
299
|
PendingApprovalStage3: "/txn-pending.png",
|
|
300
300
|
PendingOfflineNotification: "/txn-pending.png"
|
|
301
|
-
},
|
|
301
|
+
}, Me = {
|
|
302
302
|
Deposit: "deposit",
|
|
303
303
|
Withdraw: "withdrawal"
|
|
304
|
-
},
|
|
304
|
+
}, X1 = {
|
|
305
305
|
Success: "success",
|
|
306
306
|
Voided: "success",
|
|
307
307
|
Rejected: "reject",
|
|
@@ -313,7 +313,7 @@ const Z1 = {
|
|
|
313
313
|
PendingApprovalStage3: "pending",
|
|
314
314
|
PendingApprovalStage2: "pending",
|
|
315
315
|
PendingOfflineNotification: "pending"
|
|
316
|
-
},
|
|
316
|
+
}, V1 = {
|
|
317
317
|
CasinoButton: `<svg viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
318
318
|
<path d="M15.8233 3.85297C16.0588 3.88497 16.2962 3.90865 16.5298 3.95089C18.1241 4.24081 19.4188 5.01137 20.3583 6.34705C20.4076 6.41681 20.462 6.42449 20.5343 6.42449C21.9673 6.42321 23.4002 6.42385 24.8338 6.42385C24.8825 6.42385 24.9311 6.42385 24.9868 6.42385C24.9868 7.45297 24.9868 8.47185 24.9868 9.49841C18.6098 9.49841 12.2374 9.49841 5.85657 9.49841C5.85657 8.47313 5.85657 7.45489 5.85657 6.42385C5.91545 6.42385 5.96793 6.42385 6.02041 6.42385C7.44953 6.42385 8.87865 6.42321 10.3071 6.42641C10.4012 6.42641 10.453 6.39569 10.5062 6.32017C11.381 5.08369 12.5778 4.33361 14.0454 4.00529C14.341 3.93937 14.647 3.91569 14.9478 3.87217C14.9759 3.86833 15.0034 3.85937 15.031 3.85297C15.2966 3.85297 15.5596 3.85297 15.8233 3.85297ZM13.9359 6.34449C14.1062 6.53201 14.247 6.71185 14.4127 6.86417C14.5766 7.01457 14.6162 7.17649 14.5759 7.38897C14.535 7.60465 14.5292 7.82673 14.5062 8.06609C14.7878 7.94449 15.0489 7.83697 15.3055 7.71857C15.3932 7.67825 15.4636 7.68209 15.5494 7.72113C15.8066 7.83825 16.0678 7.94705 16.343 8.06609C16.3122 7.76593 16.286 7.48369 16.2527 7.20273C16.2431 7.12337 16.254 7.06513 16.3122 7.00369C16.4799 6.82833 16.6406 6.64529 16.8031 6.46481C16.8345 6.43025 16.8633 6.39377 16.9068 6.34193C16.5951 6.27537 16.3058 6.21649 16.0191 6.14929C15.9705 6.13777 15.9148 6.09937 15.8886 6.05713C15.7535 5.84081 15.6268 5.61937 15.4962 5.39985C15.4745 5.36337 15.4502 5.32817 15.4207 5.28337C15.2646 5.54705 15.1218 5.79729 14.9682 6.04049C14.9362 6.09169 14.8697 6.13841 14.8108 6.15249C14.5286 6.22097 14.2431 6.27793 13.9359 6.34449Z" />
|
|
319
319
|
<path d="M24.9957 10.8303C24.9957 13.965 24.9957 17.0933 24.9957 20.2351C25.2908 20.2351 25.5768 20.2351 25.8725 20.2351C25.8725 20.6587 25.8725 21.069 25.8725 21.4901C26.0972 21.4901 26.3122 21.4901 26.5407 21.4901C26.5407 21.4376 26.5407 21.3896 26.5407 21.341C26.5407 17.5029 26.5407 13.6648 26.5426 9.82675C26.5426 9.73459 26.5157 9.67955 26.4408 9.62387C25.902 9.22387 25.7349 8.51411 26.0325 7.91251C26.3199 7.33075 27.0002 7.03123 27.6268 7.20915C28.2687 7.39155 28.6872 8.00019 28.6194 8.66387C28.5784 9.06003 28.3967 9.38451 28.0748 9.62195C27.9986 9.67827 27.9743 9.73395 27.9743 9.82419C27.9762 14.1359 27.9762 18.4475 27.9762 22.7592C27.9762 22.8117 27.9762 22.8648 27.9762 22.9314C27.2754 22.9314 26.5861 22.9314 25.8828 22.9314C25.8828 23.3583 25.8828 23.7723 25.8828 24.2011C25.5832 24.2011 25.2972 24.2011 25.0028 24.2011C25.0028 25.3794 25.0028 26.5423 25.0028 27.7199C25.3324 27.7199 25.6594 27.7199 25.9928 27.7199C25.9928 28.2018 25.9928 28.6696 25.9928 29.1471C18.9484 29.1471 11.9052 29.1471 4.85492 29.1471C4.85492 28.6773 4.85492 28.2095 4.85492 27.7256C5.1794 27.7256 5.5058 27.7256 5.845 27.7256C5.845 22.0859 5.845 16.4629 5.845 10.8309C12.2316 10.8303 18.604 10.8303 24.9957 10.8303ZM23.5551 12.2651C18.1266 12.2651 12.7103 12.2651 7.29268 12.2651C7.29268 15.0933 7.29268 17.9125 7.29268 20.7387C12.7167 20.7387 18.1336 20.7387 23.5551 20.7387C23.5551 17.9112 23.5551 15.092 23.5551 12.2651ZM8.28404 23.3679C13.0482 23.3679 17.8047 23.3679 22.5618 23.3679C22.5618 22.9301 22.5618 22.5 22.5618 22.0725C17.797 22.0725 13.0399 22.0725 8.28404 22.0725C8.28404 22.5103 8.28404 22.9365 8.28404 23.3679ZM18.9138 24.7087C16.581 24.7087 14.2629 24.7087 11.9346 24.7087C12.0063 25.3672 12.0767 26.0117 12.1471 26.6556C14.3391 26.6556 16.5157 26.6556 18.7032 26.6556C18.773 26.0059 18.8428 25.3608 18.9138 24.7087Z" />
|
|
@@ -347,66 +347,66 @@ const Z1 = {
|
|
|
347
347
|
</svg>`
|
|
348
348
|
};
|
|
349
349
|
function Se(i) {
|
|
350
|
-
|
|
350
|
+
ae(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)}');
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function E1(i, e, t) {
|
|
353
353
|
const n = i.slice();
|
|
354
354
|
return n[70] = e[t], n[72] = t, n;
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function N1(i, e, t) {
|
|
357
357
|
const n = i.slice();
|
|
358
358
|
return n[73] = e[t], n;
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
let e, t, n =
|
|
360
|
+
function Le(i) {
|
|
361
|
+
let e, t, n = H1(
|
|
362
362
|
/*userAgent*/
|
|
363
363
|
i[25]
|
|
364
364
|
) && /*showverifications*/
|
|
365
365
|
i[9] && /*displayVerifications*/
|
|
366
|
-
i[22], a,
|
|
366
|
+
i[22], a, s = (
|
|
367
367
|
/*copied*/
|
|
368
|
-
i[23] &&
|
|
369
|
-
),
|
|
368
|
+
i[23] && Y1(i)
|
|
369
|
+
), o = n && K1(i);
|
|
370
370
|
function p(u, g) {
|
|
371
371
|
if (
|
|
372
372
|
/*txnInfo*/
|
|
373
373
|
u[15]
|
|
374
374
|
)
|
|
375
|
-
return
|
|
375
|
+
return Pe;
|
|
376
376
|
if (
|
|
377
377
|
/*errorResponseCode*/
|
|
378
378
|
u[19] && !/*showErrorOutsideReceiptPage*/
|
|
379
379
|
u[20]
|
|
380
380
|
)
|
|
381
|
-
return
|
|
381
|
+
return Be;
|
|
382
382
|
}
|
|
383
383
|
let d = p(i), f = d && d(i);
|
|
384
384
|
return {
|
|
385
385
|
c() {
|
|
386
|
-
|
|
386
|
+
s && s.c(), e = k(), t = m("div"), o && o.c(), a = k(), f && f.c(), l(t, "class", "CashierReceiptPage");
|
|
387
387
|
},
|
|
388
388
|
m(u, g) {
|
|
389
|
-
|
|
389
|
+
s && s.m(u, g), w(u, e, g), w(u, t, g), o && o.m(t, null), c(t, a), f && f.m(t, null);
|
|
390
390
|
},
|
|
391
391
|
p(u, g) {
|
|
392
392
|
/*copied*/
|
|
393
|
-
u[23] ?
|
|
394
|
-
8388608 && I1(
|
|
395
|
-
|
|
396
|
-
}),
|
|
397
|
-
4194816 && (n =
|
|
393
|
+
u[23] ? s ? (s.p(u, g), g[0] & /*copied*/
|
|
394
|
+
8388608 && I1(s, 1)) : (s = Y1(u), s.c(), I1(s, 1), s.m(e.parentNode, e)) : s && (ue(), pe(s, 1, 1, () => {
|
|
395
|
+
s = null;
|
|
396
|
+
}), de()), g[0] & /*showverifications, displayVerifications*/
|
|
397
|
+
4194816 && (n = H1(
|
|
398
398
|
/*userAgent*/
|
|
399
399
|
u[25]
|
|
400
400
|
) && /*showverifications*/
|
|
401
401
|
u[9] && /*displayVerifications*/
|
|
402
|
-
u[22]), n ?
|
|
402
|
+
u[22]), n ? o ? o.p(u, g) : (o = K1(u), o.c(), o.m(t, a)) : o && (o.d(1), o = null), d === (d = p(u)) && f ? f.p(u, g) : (f && f.d(1), f = d && d(u), f && (f.c(), f.m(t, null)));
|
|
403
403
|
},
|
|
404
404
|
d(u) {
|
|
405
|
-
u && (h(e), h(t)),
|
|
405
|
+
u && (h(e), h(t)), s && s.d(u), o && o.d(), f && f.d();
|
|
406
406
|
}
|
|
407
407
|
};
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function De(i) {
|
|
410
410
|
let e;
|
|
411
411
|
return {
|
|
412
412
|
c() {
|
|
@@ -415,77 +415,77 @@ function Le(i) {
|
|
|
415
415
|
m(t, n) {
|
|
416
416
|
w(t, e, n);
|
|
417
417
|
},
|
|
418
|
-
p:
|
|
418
|
+
p: d1,
|
|
419
419
|
d(t) {
|
|
420
420
|
t && h(e);
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function Y1(i) {
|
|
425
425
|
let e, t = (
|
|
426
426
|
/*$_*/
|
|
427
427
|
i[24]("copyTransactionId") + ""
|
|
428
|
-
), n, a,
|
|
428
|
+
), n, a, s, o;
|
|
429
429
|
return {
|
|
430
430
|
c() {
|
|
431
|
-
e = m("div"), n =
|
|
431
|
+
e = m("div"), n = x(t), l(e, "class", "CopyTooltip");
|
|
432
432
|
},
|
|
433
433
|
m(p, d) {
|
|
434
|
-
w(p, e, d), c(e, n),
|
|
434
|
+
w(p, e, d), c(e, n), o = !0;
|
|
435
435
|
},
|
|
436
436
|
p(p, d) {
|
|
437
|
-
(!
|
|
437
|
+
(!o || d[0] & /*$_*/
|
|
438
438
|
16777216) && t !== (t = /*$_*/
|
|
439
|
-
p[24]("copyTransactionId") + "") &&
|
|
439
|
+
p[24]("copyTransactionId") + "") && R(n, t);
|
|
440
440
|
},
|
|
441
441
|
i(p) {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
}),
|
|
442
|
+
o || (p && Ce(() => {
|
|
443
|
+
o && (s && s.end(1), a = me(e, A1, { duration: 100 }), a.start());
|
|
444
|
+
}), o = !0);
|
|
445
445
|
},
|
|
446
446
|
o(p) {
|
|
447
|
-
a && a.invalidate(), p && (
|
|
447
|
+
a && a.invalidate(), p && (s = fe(e, A1, { duration: 1e3 })), o = !1;
|
|
448
448
|
},
|
|
449
449
|
d(p) {
|
|
450
|
-
p && h(e), p &&
|
|
450
|
+
p && h(e), p && s && s.end();
|
|
451
451
|
}
|
|
452
452
|
};
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function K1(i) {
|
|
455
455
|
let e;
|
|
456
456
|
return {
|
|
457
457
|
c() {
|
|
458
|
-
e = m("cashier-verifications"),
|
|
458
|
+
e = m("cashier-verifications"), T(
|
|
459
459
|
e,
|
|
460
460
|
"lang",
|
|
461
461
|
/*lang*/
|
|
462
462
|
i[3]
|
|
463
|
-
),
|
|
463
|
+
), T(
|
|
464
464
|
e,
|
|
465
465
|
"translationurl",
|
|
466
466
|
/*translationurl*/
|
|
467
467
|
i[4]
|
|
468
|
-
),
|
|
468
|
+
), T(
|
|
469
469
|
e,
|
|
470
470
|
"endpoint",
|
|
471
471
|
/*endpoint*/
|
|
472
472
|
i[1]
|
|
473
|
-
),
|
|
473
|
+
), T(
|
|
474
474
|
e,
|
|
475
475
|
"clientstylingurl",
|
|
476
476
|
/*clientstylingurl*/
|
|
477
477
|
i[8]
|
|
478
|
-
),
|
|
478
|
+
), T(
|
|
479
479
|
e,
|
|
480
480
|
"clientstyling",
|
|
481
481
|
/*clientstyling*/
|
|
482
482
|
i[7]
|
|
483
|
-
),
|
|
483
|
+
), T(
|
|
484
484
|
e,
|
|
485
485
|
"customerid",
|
|
486
486
|
/*customerid*/
|
|
487
487
|
i[6]
|
|
488
|
-
),
|
|
488
|
+
), T(
|
|
489
489
|
e,
|
|
490
490
|
"playersession",
|
|
491
491
|
/*session*/
|
|
@@ -497,43 +497,43 @@ function Y1(i) {
|
|
|
497
497
|
},
|
|
498
498
|
p(t, n) {
|
|
499
499
|
n[0] & /*lang*/
|
|
500
|
-
8 &&
|
|
500
|
+
8 && T(
|
|
501
501
|
e,
|
|
502
502
|
"lang",
|
|
503
503
|
/*lang*/
|
|
504
504
|
t[3]
|
|
505
505
|
), n[0] & /*translationurl*/
|
|
506
|
-
16 &&
|
|
506
|
+
16 && T(
|
|
507
507
|
e,
|
|
508
508
|
"translationurl",
|
|
509
509
|
/*translationurl*/
|
|
510
510
|
t[4]
|
|
511
511
|
), n[0] & /*endpoint*/
|
|
512
|
-
2 &&
|
|
512
|
+
2 && T(
|
|
513
513
|
e,
|
|
514
514
|
"endpoint",
|
|
515
515
|
/*endpoint*/
|
|
516
516
|
t[1]
|
|
517
517
|
), n[0] & /*clientstylingurl*/
|
|
518
|
-
256 &&
|
|
518
|
+
256 && T(
|
|
519
519
|
e,
|
|
520
520
|
"clientstylingurl",
|
|
521
521
|
/*clientstylingurl*/
|
|
522
522
|
t[8]
|
|
523
523
|
), n[0] & /*clientstyling*/
|
|
524
|
-
128 &&
|
|
524
|
+
128 && T(
|
|
525
525
|
e,
|
|
526
526
|
"clientstyling",
|
|
527
527
|
/*clientstyling*/
|
|
528
528
|
t[7]
|
|
529
529
|
), n[0] & /*customerid*/
|
|
530
|
-
64 &&
|
|
530
|
+
64 && T(
|
|
531
531
|
e,
|
|
532
532
|
"customerid",
|
|
533
533
|
/*customerid*/
|
|
534
534
|
t[6]
|
|
535
535
|
), n[0] & /*session*/
|
|
536
|
-
4 &&
|
|
536
|
+
4 && T(
|
|
537
537
|
e,
|
|
538
538
|
"playersession",
|
|
539
539
|
/*session*/
|
|
@@ -545,40 +545,40 @@ function Y1(i) {
|
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function Be(i) {
|
|
549
549
|
let e, t = (
|
|
550
550
|
/*errorResponseCode*/
|
|
551
551
|
i[19] === /*ResponseCode*/
|
|
552
|
-
i[13].Maintenance &&
|
|
552
|
+
i[13].Maintenance && U1(i)
|
|
553
553
|
);
|
|
554
554
|
return {
|
|
555
555
|
c() {
|
|
556
|
-
e = m("cashier-error"), t && t.c(),
|
|
556
|
+
e = m("cashier-error"), t && t.c(), T(
|
|
557
557
|
e,
|
|
558
558
|
"assetsurl",
|
|
559
559
|
/*assetsurl*/
|
|
560
560
|
i[5]
|
|
561
|
-
),
|
|
561
|
+
), T(
|
|
562
562
|
e,
|
|
563
563
|
"translationurl",
|
|
564
564
|
/*translationurl*/
|
|
565
565
|
i[4]
|
|
566
|
-
),
|
|
566
|
+
), T(
|
|
567
567
|
e,
|
|
568
568
|
"clientstylingurl",
|
|
569
569
|
/*clientstylingurl*/
|
|
570
570
|
i[8]
|
|
571
|
-
),
|
|
571
|
+
), T(
|
|
572
572
|
e,
|
|
573
573
|
"clientstyling",
|
|
574
574
|
/*clientstyling*/
|
|
575
575
|
i[7]
|
|
576
|
-
),
|
|
576
|
+
), T(
|
|
577
577
|
e,
|
|
578
578
|
"lang",
|
|
579
579
|
/*lang*/
|
|
580
580
|
i[3]
|
|
581
|
-
),
|
|
581
|
+
), T(e, "hidebuttons", "true"), T(
|
|
582
582
|
e,
|
|
583
583
|
"errorcode",
|
|
584
584
|
/*errorResponseCode*/
|
|
@@ -591,38 +591,38 @@ function De(i) {
|
|
|
591
591
|
p(n, a) {
|
|
592
592
|
/*errorResponseCode*/
|
|
593
593
|
n[19] === /*ResponseCode*/
|
|
594
|
-
n[13].Maintenance ? t ? t.p(n, a) : (t =
|
|
595
|
-
32 &&
|
|
594
|
+
n[13].Maintenance ? t ? t.p(n, a) : (t = U1(n), t.c(), t.m(e, null)) : t && (t.d(1), t = null), a[0] & /*assetsurl*/
|
|
595
|
+
32 && T(
|
|
596
596
|
e,
|
|
597
597
|
"assetsurl",
|
|
598
598
|
/*assetsurl*/
|
|
599
599
|
n[5]
|
|
600
600
|
), a[0] & /*translationurl*/
|
|
601
|
-
16 &&
|
|
601
|
+
16 && T(
|
|
602
602
|
e,
|
|
603
603
|
"translationurl",
|
|
604
604
|
/*translationurl*/
|
|
605
605
|
n[4]
|
|
606
606
|
), a[0] & /*clientstylingurl*/
|
|
607
|
-
256 &&
|
|
607
|
+
256 && T(
|
|
608
608
|
e,
|
|
609
609
|
"clientstylingurl",
|
|
610
610
|
/*clientstylingurl*/
|
|
611
611
|
n[8]
|
|
612
612
|
), a[0] & /*clientstyling*/
|
|
613
|
-
128 &&
|
|
613
|
+
128 && T(
|
|
614
614
|
e,
|
|
615
615
|
"clientstyling",
|
|
616
616
|
/*clientstyling*/
|
|
617
617
|
n[7]
|
|
618
618
|
), a[0] & /*lang*/
|
|
619
|
-
8 &&
|
|
619
|
+
8 && T(
|
|
620
620
|
e,
|
|
621
621
|
"lang",
|
|
622
622
|
/*lang*/
|
|
623
623
|
n[3]
|
|
624
624
|
), a[0] & /*errorResponseCode*/
|
|
625
|
-
524288 &&
|
|
625
|
+
524288 && T(
|
|
626
626
|
e,
|
|
627
627
|
"errorcode",
|
|
628
628
|
/*errorResponseCode*/
|
|
@@ -634,34 +634,34 @@ function De(i) {
|
|
|
634
634
|
}
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
|
-
function
|
|
638
|
-
let e, t, n, a,
|
|
637
|
+
function Pe(i) {
|
|
638
|
+
let e, t, n, a, s, o = (
|
|
639
639
|
/*$_*/
|
|
640
640
|
i[24]("amount") + ""
|
|
641
641
|
), p, d, f, u, g, y, b, v = (
|
|
642
642
|
/*$_*/
|
|
643
643
|
i[24]("status") + ""
|
|
644
|
-
),
|
|
644
|
+
), P, U, j, V = (
|
|
645
645
|
/*$_*/
|
|
646
646
|
i[24](`${/*txnStatus*/
|
|
647
647
|
i[21]}`) + ""
|
|
648
|
-
),
|
|
648
|
+
), N, Y, a1, S, H, X = (
|
|
649
649
|
/*$_*/
|
|
650
650
|
i[24]("transactionId") + ""
|
|
651
|
-
), o1,
|
|
651
|
+
), o1, f1, O, s1 = (
|
|
652
652
|
/*txnInfo*/
|
|
653
653
|
i[15].referenceId + ""
|
|
654
|
-
),
|
|
654
|
+
), C1, m1, q, J, M = (
|
|
655
655
|
/*$_*/
|
|
656
656
|
i[24]("payemntMethod") + ""
|
|
657
|
-
), y1,
|
|
657
|
+
), y1, M1, D, r1, v1, A, $, e1 = (
|
|
658
658
|
/*$_*/
|
|
659
659
|
i[24]("paymentTime") + ""
|
|
660
|
-
),
|
|
660
|
+
), l1, c1, _1, u1 = L1(
|
|
661
661
|
/*txnInfo*/
|
|
662
662
|
i[15].time
|
|
663
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "",
|
|
664
|
-
function
|
|
663
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "", g1, t1, n1, h1, Q, k1, p1, w1, T1;
|
|
664
|
+
function R1(C, _) {
|
|
665
665
|
if (
|
|
666
666
|
/*txnStatus*/
|
|
667
667
|
C[21] === "success"
|
|
@@ -671,126 +671,126 @@ function Be(i) {
|
|
|
671
671
|
/*txnStatus*/
|
|
672
672
|
C[21] === "pending"
|
|
673
673
|
)
|
|
674
|
-
return
|
|
674
|
+
return He;
|
|
675
675
|
if (
|
|
676
676
|
/*txnStatus*/
|
|
677
677
|
C[21] === "failed" || /*txnStatus*/
|
|
678
678
|
C[21] === "rejected" || /*txnStatus*/
|
|
679
679
|
C[21] === "canceled"
|
|
680
680
|
)
|
|
681
|
-
return
|
|
681
|
+
return We;
|
|
682
682
|
}
|
|
683
|
-
let
|
|
683
|
+
let G = R1(i), I = G && G(i), z = (
|
|
684
684
|
/*displayedButtons*/
|
|
685
|
-
i[12].length > 0 &&
|
|
685
|
+
i[12].length > 0 && O1(i)
|
|
686
686
|
);
|
|
687
|
-
function S1(C,
|
|
687
|
+
function S1(C, _) {
|
|
688
688
|
return (
|
|
689
689
|
/*txnInfo*/
|
|
690
|
-
C[15].type ?
|
|
690
|
+
C[15].type ? Ae : ze
|
|
691
691
|
);
|
|
692
692
|
}
|
|
693
|
-
let b1 = S1(i),
|
|
693
|
+
let b1 = S1(i), K = b1(i), Z = (
|
|
694
694
|
/*receiptFields*/
|
|
695
|
-
i[16].length &&
|
|
695
|
+
i[16].length && G1(i)
|
|
696
696
|
);
|
|
697
697
|
return {
|
|
698
698
|
c() {
|
|
699
|
-
e = m("div"),
|
|
699
|
+
e = m("div"), I && I.c(), t = k(), n = m("div"), a = m("div"), s = m("p"), p = x(o), d = k(), f = m("span"), u = x(
|
|
700
700
|
/*amount*/
|
|
701
701
|
i[17]
|
|
702
|
-
), g =
|
|
702
|
+
), g = k(), y = m("div"), b = m("p"), P = x(v), U = k(), j = m("span"), N = x(V), a1 = k(), S = m("div"), H = m("p"), o1 = x(X), f1 = k(), O = m("span"), C1 = x(s1), m1 = k(), q = m("div"), J = m("p"), y1 = x(M), M1 = k(), D = m("span"), r1 = x(
|
|
703
703
|
/*paymentmethod*/
|
|
704
704
|
i[0]
|
|
705
|
-
),
|
|
706
|
-
i[21]}`), l(
|
|
705
|
+
), v1 = k(), A = m("div"), $ = m("p"), l1 = x(e1), c1 = k(), _1 = m("span"), g1 = x(u1), t1 = k(), n1 = m("div"), z && z.c(), h1 = k(), Q = m("button"), K.c(), k1 = k(), Z && Z.c(), p1 = B1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", Y = `Status ${/*txnStatus*/
|
|
706
|
+
i[21]}`), l(O, "class", "TxnIdText"), l(S, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(n1, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
|
|
707
707
|
},
|
|
708
|
-
m(C,
|
|
709
|
-
w(C, e,
|
|
710
|
-
|
|
711
|
-
|
|
708
|
+
m(C, _) {
|
|
709
|
+
w(C, e, _), I && I.m(e, null), w(C, t, _), w(C, n, _), c(n, a), c(a, s), c(s, p), c(a, d), c(a, f), c(f, u), c(n, g), c(n, y), c(y, b), c(b, P), c(y, U), c(y, j), c(j, N), c(n, a1), c(n, S), c(S, H), c(H, o1), c(S, f1), c(S, O), c(O, C1), c(n, m1), c(n, q), c(q, J), c(J, y1), c(q, M1), c(q, D), c(D, r1), c(n, v1), c(n, A), c(A, $), c($, l1), c(A, c1), c(A, _1), c(_1, g1), w(C, t1, _), w(C, n1, _), z && z.m(n1, null), w(C, h1, _), w(C, Q, _), K.m(Q, null), w(C, k1, _), Z && Z.m(C, _), w(C, p1, _), w1 || (T1 = [
|
|
710
|
+
x1(
|
|
711
|
+
O,
|
|
712
712
|
"click",
|
|
713
713
|
/*click_handler*/
|
|
714
714
|
i[45]
|
|
715
715
|
),
|
|
716
|
-
|
|
716
|
+
x1(
|
|
717
717
|
Q,
|
|
718
718
|
"click",
|
|
719
719
|
/*closeReceipt*/
|
|
720
720
|
i[26]
|
|
721
721
|
)
|
|
722
|
-
],
|
|
722
|
+
], w1 = !0);
|
|
723
723
|
},
|
|
724
|
-
p(C,
|
|
725
|
-
|
|
726
|
-
16777216 &&
|
|
727
|
-
C[24]("amount") + "") &&
|
|
728
|
-
131072 &&
|
|
724
|
+
p(C, _) {
|
|
725
|
+
G === (G = R1(C)) && I ? I.p(C, _) : (I && I.d(1), I = G && G(C), I && (I.c(), I.m(e, null))), _[0] & /*$_*/
|
|
726
|
+
16777216 && o !== (o = /*$_*/
|
|
727
|
+
C[24]("amount") + "") && R(p, o), _[0] & /*amount*/
|
|
728
|
+
131072 && R(
|
|
729
729
|
u,
|
|
730
730
|
/*amount*/
|
|
731
731
|
C[17]
|
|
732
|
-
),
|
|
732
|
+
), _[0] & /*$_*/
|
|
733
733
|
16777216 && v !== (v = /*$_*/
|
|
734
|
-
C[24]("status") + "") &&
|
|
735
|
-
18874368 &&
|
|
734
|
+
C[24]("status") + "") && R(P, v), _[0] & /*$_, txnStatus*/
|
|
735
|
+
18874368 && V !== (V = /*$_*/
|
|
736
736
|
C[24](`${/*txnStatus*/
|
|
737
|
-
C[21]}`) + "") &&
|
|
738
|
-
2097152 &&
|
|
739
|
-
C[21]}`) && l(y, "class",
|
|
740
|
-
16777216 &&
|
|
741
|
-
C[24]("transactionId") + "") &&
|
|
737
|
+
C[21]}`) + "") && R(N, V), _[0] & /*txnStatus*/
|
|
738
|
+
2097152 && Y !== (Y = `Status ${/*txnStatus*/
|
|
739
|
+
C[21]}`) && l(y, "class", Y), _[0] & /*$_*/
|
|
740
|
+
16777216 && X !== (X = /*$_*/
|
|
741
|
+
C[24]("transactionId") + "") && R(o1, X), _[0] & /*txnInfo*/
|
|
742
742
|
32768 && s1 !== (s1 = /*txnInfo*/
|
|
743
|
-
C[15].referenceId + "") &&
|
|
744
|
-
16777216 &&
|
|
745
|
-
C[24]("payemntMethod") + "") &&
|
|
746
|
-
1 &&
|
|
747
|
-
|
|
743
|
+
C[15].referenceId + "") && R(C1, s1), _[0] & /*$_*/
|
|
744
|
+
16777216 && M !== (M = /*$_*/
|
|
745
|
+
C[24]("payemntMethod") + "") && R(y1, M), _[0] & /*paymentmethod*/
|
|
746
|
+
1 && R(
|
|
747
|
+
r1,
|
|
748
748
|
/*paymentmethod*/
|
|
749
749
|
C[0]
|
|
750
|
-
),
|
|
751
|
-
16777216 &&
|
|
752
|
-
C[24]("paymentTime") + "") &&
|
|
753
|
-
32768 &&
|
|
750
|
+
), _[0] & /*$_*/
|
|
751
|
+
16777216 && e1 !== (e1 = /*$_*/
|
|
752
|
+
C[24]("paymentTime") + "") && R(l1, e1), _[0] & /*txnInfo*/
|
|
753
|
+
32768 && u1 !== (u1 = L1(
|
|
754
754
|
/*txnInfo*/
|
|
755
755
|
C[15].time
|
|
756
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "") &&
|
|
757
|
-
C[12].length > 0 ?
|
|
758
|
-
C[16].length ?
|
|
756
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "") && R(g1, u1), /*displayedButtons*/
|
|
757
|
+
C[12].length > 0 ? z ? z.p(C, _) : (z = O1(C), z.c(), z.m(n1, null)) : z && (z.d(1), z = null), b1 === (b1 = S1(C)) && K ? K.p(C, _) : (K.d(1), K = b1(C), K && (K.c(), K.m(Q, null))), /*receiptFields*/
|
|
758
|
+
C[16].length ? Z ? Z.p(C, _) : (Z = G1(C), Z.c(), Z.m(p1.parentNode, p1)) : Z && (Z.d(1), Z = null);
|
|
759
759
|
},
|
|
760
760
|
d(C) {
|
|
761
|
-
C && (h(e), h(t), h(n), h(
|
|
761
|
+
C && (h(e), h(t), h(n), h(t1), h(n1), h(h1), h(Q), h(k1), h(p1)), I && I.d(), z && z.d(), K.d(), Z && Z.d(C), w1 = !1, ge(T1);
|
|
762
762
|
}
|
|
763
763
|
};
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function U1(i) {
|
|
766
766
|
let e, t, n, a = (
|
|
767
767
|
/*$_*/
|
|
768
768
|
i[24]("receipt.maintenance.title") + ""
|
|
769
|
-
),
|
|
769
|
+
), s, o, p, d = (
|
|
770
770
|
/*$_*/
|
|
771
771
|
i[24]("receipt.maintenance.text") + ""
|
|
772
772
|
), f;
|
|
773
773
|
return {
|
|
774
774
|
c() {
|
|
775
|
-
e = m("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t =
|
|
775
|
+
e = m("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = m("span"), s = x(a), o = k(), p = m("span"), f = x(d), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(p, "slot", "text"), l(p, "class", "CashierErrorText");
|
|
776
776
|
},
|
|
777
777
|
m(u, g) {
|
|
778
|
-
w(u, e, g), w(u, t, g), w(u, n, g), c(n,
|
|
778
|
+
w(u, e, g), w(u, t, g), w(u, n, g), c(n, s), w(u, o, g), w(u, p, g), c(p, f);
|
|
779
779
|
},
|
|
780
780
|
p(u, g) {
|
|
781
781
|
g[0] & /*$_*/
|
|
782
782
|
16777216 && a !== (a = /*$_*/
|
|
783
|
-
u[24]("receipt.maintenance.title") + "") &&
|
|
783
|
+
u[24]("receipt.maintenance.title") + "") && R(s, a), g[0] & /*$_*/
|
|
784
784
|
16777216 && d !== (d = /*$_*/
|
|
785
|
-
u[24]("receipt.maintenance.text") + "") &&
|
|
785
|
+
u[24]("receipt.maintenance.text") + "") && R(f, d);
|
|
786
786
|
},
|
|
787
787
|
d(u) {
|
|
788
|
-
u && (h(e), h(t), h(n), h(
|
|
788
|
+
u && (h(e), h(t), h(n), h(o), h(p));
|
|
789
789
|
}
|
|
790
790
|
};
|
|
791
791
|
}
|
|
792
|
-
function
|
|
793
|
-
let e, t, n, a,
|
|
792
|
+
function We(i) {
|
|
793
|
+
let e, t, n, a, s, o, p, d = (
|
|
794
794
|
/*$_*/
|
|
795
795
|
i[24](`${/*txnInfo*/
|
|
796
796
|
i[15].type.toLowerCase()}.fail.title`) + ""
|
|
@@ -801,27 +801,27 @@ function Pe(i) {
|
|
|
801
801
|
), b;
|
|
802
802
|
return {
|
|
803
803
|
c() {
|
|
804
|
-
e =
|
|
804
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = k(), o = m("div"), p = m("h3"), f = x(d), u = k(), g = m("p"), b = x(y), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
|
|
805
805
|
},
|
|
806
|
-
m(v,
|
|
807
|
-
w(v, e,
|
|
806
|
+
m(v, P) {
|
|
807
|
+
w(v, e, P), c(e, t), c(e, n), c(e, a), w(v, s, P), w(v, o, P), c(o, p), c(p, f), c(o, u), c(o, g), c(g, b);
|
|
808
808
|
},
|
|
809
|
-
p(v,
|
|
810
|
-
|
|
809
|
+
p(v, P) {
|
|
810
|
+
P[0] & /*$_, txnInfo*/
|
|
811
811
|
16809984 && d !== (d = /*$_*/
|
|
812
812
|
v[24](`${/*txnInfo*/
|
|
813
|
-
v[15].type.toLowerCase()}.fail.title`) + "") &&
|
|
813
|
+
v[15].type.toLowerCase()}.fail.title`) + "") && R(f, d), P[0] & /*$_, txnInfo*/
|
|
814
814
|
16809984 && y !== (y = /*$_*/
|
|
815
815
|
v[24](`${/*txnInfo*/
|
|
816
|
-
v[15].type.toLowerCase()}.fail.text`) + "") &&
|
|
816
|
+
v[15].type.toLowerCase()}.fail.text`) + "") && R(b, y);
|
|
817
817
|
},
|
|
818
818
|
d(v) {
|
|
819
|
-
v && (h(e), h(
|
|
819
|
+
v && (h(e), h(s), h(o));
|
|
820
820
|
}
|
|
821
821
|
};
|
|
822
822
|
}
|
|
823
|
-
function
|
|
824
|
-
let e, t, n, a,
|
|
823
|
+
function He(i) {
|
|
824
|
+
let e, t, n, a, s, o, p, d, f, u = (
|
|
825
825
|
/*$_*/
|
|
826
826
|
i[24](`${/*txnInfo*/
|
|
827
827
|
i[15].type.toLowerCase()}.pending.title`) + ""
|
|
@@ -829,40 +829,40 @@ function We(i) {
|
|
|
829
829
|
/*$_*/
|
|
830
830
|
i[24](`${/*txnInfo*/
|
|
831
831
|
i[15].type.toLowerCase()}.pending.text`) + ""
|
|
832
|
-
),
|
|
832
|
+
), P, U, j, V = (
|
|
833
833
|
/*$_*/
|
|
834
834
|
i[24]("refreshButton") + ""
|
|
835
|
-
),
|
|
835
|
+
), N, Y, a1;
|
|
836
836
|
return {
|
|
837
837
|
c() {
|
|
838
|
-
e =
|
|
838
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), p = k(), d = m("div"), f = m("h3"), g = x(u), y = k(), b = m("p"), P = x(v), U = k(), j = m("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(d, "class", "ReceiptStatusText"), l(j, "class", "RefreshButton");
|
|
839
839
|
},
|
|
840
|
-
m(S,
|
|
841
|
-
w(S, e,
|
|
842
|
-
|
|
840
|
+
m(S, H) {
|
|
841
|
+
w(S, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(S, p, H), w(S, d, H), c(d, f), c(f, g), c(d, y), c(d, b), c(b, P), w(S, U, H), w(S, j, H), c(j, N), Y || (a1 = x1(
|
|
842
|
+
j,
|
|
843
843
|
"click",
|
|
844
844
|
/*getPaymentInfo*/
|
|
845
845
|
i[27]
|
|
846
|
-
),
|
|
846
|
+
), Y = !0);
|
|
847
847
|
},
|
|
848
|
-
p(S,
|
|
849
|
-
|
|
848
|
+
p(S, H) {
|
|
849
|
+
H[0] & /*$_, txnInfo*/
|
|
850
850
|
16809984 && u !== (u = /*$_*/
|
|
851
851
|
S[24](`${/*txnInfo*/
|
|
852
|
-
S[15].type.toLowerCase()}.pending.title`) + "") &&
|
|
852
|
+
S[15].type.toLowerCase()}.pending.title`) + "") && R(g, u), H[0] & /*$_, txnInfo*/
|
|
853
853
|
16809984 && v !== (v = /*$_*/
|
|
854
854
|
S[24](`${/*txnInfo*/
|
|
855
|
-
S[15].type.toLowerCase()}.pending.text`) + "") &&
|
|
856
|
-
16777216 &&
|
|
857
|
-
S[24]("refreshButton") + "") &&
|
|
855
|
+
S[15].type.toLowerCase()}.pending.text`) + "") && R(P, v), H[0] & /*$_*/
|
|
856
|
+
16777216 && V !== (V = /*$_*/
|
|
857
|
+
S[24]("refreshButton") + "") && R(N, V);
|
|
858
858
|
},
|
|
859
859
|
d(S) {
|
|
860
|
-
S && (h(e), h(p), h(d), h(
|
|
860
|
+
S && (h(e), h(p), h(d), h(U), h(j)), Y = !1, a1();
|
|
861
861
|
}
|
|
862
862
|
};
|
|
863
863
|
}
|
|
864
864
|
function Ie(i) {
|
|
865
|
-
let e, t, n, a,
|
|
865
|
+
let e, t, n, a, s, o, p = (
|
|
866
866
|
/*$_*/
|
|
867
867
|
i[24](`${/*txnInfo*/
|
|
868
868
|
i[15].type.toLowerCase()}.success.title`) + ""
|
|
@@ -873,72 +873,72 @@ function Ie(i) {
|
|
|
873
873
|
), y;
|
|
874
874
|
return {
|
|
875
875
|
c() {
|
|
876
|
-
e =
|
|
876
|
+
e = E("svg"), t = E("circle"), n = E("path"), a = k(), s = m("div"), o = m("h3"), d = x(p), f = k(), u = m("p"), y = x(g), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
|
|
877
877
|
},
|
|
878
878
|
m(b, v) {
|
|
879
|
-
w(b, e, v), c(e, t), c(e, n), w(b, a, v), w(b,
|
|
879
|
+
w(b, e, v), c(e, t), c(e, n), w(b, a, v), w(b, s, v), c(s, o), c(o, d), c(s, f), c(s, u), c(u, y);
|
|
880
880
|
},
|
|
881
881
|
p(b, v) {
|
|
882
882
|
v[0] & /*$_, txnInfo*/
|
|
883
883
|
16809984 && p !== (p = /*$_*/
|
|
884
884
|
b[24](`${/*txnInfo*/
|
|
885
|
-
b[15].type.toLowerCase()}.success.title`) + "") &&
|
|
885
|
+
b[15].type.toLowerCase()}.success.title`) + "") && R(d, p), v[0] & /*$_, txnInfo*/
|
|
886
886
|
16809984 && g !== (g = /*$_*/
|
|
887
887
|
b[24](`${/*txnInfo*/
|
|
888
|
-
b[15].type.toLowerCase()}.success.text`) + "") &&
|
|
888
|
+
b[15].type.toLowerCase()}.success.text`) + "") && R(y, g);
|
|
889
889
|
},
|
|
890
890
|
d(b) {
|
|
891
|
-
b && (h(e), h(a), h(
|
|
891
|
+
b && (h(e), h(a), h(s));
|
|
892
892
|
}
|
|
893
893
|
};
|
|
894
894
|
}
|
|
895
|
-
function
|
|
896
|
-
let e, t =
|
|
895
|
+
function O1(i) {
|
|
896
|
+
let e, t = D1(
|
|
897
897
|
/*displayedButtons*/
|
|
898
898
|
i[12]
|
|
899
899
|
), n = [];
|
|
900
900
|
for (let a = 0; a < t.length; a += 1)
|
|
901
|
-
n[a] =
|
|
901
|
+
n[a] = F1(N1(i, t, a));
|
|
902
902
|
return {
|
|
903
903
|
c() {
|
|
904
904
|
for (let a = 0; a < n.length; a += 1)
|
|
905
905
|
n[a].c();
|
|
906
|
-
e =
|
|
906
|
+
e = B1();
|
|
907
907
|
},
|
|
908
|
-
m(a,
|
|
909
|
-
for (let
|
|
910
|
-
n[
|
|
911
|
-
w(a, e,
|
|
908
|
+
m(a, s) {
|
|
909
|
+
for (let o = 0; o < n.length; o += 1)
|
|
910
|
+
n[o] && n[o].m(a, s);
|
|
911
|
+
w(a, e, s);
|
|
912
912
|
},
|
|
913
|
-
p(a,
|
|
914
|
-
if (
|
|
913
|
+
p(a, s) {
|
|
914
|
+
if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
915
915
|
285216768) {
|
|
916
|
-
t =
|
|
916
|
+
t = D1(
|
|
917
917
|
/*displayedButtons*/
|
|
918
918
|
a[12]
|
|
919
919
|
);
|
|
920
|
-
let
|
|
921
|
-
for (
|
|
922
|
-
const p =
|
|
923
|
-
n[
|
|
920
|
+
let o;
|
|
921
|
+
for (o = 0; o < t.length; o += 1) {
|
|
922
|
+
const p = N1(a, t, o);
|
|
923
|
+
n[o] ? n[o].p(p, s) : (n[o] = F1(p), n[o].c(), n[o].m(e.parentNode, e));
|
|
924
924
|
}
|
|
925
|
-
for (;
|
|
926
|
-
n[
|
|
925
|
+
for (; o < n.length; o += 1)
|
|
926
|
+
n[o].d(1);
|
|
927
927
|
n.length = t.length;
|
|
928
928
|
}
|
|
929
929
|
},
|
|
930
930
|
d(a) {
|
|
931
|
-
a && h(e),
|
|
931
|
+
a && h(e), Q1(n, a);
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
934
|
}
|
|
935
|
-
function
|
|
936
|
-
let e, t, n = (
|
|
937
|
-
i[73].type}`] ?? "") + "", a,
|
|
935
|
+
function F1(i) {
|
|
936
|
+
let e, t, n = (V1[`${/*btn*/
|
|
937
|
+
i[73].type}`] ?? "") + "", a, s = (
|
|
938
938
|
/*$_*/
|
|
939
939
|
i[24](`${/*btn*/
|
|
940
940
|
i[73].translationKey}`) + ""
|
|
941
|
-
),
|
|
941
|
+
), o, p, d, f, u;
|
|
942
942
|
function g() {
|
|
943
943
|
return (
|
|
944
944
|
/*click_handler_1*/
|
|
@@ -950,19 +950,19 @@ function O1(i) {
|
|
|
950
950
|
}
|
|
951
951
|
return {
|
|
952
952
|
c() {
|
|
953
|
-
e = m("button"), t = m("div"), a =
|
|
953
|
+
e = m("button"), t = m("div"), a = k(), o = x(s), p = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", d = `${/*btn*/
|
|
954
954
|
i[73].type} GoToButton`);
|
|
955
955
|
},
|
|
956
956
|
m(y, b) {
|
|
957
|
-
w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e,
|
|
957
|
+
w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u = x1(e, "click", g), f = !0);
|
|
958
958
|
},
|
|
959
959
|
p(y, b) {
|
|
960
960
|
i = y, b[0] & /*displayedButtons*/
|
|
961
|
-
4096 && n !== (n = (
|
|
961
|
+
4096 && n !== (n = (V1[`${/*btn*/
|
|
962
962
|
i[73].type}`] ?? "") + "") && (t.innerHTML = n), b[0] & /*$_, displayedButtons*/
|
|
963
|
-
16781312 &&
|
|
963
|
+
16781312 && s !== (s = /*$_*/
|
|
964
964
|
i[24](`${/*btn*/
|
|
965
|
-
i[73].translationKey}`) + "") &&
|
|
965
|
+
i[73].translationKey}`) + "") && R(o, s), b[0] & /*displayedButtons*/
|
|
966
966
|
4096 && d !== (d = `${/*btn*/
|
|
967
967
|
i[73].type} GoToButton`) && l(e, "class", d);
|
|
968
968
|
},
|
|
@@ -971,14 +971,14 @@ function O1(i) {
|
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
973
|
}
|
|
974
|
-
function
|
|
974
|
+
function ze(i) {
|
|
975
975
|
let e = (
|
|
976
976
|
/*$_*/
|
|
977
977
|
i[24]("backHome") + ""
|
|
978
978
|
), t;
|
|
979
979
|
return {
|
|
980
980
|
c() {
|
|
981
|
-
t =
|
|
981
|
+
t = x(e);
|
|
982
982
|
},
|
|
983
983
|
m(n, a) {
|
|
984
984
|
w(n, t, a);
|
|
@@ -986,14 +986,14 @@ function He(i) {
|
|
|
986
986
|
p(n, a) {
|
|
987
987
|
a[0] & /*$_*/
|
|
988
988
|
16777216 && e !== (e = /*$_*/
|
|
989
|
-
n[24]("backHome") + "") &&
|
|
989
|
+
n[24]("backHome") + "") && R(t, e);
|
|
990
990
|
},
|
|
991
991
|
d(n) {
|
|
992
992
|
n && h(t);
|
|
993
993
|
}
|
|
994
994
|
};
|
|
995
995
|
}
|
|
996
|
-
function
|
|
996
|
+
function Ae(i) {
|
|
997
997
|
let e = (
|
|
998
998
|
/*$_*/
|
|
999
999
|
i[24](`back${/*txnInfo*/
|
|
@@ -1001,7 +1001,7 @@ function ze(i) {
|
|
|
1001
1001
|
), t;
|
|
1002
1002
|
return {
|
|
1003
1003
|
c() {
|
|
1004
|
-
t =
|
|
1004
|
+
t = x(e);
|
|
1005
1005
|
},
|
|
1006
1006
|
m(n, a) {
|
|
1007
1007
|
w(n, t, a);
|
|
@@ -1010,123 +1010,123 @@ function ze(i) {
|
|
|
1010
1010
|
a[0] & /*$_, txnInfo*/
|
|
1011
1011
|
16809984 && e !== (e = /*$_*/
|
|
1012
1012
|
n[24](`back${/*txnInfo*/
|
|
1013
|
-
n[15].type}`) + "") &&
|
|
1013
|
+
n[15].type}`) + "") && R(t, e);
|
|
1014
1014
|
},
|
|
1015
1015
|
d(n) {
|
|
1016
1016
|
n && h(t);
|
|
1017
1017
|
}
|
|
1018
1018
|
};
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1021
|
-
let e, t =
|
|
1020
|
+
function G1(i) {
|
|
1021
|
+
let e, t = D1(
|
|
1022
1022
|
/*receiptFields*/
|
|
1023
1023
|
i[16]
|
|
1024
1024
|
), n = [];
|
|
1025
1025
|
for (let a = 0; a < t.length; a += 1)
|
|
1026
|
-
n[a] =
|
|
1026
|
+
n[a] = q1(E1(i, t, a));
|
|
1027
1027
|
return {
|
|
1028
1028
|
c() {
|
|
1029
1029
|
for (let a = 0; a < n.length; a += 1)
|
|
1030
1030
|
n[a].c();
|
|
1031
|
-
e =
|
|
1031
|
+
e = B1();
|
|
1032
1032
|
},
|
|
1033
|
-
m(a,
|
|
1034
|
-
for (let
|
|
1035
|
-
n[
|
|
1036
|
-
w(a, e,
|
|
1033
|
+
m(a, s) {
|
|
1034
|
+
for (let o = 0; o < n.length; o += 1)
|
|
1035
|
+
n[o] && n[o].m(a, s);
|
|
1036
|
+
w(a, e, s);
|
|
1037
1037
|
},
|
|
1038
|
-
p(a,
|
|
1039
|
-
if (
|
|
1038
|
+
p(a, s) {
|
|
1039
|
+
if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1040
1040
|
537214976) {
|
|
1041
|
-
t =
|
|
1041
|
+
t = D1(
|
|
1042
1042
|
/*receiptFields*/
|
|
1043
1043
|
a[16]
|
|
1044
1044
|
);
|
|
1045
|
-
let
|
|
1046
|
-
for (
|
|
1047
|
-
const p =
|
|
1048
|
-
n[
|
|
1045
|
+
let o;
|
|
1046
|
+
for (o = 0; o < t.length; o += 1) {
|
|
1047
|
+
const p = E1(a, t, o);
|
|
1048
|
+
n[o] ? n[o].p(p, s) : (n[o] = q1(p), n[o].c(), n[o].m(e.parentNode, e));
|
|
1049
1049
|
}
|
|
1050
|
-
for (;
|
|
1051
|
-
n[
|
|
1050
|
+
for (; o < n.length; o += 1)
|
|
1051
|
+
n[o].d(1);
|
|
1052
1052
|
n.length = t.length;
|
|
1053
1053
|
}
|
|
1054
1054
|
},
|
|
1055
1055
|
d(a) {
|
|
1056
|
-
a && h(e),
|
|
1056
|
+
a && h(e), Q1(n, a);
|
|
1057
1057
|
}
|
|
1058
1058
|
};
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function Ze(i) {
|
|
1061
1061
|
let e, t = (
|
|
1062
1062
|
/*field*/
|
|
1063
1063
|
i[70].defaultValue + ""
|
|
1064
1064
|
), n;
|
|
1065
1065
|
return {
|
|
1066
1066
|
c() {
|
|
1067
|
-
e = m("span"), n =
|
|
1067
|
+
e = m("span"), n = x(t), l(e, "class", "Label");
|
|
1068
1068
|
},
|
|
1069
|
-
m(a,
|
|
1070
|
-
w(a, e,
|
|
1069
|
+
m(a, s) {
|
|
1070
|
+
w(a, e, s), c(e, n);
|
|
1071
1071
|
},
|
|
1072
|
-
p(a,
|
|
1073
|
-
|
|
1072
|
+
p(a, s) {
|
|
1073
|
+
s[0] & /*receiptFields*/
|
|
1074
1074
|
65536 && t !== (t = /*field*/
|
|
1075
|
-
a[70].defaultValue + "") &&
|
|
1075
|
+
a[70].defaultValue + "") && R(n, t);
|
|
1076
1076
|
},
|
|
1077
1077
|
d(a) {
|
|
1078
1078
|
a && h(e);
|
|
1079
1079
|
}
|
|
1080
1080
|
};
|
|
1081
1081
|
}
|
|
1082
|
-
function Ze(i) {
|
|
1083
|
-
return { c: u1, m: u1, p: u1, d: u1 };
|
|
1084
|
-
}
|
|
1085
1082
|
function je(i) {
|
|
1083
|
+
return { c: d1, m: d1, p: d1, d: d1 };
|
|
1084
|
+
}
|
|
1085
|
+
function Ve(i) {
|
|
1086
1086
|
let e, t = (
|
|
1087
1087
|
/*field*/
|
|
1088
1088
|
i[70].description + ""
|
|
1089
|
-
), n, a,
|
|
1089
|
+
), n, a, s, o = (
|
|
1090
1090
|
/*field*/
|
|
1091
1091
|
i[70].name + ""
|
|
1092
1092
|
), p, d;
|
|
1093
1093
|
return {
|
|
1094
1094
|
c() {
|
|
1095
|
-
e = m("span"), n =
|
|
1096
|
-
i[70].defaultValue), l(
|
|
1095
|
+
e = m("span"), n = x(t), a = k(), s = m("a"), p = x(o), l(s, "href", d = /*field*/
|
|
1096
|
+
i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
|
|
1097
1097
|
},
|
|
1098
1098
|
m(f, u) {
|
|
1099
|
-
w(f, e, u), c(e, n), c(e, a), c(e,
|
|
1099
|
+
w(f, e, u), c(e, n), c(e, a), c(e, s), c(s, p);
|
|
1100
1100
|
},
|
|
1101
1101
|
p(f, u) {
|
|
1102
1102
|
u[0] & /*receiptFields*/
|
|
1103
1103
|
65536 && t !== (t = /*field*/
|
|
1104
|
-
f[70].description + "") &&
|
|
1105
|
-
65536 &&
|
|
1106
|
-
f[70].name + "") &&
|
|
1104
|
+
f[70].description + "") && R(n, t), u[0] & /*receiptFields*/
|
|
1105
|
+
65536 && o !== (o = /*field*/
|
|
1106
|
+
f[70].name + "") && R(p, o), u[0] & /*receiptFields*/
|
|
1107
1107
|
65536 && d !== (d = /*field*/
|
|
1108
|
-
f[70].defaultValue) && l(
|
|
1108
|
+
f[70].defaultValue) && l(s, "href", d);
|
|
1109
1109
|
},
|
|
1110
1110
|
d(f) {
|
|
1111
1111
|
f && h(e);
|
|
1112
1112
|
}
|
|
1113
1113
|
};
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Ee(i) {
|
|
1116
1116
|
let e, t, n;
|
|
1117
1117
|
return {
|
|
1118
1118
|
c() {
|
|
1119
|
-
e = m("img"),
|
|
1119
|
+
e = m("img"), z1(e.src, t = /*field*/
|
|
1120
1120
|
i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1121
1121
|
i[70].description), l(e, "alt", "");
|
|
1122
1122
|
},
|
|
1123
|
-
m(a,
|
|
1124
|
-
w(a, e,
|
|
1123
|
+
m(a, s) {
|
|
1124
|
+
w(a, e, s);
|
|
1125
1125
|
},
|
|
1126
|
-
p(a,
|
|
1127
|
-
|
|
1128
|
-
65536 && !
|
|
1129
|
-
a[70].defaultValue) && l(e, "src", t),
|
|
1126
|
+
p(a, s) {
|
|
1127
|
+
s[0] & /*receiptFields*/
|
|
1128
|
+
65536 && !z1(e.src, t = /*field*/
|
|
1129
|
+
a[70].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
|
|
1130
1130
|
65536 && n !== (n = /*field*/
|
|
1131
1131
|
a[70].description) && l(e, "title", n);
|
|
1132
1132
|
},
|
|
@@ -1135,7 +1135,7 @@ function Ve(i) {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
};
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function Ne(i) {
|
|
1139
1139
|
let e, t = (
|
|
1140
1140
|
/*field*/
|
|
1141
1141
|
i[70].defaultValue + ""
|
|
@@ -1157,11 +1157,11 @@ function Ee(i) {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
};
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1160
|
+
function Ye(i) {
|
|
1161
1161
|
let e, t, n = (
|
|
1162
1162
|
/*field*/
|
|
1163
1163
|
i[70].defaultValue + ""
|
|
1164
|
-
), a,
|
|
1164
|
+
), a, s, o;
|
|
1165
1165
|
function p() {
|
|
1166
1166
|
return (
|
|
1167
1167
|
/*click_handler_2*/
|
|
@@ -1173,68 +1173,68 @@ function Ne(i) {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
return {
|
|
1175
1175
|
c() {
|
|
1176
|
-
e = m("div"), t = m("div"), a =
|
|
1176
|
+
e = m("div"), t = m("div"), a = x(n), l(e, "class", "QRCode");
|
|
1177
1177
|
},
|
|
1178
1178
|
m(d, f) {
|
|
1179
|
-
w(d, e, f), c(e, t), c(t, a), i[47](t),
|
|
1179
|
+
w(d, e, f), c(e, t), c(t, a), i[47](t), s || (o = x1(e, "click", p), s = !0);
|
|
1180
1180
|
},
|
|
1181
1181
|
p(d, f) {
|
|
1182
1182
|
i = d, f[0] & /*receiptFields*/
|
|
1183
1183
|
65536 && n !== (n = /*field*/
|
|
1184
|
-
i[70].defaultValue + "") &&
|
|
1184
|
+
i[70].defaultValue + "") && R(a, n);
|
|
1185
1185
|
},
|
|
1186
1186
|
d(d) {
|
|
1187
|
-
d && h(e), i[47](null),
|
|
1187
|
+
d && h(e), i[47](null), s = !1, o();
|
|
1188
1188
|
}
|
|
1189
1189
|
};
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function q1(i) {
|
|
1192
1192
|
let e, t;
|
|
1193
|
-
function n(
|
|
1193
|
+
function n(o, p) {
|
|
1194
1194
|
return (
|
|
1195
1195
|
/*field*/
|
|
1196
|
-
|
|
1197
|
-
|
|
1196
|
+
o[70].type === /*FieldTypes*/
|
|
1197
|
+
o[14].QRCode ? Ye : (
|
|
1198
1198
|
/*field*/
|
|
1199
|
-
|
|
1200
|
-
|
|
1199
|
+
o[70].type === /*FieldTypes*/
|
|
1200
|
+
o[14].Html ? Ne : (
|
|
1201
1201
|
/*field*/
|
|
1202
|
-
|
|
1203
|
-
|
|
1202
|
+
o[70].type === /*FieldTypes*/
|
|
1203
|
+
o[14].Image ? Ee : (
|
|
1204
1204
|
/*field*/
|
|
1205
|
-
|
|
1206
|
-
|
|
1205
|
+
o[70].type === /*FieldTypes*/
|
|
1206
|
+
o[14].Link ? Ve : (
|
|
1207
1207
|
/*field*/
|
|
1208
|
-
|
|
1209
|
-
|
|
1208
|
+
o[70].type === /*FieldTypes*/
|
|
1209
|
+
o[14].Hidden ? je : Ze
|
|
1210
1210
|
)
|
|
1211
1211
|
)
|
|
1212
1212
|
)
|
|
1213
1213
|
)
|
|
1214
1214
|
);
|
|
1215
1215
|
}
|
|
1216
|
-
let a = n(i),
|
|
1216
|
+
let a = n(i), s = a(i);
|
|
1217
1217
|
return {
|
|
1218
1218
|
c() {
|
|
1219
|
-
e = m("div"),
|
|
1219
|
+
e = m("div"), s.c(), t = k(), l(e, "class", "ReceiptField");
|
|
1220
1220
|
},
|
|
1221
|
-
m(
|
|
1222
|
-
w(
|
|
1221
|
+
m(o, p) {
|
|
1222
|
+
w(o, e, p), s.m(e, null), c(e, t);
|
|
1223
1223
|
},
|
|
1224
|
-
p(
|
|
1225
|
-
a === (a = n(
|
|
1224
|
+
p(o, p) {
|
|
1225
|
+
a === (a = n(o)) && s ? s.p(o, p) : (s.d(1), s = a(o), s && (s.c(), s.m(e, t)));
|
|
1226
1226
|
},
|
|
1227
|
-
d(
|
|
1228
|
-
|
|
1227
|
+
d(o) {
|
|
1228
|
+
o && h(e), s.d();
|
|
1229
1229
|
}
|
|
1230
1230
|
};
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function Ke(i) {
|
|
1233
1233
|
let e;
|
|
1234
|
-
function t(
|
|
1234
|
+
function t(s, o) {
|
|
1235
1235
|
return (
|
|
1236
1236
|
/*isLoading*/
|
|
1237
|
-
|
|
1237
|
+
s[11] ? De : Le
|
|
1238
1238
|
);
|
|
1239
1239
|
}
|
|
1240
1240
|
let n = t(i), a = n(i);
|
|
@@ -1242,57 +1242,57 @@ function Ye(i) {
|
|
|
1242
1242
|
c() {
|
|
1243
1243
|
e = m("div"), a.c(), l(e, "class", "CashierReceiptPageWidget");
|
|
1244
1244
|
},
|
|
1245
|
-
m(
|
|
1246
|
-
w(
|
|
1245
|
+
m(s, o) {
|
|
1246
|
+
w(s, e, o), a.m(e, null), i[49](e);
|
|
1247
1247
|
},
|
|
1248
|
-
p(
|
|
1249
|
-
n === (n = t(
|
|
1248
|
+
p(s, o) {
|
|
1249
|
+
n === (n = t(s)) && a ? a.p(s, o) : (a.d(1), a = n(s), a && (a.c(), a.m(e, null)));
|
|
1250
1250
|
},
|
|
1251
|
-
i:
|
|
1252
|
-
o:
|
|
1253
|
-
d(
|
|
1254
|
-
|
|
1251
|
+
i: d1,
|
|
1252
|
+
o: d1,
|
|
1253
|
+
d(s) {
|
|
1254
|
+
s && h(e), a.d(), i[49](null);
|
|
1255
1255
|
}
|
|
1256
1256
|
};
|
|
1257
1257
|
}
|
|
1258
|
-
let
|
|
1259
|
-
function
|
|
1258
|
+
let Ue = "_blank";
|
|
1259
|
+
function Oe(i, e, t) {
|
|
1260
1260
|
let n;
|
|
1261
|
-
|
|
1262
|
-
let { endpoint: a } = e, { session:
|
|
1263
|
-
var
|
|
1264
|
-
(function(
|
|
1265
|
-
|
|
1266
|
-
})(
|
|
1267
|
-
var
|
|
1268
|
-
(function(
|
|
1269
|
-
|
|
1270
|
-
})(
|
|
1271
|
-
const
|
|
1272
|
-
...
|
|
1273
|
-
...Array.isArray(
|
|
1274
|
-
],
|
|
1275
|
-
[["Unknown", 0],
|
|
1276
|
-
[["Text", 1],
|
|
1277
|
-
[["Boolean", 2],
|
|
1278
|
-
[["Number", 3],
|
|
1279
|
-
[["Money", 4],
|
|
1280
|
-
[["DateTime", 5],
|
|
1281
|
-
[["Lookup", 6],
|
|
1282
|
-
[["IpAddress", 7],
|
|
1283
|
-
[["Date", 8],
|
|
1284
|
-
[["Time", 9],
|
|
1285
|
-
[["LookupCollection", 10],
|
|
1286
|
-
[["Hidden", 11],
|
|
1287
|
-
[["Label", 12],
|
|
1288
|
-
[["Password", 13],
|
|
1289
|
-
[["Link", 14],
|
|
1290
|
-
[["Image", 15],
|
|
1291
|
-
[["Html", 19],
|
|
1292
|
-
[["QR", 20],
|
|
1293
|
-
].reduce(
|
|
1294
|
-
let
|
|
1295
|
-
const
|
|
1261
|
+
oe(i, we, (r) => t(24, n = r)), L1.extend(se);
|
|
1262
|
+
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: p = "en-US" } = e, { showerrors: d = "true" } = e, { translationurl: f } = e, { assetsurl: u = "" } = e, { customerid: g } = e, { transactionid: y } = e, { currencydecimals: b = "0" } = e, { type: v } = e, { clientstyling: P = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: j = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: N = "" } = e, Y = !1, a1, { customsucceessbuttons: S = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: O = "" } = e, { windowsize: s1 } = e, { p2p: C1 = "false" } = e, m1 = [], q = [];
|
|
1263
|
+
var J;
|
|
1264
|
+
(function(r) {
|
|
1265
|
+
r.Success = "Success", r.Maintenance = "Maintenance";
|
|
1266
|
+
})(J || (J = {}));
|
|
1267
|
+
var M;
|
|
1268
|
+
(function(r) {
|
|
1269
|
+
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";
|
|
1270
|
+
})(M || (M = {}));
|
|
1271
|
+
const y1 = (r, [W, F]) => [
|
|
1272
|
+
...r,
|
|
1273
|
+
...Array.isArray(W) ? [...W.map((B) => [B, F])] : [[W, F]]
|
|
1274
|
+
], M1 = new Map([
|
|
1275
|
+
[["Unknown", 0], M.Unknown],
|
|
1276
|
+
[["Text", 1], M.Text],
|
|
1277
|
+
[["Boolean", 2], M.Boolean],
|
|
1278
|
+
[["Number", 3], M.Number],
|
|
1279
|
+
[["Money", 4], M.Money],
|
|
1280
|
+
[["DateTime", 5], M.DateTime],
|
|
1281
|
+
[["Lookup", 6], M.Lookup],
|
|
1282
|
+
[["IpAddress", 7], M.IpAddress],
|
|
1283
|
+
[["Date", 8], M.Date],
|
|
1284
|
+
[["Time", 9], M.Time],
|
|
1285
|
+
[["LookupCollection", 10], M.LookupCollection],
|
|
1286
|
+
[["Hidden", 11], M.Hidden],
|
|
1287
|
+
[["Label", 12], M.Label],
|
|
1288
|
+
[["Password", 13], M.Password],
|
|
1289
|
+
[["Link", 14], M.Link],
|
|
1290
|
+
[["Image", 15], M.Image],
|
|
1291
|
+
[["Html", 19], M.Html],
|
|
1292
|
+
[["QR", 20], M.QRCode]
|
|
1293
|
+
].reduce(y1, []));
|
|
1294
|
+
let D, r1 = [], v1, A, $ = [], e1, l1, c1 = "", _1 = window.navigator.userAgent, u1 = !1;
|
|
1295
|
+
const g1 = {
|
|
1296
1296
|
promotions: {
|
|
1297
1297
|
event: "Cashier:goToPromotions",
|
|
1298
1298
|
translationKey: "goToPromotions",
|
|
@@ -1348,84 +1348,84 @@ function Ue(i, e, t) {
|
|
|
1348
1348
|
translationKey: "close",
|
|
1349
1349
|
type: "CloseButton"
|
|
1350
1350
|
}
|
|
1351
|
-
}, t1 = (
|
|
1352
|
-
t(12,
|
|
1353
|
-
|
|
1351
|
+
}, t1 = (r) => {
|
|
1352
|
+
t(12, m1 = []), r.split(",").forEach((F) => {
|
|
1353
|
+
g1[F.trim()] && m1.push(g1[F.trim()]);
|
|
1354
1354
|
});
|
|
1355
|
-
},
|
|
1356
|
-
|
|
1355
|
+
}, n1 = () => {
|
|
1356
|
+
_e(o);
|
|
1357
1357
|
};
|
|
1358
|
-
|
|
1359
|
-
window.removeEventListener("message",
|
|
1358
|
+
re(() => (window.addEventListener("message", h1, !1), le(p, o1, f1, b), () => {
|
|
1359
|
+
window.removeEventListener("message", h1);
|
|
1360
1360
|
}));
|
|
1361
|
-
const
|
|
1362
|
-
switch (
|
|
1361
|
+
const h1 = (r) => {
|
|
1362
|
+
switch (r.data.type) {
|
|
1363
1363
|
case "CloseReceiptInSecondTab":
|
|
1364
|
-
window.opener?.postMessage(
|
|
1364
|
+
window.opener?.postMessage(r.data);
|
|
1365
1365
|
break;
|
|
1366
1366
|
}
|
|
1367
|
-
},
|
|
1368
|
-
let
|
|
1369
|
-
if (
|
|
1370
|
-
return fetch(
|
|
1371
|
-
Object.keys(
|
|
1372
|
-
|
|
1367
|
+
}, Q = () => {
|
|
1368
|
+
let r = f;
|
|
1369
|
+
if (r)
|
|
1370
|
+
return fetch(r).then((W) => W.json()).then((W) => {
|
|
1371
|
+
Object.keys(W).forEach((F) => {
|
|
1372
|
+
Z1(F, W[F]);
|
|
1373
1373
|
});
|
|
1374
1374
|
}).catch(() => {
|
|
1375
1375
|
});
|
|
1376
1376
|
};
|
|
1377
|
-
Object.keys(
|
|
1378
|
-
|
|
1377
|
+
Object.keys(j1).forEach((r) => {
|
|
1378
|
+
Z1(r, j1[r]);
|
|
1379
1379
|
});
|
|
1380
|
-
const
|
|
1380
|
+
const k1 = () => {
|
|
1381
1381
|
window.postMessage({ type: "CloseCashierReceiptPage" }, window.location.href);
|
|
1382
|
-
},
|
|
1382
|
+
}, p1 = () => {
|
|
1383
1383
|
window.postMessage(
|
|
1384
1384
|
{
|
|
1385
1385
|
type: "ErrorResponseCode",
|
|
1386
|
-
errorResponseCode:
|
|
1387
|
-
showErrorOutsideReceiptPage:
|
|
1386
|
+
errorResponseCode: e1,
|
|
1387
|
+
showErrorOutsideReceiptPage: l1
|
|
1388
1388
|
},
|
|
1389
1389
|
window.location.href
|
|
1390
1390
|
);
|
|
1391
|
-
},
|
|
1392
|
-
const
|
|
1393
|
-
|
|
1394
|
-
const
|
|
1391
|
+
}, w1 = () => {
|
|
1392
|
+
const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), W = new Headers();
|
|
1393
|
+
W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", L1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
|
|
1394
|
+
const F = {
|
|
1395
1395
|
method: "POST",
|
|
1396
|
-
headers:
|
|
1396
|
+
headers: W,
|
|
1397
1397
|
body: JSON.stringify({ TransactionCode: y })
|
|
1398
1398
|
};
|
|
1399
|
-
t(11,
|
|
1400
|
-
if (
|
|
1401
|
-
t(19,
|
|
1399
|
+
t(11, Y = !0), fetch(r, F).then((B) => B.json()).then((B) => {
|
|
1400
|
+
if (B.ResponseCode !== J.Success) {
|
|
1401
|
+
t(19, e1 = B.ResponseCode), t(20, l1 = d.toLowerCase() === "false" || !d), p1();
|
|
1402
1402
|
return;
|
|
1403
1403
|
}
|
|
1404
|
-
switch (t(15,
|
|
1405
|
-
type:
|
|
1406
|
-
referenceId:
|
|
1407
|
-
status:
|
|
1408
|
-
message:
|
|
1409
|
-
amount:
|
|
1410
|
-
currency:
|
|
1411
|
-
time:
|
|
1412
|
-
}), t(16, r1 =
|
|
1413
|
-
type:
|
|
1404
|
+
switch (t(15, D = {
|
|
1405
|
+
type: B.Transaction.Type,
|
|
1406
|
+
referenceId: B.Transaction.Code,
|
|
1407
|
+
status: B.Transaction.Status?.Status,
|
|
1408
|
+
message: B.Transaction.Status?.Message,
|
|
1409
|
+
amount: B.Transaction.Amounts[0]?.Amount,
|
|
1410
|
+
currency: B.Transaction.Amounts[0]?.Currency,
|
|
1411
|
+
time: B.Transaction.Status.Created
|
|
1412
|
+
}), t(16, r1 = B.ReceiptInfo && B.ReceiptInfo.ReceiptFields ? B.ReceiptInfo.ReceiptFields.map((i1) => ({
|
|
1413
|
+
type: M1.get(i1.Type),
|
|
1414
1414
|
name: i1.Name,
|
|
1415
1415
|
description: i1.Description,
|
|
1416
1416
|
defaultValue: i1.DefaultValue,
|
|
1417
1417
|
useCopyButton: i1.UseCopyButton,
|
|
1418
1418
|
usePrintButton: i1.UsePrintButton
|
|
1419
|
-
})) : []),
|
|
1419
|
+
})) : []), B.ReceiptInfo && B.ReceiptInfo.ReceiptFields && !N && t(0, N = r1[0].defaultValue), n(Te(D.status, D.type), { values: { errorText: D.message } }), t(17, v1 = ce(Number(D.amount), D.currency)), D.status) {
|
|
1420
1420
|
case "Voided":
|
|
1421
1421
|
case "Success":
|
|
1422
|
-
t1(S || "casino, livecasino, tournaments"), t(21,
|
|
1423
|
-
|
|
1422
|
+
t1(S || "casino, livecasino, tournaments"), t(21, c1 = "success"), P1(
|
|
1423
|
+
D.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1424
1424
|
{
|
|
1425
1425
|
userID: g,
|
|
1426
|
-
amount:
|
|
1427
|
-
currency:
|
|
1428
|
-
failureReason:
|
|
1426
|
+
amount: D.amount,
|
|
1427
|
+
currency: D.currency,
|
|
1428
|
+
failureReason: D.message
|
|
1429
1429
|
}
|
|
1430
1430
|
);
|
|
1431
1431
|
break;
|
|
@@ -1435,143 +1435,143 @@ function Ue(i, e, t) {
|
|
|
1435
1435
|
case "PendingApprovalStage2":
|
|
1436
1436
|
case "PendingApprovalStage3":
|
|
1437
1437
|
case "PendingOfflineNotification":
|
|
1438
|
-
t1(
|
|
1438
|
+
t1(H || "casino, livecasino, tournaments"), t(21, c1 = "pending");
|
|
1439
1439
|
break;
|
|
1440
1440
|
case "Rejected":
|
|
1441
1441
|
case "Cancelled":
|
|
1442
1442
|
case "Failed":
|
|
1443
|
-
t1(
|
|
1444
|
-
|
|
1443
|
+
t1(X || "casino, livecasino, tournaments"), t(21, c1 = D.status.toLowerCase()), P1(
|
|
1444
|
+
D.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1445
1445
|
{
|
|
1446
1446
|
userID: g,
|
|
1447
|
-
amount:
|
|
1448
|
-
currency:
|
|
1449
|
-
failureReason:
|
|
1447
|
+
amount: D.amount,
|
|
1448
|
+
currency: D.currency,
|
|
1449
|
+
failureReason: D.message
|
|
1450
1450
|
}
|
|
1451
|
-
),
|
|
1451
|
+
), V === "true" && t(22, u1 = !0);
|
|
1452
1452
|
break;
|
|
1453
1453
|
default:
|
|
1454
1454
|
t1("close");
|
|
1455
1455
|
}
|
|
1456
|
-
u ?
|
|
1457
|
-
}).finally(() => t(11,
|
|
1458
|
-
},
|
|
1459
|
-
window.postMessage({ type:
|
|
1460
|
-
},
|
|
1461
|
-
|
|
1456
|
+
u ? ke(u, D.status) : Re(D.status);
|
|
1457
|
+
}).finally(() => t(11, Y = !1));
|
|
1458
|
+
}, T1 = (r) => {
|
|
1459
|
+
window.postMessage({ type: r }, window.location.href);
|
|
1460
|
+
}, R1 = (r) => {
|
|
1461
|
+
r && window.postMessage(
|
|
1462
1462
|
{
|
|
1463
1463
|
type: "NavigateTo",
|
|
1464
|
-
path:
|
|
1465
|
-
target:
|
|
1464
|
+
path: r,
|
|
1465
|
+
target: Ue,
|
|
1466
1466
|
externalLink: !1
|
|
1467
1467
|
},
|
|
1468
1468
|
window.location.href
|
|
1469
1469
|
);
|
|
1470
1470
|
};
|
|
1471
|
-
let
|
|
1472
|
-
const
|
|
1473
|
-
const
|
|
1474
|
-
if (
|
|
1471
|
+
let G, I;
|
|
1472
|
+
const z = async (r, W = !0) => {
|
|
1473
|
+
const B = r.currentTarget.innerHTML;
|
|
1474
|
+
if (B && navigator.clipboard && navigator.clipboard.writeText)
|
|
1475
1475
|
try {
|
|
1476
|
-
await navigator.clipboard.writeText(
|
|
1476
|
+
await navigator.clipboard.writeText(B), W && (t(23, G = !0), clearTimeout(I), I = setTimeout(
|
|
1477
1477
|
() => {
|
|
1478
|
-
t(23,
|
|
1478
|
+
t(23, G = !1);
|
|
1479
1479
|
},
|
|
1480
1480
|
2e3
|
|
1481
1481
|
));
|
|
1482
1482
|
} catch (i1) {
|
|
1483
1483
|
console.error("Clipboard API failed:", i1);
|
|
1484
1484
|
}
|
|
1485
|
-
},
|
|
1486
|
-
|
|
1487
|
-
},
|
|
1488
|
-
function
|
|
1489
|
-
|
|
1490
|
-
|
|
1485
|
+
}, S1 = () => {
|
|
1486
|
+
O.length > 0 && (q = O.split(","));
|
|
1487
|
+
}, b1 = (r) => z(r), K = (r) => T1(r.event);
|
|
1488
|
+
function Z(r) {
|
|
1489
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1490
|
+
$[$.length] = r, t(18, $);
|
|
1491
1491
|
});
|
|
1492
1492
|
}
|
|
1493
|
-
const
|
|
1494
|
-
|
|
1493
|
+
const C = (r) => {
|
|
1494
|
+
R1(r.description);
|
|
1495
1495
|
};
|
|
1496
|
-
function
|
|
1497
|
-
|
|
1498
|
-
|
|
1496
|
+
function _(r) {
|
|
1497
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1498
|
+
A = r, t(10, A);
|
|
1499
1499
|
});
|
|
1500
1500
|
}
|
|
1501
|
-
return i.$$set = (
|
|
1502
|
-
"endpoint" in
|
|
1501
|
+
return i.$$set = (r) => {
|
|
1502
|
+
"endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, p = r.local), "showerrors" in r && t(32, d = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, u = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, y = r.transactionid), "currencydecimals" in r && t(34, b = r.currencydecimals), "type" in r && t(35, v = r.type), "clientstyling" in r && t(7, P = r.clientstyling), "clientstylingurl" in r && t(8, U = r.clientstylingurl), "mbsource" in r && t(36, j = r.mbsource), "showverifications" in r && t(9, V = r.showverifications), "paymentmethod" in r && t(0, N = r.paymentmethod), "customsucceessbuttons" in r && t(37, S = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, H = r.custompendingbuttons), "customfailedbuttons" in r && t(39, X = r.customfailedbuttons), "currencysymbol" in r && t(40, o1 = r.currencysymbol), "currencyposition" in r && t(41, f1 = r.currencyposition), "userroles" in r && t(42, O = r.userroles), "windowsize" in r && t(43, s1 = r.windowsize), "p2p" in r && t(44, C1 = r.p2p);
|
|
1503
1503
|
}, i.$$.update = () => {
|
|
1504
|
-
i.$$.dirty[
|
|
1504
|
+
i.$$.dirty[1] & /*userroles*/
|
|
1505
|
+
2048 && O && S1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
1505
1506
|
70 | i.$$.dirty[1] & /*transactionid, showerrors*/
|
|
1506
|
-
6 && a &&
|
|
1507
|
-
8 &&
|
|
1508
|
-
24 &&
|
|
1509
|
-
1152 &&
|
|
1510
|
-
1280 &&
|
|
1507
|
+
6 && a && s && g && y && d && w1(), i.$$.dirty[0] & /*lang*/
|
|
1508
|
+
8 && o && n1(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1509
|
+
24 && o && f && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1510
|
+
1152 && P && A && be(A, P), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1511
|
+
1280 && U && A && ye(A, U), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1511
1512
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1512
|
-
32 &&
|
|
1513
|
-
2048 && U && H();
|
|
1513
|
+
32 && j && A && ve(A, `${j}.Style`, a1);
|
|
1514
1514
|
}, [
|
|
1515
|
-
|
|
1515
|
+
N,
|
|
1516
1516
|
a,
|
|
1517
|
-
r,
|
|
1518
1517
|
s,
|
|
1518
|
+
o,
|
|
1519
1519
|
f,
|
|
1520
1520
|
u,
|
|
1521
1521
|
g,
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
f1,
|
|
1528
|
-
O,
|
|
1529
|
-
x,
|
|
1530
|
-
L,
|
|
1531
|
-
r1,
|
|
1522
|
+
P,
|
|
1523
|
+
U,
|
|
1524
|
+
V,
|
|
1525
|
+
A,
|
|
1526
|
+
Y,
|
|
1532
1527
|
m1,
|
|
1533
|
-
|
|
1534
|
-
|
|
1528
|
+
J,
|
|
1529
|
+
M,
|
|
1530
|
+
D,
|
|
1531
|
+
r1,
|
|
1532
|
+
v1,
|
|
1535
1533
|
$,
|
|
1536
1534
|
e1,
|
|
1537
|
-
|
|
1538
|
-
|
|
1535
|
+
l1,
|
|
1536
|
+
c1,
|
|
1537
|
+
u1,
|
|
1538
|
+
G,
|
|
1539
1539
|
n,
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
h1,
|
|
1540
|
+
_1,
|
|
1541
|
+
k1,
|
|
1542
|
+
w1,
|
|
1544
1543
|
T1,
|
|
1545
|
-
|
|
1544
|
+
R1,
|
|
1545
|
+
z,
|
|
1546
1546
|
p,
|
|
1547
1547
|
d,
|
|
1548
1548
|
y,
|
|
1549
1549
|
b,
|
|
1550
1550
|
v,
|
|
1551
|
-
|
|
1551
|
+
j,
|
|
1552
1552
|
S,
|
|
1553
|
-
|
|
1554
|
-
|
|
1553
|
+
H,
|
|
1554
|
+
X,
|
|
1555
1555
|
o1,
|
|
1556
|
-
|
|
1557
|
-
|
|
1556
|
+
f1,
|
|
1557
|
+
O,
|
|
1558
1558
|
s1,
|
|
1559
|
-
|
|
1560
|
-
S1,
|
|
1559
|
+
C1,
|
|
1561
1560
|
b1,
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
C
|
|
1561
|
+
K,
|
|
1562
|
+
Z,
|
|
1563
|
+
C,
|
|
1564
|
+
_
|
|
1565
1565
|
];
|
|
1566
1566
|
}
|
|
1567
|
-
class
|
|
1567
|
+
class Fe extends te {
|
|
1568
1568
|
constructor(e) {
|
|
1569
|
-
super(),
|
|
1569
|
+
super(), ne(
|
|
1570
1570
|
this,
|
|
1571
1571
|
e,
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1572
|
+
Oe,
|
|
1573
|
+
Ke,
|
|
1574
|
+
ie,
|
|
1575
1575
|
{
|
|
1576
1576
|
endpoint: 1,
|
|
1577
1577
|
session: 2,
|
|
@@ -1606,148 +1606,148 @@ class Oe extends ee {
|
|
|
1606
1606
|
return this.$$.ctx[1];
|
|
1607
1607
|
}
|
|
1608
1608
|
set endpoint(e) {
|
|
1609
|
-
this.$$set({ endpoint: e }),
|
|
1609
|
+
this.$$set({ endpoint: e }), L();
|
|
1610
1610
|
}
|
|
1611
1611
|
get session() {
|
|
1612
1612
|
return this.$$.ctx[2];
|
|
1613
1613
|
}
|
|
1614
1614
|
set session(e) {
|
|
1615
|
-
this.$$set({ session: e }),
|
|
1615
|
+
this.$$set({ session: e }), L();
|
|
1616
1616
|
}
|
|
1617
1617
|
get lang() {
|
|
1618
1618
|
return this.$$.ctx[3];
|
|
1619
1619
|
}
|
|
1620
1620
|
set lang(e) {
|
|
1621
|
-
this.$$set({ lang: e }),
|
|
1621
|
+
this.$$set({ lang: e }), L();
|
|
1622
1622
|
}
|
|
1623
1623
|
get local() {
|
|
1624
1624
|
return this.$$.ctx[31];
|
|
1625
1625
|
}
|
|
1626
1626
|
set local(e) {
|
|
1627
|
-
this.$$set({ local: e }),
|
|
1627
|
+
this.$$set({ local: e }), L();
|
|
1628
1628
|
}
|
|
1629
1629
|
get showerrors() {
|
|
1630
1630
|
return this.$$.ctx[32];
|
|
1631
1631
|
}
|
|
1632
1632
|
set showerrors(e) {
|
|
1633
|
-
this.$$set({ showerrors: e }),
|
|
1633
|
+
this.$$set({ showerrors: e }), L();
|
|
1634
1634
|
}
|
|
1635
1635
|
get translationurl() {
|
|
1636
1636
|
return this.$$.ctx[4];
|
|
1637
1637
|
}
|
|
1638
1638
|
set translationurl(e) {
|
|
1639
|
-
this.$$set({ translationurl: e }),
|
|
1639
|
+
this.$$set({ translationurl: e }), L();
|
|
1640
1640
|
}
|
|
1641
1641
|
get assetsurl() {
|
|
1642
1642
|
return this.$$.ctx[5];
|
|
1643
1643
|
}
|
|
1644
1644
|
set assetsurl(e) {
|
|
1645
|
-
this.$$set({ assetsurl: e }),
|
|
1645
|
+
this.$$set({ assetsurl: e }), L();
|
|
1646
1646
|
}
|
|
1647
1647
|
get customerid() {
|
|
1648
1648
|
return this.$$.ctx[6];
|
|
1649
1649
|
}
|
|
1650
1650
|
set customerid(e) {
|
|
1651
|
-
this.$$set({ customerid: e }),
|
|
1651
|
+
this.$$set({ customerid: e }), L();
|
|
1652
1652
|
}
|
|
1653
1653
|
get transactionid() {
|
|
1654
1654
|
return this.$$.ctx[33];
|
|
1655
1655
|
}
|
|
1656
1656
|
set transactionid(e) {
|
|
1657
|
-
this.$$set({ transactionid: e }),
|
|
1657
|
+
this.$$set({ transactionid: e }), L();
|
|
1658
1658
|
}
|
|
1659
1659
|
get currencydecimals() {
|
|
1660
1660
|
return this.$$.ctx[34];
|
|
1661
1661
|
}
|
|
1662
1662
|
set currencydecimals(e) {
|
|
1663
|
-
this.$$set({ currencydecimals: e }),
|
|
1663
|
+
this.$$set({ currencydecimals: e }), L();
|
|
1664
1664
|
}
|
|
1665
1665
|
get type() {
|
|
1666
1666
|
return this.$$.ctx[35];
|
|
1667
1667
|
}
|
|
1668
1668
|
set type(e) {
|
|
1669
|
-
this.$$set({ type: e }),
|
|
1669
|
+
this.$$set({ type: e }), L();
|
|
1670
1670
|
}
|
|
1671
1671
|
get clientstyling() {
|
|
1672
1672
|
return this.$$.ctx[7];
|
|
1673
1673
|
}
|
|
1674
1674
|
set clientstyling(e) {
|
|
1675
|
-
this.$$set({ clientstyling: e }),
|
|
1675
|
+
this.$$set({ clientstyling: e }), L();
|
|
1676
1676
|
}
|
|
1677
1677
|
get clientstylingurl() {
|
|
1678
1678
|
return this.$$.ctx[8];
|
|
1679
1679
|
}
|
|
1680
1680
|
set clientstylingurl(e) {
|
|
1681
|
-
this.$$set({ clientstylingurl: e }),
|
|
1681
|
+
this.$$set({ clientstylingurl: e }), L();
|
|
1682
1682
|
}
|
|
1683
1683
|
get mbsource() {
|
|
1684
1684
|
return this.$$.ctx[36];
|
|
1685
1685
|
}
|
|
1686
1686
|
set mbsource(e) {
|
|
1687
|
-
this.$$set({ mbsource: e }),
|
|
1687
|
+
this.$$set({ mbsource: e }), L();
|
|
1688
1688
|
}
|
|
1689
1689
|
get showverifications() {
|
|
1690
1690
|
return this.$$.ctx[9];
|
|
1691
1691
|
}
|
|
1692
1692
|
set showverifications(e) {
|
|
1693
|
-
this.$$set({ showverifications: e }),
|
|
1693
|
+
this.$$set({ showverifications: e }), L();
|
|
1694
1694
|
}
|
|
1695
1695
|
get paymentmethod() {
|
|
1696
1696
|
return this.$$.ctx[0];
|
|
1697
1697
|
}
|
|
1698
1698
|
set paymentmethod(e) {
|
|
1699
|
-
this.$$set({ paymentmethod: e }),
|
|
1699
|
+
this.$$set({ paymentmethod: e }), L();
|
|
1700
1700
|
}
|
|
1701
1701
|
get customsucceessbuttons() {
|
|
1702
1702
|
return this.$$.ctx[37];
|
|
1703
1703
|
}
|
|
1704
1704
|
set customsucceessbuttons(e) {
|
|
1705
|
-
this.$$set({ customsucceessbuttons: e }),
|
|
1705
|
+
this.$$set({ customsucceessbuttons: e }), L();
|
|
1706
1706
|
}
|
|
1707
1707
|
get custompendingbuttons() {
|
|
1708
1708
|
return this.$$.ctx[38];
|
|
1709
1709
|
}
|
|
1710
1710
|
set custompendingbuttons(e) {
|
|
1711
|
-
this.$$set({ custompendingbuttons: e }),
|
|
1711
|
+
this.$$set({ custompendingbuttons: e }), L();
|
|
1712
1712
|
}
|
|
1713
1713
|
get customfailedbuttons() {
|
|
1714
1714
|
return this.$$.ctx[39];
|
|
1715
1715
|
}
|
|
1716
1716
|
set customfailedbuttons(e) {
|
|
1717
|
-
this.$$set({ customfailedbuttons: e }),
|
|
1717
|
+
this.$$set({ customfailedbuttons: e }), L();
|
|
1718
1718
|
}
|
|
1719
1719
|
get currencysymbol() {
|
|
1720
1720
|
return this.$$.ctx[40];
|
|
1721
1721
|
}
|
|
1722
1722
|
set currencysymbol(e) {
|
|
1723
|
-
this.$$set({ currencysymbol: e }),
|
|
1723
|
+
this.$$set({ currencysymbol: e }), L();
|
|
1724
1724
|
}
|
|
1725
1725
|
get currencyposition() {
|
|
1726
1726
|
return this.$$.ctx[41];
|
|
1727
1727
|
}
|
|
1728
1728
|
set currencyposition(e) {
|
|
1729
|
-
this.$$set({ currencyposition: e }),
|
|
1729
|
+
this.$$set({ currencyposition: e }), L();
|
|
1730
1730
|
}
|
|
1731
1731
|
get userroles() {
|
|
1732
1732
|
return this.$$.ctx[42];
|
|
1733
1733
|
}
|
|
1734
1734
|
set userroles(e) {
|
|
1735
|
-
this.$$set({ userroles: e }),
|
|
1735
|
+
this.$$set({ userroles: e }), L();
|
|
1736
1736
|
}
|
|
1737
1737
|
get windowsize() {
|
|
1738
1738
|
return this.$$.ctx[43];
|
|
1739
1739
|
}
|
|
1740
1740
|
set windowsize(e) {
|
|
1741
|
-
this.$$set({ windowsize: e }),
|
|
1741
|
+
this.$$set({ windowsize: e }), L();
|
|
1742
1742
|
}
|
|
1743
1743
|
get p2p() {
|
|
1744
1744
|
return this.$$.ctx[44];
|
|
1745
1745
|
}
|
|
1746
1746
|
set p2p(e) {
|
|
1747
|
-
this.$$set({ p2p: e }),
|
|
1747
|
+
this.$$set({ p2p: e }), L();
|
|
1748
1748
|
}
|
|
1749
1749
|
}
|
|
1750
|
-
|
|
1750
|
+
he(Fe, { 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);
|
|
1751
1751
|
export {
|
|
1752
|
-
|
|
1752
|
+
Fe as default
|
|
1753
1753
|
};
|