@everymatrix/cashier-method-details 1.72.0 → 1.72.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ var Ft = (n, t, e) => t in n ? Pr(n, t, { enumerable: !0, configurable: !0, writ
10
10
  Yr.call(t, e) && Ft(n, e, t[e]);
11
11
  return n;
12
12
  }, jt = (n, t) => Nr(n, Fr(t));
13
- import { S as Ir, b as Hr, f as Ie, s as fr, E as Rr, c as Jr, F as Wr, n as Un, e as Z, o as T, G as zr, m as ne, B as ge, p as I, q as le, C as Yn, v as S, w as Yt, H as Br, D as J, x as Pt, y as ye, z as ke, I as pt, A as Ct, J as Pe, K as gt, L as cr, M as Vr, N as wt, r as In, O as We, P as It } from "./CashierConfirmModal-CNzEOcOZ.js";
13
+ import { S as Ir, b as Hr, f as Ie, s as fr, E as Rr, c as Jr, F as Wr, n as Un, e as Z, o as T, G as zr, m as ne, B as ge, p as I, q as le, C as Yn, v as S, w as Yt, H as Br, D as J, x as Pt, y as ye, z as ke, I as pt, A as Ct, J as Pe, K as gt, L as cr, M as Vr, N as wt, r as In, O as ze, P as It } from "./CashierConfirmModal-CNzEOcOZ.js";
14
14
  import { w as Ur, a as qr, i as Kr, $ as xr, c as bt, g as yt, b as Xr } from "./CashierError-CJI_fDUM.js";
15
15
  import "../stencil/ui-image-C7s6Uvn5.js";
16
16
  let ft = Ur(null);
@@ -162,7 +162,7 @@ if (typeof window != "undefined") {
162
162
  }
163
163
  };
164
164
  };
165
- customElements.define = n(customElements.define), import("./CashierReceiptPage-jTZlGxNV.js").then(({ default: t }) => {
165
+ customElements.define = n(customElements.define), import("./CashierReceiptPage-DQn4C5y6.js").then(({ default: t }) => {
166
166
  !customElements.get("cashier-receipt-page") && customElements.define("cashier-receipt-page", t.element);
167
167
  });
168
168
  }
@@ -311,7 +311,7 @@ var St = [
311
311
  hourAriaLabel: "Hour",
312
312
  minuteAriaLabel: "Minute",
313
313
  time_24hr: !1
314
- }, Je = function(n, t) {
314
+ }, We = function(n, t) {
315
315
  return t === void 0 && (t = 2), ("000" + n).slice(t * -1);
316
316
  }, Xe = function(n) {
317
317
  return n === !0 ? 1 : 0;
@@ -468,10 +468,10 @@ var Tt = function() {
468
468
  return vt(Vn.n(n, t, e) - 1, !1, t);
469
469
  },
470
470
  G: function(n, t, e) {
471
- return Je(Vn.h(n, t, e));
471
+ return We(Vn.h(n, t, e));
472
472
  },
473
473
  H: function(n) {
474
- return Je(n.getHours());
474
+ return We(n.getHours());
475
475
  },
476
476
  J: function(n, t) {
477
477
  return t.ordinal !== void 0 ? n.getDate() + t.ordinal(n.getDate()) : n.getDate();
@@ -483,7 +483,7 @@ var Tt = function() {
483
483
  return vt(n.getMonth(), !0, t);
484
484
  },
485
485
  S: function(n) {
486
- return Je(n.getSeconds());
486
+ return We(n.getSeconds());
487
487
  },
488
488
  U: function(n) {
489
489
  return n.getTime() / 1e3;
@@ -492,16 +492,16 @@ var Tt = function() {
492
492
  return e.getWeek(n);
493
493
  },
494
494
  Y: function(n) {
495
- return Je(n.getFullYear(), 4);
495
+ return We(n.getFullYear(), 4);
496
496
  },
497
497
  d: function(n) {
498
- return Je(n.getDate());
498
+ return We(n.getDate());
499
499
  },
500
500
  h: function(n) {
501
501
  return n.getHours() % 12 ? n.getHours() % 12 : 12;
502
502
  },
503
503
  i: function(n) {
504
- return Je(n.getMinutes());
504
+ return We(n.getMinutes());
505
505
  },
506
506
  j: function(n) {
507
507
  return n.getDate();
@@ -510,7 +510,7 @@ var Tt = function() {
510
510
  return t.weekdays.longhand[n.getDay()];
511
511
  },
512
512
  m: function(n) {
513
- return Je(n.getMonth() + 1);
513
+ return We(n.getMonth() + 1);
514
514
  },
515
515
  n: function(n) {
516
516
  return n.getMonth() + 1;
@@ -720,7 +720,7 @@ function ta(n, t) {
720
720
  i && i instanceof Date && D(i.getHours(), i.getMinutes(), i.getSeconds());
721
721
  }
722
722
  function D(a, i, u) {
723
- e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(a % 24, i, u || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Je(e.config.time_24hr ? a : (12 + a) % 12 + 12 * Xe(a % 12 === 0)), e.minuteElement.value = Je(i), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Xe(a >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Je(u)));
723
+ e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(a % 24, i, u || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = We(e.config.time_24hr ? a : (12 + a) % 12 + 12 * Xe(a % 12 === 0)), e.minuteElement.value = We(i), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Xe(a >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = We(u)));
724
724
  }
725
725
  function p(a) {
726
726
  var i = Ve(a), u = parseInt(i.value) + (a.delta || 0);
@@ -914,10 +914,10 @@ function ta(n, t) {
914
914
  var g = mt("flatpickr-minute", {
915
915
  "aria-label": e.l10n.minuteAriaLabel
916
916
  });
917
- if (e.minuteElement = g.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Je(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? a.hours : w(a.hours)), e.minuteElement.value = Je(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : a.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(u), e.timeContainer.appendChild(i), e.timeContainer.appendChild(g), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
917
+ if (e.minuteElement = g.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = We(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? a.hours : w(a.hours)), e.minuteElement.value = We(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : a.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(u), e.timeContainer.appendChild(i), e.timeContainer.appendChild(g), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
918
918
  e.timeContainer.classList.add("hasSeconds");
919
919
  var A = mt("flatpickr-second");
920
- e.secondElement = A.getElementsByTagName("input")[0], e.secondElement.value = Je(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : a.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(ce("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(A);
920
+ e.secondElement = A.getElementsByTagName("input")[0], e.secondElement.value = We(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : a.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(ce("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(A);
921
921
  }
922
922
  return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[Xe((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
923
923
  }
@@ -1174,7 +1174,7 @@ function ta(n, t) {
1174
1174
  return e.hourElement.select();
1175
1175
  }, 50);
1176
1176
  }
1177
- function ze(a) {
1177
+ function Be(a) {
1178
1178
  return function(i) {
1179
1179
  var u = e.config["_" + a + "Date"] = e.parseDate(i, e.config.dateFormat), g = e.config["_" + (a === "min" ? "max" : "min") + "Date"];
1180
1180
  u !== void 0 && (e[a === "min" ? "minDateHasTime" : "maxDateHasTime"] = u.getHours() > 0 || u.getMinutes() > 0 || u.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(A) {
@@ -1227,12 +1227,12 @@ function ta(n, t) {
1227
1227
  get: function() {
1228
1228
  return e.config._minDate;
1229
1229
  },
1230
- set: ze("min")
1230
+ set: Be("min")
1231
1231
  }), Object.defineProperty(e.config, "maxDate", {
1232
1232
  get: function() {
1233
1233
  return e.config._maxDate;
1234
1234
  },
1235
- set: ze("max")
1235
+ set: Be("max")
1236
1236
  });
1237
1237
  var q = function(U) {
1238
1238
  return function(ue) {
@@ -1351,7 +1351,7 @@ function ta(n, t) {
1351
1351
  O();
1352
1352
  }
1353
1353
  }
1354
- var Be = {
1354
+ var Je = {
1355
1355
  locale: [Qe, P],
1356
1356
  showMonths: [C, d, y],
1357
1357
  minDate: [Y],
@@ -1367,11 +1367,11 @@ function ta(n, t) {
1367
1367
  if (a !== null && typeof a == "object") {
1368
1368
  Object.assign(e.config, a);
1369
1369
  for (var u in a)
1370
- Be[u] !== void 0 && Be[u].forEach(function(g) {
1370
+ Je[u] !== void 0 && Je[u].forEach(function(g) {
1371
1371
  return g();
1372
1372
  });
1373
1373
  } else
1374
- e.config[a] = i, Be[a] !== void 0 ? Be[a].forEach(function(g) {
1374
+ e.config[a] = i, Je[a] !== void 0 ? Je[a].forEach(function(g) {
1375
1375
  return g();
1376
1376
  }) : St.indexOf(a) > -1 && (e.config[a] = At(i));
1377
1377
  e.redraw(), Fe(!0);
@@ -1507,7 +1507,7 @@ function ta(n, t) {
1507
1507
  var A = parseFloat(g.getAttribute("min")), L = parseFloat(g.getAttribute("max")), q = parseFloat(g.getAttribute("step")), j = parseInt(g.value, 10), ee = a.delta || (i ? a.which === 38 ? 1 : -1 : 0), F = j + q * ee;
1508
1508
  if (typeof g.value != "undefined" && g.value.length === 2) {
1509
1509
  var U = g === e.hourElement, ue = g === e.minuteElement;
1510
- F < A ? (F = L + F + Xe(!U) + (Xe(U) && Xe(!e.amPM)), ue && B(void 0, -1, e.hourElement)) : F > L && (F = g === e.hourElement ? F - L - Xe(!e.amPM) : A, ue && B(void 0, 1, e.hourElement)), e.amPM && U && (q === 1 ? F + j === 23 : Math.abs(F - j) > q) && (e.amPM.textContent = e.l10n.amPM[Xe(e.amPM.textContent === e.l10n.amPM[0])]), g.value = Je(F);
1510
+ F < A ? (F = L + F + Xe(!U) + (Xe(U) && Xe(!e.amPM)), ue && B(void 0, -1, e.hourElement)) : F > L && (F = g === e.hourElement ? F - L - Xe(!e.amPM) : A, ue && B(void 0, 1, e.hourElement)), e.amPM && U && (q === 1 ? F + j === 23 : Math.abs(F - j) > q) && (e.amPM.textContent = e.l10n.amPM[Xe(e.amPM.textContent === e.l10n.amPM[0])]), g.value = We(F);
1511
1511
  }
1512
1512
  }
1513
1513
  return o(), e;
@@ -2884,7 +2884,7 @@ var Ot = { exports: {} };
2884
2884
  }
2885
2885
  };
2886
2886
  Ee.l10ns.hi = qe, Ee.l10ns;
2887
- var ze = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2887
+ var Be = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2888
2888
  l10ns: {}
2889
2889
  }, we = {
2890
2890
  firstDayOfWeek: 1,
@@ -2932,7 +2932,7 @@ var Ot = { exports: {} };
2932
2932
  },
2933
2933
  time_24hr: !0
2934
2934
  };
2935
- ze.l10ns.hr = we, ze.l10ns;
2935
+ Be.l10ns.hr = we, Be.l10ns;
2936
2936
  var Ne = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2937
2937
  l10ns: {}
2938
2938
  }, Qe = {
@@ -3150,7 +3150,7 @@ var Ot = { exports: {} };
3150
3150
  time_24hr: !0
3151
3151
  };
3152
3152
  $e.l10ns.is = on, $e.l10ns;
3153
- var Be = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3153
+ var Je = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3154
3154
  l10ns: {}
3155
3155
  }, Ke = {
3156
3156
  weekdays: {
@@ -3205,7 +3205,7 @@ var Ot = { exports: {} };
3205
3205
  toggleTitle: "Clicca per cambiare",
3206
3206
  time_24hr: !0
3207
3207
  };
3208
- Be.l10ns.it = Ke, Be.l10ns;
3208
+ Je.l10ns.it = Ke, Je.l10ns;
3209
3209
  var ln = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3210
3210
  l10ns: {}
3211
3211
  }, hn = {
@@ -5506,8 +5506,8 @@ var wr = { exports: {} };
5506
5506
  return new Date((E === "X" ? 1e3 : 1) * k);
5507
5507
  var P = p(E)(k), z = P.year, Q = P.month, ie = P.day, ae = P.hours, me = P.minutes, he = P.seconds, Se = P.milliseconds, be = P.zone, se = /* @__PURE__ */ new Date(), Me = ie || (z || Q ? 1 : se.getDate()), fe = z || se.getFullYear(), pe = 0;
5508
5508
  z && !Q || (pe = Q > 0 ? Q - 1 : se.getMonth());
5509
- var De = ae || 0, Ee = me || 0, qe = he || 0, ze = Se || 0;
5510
- return be ? new Date(Date.UTC(fe, pe, Me, De, Ee, qe, ze + 60 * be.offset * 1e3)) : y ? new Date(Date.UTC(fe, pe, Me, De, Ee, qe, ze)) : new Date(fe, pe, Me, De, Ee, qe, ze);
5509
+ var De = ae || 0, Ee = me || 0, qe = he || 0, Be = Se || 0;
5510
+ return be ? new Date(Date.UTC(fe, pe, Me, De, Ee, qe, Be + 60 * be.offset * 1e3)) : y ? new Date(Date.UTC(fe, pe, Me, De, Ee, qe, Be)) : new Date(fe, pe, Me, De, Ee, qe, Be);
5511
5511
  } catch (we) {
5512
5512
  return /* @__PURE__ */ new Date("");
5513
5513
  }
@@ -5846,7 +5846,7 @@ function ca(n) {
5846
5846
  n[38]("amountPlaceholder")), S(s, "class", "Alert");
5847
5847
  },
5848
5848
  m(D, p) {
5849
- M && M.m(D, p), ne(D, t, p), ne(D, e, p), We(
5849
+ M && M.m(D, p), ne(D, t, p), ne(D, e, p), ze(
5850
5850
  e,
5851
5851
  /*editedAmount*/
5852
5852
  n[31]
@@ -5883,7 +5883,7 @@ function ca(n) {
5883
5883
  128 && r !== (r = /*$_*/
5884
5884
  D[38]("amountPlaceholder")) && S(e, "placeholder", r), p[1] & /*editedAmount*/
5885
5885
  1 && pt(e.value) !== /*editedAmount*/
5886
- D[31] && We(
5886
+ D[31] && ze(
5887
5887
  e,
5888
5888
  /*editedAmount*/
5889
5889
  D[31]
@@ -6187,7 +6187,7 @@ function ma(n) {
6187
6187
  n[149].placeholder);
6188
6188
  },
6189
6189
  m(m, d) {
6190
- ne(m, t, d), We(
6190
+ ne(m, t, d), ze(
6191
6191
  t,
6192
6192
  /*prepareFields*/
6193
6193
  n[18][
@@ -6204,7 +6204,7 @@ function ma(n) {
6204
6204
  n[18][
6205
6205
  /*field*/
6206
6206
  n[149].name
6207
- ] && We(
6207
+ ] && ze(
6208
6208
  t,
6209
6209
  /*prepareFields*/
6210
6210
  n[18][
@@ -6473,7 +6473,7 @@ function ba(n) {
6473
6473
  n[149].placeholder);
6474
6474
  },
6475
6475
  m(m, d) {
6476
- ne(m, t, d), We(
6476
+ ne(m, t, d), ze(
6477
6477
  t,
6478
6478
  /*prepareFields*/
6479
6479
  n[18][
@@ -6486,7 +6486,7 @@ function ba(n) {
6486
6486
  n = m, d[0] & /*fields*/
6487
6487
  4096 && e !== (e = /*field*/
6488
6488
  n[149].placeholder) && S(t, "placeholder", e), d[0] & /*prepareFields, fields*/
6489
- 266240 && We(
6489
+ 266240 && ze(
6490
6490
  t,
6491
6491
  /*prepareFields*/
6492
6492
  n[18][
@@ -6533,7 +6533,7 @@ function ya(n) {
6533
6533
  n[149].placeholder);
6534
6534
  },
6535
6535
  m(c, h) {
6536
- ne(c, t, h), We(
6536
+ ne(c, t, h), ze(
6537
6537
  t,
6538
6538
  /*prepareFields*/
6539
6539
  n[18][
@@ -6554,7 +6554,7 @@ function ya(n) {
6554
6554
  n[18][
6555
6555
  /*field*/
6556
6556
  n[149].name
6557
- ] && We(
6557
+ ] && ze(
6558
6558
  t,
6559
6559
  /*prepareFields*/
6560
6560
  n[18][
@@ -6601,7 +6601,7 @@ function ka(n) {
6601
6601
  n[149].placeholder);
6602
6602
  },
6603
6603
  m(c, h) {
6604
- ne(c, t, h), We(
6604
+ ne(c, t, h), ze(
6605
6605
  t,
6606
6606
  /*prepareFields*/
6607
6607
  n[18][
@@ -6622,7 +6622,7 @@ function ka(n) {
6622
6622
  n[18][
6623
6623
  /*field*/
6624
6624
  n[149].name
6625
- ] && We(
6625
+ ] && ze(
6626
6626
  t,
6627
6627
  /*prepareFields*/
6628
6628
  n[18][
@@ -6689,7 +6689,7 @@ function Ma(n) {
6689
6689
  n[149].placeholder), S(d, "class", "MobileDateInput"), S(t, "class", "DateInput");
6690
6690
  },
6691
6691
  m(O, H) {
6692
- ne(O, t, H), T(t, e), We(
6692
+ ne(O, t, H), T(t, e), ze(
6693
6693
  e,
6694
6694
  /*prepareFields*/
6695
6695
  n[18][
@@ -6717,7 +6717,7 @@ function Ma(n) {
6717
6717
  n[18][
6718
6718
  /*field*/
6719
6719
  n[149].name
6720
- ] && We(
6720
+ ] && ze(
6721
6721
  e,
6722
6722
  /*prepareFields*/
6723
6723
  n[18][
@@ -6770,7 +6770,7 @@ function Da(n) {
6770
6770
  n[149].placeholder);
6771
6771
  },
6772
6772
  m(c, h) {
6773
- ne(c, t, h), We(
6773
+ ne(c, t, h), ze(
6774
6774
  t,
6775
6775
  /*prepareFields*/
6776
6776
  n[18][
@@ -6791,7 +6791,7 @@ function Da(n) {
6791
6791
  n[18][
6792
6792
  /*field*/
6793
6793
  n[149].name
6794
- ] && We(
6794
+ ] && ze(
6795
6795
  t,
6796
6796
  /*prepareFields*/
6797
6797
  n[18][
@@ -7570,13 +7570,13 @@ function Ea(n, t, e) {
7570
7570
  [["Html", 19], v.Html],
7571
7571
  [["QR", 20], v.QRCode]
7572
7572
  ].reduce(d, []));
7573
- let { endpoint: H } = t, { session: Y } = t, { playersession: V } = t, { lang: B = "en" } = t, { local: te = "en-US" } = t, { translationurl: x } = t, { customerid: re } = t, { currency: X } = t, { amount: de } = t, { assetsurl: $ } = t, { type: W = c.Deposit } = t, { selectedpaymentmethodname: G } = t, { clientstyling: N = "" } = t, { clientstylingurl: _ = "" } = t, { ismobileview: C } = t, k = {}, E = [], y = {}, P, z = !1, Q = !1, ie, ae, me, he, Se, be, se, Me, fe = [], pe = [], De = !1, Ee, qe = new Intl.NumberFormat(te, { minimumFractionDigits: 2 }), ze = "", we = {}, Ne = {}, Qe = !1, Ze, Te, Re, nn, $e = !1, on = "", Be = !1, Ke = new AbortController(), ln, hn;
7573
+ let { endpoint: H } = t, { session: Y } = t, { playersession: V } = t, { lang: B = "en" } = t, { local: te = "en-US" } = t, { translationurl: x } = t, { customerid: re } = t, { currency: X } = t, { amount: de } = t, { assetsurl: $ } = t, { type: W = c.Deposit } = t, { selectedpaymentmethodname: G } = t, { clientstyling: N = "" } = t, { clientstylingurl: _ = "" } = t, { ismobileview: C } = t, k = {}, E = [], y = {}, P, z = !1, Q = !1, ie, ae, me, he, Se, be, se, Me, fe = [], pe = [], De = !1, Ee, qe = new Intl.NumberFormat(te, { minimumFractionDigits: 2 }), Be = "", we = {}, Ne = {}, Qe = !1, Ze, Te, Re, nn, $e = !1, on = "", Je = !1, Ke = new AbortController(), ln, hn;
7574
7574
  const pn = () => {
7575
7575
  o && sn();
7576
7576
  }, sn = () => {
7577
7577
  pe.length && pe.forEach((l) => {
7578
7578
  l && Ce(l).destroy();
7579
- }), e(19, Q = !1), e(21, Se = !1), e(15, pe = []), e(12, E = []), e(18, y = {}), e(27, we = {}), e(28, Ne = {}), e(14, fe = []), e(17, k = null), e(32, Re = ""), e(33, $e = !1), e(35, Be = !0), e(20, me = !1), e(23, se = null), i(), dn();
7579
+ }), e(19, Q = !1), e(21, Se = !1), e(15, pe = []), e(12, E = []), e(18, y = {}), e(27, we = {}), e(28, Ne = {}), e(14, fe = []), e(17, k = null), e(32, Re = ""), e(33, $e = !1), e(35, Je = !0), e(20, me = !1), e(23, se = null), i(), dn();
7580
7580
  }, Dn = () => {
7581
7581
  e(24, De = C === "true");
7582
7582
  }, gn = () => {
@@ -7642,7 +7642,7 @@ function Ea(n, t, e) {
7642
7642
  const dn = () => {
7643
7643
  vn(), Ke = new AbortController();
7644
7644
  const l = Ke.signal;
7645
- e(35, Be = !0);
7645
+ e(35, Je = !0);
7646
7646
  const b = new URL(`${H}/v1/player/${re}/payment/GetPaymentMethod`), R = new Headers();
7647
7647
  R.append("accept", "application/json"), R.append("Content-Type", "application/json"), R.append("X-Client-Request-Timestamp", an.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
7648
7648
  const K = {
@@ -7676,7 +7676,7 @@ function Ea(n, t, e) {
7676
7676
  e(32, Re = _e.ResponseCode);
7677
7677
  return;
7678
7678
  }
7679
- _e.XPaymentSessionToken && ft.set(_e.XPaymentSessionToken), e(17, k = _e.PaymentMethod), e(31, Te = Number(de) || null), k.HideAmountField ? e(26, ze = "") : kn(), he = M.get(k.RedirectionMode) || M.get("Default"), e(36, ln = (k == null ? void 0 : k.Logos.find((Ae) => Ae.LogoType === "Desktop")) || {}), e(37, hn = (k == null ? void 0 : k.Logos.find((Ae) => Ae.LogoType === "Mobile")) || {}), e(12, E = k.Fields && k.Fields.map((Ae) => new s(Ae))), E.forEach((Ae) => {
7679
+ _e.XPaymentSessionToken && ft.set(_e.XPaymentSessionToken), e(17, k = _e.PaymentMethod), e(31, Te = Number(de) || null), k.HideAmountField ? e(26, Be = "") : kn(), he = M.get(k.RedirectionMode) || M.get("Default"), e(36, ln = (k == null ? void 0 : k.Logos.find((Ae) => Ae.LogoType === "Desktop")) || {}), e(37, hn = (k == null ? void 0 : k.Logos.find((Ae) => Ae.LogoType === "Mobile")) || {}), e(12, E = k.Fields && k.Fields.map((Ae) => new s(Ae))), E.forEach((Ae) => {
7680
7680
  Ae != null && Ae.defaultValue && e(18, y[Ae.name] = Ae.defaultValue, y), Ye(Ae);
7681
7681
  }), u(), i(), ee(), window.postMessage(
7682
7682
  {
@@ -7687,7 +7687,7 @@ function Ea(n, t, e) {
7687
7687
  );
7688
7688
  }
7689
7689
  }).finally(() => {
7690
- e(35, Be = l.aborted);
7690
+ e(35, Je = Je && l.aborted);
7691
7691
  });
7692
7692
  }, vn = () => {
7693
7693
  Ke && Ke.abort();
@@ -7843,7 +7843,7 @@ function Ea(n, t, e) {
7843
7843
  window.location.href
7844
7844
  );
7845
7845
  }, j = () => {
7846
- Be && vn(), window.postMessage(
7846
+ Je && vn(), window.postMessage(
7847
7847
  {
7848
7848
  type: "HidePaymentDetails",
7849
7849
  details: { hideMethodDetails: De }
@@ -7944,7 +7944,7 @@ function Ea(n, t, e) {
7944
7944
  }, Hn = (l, b) => l.format && b && !Xn(l.format, b) ? r("invalidFieldError", { values: { field: l.label } }) : "", Rn = (l, b) => typeof b != "boolean" && l.isRequired && (!b || !b.toString().trim()) ? r("errorEmptyField") : "", Jn = (l) => {
7945
7945
  ["+", "-", "e", "E"].includes(l.key) && l.preventDefault();
7946
7946
  }, kn = () => {
7947
- e(26, ze = Ln() || En() || On() || Pn() || Kn() || xn());
7947
+ e(26, Be = Ln() || En() || On() || Pn() || Kn() || xn());
7948
7948
  }, mn = (l) => {
7949
7949
  const b = y[l.name], R = l.placeholder, K = an(b, R), _e = an(l.maxValue, R), Ae = an(l.minValue, R);
7950
7950
  if (K.isBefore(Ae) || K.isAfter(_e)) {
@@ -8086,7 +8086,7 @@ function Ea(n, t, e) {
8086
8086
  se,
8087
8087
  De,
8088
8088
  Ee,
8089
- ze,
8089
+ Be,
8090
8090
  we,
8091
8091
  Ne,
8092
8092
  Qe,
@@ -8095,7 +8095,7 @@ function Ea(n, t, e) {
8095
8095
  Re,
8096
8096
  $e,
8097
8097
  on,
8098
- Be,
8098
+ Je,
8099
8099
  ln,
8100
8100
  hn,
8101
8101
  r,
@@ -1,5 +1,5 @@
1
1
  import { S as je, b as he, s as ke, f as E, c as Ee, n as K, e as v, o as p, G as Be, m as d, p as z, q as w, C as G, v as a, w as we, H as Le, A as te, y as M, B as I, z as R, D as B, K as fe, L as Ze, x as Me, E as Re } from "./CashierConfirmModal-3pkCHAVZ.js";
2
- import { d as Ae, u as Qe } from "./CashierMethodDetails-CWgtAJuN.js";
2
+ import { d as Ae, u as Qe } from "./CashierMethodDetails-Cud2au48.js";
3
3
  import { a as Se, i as xe, $ as De, b as Ge } from "./CashierError-CPGOzOzp.js";
4
4
  function ie(A, e) {
5
5
  Se(A, e);