@everymatrix/cashier-page 1.92.25 → 1.92.35

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 (56) hide show
  1. package/components/{CashierCarousel-B-cM-nlR.js → CashierCarousel-DJXsZKF9.js} +8 -8
  2. package/components/{CashierCarousel-CXoovlrR.js → CashierCarousel-DwrGzk7c.js} +8 -8
  3. package/components/{CashierError-66WHxjwV.js → CashierError-BeRIXW0u.js} +11 -9
  4. package/components/{CashierError-BCtelxyY.js → CashierError-BjYEWMeB.js} +10 -8
  5. package/components/CashierError-Bk3doalq.cjs +1 -0
  6. package/components/{CashierHeader-BbP0idUh.js → CashierHeader-BNDmkX5f.js} +1 -1
  7. package/components/{CashierHeader-B7FnLv3f.js → CashierHeader-DJYOdmdi.js} +1 -1
  8. package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-CF8dL6ee.js} +3 -3
  9. package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-CbC9sVb1.js} +3 -3
  10. package/components/CashierMethodDetails-B8jEY5r9.cjs +85 -0
  11. package/components/{CashierMethodDetails-DwxyZsO9.js → CashierMethodDetails-D0snQDHd.js} +2072 -2039
  12. package/components/{CashierMethodDetails-DBSUEB_D.js → CashierMethodDetails-R0e85lIZ.js} +1821 -1788
  13. package/components/{CashierMethodsList-DhdFCG-2.cjs → CashierMethodsList-C-LviFVa.cjs} +1 -1
  14. package/components/{CashierMethodsList-BKT0mAA7.js → CashierMethodsList-Dn1tTbJ8.js} +2 -2
  15. package/components/{CashierMethodsList-BuNCR1gH.js → CashierMethodsList-vKXKUr6I.js} +2 -2
  16. package/components/CashierModal-BLrymidc.cjs +1 -0
  17. package/components/{CashierModal-BsrmgnKi.js → CashierModal-CV1Fn4BP.js} +11 -11
  18. package/components/{CashierModal-B1pfSpCs.js → CashierModal-ZV_9oeml.js} +10 -10
  19. package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-C_xReVni.js} +1 -1
  20. package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-DHKh64xU.js} +1 -1
  21. package/components/CashierPage-CxJtHN82.js +4565 -0
  22. package/components/CashierPage-D5HzIRKM.cjs +1 -0
  23. package/components/{CashierPage-CEsy9s9B.js → CashierPage-lKHG1ZQA.js} +966 -895
  24. package/components/{CashierReceiptPage-BIntRtIE.js → CashierReceiptPage-3wSGU8Zo.js} +165 -178
  25. package/components/CashierReceiptPage-59q4XIFK.cjs +26 -0
  26. package/components/{CashierReceiptPage-C32O7nem.js → CashierReceiptPage-DvEaT6Aj.js} +154 -167
  27. package/components/{CashierSessionExpirationModal-CxS83e58.js → CashierSessionExpirationModal-BTSVZpOZ.js} +3 -3
  28. package/components/CashierSessionExpirationModal-qy43e6CN.cjs +2 -0
  29. package/components/{CashierSessionExpirationModal-A-Ooe2PL.js → CashierSessionExpirationModal-yMigsy-U.js} +3 -3
  30. package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-D3HhhmOb.js} +1 -1
  31. package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DyemUXs_.js} +1 -1
  32. package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CSZd5C7z.js} +1 -1
  33. package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-CmTcFbG9.js} +1 -1
  34. package/components/{CashierTransactionHistory-I6XvA3QR.js → CashierTransactionHistory-CjiL-ZRI.js} +5 -5
  35. package/components/{CashierTransactionHistory-CGWDKw4P.js → CashierTransactionHistory-DyuMdFKW.js} +5 -5
  36. package/components/CashierTransactionHistory-xRtRQScB.cjs +1 -0
  37. package/components/{CashierVerifications-CP7i8zb-.js → CashierVerifications-BZkZflTo.js} +284 -269
  38. package/components/{CashierVerifications-BRWAbFQB.js → CashierVerifications-CELErwgC.js} +254 -239
  39. package/components/CashierVerifications-vuh_K3hC.cjs +1 -0
  40. package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BwvCa-Ig.js} +1 -1
  41. package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-ssLhQR5N.js} +1 -1
  42. package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-B84nFRMh.js} +1 -1
  43. package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-DhwUYw-o.js} +1 -1
  44. package/es2015/cashier-page.cjs +1 -1
  45. package/es2015/cashier-page.js +7 -7
  46. package/esnext/cashier-page.js +1 -1
  47. package/package.json +1 -1
  48. package/components/CashierError-BL_rmfvV.cjs +0 -1
  49. package/components/CashierMethodDetails-D8GwBoJy.cjs +0 -85
  50. package/components/CashierModal-DF8meLAZ.cjs +0 -1
  51. package/components/CashierPage-CXljaeLc.js +0 -4490
  52. package/components/CashierPage-ClvZpYy6.cjs +0 -1
  53. package/components/CashierReceiptPage-Dq89kZ8t.cjs +0 -26
  54. package/components/CashierSessionExpirationModal-NeYEMFI7.cjs +0 -2
  55. package/components/CashierTransactionHistory-CCwPL4ij.cjs +0 -1
  56. package/components/CashierVerifications-I52gsQ35.cjs +0 -1
@@ -14,24 +14,16 @@ var N1 = (i, e, t) => new Promise((n, a) => {
14
14
  }, u = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(s, o);
15
15
  u((t = t.apply(i, e)).next());
16
16
  });
17
- import { ac as ue, a as pe, i as de, $ as fe, S as me, b as Ce, s as ge, f as P, c as he, G as d1, e as h, k as w, m as C, o as l, p as we, q as be, O as ye, U as ve, y as Y1, N as K1, g as U1, a6 as _e, t as ke, a7 as Te, l as c, n as _, ad as Re, L as Se, ae as Me, v as R, w as S, A as T, a2 as xe, x as M1, r as W1, Z as P1, a4 as re, X as N, z as O1, B as De, C as Le, D as Pe, E as Be, F as We } from "./CashierCarousel-CXoovlrR.js";
18
- import { d as B1, u as He, a as F1 } from "./CashierMethodDetails-DBSUEB_D.js";
19
- function G1(i, { delay: e = 0, duration: t = 400, easing: n = ue } = {}) {
20
- const a = +getComputedStyle(i).opacity;
21
- return {
22
- delay: e,
23
- duration: t,
24
- easing: n,
25
- css: (s) => `opacity: ${s * a}`
26
- };
27
- }
17
+ import { a as ce, i as ue, $ as pe, S as de, b as fe, s as me, f as B, c as Ce, G as d1, e as h, k as w, m as C, o as l, p as ge, q as he, O as we, U as be, y as Y1, N as K1, g as U1, a6 as ye, t as ve, a7 as _e, l as c, n as _, ae as ke, L as Te, af as Re, v as R, w as x, A as T, a2 as xe, x as M1, r as W1, Z as B1, a4 as re, X as N, z as F1, B as Me, C as Se, D as De, E as Le, F as Be } from "./CashierCarousel-DwrGzk7c.js";
18
+ import { f as O1 } from "./CashierPage-CxJtHN82.js";
19
+ import { d as P1, u as Pe, a as G1 } from "./CashierMethodDetails-R0e85lIZ.js";
28
20
  function q1(i, e) {
29
- pe(i, e);
21
+ ce(i, e);
30
22
  }
31
- function Ie(i) {
32
- de({
23
+ function We(i) {
24
+ ue({
33
25
  fallbackLocale: "en"
34
- }), fe.set(i);
26
+ }), pe.set(i);
35
27
  }
36
28
  const Q1 = {
37
29
  en: {
@@ -310,7 +302,7 @@ const Q1 = {
310
302
  uploadDocuments: "Télécharger des documents",
311
303
  goToHomepage: "Aller à la page d’accueil"
312
304
  }
313
- }, ze = (i, e) => `${i + Ze[e]}`, Ae = (i, e) => `${Ve[e]}.${le[i]}.text`, je = (i) => `${le[`${i}`]}`, Ze = {
305
+ }, He = (i, e) => `${i + Ae[e]}`, Ie = (i, e) => `${je[e]}.${le[i]}.text`, ze = (i) => `${le[`${i}`]}`, Ae = {
314
306
  Success: "/txn-success.png",
315
307
  Voided: "/txn-success.png",
316
308
  Rejected: "/txn-failed.png",
@@ -322,7 +314,7 @@ const Q1 = {
322
314
  PendingApprovalStage2: "/txn-pending.png",
323
315
  PendingApprovalStage3: "/txn-pending.png",
324
316
  PendingOfflineNotification: "/txn-pending.png"
325
- }, Ve = {
317
+ }, je = {
326
318
  Deposit: "deposit",
327
319
  Withdraw: "withdrawal"
328
320
  }, le = {
@@ -367,8 +359,8 @@ const Q1 = {
367
359
  </svg>
368
360
  `
369
361
  };
370
- function Ee(i) {
371
- he(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)}');
362
+ function Ze(i) {
363
+ Ce(i, "svelte-nkabfs", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}');
372
364
  }
373
365
  function J1(i, e, t) {
374
366
  const n = i.slice();
@@ -378,7 +370,7 @@ function $1(i, e, t) {
378
370
  const n = i.slice();
379
371
  return n[73] = e[t], n;
380
372
  }
381
- function Ne(i) {
373
+ function Ve(i) {
382
374
  let e, t, n = K1(
383
375
  /*userAgent*/
384
376
  i[25]
@@ -393,13 +385,13 @@ function Ne(i) {
393
385
  /*txnInfo*/
394
386
  d[15]
395
387
  )
396
- return Ue;
388
+ return Ye;
397
389
  if (
398
390
  /*errorResponseCode*/
399
391
  d[19] && !/*showErrorOutsideReceiptPage*/
400
392
  d[20]
401
393
  )
402
- return Ke;
394
+ return Ne;
403
395
  }
404
396
  let p = u(i), f = p && p(i);
405
397
  return {
@@ -412,9 +404,9 @@ function Ne(i) {
412
404
  p(d, g) {
413
405
  /*copied*/
414
406
  d[23] ? s ? (s.p(d, g), g[0] & /*copied*/
415
- 8388608 && U1(s, 1)) : (s = ee(d), s.c(), U1(s, 1), s.m(e.parentNode, e)) : s && (_e(), ke(s, 1, 1, () => {
407
+ 8388608 && U1(s, 1)) : (s = ee(d), s.c(), U1(s, 1), s.m(e.parentNode, e)) : s && (ye(), ve(s, 1, 1, () => {
416
408
  s = null;
417
- }), Te()), g[0] & /*showverifications, displayVerifications*/
409
+ }), _e()), g[0] & /*showverifications, displayVerifications*/
418
410
  4194816 && (n = K1(
419
411
  /*userAgent*/
420
412
  d[25]
@@ -427,7 +419,7 @@ function Ne(i) {
427
419
  }
428
420
  };
429
421
  }
430
- function Ye(i) {
422
+ function Ee(i) {
431
423
  let e;
432
424
  return {
433
425
  c() {
@@ -449,7 +441,7 @@ function ee(i) {
449
441
  ), n, a, s, o;
450
442
  return {
451
443
  c() {
452
- e = C("div"), n = S(t), l(e, "class", "CopyTooltip");
444
+ e = C("div"), n = x(t), l(e, "class", "CopyTooltip");
453
445
  },
454
446
  m(u, p) {
455
447
  w(u, e, p), c(e, n), o = !0;
@@ -460,12 +452,12 @@ function ee(i) {
460
452
  u[24]("copyTransactionId") + "") && R(n, t);
461
453
  },
462
454
  i(u) {
463
- o || (u && Se(() => {
464
- o && (s && s.end(1), a = Me(e, G1, { duration: 100 }), a.start());
455
+ o || (u && Te(() => {
456
+ o && (s && s.end(1), a = Re(e, O1, { duration: 100 }), a.start());
465
457
  }), o = !0);
466
458
  },
467
459
  o(u) {
468
- a && a.invalidate(), u && (s = Re(e, G1, { duration: 1e3 })), o = !1;
460
+ a && a.invalidate(), u && (s = ke(e, O1, { duration: 1e3 })), o = !1;
469
461
  },
470
462
  d(u) {
471
463
  u && h(e), u && s && s.end();
@@ -566,7 +558,7 @@ function te(i) {
566
558
  }
567
559
  };
568
560
  }
569
- function Ke(i) {
561
+ function Ne(i) {
570
562
  let e, t = (
571
563
  /*errorResponseCode*/
572
564
  i[19] === /*ResponseCode*/
@@ -655,60 +647,60 @@ function Ke(i) {
655
647
  }
656
648
  };
657
649
  }
658
- function Ue(i) {
650
+ function Ye(i) {
659
651
  let e, t, n, a, s, o = (
660
652
  /*$_*/
661
653
  i[24]("amount") + ""
662
654
  ), u, p, f, d, g, k, y, b = (
663
655
  /*$_*/
664
656
  i[24]("status") + ""
665
- ), B, U, Z, V = (
657
+ ), P, U, Z, V = (
666
658
  /*$_*/
667
659
  i[24](`${/*txnStatus*/
668
660
  i[21]}`) + ""
669
661
  ), E, Y, a1, L, H, X = (
670
662
  /*$_*/
671
663
  i[24]("transactionId") + ""
672
- ), o1, f1, O, s1 = (
664
+ ), o1, f1, F, s1 = (
673
665
  /*txnInfo*/
674
666
  i[15].referenceId + ""
675
667
  ), m1, C1, q, J, M = (
676
668
  /*$_*/
677
669
  i[24]("payemntMethod") + ""
678
- ), v1, x1, x, r1, _1, A, $, e1 = (
670
+ ), v1, S1, S, r1, _1, A, $, e1 = (
679
671
  /*$_*/
680
672
  i[24]("paymentTime") + ""
681
- ), l1, c1, k1, u1 = B1(
673
+ ), l1, c1, k1, u1 = P1(
682
674
  /*txnInfo*/
683
675
  i[15].time
684
676
  ).format("MMM DD, YYYY, HH:mm:ss") + "", g1, t1, n1, h1, Q, T1, p1, w1, R1;
685
- function S1(m, v) {
677
+ function x1(m, v) {
686
678
  if (
687
679
  /*txnStatus*/
688
680
  m[21] === "success"
689
681
  )
690
- return Ge;
682
+ return Fe;
691
683
  if (
692
684
  /*txnStatus*/
693
685
  m[21] === "pending"
694
686
  )
695
- return Fe;
687
+ return Ue;
696
688
  if (
697
689
  /*txnStatus*/
698
690
  m[21] === "failed" || /*txnStatus*/
699
691
  m[21] === "rejected" || /*txnStatus*/
700
692
  m[21] === "canceled"
701
693
  )
702
- return Oe;
694
+ return Ke;
703
695
  }
704
- let G = S1(i), I = G && G(i), z = (
696
+ let G = x1(i), I = G && G(i), z = (
705
697
  /*displayedButtons*/
706
698
  i[12].length > 0 && ie(i)
707
699
  );
708
700
  function D1(m, v) {
709
701
  return (
710
702
  /*txnInfo*/
711
- m[15].type ? Qe : qe
703
+ m[15].type ? Ge : Oe
712
704
  );
713
705
  }
714
706
  let b1 = D1(i), K = b1(i), j = (
@@ -717,19 +709,19 @@ function Ue(i) {
717
709
  );
718
710
  return {
719
711
  c() {
720
- e = C("div"), I && I.c(), t = _(), n = C("div"), a = C("div"), s = C("p"), u = S(o), p = _(), f = C("span"), d = S(
712
+ e = C("div"), I && I.c(), t = _(), n = C("div"), a = C("div"), s = C("p"), u = x(o), p = _(), f = C("span"), d = x(
721
713
  /*amount*/
722
714
  i[17]
723
- ), g = _(), k = C("div"), y = C("p"), B = S(b), U = _(), Z = C("span"), E = S(V), a1 = _(), L = C("div"), H = C("p"), o1 = S(X), f1 = _(), O = C("span"), m1 = S(s1), C1 = _(), q = C("div"), J = C("p"), v1 = S(M), x1 = _(), x = C("span"), r1 = S(
715
+ ), g = _(), k = C("div"), y = C("p"), P = x(b), U = _(), Z = C("span"), E = x(V), a1 = _(), L = C("div"), H = C("p"), o1 = x(X), f1 = _(), F = C("span"), m1 = x(s1), C1 = _(), q = C("div"), J = C("p"), v1 = x(M), S1 = _(), S = C("span"), r1 = x(
724
716
  /*paymentmethod*/
725
717
  i[0]
726
- ), _1 = _(), A = C("div"), $ = C("p"), l1 = S(e1), c1 = _(), k1 = C("span"), g1 = S(u1), t1 = _(), n1 = C("div"), z && z.c(), h1 = _(), Q = C("button"), K.c(), T1 = _(), j && j.c(), p1 = W1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(k, "class", Y = `Status ${/*txnStatus*/
727
- i[21]}`), l(O, "class", "TxnIdText"), l(L, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(n1, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
718
+ ), _1 = _(), A = C("div"), $ = C("p"), l1 = x(e1), c1 = _(), k1 = C("span"), g1 = x(u1), t1 = _(), n1 = C("div"), z && z.c(), h1 = _(), Q = C("button"), K.c(), T1 = _(), j && j.c(), p1 = W1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(k, "class", Y = `Status ${/*txnStatus*/
719
+ i[21]}`), l(F, "class", "TxnIdText"), l(L, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(n1, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
728
720
  },
729
721
  m(m, v) {
730
- w(m, e, v), I && I.m(e, null), w(m, t, v), w(m, n, v), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, g), c(n, k), c(k, y), c(y, B), c(k, U), c(k, Z), c(Z, E), c(n, a1), c(n, L), c(L, H), c(H, o1), c(L, f1), c(L, O), c(O, m1), c(n, C1), c(n, q), c(q, J), c(J, v1), c(q, x1), c(q, x), c(x, r1), c(n, _1), c(n, A), c(A, $), c($, l1), c(A, c1), c(A, k1), c(k1, g1), w(m, t1, v), w(m, n1, v), z && z.m(n1, null), w(m, h1, v), w(m, Q, v), K.m(Q, null), w(m, T1, v), j && j.m(m, v), w(m, p1, v), w1 || (R1 = [
722
+ w(m, e, v), I && I.m(e, null), w(m, t, v), w(m, n, v), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, g), c(n, k), c(k, y), c(y, P), c(k, U), c(k, Z), c(Z, E), c(n, a1), c(n, L), c(L, H), c(H, o1), c(L, f1), c(L, F), c(F, m1), c(n, C1), c(n, q), c(q, J), c(J, v1), c(q, S1), c(q, S), c(S, r1), c(n, _1), c(n, A), c(A, $), c($, l1), c(A, c1), c(A, k1), c(k1, g1), w(m, t1, v), w(m, n1, v), z && z.m(n1, null), w(m, h1, v), w(m, Q, v), K.m(Q, null), w(m, T1, v), j && j.m(m, v), w(m, p1, v), w1 || (R1 = [
731
723
  M1(
732
- O,
724
+ F,
733
725
  "click",
734
726
  /*click_handler*/
735
727
  i[45]
@@ -743,7 +735,7 @@ function Ue(i) {
743
735
  ], w1 = !0);
744
736
  },
745
737
  p(m, v) {
746
- G === (G = S1(m)) && I ? I.p(m, v) : (I && I.d(1), I = G && G(m), I && (I.c(), I.m(e, null))), v[0] & /*$_*/
738
+ G === (G = x1(m)) && I ? I.p(m, v) : (I && I.d(1), I = G && G(m), I && (I.c(), I.m(e, null))), v[0] & /*$_*/
747
739
  16777216 && o !== (o = /*$_*/
748
740
  m[24]("amount") + "") && R(u, o), v[0] & /*amount*/
749
741
  131072 && R(
@@ -752,7 +744,7 @@ function Ue(i) {
752
744
  m[17]
753
745
  ), v[0] & /*$_*/
754
746
  16777216 && b !== (b = /*$_*/
755
- m[24]("status") + "") && R(B, b), v[0] & /*$_, txnStatus*/
747
+ m[24]("status") + "") && R(P, b), v[0] & /*$_, txnStatus*/
756
748
  18874368 && V !== (V = /*$_*/
757
749
  m[24](`${/*txnStatus*/
758
750
  m[21]}`) + "") && R(E, V), v[0] & /*txnStatus*/
@@ -771,7 +763,7 @@ function Ue(i) {
771
763
  ), v[0] & /*$_*/
772
764
  16777216 && e1 !== (e1 = /*$_*/
773
765
  m[24]("paymentTime") + "") && R(l1, e1), v[0] & /*txnInfo*/
774
- 32768 && u1 !== (u1 = B1(
766
+ 32768 && u1 !== (u1 = P1(
775
767
  /*txnInfo*/
776
768
  m[15].time
777
769
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && R(g1, u1), /*displayedButtons*/
@@ -793,7 +785,7 @@ function ne(i) {
793
785
  ), f;
794
786
  return {
795
787
  c() {
796
- e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = C("span"), s = S(a), o = _(), u = C("span"), f = S(p), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(u, "slot", "text"), l(u, "class", "CashierErrorText");
788
+ e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = C("span"), s = x(a), o = _(), u = C("span"), f = x(p), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(u, "slot", "text"), l(u, "class", "CashierErrorText");
797
789
  },
798
790
  m(d, g) {
799
791
  w(d, e, g), w(d, t, g), w(d, n, g), c(n, s), w(d, o, g), w(d, u, g), c(u, f);
@@ -810,7 +802,7 @@ function ne(i) {
810
802
  }
811
803
  };
812
804
  }
813
- function Oe(i) {
805
+ function Ke(i) {
814
806
  let e, t, n, a, s, o, u, p = (
815
807
  /*$_*/
816
808
  i[24](`${/*txnInfo*/
@@ -822,16 +814,16 @@ function Oe(i) {
822
814
  ), y;
823
815
  return {
824
816
  c() {
825
- e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = _(), o = C("div"), u = C("h3"), f = S(p), d = _(), g = C("p"), y = S(k), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
817
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = _(), o = C("div"), u = C("h3"), f = x(p), d = _(), g = C("p"), y = x(k), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
826
818
  },
827
- m(b, B) {
828
- w(b, e, B), c(e, t), c(e, n), c(e, a), w(b, s, B), w(b, o, B), c(o, u), c(u, f), c(o, d), c(o, g), c(g, y);
819
+ m(b, P) {
820
+ w(b, e, P), c(e, t), c(e, n), c(e, a), w(b, s, P), w(b, o, P), c(o, u), c(u, f), c(o, d), c(o, g), c(g, y);
829
821
  },
830
- p(b, B) {
831
- B[0] & /*$_, txnInfo*/
822
+ p(b, P) {
823
+ P[0] & /*$_, txnInfo*/
832
824
  16809984 && p !== (p = /*$_*/
833
825
  b[24](`${/*txnInfo*/
834
- b[15].type.toLowerCase()}.fail.title`) + "") && R(f, p), B[0] & /*$_, txnInfo*/
826
+ b[15].type.toLowerCase()}.fail.title`) + "") && R(f, p), P[0] & /*$_, txnInfo*/
835
827
  16809984 && k !== (k = /*$_*/
836
828
  b[24](`${/*txnInfo*/
837
829
  b[15].type.toLowerCase()}.fail.text`) + "") && R(y, k);
@@ -841,7 +833,7 @@ function Oe(i) {
841
833
  }
842
834
  };
843
835
  }
844
- function Fe(i) {
836
+ function Ue(i) {
845
837
  let e, t, n, a, s, o, u, p, f, d = (
846
838
  /*$_*/
847
839
  i[24](`${/*txnInfo*/
@@ -850,16 +842,16 @@ function Fe(i) {
850
842
  /*$_*/
851
843
  i[24](`${/*txnInfo*/
852
844
  i[15].type.toLowerCase()}.pending.text`) + ""
853
- ), B, U, Z, V = (
845
+ ), P, U, Z, V = (
854
846
  /*$_*/
855
847
  i[24]("refreshButton") + ""
856
848
  ), E, Y, a1;
857
849
  return {
858
850
  c() {
859
- e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), u = _(), p = C("div"), f = C("h3"), g = S(d), k = _(), y = C("p"), B = S(b), U = _(), Z = C("button"), E = S(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
851
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), u = _(), p = C("div"), f = C("h3"), g = x(d), k = _(), y = C("p"), P = x(b), U = _(), Z = C("button"), E = x(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
860
852
  },
861
853
  m(L, H) {
862
- w(L, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(L, u, H), w(L, p, H), c(p, f), c(f, g), c(p, k), c(p, y), c(y, B), w(L, U, H), w(L, Z, H), c(Z, E), Y || (a1 = M1(
854
+ w(L, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(L, u, H), w(L, p, H), c(p, f), c(f, g), c(p, k), c(p, y), c(y, P), w(L, U, H), w(L, Z, H), c(Z, E), Y || (a1 = M1(
863
855
  Z,
864
856
  "click",
865
857
  /*getPaymentInfo*/
@@ -873,7 +865,7 @@ function Fe(i) {
873
865
  L[15].type.toLowerCase()}.pending.title`) + "") && R(g, d), H[0] & /*$_, txnInfo*/
874
866
  16809984 && b !== (b = /*$_*/
875
867
  L[24](`${/*txnInfo*/
876
- L[15].type.toLowerCase()}.pending.text`) + "") && R(B, b), H[0] & /*$_*/
868
+ L[15].type.toLowerCase()}.pending.text`) + "") && R(P, b), H[0] & /*$_*/
877
869
  16777216 && V !== (V = /*$_*/
878
870
  L[24]("refreshButton") + "") && R(E, V);
879
871
  },
@@ -882,7 +874,7 @@ function Fe(i) {
882
874
  }
883
875
  };
884
876
  }
885
- function Ge(i) {
877
+ function Fe(i) {
886
878
  let e, t, n, a, s, o, u = (
887
879
  /*$_*/
888
880
  i[24](`${/*txnInfo*/
@@ -894,7 +886,7 @@ function Ge(i) {
894
886
  ), k;
895
887
  return {
896
888
  c() {
897
- e = N("svg"), t = N("circle"), n = N("path"), a = _(), s = C("div"), o = C("h3"), p = S(u), f = _(), d = C("p"), k = S(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");
889
+ e = N("svg"), t = N("circle"), n = N("path"), a = _(), s = C("div"), o = C("h3"), p = x(u), f = _(), d = C("p"), k = x(g), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
898
890
  },
899
891
  m(y, b) {
900
892
  w(y, e, b), c(e, t), c(e, n), w(y, a, b), w(y, s, b), c(s, o), c(o, p), c(s, f), c(s, d), c(d, k);
@@ -914,7 +906,7 @@ function Ge(i) {
914
906
  };
915
907
  }
916
908
  function ie(i) {
917
- let e, t = P1(
909
+ let e, t = B1(
918
910
  /*displayedButtons*/
919
911
  i[12]
920
912
  ), n = [];
@@ -934,7 +926,7 @@ function ie(i) {
934
926
  p(a, s) {
935
927
  if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
936
928
  285216768) {
937
- t = P1(
929
+ t = B1(
938
930
  /*displayedButtons*/
939
931
  a[12]
940
932
  );
@@ -972,17 +964,17 @@ function ae(i) {
972
964
  }
973
965
  return {
974
966
  c() {
975
- e = C("button"), t = C("div"), a = _(), o = S(s), u = _(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
967
+ e = C("button"), t = C("div"), a = _(), o = x(s), u = _(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
976
968
  i[73].type} GoToButton`);
977
969
  },
978
970
  m(y, b) {
979
971
  w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), f || (d = M1(e, "click", g), f = !0);
980
972
  },
981
973
  p(y, b) {
982
- var B;
974
+ var P;
983
975
  i = y, b[0] & /*displayedButtons*/
984
- 4096 && n !== (n = ((B = X1[`${/*btn*/
985
- i[73].type}`]) != null ? B : "") + "") && (t.innerHTML = n), b[0] & /*$_, displayedButtons*/
976
+ 4096 && n !== (n = ((P = X1[`${/*btn*/
977
+ i[73].type}`]) != null ? P : "") + "") && (t.innerHTML = n), b[0] & /*$_, displayedButtons*/
986
978
  16781312 && s !== (s = /*$_*/
987
979
  i[24](`${/*btn*/
988
980
  i[73].translationKey}`) + "") && R(o, s), b[0] & /*displayedButtons*/
@@ -994,14 +986,14 @@ function ae(i) {
994
986
  }
995
987
  };
996
988
  }
997
- function qe(i) {
989
+ function Oe(i) {
998
990
  let e = (
999
991
  /*$_*/
1000
992
  i[24]("backHome") + ""
1001
993
  ), t;
1002
994
  return {
1003
995
  c() {
1004
- t = S(e);
996
+ t = x(e);
1005
997
  },
1006
998
  m(n, a) {
1007
999
  w(n, t, a);
@@ -1016,7 +1008,7 @@ function qe(i) {
1016
1008
  }
1017
1009
  };
1018
1010
  }
1019
- function Qe(i) {
1011
+ function Ge(i) {
1020
1012
  let e = (
1021
1013
  /*$_*/
1022
1014
  i[24](`back${/*txnInfo*/
@@ -1024,7 +1016,7 @@ function Qe(i) {
1024
1016
  ), t;
1025
1017
  return {
1026
1018
  c() {
1027
- t = S(e);
1019
+ t = x(e);
1028
1020
  },
1029
1021
  m(n, a) {
1030
1022
  w(n, t, a);
@@ -1041,7 +1033,7 @@ function Qe(i) {
1041
1033
  };
1042
1034
  }
1043
1035
  function oe(i) {
1044
- let e, t = P1(
1036
+ let e, t = B1(
1045
1037
  /*receiptFields*/
1046
1038
  i[16]
1047
1039
  ), n = [];
@@ -1061,7 +1053,7 @@ function oe(i) {
1061
1053
  p(a, s) {
1062
1054
  if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
1063
1055
  537214976) {
1064
- t = P1(
1056
+ t = B1(
1065
1057
  /*receiptFields*/
1066
1058
  a[16]
1067
1059
  );
@@ -1080,14 +1072,14 @@ function oe(i) {
1080
1072
  }
1081
1073
  };
1082
1074
  }
1083
- function Xe(i) {
1075
+ function qe(i) {
1084
1076
  let e, t = (
1085
1077
  /*field*/
1086
1078
  i[70].defaultValue + ""
1087
1079
  ), n;
1088
1080
  return {
1089
1081
  c() {
1090
- e = C("span"), n = S(t), l(e, "class", "Label");
1082
+ e = C("span"), n = x(t), l(e, "class", "Label");
1091
1083
  },
1092
1084
  m(a, s) {
1093
1085
  w(a, e, s), c(e, n);
@@ -1102,10 +1094,10 @@ function Xe(i) {
1102
1094
  }
1103
1095
  };
1104
1096
  }
1105
- function Je(i) {
1097
+ function Qe(i) {
1106
1098
  return { c: d1, m: d1, p: d1, d: d1 };
1107
1099
  }
1108
- function $e(i) {
1100
+ function Xe(i) {
1109
1101
  let e, t = (
1110
1102
  /*field*/
1111
1103
  i[70].description + ""
@@ -1115,7 +1107,7 @@ function $e(i) {
1115
1107
  ), u, p;
1116
1108
  return {
1117
1109
  c() {
1118
- e = C("span"), n = S(t), a = _(), s = C("a"), u = S(o), l(s, "href", p = /*field*/
1110
+ e = C("span"), n = x(t), a = _(), s = C("a"), u = x(o), l(s, "href", p = /*field*/
1119
1111
  i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
1120
1112
  },
1121
1113
  m(f, d) {
@@ -1135,11 +1127,11 @@ function $e(i) {
1135
1127
  }
1136
1128
  };
1137
1129
  }
1138
- function et(i) {
1130
+ function Je(i) {
1139
1131
  let e, t, n;
1140
1132
  return {
1141
1133
  c() {
1142
- e = C("img"), O1(e.src, t = /*field*/
1134
+ e = C("img"), F1(e.src, t = /*field*/
1143
1135
  i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
1144
1136
  i[70].description), l(e, "alt", "");
1145
1137
  },
@@ -1148,7 +1140,7 @@ function et(i) {
1148
1140
  },
1149
1141
  p(a, s) {
1150
1142
  s[0] & /*receiptFields*/
1151
- 65536 && !O1(e.src, t = /*field*/
1143
+ 65536 && !F1(e.src, t = /*field*/
1152
1144
  a[70].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
1153
1145
  65536 && n !== (n = /*field*/
1154
1146
  a[70].description) && l(e, "title", n);
@@ -1158,7 +1150,7 @@ function et(i) {
1158
1150
  }
1159
1151
  };
1160
1152
  }
1161
- function tt(i) {
1153
+ function $e(i) {
1162
1154
  let e, t = (
1163
1155
  /*field*/
1164
1156
  i[70].defaultValue + ""
@@ -1180,7 +1172,7 @@ function tt(i) {
1180
1172
  }
1181
1173
  };
1182
1174
  }
1183
- function nt(i) {
1175
+ function et(i) {
1184
1176
  let e, t, n = (
1185
1177
  /*field*/
1186
1178
  i[70].defaultValue + ""
@@ -1196,7 +1188,7 @@ function nt(i) {
1196
1188
  }
1197
1189
  return {
1198
1190
  c() {
1199
- e = C("div"), t = C("div"), a = S(n), l(e, "class", "QRCode");
1191
+ e = C("div"), t = C("div"), a = x(n), l(e, "class", "QRCode");
1200
1192
  },
1201
1193
  m(p, f) {
1202
1194
  w(p, e, f), c(e, t), c(t, a), i[47](t), s || (o = M1(e, "click", u), s = !0);
@@ -1217,19 +1209,19 @@ function se(i) {
1217
1209
  return (
1218
1210
  /*field*/
1219
1211
  o[70].type === /*FieldTypes*/
1220
- o[14].QRCode ? nt : (
1212
+ o[14].QRCode ? et : (
1221
1213
  /*field*/
1222
1214
  o[70].type === /*FieldTypes*/
1223
- o[14].Html ? tt : (
1215
+ o[14].Html ? $e : (
1224
1216
  /*field*/
1225
1217
  o[70].type === /*FieldTypes*/
1226
- o[14].Image ? et : (
1218
+ o[14].Image ? Je : (
1227
1219
  /*field*/
1228
1220
  o[70].type === /*FieldTypes*/
1229
- o[14].Link ? $e : (
1221
+ o[14].Link ? Xe : (
1230
1222
  /*field*/
1231
1223
  o[70].type === /*FieldTypes*/
1232
- o[14].Hidden ? Je : Xe
1224
+ o[14].Hidden ? Qe : qe
1233
1225
  )
1234
1226
  )
1235
1227
  )
@@ -1252,12 +1244,12 @@ function se(i) {
1252
1244
  }
1253
1245
  };
1254
1246
  }
1255
- function it(i) {
1247
+ function tt(i) {
1256
1248
  let e;
1257
1249
  function t(s, o) {
1258
1250
  return (
1259
1251
  /*isLoading*/
1260
- s[11] ? Ye : Ne
1252
+ s[11] ? Ee : Ve
1261
1253
  );
1262
1254
  }
1263
1255
  let n = t(i), a = n(i);
@@ -1278,11 +1270,11 @@ function it(i) {
1278
1270
  }
1279
1271
  };
1280
1272
  }
1281
- let at = "_blank";
1282
- function ot(i, e, t) {
1273
+ let nt = "_blank";
1274
+ function it(i, e, t) {
1283
1275
  let n;
1284
- we(i, We, (r) => t(24, n = r)), B1.extend(He);
1285
- let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: f } = e, { assetsurl: d = "" } = e, { customerid: g } = e, { transactionid: k } = e, { currencydecimals: y = "0" } = e, { type: b } = e, { clientstyling: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, Y = !1, a1, { customsucceessbuttons: L = "" } = 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 = [];
1276
+ ge(i, Be, (r) => t(24, n = r)), P1.extend(Pe);
1277
+ let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: f } = e, { assetsurl: d = "" } = e, { customerid: g } = e, { transactionid: k } = e, { currencydecimals: y = "0" } = e, { type: b } = e, { clientstyling: P = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, Y = !1, a1, { customsucceessbuttons: L = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: F = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], q = [];
1286
1278
  var J;
1287
1279
  (function(r) {
1288
1280
  r.Success = "Success", r.Maintenance = "Maintenance";
@@ -1291,10 +1283,10 @@ function ot(i, e, t) {
1291
1283
  (function(r) {
1292
1284
  r.Unknown = "Unknown", r.Text = "Text", r.Boolean = "Boolean", r.Number = "Number", r.Money = "Money", r.DateTime = "DateTime", r.Lookup = "Lookup", r.IpAddress = "IpAddress", r.Date = "Date", r.Time = "Time", r.LookupCollection = "LookupCollection", r.Hidden = "Hidden", r.Label = "Label", r.Password = "Password", r.Link = "Link", r.Image = "Image", r.Html = "Html", r.QRCode = "QR";
1293
1285
  })(M || (M = {}));
1294
- const v1 = (r, [W, F]) => [
1286
+ const v1 = (r, [W, O]) => [
1295
1287
  ...r,
1296
- ...Array.isArray(W) ? [...W.map((D) => [D, F])] : [[W, F]]
1297
- ], x1 = new Map([
1288
+ ...Array.isArray(W) ? [...W.map((D) => [D, O])] : [[W, O]]
1289
+ ], S1 = new Map([
1298
1290
  [["Unknown", 0], M.Unknown],
1299
1291
  [["Text", 1], M.Text],
1300
1292
  [["Boolean", 2], M.Boolean],
@@ -1314,7 +1306,7 @@ function ot(i, e, t) {
1314
1306
  [["Html", 19], M.Html],
1315
1307
  [["QR", 20], M.QRCode]
1316
1308
  ].reduce(v1, []));
1317
- let x, r1 = [], _1, A, $ = [], e1, l1, c1 = "", k1 = window.navigator.userAgent, u1 = !1;
1309
+ let S, r1 = [], _1, A, $ = [], e1, l1, c1 = "", k1 = window.navigator.userAgent, u1 = !1;
1318
1310
  const g1 = {
1319
1311
  promotions: {
1320
1312
  event: "Cashier:goToPromotions",
@@ -1372,13 +1364,13 @@ function ot(i, e, t) {
1372
1364
  type: "CloseButton"
1373
1365
  }
1374
1366
  }, t1 = (r) => {
1375
- t(12, C1 = []), r.split(",").forEach((F) => {
1376
- g1[F.trim()] && C1.push(g1[F.trim()]);
1367
+ t(12, C1 = []), r.split(",").forEach((O) => {
1368
+ g1[O.trim()] && C1.push(g1[O.trim()]);
1377
1369
  });
1378
1370
  }, n1 = () => {
1379
- Ie(o);
1371
+ We(o);
1380
1372
  };
1381
- be(() => (window.addEventListener("message", h1, !1), ye(u, o1, f1, y), () => {
1373
+ he(() => (window.addEventListener("message", h1, !1), we(u, o1, f1, y), () => {
1382
1374
  window.removeEventListener("message", h1);
1383
1375
  }));
1384
1376
  const h1 = (r) => {
@@ -1392,8 +1384,8 @@ function ot(i, e, t) {
1392
1384
  let r = f;
1393
1385
  if (r)
1394
1386
  return fetch(r).then((W) => W.json()).then((W) => {
1395
- Object.keys(W).forEach((F) => {
1396
- q1(F, W[F]);
1387
+ Object.keys(W).forEach((O) => {
1388
+ q1(O, W[O]);
1397
1389
  });
1398
1390
  }).catch(() => {
1399
1391
  });
@@ -1414,19 +1406,19 @@ function ot(i, e, t) {
1414
1406
  );
1415
1407
  }, w1 = () => {
1416
1408
  const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), W = new Headers();
1417
- W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", B1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
1418
- const F = {
1409
+ W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", P1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
1410
+ const O = {
1419
1411
  method: "POST",
1420
1412
  headers: W,
1421
1413
  body: JSON.stringify({ TransactionCode: k })
1422
1414
  };
1423
- t(11, Y = !0), fetch(r, F).then((D) => D.json()).then((D) => {
1415
+ t(11, Y = !0), fetch(r, O).then((D) => D.json()).then((D) => {
1424
1416
  var L1, H1, I1, z1, A1, j1, Z1, V1, E1;
1425
1417
  if (D.ResponseCode !== J.Success) {
1426
1418
  t(19, e1 = D.ResponseCode), t(20, l1 = p.toLowerCase() === "false" || !p), p1();
1427
1419
  return;
1428
1420
  }
1429
- switch (t(15, x = {
1421
+ switch (t(15, S = {
1430
1422
  type: D.Transaction.Type,
1431
1423
  referenceId: D.Transaction.Code,
1432
1424
  status: (L1 = D.Transaction.Status) == null ? void 0 : L1.Status,
@@ -1435,36 +1427,36 @@ function ot(i, e, t) {
1435
1427
  currency: (z1 = D.Transaction.Amounts[0]) == null ? void 0 : z1.Currency,
1436
1428
  time: D.Transaction.Status.Created
1437
1429
  }), t(16, r1 = D.ReceiptInfo && D.ReceiptInfo.ReceiptFields ? D.ReceiptInfo.ReceiptFields.map((i1) => ({
1438
- type: x1.get(i1.Type),
1430
+ type: S1.get(i1.Type),
1439
1431
  name: i1.Name,
1440
1432
  description: i1.Description,
1441
1433
  defaultValue: i1.DefaultValue,
1442
1434
  useCopyButton: i1.UseCopyButton,
1443
1435
  usePrintButton: i1.UsePrintButton
1444
- })) : []), D.ReceiptInfo && D.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Ae(x.status, x.type), { values: { errorText: x.message } }), t(17, _1 = ve(Number(x.amount), x.currency)), x.status) {
1436
+ })) : []), D.ReceiptInfo && D.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Ie(S.status, S.type), { values: { errorText: S.message } }), t(17, _1 = be(Number(S.amount), S.currency)), S.status) {
1445
1437
  case "Voided":
1446
1438
  case "Success":
1447
- if (t1(L || "casino, livecasino, tournaments"), t(21, c1 = "success"), x.type === "Deposit") {
1439
+ if (t1(L || "casino, livecasino, tournaments"), t(21, c1 = "success"), S.type === "Deposit") {
1448
1440
  const i1 = (j1 = (A1 = D.Transaction) == null ? void 0 : A1.Flags) == null ? void 0 : j1.NewDepositCustomer, y1 = (Z1 = D == null ? void 0 : D.Transaction) == null ? void 0 : Z1.Payloads;
1449
1441
  window.postMessage(
1450
1442
  {
1451
1443
  type: i1 === "True" ? "FirstDeposit" : "ConfirmedDeposit",
1452
1444
  method: E,
1453
- amount: x.amount,
1454
- currency: x.currency,
1445
+ amount: S.amount,
1446
+ currency: S.currency,
1455
1447
  depositType: (V1 = y1 == null ? void 0 : y1.TagManagerDepositType) != null ? V1 : "",
1456
1448
  publicPaymentId: (E1 = y1 == null ? void 0 : y1.TagManagerCode) != null ? E1 : ""
1457
1449
  },
1458
1450
  window.location.href
1459
1451
  );
1460
1452
  }
1461
- F1(
1462
- x.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1453
+ G1(
1454
+ S.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1463
1455
  {
1464
1456
  userID: g,
1465
- amount: x.amount,
1466
- currency: x.currency,
1467
- failureReason: x.message
1457
+ amount: S.amount,
1458
+ currency: S.currency,
1459
+ failureReason: S.message
1468
1460
  }
1469
1461
  );
1470
1462
  break;
@@ -1479,29 +1471,29 @@ function ot(i, e, t) {
1479
1471
  case "Rejected":
1480
1472
  case "Cancelled":
1481
1473
  case "Failed":
1482
- t1(X || "casino, livecasino, tournaments"), t(21, c1 = x.status.toLowerCase()), F1(
1483
- x.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1474
+ t1(X || "casino, livecasino, tournaments"), t(21, c1 = S.status.toLowerCase()), G1(
1475
+ S.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1484
1476
  {
1485
1477
  userID: g,
1486
- amount: x.amount,
1487
- currency: x.currency,
1488
- failureReason: x.message
1478
+ amount: S.amount,
1479
+ currency: S.currency,
1480
+ failureReason: S.message
1489
1481
  }
1490
1482
  ), V === "true" && t(22, u1 = !0);
1491
1483
  break;
1492
1484
  default:
1493
1485
  t1("close");
1494
1486
  }
1495
- d ? ze(d, x.status) : je(x.status);
1487
+ d ? He(d, S.status) : ze(S.status);
1496
1488
  }).finally(() => t(11, Y = !1));
1497
1489
  }, R1 = (r) => {
1498
1490
  window.postMessage({ type: r }, window.location.href);
1499
- }, S1 = (r) => {
1491
+ }, x1 = (r) => {
1500
1492
  r && window.postMessage(
1501
1493
  {
1502
1494
  type: "NavigateTo",
1503
1495
  path: r,
1504
- target: at,
1496
+ target: nt,
1505
1497
  externalLink: !1
1506
1498
  },
1507
1499
  window.location.href
@@ -1522,7 +1514,7 @@ function ot(i, e, t) {
1522
1514
  console.error("Clipboard API failed:", L1);
1523
1515
  }
1524
1516
  }), D1 = () => {
1525
- O.length > 0 && (q = O.split(","));
1517
+ F.length > 0 && (q = F.split(","));
1526
1518
  }, b1 = (r) => z(r), K = (r) => R1(r.event);
1527
1519
  function j(r) {
1528
1520
  Y1[r ? "unshift" : "push"](() => {
@@ -1530,7 +1522,7 @@ function ot(i, e, t) {
1530
1522
  });
1531
1523
  }
1532
1524
  const m = (r) => {
1533
- S1(r.description);
1525
+ x1(r.description);
1534
1526
  };
1535
1527
  function v(r) {
1536
1528
  Y1[r ? "unshift" : "push"](() => {
@@ -1538,18 +1530,18 @@ function ot(i, e, t) {
1538
1530
  });
1539
1531
  }
1540
1532
  return i.$$set = (r) => {
1541
- "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, u = r.local), "showerrors" in r && t(32, p = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, d = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, k = r.transactionid), "currencydecimals" in r && t(34, y = r.currencydecimals), "type" in r && t(35, b = 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, L = 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);
1533
+ "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, u = r.local), "showerrors" in r && t(32, p = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, d = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, k = r.transactionid), "currencydecimals" in r && t(34, y = r.currencydecimals), "type" in r && t(35, b = 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, E = r.paymentmethod), "customsucceessbuttons" in r && t(37, L = 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, F = r.userroles), "windowsize" in r && t(43, s1 = r.windowsize), "p2p" in r && t(44, m1 = r.p2p);
1542
1534
  }, i.$$.update = () => {
1543
1535
  i.$$.dirty[1] & /*userroles*/
1544
- 2048 && O && D1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1536
+ 2048 && F && D1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1545
1537
  70 | i.$$.dirty[1] & /*transactionid, showerrors*/
1546
1538
  6 && a && s && g && k && p && w1(), i.$$.dirty[0] & /*lang*/
1547
1539
  8 && o && n1(), i.$$.dirty[0] & /*lang, translationurl*/
1548
1540
  24 && o && f && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1549
- 1152 && B && A && De(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1550
- 1280 && U && A && Le(A, U), i.$$.dirty[0] & /*customStylingContainer*/
1541
+ 1152 && P && A && Me(A, P), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1542
+ 1280 && U && A && Se(A, U), i.$$.dirty[0] & /*customStylingContainer*/
1551
1543
  1024 | i.$$.dirty[1] & /*mbsource*/
1552
- 32 && Z && A && Pe(A, `${Z}.Style`, a1);
1544
+ 32 && Z && A && De(A, `${Z}.Style`, a1);
1553
1545
  }, [
1554
1546
  E,
1555
1547
  a,
@@ -1558,7 +1550,7 @@ function ot(i, e, t) {
1558
1550
  f,
1559
1551
  d,
1560
1552
  g,
1561
- B,
1553
+ P,
1562
1554
  U,
1563
1555
  V,
1564
1556
  A,
@@ -1566,7 +1558,7 @@ function ot(i, e, t) {
1566
1558
  C1,
1567
1559
  J,
1568
1560
  M,
1569
- x,
1561
+ S,
1570
1562
  r1,
1571
1563
  _1,
1572
1564
  $,
@@ -1580,7 +1572,7 @@ function ot(i, e, t) {
1580
1572
  T1,
1581
1573
  w1,
1582
1574
  R1,
1583
- S1,
1575
+ x1,
1584
1576
  z,
1585
1577
  u,
1586
1578
  p,
@@ -1593,7 +1585,7 @@ function ot(i, e, t) {
1593
1585
  X,
1594
1586
  o1,
1595
1587
  f1,
1596
- O,
1588
+ F,
1597
1589
  s1,
1598
1590
  m1,
1599
1591
  b1,
@@ -1603,14 +1595,14 @@ function ot(i, e, t) {
1603
1595
  v
1604
1596
  ];
1605
1597
  }
1606
- class ce extends me {
1598
+ class at extends de {
1607
1599
  constructor(e) {
1608
- super(), Ce(
1600
+ super(), fe(
1609
1601
  this,
1610
1602
  e,
1611
- ot,
1612
1603
  it,
1613
- ge,
1604
+ tt,
1605
+ me,
1614
1606
  {
1615
1607
  endpoint: 1,
1616
1608
  session: 2,
@@ -1637,7 +1629,7 @@ class ce extends me {
1637
1629
  windowsize: 43,
1638
1630
  p2p: 44
1639
1631
  },
1640
- Ee,
1632
+ Ze,
1641
1633
  [-1, -1, -1]
1642
1634
  );
1643
1635
  }
@@ -1645,153 +1637,148 @@ class ce extends me {
1645
1637
  return this.$$.ctx[1];
1646
1638
  }
1647
1639
  set endpoint(e) {
1648
- this.$$set({ endpoint: e }), P();
1640
+ this.$$set({ endpoint: e }), B();
1649
1641
  }
1650
1642
  get session() {
1651
1643
  return this.$$.ctx[2];
1652
1644
  }
1653
1645
  set session(e) {
1654
- this.$$set({ session: e }), P();
1646
+ this.$$set({ session: e }), B();
1655
1647
  }
1656
1648
  get lang() {
1657
1649
  return this.$$.ctx[3];
1658
1650
  }
1659
1651
  set lang(e) {
1660
- this.$$set({ lang: e }), P();
1652
+ this.$$set({ lang: e }), B();
1661
1653
  }
1662
1654
  get local() {
1663
1655
  return this.$$.ctx[31];
1664
1656
  }
1665
1657
  set local(e) {
1666
- this.$$set({ local: e }), P();
1658
+ this.$$set({ local: e }), B();
1667
1659
  }
1668
1660
  get showerrors() {
1669
1661
  return this.$$.ctx[32];
1670
1662
  }
1671
1663
  set showerrors(e) {
1672
- this.$$set({ showerrors: e }), P();
1664
+ this.$$set({ showerrors: e }), B();
1673
1665
  }
1674
1666
  get translationurl() {
1675
1667
  return this.$$.ctx[4];
1676
1668
  }
1677
1669
  set translationurl(e) {
1678
- this.$$set({ translationurl: e }), P();
1670
+ this.$$set({ translationurl: e }), B();
1679
1671
  }
1680
1672
  get assetsurl() {
1681
1673
  return this.$$.ctx[5];
1682
1674
  }
1683
1675
  set assetsurl(e) {
1684
- this.$$set({ assetsurl: e }), P();
1676
+ this.$$set({ assetsurl: e }), B();
1685
1677
  }
1686
1678
  get customerid() {
1687
1679
  return this.$$.ctx[6];
1688
1680
  }
1689
1681
  set customerid(e) {
1690
- this.$$set({ customerid: e }), P();
1682
+ this.$$set({ customerid: e }), B();
1691
1683
  }
1692
1684
  get transactionid() {
1693
1685
  return this.$$.ctx[33];
1694
1686
  }
1695
1687
  set transactionid(e) {
1696
- this.$$set({ transactionid: e }), P();
1688
+ this.$$set({ transactionid: e }), B();
1697
1689
  }
1698
1690
  get currencydecimals() {
1699
1691
  return this.$$.ctx[34];
1700
1692
  }
1701
1693
  set currencydecimals(e) {
1702
- this.$$set({ currencydecimals: e }), P();
1694
+ this.$$set({ currencydecimals: e }), B();
1703
1695
  }
1704
1696
  get type() {
1705
1697
  return this.$$.ctx[35];
1706
1698
  }
1707
1699
  set type(e) {
1708
- this.$$set({ type: e }), P();
1700
+ this.$$set({ type: e }), B();
1709
1701
  }
1710
1702
  get clientstyling() {
1711
1703
  return this.$$.ctx[7];
1712
1704
  }
1713
1705
  set clientstyling(e) {
1714
- this.$$set({ clientstyling: e }), P();
1706
+ this.$$set({ clientstyling: e }), B();
1715
1707
  }
1716
1708
  get clientstylingurl() {
1717
1709
  return this.$$.ctx[8];
1718
1710
  }
1719
1711
  set clientstylingurl(e) {
1720
- this.$$set({ clientstylingurl: e }), P();
1712
+ this.$$set({ clientstylingurl: e }), B();
1721
1713
  }
1722
1714
  get mbsource() {
1723
1715
  return this.$$.ctx[36];
1724
1716
  }
1725
1717
  set mbsource(e) {
1726
- this.$$set({ mbsource: e }), P();
1718
+ this.$$set({ mbsource: e }), B();
1727
1719
  }
1728
1720
  get showverifications() {
1729
1721
  return this.$$.ctx[9];
1730
1722
  }
1731
1723
  set showverifications(e) {
1732
- this.$$set({ showverifications: e }), P();
1724
+ this.$$set({ showverifications: e }), B();
1733
1725
  }
1734
1726
  get paymentmethod() {
1735
1727
  return this.$$.ctx[0];
1736
1728
  }
1737
1729
  set paymentmethod(e) {
1738
- this.$$set({ paymentmethod: e }), P();
1730
+ this.$$set({ paymentmethod: e }), B();
1739
1731
  }
1740
1732
  get customsucceessbuttons() {
1741
1733
  return this.$$.ctx[37];
1742
1734
  }
1743
1735
  set customsucceessbuttons(e) {
1744
- this.$$set({ customsucceessbuttons: e }), P();
1736
+ this.$$set({ customsucceessbuttons: e }), B();
1745
1737
  }
1746
1738
  get custompendingbuttons() {
1747
1739
  return this.$$.ctx[38];
1748
1740
  }
1749
1741
  set custompendingbuttons(e) {
1750
- this.$$set({ custompendingbuttons: e }), P();
1742
+ this.$$set({ custompendingbuttons: e }), B();
1751
1743
  }
1752
1744
  get customfailedbuttons() {
1753
1745
  return this.$$.ctx[39];
1754
1746
  }
1755
1747
  set customfailedbuttons(e) {
1756
- this.$$set({ customfailedbuttons: e }), P();
1748
+ this.$$set({ customfailedbuttons: e }), B();
1757
1749
  }
1758
1750
  get currencysymbol() {
1759
1751
  return this.$$.ctx[40];
1760
1752
  }
1761
1753
  set currencysymbol(e) {
1762
- this.$$set({ currencysymbol: e }), P();
1754
+ this.$$set({ currencysymbol: e }), B();
1763
1755
  }
1764
1756
  get currencyposition() {
1765
1757
  return this.$$.ctx[41];
1766
1758
  }
1767
1759
  set currencyposition(e) {
1768
- this.$$set({ currencyposition: e }), P();
1760
+ this.$$set({ currencyposition: e }), B();
1769
1761
  }
1770
1762
  get userroles() {
1771
1763
  return this.$$.ctx[42];
1772
1764
  }
1773
1765
  set userroles(e) {
1774
- this.$$set({ userroles: e }), P();
1766
+ this.$$set({ userroles: e }), B();
1775
1767
  }
1776
1768
  get windowsize() {
1777
1769
  return this.$$.ctx[43];
1778
1770
  }
1779
1771
  set windowsize(e) {
1780
- this.$$set({ windowsize: e }), P();
1772
+ this.$$set({ windowsize: e }), B();
1781
1773
  }
1782
1774
  get p2p() {
1783
1775
  return this.$$.ctx[44];
1784
1776
  }
1785
1777
  set p2p(e) {
1786
- this.$$set({ p2p: e }), P();
1778
+ this.$$set({ p2p: e }), B();
1787
1779
  }
1788
1780
  }
1789
- Be(ce, { 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);
1790
- const ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1791
- __proto__: null,
1792
- default: ce
1793
- }, Symbol.toStringTag, { value: "Module" }));
1781
+ Le(at, { 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);
1794
1782
  export {
1795
- ct as C,
1796
- G1 as f
1783
+ at as default
1797
1784
  };