@everymatrix/cashier-page 1.91.1 → 1.91.2

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.
Files changed (55) hide show
  1. package/components/{CashierCarousel-BNcnaN7U.js → CashierCarousel-BofZKjRf.js} +2 -2
  2. package/components/{CashierCarousel-tfVH51fj.js → CashierCarousel-CNMnDNQz.js} +2 -2
  3. package/components/{CashierCarousel-CDhxtgjT.cjs → CashierCarousel-DQbG4edk.cjs} +1 -1
  4. package/components/{CashierError-CJCuZ3gS.js → CashierError-DJPfXVFN.js} +2 -2
  5. package/components/{CashierError-BBZp_vCz.js → CashierError-DUP7tACy.js} +2 -2
  6. package/components/{CashierError-BqvEnGrr.cjs → CashierError-ISlGyswL.cjs} +1 -1
  7. package/components/{CashierHeader-Bt5aV48_.js → CashierHeader-DF-2cBjK.js} +1 -1
  8. package/components/{CashierHeader-BGA-Qd-S.js → CashierHeader-DKJVHe7h.js} +1 -1
  9. package/components/{CashierHeader-BKL2lJFV.cjs → CashierHeader-DvFR_9go.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-BFSErhBp.cjs → CashierIframeRedirect-BNEVitom.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-pYzLGWrC.js → CashierIframeRedirect-DRD9axM6.js} +3 -3
  12. package/components/{CashierIframeRedirect-BmdHdE-5.js → CashierIframeRedirect-DZ_YLJYj.js} +3 -3
  13. package/components/{CashierMethodDetails-DVZrNpfS.cjs → CashierMethodDetails-BZKMdu3t.cjs} +2 -2
  14. package/components/{CashierMethodDetails-DcSOxSSa.js → CashierMethodDetails-CKIGaxi8.js} +5 -5
  15. package/components/{CashierMethodDetails-pX-AJWAC.js → CashierMethodDetails-Deaprjr2.js} +5 -5
  16. package/components/{CashierMethodsList-D1cLe15i.js → CashierMethodsList-Bi2J58lb.js} +2 -2
  17. package/components/{CashierMethodsList-CKVmXdTC.cjs → CashierMethodsList-D80YHvjG.cjs} +1 -1
  18. package/components/{CashierMethodsList-Bdv9g-e3.js → CashierMethodsList-gnvGqv6E.js} +2 -2
  19. package/components/{CashierModal-v3KI6AFW.js → CashierModal-D1IV_K94.js} +2 -2
  20. package/components/{CashierModal-B3zx276E.js → CashierModal-SkRBY0vF.js} +2 -2
  21. package/components/{CashierModal-J_mZ6ODP.cjs → CashierModal-aStI-fdB.cjs} +1 -1
  22. package/components/{CashierNotifications-D-OhK4CJ.cjs → CashierNotifications-B-qpSzxF.cjs} +1 -1
  23. package/components/{CashierNotifications-CS6nM02T.js → CashierNotifications-BIU_bNM2.js} +1 -1
  24. package/components/{CashierNotifications-B2R2A9Ph.js → CashierNotifications-C4Zl0QXH.js} +1 -1
  25. package/components/{CashierPage-flG2gyRG.cjs → CashierPage-CkcgKU-E.cjs} +1 -1
  26. package/components/{CashierPage-7d2gkNjC.js → CashierPage-Dj7li6Lk.js} +10 -10
  27. package/components/{CashierPage-N8z4Zzox.js → CashierPage-yP_xx26w.js} +10 -10
  28. package/components/{CashierReceiptPage-BHsVpacF.js → CashierReceiptPage-Bp1kvPqZ.js} +301 -287
  29. package/components/{CashierReceiptPage-BLOSwHFv.cjs → CashierReceiptPage-C2LRGXPG.cjs} +2 -2
  30. package/components/{CashierReceiptPage-BAvDYneB.js → CashierReceiptPage-DIQ5NCmX.js} +341 -327
  31. package/components/{CashierSessionExpirationModal-fN2A0ywt.js → CashierSessionExpirationModal-B-DtrlP7.js} +2 -2
  32. package/components/{CashierSessionExpirationModal-Bxct5zbr.js → CashierSessionExpirationModal-YnQFh24c.js} +2 -2
  33. package/components/{CashierSessionExpirationModal-vmiK0fHD.cjs → CashierSessionExpirationModal-_NLQgrzL.cjs} +1 -1
  34. package/components/{CashierSpinner-Ake8hCVD.js → CashierSpinner-BCzuIyuu.js} +2 -2
  35. package/components/{CashierSpinner-DXjWZCDg.js → CashierSpinner-BOQbmF2h.js} +2 -2
  36. package/components/{CashierSpinner-BUQIDK1i.cjs → CashierSpinner-Dn0kfQ_K.cjs} +1 -1
  37. package/components/{CashierStepUp-D2XsYRPV.js → CashierStepUp-Bpqm3i57.js} +2 -2
  38. package/components/{CashierStepUp-BtrSk7D-.cjs → CashierStepUp-CpCirwQD.cjs} +1 -1
  39. package/components/{CashierStepUp-CcGk8qq_.js → CashierStepUp-D79Gj8_o.js} +2 -2
  40. package/components/{CashierTransactionHistory-C_yz5IP4.js → CashierTransactionHistory-CeuEInba.js} +5 -5
  41. package/components/{CashierTransactionHistory-0iCdtdJ1.cjs → CashierTransactionHistory-DkzZ_zMy.cjs} +1 -1
  42. package/components/{CashierTransactionHistory-Dr-rQ2Vi.js → CashierTransactionHistory-qJMjtAww.js} +5 -5
  43. package/components/{CashierVerifications-DKRqica1.js → CashierVerifications-BUvupwqw.js} +3 -3
  44. package/components/{CashierVerifications-dqSxyAIe.js → CashierVerifications-D954Dcmi.js} +3 -3
  45. package/components/{CashierVerifications-v1QrnVcB.cjs → CashierVerifications-DcShCh6T.cjs} +1 -1
  46. package/components/{TxnStatusIcon-BWEAB3rw.cjs → TxnStatusIcon-CP7WnbND.cjs} +1 -1
  47. package/components/{TxnStatusIcon-BBJGYEAU.js → TxnStatusIcon-DRjPEMAm.js} +1 -1
  48. package/components/{TxnStatusIcon-BkGptsYx.js → TxnStatusIcon-j6u7C3Y3.js} +1 -1
  49. package/components/{TxnTypeIcons-Bjn-FpNT.cjs → TxnTypeIcons-BnhR_qpa.cjs} +1 -1
  50. package/components/{TxnTypeIcons-Bmdgcbf2.js → TxnTypeIcons-euzGvJDK.js} +1 -1
  51. package/components/{TxnTypeIcons-BDTJpcOb.js → TxnTypeIcons-ggzXXvn_.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
@@ -1,15 +1,15 @@
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 b, n as C, 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 me, ad as Ce, 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 be } from "./CashierPage-N8z4Zzox.js";
2
- import { f as A1 } from "./CashierSessionExpirationModal-Bxct5zbr.js";
3
- import { s as we, a as ye, b as ve } from "./CashierHeader-Bt5aV48_.js";
4
- function j1(i, e) {
5
- J1(i, e);
1
+ import { a as $1, i as ee, $ as te, S as ne, b as ie, s as ae, f as L, d as oe, z as d1, g as h, l as w, n as C, p as l, q as se, M as D1, N as re, r as le, K as ce, I as ue, Z as W1, y as H1, C as I1, h as z1, a8 as pe, t as de, a9 as fe, m as c, o as k, ac as me, H as Ce, ad as ge, w as R, x as M, O as T, F as he, A as M1, v as P1, D as L1, E as X1, P as N, J as A1, c as we, B as be } from "./CashierPage-yP_xx26w.js";
2
+ import { f as j1 } from "./CashierSessionExpirationModal-YnQFh24c.js";
3
+ import { s as ye, a as ve, b as _e } from "./CashierHeader-DF-2cBjK.js";
4
+ function Z1(i, e) {
5
+ $1(i, e);
6
6
  }
7
- function _e(i) {
8
- $1({
7
+ function ke(i) {
8
+ ee({
9
9
  fallbackLocale: "en"
10
- }), ee.set(i);
10
+ }), te.set(i);
11
11
  }
12
- const Z1 = {
12
+ const V1 = {
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
- }, ke = (i, e) => `${i + xe[e]}`, Te = (i, e) => `${Se[e]}.${X1[i]}.text`, Re = (i) => `${X1[`${i}`]}`, xe = {
289
+ }, Te = (i, e) => `${i + xe[e]}`, Re = (i, e) => `${Se[e]}.${J1[i]}.text`, Me = (i) => `${J1[`${i}`]}`, xe = {
290
290
  Success: "/txn-success.png",
291
291
  Voided: "/txn-success.png",
292
292
  Rejected: "/txn-failed.png",
@@ -301,7 +301,7 @@ const Z1 = {
301
301
  }, Se = {
302
302
  Deposit: "deposit",
303
303
  Withdraw: "withdrawal"
304
- }, X1 = {
304
+ }, J1 = {
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
- }, V1 = {
316
+ }, E1 = {
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" />
@@ -343,33 +343,33 @@ const Z1 = {
343
343
  </svg>
344
344
  `
345
345
  };
346
- function Me(i) {
347
- 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)}');
346
+ function De(i) {
347
+ oe(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)}');
348
348
  }
349
- function E1(i, e, t) {
349
+ function N1(i, e, t) {
350
350
  const n = i.slice();
351
351
  return n[70] = e[t], n[72] = t, n;
352
352
  }
353
- function N1(i, e, t) {
353
+ function Y1(i, e, t) {
354
354
  const n = i.slice();
355
355
  return n[73] = e[t], n;
356
356
  }
357
357
  function Le(i) {
358
- let e, t, n = H1(
358
+ let e, t, n = I1(
359
359
  /*userAgent*/
360
360
  i[25]
361
361
  ) && /*showverifications*/
362
362
  i[9] && /*displayVerifications*/
363
363
  i[22], a, s = (
364
364
  /*copied*/
365
- i[23] && Y1(i)
366
- ), o = n && K1(i);
365
+ i[23] && K1(i)
366
+ ), o = n && U1(i);
367
367
  function p(u, g) {
368
368
  if (
369
369
  /*txnInfo*/
370
370
  u[15]
371
371
  )
372
- return Pe;
372
+ return We;
373
373
  if (
374
374
  /*errorResponseCode*/
375
375
  u[19] && !/*showErrorOutsideReceiptPage*/
@@ -383,34 +383,34 @@ function Le(i) {
383
383
  s && s.c(), e = k(), t = C("div"), o && o.c(), a = k(), f && f.c(), l(t, "class", "CashierReceiptPage");
384
384
  },
385
385
  m(u, g) {
386
- s && s.m(u, g), b(u, e, g), b(u, t, g), o && o.m(t, null), c(t, a), f && f.m(t, null);
386
+ 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);
387
387
  },
388
388
  p(u, g) {
389
389
  /*copied*/
390
390
  u[23] ? s ? (s.p(u, g), g[0] & /*copied*/
391
- 8388608 && I1(s, 1)) : (s = Y1(u), s.c(), I1(s, 1), s.m(e.parentNode, e)) : s && (ue(), pe(s, 1, 1, () => {
391
+ 8388608 && z1(s, 1)) : (s = K1(u), s.c(), z1(s, 1), s.m(e.parentNode, e)) : s && (pe(), de(s, 1, 1, () => {
392
392
  s = null;
393
- }), de()), g[0] & /*showverifications, displayVerifications*/
394
- 4194816 && (n = H1(
393
+ }), fe()), g[0] & /*showverifications, displayVerifications*/
394
+ 4194816 && (n = I1(
395
395
  /*userAgent*/
396
396
  u[25]
397
397
  ) && /*showverifications*/
398
398
  u[9] && /*displayVerifications*/
399
- 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)));
399
+ u[22]), n ? o ? o.p(u, g) : (o = U1(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)));
400
400
  },
401
401
  d(u) {
402
402
  u && (h(e), h(t)), s && s.d(u), o && o.d(), f && f.d();
403
403
  }
404
404
  };
405
405
  }
406
- function De(i) {
406
+ function Pe(i) {
407
407
  let e;
408
408
  return {
409
409
  c() {
410
410
  e = C("div"), e.innerHTML = '<div class="Spinner"></div>', l(e, "class", "LoadingOverlay");
411
411
  },
412
412
  m(t, n) {
413
- b(t, e, n);
413
+ w(t, e, n);
414
414
  },
415
415
  p: d1,
416
416
  d(t) {
@@ -418,17 +418,17 @@ function De(i) {
418
418
  }
419
419
  };
420
420
  }
421
- function Y1(i) {
421
+ function K1(i) {
422
422
  let e, t = (
423
423
  /*$_*/
424
424
  i[24]("copyTransactionId") + ""
425
425
  ), n, a, s, o;
426
426
  return {
427
427
  c() {
428
- e = C("div"), n = x(t), l(e, "class", "CopyTooltip");
428
+ e = C("div"), n = M(t), l(e, "class", "CopyTooltip");
429
429
  },
430
430
  m(p, d) {
431
- b(p, e, d), c(e, n), o = !0;
431
+ w(p, e, d), c(e, n), o = !0;
432
432
  },
433
433
  p(p, d) {
434
434
  (!o || d[0] & /*$_*/
@@ -436,19 +436,19 @@ function Y1(i) {
436
436
  p[24]("copyTransactionId") + "") && R(n, t);
437
437
  },
438
438
  i(p) {
439
- o || (p && me(() => {
440
- o && (s && s.end(1), a = Ce(e, A1, { duration: 100 }), a.start());
439
+ o || (p && Ce(() => {
440
+ o && (s && s.end(1), a = ge(e, j1, { duration: 100 }), a.start());
441
441
  }), o = !0);
442
442
  },
443
443
  o(p) {
444
- a && a.invalidate(), p && (s = fe(e, A1, { duration: 1e3 })), o = !1;
444
+ a && a.invalidate(), p && (s = me(e, j1, { duration: 1e3 })), o = !1;
445
445
  },
446
446
  d(p) {
447
447
  p && h(e), p && s && s.end();
448
448
  }
449
449
  };
450
450
  }
451
- function K1(i) {
451
+ function U1(i) {
452
452
  let e;
453
453
  return {
454
454
  c() {
@@ -490,7 +490,7 @@ function K1(i) {
490
490
  );
491
491
  },
492
492
  m(t, n) {
493
- b(t, e, n);
493
+ w(t, e, n);
494
494
  },
495
495
  p(t, n) {
496
496
  n[0] & /*lang*/
@@ -546,7 +546,7 @@ function Be(i) {
546
546
  let e, t = (
547
547
  /*errorResponseCode*/
548
548
  i[19] === /*ResponseCode*/
549
- i[13].Maintenance && U1(i)
549
+ i[13].Maintenance && F1(i)
550
550
  );
551
551
  return {
552
552
  c() {
@@ -583,12 +583,12 @@ function Be(i) {
583
583
  );
584
584
  },
585
585
  m(n, a) {
586
- b(n, e, a), t && t.m(e, null);
586
+ w(n, e, a), t && t.m(e, null);
587
587
  },
588
588
  p(n, a) {
589
589
  /*errorResponseCode*/
590
590
  n[19] === /*ResponseCode*/
591
- 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*/
591
+ n[13].Maintenance ? t ? t.p(n, a) : (t = F1(n), t.c(), t.m(e, null)) : t && (t.d(1), t = null), a[0] & /*assetsurl*/
592
592
  32 && T(
593
593
  e,
594
594
  "assetsurl",
@@ -631,92 +631,92 @@ function Be(i) {
631
631
  }
632
632
  };
633
633
  }
634
- function Pe(i) {
634
+ function We(i) {
635
635
  let e, t, n, a, s, o = (
636
636
  /*$_*/
637
637
  i[24]("amount") + ""
638
- ), p, d, f, u, g, y, w, v = (
638
+ ), p, d, f, u, g, y, b, v = (
639
639
  /*$_*/
640
640
  i[24]("status") + ""
641
- ), P, U, Z, V = (
641
+ ), B, U, Z, V = (
642
642
  /*$_*/
643
643
  i[24](`${/*txnStatus*/
644
644
  i[21]}`) + ""
645
- ), N, Y, a1, M, H, X = (
645
+ ), E, Y, a1, D, H, J = (
646
646
  /*$_*/
647
647
  i[24]("transactionId") + ""
648
- ), o1, f1, O, s1 = (
648
+ ), o1, f1, F, s1 = (
649
649
  /*txnInfo*/
650
650
  i[15].referenceId + ""
651
- ), m1, C1, q, J, S = (
651
+ ), m1, C1, Q, $, x = (
652
652
  /*$_*/
653
653
  i[24]("payemntMethod") + ""
654
- ), y1, S1, D, r1, v1, A, $, e1 = (
654
+ ), y1, x1, S, r1, v1, A, e1, t1 = (
655
655
  /*$_*/
656
656
  i[24]("paymentTime") + ""
657
- ), l1, c1, _1, u1 = L1(
657
+ ), l1, c1, _1, u1 = D1(
658
658
  /*txnInfo*/
659
659
  i[15].time
660
- ).format("MMM DD, YYYY, HH:mm:ss") + "", g1, t1, n1, h1, Q, k1, p1, b1, T1;
660
+ ).format("MMM DD, YYYY, HH:mm:ss") + "", g1, n1, i1, h1, X, k1, p1, w1, T1;
661
661
  function R1(m, _) {
662
662
  if (
663
663
  /*txnStatus*/
664
664
  m[21] === "success"
665
665
  )
666
- return Ie;
666
+ return ze;
667
667
  if (
668
668
  /*txnStatus*/
669
669
  m[21] === "pending"
670
670
  )
671
- return He;
671
+ return Ie;
672
672
  if (
673
673
  /*txnStatus*/
674
674
  m[21] === "failed" || /*txnStatus*/
675
675
  m[21] === "rejected" || /*txnStatus*/
676
676
  m[21] === "canceled"
677
677
  )
678
- return We;
678
+ return He;
679
679
  }
680
680
  let G = R1(i), I = G && G(i), z = (
681
681
  /*displayedButtons*/
682
682
  i[12].length > 0 && O1(i)
683
683
  );
684
- function M1(m, _) {
684
+ function S1(m, _) {
685
685
  return (
686
686
  /*txnInfo*/
687
- m[15].type ? Ae : ze
687
+ m[15].type ? je : Ae
688
688
  );
689
689
  }
690
- let w1 = M1(i), K = w1(i), j = (
690
+ let b1 = S1(i), K = b1(i), j = (
691
691
  /*receiptFields*/
692
- i[16].length && G1(i)
692
+ i[16].length && q1(i)
693
693
  );
694
694
  return {
695
695
  c() {
696
- e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p = x(o), d = k(), f = C("span"), u = x(
696
+ e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p = M(o), d = k(), f = C("span"), u = M(
697
697
  /*amount*/
698
698
  i[17]
699
- ), g = k(), y = C("div"), w = C("p"), P = x(v), U = k(), Z = C("span"), N = x(V), a1 = k(), M = C("div"), H = C("p"), o1 = x(X), f1 = k(), O = C("span"), m1 = x(s1), C1 = k(), q = C("div"), J = C("p"), y1 = x(S), S1 = k(), D = C("span"), r1 = x(
699
+ ), g = k(), y = C("div"), b = C("p"), B = M(v), U = k(), Z = C("span"), E = M(V), a1 = k(), D = C("div"), H = C("p"), o1 = M(J), f1 = k(), F = C("span"), m1 = M(s1), C1 = k(), Q = C("div"), $ = C("p"), y1 = M(x), x1 = k(), S = C("span"), r1 = M(
700
700
  /*paymentmethod*/
701
701
  i[0]
702
- ), v1 = k(), A = C("div"), $ = C("p"), l1 = x(e1), c1 = k(), _1 = C("span"), g1 = x(u1), t1 = k(), n1 = C("div"), z && z.c(), h1 = k(), Q = C("button"), K.c(), k1 = k(), j && j.c(), p1 = B1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", Y = `Status ${/*txnStatus*/
703
- 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");
702
+ ), v1 = k(), A = C("div"), e1 = C("p"), l1 = M(t1), c1 = k(), _1 = C("span"), g1 = M(u1), n1 = k(), i1 = C("div"), z && z.c(), h1 = k(), X = C("button"), K.c(), k1 = k(), j && j.c(), p1 = P1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", Y = `Status ${/*txnStatus*/
703
+ i[21]}`), l(F, "class", "TxnIdText"), l(D, "class", "TxnId"), l(Q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(i1, "class", "ReceiptButtonsWrapper"), l(X, "class", "DefaultButton");
704
704
  },
705
705
  m(m, _) {
706
- b(m, e, _), I && I.m(e, null), b(m, t, _), b(m, 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, w), c(w, P), c(y, U), c(y, Z), c(Z, N), c(n, a1), c(n, M), c(M, H), c(H, o1), c(M, f1), c(M, O), c(O, m1), c(n, C1), c(n, q), c(q, J), c(J, y1), c(q, S1), 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), b(m, t1, _), b(m, n1, _), z && z.m(n1, null), b(m, h1, _), b(m, Q, _), K.m(Q, null), b(m, k1, _), j && j.m(m, _), b(m, p1, _), b1 || (T1 = [
707
- x1(
708
- O,
706
+ w(m, e, _), I && I.m(e, null), w(m, t, _), w(m, 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, B), c(y, U), c(y, Z), c(Z, E), c(n, a1), c(n, D), c(D, H), c(H, o1), c(D, f1), c(D, F), c(F, m1), c(n, C1), c(n, Q), c(Q, $), c($, y1), c(Q, x1), c(Q, S), c(S, r1), c(n, v1), c(n, A), c(A, e1), c(e1, l1), c(A, c1), c(A, _1), c(_1, g1), w(m, n1, _), w(m, i1, _), z && z.m(i1, null), w(m, h1, _), w(m, X, _), K.m(X, null), w(m, k1, _), j && j.m(m, _), w(m, p1, _), w1 || (T1 = [
707
+ M1(
708
+ F,
709
709
  "click",
710
710
  /*click_handler*/
711
711
  i[45]
712
712
  ),
713
- x1(
714
- Q,
713
+ M1(
714
+ X,
715
715
  "click",
716
716
  /*closeReceipt*/
717
717
  i[26]
718
718
  )
719
- ], b1 = !0);
719
+ ], w1 = !0);
720
720
  },
721
721
  p(m, _) {
722
722
  G === (G = R1(m)) && I ? I.p(m, _) : (I && I.d(1), I = G && G(m), I && (I.c(), I.m(e, null))), _[0] & /*$_*/
@@ -728,38 +728,38 @@ function Pe(i) {
728
728
  m[17]
729
729
  ), _[0] & /*$_*/
730
730
  16777216 && v !== (v = /*$_*/
731
- m[24]("status") + "") && R(P, v), _[0] & /*$_, txnStatus*/
731
+ m[24]("status") + "") && R(B, v), _[0] & /*$_, txnStatus*/
732
732
  18874368 && V !== (V = /*$_*/
733
733
  m[24](`${/*txnStatus*/
734
- m[21]}`) + "") && R(N, V), _[0] & /*txnStatus*/
734
+ m[21]}`) + "") && R(E, V), _[0] & /*txnStatus*/
735
735
  2097152 && Y !== (Y = `Status ${/*txnStatus*/
736
736
  m[21]}`) && l(y, "class", Y), _[0] & /*$_*/
737
- 16777216 && X !== (X = /*$_*/
738
- m[24]("transactionId") + "") && R(o1, X), _[0] & /*txnInfo*/
737
+ 16777216 && J !== (J = /*$_*/
738
+ m[24]("transactionId") + "") && R(o1, J), _[0] & /*txnInfo*/
739
739
  32768 && s1 !== (s1 = /*txnInfo*/
740
740
  m[15].referenceId + "") && R(m1, s1), _[0] & /*$_*/
741
- 16777216 && S !== (S = /*$_*/
742
- m[24]("payemntMethod") + "") && R(y1, S), _[0] & /*paymentmethod*/
741
+ 16777216 && x !== (x = /*$_*/
742
+ m[24]("payemntMethod") + "") && R(y1, x), _[0] & /*paymentmethod*/
743
743
  1 && R(
744
744
  r1,
745
745
  /*paymentmethod*/
746
746
  m[0]
747
747
  ), _[0] & /*$_*/
748
- 16777216 && e1 !== (e1 = /*$_*/
749
- m[24]("paymentTime") + "") && R(l1, e1), _[0] & /*txnInfo*/
750
- 32768 && u1 !== (u1 = L1(
748
+ 16777216 && t1 !== (t1 = /*$_*/
749
+ m[24]("paymentTime") + "") && R(l1, t1), _[0] & /*txnInfo*/
750
+ 32768 && u1 !== (u1 = D1(
751
751
  /*txnInfo*/
752
752
  m[15].time
753
753
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && R(g1, u1), /*displayedButtons*/
754
- m[12].length > 0 ? z ? z.p(m, _) : (z = O1(m), z.c(), z.m(n1, null)) : z && (z.d(1), z = null), w1 === (w1 = M1(m)) && K ? K.p(m, _) : (K.d(1), K = w1(m), K && (K.c(), K.m(Q, null))), /*receiptFields*/
755
- m[16].length ? j ? j.p(m, _) : (j = G1(m), j.c(), j.m(p1.parentNode, p1)) : j && (j.d(1), j = null);
754
+ m[12].length > 0 ? z ? z.p(m, _) : (z = O1(m), z.c(), z.m(i1, null)) : z && (z.d(1), z = null), b1 === (b1 = S1(m)) && K ? K.p(m, _) : (K.d(1), K = b1(m), K && (K.c(), K.m(X, null))), /*receiptFields*/
755
+ m[16].length ? j ? j.p(m, _) : (j = q1(m), j.c(), j.m(p1.parentNode, p1)) : j && (j.d(1), j = null);
756
756
  },
757
757
  d(m) {
758
- m && (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(), j && j.d(m), b1 = !1, ge(T1);
758
+ m && (h(e), h(t), h(n), h(n1), h(i1), h(h1), h(X), h(k1), h(p1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), w1 = !1, he(T1);
759
759
  }
760
760
  };
761
761
  }
762
- function U1(i) {
762
+ function F1(i) {
763
763
  let e, t, n, a = (
764
764
  /*$_*/
765
765
  i[24]("receipt.maintenance.title") + ""
@@ -769,10 +769,10 @@ function U1(i) {
769
769
  ), f;
770
770
  return {
771
771
  c() {
772
- e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s = x(a), o = k(), p = C("span"), f = x(d), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(p, "slot", "text"), l(p, "class", "CashierErrorText");
772
+ e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s = M(a), o = k(), p = C("span"), f = M(d), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(p, "slot", "text"), l(p, "class", "CashierErrorText");
773
773
  },
774
774
  m(u, g) {
775
- b(u, e, g), b(u, t, g), b(u, n, g), c(n, s), b(u, o, g), b(u, p, g), c(p, f);
775
+ 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);
776
776
  },
777
777
  p(u, g) {
778
778
  g[0] & /*$_*/
@@ -786,7 +786,7 @@ function U1(i) {
786
786
  }
787
787
  };
788
788
  }
789
- function We(i) {
789
+ function He(i) {
790
790
  let e, t, n, a, s, o, p, d = (
791
791
  /*$_*/
792
792
  i[24](`${/*txnInfo*/
@@ -795,70 +795,70 @@ function We(i) {
795
795
  /*$_*/
796
796
  i[24](`${/*txnInfo*/
797
797
  i[15].type.toLowerCase()}.fail.text`) + ""
798
- ), w;
798
+ ), b;
799
799
  return {
800
800
  c() {
801
- e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = k(), o = C("div"), p = C("h3"), f = x(d), u = k(), g = C("p"), w = 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");
801
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = k(), o = C("div"), p = C("h3"), f = M(d), u = k(), g = C("p"), b = M(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");
802
802
  },
803
- m(v, P) {
804
- b(v, e, P), c(e, t), c(e, n), c(e, a), b(v, s, P), b(v, o, P), c(o, p), c(p, f), c(o, u), c(o, g), c(g, w);
803
+ m(v, B) {
804
+ w(v, e, B), c(e, t), c(e, n), c(e, a), w(v, s, B), w(v, o, B), c(o, p), c(p, f), c(o, u), c(o, g), c(g, b);
805
805
  },
806
- p(v, P) {
807
- P[0] & /*$_, txnInfo*/
806
+ p(v, B) {
807
+ B[0] & /*$_, txnInfo*/
808
808
  16809984 && d !== (d = /*$_*/
809
809
  v[24](`${/*txnInfo*/
810
- v[15].type.toLowerCase()}.fail.title`) + "") && R(f, d), P[0] & /*$_, txnInfo*/
810
+ v[15].type.toLowerCase()}.fail.title`) + "") && R(f, d), B[0] & /*$_, txnInfo*/
811
811
  16809984 && y !== (y = /*$_*/
812
812
  v[24](`${/*txnInfo*/
813
- v[15].type.toLowerCase()}.fail.text`) + "") && R(w, y);
813
+ v[15].type.toLowerCase()}.fail.text`) + "") && R(b, y);
814
814
  },
815
815
  d(v) {
816
816
  v && (h(e), h(s), h(o));
817
817
  }
818
818
  };
819
819
  }
820
- function He(i) {
820
+ function Ie(i) {
821
821
  let e, t, n, a, s, o, p, d, f, u = (
822
822
  /*$_*/
823
823
  i[24](`${/*txnInfo*/
824
824
  i[15].type.toLowerCase()}.pending.title`) + ""
825
- ), g, y, w, v = (
825
+ ), g, y, b, v = (
826
826
  /*$_*/
827
827
  i[24](`${/*txnInfo*/
828
828
  i[15].type.toLowerCase()}.pending.text`) + ""
829
- ), P, U, Z, V = (
829
+ ), B, U, Z, V = (
830
830
  /*$_*/
831
831
  i[24]("refreshButton") + ""
832
- ), N, Y, a1;
832
+ ), E, Y, a1;
833
833
  return {
834
834
  c() {
835
- e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), p = k(), d = C("div"), f = C("h3"), g = x(u), y = k(), w = C("p"), P = x(v), U = k(), 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(d, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
835
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), p = k(), d = C("div"), f = C("h3"), g = M(u), y = k(), b = C("p"), B = M(v), U = k(), Z = C("button"), E = M(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(Z, "class", "RefreshButton");
836
836
  },
837
- m(M, H) {
838
- b(M, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), b(M, p, H), b(M, d, H), c(d, f), c(f, g), c(d, y), c(d, w), c(w, P), b(M, U, H), b(M, Z, H), c(Z, N), Y || (a1 = x1(
837
+ m(D, H) {
838
+ w(D, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(D, p, H), w(D, d, H), c(d, f), c(f, g), c(d, y), c(d, b), c(b, B), w(D, U, H), w(D, Z, H), c(Z, E), Y || (a1 = M1(
839
839
  Z,
840
840
  "click",
841
841
  /*getPaymentInfo*/
842
842
  i[27]
843
843
  ), Y = !0);
844
844
  },
845
- p(M, H) {
845
+ p(D, H) {
846
846
  H[0] & /*$_, txnInfo*/
847
847
  16809984 && u !== (u = /*$_*/
848
- M[24](`${/*txnInfo*/
849
- M[15].type.toLowerCase()}.pending.title`) + "") && R(g, u), H[0] & /*$_, txnInfo*/
848
+ D[24](`${/*txnInfo*/
849
+ D[15].type.toLowerCase()}.pending.title`) + "") && R(g, u), H[0] & /*$_, txnInfo*/
850
850
  16809984 && v !== (v = /*$_*/
851
- M[24](`${/*txnInfo*/
852
- M[15].type.toLowerCase()}.pending.text`) + "") && R(P, v), H[0] & /*$_*/
851
+ D[24](`${/*txnInfo*/
852
+ D[15].type.toLowerCase()}.pending.text`) + "") && R(B, v), H[0] & /*$_*/
853
853
  16777216 && V !== (V = /*$_*/
854
- M[24]("refreshButton") + "") && R(N, V);
854
+ D[24]("refreshButton") + "") && R(E, V);
855
855
  },
856
- d(M) {
857
- M && (h(e), h(p), h(d), h(U), h(Z)), Y = !1, a1();
856
+ d(D) {
857
+ D && (h(e), h(p), h(d), h(U), h(Z)), Y = !1, a1();
858
858
  }
859
859
  };
860
860
  }
861
- function Ie(i) {
861
+ function ze(i) {
862
862
  let e, t, n, a, s, o, p = (
863
863
  /*$_*/
864
864
  i[24](`${/*txnInfo*/
@@ -870,54 +870,54 @@ function Ie(i) {
870
870
  ), y;
871
871
  return {
872
872
  c() {
873
- e = E("svg"), t = E("circle"), n = E("path"), a = k(), s = C("div"), o = C("h3"), d = x(p), f = k(), u = C("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");
873
+ e = N("svg"), t = N("circle"), n = N("path"), a = k(), s = C("div"), o = C("h3"), d = M(p), f = k(), u = C("p"), y = M(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");
874
874
  },
875
- m(w, v) {
876
- b(w, e, v), c(e, t), c(e, n), b(w, a, v), b(w, s, v), c(s, o), c(o, d), c(s, f), c(s, u), c(u, y);
875
+ m(b, v) {
876
+ 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);
877
877
  },
878
- p(w, v) {
878
+ p(b, v) {
879
879
  v[0] & /*$_, txnInfo*/
880
880
  16809984 && p !== (p = /*$_*/
881
- w[24](`${/*txnInfo*/
882
- w[15].type.toLowerCase()}.success.title`) + "") && R(d, p), v[0] & /*$_, txnInfo*/
881
+ b[24](`${/*txnInfo*/
882
+ b[15].type.toLowerCase()}.success.title`) + "") && R(d, p), v[0] & /*$_, txnInfo*/
883
883
  16809984 && g !== (g = /*$_*/
884
- w[24](`${/*txnInfo*/
885
- w[15].type.toLowerCase()}.success.text`) + "") && R(y, g);
884
+ b[24](`${/*txnInfo*/
885
+ b[15].type.toLowerCase()}.success.text`) + "") && R(y, g);
886
886
  },
887
- d(w) {
888
- w && (h(e), h(a), h(s));
887
+ d(b) {
888
+ b && (h(e), h(a), h(s));
889
889
  }
890
890
  };
891
891
  }
892
892
  function O1(i) {
893
- let e, t = D1(
893
+ let e, t = L1(
894
894
  /*displayedButtons*/
895
895
  i[12]
896
896
  ), n = [];
897
897
  for (let a = 0; a < t.length; a += 1)
898
- n[a] = F1(N1(i, t, a));
898
+ n[a] = G1(Y1(i, t, a));
899
899
  return {
900
900
  c() {
901
901
  for (let a = 0; a < n.length; a += 1)
902
902
  n[a].c();
903
- e = B1();
903
+ e = P1();
904
904
  },
905
905
  m(a, s) {
906
906
  for (let o = 0; o < n.length; o += 1)
907
907
  n[o] && n[o].m(a, s);
908
- b(a, e, s);
908
+ w(a, e, s);
909
909
  },
910
910
  p(a, s) {
911
911
  if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
912
912
  285216768) {
913
- t = D1(
913
+ t = L1(
914
914
  /*displayedButtons*/
915
915
  a[12]
916
916
  );
917
917
  let o;
918
918
  for (o = 0; o < t.length; o += 1) {
919
- const p = N1(a, t, o);
920
- n[o] ? n[o].p(p, s) : (n[o] = F1(p), n[o].c(), n[o].m(e.parentNode, e));
919
+ const p = Y1(a, t, o);
920
+ n[o] ? n[o].p(p, s) : (n[o] = G1(p), n[o].c(), n[o].m(e.parentNode, e));
921
921
  }
922
922
  for (; o < n.length; o += 1)
923
923
  n[o].d(1);
@@ -925,12 +925,12 @@ function O1(i) {
925
925
  }
926
926
  },
927
927
  d(a) {
928
- a && h(e), Q1(n, a);
928
+ a && h(e), X1(n, a);
929
929
  }
930
930
  };
931
931
  }
932
- function F1(i) {
933
- let e, t, n = (V1[`${/*btn*/
932
+ function G1(i) {
933
+ let e, t, n = (E1[`${/*btn*/
934
934
  i[73].type}`] ?? "") + "", a, s = (
935
935
  /*$_*/
936
936
  i[24](`${/*btn*/
@@ -947,19 +947,19 @@ function F1(i) {
947
947
  }
948
948
  return {
949
949
  c() {
950
- e = C("button"), t = C("div"), a = k(), o = x(s), p = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", d = `${/*btn*/
950
+ e = C("button"), t = C("div"), a = k(), o = M(s), p = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", d = `${/*btn*/
951
951
  i[73].type} GoToButton`);
952
952
  },
953
- m(y, w) {
954
- b(y, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u = x1(e, "click", g), f = !0);
953
+ m(y, b) {
954
+ w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u = M1(e, "click", g), f = !0);
955
955
  },
956
- p(y, w) {
957
- i = y, w[0] & /*displayedButtons*/
958
- 4096 && n !== (n = (V1[`${/*btn*/
959
- i[73].type}`] ?? "") + "") && (t.innerHTML = n), w[0] & /*$_, displayedButtons*/
956
+ p(y, b) {
957
+ i = y, b[0] & /*displayedButtons*/
958
+ 4096 && n !== (n = (E1[`${/*btn*/
959
+ i[73].type}`] ?? "") + "") && (t.innerHTML = n), b[0] & /*$_, displayedButtons*/
960
960
  16781312 && s !== (s = /*$_*/
961
961
  i[24](`${/*btn*/
962
- i[73].translationKey}`) + "") && R(o, s), w[0] & /*displayedButtons*/
962
+ i[73].translationKey}`) + "") && R(o, s), b[0] & /*displayedButtons*/
963
963
  4096 && d !== (d = `${/*btn*/
964
964
  i[73].type} GoToButton`) && l(e, "class", d);
965
965
  },
@@ -968,17 +968,17 @@ function F1(i) {
968
968
  }
969
969
  };
970
970
  }
971
- function ze(i) {
971
+ function Ae(i) {
972
972
  let e = (
973
973
  /*$_*/
974
974
  i[24]("backHome") + ""
975
975
  ), t;
976
976
  return {
977
977
  c() {
978
- t = x(e);
978
+ t = M(e);
979
979
  },
980
980
  m(n, a) {
981
- b(n, t, a);
981
+ w(n, t, a);
982
982
  },
983
983
  p(n, a) {
984
984
  a[0] & /*$_*/
@@ -990,7 +990,7 @@ function ze(i) {
990
990
  }
991
991
  };
992
992
  }
993
- function Ae(i) {
993
+ function je(i) {
994
994
  let e = (
995
995
  /*$_*/
996
996
  i[24](`back${/*txnInfo*/
@@ -998,10 +998,10 @@ function Ae(i) {
998
998
  ), t;
999
999
  return {
1000
1000
  c() {
1001
- t = x(e);
1001
+ t = M(e);
1002
1002
  },
1003
1003
  m(n, a) {
1004
- b(n, t, a);
1004
+ w(n, t, a);
1005
1005
  },
1006
1006
  p(n, a) {
1007
1007
  a[0] & /*$_, txnInfo*/
@@ -1014,35 +1014,35 @@ function Ae(i) {
1014
1014
  }
1015
1015
  };
1016
1016
  }
1017
- function G1(i) {
1018
- let e, t = D1(
1017
+ function q1(i) {
1018
+ let e, t = L1(
1019
1019
  /*receiptFields*/
1020
1020
  i[16]
1021
1021
  ), n = [];
1022
1022
  for (let a = 0; a < t.length; a += 1)
1023
- n[a] = q1(E1(i, t, a));
1023
+ n[a] = Q1(N1(i, t, a));
1024
1024
  return {
1025
1025
  c() {
1026
1026
  for (let a = 0; a < n.length; a += 1)
1027
1027
  n[a].c();
1028
- e = B1();
1028
+ e = P1();
1029
1029
  },
1030
1030
  m(a, s) {
1031
1031
  for (let o = 0; o < n.length; o += 1)
1032
1032
  n[o] && n[o].m(a, s);
1033
- b(a, e, s);
1033
+ w(a, e, s);
1034
1034
  },
1035
1035
  p(a, s) {
1036
1036
  if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
1037
1037
  537214976) {
1038
- t = D1(
1038
+ t = L1(
1039
1039
  /*receiptFields*/
1040
1040
  a[16]
1041
1041
  );
1042
1042
  let o;
1043
1043
  for (o = 0; o < t.length; o += 1) {
1044
- const p = E1(a, t, o);
1045
- n[o] ? n[o].p(p, s) : (n[o] = q1(p), n[o].c(), n[o].m(e.parentNode, e));
1044
+ const p = N1(a, t, o);
1045
+ n[o] ? n[o].p(p, s) : (n[o] = Q1(p), n[o].c(), n[o].m(e.parentNode, e));
1046
1046
  }
1047
1047
  for (; o < n.length; o += 1)
1048
1048
  n[o].d(1);
@@ -1050,21 +1050,21 @@ function G1(i) {
1050
1050
  }
1051
1051
  },
1052
1052
  d(a) {
1053
- a && h(e), Q1(n, a);
1053
+ a && h(e), X1(n, a);
1054
1054
  }
1055
1055
  };
1056
1056
  }
1057
- function je(i) {
1057
+ function Ze(i) {
1058
1058
  let e, t = (
1059
1059
  /*field*/
1060
1060
  i[70].defaultValue + ""
1061
1061
  ), n;
1062
1062
  return {
1063
1063
  c() {
1064
- e = C("span"), n = x(t), l(e, "class", "Label");
1064
+ e = C("span"), n = M(t), l(e, "class", "Label");
1065
1065
  },
1066
1066
  m(a, s) {
1067
- b(a, e, s), c(e, n);
1067
+ w(a, e, s), c(e, n);
1068
1068
  },
1069
1069
  p(a, s) {
1070
1070
  s[0] & /*receiptFields*/
@@ -1076,10 +1076,10 @@ function je(i) {
1076
1076
  }
1077
1077
  };
1078
1078
  }
1079
- function Ze(i) {
1079
+ function Ve(i) {
1080
1080
  return { c: d1, m: d1, p: d1, d: d1 };
1081
1081
  }
1082
- function Ve(i) {
1082
+ function Ee(i) {
1083
1083
  let e, t = (
1084
1084
  /*field*/
1085
1085
  i[70].description + ""
@@ -1089,11 +1089,11 @@ function Ve(i) {
1089
1089
  ), p, d;
1090
1090
  return {
1091
1091
  c() {
1092
- e = C("span"), n = x(t), a = k(), s = C("a"), p = x(o), l(s, "href", d = /*field*/
1092
+ e = C("span"), n = M(t), a = k(), s = C("a"), p = M(o), l(s, "href", d = /*field*/
1093
1093
  i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
1094
1094
  },
1095
1095
  m(f, u) {
1096
- b(f, e, u), c(e, n), c(e, a), c(e, s), c(s, p);
1096
+ w(f, e, u), c(e, n), c(e, a), c(e, s), c(s, p);
1097
1097
  },
1098
1098
  p(f, u) {
1099
1099
  u[0] & /*receiptFields*/
@@ -1109,20 +1109,20 @@ function Ve(i) {
1109
1109
  }
1110
1110
  };
1111
1111
  }
1112
- function Ee(i) {
1112
+ function Ne(i) {
1113
1113
  let e, t, n;
1114
1114
  return {
1115
1115
  c() {
1116
- e = C("img"), z1(e.src, t = /*field*/
1116
+ e = C("img"), A1(e.src, t = /*field*/
1117
1117
  i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
1118
1118
  i[70].description), l(e, "alt", "");
1119
1119
  },
1120
1120
  m(a, s) {
1121
- b(a, e, s);
1121
+ w(a, e, s);
1122
1122
  },
1123
1123
  p(a, s) {
1124
1124
  s[0] & /*receiptFields*/
1125
- 65536 && !z1(e.src, t = /*field*/
1125
+ 65536 && !A1(e.src, t = /*field*/
1126
1126
  a[70].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
1127
1127
  65536 && n !== (n = /*field*/
1128
1128
  a[70].description) && l(e, "title", n);
@@ -1132,7 +1132,7 @@ function Ee(i) {
1132
1132
  }
1133
1133
  };
1134
1134
  }
1135
- function Ne(i) {
1135
+ function Ye(i) {
1136
1136
  let e, t = (
1137
1137
  /*field*/
1138
1138
  i[70].defaultValue + ""
@@ -1142,7 +1142,7 @@ function Ne(i) {
1142
1142
  e = C("span");
1143
1143
  },
1144
1144
  m(n, a) {
1145
- b(n, e, a), e.innerHTML = t;
1145
+ w(n, e, a), e.innerHTML = t;
1146
1146
  },
1147
1147
  p(n, a) {
1148
1148
  a[0] & /*receiptFields*/
@@ -1154,7 +1154,7 @@ function Ne(i) {
1154
1154
  }
1155
1155
  };
1156
1156
  }
1157
- function Ye(i) {
1157
+ function Ke(i) {
1158
1158
  let e, t, n = (
1159
1159
  /*field*/
1160
1160
  i[70].defaultValue + ""
@@ -1170,10 +1170,10 @@ function Ye(i) {
1170
1170
  }
1171
1171
  return {
1172
1172
  c() {
1173
- e = C("div"), t = C("div"), a = x(n), l(e, "class", "QRCode");
1173
+ e = C("div"), t = C("div"), a = M(n), l(e, "class", "QRCode");
1174
1174
  },
1175
1175
  m(d, f) {
1176
- b(d, e, f), c(e, t), c(t, a), i[47](t), s || (o = x1(e, "click", p), s = !0);
1176
+ w(d, e, f), c(e, t), c(t, a), i[47](t), s || (o = M1(e, "click", p), s = !0);
1177
1177
  },
1178
1178
  p(d, f) {
1179
1179
  i = d, f[0] & /*receiptFields*/
@@ -1185,25 +1185,25 @@ function Ye(i) {
1185
1185
  }
1186
1186
  };
1187
1187
  }
1188
- function q1(i) {
1188
+ function Q1(i) {
1189
1189
  let e, t;
1190
1190
  function n(o, p) {
1191
1191
  return (
1192
1192
  /*field*/
1193
1193
  o[70].type === /*FieldTypes*/
1194
- o[14].QRCode ? Ye : (
1194
+ o[14].QRCode ? Ke : (
1195
1195
  /*field*/
1196
1196
  o[70].type === /*FieldTypes*/
1197
- o[14].Html ? Ne : (
1197
+ o[14].Html ? Ye : (
1198
1198
  /*field*/
1199
1199
  o[70].type === /*FieldTypes*/
1200
- o[14].Image ? Ee : (
1200
+ o[14].Image ? Ne : (
1201
1201
  /*field*/
1202
1202
  o[70].type === /*FieldTypes*/
1203
- o[14].Link ? Ve : (
1203
+ o[14].Link ? Ee : (
1204
1204
  /*field*/
1205
1205
  o[70].type === /*FieldTypes*/
1206
- o[14].Hidden ? Ze : je
1206
+ o[14].Hidden ? Ve : Ze
1207
1207
  )
1208
1208
  )
1209
1209
  )
@@ -1216,7 +1216,7 @@ function q1(i) {
1216
1216
  e = C("div"), s.c(), t = k(), l(e, "class", "ReceiptField");
1217
1217
  },
1218
1218
  m(o, p) {
1219
- b(o, e, p), s.m(e, null), c(e, t);
1219
+ w(o, e, p), s.m(e, null), c(e, t);
1220
1220
  },
1221
1221
  p(o, p) {
1222
1222
  a === (a = n(o)) && s ? s.p(o, p) : (s.d(1), s = a(o), s && (s.c(), s.m(e, t)));
@@ -1226,12 +1226,12 @@ function q1(i) {
1226
1226
  }
1227
1227
  };
1228
1228
  }
1229
- function Ke(i) {
1229
+ function Ue(i) {
1230
1230
  let e;
1231
1231
  function t(s, o) {
1232
1232
  return (
1233
1233
  /*isLoading*/
1234
- s[11] ? De : Le
1234
+ s[11] ? Pe : Le
1235
1235
  );
1236
1236
  }
1237
1237
  let n = t(i), a = n(i);
@@ -1240,7 +1240,7 @@ function Ke(i) {
1240
1240
  e = C("div"), a.c(), l(e, "class", "CashierReceiptPageWidget");
1241
1241
  },
1242
1242
  m(s, o) {
1243
- b(s, e, o), a.m(e, null), i[49](e);
1243
+ w(s, e, o), a.m(e, null), i[49](e);
1244
1244
  },
1245
1245
  p(s, o) {
1246
1246
  n === (n = t(s)) && a ? a.p(s, o) : (a.d(1), a = n(s), a && (a.c(), a.m(e, null)));
@@ -1252,43 +1252,43 @@ function Ke(i) {
1252
1252
  }
1253
1253
  };
1254
1254
  }
1255
- let Ue = "_blank";
1255
+ let Fe = "_blank";
1256
1256
  function Oe(i, e, t) {
1257
1257
  let n;
1258
- oe(i, be, (r) => t(24, n = r)), L1.extend(se);
1259
- 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: w = "0" } = e, { type: v } = e, { clientstyling: P = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: N = "" } = e, Y = !1, a1, { customsucceessbuttons: M = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: O = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], q = [];
1260
- var J;
1258
+ se(i, be, (r) => t(24, n = r)), D1.extend(re);
1259
+ 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: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, Y = !1, a1, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: J = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: F = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], Q = [];
1260
+ var $;
1261
1261
  (function(r) {
1262
1262
  r.Success = "Success", r.Maintenance = "Maintenance";
1263
- })(J || (J = {}));
1264
- var S;
1263
+ })($ || ($ = {}));
1264
+ var x;
1265
1265
  (function(r) {
1266
1266
  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";
1267
- })(S || (S = {}));
1268
- const y1 = (r, [W, F]) => [
1267
+ })(x || (x = {}));
1268
+ const y1 = (r, [W, O]) => [
1269
1269
  ...r,
1270
- ...Array.isArray(W) ? [...W.map((B) => [B, F])] : [[W, F]]
1271
- ], S1 = new Map([
1272
- [["Unknown", 0], S.Unknown],
1273
- [["Text", 1], S.Text],
1274
- [["Boolean", 2], S.Boolean],
1275
- [["Number", 3], S.Number],
1276
- [["Money", 4], S.Money],
1277
- [["DateTime", 5], S.DateTime],
1278
- [["Lookup", 6], S.Lookup],
1279
- [["IpAddress", 7], S.IpAddress],
1280
- [["Date", 8], S.Date],
1281
- [["Time", 9], S.Time],
1282
- [["LookupCollection", 10], S.LookupCollection],
1283
- [["Hidden", 11], S.Hidden],
1284
- [["Label", 12], S.Label],
1285
- [["Password", 13], S.Password],
1286
- [["Link", 14], S.Link],
1287
- [["Image", 15], S.Image],
1288
- [["Html", 19], S.Html],
1289
- [["QR", 20], S.QRCode]
1270
+ ...Array.isArray(W) ? [...W.map((P) => [P, O])] : [[W, O]]
1271
+ ], x1 = new Map([
1272
+ [["Unknown", 0], x.Unknown],
1273
+ [["Text", 1], x.Text],
1274
+ [["Boolean", 2], x.Boolean],
1275
+ [["Number", 3], x.Number],
1276
+ [["Money", 4], x.Money],
1277
+ [["DateTime", 5], x.DateTime],
1278
+ [["Lookup", 6], x.Lookup],
1279
+ [["IpAddress", 7], x.IpAddress],
1280
+ [["Date", 8], x.Date],
1281
+ [["Time", 9], x.Time],
1282
+ [["LookupCollection", 10], x.LookupCollection],
1283
+ [["Hidden", 11], x.Hidden],
1284
+ [["Label", 12], x.Label],
1285
+ [["Password", 13], x.Password],
1286
+ [["Link", 14], x.Link],
1287
+ [["Image", 15], x.Image],
1288
+ [["Html", 19], x.Html],
1289
+ [["QR", 20], x.QRCode]
1290
1290
  ].reduce(y1, []));
1291
- let D, r1 = [], v1, A, $ = [], e1, l1, c1 = "", _1 = window.navigator.userAgent, u1 = !1;
1291
+ let S, r1 = [], v1, A, e1 = [], t1, l1, c1 = "", _1 = window.navigator.userAgent, u1 = !1;
1292
1292
  const g1 = {
1293
1293
  promotions: {
1294
1294
  event: "Cashier:goToPromotions",
@@ -1345,14 +1345,14 @@ function Oe(i, e, t) {
1345
1345
  translationKey: "close",
1346
1346
  type: "CloseButton"
1347
1347
  }
1348
- }, t1 = (r) => {
1349
- t(12, C1 = []), r.split(",").forEach((F) => {
1350
- g1[F.trim()] && C1.push(g1[F.trim()]);
1348
+ }, n1 = (r) => {
1349
+ t(12, C1 = []), r.split(",").forEach((O) => {
1350
+ g1[O.trim()] && C1.push(g1[O.trim()]);
1351
1351
  });
1352
- }, n1 = () => {
1353
- _e(o);
1352
+ }, i1 = () => {
1353
+ ke(o);
1354
1354
  };
1355
- re(() => (window.addEventListener("message", h1, !1), le(p, o1, f1, w), () => {
1355
+ le(() => (window.addEventListener("message", h1, !1), ce(p, o1, f1, b), () => {
1356
1356
  window.removeEventListener("message", h1);
1357
1357
  }));
1358
1358
  const h1 = (r) => {
@@ -1361,18 +1361,18 @@ function Oe(i, e, t) {
1361
1361
  window.opener?.postMessage(r.data);
1362
1362
  break;
1363
1363
  }
1364
- }, Q = () => {
1364
+ }, X = () => {
1365
1365
  let r = f;
1366
1366
  if (r)
1367
1367
  return fetch(r).then((W) => W.json()).then((W) => {
1368
- Object.keys(W).forEach((F) => {
1369
- j1(F, W[F]);
1368
+ Object.keys(W).forEach((O) => {
1369
+ Z1(O, W[O]);
1370
1370
  });
1371
1371
  }).catch(() => {
1372
1372
  });
1373
1373
  };
1374
- Object.keys(Z1).forEach((r) => {
1375
- j1(r, Z1[r]);
1374
+ Object.keys(V1).forEach((r) => {
1375
+ Z1(r, V1[r]);
1376
1376
  });
1377
1377
  const k1 = () => {
1378
1378
  window.postMessage({ type: "CloseCashierReceiptPage" }, window.location.href);
@@ -1380,49 +1380,63 @@ function Oe(i, e, t) {
1380
1380
  window.postMessage(
1381
1381
  {
1382
1382
  type: "ErrorResponseCode",
1383
- errorResponseCode: e1,
1383
+ errorResponseCode: t1,
1384
1384
  showErrorOutsideReceiptPage: l1
1385
1385
  },
1386
1386
  window.location.href
1387
1387
  );
1388
- }, b1 = () => {
1388
+ }, w1 = () => {
1389
1389
  const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), W = new Headers();
1390
- 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");
1391
- const F = {
1390
+ W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", D1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
1391
+ const O = {
1392
1392
  method: "POST",
1393
1393
  headers: W,
1394
1394
  body: JSON.stringify({ TransactionCode: y })
1395
1395
  };
1396
- t(11, Y = !0), fetch(r, F).then((B) => B.json()).then((B) => {
1397
- if (B.ResponseCode !== J.Success) {
1398
- t(19, e1 = B.ResponseCode), t(20, l1 = d.toLowerCase() === "false" || !d), p1();
1396
+ t(11, Y = !0), fetch(r, O).then((P) => P.json()).then((P) => {
1397
+ if (P.ResponseCode !== $.Success) {
1398
+ t(19, t1 = P.ResponseCode), t(20, l1 = d.toLowerCase() === "false" || !d), p1();
1399
1399
  return;
1400
1400
  }
1401
- switch (t(15, D = {
1402
- type: B.Transaction.Type,
1403
- referenceId: B.Transaction.Code,
1404
- status: B.Transaction.Status?.Status,
1405
- message: B.Transaction.Status?.Message,
1406
- amount: B.Transaction.Amounts[0]?.Amount,
1407
- currency: B.Transaction.Amounts[0]?.Currency,
1408
- time: B.Transaction.Status.Created
1409
- }), t(16, r1 = B.ReceiptInfo && B.ReceiptInfo.ReceiptFields ? B.ReceiptInfo.ReceiptFields.map((i1) => ({
1410
- type: S1.get(i1.Type),
1411
- name: i1.Name,
1412
- description: i1.Description,
1413
- defaultValue: i1.DefaultValue,
1414
- useCopyButton: i1.UseCopyButton,
1415
- usePrintButton: i1.UsePrintButton
1416
- })) : []), 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) {
1401
+ switch (t(15, S = {
1402
+ type: P.Transaction.Type,
1403
+ referenceId: P.Transaction.Code,
1404
+ status: P.Transaction.Status?.Status,
1405
+ message: P.Transaction.Status?.Message,
1406
+ amount: P.Transaction.Amounts[0]?.Amount,
1407
+ currency: P.Transaction.Amounts[0]?.Currency,
1408
+ time: P.Transaction.Status.Created
1409
+ }), t(16, r1 = P.ReceiptInfo && P.ReceiptInfo.ReceiptFields ? P.ReceiptInfo.ReceiptFields.map((q) => ({
1410
+ type: x1.get(q.Type),
1411
+ name: q.Name,
1412
+ description: q.Description,
1413
+ defaultValue: q.DefaultValue,
1414
+ useCopyButton: q.UseCopyButton,
1415
+ usePrintButton: q.UsePrintButton
1416
+ })) : []), P.ReceiptInfo && P.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Re(S.status, S.type), { values: { errorText: S.message } }), t(17, v1 = ue(Number(S.amount), S.currency)), S.status) {
1417
1417
  case "Voided":
1418
1418
  case "Success":
1419
- t1(M || "casino, livecasino, tournaments"), t(21, c1 = "success"), P1(
1420
- D.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1419
+ if (n1(D || "casino, livecasino, tournaments"), t(21, c1 = "success"), S.type === "Deposit") {
1420
+ const q = P.Transaction?.Flags?.NewDepositCustomer, B1 = P?.Transaction?.Payloads;
1421
+ window.postMessage(
1422
+ {
1423
+ type: q === "True" ? "FirstDeposit" : "ConfirmedDeposit",
1424
+ method: E,
1425
+ amount: S.amount,
1426
+ currency: S.currency,
1427
+ depositType: B1?.TagManagerDepositType ?? "",
1428
+ publicPaymentId: B1?.TagManagerCode ?? ""
1429
+ },
1430
+ window.location.href
1431
+ );
1432
+ }
1433
+ W1(
1434
+ S.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1421
1435
  {
1422
1436
  userID: g,
1423
- amount: D.amount,
1424
- currency: D.currency,
1425
- failureReason: D.message
1437
+ amount: S.amount,
1438
+ currency: S.currency,
1439
+ failureReason: S.message
1426
1440
  }
1427
1441
  );
1428
1442
  break;
@@ -1432,25 +1446,25 @@ function Oe(i, e, t) {
1432
1446
  case "PendingApprovalStage2":
1433
1447
  case "PendingApprovalStage3":
1434
1448
  case "PendingOfflineNotification":
1435
- t1(H || "casino, livecasino, tournaments"), t(21, c1 = "pending");
1449
+ n1(H || "casino, livecasino, tournaments"), t(21, c1 = "pending");
1436
1450
  break;
1437
1451
  case "Rejected":
1438
1452
  case "Cancelled":
1439
1453
  case "Failed":
1440
- t1(X || "casino, livecasino, tournaments"), t(21, c1 = D.status.toLowerCase()), P1(
1441
- D.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1454
+ n1(J || "casino, livecasino, tournaments"), t(21, c1 = S.status.toLowerCase()), W1(
1455
+ S.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1442
1456
  {
1443
1457
  userID: g,
1444
- amount: D.amount,
1445
- currency: D.currency,
1446
- failureReason: D.message
1458
+ amount: S.amount,
1459
+ currency: S.currency,
1460
+ failureReason: S.message
1447
1461
  }
1448
1462
  ), V === "true" && t(22, u1 = !0);
1449
1463
  break;
1450
1464
  default:
1451
- t1("close");
1465
+ n1("close");
1452
1466
  }
1453
- u ? ke(u, D.status) : Re(D.status);
1467
+ u ? Te(u, S.status) : Me(S.status);
1454
1468
  }).finally(() => t(11, Y = !1));
1455
1469
  }, T1 = (r) => {
1456
1470
  window.postMessage({ type: r }, window.location.href);
@@ -1459,7 +1473,7 @@ function Oe(i, e, t) {
1459
1473
  {
1460
1474
  type: "NavigateTo",
1461
1475
  path: r,
1462
- target: Ue,
1476
+ target: Fe,
1463
1477
  externalLink: !1
1464
1478
  },
1465
1479
  window.location.href
@@ -1467,68 +1481,68 @@ function Oe(i, e, t) {
1467
1481
  };
1468
1482
  let G, I;
1469
1483
  const z = async (r, W = !0) => {
1470
- const B = r.currentTarget.innerHTML;
1471
- if (B && navigator.clipboard && navigator.clipboard.writeText)
1484
+ const P = r.currentTarget.innerHTML;
1485
+ if (P && navigator.clipboard && navigator.clipboard.writeText)
1472
1486
  try {
1473
- await navigator.clipboard.writeText(B), W && (t(23, G = !0), clearTimeout(I), I = setTimeout(
1487
+ await navigator.clipboard.writeText(P), W && (t(23, G = !0), clearTimeout(I), I = setTimeout(
1474
1488
  () => {
1475
1489
  t(23, G = !1);
1476
1490
  },
1477
1491
  2e3
1478
1492
  ));
1479
- } catch (i1) {
1480
- console.error("Clipboard API failed:", i1);
1493
+ } catch (q) {
1494
+ console.error("Clipboard API failed:", q);
1481
1495
  }
1482
- }, M1 = () => {
1483
- O.length > 0 && (q = O.split(","));
1484
- }, w1 = (r) => z(r), K = (r) => T1(r.event);
1496
+ }, S1 = () => {
1497
+ F.length > 0 && (Q = F.split(","));
1498
+ }, b1 = (r) => z(r), K = (r) => T1(r.event);
1485
1499
  function j(r) {
1486
- W1[r ? "unshift" : "push"](() => {
1487
- $[$.length] = r, t(18, $);
1500
+ H1[r ? "unshift" : "push"](() => {
1501
+ e1[e1.length] = r, t(18, e1);
1488
1502
  });
1489
1503
  }
1490
1504
  const m = (r) => {
1491
1505
  R1(r.description);
1492
1506
  };
1493
1507
  function _(r) {
1494
- W1[r ? "unshift" : "push"](() => {
1508
+ H1[r ? "unshift" : "push"](() => {
1495
1509
  A = r, t(10, A);
1496
1510
  });
1497
1511
  }
1498
1512
  return i.$$set = (r) => {
1499
- "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, w = 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, Z = r.mbsource), "showverifications" in r && t(9, V = r.showverifications), "paymentmethod" in r && t(0, N = r.paymentmethod), "customsucceessbuttons" in r && t(37, M = 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, m1 = r.p2p);
1513
+ "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, B = r.clientstyling), "clientstylingurl" in r && t(8, U = r.clientstylingurl), "mbsource" in r && t(36, Z = r.mbsource), "showverifications" in r && t(9, V = r.showverifications), "paymentmethod" in r && t(0, E = r.paymentmethod), "customsucceessbuttons" in r && t(37, D = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, H = r.custompendingbuttons), "customfailedbuttons" in r && t(39, J = r.customfailedbuttons), "currencysymbol" in r && t(40, o1 = r.currencysymbol), "currencyposition" in r && t(41, f1 = r.currencyposition), "userroles" in r && t(42, F = r.userroles), "windowsize" in r && t(43, s1 = r.windowsize), "p2p" in r && t(44, m1 = r.p2p);
1500
1514
  }, i.$$.update = () => {
1501
1515
  i.$$.dirty[1] & /*userroles*/
1502
- 2048 && O && M1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1516
+ 2048 && F && S1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1503
1517
  70 | i.$$.dirty[1] & /*transactionid, showerrors*/
1504
- 6 && a && s && g && y && d && b1(), i.$$.dirty[0] & /*lang*/
1505
- 8 && o && n1(), i.$$.dirty[0] & /*lang, translationurl*/
1506
- 24 && o && f && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1507
- 1152 && P && A && we(A, P), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1508
- 1280 && U && A && ye(A, U), i.$$.dirty[0] & /*customStylingContainer*/
1518
+ 6 && a && s && g && y && d && w1(), i.$$.dirty[0] & /*lang*/
1519
+ 8 && o && i1(), i.$$.dirty[0] & /*lang, translationurl*/
1520
+ 24 && o && f && X(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1521
+ 1152 && B && A && ye(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1522
+ 1280 && U && A && ve(A, U), i.$$.dirty[0] & /*customStylingContainer*/
1509
1523
  1024 | i.$$.dirty[1] & /*mbsource*/
1510
- 32 && Z && A && ve(A, `${Z}.Style`, a1);
1524
+ 32 && Z && A && _e(A, `${Z}.Style`, a1);
1511
1525
  }, [
1512
- N,
1526
+ E,
1513
1527
  a,
1514
1528
  s,
1515
1529
  o,
1516
1530
  f,
1517
1531
  u,
1518
1532
  g,
1519
- P,
1533
+ B,
1520
1534
  U,
1521
1535
  V,
1522
1536
  A,
1523
1537
  Y,
1524
1538
  C1,
1525
- J,
1539
+ $,
1540
+ x,
1526
1541
  S,
1527
- D,
1528
1542
  r1,
1529
1543
  v1,
1530
- $,
1531
1544
  e1,
1545
+ t1,
1532
1546
  l1,
1533
1547
  c1,
1534
1548
  u1,
@@ -1536,39 +1550,39 @@ function Oe(i, e, t) {
1536
1550
  n,
1537
1551
  _1,
1538
1552
  k1,
1539
- b1,
1553
+ w1,
1540
1554
  T1,
1541
1555
  R1,
1542
1556
  z,
1543
1557
  p,
1544
1558
  d,
1545
1559
  y,
1546
- w,
1560
+ b,
1547
1561
  v,
1548
1562
  Z,
1549
- M,
1563
+ D,
1550
1564
  H,
1551
- X,
1565
+ J,
1552
1566
  o1,
1553
1567
  f1,
1554
- O,
1568
+ F,
1555
1569
  s1,
1556
1570
  m1,
1557
- w1,
1571
+ b1,
1558
1572
  K,
1559
1573
  j,
1560
1574
  m,
1561
1575
  _
1562
1576
  ];
1563
1577
  }
1564
- class Fe extends te {
1578
+ class Ge extends ne {
1565
1579
  constructor(e) {
1566
- super(), ne(
1580
+ super(), ie(
1567
1581
  this,
1568
1582
  e,
1569
1583
  Oe,
1570
- Ke,
1571
- ie,
1584
+ Ue,
1585
+ ae,
1572
1586
  {
1573
1587
  endpoint: 1,
1574
1588
  session: 2,
@@ -1595,7 +1609,7 @@ class Fe extends te {
1595
1609
  windowsize: 43,
1596
1610
  p2p: 44
1597
1611
  },
1598
- Me,
1612
+ De,
1599
1613
  [-1, -1, -1]
1600
1614
  );
1601
1615
  }
@@ -1744,7 +1758,7 @@ class Fe extends te {
1744
1758
  this.$$set({ p2p: e }), L();
1745
1759
  }
1746
1760
  }
1747
- 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);
1761
+ we(Ge, { 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);
1748
1762
  export {
1749
- Fe as default
1763
+ Ge as default
1750
1764
  };