@everymatrix/player-limit-notification 0.14.20 → 0.14.22

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.
@@ -26,8 +26,8 @@ var we = (i, e, t) => new Promise((a, o) => {
26
26
  }, u = (m) => m.done ? a(m.value) : Promise.resolve(m.value).then(r, s);
27
27
  u((t = t.apply(i, e)).next());
28
28
  });
29
- import { b as Va, a as Wa, S as Fa, w as qa, D as Ha, s as J, e as Ga, o as A, W as Pt, V as zt, v as Ka, h as Ya, x as C, d as c, p as k, N as B, i as Xa, B as Za, R as gt, f as g, l as ei, Y as ti, t as ii, u as oi, z as lt, r as _e, n as Qe, C as at, K as j, T as vo, L as Tt, y as pe, Q as x, F as zi, g as Ja, q as Je, E as Rt, c as bo, M as ht, U as Lt, O as ie, X as Qa, m as $a, G as en, H as tn, I as on, k as an, $ as nn } from "./PlayerLimitNotification-BUEwj14t.js";
30
- import { i as sn } from "./PlayerAccountGamingLimitsWrapper2Nd-CCzX8MHM.js";
29
+ import { a as Va, $ as Wa, S as Fa, i as qa, s as Ha, f as Z, b as Ga, d as A, t as Pt, e as zt, D as Ka, j as Ya, k as C, l as c, m as k, n as B, p as Xa, r as Ja, M as gt, o as g, c as ei, u as ti, g as ii, h as oi, x as lt, B as _e, C as Qe, N as at, v as j, O as vo, P as Tt, z as pe, w as x, Q as zi, y as Za, E as Ze, R as Rt, T as bo, U as ht, G as Lt, A as ie, V as Qa, W as $a, H as en, I as tn, J as on, K as an, L as nn } from "./PlayerLimitNotification-BCZL-WuV.js";
30
+ import { i as sn } from "./PlayerAccountGamingLimitsWrapper2Nd-Cn_R6ZGS.js";
31
31
  import "../stencil/ui-skeleton-xXZA3rYO.js";
32
32
  const oe = {
33
33
  lugas: {
@@ -85,7 +85,7 @@ function Ti(i, e) {
85
85
  function rn(i) {
86
86
  Wa.set(i);
87
87
  }
88
- const Ze = {
88
+ const Je = {
89
89
  en: {
90
90
  loadingText: "Loading, please wait...",
91
91
  Monthly: "per month",
@@ -1661,7 +1661,7 @@ function bn(i) {
1661
1661
  let ve = F(i), ce = ve(i);
1662
1662
  return {
1663
1663
  c() {
1664
- e = k("div"), t = k("span"), o = x(a), r = B(), s = k("button"), s.textContent = "X", u = B(), m = k("div"), f = k("div"), q.c(), d = B(), E.c(), h = B(), w = k("p"), v = B(), ce.c(), S = Je(), g(t, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(e, "class", "PopupTitleWrapper"), g(f, "class", "ResultIconWrapper"), g(w, "class", "DescriptionParagraph " + (/*isDesktop*/
1664
+ e = k("div"), t = k("span"), o = x(a), r = B(), s = k("button"), s.textContent = "X", u = B(), m = k("div"), f = k("div"), q.c(), d = B(), E.c(), h = B(), w = k("p"), v = B(), ce.c(), S = Ze(), g(t, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(e, "class", "PopupTitleWrapper"), g(f, "class", "ResultIconWrapper"), g(w, "class", "DescriptionParagraph " + (/*isDesktop*/
1665
1665
  i[41] ? "" : "Mobile")), g(m, "class", "DescriptionWrapper");
1666
1666
  },
1667
1667
  m(G, ne) {
@@ -2013,7 +2013,7 @@ function In(i) {
2013
2013
  c() {
2014
2014
  for (let o = 0; o < a.length; o += 1)
2015
2015
  a[o].c();
2016
- e = Je();
2016
+ e = Ze();
2017
2017
  },
2018
2018
  m(o, r) {
2019
2019
  for (let s = 0; s < a.length; s += 1)
@@ -2106,7 +2106,7 @@ function Mn(i) {
2106
2106
  /*$$scope*/
2107
2107
  i[87],
2108
2108
  Wi
2109
- ), fe = ne || Jn(i);
2109
+ ), fe = ne || Zn(i);
2110
2110
  let Se = _e(
2111
2111
  /*availableLimits*/
2112
2112
  i[9]
@@ -2373,7 +2373,7 @@ function Yi(i) {
2373
2373
  c() {
2374
2374
  for (let o = 0; o < 1; o += 1)
2375
2375
  a[o].c();
2376
- e = Je();
2376
+ e = Ze();
2377
2377
  },
2378
2378
  m(o, r) {
2379
2379
  for (let s = 0; s < 1; s += 1)
@@ -2423,7 +2423,7 @@ function Un(i) {
2423
2423
  c() {
2424
2424
  for (let s = 0; s < e.length; s += 1)
2425
2425
  e[s].c();
2426
- a = Je();
2426
+ a = Ze();
2427
2427
  },
2428
2428
  m(s, u) {
2429
2429
  for (let m = 0; m < e.length; m += 1)
@@ -2495,7 +2495,7 @@ function Bn(i) {
2495
2495
  i[9]
2496
2496
  ), _ = [];
2497
2497
  for (let T = 0; T < S.length; T += 1)
2498
- _[T] = Zi(Oi(i, S, T));
2498
+ _[T] = Ji(Oi(i, S, T));
2499
2499
  return {
2500
2500
  c() {
2501
2501
  e = k("p"), a = x(t), o = B();
@@ -2530,7 +2530,7 @@ function Bn(i) {
2530
2530
  let M;
2531
2531
  for (M = 0; M < S.length; M += 1) {
2532
2532
  const q = Oi(T, S, M);
2533
- _[M] ? _[M].p(q, N) : (_[M] = Zi(q), _[M].c(), _[M].m(r.parentNode, r));
2533
+ _[M] ? _[M].p(q, N) : (_[M] = Ji(q), _[M].c(), _[M].m(r.parentNode, r));
2534
2534
  }
2535
2535
  for (; M < _.length; M += 1)
2536
2536
  _[M].d(1);
@@ -2560,7 +2560,7 @@ function Rn(i) {
2560
2560
  /*limit*/
2561
2561
  i[191].value === "netdeposit" && /*$_*/
2562
2562
  i[40]("newLimitInfoText").trim().length > 0
2563
- ), s, u, m, f, d = r && Ji(i), h = _e(
2563
+ ), s, u, m, f, d = r && Zi(i), h = _e(
2564
2564
  /*limit*/
2565
2565
  i[191].visibleLimitsInUI
2566
2566
  ), w = [];
@@ -2596,7 +2596,7 @@ function Rn(i) {
2596
2596
  512 | S[1] & /*currentTypes, $_*/
2597
2597
  768 && (r = /*limit*/
2598
2598
  v[191].value === "netdeposit" && /*$_*/
2599
- v[40]("newLimitInfoText").trim().length > 0), r ? d ? d.p(v, S) : (d = Ji(v), d.c(), d.m(s.parentNode, s)) : d && (d.d(1), d = null), S[0] & /*availableLimits, deletelimit, acknowledgedLimits, currencySymbols, currency, lang*/
2599
+ v[40]("newLimitInfoText").trim().length > 0), r ? d ? d.p(v, S) : (d = Zi(v), d.c(), d.m(s.parentNode, s)) : d && (d.d(1), d = null), S[0] & /*availableLimits, deletelimit, acknowledgedLimits, currencySymbols, currency, lang*/
2600
2600
  25166347 | S[1] & /*isDesktop, currentTypes, cancelLimitSwitch, $_, confirmLimitSwitch, removeLimitSwitch, readLimits16*/
2601
2601
  14747392) {
2602
2602
  h = _e(
@@ -2649,7 +2649,7 @@ function Xi(i) {
2649
2649
  }
2650
2650
  };
2651
2651
  }
2652
- function Zi(i) {
2652
+ function Ji(i) {
2653
2653
  let e = (
2654
2654
  /*limit*/
2655
2655
  i[191].value === "netdeposit" && /*$_*/
@@ -2657,7 +2657,7 @@ function Zi(i) {
2657
2657
  ), t, a = e && Xi(i);
2658
2658
  return {
2659
2659
  c() {
2660
- a && a.c(), t = Je();
2660
+ a && a.c(), t = Ze();
2661
2661
  },
2662
2662
  m(o, r) {
2663
2663
  a && a.m(o, r), C(o, t, r);
@@ -2674,7 +2674,7 @@ function Zi(i) {
2674
2674
  }
2675
2675
  };
2676
2676
  }
2677
- function Ji(i) {
2677
+ function Zi(i) {
2678
2678
  let e, t = (
2679
2679
  /*$_*/
2680
2680
  i[40]("activeLimitsInfoText") + ""
@@ -2897,7 +2897,7 @@ function qn(i) {
2897
2897
  function t(r, s) {
2898
2898
  return (
2899
2899
  /*vLimit*/
2900
- r[202].isCoolOffCompleted ? Zn : Xn
2900
+ r[202].isCoolOffCompleted ? Jn : Xn
2901
2901
  );
2902
2902
  }
2903
2903
  let a = t(i), o = a(i);
@@ -3074,7 +3074,7 @@ function Xn(i) {
3074
3074
  }
3075
3075
  };
3076
3076
  }
3077
- function Zn(i) {
3077
+ function Jn(i) {
3078
3078
  let e = (
3079
3079
  /*$_*/
3080
3080
  i[40]("removeAfterConfirm") + ""
@@ -3394,7 +3394,7 @@ function no(i, e) {
3394
3394
  key: i,
3395
3395
  first: null,
3396
3396
  c() {
3397
- t = Je(), s && s.c(), a = Je(), this.first = t;
3397
+ t = Ze(), s && s.c(), a = Ze(), this.first = t;
3398
3398
  },
3399
3399
  m(u, m) {
3400
3400
  C(u, t, m), s && s.m(u, m), C(u, a, m);
@@ -3472,7 +3472,7 @@ function lo(i) {
3472
3472
  let a = t(i), o = a(i);
3473
3473
  return {
3474
3474
  c() {
3475
- o.c(), e = Je();
3475
+ o.c(), e = Ze();
3476
3476
  },
3477
3477
  m(r, s) {
3478
3478
  o.m(r, s), C(r, e, s);
@@ -3485,7 +3485,7 @@ function lo(i) {
3485
3485
  }
3486
3486
  };
3487
3487
  }
3488
- function Jn(i) {
3488
+ function Zn(i) {
3489
3489
  let e, t = (
3490
3490
  /*availableLimits*/
3491
3491
  i[9] && Yi(i)
@@ -3538,7 +3538,7 @@ function mo(i) {
3538
3538
  ), t, a = e && uo(i);
3539
3539
  return {
3540
3540
  c() {
3541
- a && a.c(), t = Je();
3541
+ a && a.c(), t = Ze();
3542
3542
  },
3543
3543
  m(o, r) {
3544
3544
  a && a.m(o, r), C(o, t, r);
@@ -4225,17 +4225,17 @@ function as(i, e, t) {
4225
4225
  console.log(l);
4226
4226
  });
4227
4227
  };
4228
- Object.keys(Ze).forEach((n) => {
4229
- Ti(n, Ze[n]);
4228
+ Object.keys(Je).forEach((n) => {
4229
+ Ti(n, Je[n]);
4230
4230
  });
4231
4231
  const Ft = (n) => `dataLayer-${n}`, ze = (n, l) => {
4232
4232
  if (typeof gtag == "function") {
4233
4233
  const p = (Ye || "").toLowerCase(), L = (K || "").toLowerCase(), b = (Le || "").toLowerCase();
4234
4234
  gtag({
4235
4235
  event: n,
4236
- limit_category: Ze[f][Ft(p)] || Ye,
4237
- limit_type: Ze[f][Ft(L)] || K,
4238
- limit_period: Ze[f][Ft(b)] || Le,
4236
+ limit_category: Je[f][Ft(p)] || Ye,
4237
+ limit_type: Je[f][Ft(L)] || K,
4238
+ limit_period: Je[f][Ft(b)] || Le,
4239
4239
  limit_amount: $ || l
4240
4240
  });
4241
4241
  }
@@ -4249,9 +4249,9 @@ function as(i, e, t) {
4249
4249
  throw new Error(`Limit config mismatch: "${y[0]}" does not match "${l[b][0]}"`);
4250
4250
  const p = n.reduce(
4251
4251
  (b, y, O) => {
4252
- const H = y[0].slice(y[0].indexOf("(") + 1, y[0].indexOf(")")), Z = y[0].slice(0, y[0].indexOf("(")), V = y[1], I = l[O][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), z = {
4252
+ const H = y[0].slice(y[0].indexOf("(") + 1, y[0].indexOf(")")), J = y[0].slice(0, y[0].indexOf("(")), V = y[1], I = l[O][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), z = {
4253
4253
  value: H,
4254
- product: Z,
4254
+ product: J,
4255
4255
  minMax: V,
4256
4256
  periods: I,
4257
4257
  callValue: oe[H].callValue,
@@ -4348,8 +4348,8 @@ function as(i, e, t) {
4348
4348
  const y = Ye.toLowerCase();
4349
4349
  p = ((b = n == null ? void 0 : n.currentLimits) != null ? b : []).find((H) => {
4350
4350
  var V, I, z;
4351
- const Z = H;
4352
- return Z.period === Le && ((z = (I = (V = Z.rawLimit) == null ? void 0 : V.products) != null ? I : Z.products) != null ? z : []).some((D) => D.toLowerCase() === y);
4351
+ const J = H;
4352
+ return J.period === Le && ((z = (I = (V = J.rawLimit) == null ? void 0 : V.products) != null ? I : J.products) != null ? z : []).some((D) => D.toLowerCase() === y);
4353
4353
  }) || null;
4354
4354
  }
4355
4355
  return p ? {
@@ -4506,7 +4506,7 @@ function as(i, e, t) {
4506
4506
  };
4507
4507
  try {
4508
4508
  const p = yield fetch(n.href, l);
4509
- Ie = xe(p), ct && St(), Xo(Ie), Zo(Ie), t(20, $ = null), t(34, Ge = !0), t(35, wt = !1);
4509
+ Ie = xe(p), ct && St(), Xo(Ie), Jo(Ie), t(20, $ = null), t(34, Ge = !0), t(35, wt = !1);
4510
4510
  } catch (p) {
4511
4511
  console.error("Error LimitsWidget: ", p), t(28, We = !0);
4512
4512
  } finally {
@@ -4570,10 +4570,10 @@ function as(i, e, t) {
4570
4570
  Array.isArray(b[0]) && (b = b.flat()), t(9, R = R.map((y) => {
4571
4571
  if (!y.currentLimits)
4572
4572
  return y;
4573
- const O = (y.product || "").toLowerCase(), H = (y.value || "").toLowerCase(), Z = H.includes(he.netdeposit), V = H.includes(he.deposit) && !Z, I = H.includes(he.loss), z = y.currentLimits.map((D) => {
4573
+ const O = (y.product || "").toLowerCase(), H = (y.value || "").toLowerCase(), J = H.includes(he.netdeposit), V = H.includes(he.deposit) && !J, I = H.includes(he.loss), z = y.currentLimits.map((D) => {
4574
4574
  var ke, tt;
4575
4575
  const se = b.filter((Te) => {
4576
- const Ne = (Te.limitType || "").toLowerCase(), Fe = Te.limitPeriod || "", ft = D.period || "", At = Ne.includes(he.netdeposit), it = Ne.includes(he.deposit) && !At, Nt = Ne.includes(he.loss), Bt = V && it || Z && At || I && Nt;
4576
+ const Ne = (Te.limitType || "").toLowerCase(), Fe = Te.limitPeriod || "", ft = D.period || "", At = Ne.includes(he.netdeposit), it = Ne.includes(he.deposit) && !At, Nt = Ne.includes(he.loss), Bt = V && it || J && At || I && Nt;
4577
4577
  return (Ne === H || Ne === `operator${H}` || Ne === `system${H}` || Bt) && (Fe === ft || Fe === "Monthly" && ft === "Month" || Fe === "Month" && ft === "Monthly");
4578
4578
  }), ee = (Te) => se.find((Ne) => (Ne.limitProducts || []).map((Fe) => Fe.toLowerCase()).includes(Te));
4579
4579
  let de = ee(O);
@@ -4624,19 +4624,19 @@ function as(i, e, t) {
4624
4624
  Array.isArray(l[0]) && (l = l.flat());
4625
4625
  const p = (y) => y == null ? 0 : typeof y == "number" ? y : typeof y == "object" && y.parsedValue !== void 0 ? parseFloat(y.parsedValue) : typeof y == "object" && y.amount !== void 0 ? p(y.amount) : typeof y == "string" && parseFloat(y.replace(X.COMMA_REMOVAL_REGEX, "")) || 0, L = he.deposit.toLowerCase(), b = he.netdeposit.toLowerCase();
4626
4626
  Dt = 1 / 0, Et = 1 / 0, yt = 0, l.forEach((y) => {
4627
- var H, Z;
4627
+ var H, J;
4628
4628
  const O = (y.limitType || "").toLowerCase();
4629
4629
  if (O.includes(L) || O.includes(b)) {
4630
- const V = p(y.limitAmount), I = p((Z = (H = y.spentBalance) == null ? void 0 : H.amount) != null ? Z : y.spentBalance), z = Math.max(0, V - I);
4630
+ const V = p(y.limitAmount), I = p((J = (H = y.spentBalance) == null ? void 0 : H.amount) != null ? J : y.spentBalance), z = Math.max(0, V - I);
4631
4631
  V > 0 && V < Dt && (Dt = V), z < Et && (Et = z), I > yt && (yt = I);
4632
4632
  }
4633
4633
  }), t(9, R = R.map((y) => {
4634
4634
  const O = (y.value || "").toLowerCase(), H = (y.product || "").toLowerCase();
4635
- let Z = [];
4635
+ let J = [];
4636
4636
  l.forEach((I) => {
4637
4637
  var ee, de;
4638
4638
  const z = (I.limitType || "").toLowerCase(), D = (I.limitProducts || []).map((Ue) => (Ue || "").toLowerCase());
4639
- (z === O || z === `operator${O}`) && (D.includes(H) || D.includes("all")) && Z.push(Ae(te({}, I), {
4639
+ (z === O || z === `operator${O}`) && (D.includes(H) || D.includes("all")) && J.push(Ae(te({}, I), {
4640
4640
  amount: p(I.limitAmount),
4641
4641
  period: I.limitPeriod,
4642
4642
  spent: p((de = (ee = I.spentBalance) == null ? void 0 : ee.amount) != null ? de : I.spentBalance),
@@ -4646,13 +4646,13 @@ function as(i, e, t) {
4646
4646
  }));
4647
4647
  }), y.currentLimits && y.currentLimits.forEach((I) => {
4648
4648
  var z, D;
4649
- Z.push(Ae(te({}, I), {
4649
+ J.push(Ae(te({}, I), {
4650
4650
  amount: parseFloat(I.amount.toString().replace(X.COMMA_REMOVAL_REGEX, "")),
4651
4651
  spent: (D = (z = I.spentBalance) == null ? void 0 : z.amount) != null ? D : 0,
4652
4652
  source: X.LOCAL.toUpperCase()
4653
4653
  }));
4654
4654
  });
4655
- const V = Z.reduce(
4655
+ const V = J.reduce(
4656
4656
  (I, z) => {
4657
4657
  var se, ee;
4658
4658
  const D = Me ? z.period : `${z.period}_${z.isOperator ? "operator" : "user"}`;
@@ -4676,7 +4676,7 @@ function as(i, e, t) {
4676
4676
  const L = (p.value || "").toLowerCase(), b = L.includes(n), y = L.includes(l) && !b, O = y || b;
4677
4677
  let H = Ut && p.allValidLimits !== void 0 ? [...p.allValidLimits] : [...p.currentLimits || []];
4678
4678
  Me || (H = H.filter((V) => !V.isOperator || V.isModified || V.reviewPending && V.reviewPending.id));
4679
- const Z = H.filter((V) => Ut ? !V.isCrossFamily : !V.isExternalFamily).map((V) => {
4679
+ const J = H.filter((V) => Ut ? !V.isCrossFamily : !V.isExternalFamily).map((V) => {
4680
4680
  const I = V.reviewPending && V.reviewPending.id, z = (p.currentLimits || []).find((se) => se.period === V.period), D = z ? z.amount : V.amount;
4681
4681
  return O && Dt !== 1 / 0 ? Ae(te({}, V), {
4682
4682
  isModified: V.isModified || !!I,
@@ -4695,7 +4695,7 @@ function as(i, e, t) {
4695
4695
  shouldHideProgress: !Me
4696
4696
  });
4697
4697
  });
4698
- return Ae(te({}, p), { visibleLimitsInUI: Z });
4698
+ return Ae(te({}, p), { visibleLimitsInUI: J });
4699
4699
  })), t(9, R = [...R]);
4700
4700
  }, Ko = () => R.every((n, l) => {
4701
4701
  var L, b;
@@ -4706,10 +4706,10 @@ function as(i, e, t) {
4706
4706
  O.className = `Progress-bar-container ${y === 0 ? "ZeroProgress" : ""}`;
4707
4707
  const H = document.createElement("div");
4708
4708
  H.className = "Progress-bar-fill", H.style.width = `${b}%`;
4709
- const Z = document.createElement("span");
4710
- Z.className = "Progress-bar-label";
4709
+ const J = document.createElement("span");
4710
+ J.className = "Progress-bar-label";
4711
4711
  const V = isNaN(L) ? 0 : L, I = pt[p] || p;
4712
- return Z.textContent = `${I}${V.toFixed(2)}`, O.appendChild(H), O.appendChild(Z), O;
4712
+ return J.textContent = `${I}${V.toFixed(2)}`, O.appendChild(H), O.appendChild(J), O;
4713
4713
  } catch (b) {
4714
4714
  return console.error(b), document.createElement("div");
4715
4715
  }
@@ -4759,7 +4759,7 @@ function as(i, e, t) {
4759
4759
  l.currentLimits.push({}), l.currentLimits[b].limitType = l.value, l.currentLimits[b].amount = fe ? y.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(y.amount), l.currentLimits[b].currency = (O = pt[y.currency]) != null ? O : y.currency, l.currentLimits[b].period = y.period, l.currentLimits[b].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(y.updateAmount), l.currentLimits[b].isModified = y.isModified, l.currentLimits[b].expiryDate = `${new Date(y.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${Ee})`;
4760
4760
  }), l.currentLimits = rt(l.currentLimits));
4761
4761
  });
4762
- }, Zo = (n) => {
4762
+ }, Jo = (n) => {
4763
4763
  const l = s("minutes");
4764
4764
  R.filter((p) => p.value === X.SESSION_LIMIT || p.value === X.CUMULATIVE_SESSION).forEach((p) => {
4765
4765
  var L;
@@ -4776,12 +4776,12 @@ function as(i, e, t) {
4776
4776
  });
4777
4777
  }), p.currentLimits = rt(p.currentLimits);
4778
4778
  });
4779
- }, Jo = (n) => {
4779
+ }, Zo = (n) => {
4780
4780
  n.forEach((l) => {
4781
4781
  Pe[l] && window.clearInterval(Pe[l]);
4782
4782
  }), t(24, be = Object.fromEntries(Object.entries(be).filter(([l]) => !n.has(l)))), Pe = Object.fromEntries(Object.entries(Pe).filter(([l]) => !n.has(l))), n.size > 0 && mn(v, [...n]);
4783
4783
  }, Qo = (n) => {
4784
- const l = Ze[f].seconds, p = Ze[f].reloadLimitsButton;
4784
+ const l = Je[f].seconds, p = Je[f].reloadLimitsButton;
4785
4785
  n.forEach(({ scheduleId: L, acknowledgedAt: b }) => {
4786
4786
  const y = Di(b), O = {
4787
4787
  timer: y > 0 ? `${y} ${l}` : p,
@@ -4792,12 +4792,12 @@ function as(i, e, t) {
4792
4792
  })), y > 0) {
4793
4793
  const H = window.setInterval(
4794
4794
  () => {
4795
- const Z = Di(b);
4796
- Z <= 0 ? (Pe[L] && window.clearInterval(Pe[L]), Pe = Object.fromEntries(Object.entries(Pe).filter(([V]) => V !== L)), t(24, be = Ae(te({}, be), {
4795
+ const J = Di(b);
4796
+ J <= 0 ? (Pe[L] && window.clearInterval(Pe[L]), Pe = Object.fromEntries(Object.entries(Pe).filter(([V]) => V !== L)), t(24, be = Ae(te({}, be), {
4797
4797
  [L]: { timer: p, timerStopped: !0 }
4798
4798
  }))) : t(24, be = Ae(te({}, be), {
4799
4799
  [L]: {
4800
- timer: `${Z} ${l}`,
4800
+ timer: `${J} ${l}`,
4801
4801
  timerStopped: !1
4802
4802
  }
4803
4803
  }));
@@ -4813,7 +4813,7 @@ function as(i, e, t) {
4813
4813
  if (!(n != null && n.limits))
4814
4814
  return;
4815
4815
  const l = dn(n.limits), p = ni(v), { toRemove: L, toRestore: b } = pn(l, p, Object.keys(be));
4816
- Jo(L), Qo(b), t(9, R = R.map((y) => {
4816
+ Zo(L), Qo(b), t(9, R = R.map((y) => {
4817
4817
  const O = (y.product || "").toLowerCase(), H = (y.callValue16 || "").toLowerCase(), V = n.limits.filter((z) => {
4818
4818
  if (!z || !z.type)
4819
4819
  return !1;
@@ -4921,7 +4921,7 @@ function as(i, e, t) {
4921
4921
  }, oa = () => {
4922
4922
  if (Ie) {
4923
4923
  const n = Ie[oe[K].callValue].find((L) => L.period === Le), l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.amount);
4924
- let p = s("popupImmediateUpdate").replace("{selectedLimit}", Zt(n)).replace("{updatedAmount}", l).replace("{currency}", pt[n.currency] || n.currency).replace("{selectedPeriod}", s(`${Le}`));
4924
+ let p = s("popupImmediateUpdate").replace("{selectedLimit}", Jt(n)).replace("{updatedAmount}", l).replace("{currency}", pt[n.currency] || n.currency).replace("{selectedPeriod}", s(`${Le}`));
4925
4925
  t(17, Ce = n.isModified ? `${s("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${Ee})` : p);
4926
4926
  }
4927
4927
  t(31, Be = !0);
@@ -4949,7 +4949,7 @@ function as(i, e, t) {
4949
4949
  return;
4950
4950
  }
4951
4951
  const l = La(n) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.amount || 0), p = ((b = n.schedules) == null ? void 0 : b.length) > 0 ? `${new Date(n.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${Ee})` : "";
4952
- let L = s("popupImmediateUpdate").replace("{selectedLimit}", Zt(n)).replace("{updatedAmount}", l).replace("{selectedPeriod}", s(`${n.period}`));
4952
+ let L = s("popupImmediateUpdate").replace("{selectedLimit}", Jt(n)).replace("{updatedAmount}", l).replace("{selectedPeriod}", s(`${n.period}`));
4953
4953
  if (n.schedules.length > 0 && be[n.schedules[0].id]) {
4954
4954
  const O = Number(n.schedules[0].updateAmount) === 0;
4955
4955
  t(17, Ce = O ? s("popupLimitRemoved") : L);
@@ -5107,7 +5107,7 @@ function as(i, e, t) {
5107
5107
  });
5108
5108
  }, ga = (n) => {
5109
5109
  Pe[n.scheduleId] && window.clearInterval(Pe[n.scheduleId]);
5110
- const l = Ze[f].seconds, p = Ze[f].reloadLimitsButton;
5110
+ const l = Je[f].seconds, p = Je[f].reloadLimitsButton;
5111
5111
  let L = 60;
5112
5112
  t(24, be = Ae(te({}, be), {
5113
5113
  [n.scheduleId]: {
@@ -5135,7 +5135,7 @@ function as(i, e, t) {
5135
5135
  Pe = Ae(te({}, Pe), {
5136
5136
  [n.scheduleId]: b
5137
5137
  });
5138
- }, Zt = (n) => {
5138
+ }, Jt = (n) => {
5139
5139
  var V;
5140
5140
  if (!n)
5141
5141
  return s(K || "");
@@ -5145,12 +5145,12 @@ function as(i, e, t) {
5145
5145
  const H = s(p);
5146
5146
  if (H !== p)
5147
5147
  return H;
5148
- const Z = (I) => {
5148
+ const J = (I) => {
5149
5149
  const z = s(I);
5150
5150
  return (z !== I ? z : I.charAt(0).toUpperCase() + I.slice(1)).replace(X.LIMIT_SUFFIX_REGEX, "").trim();
5151
5151
  };
5152
5152
  if (L && L !== "" && L !== "all") {
5153
- const I = Z(p), z = Z(L);
5153
+ const I = J(p), z = J(L);
5154
5154
  return `${I} - ${z} Limit`;
5155
5155
  }
5156
5156
  return p.charAt(0).toUpperCase() + p.slice(1);
@@ -5161,18 +5161,18 @@ function as(i, e, t) {
5161
5161
  const b = L.match(X.DYNAMIC_DECIMALS_REGEX), y = P === "true" ? b ? parseInt(b[1], 10) : 2 : 0, O = b ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
5162
5162
  let H;
5163
5163
  p ? H = n.reviewPending.requestAmount || 0 : H = l ? n.updateAmount : n.amount;
5164
- let Z = P === "true" ? parseFloat(H).toFixed(y) : Math.round(parseFloat(H)).toString();
5164
+ let J = P === "true" ? parseFloat(H).toFixed(y) : Math.round(parseFloat(H)).toString();
5165
5165
  const [V, I] = fe.includes(".") ? [",", "."] : [".", ","];
5166
- let [z, D] = Z.includes(".") ? Z.split(".") : [Z, ""];
5166
+ let [z, D] = J.includes(".") ? J.split(".") : [J, ""];
5167
5167
  if (z = z.replace(/\B(?=(\d{3})+(?!\d))/g, V), L = L.replace("{currency}", pt[n.currency] || n.currency).replace("{amount}", z).replace(O, P === "true" && D ? D : ""), P === "true" || !D) {
5168
5168
  const se = I === "." ? "\\." : I, ee = new RegExp(`${se}(?=[\\s\\D]|$)`, "g");
5169
5169
  L = L.replace(ee, "").trim();
5170
5170
  }
5171
5171
  return L;
5172
- }, Jt = () => {
5172
+ }, Zt = () => {
5173
5173
  t(31, Be = t(30, ct = !1)), t(18, vt = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href), t(27, ye = !1);
5174
5174
  }, ha = () => {
5175
- window.postMessage({ type: "uploadDocuments" }, window.location.href), Jt();
5175
+ window.postMessage({ type: "uploadDocuments" }, window.location.href), Zt();
5176
5176
  }, _i = (n) => !n && !(n.length > 0) ? t(32, $e = !1) : (t(22, nt = n), cn(nt, re) ? fn(nt, Se) ? t(32, $e = !0) : (console.error(s("fileExtenssionDeny")), t(32, $e = !1)) : (console.error(s("fileSizeExceeded")), t(32, $e = !1))), ya = () => {
5177
5177
  if (!$e)
5178
5178
  return;
@@ -5215,7 +5215,7 @@ function as(i, e, t) {
5215
5215
  window.location.href
5216
5216
  ), console.error(s("errorUploadDocument"), p);
5217
5217
  }).finally(() => {
5218
- Jt(), t(22, nt = null), t(32, $e = !1);
5218
+ Zt(), t(22, nt = null), t(32, $e = !1);
5219
5219
  });
5220
5220
  }, ba = () => {
5221
5221
  let n = te({}, $t), l = "";
@@ -5250,7 +5250,7 @@ function as(i, e, t) {
5250
5250
  }
5251
5251
  }
5252
5252
  };
5253
- Za(() => (window.addEventListener("message", Si), st && R.length && Xt(), () => {
5253
+ Ja(() => (window.addEventListener("message", Si), st && R.length && Xt(), () => {
5254
5254
  window.removeEventListener("message", Si);
5255
5255
  }));
5256
5256
  const wa = (n) => _i(n.target.files), _a = (n) => n && n.value && a.some((l) => l && l.toLowerCase() === n.value.toLowerCase()) && !n.isHiddenByHierarchy, Sa = () => Gt(), Aa = (n) => vi(n.rawLimit), Ca = (n) => wi(n), Pa = (n) => ki(n);
@@ -5271,7 +5271,7 @@ function as(i, e, t) {
5271
5271
  $ = vo(this.value), t(20, $);
5272
5272
  }
5273
5273
  function ja(n) {
5274
- Ja[n ? "unshift" : "push"](() => {
5274
+ Za[n ? "unshift" : "push"](() => {
5275
5275
  W = n, t(8, W);
5276
5276
  });
5277
5277
  }
@@ -5384,8 +5384,8 @@ function as(i, e, t) {
5384
5384
  vi,
5385
5385
  ki,
5386
5386
  wi,
5387
- Zt,
5388
5387
  Jt,
5388
+ Zt,
5389
5389
  ha,
5390
5390
  _i,
5391
5391
  ya,
@@ -5483,187 +5483,187 @@ class ns extends Fa {
5483
5483
  return this.$$.ctx[0];
5484
5484
  }
5485
5485
  set lang(e) {
5486
- this.$$set({ lang: e }), J();
5486
+ this.$$set({ lang: e }), Z();
5487
5487
  }
5488
5488
  get currency() {
5489
5489
  return this.$$.ctx[1];
5490
5490
  }
5491
5491
  set currency(e) {
5492
- this.$$set({ currency: e }), J();
5492
+ this.$$set({ currency: e }), Z();
5493
5493
  }
5494
5494
  get limits() {
5495
5495
  return this.$$.ctx[60];
5496
5496
  }
5497
5497
  set limits(e) {
5498
- this.$$set({ limits: e }), J();
5498
+ this.$$set({ limits: e }), Z();
5499
5499
  }
5500
5500
  get session() {
5501
5501
  return this.$$.ctx[61];
5502
5502
  }
5503
5503
  set session(e) {
5504
- this.$$set({ session: e }), J();
5504
+ this.$$set({ session: e }), Z();
5505
5505
  }
5506
5506
  get userid() {
5507
5507
  return this.$$.ctx[62];
5508
5508
  }
5509
5509
  set userid(e) {
5510
- this.$$set({ userid: e }), J();
5510
+ this.$$set({ userid: e }), Z();
5511
5511
  }
5512
5512
  get endpoint() {
5513
5513
  return this.$$.ctx[63];
5514
5514
  }
5515
5515
  set endpoint(e) {
5516
- this.$$set({ endpoint: e }), J();
5516
+ this.$$set({ endpoint: e }), Z();
5517
5517
  }
5518
5518
  get apiversion() {
5519
5519
  return this.$$.ctx[64];
5520
5520
  }
5521
5521
  set apiversion(e) {
5522
- this.$$set({ apiversion: e }), J();
5522
+ this.$$set({ apiversion: e }), Z();
5523
5523
  }
5524
5524
  get companylimits() {
5525
5525
  return this.$$.ctx[65];
5526
5526
  }
5527
5527
  set companylimits(e) {
5528
- this.$$set({ companylimits: e }), J();
5528
+ this.$$set({ companylimits: e }), Z();
5529
5529
  }
5530
5530
  get tablabels() {
5531
5531
  return this.$$.ctx[66];
5532
5532
  }
5533
5533
  set tablabels(e) {
5534
- this.$$set({ tablabels: e }), J();
5534
+ this.$$set({ tablabels: e }), Z();
5535
5535
  }
5536
5536
  get showcompanylimitsinfo() {
5537
5537
  return this.$$.ctx[67];
5538
5538
  }
5539
5539
  set showcompanylimitsinfo(e) {
5540
- this.$$set({ showcompanylimitsinfo: e }), J();
5540
+ this.$$set({ showcompanylimitsinfo: e }), Z();
5541
5541
  }
5542
5542
  get customcurrencysymbols() {
5543
5543
  return this.$$.ctx[68];
5544
5544
  }
5545
5545
  set customcurrencysymbols(e) {
5546
- this.$$set({ customcurrencysymbols: e }), J();
5546
+ this.$$set({ customcurrencysymbols: e }), Z();
5547
5547
  }
5548
5548
  get netdepositprogress() {
5549
5549
  return this.$$.ctx[69];
5550
5550
  }
5551
5551
  set netdepositprogress(e) {
5552
- this.$$set({ netdepositprogress: e }), J();
5552
+ this.$$set({ netdepositprogress: e }), Z();
5553
5553
  }
5554
5554
  get enablecompliancetext() {
5555
5555
  return this.$$.ctx[2];
5556
5556
  }
5557
5557
  set enablecompliancetext(e) {
5558
- this.$$set({ enablecompliancetext: e }), J();
5558
+ this.$$set({ enablecompliancetext: e }), Z();
5559
5559
  }
5560
5560
  get deletelimit() {
5561
5561
  return this.$$.ctx[3];
5562
5562
  }
5563
5563
  set deletelimit(e) {
5564
- this.$$set({ deletelimit: e }), J();
5564
+ this.$$set({ deletelimit: e }), Z();
5565
5565
  }
5566
5566
  get amountsconfig() {
5567
5567
  return this.$$.ctx[70];
5568
5568
  }
5569
5569
  set amountsconfig(e) {
5570
- this.$$set({ amountsconfig: e }), J();
5570
+ this.$$set({ amountsconfig: e }), Z();
5571
5571
  }
5572
5572
  get periodsconfig() {
5573
5573
  return this.$$.ctx[71];
5574
5574
  }
5575
5575
  set periodsconfig(e) {
5576
- this.$$set({ periodsconfig: e }), J();
5576
+ this.$$set({ periodsconfig: e }), Z();
5577
5577
  }
5578
5578
  get defaultperiod() {
5579
5579
  return this.$$.ctx[72];
5580
5580
  }
5581
5581
  set defaultperiod(e) {
5582
- this.$$set({ defaultperiod: e }), J();
5582
+ this.$$set({ defaultperiod: e }), Z();
5583
5583
  }
5584
5584
  get limittabindex() {
5585
5585
  return this.$$.ctx[4];
5586
5586
  }
5587
5587
  set limittabindex(e) {
5588
- this.$$set({ limittabindex: e }), J();
5588
+ this.$$set({ limittabindex: e }), Z();
5589
5589
  }
5590
5590
  get tabcategory() {
5591
5591
  return this.$$.ctx[73];
5592
5592
  }
5593
5593
  set tabcategory(e) {
5594
- this.$$set({ tabcategory: e }), J();
5594
+ this.$$set({ tabcategory: e }), Z();
5595
5595
  }
5596
5596
  get limitformat() {
5597
5597
  return this.$$.ctx[74];
5598
5598
  }
5599
5599
  set limitformat(e) {
5600
- this.$$set({ limitformat: e }), J();
5600
+ this.$$set({ limitformat: e }), Z();
5601
5601
  }
5602
5602
  get allowedextenssion() {
5603
5603
  return this.$$.ctx[75];
5604
5604
  }
5605
5605
  set allowedextenssion(e) {
5606
- this.$$set({ allowedextenssion: e }), J();
5606
+ this.$$set({ allowedextenssion: e }), Z();
5607
5607
  }
5608
5608
  get filesizeallow() {
5609
5609
  return this.$$.ctx[76];
5610
5610
  }
5611
5611
  set filesizeallow(e) {
5612
- this.$$set({ filesizeallow: e }), J();
5612
+ this.$$set({ filesizeallow: e }), Z();
5613
5613
  }
5614
5614
  get clientstyling() {
5615
5615
  return this.$$.ctx[77];
5616
5616
  }
5617
5617
  set clientstyling(e) {
5618
- this.$$set({ clientstyling: e }), J();
5618
+ this.$$set({ clientstyling: e }), Z();
5619
5619
  }
5620
5620
  get clientstylingurl() {
5621
5621
  return this.$$.ctx[78];
5622
5622
  }
5623
5623
  set clientstylingurl(e) {
5624
- this.$$set({ clientstylingurl: e }), J();
5624
+ this.$$set({ clientstylingurl: e }), Z();
5625
5625
  }
5626
5626
  get translationurl() {
5627
5627
  return this.$$.ctx[79];
5628
5628
  }
5629
5629
  set translationurl(e) {
5630
- this.$$set({ translationurl: e }), J();
5630
+ this.$$set({ translationurl: e }), Z();
5631
5631
  }
5632
5632
  get mbsource() {
5633
5633
  return this.$$.ctx[80];
5634
5634
  }
5635
5635
  set mbsource(e) {
5636
- this.$$set({ mbsource: e }), J();
5636
+ this.$$set({ mbsource: e }), Z();
5637
5637
  }
5638
5638
  get timezone() {
5639
5639
  return this.$$.ctx[81];
5640
5640
  }
5641
5641
  set timezone(e) {
5642
- this.$$set({ timezone: e }), J();
5642
+ this.$$set({ timezone: e }), Z();
5643
5643
  }
5644
5644
  get isLimitNotification() {
5645
5645
  return this.$$.ctx[5];
5646
5646
  }
5647
5647
  set isLimitNotification(e) {
5648
- this.$$set({ isLimitNotification: e }), J();
5648
+ this.$$set({ isLimitNotification: e }), Z();
5649
5649
  }
5650
5650
  get cooloffstrictmode() {
5651
5651
  return this.$$.ctx[82];
5652
5652
  }
5653
5653
  set cooloffstrictmode(e) {
5654
- this.$$set({ cooloffstrictmode: e }), J();
5654
+ this.$$set({ cooloffstrictmode: e }), Z();
5655
5655
  }
5656
5656
  get inputhasdecimals() {
5657
5657
  return this.$$.ctx[6];
5658
5658
  }
5659
5659
  set inputhasdecimals(e) {
5660
- this.$$set({ inputhasdecimals: e }), J();
5660
+ this.$$set({ inputhasdecimals: e }), Z();
5661
5661
  }
5662
5662
  get usecustomdropdown() {
5663
5663
  return this.$$.ctx[7];
5664
5664
  }
5665
5665
  set usecustomdropdown(e) {
5666
- this.$$set({ usecustomdropdown: e }), J();
5666
+ this.$$set({ usecustomdropdown: e }), Z();
5667
5667
  }
5668
5668
  }
5669
5669
  an(ns, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, apiversion: {}, companylimits: {}, tablabels: {}, showcompanylimitsinfo: {}, customcurrencysymbols: {}, netdepositprogress: {}, enablecompliancetext: {}, deletelimit: {}, amountsconfig: {}, periodsconfig: {}, defaultperiod: {}, limittabindex: {}, tabcategory: {}, limitformat: {}, allowedextenssion: {}, filesizeallow: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, timezone: {}, isLimitNotification: {}, cooloffstrictmode: {}, inputhasdecimals: {}, usecustomdropdown: {} }, ["LimitSkeleton", "LimitsList", "LimitSubmitButton"], [], !0);