@everymatrix/player-account-controller 1.47.2 → 1.47.3

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.
@@ -1,16 +1,16 @@
1
1
  var ni = Object.defineProperty;
2
- var Be = Object.getOwnPropertySymbols;
2
+ var Re = Object.getOwnPropertySymbols;
3
3
  var si = Object.prototype.hasOwnProperty, ri = Object.prototype.propertyIsEnumerable;
4
- var Re = (i, e, t) => e in i ? ni(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, we = (i, e) => {
4
+ var Be = (i, e, t) => e in i ? ni(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, we = (i, e) => {
5
5
  for (var t in e || (e = {}))
6
- si.call(e, t) && Re(i, t, e[t]);
7
- if (Be)
8
- for (var t of Be(e))
9
- ri.call(e, t) && Re(i, t, e[t]);
6
+ si.call(e, t) && Be(i, t, e[t]);
7
+ if (Re)
8
+ for (var t of Re(e))
9
+ ri.call(e, t) && Be(i, t, e[t]);
10
10
  return i;
11
11
  };
12
- import { a as li, $ as mi, S as ui, i as pi, f as H, c as di, s as ci, b as Li, e as _, d as U, g as L, l as p, k as P, o as le, p as E, q as gi, T as fi, V as yi, M as qe, N as rt, x as Ke, t as I, B as lt, m as ee, n as N, K as ue, O as ke, L as Se, r as Me, P as mt, Q as _e, y as hi, w as x, W as ve } from "./GeneralLogout-DI0_2Ld2.js";
13
- const z = {
12
+ import { a as li, $ as mi, S as ui, i as pi, f as H, c as di, s as ci, b as Li, e as _, d as U, g as L, l as p, k as P, o as le, p as E, q as gi, T as fi, V as yi, M as qe, N as rt, x as Ke, t as I, B as lt, m as ee, n as N, K as ue, O as ke, L as Se, r as Me, P as mt, Q as _e, y as hi, w as z, W as ve } from "./GeneralLogout-DI0_2Ld2.js";
13
+ const x = {
14
14
  lugas: {
15
15
  title: "Deposit Limit",
16
16
  value: "lugas",
@@ -1039,14 +1039,14 @@ function wi(i) {
1039
1039
  h[23] == 2 ? Pi : Mi
1040
1040
  );
1041
1041
  }
1042
- let T = te(i), b = T(i);
1042
+ let T = te(i), k = T(i);
1043
1043
  return {
1044
1044
  c() {
1045
- e = _("div"), t = _("span"), n = I(a), s = U(), r = _("button"), r.textContent = "X", d = U(), f = _("div"), u = _("div"), O.c(), c = U(), X.c(), y = U(), M = _("p"), v = U(), b.c(), S = lt(), L(t, "class", "PopupTitle"), L(r, "class", "ClosePopup"), L(e, "class", "PopupTitleWrapper"), L(u, "class", "ResultIconWrapper"), L(M, "class", "DescriptionParagraph"), L(f, "class", "DescriptionWrapper");
1045
+ e = _("div"), t = _("span"), n = I(a), s = U(), r = _("button"), r.textContent = "X", d = U(), f = _("div"), u = _("div"), O.c(), c = U(), X.c(), y = U(), M = _("p"), v = U(), k.c(), S = lt(), L(t, "class", "PopupTitle"), L(r, "class", "ClosePopup"), L(e, "class", "PopupTitleWrapper"), L(u, "class", "ResultIconWrapper"), L(M, "class", "DescriptionParagraph"), L(f, "class", "DescriptionWrapper");
1046
1046
  },
1047
1047
  m(h, j) {
1048
1048
  P(h, e, j), p(e, t), p(t, n), p(e, s), p(e, r), P(h, d, j), P(h, f, j), p(f, u), O.m(u, null), p(u, c), X.m(u, null), p(f, y), p(f, M), M.innerHTML = /*popupContent*/
1049
- i[21], P(h, v, j), b.m(h, j), P(h, S, j), A || (F = ee(
1049
+ i[21], P(h, v, j), k.m(h, j), P(h, S, j), A || (F = ee(
1050
1050
  r,
1051
1051
  "click",
1052
1052
  /*closePopup*/
@@ -1058,10 +1058,10 @@ function wi(i) {
1058
1058
  33554432 && a !== (a = /*$_*/
1059
1059
  h[25]("popupTitle") + "") && N(n, a), K !== (K = V(h)) && (O.d(1), O = K(h), O && (O.c(), O.m(u, c))), q === (q = Y(h)) && X ? X.p(h, j) : (X.d(1), X = q(h), X && (X.c(), X.m(u, null))), j[0] & /*popupContent*/
1060
1060
  2097152 && (M.innerHTML = /*popupContent*/
1061
- h[21]), T === (T = te(h)) && b ? b.p(h, j) : (b.d(1), b = T(h), b && (b.c(), b.m(S.parentNode, S)));
1061
+ h[21]), T === (T = te(h)) && k ? k.p(h, j) : (k.d(1), k = T(h), k && (k.c(), k.m(S.parentNode, S)));
1062
1062
  },
1063
1063
  d(h) {
1064
- h && (E(e), E(d), E(f), E(v), E(S)), O.d(), X.d(), b.d(h), A = !1, F();
1064
+ h && (E(e), E(d), E(f), E(v), E(S)), O.d(), X.d(), k.d(h), A = !1, F();
1065
1065
  }
1066
1066
  };
1067
1067
  }
@@ -1084,8 +1084,8 @@ function Si(i) {
1084
1084
  let e, t, a, n, s, r;
1085
1085
  return {
1086
1086
  c() {
1087
- e = x("svg"), t = x("defs"), a = x("style"), n = I(`.fil0 {fill:black;fill-rule:nonzero}
1088
- `), s = x("g"), r = x("polygon"), L(a, "type", "text/css"), L(r, "class", "fil0"), L(r, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), L(e, "xmlns", "http://www.w3.org/2000/svg"), L(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), L(e, "xml:space", "preserve"), L(e, "version", "1.1"), ve(e, "shape-rendering", "geometricPrecision"), ve(e, "text-rendering", "geometricPrecision"), ve(e, "image-rendering", "optimizeQuality"), L(e, "viewBox", "0 0 90 69"), L(e, "x", "0px"), L(e, "y", "0px"), L(e, "fill-rule", "evenodd"), L(e, "clip-rule", "evenodd");
1087
+ e = z("svg"), t = z("defs"), a = z("style"), n = I(`.fil0 {fill:black;fill-rule:nonzero}
1088
+ `), s = z("g"), r = z("polygon"), L(a, "type", "text/css"), L(r, "class", "fil0"), L(r, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), L(e, "xmlns", "http://www.w3.org/2000/svg"), L(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), L(e, "xml:space", "preserve"), L(e, "version", "1.1"), ve(e, "shape-rendering", "geometricPrecision"), ve(e, "text-rendering", "geometricPrecision"), ve(e, "image-rendering", "optimizeQuality"), L(e, "viewBox", "0 0 90 69"), L(e, "x", "0px"), L(e, "y", "0px"), L(e, "fill-rule", "evenodd"), L(e, "clip-rule", "evenodd");
1089
1089
  },
1090
1090
  m(d, f) {
1091
1091
  P(d, e, f), p(e, t), p(t, a), p(a, n), p(e, s), p(s, r);
@@ -1099,7 +1099,7 @@ function Di(i) {
1099
1099
  let e, t, a;
1100
1100
  return {
1101
1101
  c() {
1102
- e = x("svg"), t = x("g"), a = x("path"), L(a, "id", "XMLID_6_"), L(a, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
1102
+ e = z("svg"), t = z("g"), a = z("path"), L(a, "id", "XMLID_6_"), L(a, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
1103
1103
  c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
1104
1104
  c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
1105
1105
  h256.5v-82.1H429v366.5H429.9z`), L(t, "id", "XMLID_1_"), L(e, "version", "1.1"), L(e, "id", "Layer_1"), L(e, "xmlns", "http://www.w3.org/2000/svg"), L(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), L(e, "x", "0px"), L(e, "y", "0px"), L(e, "viewBox", "0 0 512 512"), ve(e, "enable-background", "new 0 0 512 512"), L(e, "xml:space", "preserve");
@@ -1116,7 +1116,7 @@ function Ti(i) {
1116
1116
  let e, t, a, n, s, r, d, f, u, c, y, M, v, S, A, F, V, K, O;
1117
1117
  return {
1118
1118
  c() {
1119
- e = x("svg"), t = x("g"), a = x("path"), n = x("path"), s = x("g"), r = x("g"), d = x("g"), f = x("g"), u = x("g"), c = x("g"), y = x("g"), M = x("g"), v = x("g"), S = x("g"), A = x("g"), F = x("g"), V = x("g"), K = x("g"), O = x("g"), L(a, "d", `M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26
1119
+ e = z("svg"), t = z("g"), a = z("path"), n = z("path"), s = z("g"), r = z("g"), d = z("g"), f = z("g"), u = z("g"), c = z("g"), y = z("g"), M = z("g"), v = z("g"), S = z("g"), A = z("g"), F = z("g"), V = z("g"), K = z("g"), O = z("g"), L(a, "d", `M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26
1120
1120
  S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), L(n, "d", `M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
1121
1121
  s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
1122
1122
  s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
@@ -1277,9 +1277,9 @@ function xi(i) {
1277
1277
  /*availableLimits*/
1278
1278
  i[6]
1279
1279
  ), T = [];
1280
- for (let k = 0; k < te.length; k += 1)
1281
- T[k] = et(Xe(i, te, k));
1282
- let b = (
1280
+ for (let b = 0; b < te.length; b += 1)
1281
+ T[b] = et(Xe(i, te, b));
1282
+ let k = (
1283
1283
  /*enablecompliancetext*/
1284
1284
  i[1] === "true" && tt(i)
1285
1285
  ), h = (
@@ -1295,18 +1295,18 @@ function xi(i) {
1295
1295
  return {
1296
1296
  c() {
1297
1297
  e = _("div"), t = _("div"), a = _("div");
1298
- for (let k = 0; k < T.length; k += 1)
1299
- T[k].c();
1300
- n = U(), s = _("form"), b && b.c(), r = U(), h && h.c(), d = U(), j && j.c(), f = U(), u = _("label"), c = _("span"), M = I(y), v = U(), S = _("input"), A = U(), W && W.c(), F = U(), V = _("button"), O = I(K), L(a, "class", "LimitsList " + /*isDesktop*/
1298
+ for (let b = 0; b < T.length; b += 1)
1299
+ T[b].c();
1300
+ n = U(), s = _("form"), k && k.c(), r = U(), h && h.c(), d = U(), j && j.c(), f = U(), u = _("label"), c = _("span"), M = I(y), v = U(), S = _("input"), A = U(), W && W.c(), F = U(), V = _("button"), O = I(K), L(a, "class", "LimitsList " + /*isDesktop*/
1301
1301
  (i[26] ? "Desktop" : "")), L(c, "class", "LimitInputText"), L(S, "type", "number"), L(S, "pattern", "[0-9]*"), L(u, "class", "LimitAmountInputWrapper"), L(V, "class", "LimitSubmitButton"), L(V, "type", "button"), V.disabled = !0, L(s, "class", "LimitsInteractionArea " + /*isDesktop*/
1302
1302
  (i[26] ? "Desktop" : "")), L(t, "class", "LimitsPageContainer"), L(e, "class", Y = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
1303
1303
  i[3]));
1304
1304
  },
1305
- m(k, R) {
1306
- P(k, e, R), p(e, t), p(t, a);
1305
+ m(b, B) {
1306
+ P(b, e, B), p(e, t), p(t, a);
1307
1307
  for (let C = 0; C < T.length; C += 1)
1308
1308
  T[C] && T[C].m(a, null);
1309
- p(t, n), p(t, s), b && b.m(s, null), p(s, r), h && h.m(s, null), p(s, d), j && j.m(s, null), p(s, f), p(s, u), p(u, c), p(c, M), p(u, v), p(u, S), ke(
1309
+ p(t, n), p(t, s), k && k.m(s, null), p(s, r), h && h.m(s, null), p(s, d), j && j.m(s, null), p(s, f), p(s, u), p(u, c), p(c, M), p(u, v), p(u, S), ke(
1310
1310
  S,
1311
1311
  /*inputAmount*/
1312
1312
  i[10]
@@ -1343,46 +1343,46 @@ function xi(i) {
1343
1343
  )
1344
1344
  ], q = !0);
1345
1345
  },
1346
- p(k, R) {
1347
- if (R[0] & /*isDesktop, $_, availableLimits, deletelimit*/
1348
- 100663364 | R[1] & /*removeLimitSwitch, getFormatedAmount, determineLimitName*/
1346
+ p(b, B) {
1347
+ if (B[0] & /*isDesktop, $_, availableLimits, deletelimit*/
1348
+ 100663364 | B[1] & /*removeLimitSwitch, getFormatedAmount, determineLimitName*/
1349
1349
  14) {
1350
1350
  te = ue(
1351
1351
  /*availableLimits*/
1352
- k[6]
1352
+ b[6]
1353
1353
  );
1354
1354
  let C;
1355
1355
  for (C = 0; C < te.length; C += 1) {
1356
- const ne = Xe(k, te, C);
1357
- T[C] ? T[C].p(ne, R) : (T[C] = et(ne), T[C].c(), T[C].m(a, null));
1356
+ const ne = Xe(b, te, C);
1357
+ T[C] ? T[C].p(ne, B) : (T[C] = et(ne), T[C].c(), T[C].m(a, null));
1358
1358
  }
1359
1359
  for (; C < T.length; C += 1)
1360
1360
  T[C].d(1);
1361
1361
  T.length = te.length;
1362
1362
  }
1363
1363
  /*enablecompliancetext*/
1364
- k[1] === "true" ? b ? b.p(k, R) : (b = tt(k), b.c(), b.m(s, r)) : b && (b.d(1), b = null), /*multipleLimits*/
1365
- k[14] ? h ? h.p(k, R) : (h = it(k), h.c(), h.m(s, d)) : h && (h.d(1), h = null), /*multiplePeriods*/
1366
- k[15] ? j ? j.p(k, R) : (j = ot(k), j.c(), j.m(s, f)) : j && (j.d(1), j = null), R[0] & /*multiplePeriods, $_, selectedPeriod*/
1364
+ b[1] === "true" ? k ? k.p(b, B) : (k = tt(b), k.c(), k.m(s, r)) : k && (k.d(1), k = null), /*multipleLimits*/
1365
+ b[14] ? h ? h.p(b, B) : (h = it(b), h.c(), h.m(s, d)) : h && (h.d(1), h = null), /*multiplePeriods*/
1366
+ b[15] ? j ? j.p(b, B) : (j = ot(b), j.c(), j.m(s, f)) : j && (j.d(1), j = null), B[0] & /*multiplePeriods, $_, selectedPeriod*/
1367
1367
  33587456 && y !== (y = /*multiplePeriods*/
1368
- k[15] ? `${/*$_*/
1369
- k[25]("amount")}` : `${/*$_*/
1370
- k[25](`new${/*selectedPeriod*/
1371
- k[8]}Limit`)}`) && N(M, y), R[0] & /*inputAmount*/
1368
+ b[15] ? `${/*$_*/
1369
+ b[25]("amount")}` : `${/*$_*/
1370
+ b[25](`new${/*selectedPeriod*/
1371
+ b[8]}Limit`)}`) && N(M, y), B[0] & /*inputAmount*/
1372
1372
  1024 && rt(S.value) !== /*inputAmount*/
1373
- k[10] && ke(
1373
+ b[10] && ke(
1374
1374
  S,
1375
1375
  /*inputAmount*/
1376
- k[10]
1376
+ b[10]
1377
1377
  ), /*invalidInput*/
1378
- k[24] ? W ? W.p(k, R) : (W = st(k), W.c(), W.m(u, null)) : W && (W.d(1), W = null), R[0] & /*$_*/
1378
+ b[24] ? W ? W.p(b, B) : (W = st(b), W.c(), W.m(u, null)) : W && (W.d(1), W = null), B[0] & /*$_*/
1379
1379
  33554432 && K !== (K = /*$_*/
1380
- k[25]("setLimit") + "") && N(O, K), R[0] & /*limittabindex*/
1380
+ b[25]("setLimit") + "") && N(O, K), B[0] & /*limittabindex*/
1381
1381
  8 && Y !== (Y = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
1382
- k[3])) && L(e, "class", Y);
1382
+ b[3])) && L(e, "class", Y);
1383
1383
  },
1384
- d(k) {
1385
- k && E(e), Se(T, k), b && b.d(), h && h.d(), j && j.d(), W && W.d(), i[56](null), q = !1, Me(X);
1384
+ d(b) {
1385
+ b && E(e), Se(T, b), k && k.d(), h && h.d(), j && j.d(), W && W.d(), i[56](null), q = !1, Me(X);
1386
1386
  }
1387
1387
  };
1388
1388
  }
@@ -2030,7 +2030,7 @@ function st(i) {
2030
2030
  }
2031
2031
  };
2032
2032
  }
2033
- function Bi(i) {
2033
+ function Ri(i) {
2034
2034
  let e, t, a, n, s = (
2035
2035
  /*popupVisible*/
2036
2036
  i[19] && Qe(i)
@@ -2067,10 +2067,10 @@ function Bi(i) {
2067
2067
  }
2068
2068
  };
2069
2069
  }
2070
- function Ri(i, e, t) {
2070
+ function Bi(i, e, t) {
2071
2071
  let a;
2072
2072
  gi(i, hi, (o) => t(25, a = o));
2073
- let { lang: n = "en" } = e, { currency: s = "" } = e, { limits: r = "" } = e, { session: d = "" } = e, { userid: f = "" } = e, { endpoint: u = "" } = e, { apiversion: c = "" } = e, { customcurrencysymbols: y = "" } = e, { enablecompliancetext: M = "" } = e, { deletelimit: v = "" } = e, { amountsconfig: S = "" } = e, { periodsconfig: A = "" } = e, { limittabindex: F = "" } = e, { limitformat: V = "" } = e, { clientstyling: K = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: Y = "" } = e, q, X = window.navigator.userAgent, te = !fi(X), T = [], b = "", h = "", j = "", W = 0, k, R, C = "", ne = "", be = "", ae = {}, Pe = !1, De = !1, Z = !0, Q = !1, Te = !1, pe = !1, oe = !1, J = "", ce = "", G = [], Le, xe, ge = !1, ut = {}, je = !1, ze = "", de = { EUR: "€", RON: " lei", USD: "$" };
2073
+ let { lang: n = "en" } = e, { currency: s = "" } = e, { limits: r = "" } = e, { session: d = "" } = e, { userid: f = "" } = e, { endpoint: u = "" } = e, { apiversion: c = "" } = e, { customcurrencysymbols: y = "" } = e, { enablecompliancetext: M = "" } = e, { deletelimit: v = "" } = e, { amountsconfig: S = "" } = e, { periodsconfig: A = "" } = e, { limittabindex: F = "" } = e, { limitformat: V = "" } = e, { clientstyling: K = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: Y = "" } = e, q, X = window.navigator.userAgent, te = !fi(X), T = [], k = "", h = "", j = "", W = 0, b, B, C = "", ne = "", be = "", ae = {}, Pe = !1, De = !1, Z = !0, Q = !1, Te = !1, pe = !1, oe = !1, J = "", ce = "", G = [], Le, xe, ge = !1, ut = {}, je = !1, ze = "", de = { EUR: "€", RON: " lei", USD: "$" };
2074
2074
  const Ce = {
2075
2075
  wager: "wagering",
2076
2076
  loss: "loss",
@@ -2096,9 +2096,9 @@ function Ri(i, e, t) {
2096
2096
  typeof gtag == "function" && gtag({
2097
2097
  event: o,
2098
2098
  limit_category: he[n][Ae(j.toLowerCase())] || j,
2099
- limit_type: he[n][Ae(b.toLowerCase())] || b,
2099
+ limit_type: he[n][Ae(k.toLowerCase())] || k,
2100
2100
  limit_period: he[n][Ae(h.toLowerCase())] || h,
2101
- limit_amount: k || l
2101
+ limit_amount: b || l
2102
2102
  });
2103
2103
  }, dt = () => {
2104
2104
  var w;
@@ -2107,22 +2107,22 @@ function Ri(i, e, t) {
2107
2107
  if (D[0] !== l[g][0])
2108
2108
  throw new Error(`Limit config mismatch: "${D[0]}" does not match "${l[g][0]}"`);
2109
2109
  const m = o.reduce(
2110
- (g, D, B) => {
2111
- const re = D[0].slice(D[0].indexOf("(") + 1, D[0].indexOf(")")), ti = D[0].slice(0, D[0].indexOf("(")), ii = D[1], ai = l[B][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), oi = {
2110
+ (g, D, R) => {
2111
+ const re = D[0].slice(D[0].indexOf("(") + 1, D[0].indexOf(")")), ti = D[0].slice(0, D[0].indexOf("(")), ii = D[1], ai = l[R][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), oi = {
2112
2112
  value: re,
2113
2113
  product: ti,
2114
2114
  minMax: ii,
2115
2115
  periods: ai,
2116
- callValue: z[re].callValue,
2117
- callValue16: z[re].callValue16,
2118
- title: z[re].title
2116
+ callValue: x[re].callValue,
2117
+ callValue16: x[re].callValue16,
2118
+ title: x[re].title
2119
2119
  };
2120
2120
  return g.push(oi), g;
2121
2121
  },
2122
2122
  []
2123
2123
  );
2124
2124
  for (let g = 0; g < m.length; g++)
2125
- t(6, T[g].product = m[g].product, T), t(6, T[g].min = parseInt(m[g].minMax.split("-")[0], 10), T), t(6, T[g].max = parseInt(m[g].minMax.split("-")[1], 10), T), t(5, z[m[g].value].periods = m[g].periods, z);
2125
+ t(6, T[g].product = m[g].product, T), t(6, T[g].min = parseInt(m[g].minMax.split("-")[0], 10), T), t(6, T[g].max = parseInt(m[g].minMax.split("-")[1], 10), T), t(5, x[m[g].value].periods = m[g].periods, x);
2126
2126
  be = (w = T[0]) == null ? void 0 : w.value, T.forEach((g) => {
2127
2127
  ae[g.value] = { min: g.min, max: g.max }, ut[g.value] = g.product;
2128
2128
  }), ae && (ae[be] ? (t(12, C = ae[be].min), t(13, ne = ae[be].max)) : (t(12, C = 1), t(13, ne = 9999999)));
@@ -2131,10 +2131,10 @@ function Ri(i, e, t) {
2131
2131
  return [...S.matchAll(o)].flat().filter((m) => !m.includes("("));
2132
2132
  }, Lt = () => {
2133
2133
  ct().forEach((l) => {
2134
- z[l] ? T.push(we({}, z[l])) : console.error(`Unknown limit: ${l}`);
2135
- }), dt(), t(7, b = T[0].value), t(8, h = z[b].periods[0]), j = T[0].product, t(14, Pe = T.length > 1), t(15, De = z[b].periods.length > 1);
2134
+ x[l] ? T.push(we({}, x[l])) : console.error(`Unknown limit: ${l}`);
2135
+ }), dt(), t(7, k = T[0].value), t(8, h = x[k].periods[0]), j = T[0].product, t(14, Pe = T.length > 1), t(15, De = x[k].periods.length > 1);
2136
2136
  }, Ue = () => {
2137
- t(7, b = T[W].value), t(8, h = z[b].periods[0]), t(15, De = z[b].periods.length > 1);
2137
+ t(7, k = T[W].value), t(8, h = x[k].periods[0]), t(15, De = x[k].periods.length > 1);
2138
2138
  }, Ne = () => {
2139
2139
  j = T[W].product;
2140
2140
  }, ie = (o) => {
@@ -2156,21 +2156,21 @@ function Ri(i, e, t) {
2156
2156
  l && ye(l), t(17, Q = !1), t(16, Z = !1);
2157
2157
  }), new Error("An error occured during the fetch request");
2158
2158
  }, ft = () => {
2159
- if (!(k > 0)) return;
2159
+ if (!(b > 0)) return;
2160
2160
  me(), t(16, Z = !0);
2161
2161
  let o = new URL(`/v2/player/${f}/limits`, u), l = {};
2162
- b === "sessionLimit" ? l = {
2163
- sessionLimit: k,
2162
+ k === "sessionLimit" ? l = {
2163
+ sessionLimit: b,
2164
2164
  sessionLimitUnit: "minute"
2165
- } : b === "cumulativeSession" ? l[z[b].callValue] = [
2165
+ } : k === "cumulativeSession" ? l[x[k].callValue] = [
2166
2166
  {
2167
2167
  period: h,
2168
- minutes: k
2168
+ minutes: b
2169
2169
  }
2170
- ] : l[z[b].callValue] = [
2170
+ ] : l[x[k].callValue] = [
2171
2171
  {
2172
- period: z[b].periods[0] === "None" ? null : h,
2173
- amount: k,
2172
+ period: x[k].periods[0] === "None" ? null : h,
2173
+ amount: b,
2174
2174
  currency: s
2175
2175
  }
2176
2176
  ];
@@ -2189,16 +2189,16 @@ function Ri(i, e, t) {
2189
2189
  console.error(w), t(17, Q = !0);
2190
2190
  });
2191
2191
  }, yt = () => {
2192
- if (k <= 0) return;
2192
+ if (b <= 0) return;
2193
2193
  me(), t(16, Z = !0);
2194
- const l = T[W].currentLimits.filter((B) => B.period === h)[0], m = new URL(`/v1/player/${f}/limits/monetary/${l ? l.id : ""}`, u), w = l ? "PUT" : "POST", g = l ? { amount: k, skipCoolOff: !1 } : {
2195
- amount: k,
2194
+ const l = T[W].currentLimits.filter((R) => R.period === h)[0], m = new URL(`/v1/player/${f}/limits/monetary/${l ? l.id : ""}`, u), w = l ? "PUT" : "POST", g = l ? { amount: b, skipCoolOff: !1 } : {
2195
+ amount: b,
2196
2196
  currency: s,
2197
2197
  // certain limits have a "None" period which corresponds to one day from a functionality PoV, but is differentiated in the API from "Daily" and need to be sent as null when POSTed
2198
- period: z[b].periods[0] === "None" ? null : h,
2199
- type: z[b].callValue16,
2198
+ period: x[k].periods[0] === "None" ? null : h,
2199
+ type: x[k].callValue16,
2200
2200
  products: [j != null ? j : "All"],
2201
- walletTypes: ["All"]
2201
+ walletTypes: x[k].callValue16 === "Deposit" ? ["All"] : ["RealCash"]
2202
2202
  };
2203
2203
  let D = {
2204
2204
  method: w,
@@ -2209,13 +2209,13 @@ function Ri(i, e, t) {
2209
2209
  },
2210
2210
  body: JSON.stringify(g)
2211
2211
  };
2212
- fetch(m.href, D).then((B) => ie(B)).then((B) => {
2212
+ fetch(m.href, D).then((R) => ie(R)).then((R) => {
2213
2213
  $("self_limitation_success"), se();
2214
- }).catch((B) => {
2215
- console.log(B), t(17, Q = !0);
2214
+ }).catch((R) => {
2215
+ console.log(R), t(17, Q = !0);
2216
2216
  });
2217
2217
  }, ht = () => {
2218
- if (!(k > 0)) return;
2218
+ if (!(b > 0)) return;
2219
2219
  me(), t(16, Z = !0);
2220
2220
  const o = new URL(`/v1/player/${f}/limits/session/`, u);
2221
2221
  let w = {
@@ -2226,7 +2226,7 @@ function Ri(i, e, t) {
2226
2226
  Accept: "application/json"
2227
2227
  },
2228
2228
  body: JSON.stringify({
2229
- sessionLimit: k,
2229
+ sessionLimit: b,
2230
2230
  sessionLimitUnit: "minute"
2231
2231
  })
2232
2232
  };
@@ -2236,7 +2236,7 @@ function Ri(i, e, t) {
2236
2236
  console.log(g), t(17, Q = !0);
2237
2237
  });
2238
2238
  }, vt = () => {
2239
- if (!(k > 0)) return;
2239
+ if (!(b > 0)) return;
2240
2240
  me(), t(16, Z = !0);
2241
2241
  const o = new URL(`/v1/player/${f}/limits/session/`, u);
2242
2242
  let w = {
@@ -2250,7 +2250,7 @@ function Ri(i, e, t) {
2250
2250
  cumulativeSessionLimits: [
2251
2251
  {
2252
2252
  period: h,
2253
- minutes: k
2253
+ minutes: b
2254
2254
  }
2255
2255
  ]
2256
2256
  })
@@ -2261,7 +2261,7 @@ function Ri(i, e, t) {
2261
2261
  console.log(g), t(17, Q = !0);
2262
2262
  });
2263
2263
  }, kt = () => {
2264
- if (!(k > 0)) return;
2264
+ if (!(b > 0)) return;
2265
2265
  me(), t(16, Z = !0);
2266
2266
  const o = new URL(`/v2/player/${f}/limit/lugas`, u);
2267
2267
  let w = {
@@ -2272,7 +2272,7 @@ function Ri(i, e, t) {
2272
2272
  Accept: "application/json"
2273
2273
  },
2274
2274
  body: JSON.stringify({
2275
- amount: k,
2275
+ amount: b,
2276
2276
  roleLimitAmount: 0,
2277
2277
  softMigration: !1,
2278
2278
  keepLimit: !1
@@ -2289,7 +2289,7 @@ function Ri(i, e, t) {
2289
2289
  ft();
2290
2290
  break;
2291
2291
  case "gm16":
2292
- je = !1, b === "lugas" ? kt() : b === "sessionLimit" ? ht() : b === "cumulativeSession" ? vt() : yt();
2292
+ je = !1, k === "lugas" ? kt() : k === "sessionLimit" ? ht() : k === "cumulativeSession" ? vt() : yt();
2293
2293
  break;
2294
2294
  default:
2295
2295
  throw Error(`Invalid apiversion attribute: ${c}`);
@@ -2315,7 +2315,7 @@ function Ri(i, e, t) {
2315
2315
  }
2316
2316
  };
2317
2317
  fetch(o.href, l).then((m) => ie(m)).then((m) => {
2318
- G = m, pe && ye(), Fe(G), St(G), t(10, k = null);
2318
+ G = m, pe && ye(), Fe(G), St(G), t(10, b = null);
2319
2319
  }).catch((m) => {
2320
2320
  console.error("Error LimitsWidget: ", m), t(17, Q = !0);
2321
2321
  }).finally(() => {
@@ -2332,13 +2332,13 @@ function Ri(i, e, t) {
2332
2332
  }
2333
2333
  };
2334
2334
  fetch(o.href, w).then((g) => ie(g)).then((g) => {
2335
- G.push(g), pe && ye(), c === "gmcore" && Fe(G), c === "gm16" && Dt(G), t(10, k = null);
2335
+ G.push(g), pe && ye(), c === "gmcore" && Fe(G), c === "gm16" && Dt(G), t(10, b = null);
2336
2336
  }).catch((g) => {
2337
2337
  console.error("Error LimitsWidget: ", g), t(17, Q = !0);
2338
2338
  }).finally(() => {
2339
2339
  m && t(16, Z = !1), m = !0;
2340
2340
  }), fetch(l.href, w).then((g) => ie(g)).then((g) => {
2341
- G.push(g), pe && ye(), c === "gm16" && Tt(G), c === "gm16" && jt(G), t(10, k = null);
2341
+ G.push(g), pe && ye(), c === "gm16" && Tt(G), c === "gm16" && jt(G), t(10, b = null);
2342
2342
  }).catch((g) => {
2343
2343
  console.error("Error LimitsWidget: ", g), t(17, Q = !0);
2344
2344
  }).finally(() => {
@@ -2347,27 +2347,27 @@ function Ri(i, e, t) {
2347
2347
  }, Fe = (o) => {
2348
2348
  T.forEach((l) => {
2349
2349
  l.currentLimits = [];
2350
- const m = Array.isArray(o[z[l.value].callValue]) ? o[z[l.value].callValue] : [o[z[l.value].callValue]];
2350
+ const m = Array.isArray(o[x[l.value].callValue]) ? o[x[l.value].callValue] : [o[x[l.value].callValue]];
2351
2351
  m.length === 0 || m[0] === void 0 || (m.forEach((w, g) => {
2352
- var B;
2353
- const D = o[z[l.value].callValue][g];
2354
- l.currentLimits.push({}), l.currentLimits[g].limitType = l.value, l.currentLimits[g].amount = V ? D.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(D.amount), l.currentLimits[g].currency = (B = de[D.currency]) != null ? B : D.currency, l.currentLimits[g].period = D.period, l.currentLimits[g].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(D.updateAmount), l.currentLimits[g].isModified = D.isModified, l.currentLimits[g].expiryDate = `${new Date(D.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
2352
+ var R;
2353
+ const D = o[x[l.value].callValue][g];
2354
+ l.currentLimits.push({}), l.currentLimits[g].limitType = l.value, l.currentLimits[g].amount = V ? D.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(D.amount), l.currentLimits[g].currency = (R = de[D.currency]) != null ? R : D.currency, l.currentLimits[g].period = D.period, l.currentLimits[g].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(D.updateAmount), l.currentLimits[g].isModified = D.isModified, l.currentLimits[g].expiryDate = `${new Date(D.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
2355
2355
  }), l.currentLimits = fe(l.currentLimits));
2356
2356
  });
2357
2357
  }, St = (o) => {
2358
2358
  const l = a("minutes");
2359
2359
  T.filter((m) => m.value === "sessionLimit" || m.value === "cumulativeSession").forEach((m) => {
2360
2360
  var w;
2361
- m.currentLimits = [], (w = o[z[m.value].callValue]) == null || w.forEach((g, D) => {
2362
- const B = o[z[m.value].callValue][D];
2361
+ m.currentLimits = [], (w = o[x[m.value].callValue]) == null || w.forEach((g, D) => {
2362
+ const R = o[x[m.value].callValue][D];
2363
2363
  m.currentLimits.push({
2364
2364
  limitType: m.value,
2365
- amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(B.minutes),
2365
+ amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(R.minutes),
2366
2366
  currency: l,
2367
- isModified: B.isModified,
2368
- period: m.value === "cumulativeSession" ? B.period : "None",
2369
- updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(B.updateMinutes),
2370
- expiryDate: `${new Date(B.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`
2367
+ isModified: R.isModified,
2368
+ period: m.value === "cumulativeSession" ? R.period : "None",
2369
+ updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(R.updateMinutes),
2370
+ expiryDate: `${new Date(R.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`
2371
2371
  });
2372
2372
  }), m.currentLimits = fe(m.currentLimits);
2373
2373
  });
@@ -2425,27 +2425,27 @@ function Ri(i, e, t) {
2425
2425
  const l = { Daily: 0, Weekly: 1, Monthly: 2 };
2426
2426
  return o.sort((m, w) => l[m.period] - l[w.period]), o;
2427
2427
  }, At = () => {
2428
- const o = k - Math.floor(k) === 0;
2429
- k >= C && k <= ne && o ? (t(24, ge = !1), R.removeAttribute("disabled")) : (t(24, ge = !0), R.setAttribute("disabled", "true"));
2428
+ const o = b - Math.floor(b) === 0;
2429
+ b >= C && b <= ne && o ? (t(24, ge = !1), B.removeAttribute("disabled")) : (t(24, ge = !0), B.setAttribute("disabled", "true"));
2430
2430
  }, Ve = () => {
2431
- t(24, ge = !1), ae != null && ae[b] ? (t(12, C = ae[b].min), t(13, ne = ae[b].max)) : (t(12, C = 1), t(13, ne = 9999999));
2431
+ t(24, ge = !1), ae != null && ae[k] ? (t(12, C = ae[k].min), t(13, ne = ae[k].max)) : (t(12, C = 1), t(13, ne = 9999999));
2432
2432
  }, Et = () => {
2433
2433
  if (G) {
2434
- const o = G[z[b].callValue].filter((w) => w.period === h)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.amount);
2434
+ const o = G[x[k].callValue].filter((w) => w.period === h)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.amount);
2435
2435
  let m = a("popupImmediateUpdate").replace("{selectedLimit}", Ee()).replace("{updatedAmount}", l).replace("{currency}", de[o.currency] || o.currency).replace("{selectedPeriod}", a(`${h}`));
2436
2436
  t(21, J = o.isModified ? `${a("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : m);
2437
2437
  }
2438
2438
  t(20, oe = !0);
2439
2439
  }, Mt = () => {
2440
- var B;
2441
- const o = ((B = G[0]) == null ? void 0 : B.limits) || G.limits;
2440
+ var R;
2441
+ const o = ((R = G[0]) == null ? void 0 : R.limits) || G.limits;
2442
2442
  let l = null;
2443
2443
  if (!G) {
2444
2444
  t(20, oe = !0);
2445
2445
  return;
2446
2446
  }
2447
2447
  const m = je ? ze : h;
2448
- l = o.find((re) => re.type.toLowerCase() === Ce[b].toLowerCase() && (re.period === m || re.period === "None") && re.products[0] === j);
2448
+ l = o.find((re) => re.type.toLowerCase() === Ce[k].toLowerCase() && (re.period === m || re.period === "None") && re.products[0] === j);
2449
2449
  const w = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(l.amount), g = l.schedules.length > 0 ? `${new Date(l.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "";
2450
2450
  let D = a("popupImmediateUpdate").replace("{selectedLimit}", Ee()).replace("{updatedAmount}", w).replace("{currency}", de[l.currency] || l.currency).replace("{selectedPeriod}", a(`${h}`));
2451
2451
  t(21, J = l.schedules.length > 0 ? `${a("popupPendingUpdate")} ${g}` : D), t(20, oe = !0);
@@ -2455,8 +2455,8 @@ function Ri(i, e, t) {
2455
2455
  t(21, J = a("sessionLimitUpdated")), t(20, oe = !0);
2456
2456
  }, zt = () => {
2457
2457
  if (G) {
2458
- const o = G[z[b].callValue].filter((w) => (w.period === h || h === "None") && w.products[0] === j)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.minutes);
2459
- let m = a("popupImmediateUpdate").replace("{selectedLimit}", a(`${b}`)).replace("{updatedAmount}", l).replace("{currency}", a("minutes")).replace("{selectedPeriod}", a(`${h}`));
2458
+ const o = G[x[k].callValue].filter((w) => (w.period === h || h === "None") && w.products[0] === j)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.minutes);
2459
+ let m = a("popupImmediateUpdate").replace("{selectedLimit}", a(`${k}`)).replace("{updatedAmount}", l).replace("{currency}", a("minutes")).replace("{selectedPeriod}", a(`${h}`));
2460
2460
  t(21, J = o.isModified ? `${a("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : m);
2461
2461
  }
2462
2462
  t(20, oe = !0);
@@ -2483,10 +2483,10 @@ function Ri(i, e, t) {
2483
2483
  }
2484
2484
  switch (c) {
2485
2485
  case "gmcore":
2486
- b === "sessionLimit" || b === "cumulativeSession" ? zt() : Et();
2486
+ k === "sessionLimit" || k === "cumulativeSession" ? zt() : Et();
2487
2487
  break;
2488
2488
  case "gm16":
2489
- b === "lugas" ? Pt() : b === "sessionLimit" || b === "cumulativeSession" ? xt() : Mt();
2489
+ k === "lugas" ? Pt() : k === "sessionLimit" || k === "cumulativeSession" ? xt() : Mt();
2490
2490
  break;
2491
2491
  default:
2492
2492
  throw new Error(`Invalid apiversion attribute: ${c}`);
@@ -2494,7 +2494,7 @@ function Ri(i, e, t) {
2494
2494
  }, me = () => {
2495
2495
  t(19, pe = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
2496
2496
  }, Ft = (o) => {
2497
- t(7, b = o.limitType), t(8, h = o.period), me(), t(16, Z = !0);
2497
+ t(7, k = o.limitType), t(8, h = o.period), me(), t(16, Z = !0);
2498
2498
  let l = new URL(`/v2/player/${f}/limits/${Ce[o.limitType]}`, u);
2499
2499
  o.limitType !== "sessionLimit" && l.searchParams.append("periods", o.period);
2500
2500
  let m = {
@@ -2565,7 +2565,7 @@ function Ri(i, e, t) {
2565
2565
  });
2566
2566
  }, Ee = (o) => {
2567
2567
  let l;
2568
- return o ? l = a(o.value + o.product) : l = a(b), l;
2568
+ return o ? l = a(o.value + o.product) : l = a(k), l;
2569
2569
  }, Ot = (o) => {
2570
2570
  if (!V)
2571
2571
  return `${o.amount}${o.currency}`;
@@ -2577,9 +2577,9 @@ function Ri(i, e, t) {
2577
2577
  ), l;
2578
2578
  }, Oe = () => {
2579
2579
  t(20, oe = t(19, pe = !1)), t(22, ce = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
2580
- }, Bt = () => {
2580
+ }, Rt = () => {
2581
2581
  window.postMessage({ type: "uploadDocuments" }, window.location.href), Oe();
2582
- }, Rt = (o) => {
2582
+ }, Bt = (o) => {
2583
2583
  o.keyCode === 13 && ge && o.preventDefault();
2584
2584
  }, qt = () => {
2585
2585
  if (!y) return;
@@ -2611,14 +2611,14 @@ function Ri(i, e, t) {
2611
2611
  Ne(), Ue(), Ve();
2612
2612
  };
2613
2613
  function Qt() {
2614
- h = qe(this), t(8, h), t(5, z), t(7, b);
2614
+ h = qe(this), t(8, h), t(5, x), t(7, k);
2615
2615
  }
2616
2616
  function Jt() {
2617
- k = rt(this.value), t(10, k);
2617
+ b = rt(this.value), t(10, b);
2618
2618
  }
2619
2619
  function $t(o) {
2620
2620
  Ke[o ? "unshift" : "push"](() => {
2621
- R = o, t(11, R);
2621
+ B = o, t(11, B);
2622
2622
  });
2623
2623
  }
2624
2624
  function ei(o) {
@@ -2645,13 +2645,13 @@ function Ri(i, e, t) {
2645
2645
  v,
2646
2646
  F,
2647
2647
  q,
2648
- z,
2648
+ x,
2649
2649
  T,
2650
- b,
2650
+ k,
2651
2651
  h,
2652
2652
  W,
2653
- k,
2654
- R,
2653
+ b,
2654
+ B,
2655
2655
  C,
2656
2656
  ne,
2657
2657
  Pe,
@@ -2676,8 +2676,8 @@ function Ri(i, e, t) {
2676
2676
  Ee,
2677
2677
  Ot,
2678
2678
  Oe,
2679
- Bt,
2680
2679
  Rt,
2680
+ Bt,
2681
2681
  n,
2682
2682
  r,
2683
2683
  d,
@@ -2705,8 +2705,8 @@ class qi extends ui {
2705
2705
  super(), pi(
2706
2706
  this,
2707
2707
  e,
2708
- Ri,
2709
2708
  Bi,
2709
+ Ri,
2710
2710
  ci,
2711
2711
  {
2712
2712
  lang: 38,