@everymatrix/cashier-page 1.94.4 → 1.94.6

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 (37) hide show
  1. package/components/{CashierCarousel-BLSsdI8N.js → CashierCarousel-CTD4ADEl.js} +79 -79
  2. package/components/{CashierCarousel-D92KGNvD.js → CashierCarousel-D6SuMcQ1.js} +64 -64
  3. package/components/{CashierError-D6h70alS.js → CashierError-C0W34998.js} +22 -22
  4. package/components/{CashierError-BioxJD3d.js → CashierError-Dg834slb.js} +23 -23
  5. package/components/{CashierHeader-DldQQGAU.js → CashierHeader-DafDx_3j.js} +37 -37
  6. package/components/{CashierHeader-Di0dH8Ch.js → CashierHeader-YhgwXeCk.js} +37 -37
  7. package/components/{CashierIframeRedirect-1MymL4-w.js → CashierIframeRedirect-DWa2IM1a.js} +25 -25
  8. package/components/{CashierIframeRedirect-BvHGxm2j.js → CashierIframeRedirect-M5hsugC-.js} +21 -21
  9. package/components/{CashierMethodDetails-gGaSXhnd.js → CashierMethodDetails-C9lU-1Od.js} +5 -5
  10. package/components/{CashierMethodDetails-CJyvwSPZ.js → CashierMethodDetails-CXSI2Ftt.js} +5 -5
  11. package/components/{CashierMethodsList-B51H80eX.js → CashierMethodsList-D5gWM-5x.js} +69 -69
  12. package/components/{CashierMethodsList-Bn7TgrUA.js → CashierMethodsList-GlL1YNei.js} +40 -40
  13. package/components/{CashierModal-Ck7dIF1h.js → CashierModal-BL_3_v5C.js} +43 -43
  14. package/components/{CashierModal-BTxh5964.js → CashierModal-BxhVa9nJ.js} +35 -35
  15. package/components/{CashierNotifications-Bni-Zo-O.js → CashierNotifications-D7pEjC9e.js} +31 -31
  16. package/components/{CashierNotifications-DgA6o4pi.js → CashierNotifications-DumJSi6H.js} +31 -31
  17. package/components/{CashierPage-_PJq9teT.js → CashierPage-CyVP1RTq.js} +82 -82
  18. package/components/{CashierPage-Bi4eFJ59.js → CashierPage-Yklnwu-d.js} +82 -82
  19. package/components/{CashierReceiptPage-vsCixPJi.js → CashierReceiptPage-Cz47umjb.js} +107 -107
  20. package/components/{CashierReceiptPage-CIjEPaeD.js → CashierReceiptPage-DfwtOyaZ.js} +120 -120
  21. package/components/{CashierSessionExpirationModal-DfcoFbz3.js → CashierSessionExpirationModal-BfLsDfD2.js} +101 -101
  22. package/components/{CashierSessionExpirationModal-Dbknu3z5.js → CashierSessionExpirationModal-h3rhYNkG.js} +126 -126
  23. package/components/{CashierSpinner-CNjbjUJb.js → CashierSpinner-BFMZw2tU.js} +6 -6
  24. package/components/{CashierSpinner-B1Snzdbq.js → CashierSpinner-D8ZX1N7Y.js} +10 -10
  25. package/components/{CashierStepUp-DLx4ZhqR.js → CashierStepUp-CUavQfr0.js} +132 -132
  26. package/components/{CashierStepUp-DTRMNDxI.js → CashierStepUp-Nzn5RFP5.js} +49 -49
  27. package/components/{CashierTransactionHistory-CBHJVCjw.js → CashierTransactionHistory-ByF437F5.js} +110 -110
  28. package/components/{CashierTransactionHistory-tRzzuMzy.js → CashierTransactionHistory-GtXsIggF.js} +110 -110
  29. package/components/{CashierVerifications-2v6SzakW.js → CashierVerifications-CuD13Li5.js} +60 -60
  30. package/components/{CashierVerifications-CNVn8Koy.js → CashierVerifications-sG9Xn_xc.js} +43 -43
  31. package/components/{TxnStatusIcon-BMW53lVy.js → TxnStatusIcon-B0-RrZPH.js} +23 -23
  32. package/components/{TxnStatusIcon-BGoL7geL.js → TxnStatusIcon-DYgNkITO.js} +28 -28
  33. package/components/{TxnTypeIcons-DkN5cVT-.js → TxnTypeIcons-BnO0cks2.js} +1 -1
  34. package/components/{TxnTypeIcons-QCBLyb31.js → TxnTypeIcons-DPmJegXP.js} +1 -1
  35. package/es2015/cashier-page.js +1 -1
  36. package/esnext/cashier-page.js +1 -1
  37. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { a as Ge, i as Je, $ as Ve, S as Ke, b as Ze, s as Qe, f as y, d as $e, z as ge, g as A, l as x, o as P, v as ze, q as pe, M as ye, N as et, r as tt, K as st, m as a, n as f, p as h, w as D, O as N, x as T, C as ot, y as nt, A as me, L as le, D as we, E as it, I as re, F as rt, J as Me, c as lt, B as at, R as be } from "./CashierPage-_PJq9teT.js";
2
- import { s as mt, a as ct, b as dt } from "./CashierHeader-DldQQGAU.js";
1
+ import { b as Ge, N as Ve, a as Je, S as Ke, O as Qe, a1 as Ze, E as y, f as $e, V as ge, x as A, Q as x, a6 as P, A as ze, l as pe, t as ye, ah as et, Y as tt, P as st, e as a, z as f, g as h, a3 as D, a2 as N, a9 as T, R as ot, h as nt, T as me, ac as le, B as we, w as it, F as re, _ as rt, a7 as Me, o as lt, $ as at, ai as be } from "./CashierPage-CyVP1RTq.js";
2
+ import { s as mt, a as ct, b as dt } from "./CashierHeader-DafDx_3j.js";
3
3
  function _e(t, e) {
4
4
  Ge(t, e);
5
5
  }
6
6
  function ut(t) {
7
- Je({
7
+ Ve({
8
8
  fallbackLocale: "en"
9
- }), Ve.set(t);
9
+ }), Je.set(t);
10
10
  }
11
11
  const ve = {
12
12
  en: {
@@ -264,11 +264,11 @@ function Te(t) {
264
264
  };
265
265
  }
266
266
  function Se(t) {
267
- let e, s, n, o, i, l, d, u, m, c, g, J = (
267
+ let e, s, n, o, i, l, d, u, m, c, g, V = (
268
268
  /*payMeth*/
269
269
  (t[58].Label || /*payMeth*/
270
270
  t[58].Name) + ""
271
- ), V, O, W, I, F, R, j = (
271
+ ), J, O, W, j, F, R, I = (
272
272
  /*$_*/
273
273
  t[17]("generalMin") + ""
274
274
  ), K, ee, q = re(
@@ -294,7 +294,7 @@ function Se(t) {
294
294
  t[16]
295
295
  )
296
296
  }
297
- ) + "", te, B, U, Z = (
297
+ ) + "", te, B, U, Q = (
298
298
  /*$_*/
299
299
  t[17]("generalMax") + ""
300
300
  ), S, ne, se = re(
@@ -320,7 +320,7 @@ function Se(t) {
320
320
  t[16]
321
321
  )
322
322
  }
323
- ) + "", E, Y, X, k, Q, M = (
323
+ ) + "", E, Y, X, k, Z, M = (
324
324
  /*payMeth*/
325
325
  t[58].isMethodPromoted && Pe(t)
326
326
  ), b = !/*desktopView*/
@@ -339,9 +339,9 @@ function Se(t) {
339
339
  }
340
340
  return {
341
341
  c() {
342
- e = f("div"), s = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), V = T(J), O = P(), b && b.c(), W = P(), I = f("div"), F = f("span"), R = f("p"), K = T(j), ee = P(), te = T(q), B = P(), U = f("p"), S = T(Z), ne = P(), E = T(se), Y = P(), w && w.c(), X = P(), Me(n.src, o = /*payMeth*/
342
+ e = f("div"), s = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), J = T(V), O = P(), b && b.c(), W = P(), j = f("div"), F = f("span"), R = f("p"), K = T(I), ee = P(), te = T(q), B = P(), U = f("p"), S = T(Q), ne = P(), E = T(se), Y = P(), w && w.c(), X = P(), Me(n.src, o = /*payMeth*/
343
343
  t[58].LogoUrl) || h(n, "src", o), h(n, "alt", i = /*payMeth*/
344
- t[58].Label), h(s, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(I, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), le(
344
+ t[58].Label), h(s, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(j, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), le(
345
345
  e,
346
346
  "checked",
347
347
  /*selectedPaymentMethod*/
@@ -350,7 +350,7 @@ function Se(t) {
350
350
  );
351
351
  },
352
352
  m(G, _) {
353
- x(G, e, _), a(e, s), a(s, n), a(e, l), a(e, d), M && M.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, V), a(m, O), b && b.m(m, null), a(m, W), a(m, I), a(I, F), a(F, R), a(R, K), a(R, ee), a(R, te), a(F, B), a(F, U), a(U, S), a(U, ne), a(U, E), a(m, Y), w && w.m(m, null), a(e, X), k || (Q = [
353
+ x(G, e, _), a(e, s), a(s, n), a(e, l), a(e, d), M && M.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, J), a(m, O), b && b.m(m, null), a(m, W), a(m, j), a(j, F), a(F, R), a(R, K), a(R, ee), a(R, te), a(F, B), a(F, U), a(U, S), a(U, ne), a(U, E), a(m, Y), w && w.m(m, null), a(e, X), k || (Z = [
354
354
  me(e, "click", ie),
355
355
  me(e, "keyup", wt)
356
356
  ], k = !0);
@@ -362,12 +362,12 @@ function Se(t) {
362
362
  2048 && i !== (i = /*payMeth*/
363
363
  t[58].Label) && h(n, "alt", i), /*payMeth*/
364
364
  t[58].isMethodPromoted ? M ? M.p(t, _) : (M = Pe(t), M.c(), M.m(d, null)) : M && (M.d(1), M = null), _[0] & /*paymentMethodsToShow*/
365
- 2048 && J !== (J = /*payMeth*/
365
+ 2048 && V !== (V = /*payMeth*/
366
366
  (t[58].Label || /*payMeth*/
367
- t[58].Name) + "") && D(V, J), /*desktopView*/
367
+ t[58].Name) + "") && D(J, V), /*desktopView*/
368
368
  t[13] ? b && (b.d(1), b = null) : b ? b.p(t, _) : (b = De(t), b.c(), b.m(m, W)), _[0] & /*$_*/
369
- 131072 && j !== (j = /*$_*/
370
- t[17]("generalMin") + "") && D(K, j), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
369
+ 131072 && I !== (I = /*$_*/
370
+ t[17]("generalMin") + "") && D(K, I), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
371
371
  67840 && q !== (q = re(
372
372
  /*payMeth*/
373
373
  t[58].DisplayCurrency.MinAmountLimit,
@@ -392,8 +392,8 @@ function Se(t) {
392
392
  )
393
393
  }
394
394
  ) + "") && D(te, q), _[0] & /*$_*/
395
- 131072 && Z !== (Z = /*$_*/
396
- t[17]("generalMax") + "") && D(S, Z), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
395
+ 131072 && Q !== (Q = /*$_*/
396
+ t[17]("generalMax") + "") && D(S, Q), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
397
397
  67840 && se !== (se = re(
398
398
  /*payMeth*/
399
399
  t[58].DisplayCurrency.MaxAmountLimit,
@@ -428,7 +428,7 @@ function Se(t) {
428
428
  );
429
429
  },
430
430
  d(G) {
431
- G && A(e), M && M.d(), b && b.d(), w && w.d(), k = !1, rt(Q);
431
+ G && A(e), M && M.d(), b && b.d(), w && w.d(), k = !1, rt(Z);
432
432
  }
433
433
  };
434
434
  }
@@ -585,7 +585,7 @@ const yt = "PaymentPromotion", wt = () => {
585
585
  function Mt(t, e, s) {
586
586
  let n, o, i;
587
587
  pe(t, at, (r) => s(17, o = r)), pe(t, be, (r) => s(42, i = r)), ye.extend(et);
588
- let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: J } = e, { currency: V } = e, { numberofmethodsshown: O } = e, { translationurl: W = "" } = e, { mbsource: I } = e, { clientstyling: F } = e, { clientstylingurl: R } = e, { currencydecimals: j = "0" } = e, { currencysymbol: K = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: q = "false" } = e, { type: te } = e, { userroles: B = "" } = e, U, Z = {}, S, ne, se = window.navigator.userAgent, E = [], Y, X = "", k = [], Q = [], M = "", b, w = !0, ie = !1, G = !1, _ = [];
588
+ let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: V } = e, { currency: J } = e, { numberofmethodsshown: O } = e, { translationurl: W = "" } = e, { mbsource: j } = e, { clientstyling: F } = e, { clientstylingurl: R } = e, { currencydecimals: I = "0" } = e, { currencysymbol: K = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: q = "false" } = e, { type: te } = e, { userroles: B = "" } = e, U, Q = {}, S, ne, se = window.navigator.userAgent, E = [], Y, X = "", k = [], Z = [], M = "", b, w = !0, ie = !1, G = !1, _ = [];
589
589
  var ae;
590
590
  (function(r) {
591
591
  r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
@@ -631,13 +631,13 @@ function Mt(t, e, s) {
631
631
  return;
632
632
  }
633
633
  if (C.ResponseCode !== ae.Success) {
634
- b = C.ResponseCode, je();
634
+ b = C.ResponseCode, Ie();
635
635
  return;
636
636
  }
637
- E = C.PaymentMethods?.Ordering ? Re(C) : Ie(C), window.postMessage(
637
+ E = C.PaymentMethods?.Ordering ? Re(C) : je(C), window.postMessage(
638
638
  {
639
639
  type: "PromotedPaymentMethods",
640
- promotedPaymentMethods: Q
640
+ promotedPaymentMethods: Z
641
641
  },
642
642
  window.location.href
643
643
  ), s(10, X = O && +O > 0 && E.length > +O ? o("showAll") : ""), s(11, k = X ? E.slice(0, +O) : E), q == "false" && s(11, k = k.sort((oe, he) => oe.isMethodPromoted && !he.isMethodPromoted ? -1 : !oe.isMethodPromoted && he.isMethodPromoted ? 1 : 0)), s(15, G = !k.length), window.postMessage(
@@ -652,14 +652,14 @@ function Mt(t, e, s) {
652
652
  });
653
653
  }, Re = (r) => {
654
654
  const p = [];
655
- return Q = [], r.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(($) => {
655
+ return Z = [], r.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(($) => {
656
656
  const v = r.PaymentMethods.PaymentMethods.find((L) => L.Name === $);
657
657
  if (v) {
658
658
  const L = v?.Logos.find((C) => C.LogoType === "Desktop") || {}, z = v?.Logos.find((C) => C.LogoType === "Mobile") || {}, H = w ? L : z;
659
- v.isMethodPromoted = ue(v.Tags), v.LogoUrl = H.LogoUrl ? `https:${H.LogoUrl}` : "", v.isMethodPromoted && Q.push(v), p.push(v);
659
+ v.isMethodPromoted = ue(v.Tags), v.LogoUrl = H.LogoUrl ? `https:${H.LogoUrl}` : "", v.isMethodPromoted && Z.push(v), p.push(v);
660
660
  }
661
661
  }), p;
662
- }, Ie = (r) => {
662
+ }, je = (r) => {
663
663
  const p = r.PaymentMethods.PaymentMethods.map((L) => ({
664
664
  ...L,
665
665
  isMethodPromoted: ue(L.Tags),
@@ -668,7 +668,7 @@ function Mt(t, e, s) {
668
668
  ([L, z], H) => (H && H.isMethodPromoted ? L.push(H) : z.promo(H), [L, z]),
669
669
  [[], []]
670
670
  );
671
- return Q = $, v;
671
+ return Z = $, v;
672
672
  }, ce = (r) => {
673
673
  s(9, Y = r.Name), window.postMessage({ type: "SelectPayMeth", details: r }, window.location.href), dispatchEvent(new CustomEvent(
674
674
  "selectPayMeth",
@@ -679,7 +679,7 @@ function Mt(t, e, s) {
679
679
  composed: !0
680
680
  }
681
681
  ));
682
- }, je = () => {
682
+ }, Ie = () => {
683
683
  window.postMessage(
684
684
  {
685
685
  type: "ErrorResponseCode",
@@ -699,14 +699,14 @@ function Mt(t, e, s) {
699
699
  const { data: { type: p } = {} } = r || {};
700
700
  switch (p) {
701
701
  case "PrecisionCurrenciesMap": {
702
- s(8, Z = r?.data?.payload || {});
702
+ s(8, Q = r?.data?.payload || {});
703
703
  break;
704
704
  }
705
705
  }
706
706
  }, qe = () => {
707
707
  B.length > 0 && (_ = B.split(","));
708
708
  };
709
- tt(() => (Ue(), st(d, K, ee, j), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
709
+ tt(() => (Ue(), st(d, K, ee, I), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
710
710
  window.removeEventListener("message", fe);
711
711
  }));
712
712
  const Be = (r) => ce(r), Ye = () => de();
@@ -716,27 +716,27 @@ function Mt(t, e, s) {
716
716
  });
717
717
  }
718
718
  return t.$$set = (r) => {
719
- "lang" in r && s(0, l = r.lang), "local" in r && s(20, d = r.local), "endpoint" in r && s(21, u = r.endpoint), "paymentsession" in r && s(22, m = r.paymentsession), "playersession" in r && s(23, c = r.playersession), "customerid" in r && s(24, g = r.customerid), "assetsurl" in r && s(1, J = r.assetsurl), "currency" in r && s(25, V = r.currency), "numberofmethodsshown" in r && s(26, O = r.numberofmethodsshown), "translationurl" in r && s(2, W = r.translationurl), "mbsource" in r && s(3, I = r.mbsource), "clientstyling" in r && s(4, F = r.clientstyling), "clientstylingurl" in r && s(5, R = r.clientstylingurl), "currencydecimals" in r && s(27, j = r.currencydecimals), "currencysymbol" in r && s(28, K = r.currencysymbol), "currencyposition" in r && s(29, ee = r.currencyposition), "promotedmethods" in r && s(30, q = r.promotedmethods), "type" in r && s(6, te = r.type), "userroles" in r && s(31, B = r.userroles);
719
+ "lang" in r && s(0, l = r.lang), "local" in r && s(20, d = r.local), "endpoint" in r && s(21, u = r.endpoint), "paymentsession" in r && s(22, m = r.paymentsession), "playersession" in r && s(23, c = r.playersession), "customerid" in r && s(24, g = r.customerid), "assetsurl" in r && s(1, V = r.assetsurl), "currency" in r && s(25, J = r.currency), "numberofmethodsshown" in r && s(26, O = r.numberofmethodsshown), "translationurl" in r && s(2, W = r.translationurl), "mbsource" in r && s(3, j = r.mbsource), "clientstyling" in r && s(4, F = r.clientstyling), "clientstylingurl" in r && s(5, R = r.clientstylingurl), "currencydecimals" in r && s(27, I = r.currencydecimals), "currencysymbol" in r && s(28, K = r.currencysymbol), "currencyposition" in r && s(29, ee = r.currencyposition), "promotedmethods" in r && s(30, q = r.promotedmethods), "type" in r && s(6, te = r.type), "userroles" in r && s(31, B = r.userroles);
720
720
  }, t.$$.update = () => {
721
721
  t.$$.dirty[1] & /*userroles*/
722
722
  1 && B && qe(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
723
- 56623104 && u && !m && g && Fe({ currency: V }), t.$$.dirty[0] & /*lang*/
723
+ 56623104 && u && !m && g && Fe({ currency: J }), t.$$.dirty[0] & /*lang*/
724
724
  1 && l && xe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
725
725
  144 && F && S && mt(S, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
726
726
  160 && R && S && ct(S, R), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
727
- 136 && I && S && dt(S, `${I}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
727
+ 136 && j && S && dt(S, `${j}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
728
728
  5 && l && W && Ae(), t.$$.dirty[0] & /*currencydecimals*/
729
- 134217728 && s(16, n = Number(j));
729
+ 134217728 && s(16, n = Number(I));
730
730
  }, [
731
731
  l,
732
- J,
732
+ V,
733
733
  W,
734
- I,
734
+ j,
735
735
  F,
736
736
  R,
737
737
  te,
738
738
  S,
739
- Z,
739
+ Q,
740
740
  Y,
741
741
  X,
742
742
  k,
@@ -753,9 +753,9 @@ function Mt(t, e, s) {
753
753
  m,
754
754
  c,
755
755
  g,
756
- V,
756
+ J,
757
757
  O,
758
- j,
758
+ I,
759
759
  K,
760
760
  ee,
761
761
  q,
@@ -767,12 +767,12 @@ function Mt(t, e, s) {
767
767
  }
768
768
  class bt extends Ke {
769
769
  constructor(e) {
770
- super(), Ze(
770
+ super(), Qe(
771
771
  this,
772
772
  e,
773
773
  Mt,
774
774
  pt,
775
- Qe,
775
+ Ze,
776
776
  {
777
777
  lang: 0,
778
778
  local: 20,
@@ -1,19 +1,19 @@
1
- import { S as te, b as ie, s as ne, f as C, d as oe, g as S, t as O, h as z, a7 as le, a8 as se, l as H, n as b, r as ae, a0 as j, e as B, u as F, j as Y, k as D, L, m as _, G as re, o as I, p as h, H as de, y as W, z as ce, A as fe, Q as R, c as ue } from "./CashierPage-_PJq9teT.js";
2
- import { s as he, a as me, b as ge } from "./CashierHeader-DldQQGAU.js";
1
+ import { S as te, O as ie, a1 as ne, E as x, f as oe, x as S, ae as O, ad as z, L as le, j as se, Q as H, z as b, Y as ae, aa as j, r as Y, ag as B, H as F, I as D, ac as L, e as _, c as re, a6 as I, g as h, d as de, h as W, V as ce, T as fe, a8 as R, o as ue } from "./CashierPage-CyVP1RTq.js";
2
+ import { s as he, a as me, b as ge } from "./CashierHeader-DafDx_3j.js";
3
3
  function pe(i) {
4
4
  oe(i, "svelte-e2luo5", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::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%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
5
5
  }
6
6
  const we = (i) => ({}), U = (i) => ({}), ye = (i) => ({}), q = (i) => ({});
7
- function A(i) {
8
- let e, t, n, a, f, m, v, T, k, y, x, u, d = (
7
+ function P(i) {
8
+ let e, t, n, a, f, m, v, T, k, y, C, u, d = (
9
9
  /*modaltype*/
10
10
  (i[3] == "error" || /*modaltype*/
11
- i[3] == "bonusDescription") && G()
11
+ i[3] == "bonusDescription") && Q()
12
12
  );
13
13
  const g = (
14
14
  /*#slots*/
15
15
  i[14].title
16
- ), p = B(
16
+ ), p = Y(
17
17
  g,
18
18
  i,
19
19
  /*$$scope*/
@@ -22,15 +22,15 @@ function A(i) {
22
22
  );
23
23
  let r = (
24
24
  /*modaltype*/
25
- i[3] != "2fa-old" && P(i)
25
+ i[3] != "2fa-old" && V(i)
26
26
  ), l = (
27
27
  /*isloading*/
28
- i[4] === "true" && Q()
28
+ i[4] === "true" && Z()
29
29
  );
30
30
  const M = (
31
31
  /*#slots*/
32
32
  i[14].content
33
- ), c = B(
33
+ ), c = Y(
34
34
  M,
35
35
  i,
36
36
  /*$$scope*/
@@ -60,7 +60,7 @@ function A(i) {
60
60
  ));
61
61
  },
62
62
  m(s, w) {
63
- H(s, e, w), _(e, t), _(t, n), _(n, a), d && d.m(a, null), _(a, f), _(a, m), p && p.m(m, null), _(n, v), r && r.m(n, null), _(t, T), l && l.m(t, null), _(t, k), _(t, y), c && c.m(y, null), i[15](y), i[16](t), i[17](e), x = re(
63
+ H(s, e, w), _(e, t), _(t, n), _(n, a), d && d.m(a, null), _(a, f), _(a, m), p && p.m(m, null), _(n, v), r && r.m(n, null), _(t, T), l && l.m(t, null), _(t, k), _(t, y), c && c.m(y, null), i[15](y), i[16](t), i[17](e), C = re(
64
64
  e,
65
65
  /*div5_elementresize_handler*/
66
66
  i[18].bind(e)
@@ -69,8 +69,8 @@ function A(i) {
69
69
  p(s, w) {
70
70
  /*modaltype*/
71
71
  s[3] == "error" || /*modaltype*/
72
- s[3] == "bonusDescription" ? d || (d = G(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
73
- 8192) && F(
72
+ s[3] == "bonusDescription" ? d || (d = Q(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
73
+ 8192) && B(
74
74
  p,
75
75
  g,
76
76
  s,
@@ -82,15 +82,15 @@ function A(i) {
82
82
  s[13],
83
83
  w,
84
84
  ye
85
- ) : Y(
85
+ ) : F(
86
86
  /*$$scope*/
87
87
  s[13]
88
88
  ),
89
89
  q
90
90
  ), /*modaltype*/
91
- s[3] != "2fa-old" ? r ? r.p(s, w) : (r = P(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
92
- s[4] === "true" ? l || (l = Q(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
93
- 8192) && F(
91
+ s[3] != "2fa-old" ? r ? r.p(s, w) : (r = V(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
92
+ s[4] === "true" ? l || (l = Z(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
93
+ 8192) && B(
94
94
  c,
95
95
  M,
96
96
  s,
@@ -102,7 +102,7 @@ function A(i) {
102
102
  s[13],
103
103
  w,
104
104
  we
105
- ) : Y(
105
+ ) : F(
106
106
  /*$$scope*/
107
107
  s[13]
108
108
  ),
@@ -134,11 +134,11 @@ function A(i) {
134
134
  O(p, s), O(c, s), u = !1;
135
135
  },
136
136
  d(s) {
137
- s && S(e), d && d.d(), p && p.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), x();
137
+ s && S(e), d && d.d(), p && p.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), C();
138
138
  }
139
139
  };
140
140
  }
141
- function G(i) {
141
+ function Q(i) {
142
142
  let e;
143
143
  return {
144
144
  c() {
@@ -152,7 +152,7 @@ function G(i) {
152
152
  }
153
153
  };
154
154
  }
155
- function P(i) {
155
+ function V(i) {
156
156
  let e, t, n, a, f;
157
157
  return {
158
158
  c() {
@@ -172,7 +172,7 @@ function P(i) {
172
172
  }
173
173
  };
174
174
  }
175
- function Q(i) {
175
+ function Z(i) {
176
176
  let e;
177
177
  return {
178
178
  c() {
@@ -189,7 +189,7 @@ function Q(i) {
189
189
  function _e(i) {
190
190
  let e, t, n = (
191
191
  /*show*/
192
- i[2] === "true" && A(i)
192
+ i[2] === "true" && P(i)
193
193
  );
194
194
  return {
195
195
  c() {
@@ -201,7 +201,7 @@ function _e(i) {
201
201
  p(a, [f]) {
202
202
  /*show*/
203
203
  a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
204
- 4 && z(n, 1)) : (n = A(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
204
+ 4 && z(n, 1)) : (n = P(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
205
205
  n = null;
206
206
  }), se());
207
207
  },
@@ -217,7 +217,7 @@ function _e(i) {
217
217
  };
218
218
  }
219
219
  function be(i, e, t) {
220
- let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: m } = e, { clientstylingurl: v } = e, { show: T } = e, { modaltype: k = "" } = e, { isloading: y = "false" } = e, { width: x } = e, { height: u } = e, d, g, p, r, l, M = !1, c, s;
220
+ let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: m } = e, { clientstylingurl: v } = e, { show: T } = e, { modaltype: k = "" } = e, { isloading: y = "false" } = e, { width: C } = e, { height: u } = e, d, g, p, r, l, M = !1, c, s;
221
221
  const w = () => {
222
222
  c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
223
223
  () => {
@@ -254,31 +254,31 @@ function be(i, e, t) {
254
254
  c && clearTimeout(c), s && clearTimeout(c);
255
255
  };
256
256
  });
257
- function Z(o) {
257
+ function A(o) {
258
258
  W[o ? "unshift" : "push"](() => {
259
259
  r = o, t(7, r);
260
260
  });
261
261
  }
262
- function J(o) {
262
+ function G(o) {
263
263
  W[o ? "unshift" : "push"](() => {
264
264
  l = o, t(8, l);
265
265
  });
266
266
  }
267
- function K(o) {
267
+ function J(o) {
268
268
  W[o ? "unshift" : "push"](() => {
269
269
  d = o, t(6, d);
270
270
  });
271
271
  }
272
- function N() {
273
- x = this.clientWidth, u = this.clientHeight, t(0, x), t(1, u);
272
+ function K() {
273
+ C = this.clientWidth, u = this.clientHeight, t(0, C), t(1, u);
274
274
  }
275
- function V(o) {
275
+ function N(o) {
276
276
  W[o ? "unshift" : "push"](() => {
277
277
  g = o, t(5, g);
278
278
  });
279
279
  }
280
280
  return i.$$set = (o) => {
281
- "mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, m = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "show" in o && t(2, T = o.show), "modaltype" in o && t(3, k = o.modaltype), "isloading" in o && t(4, y = o.isloading), "width" in o && t(0, x = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
281
+ "mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, m = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "show" in o && t(2, T = o.show), "modaltype" in o && t(3, k = o.modaltype), "isloading" in o && t(4, y = o.isloading), "width" in o && t(0, C = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
282
282
  }, i.$$.update = () => {
283
283
  i.$$.dirty & /*isloading*/
284
284
  16 && y && j().then(() => {
@@ -288,7 +288,7 @@ function be(i, e, t) {
288
288
  4128 && v && g && me(g, v), i.$$.dirty & /*mbsource, customStylingContainer*/
289
289
  1056 && f && g && ge(g, `${f}.Style`, p);
290
290
  }, [
291
- x,
291
+ C,
292
292
  u,
293
293
  T,
294
294
  k,
@@ -303,11 +303,11 @@ function be(i, e, t) {
303
303
  v,
304
304
  a,
305
305
  n,
306
- Z,
306
+ A,
307
+ G,
307
308
  J,
308
309
  K,
309
- N,
310
- V
310
+ N
311
311
  ];
312
312
  }
313
313
  class ve extends te {
@@ -335,49 +335,49 @@ class ve extends te {
335
335
  return this.$$.ctx[10];
336
336
  }
337
337
  set mbsource(e) {
338
- this.$$set({ mbsource: e }), C();
338
+ this.$$set({ mbsource: e }), x();
339
339
  }
340
340
  get clientstyling() {
341
341
  return this.$$.ctx[11];
342
342
  }
343
343
  set clientstyling(e) {
344
- this.$$set({ clientstyling: e }), C();
344
+ this.$$set({ clientstyling: e }), x();
345
345
  }
346
346
  get clientstylingurl() {
347
347
  return this.$$.ctx[12];
348
348
  }
349
349
  set clientstylingurl(e) {
350
- this.$$set({ clientstylingurl: e }), C();
350
+ this.$$set({ clientstylingurl: e }), x();
351
351
  }
352
352
  get show() {
353
353
  return this.$$.ctx[2];
354
354
  }
355
355
  set show(e) {
356
- this.$$set({ show: e }), C();
356
+ this.$$set({ show: e }), x();
357
357
  }
358
358
  get modaltype() {
359
359
  return this.$$.ctx[3];
360
360
  }
361
361
  set modaltype(e) {
362
- this.$$set({ modaltype: e }), C();
362
+ this.$$set({ modaltype: e }), x();
363
363
  }
364
364
  get isloading() {
365
365
  return this.$$.ctx[4];
366
366
  }
367
367
  set isloading(e) {
368
- this.$$set({ isloading: e }), C();
368
+ this.$$set({ isloading: e }), x();
369
369
  }
370
370
  get width() {
371
371
  return this.$$.ctx[0];
372
372
  }
373
373
  set width(e) {
374
- this.$$set({ width: e }), C();
374
+ this.$$set({ width: e }), x();
375
375
  }
376
376
  get height() {
377
377
  return this.$$.ctx[1];
378
378
  }
379
379
  set height(e) {
380
- this.$$set({ height: e }), C();
380
+ this.$$set({ height: e }), x();
381
381
  }
382
382
  }
383
383
  ue(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);