@everymatrix/player-account-controller 1.64.6 → 1.64.7
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.
- package/components/{PlayerAccountController-IrHGMtXL.js → PlayerAccountController-BwMtArTF.js} +212 -219
- package/components/{PlayerAccountController-Cc4EqKHk.js → PlayerAccountController-D3ijwTMy.js} +207 -214
- package/components/{PlayerAccountController-2YSuQTHz.cjs → PlayerAccountController-ZhPM48bD.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C-Nmj0Ga.js → PlayerAccountGamingLimitsPage2Gm16-C4Cf53bH.js} +338 -338
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BjfK_iDR.js → PlayerAccountGamingLimitsPage2Gm16-D0UaSH_1.js} +334 -334
- package/components/{PlayerAccountGamingLimitsPage2Gm16-1MHXK8_z.cjs → PlayerAccountGamingLimitsPage2Gm16-isbaVllo.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsWrapper2-C-QNq3OK.js → PlayerAccountGamingLimitsWrapper2-B1gV6va3.js} +290 -290
- package/components/{PlayerAccountGamingLimitsWrapper2-DhBkO3QY.cjs → PlayerAccountGamingLimitsWrapper2-BNIPTcA9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DGZxZGtI.js → PlayerAccountGamingLimitsWrapper2-BxbHvpZn.js} +296 -296
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-BDLC0NPq.js → checkbox-group-input_9-B_Jl5XYl.js} +6 -5
- package/stencil/{checkbox-group-input_9-CvL73d-G.js → checkbox-group-input_9-BubdPaeo.js} +6 -5
- package/stencil/{checkbox-group-input_9-CprubYZ6.cjs → checkbox-group-input_9-BvAcuPzL.cjs} +2 -2
- package/stencil/{general-input-rAz3BI0W.js → general-input-BRLohAp9.js} +1 -1
- package/stencil/{general-input-BGhFzqtE.cjs → general-input-BjwgkYic.cjs} +1 -1
- package/stencil/{general-input-D6sqV34A.js → general-input-CZRDVuGV.js} +1 -1
- package/stencil/{index-1ef3a64c-HrNLjYby.js → index-1ef3a64c-BNosNJnU.js} +1 -1
- package/stencil/{index-1ef3a64c-B_ZYYq05.cjs → index-1ef3a64c-CFvPR_NP.cjs} +1 -1
- package/stencil/{index-1ef3a64c-Brn0Uk6U.js → index-1ef3a64c-DsTe-fF4.js} +1 -1
- package/stencil/{index-9cd44522-BicusHxm.js → index-9cd44522-CbUzJsuK.js} +4 -4
- package/stencil/{index-9cd44522-CmU71Sj9.js → index-9cd44522-NqpP4xs6.js} +4 -4
- package/stencil/{index-9cd44522-DoGQFmJb.cjs → index-9cd44522-WdjpTA2U.cjs} +1 -1
- package/stencil/{password-input_2-D-c-s1Y6.cjs → password-input_2-8BNshhaU.cjs} +1 -1
- package/stencil/{password-input_2-CgqvAj-_.js → password-input_2-DIwo3oT2.js} +2 -2
- package/stencil/{password-input_2-DRVfO_oq.js → password-input_2-DhPkhv-D.js} +2 -2
- package/stencil/{player-change-password-gm2-5cb5c6c1-BXXs93I9.js → player-change-password-gm2-5cb5c6c1-BsO6atoJ.js} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-B-k1s7vM.js → player-change-password-gm2-5cb5c6c1-C0AlgHfx.js} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-B10TDWX3.cjs → player-change-password-gm2-5cb5c6c1-ij_CKxBn.cjs} +1 -1
- package/stencil/player-change-password-gm2-ALHM57bi.js +25 -0
- package/stencil/player-change-password-gm2-ZOlHswn0.cjs +1 -0
- package/stencil/player-change-password-gm2-bVKmVTiQ.js +7 -0
- package/stencil/{toggle-checkbox-input-Vi6Sls8a.cjs → toggle-checkbox-input-D3dpAI79.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-DqMPlaYm.js → toggle-checkbox-input-LjmhdQte.js} +1 -1
- package/stencil/{toggle-checkbox-input-F32UBqIG.js → toggle-checkbox-input-hUEi-Cj3.js} +1 -1
- package/stencil/{user-deposit-withdrawal-G1yW00bt.js → user-deposit-withdrawal-C7W58646.js} +27 -25
- package/stencil/user-deposit-withdrawal-Dfu_1g2v.cjs +68 -0
- package/stencil/{user-deposit-withdrawal-C7ATBpL9.js → user-deposit-withdrawal-Dzz_fEvK.js} +27 -25
- package/stencil/player-change-password-gm2-BYVZydPd.cjs +0 -1
- package/stencil/player-change-password-gm2-Ch6ZOQxn.js +0 -7
- package/stencil/player-change-password-gm2-D8Z5iyOU.js +0 -25
- package/stencil/user-deposit-withdrawal-D3ICpdvp.cjs +0 -68
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as li, $ as mi, S as ui, i as di, s as pi, f as Y, b as ci, n as ge, d as A,
|
|
1
|
+
import { a as li, $ as mi, S as ui, i as di, s as pi, f as Y, b as ci, n as ge, d as A, g as T, h as u, j as k, k as B, p as Li, X as fi, u as gi, o as c, Q as Ye, R as ct, w as Xe, O as me, P as Te, r as De, c as N, V as Ae, l as ee, m as I, F as Lt, T as je, W as ft, v as W, Z as Se, x as yi, y as hi, z as ki, A as vi, B as bi } from "./GeneralLogout-CgxHUYZx.js";
|
|
2
2
|
import "../stencil/ui-skeleton-C974aG7g.js";
|
|
3
3
|
const O = {
|
|
4
4
|
lugas: {
|
|
@@ -1109,10 +1109,10 @@ function Si(a, e, t) {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
function tt(a) {
|
|
1111
1111
|
let e, t, i;
|
|
1112
|
-
function o(
|
|
1112
|
+
function o(d, p) {
|
|
1113
1113
|
return (
|
|
1114
1114
|
/*popupReady*/
|
|
1115
|
-
|
|
1115
|
+
d[20] ? Ai : Ti
|
|
1116
1116
|
);
|
|
1117
1117
|
}
|
|
1118
1118
|
let s = o(a), r = s(a);
|
|
@@ -1122,17 +1122,17 @@ function tt(a) {
|
|
|
1122
1122
|
a[22] + " " + /*isDesktop*/
|
|
1123
1123
|
(a[27] ? "Desktop" : "")), c(e, "class", "PopupOverlay");
|
|
1124
1124
|
},
|
|
1125
|
-
m(
|
|
1126
|
-
T(
|
|
1125
|
+
m(d, p) {
|
|
1126
|
+
T(d, e, p), u(e, t), r.m(t, null);
|
|
1127
1127
|
},
|
|
1128
|
-
p(
|
|
1129
|
-
s === (s = o(
|
|
1128
|
+
p(d, p) {
|
|
1129
|
+
s === (s = o(d)) && r ? r.p(d, p) : (r.d(1), r = s(d), r && (r.c(), r.m(t, null))), p[0] & /*popupClass*/
|
|
1130
1130
|
4194304 && i !== (i = "PopupContainer " + /*popupClass*/
|
|
1131
|
-
|
|
1132
|
-
(
|
|
1131
|
+
d[22] + " " + /*isDesktop*/
|
|
1132
|
+
(d[27] ? "Desktop" : "")) && c(t, "class", i);
|
|
1133
1133
|
},
|
|
1134
|
-
d(
|
|
1135
|
-
|
|
1134
|
+
d(d) {
|
|
1135
|
+
d && A(e), r.d();
|
|
1136
1136
|
}
|
|
1137
1137
|
};
|
|
1138
1138
|
}
|
|
@@ -1140,7 +1140,7 @@ function Ai(a) {
|
|
|
1140
1140
|
let e, t, i = (
|
|
1141
1141
|
/*$_*/
|
|
1142
1142
|
a[26]("popupTitle") + ""
|
|
1143
|
-
), o, s, r,
|
|
1143
|
+
), o, s, r, d, p, m, f, h, M, b, j, H, G;
|
|
1144
1144
|
function V(y, _) {
|
|
1145
1145
|
return (
|
|
1146
1146
|
/*popupErrorDisplay*/
|
|
@@ -1170,10 +1170,10 @@ function Ai(a) {
|
|
|
1170
1170
|
let z = w(a), S = z(a);
|
|
1171
1171
|
return {
|
|
1172
1172
|
c() {
|
|
1173
|
-
e = k("div"), t = k("span"), o = I(i), s = B(), r = k("button"), r.textContent = "X",
|
|
1173
|
+
e = k("div"), t = k("span"), o = I(i), s = B(), r = k("button"), r.textContent = "X", d = B(), p = k("div"), m = k("div"), P.c(), f = B(), D.c(), h = B(), M = k("p"), b = B(), S.c(), j = Lt(), c(t, "class", "PopupTitle"), c(r, "class", "ClosePopup"), c(e, "class", "PopupTitleWrapper"), c(m, "class", "ResultIconWrapper"), c(M, "class", "DescriptionParagraph"), c(p, "class", "DescriptionWrapper");
|
|
1174
1174
|
},
|
|
1175
1175
|
m(y, _) {
|
|
1176
|
-
T(y, e, _), u(e, t), u(t, o), u(e, s), u(e, r), T(y,
|
|
1176
|
+
T(y, e, _), u(e, t), u(t, o), u(e, s), u(e, r), T(y, d, _), T(y, p, _), u(p, m), P.m(m, null), u(m, f), D.m(m, null), u(p, h), u(p, M), M.innerHTML = /*popupContent*/
|
|
1177
1177
|
a[21], T(y, b, _), S.m(y, _), T(y, j, _), H || (G = ee(
|
|
1178
1178
|
r,
|
|
1179
1179
|
"click",
|
|
@@ -1184,12 +1184,12 @@ function Ai(a) {
|
|
|
1184
1184
|
p(y, _) {
|
|
1185
1185
|
_[0] & /*$_*/
|
|
1186
1186
|
67108864 && i !== (i = /*$_*/
|
|
1187
|
-
y[26]("popupTitle") + "") && N(o, i), q !== (q = V(y)) && (P.d(1), P = q(y), P && (P.c(), P.m(
|
|
1187
|
+
y[26]("popupTitle") + "") && N(o, i), q !== (q = V(y)) && (P.d(1), P = q(y), P && (P.c(), P.m(m, f))), R === (R = U(y)) && D ? D.p(y, _) : (D.d(1), D = R(y), D && (D.c(), D.m(m, null))), _[0] & /*popupContent*/
|
|
1188
1188
|
2097152 && (M.innerHTML = /*popupContent*/
|
|
1189
1189
|
y[21]), z === (z = w(y)) && S ? S.p(y, _) : (S.d(1), S = z(y), S && (S.c(), S.m(j.parentNode, j)));
|
|
1190
1190
|
},
|
|
1191
1191
|
d(y) {
|
|
1192
|
-
y && (A(e), A(
|
|
1192
|
+
y && (A(e), A(d), A(p), A(b), A(j)), P.d(), D.d(), S.d(y), H = !1, G();
|
|
1193
1193
|
}
|
|
1194
1194
|
};
|
|
1195
1195
|
}
|
|
@@ -1218,11 +1218,11 @@ function Ci(a) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
`), s = W("g"), r = W("polygon"), c(i, "type", "text/css"), c(r, "class", "fil0"), c(r, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), c(e, "xmlns", "http://www.w3.org/2000/svg"), c(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), c(e, "xml:space", "preserve"), c(e, "version", "1.1"), Se(e, "shape-rendering", "geometricPrecision"), Se(e, "text-rendering", "geometricPrecision"), Se(e, "image-rendering", "optimizeQuality"), c(e, "viewBox", "0 0 90 69"), c(e, "x", "0px"), c(e, "y", "0px"), c(e, "fill-rule", "evenodd"), c(e, "clip-rule", "evenodd");
|
|
1220
1220
|
},
|
|
1221
|
-
m(
|
|
1222
|
-
T(
|
|
1221
|
+
m(d, p) {
|
|
1222
|
+
T(d, e, p), u(e, t), u(t, i), u(i, o), u(e, s), u(s, r);
|
|
1223
1223
|
},
|
|
1224
|
-
d(
|
|
1225
|
-
|
|
1224
|
+
d(d) {
|
|
1225
|
+
d && A(e);
|
|
1226
1226
|
}
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
@@ -1244,17 +1244,17 @@ function ji(a) {
|
|
|
1244
1244
|
};
|
|
1245
1245
|
}
|
|
1246
1246
|
function Di(a) {
|
|
1247
|
-
let e, t, i, o, s, r,
|
|
1247
|
+
let e, t, i, o, s, r, d, p, m, f, h, M, b, j, H, G, V, q, P;
|
|
1248
1248
|
return {
|
|
1249
1249
|
c() {
|
|
1250
|
-
e = W("svg"), t = W("g"), i = W("path"), o = W("path"), s = W("g"), r = W("g"),
|
|
1250
|
+
e = W("svg"), t = W("g"), i = W("path"), o = W("path"), s = W("g"), r = W("g"), d = W("g"), p = W("g"), m = W("g"), f = W("g"), h = W("g"), M = W("g"), b = W("g"), j = W("g"), H = W("g"), G = W("g"), V = W("g"), q = W("g"), P = W("g"), c(i, "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
|
|
1251
1251
|
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), c(o, "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
|
|
1252
1252
|
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
|
|
1253
1253
|
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
|
|
1254
1254
|
c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`), c(e, "version", "1.1"), c(e, "id", "Capa_1"), c(e, "xmlns", "http://www.w3.org/2000/svg"), c(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), c(e, "x", "0px"), c(e, "y", "0px"), c(e, "viewBox", "0 0 52 52"), Se(e, "enable-background", "new 0 0 52 52"), c(e, "xml:space", "preserve");
|
|
1255
1255
|
},
|
|
1256
1256
|
m(U, R) {
|
|
1257
|
-
T(U, e, R), u(e, t), u(t, i), u(t, o), u(e, s), u(e, r), u(e,
|
|
1257
|
+
T(U, e, R), u(e, t), u(t, i), u(t, o), u(e, s), u(e, r), u(e, d), u(e, p), u(e, m), u(e, f), u(e, h), u(e, M), u(e, b), u(e, j), u(e, H), u(e, G), u(e, V), u(e, q), u(e, P);
|
|
1258
1258
|
},
|
|
1259
1259
|
d(U) {
|
|
1260
1260
|
U && A(e);
|
|
@@ -1336,16 +1336,16 @@ function Pi(a) {
|
|
|
1336
1336
|
c() {
|
|
1337
1337
|
e = k("button"), i = I(t), c(e, "class", "ConfirmButton");
|
|
1338
1338
|
},
|
|
1339
|
-
m(r,
|
|
1340
|
-
T(r, e,
|
|
1339
|
+
m(r, d) {
|
|
1340
|
+
T(r, e, d), u(e, i), o || (s = ee(
|
|
1341
1341
|
e,
|
|
1342
1342
|
"click",
|
|
1343
1343
|
/*closePopup*/
|
|
1344
1344
|
a[39]
|
|
1345
1345
|
), o = !0);
|
|
1346
1346
|
},
|
|
1347
|
-
p(r,
|
|
1348
|
-
|
|
1347
|
+
p(r, d) {
|
|
1348
|
+
d[0] & /*$_*/
|
|
1349
1349
|
67108864 && t !== (t = /*$_*/
|
|
1350
1350
|
r[26]("okButton") + "") && N(i, t);
|
|
1351
1351
|
},
|
|
@@ -1361,13 +1361,13 @@ function zi(a) {
|
|
|
1361
1361
|
), i, o, s = (
|
|
1362
1362
|
/*$_*/
|
|
1363
1363
|
a[26]("closeButton") + ""
|
|
1364
|
-
), r,
|
|
1364
|
+
), r, d, p;
|
|
1365
1365
|
return {
|
|
1366
1366
|
c() {
|
|
1367
1367
|
e = k("button"), i = B(), o = k("button"), r = I(s), c(e, "class", "ConfirmButton"), c(o, "class", "CloseButton");
|
|
1368
1368
|
},
|
|
1369
|
-
m(
|
|
1370
|
-
T(
|
|
1369
|
+
m(m, f) {
|
|
1370
|
+
T(m, e, f), e.innerHTML = t, T(m, i, f), T(m, o, f), u(o, r), d || (p = [
|
|
1371
1371
|
ee(
|
|
1372
1372
|
e,
|
|
1373
1373
|
"click",
|
|
@@ -1380,22 +1380,22 @@ function zi(a) {
|
|
|
1380
1380
|
/*closePopup*/
|
|
1381
1381
|
a[39]
|
|
1382
1382
|
)
|
|
1383
|
-
],
|
|
1383
|
+
], d = !0);
|
|
1384
1384
|
},
|
|
1385
|
-
p(
|
|
1386
|
-
|
|
1385
|
+
p(m, f) {
|
|
1386
|
+
f[0] & /*$_*/
|
|
1387
1387
|
67108864 && t !== (t = /*$_*/
|
|
1388
|
-
|
|
1388
|
+
m[26]("uploadDocumentsButton") + "") && (e.innerHTML = t), f[0] & /*$_*/
|
|
1389
1389
|
67108864 && s !== (s = /*$_*/
|
|
1390
|
-
|
|
1390
|
+
m[26]("closeButton") + "") && N(r, s);
|
|
1391
1391
|
},
|
|
1392
|
-
d(
|
|
1393
|
-
|
|
1392
|
+
d(m) {
|
|
1393
|
+
m && (A(e), A(i), A(o)), d = !1, De(p);
|
|
1394
1394
|
}
|
|
1395
1395
|
};
|
|
1396
1396
|
}
|
|
1397
1397
|
function Ii(a) {
|
|
1398
|
-
let e, t, i, o, s, r,
|
|
1398
|
+
let e, t, i, o, s, r, d, p, m, f, h = (
|
|
1399
1399
|
/*multiplePeriods*/
|
|
1400
1400
|
a[15] ? `${/*$_*/
|
|
1401
1401
|
a[26]("amount")}` : `${/*$_*/
|
|
@@ -1428,8 +1428,8 @@ function Ii(a) {
|
|
|
1428
1428
|
e = k("div"), t = k("div"), i = k("div");
|
|
1429
1429
|
for (let C = 0; C < z.length; C += 1)
|
|
1430
1430
|
z[C].c();
|
|
1431
|
-
o = B(), s = k("form"), S && S.c(), r = B(), y && y.c(),
|
|
1432
|
-
(a[27] ? "Desktop" : "")), c(
|
|
1431
|
+
o = B(), s = k("form"), S && S.c(), r = B(), y && y.c(), d = B(), _ && _.c(), p = B(), m = k("label"), f = k("span"), M = I(h), b = B(), j = k("input"), H = B(), K && K.c(), G = B(), V = k("button"), P = I(q), c(i, "class", "LimitsList " + /*isDesktop*/
|
|
1432
|
+
(a[27] ? "Desktop" : "")), c(f, "class", "LimitInputText"), c(j, "type", "number"), c(j, "pattern", "[0-9]*"), c(m, "class", "LimitAmountInputWrapper"), c(V, "class", "LimitSubmitButton"), c(V, "type", "button"), V.disabled = !0, c(s, "class", "LimitsInteractionArea " + /*isDesktop*/
|
|
1433
1433
|
(a[27] ? "Desktop" : "")), c(t, "class", "LimitsPageContainer"), c(e, "class", U = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
|
|
1434
1434
|
a[3]));
|
|
1435
1435
|
},
|
|
@@ -1437,11 +1437,11 @@ function Ii(a) {
|
|
|
1437
1437
|
T(C, e, E), u(e, t), u(t, i);
|
|
1438
1438
|
for (let F = 0; F < z.length; F += 1)
|
|
1439
1439
|
z[F] && z[F].m(i, null);
|
|
1440
|
-
u(t, o), u(t, s), S && S.m(s, null), u(s, r), y && y.m(s, null), u(s,
|
|
1440
|
+
u(t, o), u(t, s), S && S.m(s, null), u(s, r), y && y.m(s, null), u(s, d), _ && _.m(s, null), u(s, p), u(s, m), u(m, f), u(f, M), u(m, b), u(m, j), Ae(
|
|
1441
1441
|
j,
|
|
1442
1442
|
/*inputAmount*/
|
|
1443
1443
|
a[10]
|
|
1444
|
-
), u(
|
|
1444
|
+
), u(m, H), K && K.m(m, null), u(s, G), u(s, V), u(V, P), a[64](V), R || (D = [
|
|
1445
1445
|
ee(
|
|
1446
1446
|
j,
|
|
1447
1447
|
"input",
|
|
@@ -1493,8 +1493,8 @@ function Ii(a) {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
/*enablecompliancetext*/
|
|
1495
1495
|
C[1] === "true" ? S ? S.p(C, E) : (S = rt(C), S.c(), S.m(s, r)) : S && (S.d(1), S = null), /*multipleLimits*/
|
|
1496
|
-
C[14] ? y ? y.p(C, E) : (y = lt(C), y.c(), y.m(s,
|
|
1497
|
-
C[15] ? _ ? _.p(C, E) : (_ = ut(C), _.c(), _.m(s,
|
|
1496
|
+
C[14] ? y ? y.p(C, E) : (y = lt(C), y.c(), y.m(s, d)) : y && (y.d(1), y = null), /*multiplePeriods*/
|
|
1497
|
+
C[15] ? _ ? _.p(C, E) : (_ = ut(C), _.c(), _.m(s, p)) : _ && (_.d(1), _ = null), E[0] & /*multiplePeriods, $_, selectedPeriod*/
|
|
1498
1498
|
67141888 && h !== (h = /*multiplePeriods*/
|
|
1499
1499
|
C[15] ? `${/*$_*/
|
|
1500
1500
|
C[26]("amount")}` : `${/*$_*/
|
|
@@ -1506,7 +1506,7 @@ function Ii(a) {
|
|
|
1506
1506
|
/*inputAmount*/
|
|
1507
1507
|
C[10]
|
|
1508
1508
|
), /*invalidInput*/
|
|
1509
|
-
C[24] ? K ? K.p(C, E) : (K = pt(C), K.c(), K.m(
|
|
1509
|
+
C[24] ? K ? K.p(C, E) : (K = pt(C), K.c(), K.m(m, null)) : K && (K.d(1), K = null), E[0] & /*$_*/
|
|
1510
1510
|
67108864 && q !== (q = /*$_*/
|
|
1511
1511
|
C[26]("setLimit") + "") && N(P, q), E[0] & /*limittabindex*/
|
|
1512
1512
|
8 && U !== (U = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
|
|
@@ -1533,25 +1533,25 @@ function Ui(a) {
|
|
|
1533
1533
|
};
|
|
1534
1534
|
}
|
|
1535
1535
|
function Ni(a) {
|
|
1536
|
-
let e, t, i, o, s, r,
|
|
1537
|
-
for (let
|
|
1538
|
-
|
|
1536
|
+
let e, t, i, o, s, r, d = me(Array(3)), p = [];
|
|
1537
|
+
for (let m = 0; m < d.length; m += 1)
|
|
1538
|
+
p[m] = Zi(Si(a, d, m));
|
|
1539
1539
|
return {
|
|
1540
1540
|
c() {
|
|
1541
1541
|
e = k("div"), t = k("div"), i = k("div"), i.innerHTML = '<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>', o = B();
|
|
1542
|
-
for (let
|
|
1543
|
-
|
|
1542
|
+
for (let m = 0; m < p.length; m += 1)
|
|
1543
|
+
p[m].c();
|
|
1544
1544
|
s = B(), r = k("div"), r.innerHTML = '<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>', c(i, "class", "skeletonLimitText"), c(t, "class", "skeletonLimitWrapper"), c(r, "class", "skeletonInputWrapper"), c(e, "class", "skeletonLimitContainer");
|
|
1545
1545
|
},
|
|
1546
|
-
m(
|
|
1547
|
-
T(
|
|
1548
|
-
for (let h = 0; h <
|
|
1549
|
-
|
|
1546
|
+
m(m, f) {
|
|
1547
|
+
T(m, e, f), u(e, t), u(t, i), u(t, o);
|
|
1548
|
+
for (let h = 0; h < p.length; h += 1)
|
|
1549
|
+
p[h] && p[h].m(t, null);
|
|
1550
1550
|
u(e, s), u(e, r);
|
|
1551
1551
|
},
|
|
1552
1552
|
p: ge,
|
|
1553
|
-
d(
|
|
1554
|
-
|
|
1553
|
+
d(m) {
|
|
1554
|
+
m && A(e), Te(p, m);
|
|
1555
1555
|
}
|
|
1556
1556
|
};
|
|
1557
1557
|
}
|
|
@@ -1564,11 +1564,11 @@ function Ri(a) {
|
|
|
1564
1564
|
c() {
|
|
1565
1565
|
e = k("div"), t = k("div"), i = k("div"), s = I(o), c(i, "class", "LimitDetailsTextWrapper"), c(t, "class", "LimitDetailsWrapper"), c(e, "class", "LimitDetails");
|
|
1566
1566
|
},
|
|
1567
|
-
m(r,
|
|
1568
|
-
T(r, e,
|
|
1567
|
+
m(r, d) {
|
|
1568
|
+
T(r, e, d), u(e, t), u(t, i), u(i, s);
|
|
1569
1569
|
},
|
|
1570
|
-
p(r,
|
|
1571
|
-
|
|
1570
|
+
p(r, d) {
|
|
1571
|
+
d[0] & /*$_*/
|
|
1572
1572
|
67108864 && o !== (o = /*$_*/
|
|
1573
1573
|
r[26]("noLimitText") + "") && N(s, o);
|
|
1574
1574
|
},
|
|
@@ -1586,11 +1586,11 @@ function Bi(a) {
|
|
|
1586
1586
|
c() {
|
|
1587
1587
|
e = k("div"), t = k("div"), i = k("div"), s = I(o), c(i, "class", "LimitDetailsTextWrapper"), c(t, "class", "LimitDetailsWrapper"), c(e, "class", "LimitDetails");
|
|
1588
1588
|
},
|
|
1589
|
-
m(r,
|
|
1590
|
-
T(r, e,
|
|
1589
|
+
m(r, d) {
|
|
1590
|
+
T(r, e, d), u(e, t), u(t, i), u(i, s);
|
|
1591
1591
|
},
|
|
1592
|
-
p(r,
|
|
1593
|
-
|
|
1592
|
+
p(r, d) {
|
|
1593
|
+
d[0] & /*$_*/
|
|
1594
1594
|
67108864 && o !== (o = /*$_*/
|
|
1595
1595
|
r[26]("lugasPrivacy") + "") && N(s, o);
|
|
1596
1596
|
},
|
|
@@ -1627,8 +1627,8 @@ function Oi(a) {
|
|
|
1627
1627
|
);
|
|
1628
1628
|
let r;
|
|
1629
1629
|
for (r = 0; r < t.length; r += 1) {
|
|
1630
|
-
const
|
|
1631
|
-
i[r] ? i[r].p(
|
|
1630
|
+
const d = et(o, t, r);
|
|
1631
|
+
i[r] ? i[r].p(d, s) : (i[r] = nt(d), i[r].c(), i[r].m(e.parentNode, e));
|
|
1632
1632
|
}
|
|
1633
1633
|
for (; r < i.length; r += 1)
|
|
1634
1634
|
i[r].d(1);
|
|
@@ -1649,11 +1649,11 @@ function Wi(a) {
|
|
|
1649
1649
|
c() {
|
|
1650
1650
|
e = k("div"), t = k("div"), i = k("div"), s = I(o), c(i, "class", "LimitDetailsTextWrapper"), c(t, "class", "LimitDetailsWrapper"), c(e, "class", "LimitDetails");
|
|
1651
1651
|
},
|
|
1652
|
-
m(r,
|
|
1653
|
-
T(r, e,
|
|
1652
|
+
m(r, d) {
|
|
1653
|
+
T(r, e, d), u(e, t), u(t, i), u(i, s);
|
|
1654
1654
|
},
|
|
1655
|
-
p(r,
|
|
1656
|
-
|
|
1655
|
+
p(r, d) {
|
|
1656
|
+
d[0] & /*$_*/
|
|
1657
1657
|
67108864 && o !== (o = /*$_*/
|
|
1658
1658
|
r[26]("lugasPrivacy") + "") && N(s, o);
|
|
1659
1659
|
},
|
|
@@ -1723,31 +1723,31 @@ function Fi(a) {
|
|
|
1723
1723
|
a[131],
|
|
1724
1724
|
!0
|
|
1725
1725
|
)}`, o, s;
|
|
1726
|
-
function r(
|
|
1726
|
+
function r(m, f) {
|
|
1727
1727
|
return (
|
|
1728
1728
|
/*currentLimit*/
|
|
1729
|
-
|
|
1729
|
+
m[131].isCoolOffCompleted ? Xi : Yi
|
|
1730
1730
|
);
|
|
1731
1731
|
}
|
|
1732
|
-
let
|
|
1732
|
+
let d = r(a), p = d(a);
|
|
1733
1733
|
return {
|
|
1734
1734
|
c() {
|
|
1735
|
-
e = k("div"), t = k("span"), o = I(i), s = B(),
|
|
1735
|
+
e = k("div"), t = k("span"), o = I(i), s = B(), p.c(), c(e, "class", "PendingLimit");
|
|
1736
1736
|
},
|
|
1737
|
-
m(
|
|
1738
|
-
T(
|
|
1737
|
+
m(m, f) {
|
|
1738
|
+
T(m, e, f), u(e, t), u(t, o), u(e, s), p.m(e, null);
|
|
1739
1739
|
},
|
|
1740
|
-
p(
|
|
1741
|
-
|
|
1740
|
+
p(m, f) {
|
|
1741
|
+
f[0] & /*availableLimits*/
|
|
1742
1742
|
64 && i !== (i = `${/*getFormatedAmount*/
|
|
1743
|
-
|
|
1743
|
+
m[38](
|
|
1744
1744
|
/*currentLimit*/
|
|
1745
|
-
|
|
1745
|
+
m[131],
|
|
1746
1746
|
!0
|
|
1747
|
-
)}`) && N(o, i),
|
|
1747
|
+
)}`) && N(o, i), d === (d = r(m)) && p ? p.p(m, f) : (p.d(1), p = d(m), p && (p.c(), p.m(e, null)));
|
|
1748
1748
|
},
|
|
1749
|
-
d(
|
|
1750
|
-
|
|
1749
|
+
d(m) {
|
|
1750
|
+
m && A(e), p.d();
|
|
1751
1751
|
}
|
|
1752
1752
|
};
|
|
1753
1753
|
}
|
|
@@ -1890,7 +1890,7 @@ function it(a) {
|
|
|
1890
1890
|
/*currentLimit*/
|
|
1891
1891
|
a[131].scheduleId
|
|
1892
1892
|
].timer + ""
|
|
1893
|
-
), o, s, r,
|
|
1893
|
+
), o, s, r, d;
|
|
1894
1894
|
return {
|
|
1895
1895
|
c() {
|
|
1896
1896
|
e = k("div"), t = k("button"), o = I(i), c(t, "class", s = "ReloadLimitButton " + (/*isDesktop*/
|
|
@@ -1901,30 +1901,30 @@ function it(a) {
|
|
|
1901
1901
|
].timerStopped ? "" : "disabled")), c(e, "class", "ContainerLimitActions " + (/*isDesktop*/
|
|
1902
1902
|
a[27] ? "" : "Mobile"));
|
|
1903
1903
|
},
|
|
1904
|
-
m(
|
|
1905
|
-
T(
|
|
1904
|
+
m(p, m) {
|
|
1905
|
+
T(p, e, m), u(e, t), u(t, o), r || (d = ee(
|
|
1906
1906
|
t,
|
|
1907
1907
|
"click",
|
|
1908
1908
|
/*click_handler*/
|
|
1909
1909
|
a[56]
|
|
1910
1910
|
), r = !0);
|
|
1911
1911
|
},
|
|
1912
|
-
p(
|
|
1913
|
-
|
|
1912
|
+
p(p, m) {
|
|
1913
|
+
m[0] & /*acknowledgedLimits, availableLimits*/
|
|
1914
1914
|
33554496 && i !== (i = /*acknowledgedLimits*/
|
|
1915
|
-
|
|
1915
|
+
p[25][
|
|
1916
1916
|
/*currentLimit*/
|
|
1917
|
-
|
|
1918
|
-
].timer + "") && N(o, i),
|
|
1917
|
+
p[131].scheduleId
|
|
1918
|
+
].timer + "") && N(o, i), m[0] & /*acknowledgedLimits, availableLimits*/
|
|
1919
1919
|
33554496 && s !== (s = "ReloadLimitButton " + (/*isDesktop*/
|
|
1920
|
-
|
|
1921
|
-
(
|
|
1920
|
+
p[27] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
|
|
1921
|
+
(p[25][
|
|
1922
1922
|
/*currentLimit*/
|
|
1923
|
-
|
|
1923
|
+
p[131].scheduleId
|
|
1924
1924
|
].timerStopped ? "" : "disabled")) && c(t, "class", s);
|
|
1925
1925
|
},
|
|
1926
|
-
d(
|
|
1927
|
-
|
|
1926
|
+
d(p) {
|
|
1927
|
+
p && A(e), r = !1, d();
|
|
1928
1928
|
}
|
|
1929
1929
|
};
|
|
1930
1930
|
}
|
|
@@ -1933,7 +1933,7 @@ function at(a) {
|
|
|
1933
1933
|
/*$_*/
|
|
1934
1934
|
a[26]("removeLimit") + ""
|
|
1935
1935
|
), o, s, r;
|
|
1936
|
-
function
|
|
1936
|
+
function d() {
|
|
1937
1937
|
return (
|
|
1938
1938
|
/*click_handler_1*/
|
|
1939
1939
|
a[57](
|
|
@@ -1948,16 +1948,16 @@ function at(a) {
|
|
|
1948
1948
|
a[27] ? "" : "Mobile")), c(e, "class", "ContainerLimitActions " + (/*isDesktop*/
|
|
1949
1949
|
a[27] ? "" : "Mobile"));
|
|
1950
1950
|
},
|
|
1951
|
-
m(
|
|
1952
|
-
T(
|
|
1951
|
+
m(p, m) {
|
|
1952
|
+
T(p, e, m), u(e, t), u(t, o), s || (r = ee(t, "click", d), s = !0);
|
|
1953
1953
|
},
|
|
1954
|
-
p(
|
|
1955
|
-
a =
|
|
1954
|
+
p(p, m) {
|
|
1955
|
+
a = p, m[0] & /*$_*/
|
|
1956
1956
|
67108864 && i !== (i = /*$_*/
|
|
1957
1957
|
a[26]("removeLimit") + "") && N(o, i);
|
|
1958
1958
|
},
|
|
1959
|
-
d(
|
|
1960
|
-
|
|
1959
|
+
d(p) {
|
|
1960
|
+
p && A(e), s = !1, r();
|
|
1961
1961
|
}
|
|
1962
1962
|
};
|
|
1963
1963
|
}
|
|
@@ -1965,10 +1965,10 @@ function ot(a) {
|
|
|
1965
1965
|
let e, t, i = (
|
|
1966
1966
|
/*$_*/
|
|
1967
1967
|
a[26]("confirmUpdateLimit") + ""
|
|
1968
|
-
), o, s, r,
|
|
1968
|
+
), o, s, r, d = (
|
|
1969
1969
|
/*$_*/
|
|
1970
1970
|
a[26]("cancelUpdateLimit") + ""
|
|
1971
|
-
),
|
|
1971
|
+
), p, m, f;
|
|
1972
1972
|
function h() {
|
|
1973
1973
|
return (
|
|
1974
1974
|
/*click_handler_2*/
|
|
@@ -1989,26 +1989,26 @@ function ot(a) {
|
|
|
1989
1989
|
}
|
|
1990
1990
|
return {
|
|
1991
1991
|
c() {
|
|
1992
|
-
e = k("div"), t = k("button"), o = I(i), s = B(), r = k("button"),
|
|
1992
|
+
e = k("div"), t = k("button"), o = I(i), s = B(), r = k("button"), p = I(d), c(t, "class", "ConfirmLimitButton " + (/*isDesktop*/
|
|
1993
1993
|
a[27] ? "" : "Mobile")), c(r, "class", "CancelLimitButton " + (/*isDesktop*/
|
|
1994
1994
|
a[27] ? "" : "Mobile")), c(e, "class", "ContainerLimitActions " + (/*isDesktop*/
|
|
1995
1995
|
a[27] ? "" : "Mobile"));
|
|
1996
1996
|
},
|
|
1997
1997
|
m(b, j) {
|
|
1998
|
-
T(b, e, j), u(e, t), u(t, o), u(e, s), u(e, r), u(r,
|
|
1998
|
+
T(b, e, j), u(e, t), u(t, o), u(e, s), u(e, r), u(r, p), m || (f = [
|
|
1999
1999
|
ee(t, "click", h),
|
|
2000
2000
|
ee(r, "click", M)
|
|
2001
|
-
],
|
|
2001
|
+
], m = !0);
|
|
2002
2002
|
},
|
|
2003
2003
|
p(b, j) {
|
|
2004
2004
|
a = b, j[0] & /*$_*/
|
|
2005
2005
|
67108864 && i !== (i = /*$_*/
|
|
2006
2006
|
a[26]("confirmUpdateLimit") + "") && N(o, i), j[0] & /*$_*/
|
|
2007
|
-
67108864 &&
|
|
2008
|
-
a[26]("cancelUpdateLimit") + "") && N(
|
|
2007
|
+
67108864 && d !== (d = /*$_*/
|
|
2008
|
+
a[26]("cancelUpdateLimit") + "") && N(p, d);
|
|
2009
2009
|
},
|
|
2010
2010
|
d(b) {
|
|
2011
|
-
b && A(e),
|
|
2011
|
+
b && A(e), m = !1, De(f);
|
|
2012
2012
|
}
|
|
2013
2013
|
};
|
|
2014
2014
|
}
|
|
@@ -2020,7 +2020,7 @@ function nt(a) {
|
|
|
2020
2020
|
a[26]("per")
|
|
2021
2021
|
)} ${/*$_*/
|
|
2022
2022
|
a[26](`${/*currentLimit*/
|
|
2023
|
-
a[131].period}`)}`,
|
|
2023
|
+
a[131].period}`)}`, d, p, m, f, h = !/*currentLimit*/
|
|
2024
2024
|
a[131].isModified && /*deletelimit*/
|
|
2025
2025
|
a[2].indexOf(
|
|
2026
2026
|
/*limit*/
|
|
@@ -2069,10 +2069,10 @@ function nt(a) {
|
|
|
2069
2069
|
);
|
|
2070
2070
|
return {
|
|
2071
2071
|
c() {
|
|
2072
|
-
e = k("div"), t = k("div"), i = k("div"), o = k("div"), G.c(), s = B(),
|
|
2072
|
+
e = k("div"), t = k("div"), i = k("div"), o = k("div"), G.c(), s = B(), d = I(r), p = B(), P && P.c(), m = B(), U && U.c(), f = B(), R && R.c(), M = B(), D && D.c(), b = B(), c(o, "class", "CurrentLimit"), c(i, "class", "CurrentLimitContainer"), c(t, "class", "LimitDetailsTextWrapper"), c(e, "class", "LimitDetails");
|
|
2073
2073
|
},
|
|
2074
2074
|
m(w, z) {
|
|
2075
|
-
T(w, e, z), u(e, t), u(t, i), u(i, o), G.m(o, null), u(o, s), u(o,
|
|
2075
|
+
T(w, e, z), u(e, t), u(t, i), u(i, o), G.m(o, null), u(o, s), u(o, d), u(i, p), P && P.m(i, null), u(t, m), U && U.m(t, null), u(t, f), R && R.m(t, null), u(t, M), D && D.m(t, null), u(e, b);
|
|
2076
2076
|
},
|
|
2077
2077
|
p(w, z) {
|
|
2078
2078
|
H === (H = j(w)) && G ? G.p(w, z) : (G.d(1), G = H(w), G && (G.c(), G.m(o, s))), z[0] & /*availableLimits, $_*/
|
|
@@ -2083,8 +2083,8 @@ function nt(a) {
|
|
|
2083
2083
|
w[26]("per")
|
|
2084
2084
|
)} ${/*$_*/
|
|
2085
2085
|
w[26](`${/*currentLimit*/
|
|
2086
|
-
w[131].period}`)}`) && N(
|
|
2087
|
-
w[131].acknowledgedLimit ? U ? U.p(w, z) : (U = it(w), U.c(), U.m(t,
|
|
2086
|
+
w[131].period}`)}`) && N(d, r), q === (q = V(w)) && P ? P.p(w, z) : (P && P.d(1), P = q && q(w), P && (P.c(), P.m(i, null))), /*currentLimit*/
|
|
2087
|
+
w[131].acknowledgedLimit ? U ? U.p(w, z) : (U = it(w), U.c(), U.m(t, f)) : U && (U.d(1), U = null), z[0] & /*availableLimits, deletelimit*/
|
|
2088
2088
|
68 && (h = !/*currentLimit*/
|
|
2089
2089
|
w[131].isModified && /*deletelimit*/
|
|
2090
2090
|
w[2].indexOf(
|
|
@@ -2107,37 +2107,37 @@ function st(a) {
|
|
|
2107
2107
|
a[126]
|
|
2108
2108
|
) + ""
|
|
2109
2109
|
), o, s, r;
|
|
2110
|
-
function
|
|
2110
|
+
function d(f, h) {
|
|
2111
2111
|
return (
|
|
2112
2112
|
/*limit*/
|
|
2113
|
-
|
|
2113
|
+
f[126].value === "lugas" ? Wi : (
|
|
2114
2114
|
/*limit*/
|
|
2115
|
-
|
|
2115
|
+
f[126].currentLimits.length > 0 ? Oi : (
|
|
2116
2116
|
/*limit*/
|
|
2117
|
-
|
|
2117
|
+
f[126].value === "lugas" ? Bi : Ri
|
|
2118
2118
|
)
|
|
2119
2119
|
)
|
|
2120
2120
|
);
|
|
2121
2121
|
}
|
|
2122
|
-
let
|
|
2122
|
+
let p = d(a), m = p(a);
|
|
2123
2123
|
return {
|
|
2124
2124
|
c() {
|
|
2125
|
-
e = k("div"), t = k("p"), o = I(i), s = B(),
|
|
2125
|
+
e = k("div"), t = k("p"), o = I(i), s = B(), m.c(), r = B(), c(t, "class", "LimitTitle"), c(e, "class", "LimitWrapper " + /*isDesktop*/
|
|
2126
2126
|
(a[27] ? "Desktop" : ""));
|
|
2127
2127
|
},
|
|
2128
|
-
m(
|
|
2129
|
-
T(
|
|
2128
|
+
m(f, h) {
|
|
2129
|
+
T(f, e, h), u(e, t), u(t, o), u(e, s), m.m(e, null), u(e, r);
|
|
2130
2130
|
},
|
|
2131
|
-
p(
|
|
2131
|
+
p(f, h) {
|
|
2132
2132
|
h[0] & /*availableLimits*/
|
|
2133
2133
|
64 && i !== (i = /*determineLimitName*/
|
|
2134
|
-
|
|
2134
|
+
f[37](
|
|
2135
2135
|
/*limit*/
|
|
2136
|
-
|
|
2137
|
-
) + "") && N(o, i),
|
|
2136
|
+
f[126]
|
|
2137
|
+
) + "") && N(o, i), p === (p = d(f)) && m ? m.p(f, h) : (m.d(1), m = p(f), m && (m.c(), m.m(e, r)));
|
|
2138
2138
|
},
|
|
2139
|
-
d(
|
|
2140
|
-
|
|
2139
|
+
d(f) {
|
|
2140
|
+
f && A(e), m.d();
|
|
2141
2141
|
}
|
|
2142
2142
|
};
|
|
2143
2143
|
}
|
|
@@ -2167,17 +2167,17 @@ function lt(a) {
|
|
|
2167
2167
|
let e, t, i = (
|
|
2168
2168
|
/*$_*/
|
|
2169
2169
|
a[26]("limitType") + ""
|
|
2170
|
-
), o, s, r,
|
|
2170
|
+
), o, s, r, d, p, m = me(
|
|
2171
2171
|
/*availableLimits*/
|
|
2172
2172
|
a[6]
|
|
2173
|
-
),
|
|
2174
|
-
for (let h = 0; h <
|
|
2175
|
-
|
|
2173
|
+
), f = [];
|
|
2174
|
+
for (let h = 0; h < m.length; h += 1)
|
|
2175
|
+
f[h] = mt(Qe(a, m, h));
|
|
2176
2176
|
return {
|
|
2177
2177
|
c() {
|
|
2178
2178
|
e = k("label"), t = k("span"), o = I(i), s = B(), r = k("select");
|
|
2179
|
-
for (let h = 0; h <
|
|
2180
|
-
|
|
2179
|
+
for (let h = 0; h < f.length; h += 1)
|
|
2180
|
+
f[h].c();
|
|
2181
2181
|
c(t, "class", "LimitSelectText"), c(r, "name", ""), c(r, "id", ""), /*selectedIndex*/
|
|
2182
2182
|
a[9] === void 0 && ft(() => (
|
|
2183
2183
|
/*select_change_handler*/
|
|
@@ -2186,14 +2186,14 @@ function lt(a) {
|
|
|
2186
2186
|
},
|
|
2187
2187
|
m(h, M) {
|
|
2188
2188
|
T(h, e, M), u(e, t), u(t, o), u(e, s), u(e, r);
|
|
2189
|
-
for (let b = 0; b <
|
|
2190
|
-
|
|
2189
|
+
for (let b = 0; b < f.length; b += 1)
|
|
2190
|
+
f[b] && f[b].m(r, null);
|
|
2191
2191
|
je(
|
|
2192
2192
|
r,
|
|
2193
2193
|
/*selectedIndex*/
|
|
2194
2194
|
a[9],
|
|
2195
2195
|
!0
|
|
2196
|
-
),
|
|
2196
|
+
), d || (p = [
|
|
2197
2197
|
ee(
|
|
2198
2198
|
r,
|
|
2199
2199
|
"change",
|
|
@@ -2206,7 +2206,7 @@ function lt(a) {
|
|
|
2206
2206
|
/*change_handler*/
|
|
2207
2207
|
a[61]
|
|
2208
2208
|
)
|
|
2209
|
-
],
|
|
2209
|
+
], d = !0);
|
|
2210
2210
|
},
|
|
2211
2211
|
p(h, M) {
|
|
2212
2212
|
if (M[0] & /*$_*/
|
|
@@ -2214,18 +2214,18 @@ function lt(a) {
|
|
|
2214
2214
|
h[26]("limitType") + "") && N(o, i), M[0] & /*availableLimits*/
|
|
2215
2215
|
64 | M[1] & /*determineLimitName*/
|
|
2216
2216
|
64) {
|
|
2217
|
-
|
|
2217
|
+
m = me(
|
|
2218
2218
|
/*availableLimits*/
|
|
2219
2219
|
h[6]
|
|
2220
2220
|
);
|
|
2221
2221
|
let b;
|
|
2222
|
-
for (b = 0; b <
|
|
2223
|
-
const j = Qe(h,
|
|
2224
|
-
|
|
2222
|
+
for (b = 0; b < m.length; b += 1) {
|
|
2223
|
+
const j = Qe(h, m, b);
|
|
2224
|
+
f[b] ? f[b].p(j, M) : (f[b] = mt(j), f[b].c(), f[b].m(r, null));
|
|
2225
2225
|
}
|
|
2226
|
-
for (; b <
|
|
2227
|
-
|
|
2228
|
-
|
|
2226
|
+
for (; b < f.length; b += 1)
|
|
2227
|
+
f[b].d(1);
|
|
2228
|
+
f.length = m.length;
|
|
2229
2229
|
}
|
|
2230
2230
|
M[0] & /*selectedIndex*/
|
|
2231
2231
|
512 && je(
|
|
@@ -2235,7 +2235,7 @@ function lt(a) {
|
|
|
2235
2235
|
);
|
|
2236
2236
|
},
|
|
2237
2237
|
d(h) {
|
|
2238
|
-
h && A(e), Te(
|
|
2238
|
+
h && A(e), Te(f, h), d = !1, De(p);
|
|
2239
2239
|
}
|
|
2240
2240
|
};
|
|
2241
2241
|
}
|
|
@@ -2272,20 +2272,20 @@ function ut(a) {
|
|
|
2272
2272
|
let e, t, i = (
|
|
2273
2273
|
/*$_*/
|
|
2274
2274
|
a[26]("period") + ""
|
|
2275
|
-
), o, s, r,
|
|
2275
|
+
), o, s, r, d, p, m = me(
|
|
2276
2276
|
/*limitsConfig*/
|
|
2277
2277
|
a[5][
|
|
2278
2278
|
/*selectedLimit*/
|
|
2279
2279
|
a[7]
|
|
2280
2280
|
].periods
|
|
2281
|
-
),
|
|
2282
|
-
for (let h = 0; h <
|
|
2283
|
-
|
|
2281
|
+
), f = [];
|
|
2282
|
+
for (let h = 0; h < m.length; h += 1)
|
|
2283
|
+
f[h] = dt(Je(a, m, h));
|
|
2284
2284
|
return {
|
|
2285
2285
|
c() {
|
|
2286
2286
|
e = k("label"), t = k("span"), o = I(i), s = B(), r = k("select");
|
|
2287
|
-
for (let h = 0; h <
|
|
2288
|
-
|
|
2287
|
+
for (let h = 0; h < f.length; h += 1)
|
|
2288
|
+
f[h].c();
|
|
2289
2289
|
c(t, "class", "PeriodSelectText"), c(r, "name", ""), c(r, "id", ""), /*selectedPeriod*/
|
|
2290
2290
|
a[8] === void 0 && ft(() => (
|
|
2291
2291
|
/*select_change_handler_1*/
|
|
@@ -2294,26 +2294,26 @@ function ut(a) {
|
|
|
2294
2294
|
},
|
|
2295
2295
|
m(h, M) {
|
|
2296
2296
|
T(h, e, M), u(e, t), u(t, o), u(e, s), u(e, r);
|
|
2297
|
-
for (let b = 0; b <
|
|
2298
|
-
|
|
2297
|
+
for (let b = 0; b < f.length; b += 1)
|
|
2298
|
+
f[b] && f[b].m(r, null);
|
|
2299
2299
|
je(
|
|
2300
2300
|
r,
|
|
2301
2301
|
/*selectedPeriod*/
|
|
2302
2302
|
a[8],
|
|
2303
2303
|
!0
|
|
2304
|
-
),
|
|
2304
|
+
), d || (p = ee(
|
|
2305
2305
|
r,
|
|
2306
2306
|
"change",
|
|
2307
2307
|
/*select_change_handler_1*/
|
|
2308
2308
|
a[62]
|
|
2309
|
-
),
|
|
2309
|
+
), d = !0);
|
|
2310
2310
|
},
|
|
2311
2311
|
p(h, M) {
|
|
2312
2312
|
if (M[0] & /*$_*/
|
|
2313
2313
|
67108864 && i !== (i = /*$_*/
|
|
2314
2314
|
h[26]("period") + "") && N(o, i), M[0] & /*limitsConfig, selectedLimit, $_*/
|
|
2315
2315
|
67109024) {
|
|
2316
|
-
|
|
2316
|
+
m = me(
|
|
2317
2317
|
/*limitsConfig*/
|
|
2318
2318
|
h[5][
|
|
2319
2319
|
/*selectedLimit*/
|
|
@@ -2321,13 +2321,13 @@ function ut(a) {
|
|
|
2321
2321
|
].periods
|
|
2322
2322
|
);
|
|
2323
2323
|
let b;
|
|
2324
|
-
for (b = 0; b <
|
|
2325
|
-
const j = Je(h,
|
|
2326
|
-
|
|
2324
|
+
for (b = 0; b < m.length; b += 1) {
|
|
2325
|
+
const j = Je(h, m, b);
|
|
2326
|
+
f[b] ? f[b].p(j, M) : (f[b] = dt(j), f[b].c(), f[b].m(r, null));
|
|
2327
2327
|
}
|
|
2328
|
-
for (; b <
|
|
2329
|
-
|
|
2330
|
-
|
|
2328
|
+
for (; b < f.length; b += 1)
|
|
2329
|
+
f[b].d(1);
|
|
2330
|
+
f.length = m.length;
|
|
2331
2331
|
}
|
|
2332
2332
|
M[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
|
|
2333
2333
|
416 && je(
|
|
@@ -2337,7 +2337,7 @@ function ut(a) {
|
|
|
2337
2337
|
);
|
|
2338
2338
|
},
|
|
2339
2339
|
d(h) {
|
|
2340
|
-
h && A(e), Te(
|
|
2340
|
+
h && A(e), Te(f, h), d = !1, p();
|
|
2341
2341
|
}
|
|
2342
2342
|
};
|
|
2343
2343
|
}
|
|
@@ -2460,48 +2460,48 @@ function Zi(a) {
|
|
|
2460
2460
|
};
|
|
2461
2461
|
}
|
|
2462
2462
|
function Ji(a) {
|
|
2463
|
-
let e, t, i
|
|
2463
|
+
let e, t, i = (
|
|
2464
2464
|
/*popupVisible*/
|
|
2465
2465
|
a[19] && tt(a)
|
|
2466
2466
|
);
|
|
2467
|
-
function
|
|
2467
|
+
function o(d, p) {
|
|
2468
2468
|
if (
|
|
2469
2469
|
/*skeletonLoading*/
|
|
2470
|
-
|
|
2470
|
+
d[16]
|
|
2471
2471
|
)
|
|
2472
2472
|
return Ni;
|
|
2473
2473
|
if (
|
|
2474
2474
|
/*hasErrors*/
|
|
2475
|
-
|
|
2475
|
+
d[17]
|
|
2476
2476
|
)
|
|
2477
2477
|
return Ui;
|
|
2478
2478
|
if (!/*skeletonLoading*/
|
|
2479
|
-
|
|
2479
|
+
d[16])
|
|
2480
2480
|
return Ii;
|
|
2481
2481
|
}
|
|
2482
|
-
let
|
|
2482
|
+
let s = o(a), r = s && s(a);
|
|
2483
2483
|
return {
|
|
2484
2484
|
c() {
|
|
2485
|
-
e = k("
|
|
2485
|
+
e = k("div"), i && i.c(), t = B(), r && r.c();
|
|
2486
2486
|
},
|
|
2487
|
-
m(
|
|
2488
|
-
|
|
2487
|
+
m(d, p) {
|
|
2488
|
+
T(d, e, p), i && i.m(e, null), u(e, t), r && r.m(e, null), a[65](e);
|
|
2489
2489
|
},
|
|
2490
|
-
p(
|
|
2490
|
+
p(d, p) {
|
|
2491
2491
|
/*popupVisible*/
|
|
2492
|
-
|
|
2492
|
+
d[19] ? i ? i.p(d, p) : (i = tt(d), i.c(), i.m(e, t)) : i && (i.d(1), i = null), s === (s = o(d)) && r ? r.p(d, p) : (r && r.d(1), r = s && s(d), r && (r.c(), r.m(e, null)));
|
|
2493
2493
|
},
|
|
2494
2494
|
i: ge,
|
|
2495
2495
|
o: ge,
|
|
2496
|
-
d(
|
|
2497
|
-
|
|
2496
|
+
d(d) {
|
|
2497
|
+
d && A(e), i && i.d(), r && r.d(), a[65](null);
|
|
2498
2498
|
}
|
|
2499
2499
|
};
|
|
2500
2500
|
}
|
|
2501
2501
|
function Qi(a, e, t) {
|
|
2502
2502
|
let i;
|
|
2503
2503
|
Li(a, bi, (n) => t(26, i = n));
|
|
2504
|
-
let { lang: o = "en" } = e, { currency: s = "" } = e, { limits: r = "" } = e, { session:
|
|
2504
|
+
let { lang: o = "en" } = e, { currency: s = "" } = e, { limits: r = "" } = e, { session: d = "" } = e, { userid: p = "" } = e, { endpoint: m = "" } = e, { apiversion: f = "" } = e, { customcurrencysymbols: h = "" } = e, { enablecompliancetext: M = "" } = e, { deletelimit: b = "" } = e, { amountsconfig: j = "" } = e, { periodsconfig: H = "" } = e, { limittabindex: G = "" } = e, { limitformat: V = "" } = e, { clientstyling: q = "" } = e, { clientstylingurl: P = "" } = e, { mbsource: U } = e, { translationurl: R = "" } = e, D, w = window.navigator.userAgent, z = !fi(w), S = [], y = "", _ = "", K = "", C = 0, E, F, le = "", pe = "", Ce = "", ue = {}, ce = {}, Ie = !1, Ee = !1, X = !0, Z = !1, xe = !1, Le = !1, ne = !1, ie = "", ye = "", J = [], he, Ue, ke = !1, gt = {}, fe = { EUR: "€", RON: " lei", USD: "$" }, $ = {};
|
|
2505
2505
|
const Ne = {
|
|
2506
2506
|
wager: "wagering",
|
|
2507
2507
|
loss: "loss",
|
|
@@ -2513,33 +2513,33 @@ function Qi(a, e, t) {
|
|
|
2513
2513
|
unableToUpdatePendingRequest: ["SYS_1037", "SYS_1142", "SYS_1140"],
|
|
2514
2514
|
internalServerError: ["F0004", "F0006"]
|
|
2515
2515
|
}, yt = () => {
|
|
2516
|
-
fetch(R).then((
|
|
2517
|
-
Object.keys(
|
|
2518
|
-
Ze(
|
|
2516
|
+
fetch(R).then((l) => l.json()).then((l) => {
|
|
2517
|
+
Object.keys(l).forEach((L) => {
|
|
2518
|
+
Ze(L, l[L]);
|
|
2519
2519
|
});
|
|
2520
|
-
}).catch((
|
|
2521
|
-
console.log(
|
|
2520
|
+
}).catch((l) => {
|
|
2521
|
+
console.log(l);
|
|
2522
2522
|
});
|
|
2523
2523
|
};
|
|
2524
2524
|
Object.keys(de).forEach((n) => {
|
|
2525
2525
|
Ze(n, de[n]);
|
|
2526
2526
|
});
|
|
2527
|
-
const Me = (n) => `dataLayer-${n}`, Q = (n,
|
|
2527
|
+
const Me = (n) => `dataLayer-${n}`, Q = (n, l) => {
|
|
2528
2528
|
typeof gtag == "function" && gtag({
|
|
2529
2529
|
event: n,
|
|
2530
2530
|
limit_category: de[o][Me(K.toLowerCase())] || K,
|
|
2531
2531
|
limit_type: de[o][Me(y.toLowerCase())] || y,
|
|
2532
2532
|
limit_period: de[o][Me(_.toLowerCase())] || _,
|
|
2533
|
-
limit_amount: E ||
|
|
2533
|
+
limit_amount: E || l
|
|
2534
2534
|
});
|
|
2535
2535
|
}, ht = () => {
|
|
2536
|
-
const n = j.split(",").map((g) => g.split(":")),
|
|
2536
|
+
const n = j.split(",").map((g) => g.split(":")), l = H.split(",").map((g) => g.split(":"));
|
|
2537
2537
|
for (let [g, v] of n.entries())
|
|
2538
|
-
if (v[0] !==
|
|
2539
|
-
throw new Error(`Limit config mismatch: "${v[0]}" does not match "${
|
|
2540
|
-
const
|
|
2538
|
+
if (v[0] !== l[g][0])
|
|
2539
|
+
throw new Error(`Limit config mismatch: "${v[0]}" does not match "${l[g][0]}"`);
|
|
2540
|
+
const L = n.reduce(
|
|
2541
2541
|
(g, v, x) => {
|
|
2542
|
-
const te = v[0].slice(v[0].indexOf("(") + 1, v[0].indexOf(")")), re = v[0].slice(0, v[0].indexOf("(")), we = v[1], _e =
|
|
2542
|
+
const te = v[0].slice(v[0].indexOf("(") + 1, v[0].indexOf(")")), re = v[0].slice(0, v[0].indexOf("(")), we = v[1], _e = l[x][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), ze = {
|
|
2543
2543
|
value: te,
|
|
2544
2544
|
product: re,
|
|
2545
2545
|
minMax: we,
|
|
@@ -2552,17 +2552,17 @@ function Qi(a, e, t) {
|
|
|
2552
2552
|
},
|
|
2553
2553
|
[]
|
|
2554
2554
|
);
|
|
2555
|
-
for (let g = 0; g <
|
|
2556
|
-
t(6, S[g].product =
|
|
2555
|
+
for (let g = 0; g < L.length; g++)
|
|
2556
|
+
t(6, S[g].product = L[g].product, S), t(6, S[g].min = parseInt(L[g].minMax.split("-")[0], 10), S), t(6, S[g].max = parseInt(L[g].minMax.split("-")[1], 10), S), t(5, O[L[g].value].periods = L[g].periods, O);
|
|
2557
2557
|
Ce = S[0]?.value, S.forEach((g) => {
|
|
2558
2558
|
ue[g.value] = { min: g.min, max: g.max }, gt[g.value] = g.product;
|
|
2559
2559
|
}), ue && (ue[Ce] ? (t(12, le = ue[Ce].min), t(13, pe = ue[Ce].max)) : (t(12, le = 1), t(13, pe = 9999999)));
|
|
2560
2560
|
}, kt = () => {
|
|
2561
2561
|
const n = /\(([^)]+)\)/g;
|
|
2562
|
-
return [...j.matchAll(n)].flat().filter((
|
|
2562
|
+
return [...j.matchAll(n)].flat().filter((L) => !L.includes("("));
|
|
2563
2563
|
}, vt = () => {
|
|
2564
|
-
kt().forEach((
|
|
2565
|
-
O[
|
|
2564
|
+
kt().forEach((l) => {
|
|
2565
|
+
O[l] ? S.push({ ...O[l] }) : console.error(`Unknown limit: ${l}`);
|
|
2566
2566
|
}), ht(), t(7, y = S[0].value), t(8, _ = O[y].periods[0]), K = S[0].product, t(14, Ie = S.length > 1), t(15, Ee = O[y].periods.length > 1);
|
|
2567
2567
|
}, Be = () => {
|
|
2568
2568
|
t(7, y = S[C].value), t(8, _ = O[y].periods[0]), t(15, Ee = O[y].periods.length > 1);
|
|
@@ -2575,54 +2575,54 @@ function Qi(a, e, t) {
|
|
|
2575
2575
|
return t(18, xe = !1), n.status !== 204 ? n.json() : n;
|
|
2576
2576
|
}, bt = (n) => {
|
|
2577
2577
|
t(17, Z = !0);
|
|
2578
|
-
let
|
|
2579
|
-
throw n.json().then((
|
|
2578
|
+
let l;
|
|
2579
|
+
throw n.json().then((L) => {
|
|
2580
2580
|
for (const g in Re)
|
|
2581
|
-
if (Re[g].some((v) =>
|
|
2582
|
-
|
|
2581
|
+
if (Re[g].some((v) => L.error.includes(v))) {
|
|
2582
|
+
l = g;
|
|
2583
2583
|
break;
|
|
2584
2584
|
}
|
|
2585
|
-
console.error("errType",
|
|
2585
|
+
console.error("errType", l), !l && be(L);
|
|
2586
2586
|
}).finally(() => {
|
|
2587
|
-
|
|
2587
|
+
l && be(l), t(17, Z = !1), t(16, X = !1);
|
|
2588
2588
|
}), new Error("An error occured during the fetch request");
|
|
2589
2589
|
}, wt = () => {
|
|
2590
2590
|
if (!(E > 0))
|
|
2591
2591
|
return;
|
|
2592
2592
|
se(), t(16, X = !0);
|
|
2593
|
-
let n = new URL(`/v2/player/${
|
|
2594
|
-
y === "sessionLimit" ?
|
|
2593
|
+
let n = new URL(`/v2/player/${p}/limits`, m), l = {};
|
|
2594
|
+
y === "sessionLimit" ? l = {
|
|
2595
2595
|
sessionLimit: E,
|
|
2596
2596
|
sessionLimitUnit: "minute"
|
|
2597
|
-
} : y === "cumulativeSession" ?
|
|
2597
|
+
} : y === "cumulativeSession" ? l[O[y].callValue] = [
|
|
2598
2598
|
{
|
|
2599
2599
|
period: _,
|
|
2600
2600
|
minutes: E
|
|
2601
2601
|
}
|
|
2602
|
-
] :
|
|
2602
|
+
] : l[O[y].callValue] = [
|
|
2603
2603
|
{
|
|
2604
2604
|
period: O[y].periods[0] === "None" ? null : _,
|
|
2605
2605
|
amount: E,
|
|
2606
2606
|
currency: s
|
|
2607
2607
|
}
|
|
2608
2608
|
];
|
|
2609
|
-
let
|
|
2609
|
+
let L = {
|
|
2610
2610
|
method: "PUT",
|
|
2611
2611
|
headers: {
|
|
2612
|
-
"X-SessionID":
|
|
2612
|
+
"X-SessionID": d,
|
|
2613
2613
|
"Content-Type": "application/json",
|
|
2614
2614
|
Accept: "application/json"
|
|
2615
2615
|
},
|
|
2616
|
-
body: JSON.stringify(
|
|
2616
|
+
body: JSON.stringify(l)
|
|
2617
2617
|
};
|
|
2618
|
-
fetch(n.href,
|
|
2618
|
+
fetch(n.href, L).then((g) => ae(g)).then((g) => {
|
|
2619
2619
|
Q("self_limitation_success"), oe();
|
|
2620
2620
|
}).catch((g) => {
|
|
2621
2621
|
console.error(g), t(17, Z = !0);
|
|
2622
2622
|
});
|
|
2623
2623
|
}, _t = () => {
|
|
2624
2624
|
se(), t(16, X = !0);
|
|
2625
|
-
const
|
|
2625
|
+
const l = S[C].currentLimits.find((re) => re.period === _), L = l ? "v2" : "v1", g = new URL(`/${L}/player/${p}/limits/monetary/${l ? l.id : ""}`, m), v = l ? "PUT" : "POST", x = l ? { amount: E, skipCoolOff: !1 } : {
|
|
2626
2626
|
amount: E,
|
|
2627
2627
|
currency: s,
|
|
2628
2628
|
// 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
|
|
@@ -2634,7 +2634,7 @@ function Qi(a, e, t) {
|
|
|
2634
2634
|
let te = {
|
|
2635
2635
|
method: v,
|
|
2636
2636
|
headers: {
|
|
2637
|
-
"X-SessionID":
|
|
2637
|
+
"X-SessionID": d,
|
|
2638
2638
|
"Content-Type": "application/json",
|
|
2639
2639
|
Accept: "application/json"
|
|
2640
2640
|
},
|
|
@@ -2649,11 +2649,11 @@ function Qi(a, e, t) {
|
|
|
2649
2649
|
if (!(E > 0))
|
|
2650
2650
|
return;
|
|
2651
2651
|
se(), t(16, X = !0);
|
|
2652
|
-
const n = new URL(`/v1/player/${
|
|
2652
|
+
const n = new URL(`/v1/player/${p}/limits/session/`, m);
|
|
2653
2653
|
let g = {
|
|
2654
2654
|
method: "PUT",
|
|
2655
2655
|
headers: {
|
|
2656
|
-
"X-SessionID":
|
|
2656
|
+
"X-SessionID": d,
|
|
2657
2657
|
"Content-Type": "application/json",
|
|
2658
2658
|
Accept: "application/json"
|
|
2659
2659
|
},
|
|
@@ -2671,11 +2671,11 @@ function Qi(a, e, t) {
|
|
|
2671
2671
|
if (!(E > 0))
|
|
2672
2672
|
return;
|
|
2673
2673
|
se(), t(16, X = !0);
|
|
2674
|
-
const n = new URL(`/v1/player/${
|
|
2674
|
+
const n = new URL(`/v1/player/${p}/limits/session/`, m);
|
|
2675
2675
|
let g = {
|
|
2676
2676
|
method: "PUT",
|
|
2677
2677
|
headers: {
|
|
2678
|
-
"X-SessionID":
|
|
2678
|
+
"X-SessionID": d,
|
|
2679
2679
|
"Content-Type": "application/json",
|
|
2680
2680
|
Accept: "application/json"
|
|
2681
2681
|
},
|
|
@@ -2697,11 +2697,11 @@ function Qi(a, e, t) {
|
|
|
2697
2697
|
if (!(E > 0))
|
|
2698
2698
|
return;
|
|
2699
2699
|
se(), t(16, X = !0);
|
|
2700
|
-
const n = new URL(`/v2/player/${
|
|
2700
|
+
const n = new URL(`/v2/player/${p}/limit/lugas`, m);
|
|
2701
2701
|
let g = {
|
|
2702
2702
|
method: "POST",
|
|
2703
2703
|
headers: {
|
|
2704
|
-
"X-SessionID":
|
|
2704
|
+
"X-SessionID": d,
|
|
2705
2705
|
"Content-Type": "application/json",
|
|
2706
2706
|
Accept: "application/json"
|
|
2707
2707
|
},
|
|
@@ -2718,7 +2718,7 @@ function Qi(a, e, t) {
|
|
|
2718
2718
|
console.log(v), t(17, Z = !0);
|
|
2719
2719
|
});
|
|
2720
2720
|
}, Ct = () => {
|
|
2721
|
-
if (ce = {},
|
|
2721
|
+
if (ce = {}, f === "gm16")
|
|
2722
2722
|
switch (y) {
|
|
2723
2723
|
case "lugas":
|
|
2724
2724
|
Tt();
|
|
@@ -2733,13 +2733,13 @@ function Qi(a, e, t) {
|
|
|
2733
2733
|
_t();
|
|
2734
2734
|
break;
|
|
2735
2735
|
}
|
|
2736
|
-
else if (
|
|
2736
|
+
else if (f === "gmcore")
|
|
2737
2737
|
wt();
|
|
2738
2738
|
else
|
|
2739
|
-
throw Error(`Invalid apiversion attribute: ${
|
|
2739
|
+
throw Error(`Invalid apiversion attribute: ${f}`);
|
|
2740
2740
|
Q("self_limitation_request");
|
|
2741
2741
|
}, oe = () => {
|
|
2742
|
-
switch (
|
|
2742
|
+
switch (f) {
|
|
2743
2743
|
case "gmcore":
|
|
2744
2744
|
jt();
|
|
2745
2745
|
break;
|
|
@@ -2749,96 +2749,96 @@ function Qi(a, e, t) {
|
|
|
2749
2749
|
}
|
|
2750
2750
|
}, jt = () => {
|
|
2751
2751
|
t(16, X = !0);
|
|
2752
|
-
let n = new URL(`/v2/player/${
|
|
2752
|
+
let n = new URL(`/v2/player/${p}/limits`, m), l = {
|
|
2753
2753
|
method: "GET",
|
|
2754
2754
|
headers: {
|
|
2755
|
-
"X-SessionID":
|
|
2755
|
+
"X-SessionID": d,
|
|
2756
2756
|
"Content-Type": "application/json",
|
|
2757
2757
|
Accept: "application/json"
|
|
2758
2758
|
}
|
|
2759
2759
|
};
|
|
2760
|
-
fetch(n.href,
|
|
2761
|
-
J =
|
|
2762
|
-
}).catch((
|
|
2763
|
-
console.error("Error LimitsWidget: ",
|
|
2760
|
+
fetch(n.href, l).then((L) => ae(L)).then((L) => {
|
|
2761
|
+
J = L, Le && be(), We(J), Et(J), t(10, E = null);
|
|
2762
|
+
}).catch((L) => {
|
|
2763
|
+
console.error("Error LimitsWidget: ", L), t(17, Z = !0);
|
|
2764
2764
|
}).finally(() => {
|
|
2765
2765
|
t(16, X = !1);
|
|
2766
2766
|
});
|
|
2767
2767
|
}, Dt = () => {
|
|
2768
2768
|
t(16, X = !0), J = [];
|
|
2769
|
-
let n = new URL(`/v1/player/${
|
|
2769
|
+
let n = new URL(`/v1/player/${p}/limits/monetary`, m), l = new URL(`/v1/player/${p}/limits/session`, m), L = !1, g = {
|
|
2770
2770
|
method: "GET",
|
|
2771
2771
|
headers: {
|
|
2772
|
-
"X-SessionID":
|
|
2772
|
+
"X-SessionID": d,
|
|
2773
2773
|
"Content-Type": "application/json",
|
|
2774
2774
|
Accept: "application/json"
|
|
2775
2775
|
}
|
|
2776
2776
|
};
|
|
2777
2777
|
fetch(n.href, g).then((v) => ae(v)).then((v) => {
|
|
2778
|
-
J.push(v),
|
|
2778
|
+
J.push(v), f === "gmcore" && We(J), f === "gm16" && xt(J), Le && be(), t(10, E = null);
|
|
2779
2779
|
}).catch((v) => {
|
|
2780
2780
|
console.error("Error LimitsWidget: ", v), t(17, Z = !0);
|
|
2781
2781
|
}).finally(() => {
|
|
2782
|
-
|
|
2783
|
-
}), fetch(
|
|
2784
|
-
J.push(v), Le && be(),
|
|
2782
|
+
L && t(16, X = !1), L = !0;
|
|
2783
|
+
}), fetch(l.href, g).then((v) => ae(v)).then((v) => {
|
|
2784
|
+
J.push(v), Le && be(), f === "gm16" && Mt(J), f === "gm16" && Pt(J), t(10, E = null);
|
|
2785
2785
|
}).catch((v) => {
|
|
2786
2786
|
console.error("Error LimitsWidget: ", v), t(17, Z = !0);
|
|
2787
2787
|
}).finally(() => {
|
|
2788
|
-
|
|
2788
|
+
L && t(16, X = !1), L = !0;
|
|
2789
2789
|
});
|
|
2790
2790
|
}, We = (n) => {
|
|
2791
|
-
S.forEach((
|
|
2792
|
-
|
|
2793
|
-
const
|
|
2794
|
-
|
|
2795
|
-
const x = n[O[
|
|
2796
|
-
|
|
2797
|
-
}),
|
|
2791
|
+
S.forEach((l) => {
|
|
2792
|
+
l.currentLimits = [];
|
|
2793
|
+
const L = Array.isArray(n[O[l.value].callValue]) ? n[O[l.value].callValue] : [n[O[l.value].callValue]];
|
|
2794
|
+
L.length === 0 || L[0] === void 0 || (L.forEach((g, v) => {
|
|
2795
|
+
const x = n[O[l.value].callValue][v];
|
|
2796
|
+
l.currentLimits.push({}), l.currentLimits[v].limitType = l.value, l.currentLimits[v].amount = V ? x.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(x.amount), l.currentLimits[v].currency = fe[x.currency] ?? x.currency, l.currentLimits[v].period = x.period, l.currentLimits[v].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(x.updateAmount), l.currentLimits[v].isModified = x.isModified, l.currentLimits[v].expiryDate = `${new Date(x.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
|
|
2797
|
+
}), l.currentLimits = ve(l.currentLimits));
|
|
2798
2798
|
});
|
|
2799
2799
|
}, Et = (n) => {
|
|
2800
|
-
const
|
|
2801
|
-
S.filter((
|
|
2802
|
-
|
|
2803
|
-
const x = n[O[
|
|
2804
|
-
|
|
2805
|
-
limitType:
|
|
2800
|
+
const l = i("minutes");
|
|
2801
|
+
S.filter((L) => L.value === "sessionLimit" || L.value === "cumulativeSession").forEach((L) => {
|
|
2802
|
+
L.currentLimits = [], n[O[L.value].callValue]?.forEach((g, v) => {
|
|
2803
|
+
const x = n[O[L.value].callValue][v];
|
|
2804
|
+
L.currentLimits.push({
|
|
2805
|
+
limitType: L.value,
|
|
2806
2806
|
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(x.minutes),
|
|
2807
|
-
currency:
|
|
2807
|
+
currency: l,
|
|
2808
2808
|
isModified: x.isModified,
|
|
2809
|
-
period:
|
|
2809
|
+
period: L.value === "cumulativeSession" ? x.period : "None",
|
|
2810
2810
|
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(x.updateMinutes),
|
|
2811
2811
|
expiryDate: `${new Date(x.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`
|
|
2812
2812
|
});
|
|
2813
|
-
}),
|
|
2813
|
+
}), L.currentLimits = ve(L.currentLimits);
|
|
2814
2814
|
});
|
|
2815
2815
|
}, xt = (n) => {
|
|
2816
|
-
n[0]?.limits && S.forEach((
|
|
2817
|
-
|
|
2818
|
-
for (const
|
|
2819
|
-
if (
|
|
2820
|
-
let g = 0, v =
|
|
2821
|
-
|
|
2822
|
-
limitType:
|
|
2823
|
-
amount: V ?
|
|
2824
|
-
currency: fe[
|
|
2825
|
-
isModified:
|
|
2826
|
-
period:
|
|
2827
|
-
product:
|
|
2816
|
+
n[0]?.limits && S.forEach((l) => {
|
|
2817
|
+
l.currentLimits = [];
|
|
2818
|
+
for (const L of n[0].limits)
|
|
2819
|
+
if (L.type === l.callValue16 && L.products.includes(l.product)) {
|
|
2820
|
+
let g = 0, v = L.schedules.length > 0 ? L.schedules.find((x) => x.id) : {};
|
|
2821
|
+
L.schedules.length > 0 && (g = V ? v.updateAmount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(v.updateAmount)), l.currentLimits.push({
|
|
2822
|
+
limitType: l.value,
|
|
2823
|
+
amount: V ? L.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(L.amount),
|
|
2824
|
+
currency: fe[L.currency] ?? L.currency,
|
|
2825
|
+
isModified: L.schedules.length > 0,
|
|
2826
|
+
period: L.period,
|
|
2827
|
+
product: L.products[0],
|
|
2828
2828
|
updateAmount: g,
|
|
2829
2829
|
isCoolOffCompleted: v ? v.isCoolOffCompleted : !1,
|
|
2830
2830
|
scheduleId: v ? v.id : null,
|
|
2831
|
-
expiryDate:
|
|
2832
|
-
id:
|
|
2833
|
-
}),
|
|
2831
|
+
expiryDate: L.schedules.length > 0 ? `${new Date(L.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "",
|
|
2832
|
+
id: L.id
|
|
2833
|
+
}), l.currentLimits.forEach((x) => {
|
|
2834
2834
|
x.acknowledgedLimit = Object.keys($).some((te) => x.scheduleId === te);
|
|
2835
2835
|
});
|
|
2836
2836
|
}
|
|
2837
|
-
|
|
2837
|
+
l.currentLimits = ve(l.currentLimits);
|
|
2838
2838
|
});
|
|
2839
2839
|
}, Mt = (n) => {
|
|
2840
|
-
n[1]?.sessionLimit && S.filter((
|
|
2841
|
-
|
|
2840
|
+
n[1]?.sessionLimit && S.filter((l) => l.value === "sessionLimit").forEach((l) => {
|
|
2841
|
+
l.currentLimits.push({
|
|
2842
2842
|
limitType: "sessionLimit",
|
|
2843
2843
|
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n[1].sessionLimit.minutes),
|
|
2844
2844
|
currency: i("minutes"),
|
|
@@ -2846,25 +2846,25 @@ function Qi(a, e, t) {
|
|
|
2846
2846
|
period: "None",
|
|
2847
2847
|
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n[1].sessionLimit.updateMinutes),
|
|
2848
2848
|
expiryDate: n[1].sessionLimit.expiryDate
|
|
2849
|
-
}),
|
|
2849
|
+
}), l.currentLimits = ve(l.currentLimits);
|
|
2850
2850
|
});
|
|
2851
2851
|
}, Pt = (n) => {
|
|
2852
|
-
n[1]?.cumulativeSessionLimits && S.filter((
|
|
2853
|
-
for (const
|
|
2854
|
-
|
|
2852
|
+
n[1]?.cumulativeSessionLimits && S.filter((l) => l.value === "cumulativeSession").forEach((l) => {
|
|
2853
|
+
for (const L of n[1].cumulativeSessionLimits)
|
|
2854
|
+
l.currentLimits.push({
|
|
2855
2855
|
limitType: "cumulativeSession",
|
|
2856
|
-
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
2856
|
+
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(L.minutes),
|
|
2857
2857
|
currency: i("minutes"),
|
|
2858
|
-
isModified:
|
|
2859
|
-
period:
|
|
2860
|
-
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
2861
|
-
expiryDate:
|
|
2858
|
+
isModified: L.isModified,
|
|
2859
|
+
period: L.period,
|
|
2860
|
+
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(L.updateMinutes),
|
|
2861
|
+
expiryDate: L.expiryDate
|
|
2862
2862
|
});
|
|
2863
|
-
|
|
2863
|
+
l.currentLimits = ve(l.currentLimits);
|
|
2864
2864
|
});
|
|
2865
2865
|
}, ve = (n) => {
|
|
2866
|
-
const
|
|
2867
|
-
return n.sort((
|
|
2866
|
+
const l = { Daily: 0, Weekly: 1, Monthly: 2 };
|
|
2867
|
+
return n.sort((L, g) => l[L.period] - l[g.period]), n;
|
|
2868
2868
|
}, zt = () => {
|
|
2869
2869
|
const n = E - Math.floor(E) === 0;
|
|
2870
2870
|
E >= le && E <= pe && n ? (t(24, ke = !1), F.removeAttribute("disabled")) : (t(24, ke = !0), F.setAttribute("disabled", "true"));
|
|
@@ -2872,31 +2872,31 @@ function Qi(a, e, t) {
|
|
|
2872
2872
|
t(24, ke = !1), ue?.[y] ? (t(12, le = ue[y].min), t(13, pe = ue[y].max)) : (t(12, le = 1), t(13, pe = 9999999));
|
|
2873
2873
|
}, It = () => {
|
|
2874
2874
|
if (J) {
|
|
2875
|
-
const n = J[O[y].callValue].find((g) => g.period === _),
|
|
2876
|
-
let
|
|
2877
|
-
t(21, ie = n.isModified ? `${i("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` :
|
|
2875
|
+
const n = J[O[y].callValue].find((g) => g.period === _), l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.amount);
|
|
2876
|
+
let L = i("popupImmediateUpdate").replace("{selectedLimit}", Pe()).replace("{updatedAmount}", l).replace("{currency}", fe[n.currency] || n.currency).replace("{selectedPeriod}", i(`${_}`));
|
|
2877
|
+
t(21, ie = n.isModified ? `${i("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : L);
|
|
2878
2878
|
}
|
|
2879
2879
|
t(20, ne = !0);
|
|
2880
2880
|
}, Ut = () => {
|
|
2881
2881
|
const n = J[0]?.limits || J.limits;
|
|
2882
|
-
let
|
|
2882
|
+
let l = null;
|
|
2883
2883
|
if (!J) {
|
|
2884
2884
|
t(20, ne = !0);
|
|
2885
2885
|
return;
|
|
2886
2886
|
}
|
|
2887
|
-
Object.keys(ce).length > 0 ?
|
|
2888
|
-
const
|
|
2889
|
-
let v = i("popupImmediateUpdate").replace("{selectedLimit}", Pe()).replace("{updatedAmount}",
|
|
2890
|
-
|
|
2887
|
+
Object.keys(ce).length > 0 ? l = n.find((x) => x.id === ce.id) : l = n.find((x) => x.type.toLowerCase() === Ne[y].toLowerCase() && (x.period === _ || x.period === "None") && x.products[0] === K), l?.schedules.length > 0 && $[l?.schedules[0].id] && (l.amount = l.schedules[0].updateAmount);
|
|
2888
|
+
const L = Ke(l) || 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)` : "";
|
|
2889
|
+
let v = i("popupImmediateUpdate").replace("{selectedLimit}", Pe()).replace("{updatedAmount}", L).replace("{selectedPeriod}", i(`${l.period}`));
|
|
2890
|
+
l.schedules.length > 0 && $[l.schedules[0].id] ? t(21, ie = v) : t(21, ie = l.schedules.length > 0 ? `${i("popupPendingUpdate")} ${g}` : v), t(20, ne = !0);
|
|
2891
2891
|
}, Nt = () => {
|
|
2892
2892
|
he == 1 && t(22, ye = "PopupKyc"), he == 2 && (t(21, ie = `${i("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(Ue)} ${s} ${i("popup2_b")}`), t(22, ye = "PopupKyc2")), he == 3 && (t(21, ie = i("popup3")), t(22, ye = "PopupSuccess")), t(20, ne = !0);
|
|
2893
2893
|
}, Rt = () => {
|
|
2894
2894
|
t(21, ie = i("sessionLimitUpdated")), t(20, ne = !0);
|
|
2895
2895
|
}, Bt = () => {
|
|
2896
2896
|
if (J) {
|
|
2897
|
-
const n = J[O[y].callValue].find((g) => (g.period === _ || _ === "None") && g.products[0] === K),
|
|
2898
|
-
let
|
|
2899
|
-
t(21, ie = n.isModified ? `${i("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` :
|
|
2897
|
+
const n = J[O[y].callValue].find((g) => (g.period === _ || _ === "None") && g.products[0] === K), l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.minutes);
|
|
2898
|
+
let L = i("popupImmediateUpdate").replace("{selectedLimit}", i(`${y}`)).replace("{updatedAmount}", l).replace("{currency}", i("minutes")).replace("{selectedPeriod}", i(`${_}`));
|
|
2899
|
+
t(21, ie = n.isModified ? `${i("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : L);
|
|
2900
2900
|
}
|
|
2901
2901
|
t(20, ne = !0);
|
|
2902
2902
|
}, Ot = (n) => n?.error?.includes("Limit update is not permitted due to LimitUpdateControl"), Wt = (n) => n?.error?.includes("Limit remove is not permitted due to LimitUpdateControl"), Vt = (n) => n?.error?.includes("[NotFoundException] Limit does not exist"), qt = (n) => n.error?.includes("Invalid Session"), be = (n) => {
|
|
@@ -2908,7 +2908,7 @@ function Qi(a, e, t) {
|
|
|
2908
2908
|
n.thirdPartyResponse || t(21, ie = i(`${n}`)), n.thirdPartyResponse && t(21, ie = n.thirdPartyResponse.message), Ot(n) && t(21, ie = i("popupUpdateLimitException")), Wt(n) && t(21, ie = i("popupRemoveLimitException")), Vt(n) && t(21, ie = i("notFoundException")), qt(n) && t(21, ie = i("sessionExpiredException")), t(20, ne = !0);
|
|
2909
2909
|
return;
|
|
2910
2910
|
}
|
|
2911
|
-
switch (
|
|
2911
|
+
switch (f) {
|
|
2912
2912
|
case "gmcore":
|
|
2913
2913
|
y === "sessionLimit" || y === "cumulativeSession" ? Bt() : It();
|
|
2914
2914
|
break;
|
|
@@ -2916,29 +2916,29 @@ function Qi(a, e, t) {
|
|
|
2916
2916
|
y === "lugas" ? Nt() : y === "sessionLimit" || y === "cumulativeSession" ? Rt() : Ut();
|
|
2917
2917
|
break;
|
|
2918
2918
|
default:
|
|
2919
|
-
throw new Error(`Invalid apiversion attribute: ${
|
|
2919
|
+
throw new Error(`Invalid apiversion attribute: ${f}`);
|
|
2920
2920
|
}
|
|
2921
2921
|
}, se = () => {
|
|
2922
2922
|
t(19, Le = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
|
|
2923
2923
|
}, Ft = (n) => {
|
|
2924
2924
|
t(7, y = n.limitType), t(8, _ = n.period), se(), t(16, X = !0);
|
|
2925
|
-
let
|
|
2926
|
-
n.limitType !== "sessionLimit" &&
|
|
2927
|
-
let
|
|
2925
|
+
let l = new URL(`/v2/player/${p}/limits/${Ne[n.limitType]}`, m);
|
|
2926
|
+
n.limitType !== "sessionLimit" && l.searchParams.append("periods", n.period);
|
|
2927
|
+
let L = {
|
|
2928
2928
|
method: "DELETE",
|
|
2929
2929
|
headers: {
|
|
2930
|
-
"X-SessionID":
|
|
2930
|
+
"X-SessionID": d,
|
|
2931
2931
|
"Content-Type": "application/json",
|
|
2932
2932
|
Accept: "application/json"
|
|
2933
2933
|
}
|
|
2934
2934
|
};
|
|
2935
|
-
fetch(
|
|
2935
|
+
fetch(l.href, L).then((g) => ae(g)).then((g) => {
|
|
2936
2936
|
Q("self_limitation_cancel_success", n.amount), oe();
|
|
2937
2937
|
}).catch((g) => {
|
|
2938
2938
|
Q("self_limitation_cancel_failed", n.amount), console.log(g), t(17, Z = !0);
|
|
2939
2939
|
});
|
|
2940
2940
|
}, qe = (n) => {
|
|
2941
|
-
switch (n.period,
|
|
2941
|
+
switch (n.period, f) {
|
|
2942
2942
|
case "gmcore":
|
|
2943
2943
|
Ft(n);
|
|
2944
2944
|
break;
|
|
@@ -2948,14 +2948,14 @@ function Qi(a, e, t) {
|
|
|
2948
2948
|
}
|
|
2949
2949
|
Q("self_limitation_cancel_request", n.amount);
|
|
2950
2950
|
}, Gt = (n) => {
|
|
2951
|
-
const
|
|
2951
|
+
const l = new URL(`/v1/player/${p}/limits/session/session`, m), L = new URL(`/v1/player/${p}/limits/session/cumulativeSession?periods=${n.period}`, m);
|
|
2952
2952
|
let g;
|
|
2953
2953
|
switch (n.limitType) {
|
|
2954
2954
|
case "sessionLimit":
|
|
2955
|
-
g =
|
|
2955
|
+
g = l;
|
|
2956
2956
|
break;
|
|
2957
2957
|
case "cumulativeSession":
|
|
2958
|
-
g =
|
|
2958
|
+
g = L;
|
|
2959
2959
|
break;
|
|
2960
2960
|
default:
|
|
2961
2961
|
throw Error(`Unknown limit.limitType: ${n.limitType}`);
|
|
@@ -2964,7 +2964,7 @@ function Qi(a, e, t) {
|
|
|
2964
2964
|
let v = {
|
|
2965
2965
|
method: "DELETE",
|
|
2966
2966
|
headers: {
|
|
2967
|
-
"X-SessionID":
|
|
2967
|
+
"X-SessionID": d,
|
|
2968
2968
|
"Content-Type": "application/json",
|
|
2969
2969
|
Accept: "application/json"
|
|
2970
2970
|
}
|
|
@@ -2975,76 +2975,76 @@ function Qi(a, e, t) {
|
|
|
2975
2975
|
Q("self_limitation_cancel_failed", n.amount), console.log(x), t(17, Z = !0);
|
|
2976
2976
|
});
|
|
2977
2977
|
}, Kt = (n) => {
|
|
2978
|
-
const
|
|
2978
|
+
const l = new URL(`/v1/player/${p}/limits/monetary/${n.id}`, m);
|
|
2979
2979
|
se(), t(16, X = !0);
|
|
2980
|
-
let
|
|
2980
|
+
let L = {
|
|
2981
2981
|
method: "DELETE",
|
|
2982
2982
|
headers: {
|
|
2983
|
-
"X-SessionID":
|
|
2983
|
+
"X-SessionID": d,
|
|
2984
2984
|
"Content-Type": "application/json",
|
|
2985
2985
|
Accept: "application/json"
|
|
2986
2986
|
}
|
|
2987
2987
|
};
|
|
2988
|
-
fetch(
|
|
2988
|
+
fetch(l.href, L).then((g) => ae(g)).then((g) => {
|
|
2989
2989
|
Q("self_limitation_cancel_success", n.amount), oe();
|
|
2990
2990
|
}).catch((g) => {
|
|
2991
2991
|
Q("self_limitation_cancel_failed", n.amount), console.log(g), t(17, Z = !0);
|
|
2992
2992
|
});
|
|
2993
2993
|
}, Fe = (n) => {
|
|
2994
|
-
const
|
|
2994
|
+
const l = new URL(`/v1/player/${p}/limits/schedule/${n.scheduleId}`, m);
|
|
2995
2995
|
se(), t(16, X = !0);
|
|
2996
|
-
let
|
|
2996
|
+
let L = {
|
|
2997
2997
|
method: "DELETE",
|
|
2998
2998
|
headers: {
|
|
2999
|
-
"X-SessionID":
|
|
2999
|
+
"X-SessionID": d,
|
|
3000
3000
|
"Content-Type": "application/json",
|
|
3001
3001
|
Accept: "application/json"
|
|
3002
3002
|
}
|
|
3003
3003
|
};
|
|
3004
|
-
fetch(
|
|
3004
|
+
fetch(l.href, L).then((g) => ae(g)).then((g) => {
|
|
3005
3005
|
ce = n, Q("self_limitation_cancel_success", n.updateAmount), oe();
|
|
3006
3006
|
}).catch((g) => {
|
|
3007
3007
|
Q("self_limitation_cancel_failed", n.updateAmount), console.log(g), t(17, Z = !0);
|
|
3008
3008
|
});
|
|
3009
3009
|
}, Ge = (n) => {
|
|
3010
|
-
const
|
|
3010
|
+
const l = new URL(`v1/player/${p}/limits/schedule/acknowledge/${n.scheduleId}`, m);
|
|
3011
3011
|
se(), t(16, X = !0);
|
|
3012
|
-
let
|
|
3012
|
+
let L = {
|
|
3013
3013
|
method: "PATCH",
|
|
3014
3014
|
headers: {
|
|
3015
|
-
"X-SessionID":
|
|
3015
|
+
"X-SessionID": d,
|
|
3016
3016
|
"Content-Type": "application/json",
|
|
3017
3017
|
Accept: "application/json"
|
|
3018
3018
|
}
|
|
3019
3019
|
};
|
|
3020
|
-
fetch(
|
|
3020
|
+
fetch(l.href, L).then((g) => ae(g)).then((g) => {
|
|
3021
3021
|
ce = n, Ht(n), Q("self_limitation_confirm_success", n.amount), oe();
|
|
3022
3022
|
}).catch((g) => {
|
|
3023
3023
|
Q("self_limitation_confirm_failed", n.amount), console.log(g), t(17, Z = !0);
|
|
3024
3024
|
});
|
|
3025
3025
|
}, Ht = (n) => {
|
|
3026
|
-
let
|
|
3027
|
-
t(25, $[n.scheduleId] = {}, $), t(25, $[n.scheduleId].timer = `${
|
|
3028
|
-
let
|
|
3029
|
-
() =>
|
|
3026
|
+
let l = 60;
|
|
3027
|
+
t(25, $[n.scheduleId] = {}, $), t(25, $[n.scheduleId].timer = `${l} ${de[o].seconds}`, $), t(25, $[n.scheduleId].timerStopped = !1, $);
|
|
3028
|
+
let L = window.setInterval(
|
|
3029
|
+
() => l === 0 ? (window.clearInterval(L), t(25, $[n.scheduleId].timerStopped = !0, $), t(25, $[n.scheduleId].timer = de[o].reloadLimitsButton, $)) : t(25, $[n.scheduleId].timer = `${--l} ${de[o].seconds}`, $),
|
|
3030
3030
|
1e3
|
|
3031
3031
|
);
|
|
3032
3032
|
}, Pe = (n) => {
|
|
3033
|
-
let
|
|
3034
|
-
return n ?
|
|
3035
|
-
}, Ke = (n,
|
|
3033
|
+
let l;
|
|
3034
|
+
return n ? l = i(n.value + n.product) : l = i(y), l;
|
|
3035
|
+
}, Ke = (n, l = !1) => {
|
|
3036
3036
|
if (!V)
|
|
3037
|
-
return
|
|
3038
|
-
let
|
|
3039
|
-
const g =
|
|
3040
|
-
let te =
|
|
3037
|
+
return l ? `${n.updateAmount}${n.currency}` : `${n.amount}${n.currency}`;
|
|
3038
|
+
let L = V;
|
|
3039
|
+
const g = L.match(/\{(\d+)decimals\}/), v = g ? parseInt(g[1], 10) : 2, x = g ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
3040
|
+
let te = l ? n.updateAmount : n.amount;
|
|
3041
3041
|
te = parseInt(te).toFixed(v);
|
|
3042
3042
|
const [re, we] = V.includes(".") ? [",", "."] : [".", ","];
|
|
3043
3043
|
let [_e, ze] = te.split(".");
|
|
3044
|
-
return _e = _e.replace(/\B(?=(\d{3})+(?!\d))/g, re), te = `${_e}${we}${ze}`,
|
|
3044
|
+
return _e = _e.replace(/\B(?=(\d{3})+(?!\d))/g, re), te = `${_e}${we}${ze}`, L = L.replace("{currency}", fe[n.currency] || n.currency).replace("{amount}", te.split(we)[0]).replace(
|
|
3045
3045
|
x,
|
|
3046
3046
|
te.split(we)[1]
|
|
3047
|
-
),
|
|
3047
|
+
), L;
|
|
3048
3048
|
}, He = () => {
|
|
3049
3049
|
t(20, ne = t(19, Le = !1)), t(22, ye = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
3050
3050
|
}, Yt = () => {
|
|
@@ -3055,9 +3055,9 @@ function Qi(a, e, t) {
|
|
|
3055
3055
|
if (!h)
|
|
3056
3056
|
return;
|
|
3057
3057
|
let n = {};
|
|
3058
|
-
h.split(",").forEach((
|
|
3059
|
-
let
|
|
3060
|
-
n[
|
|
3058
|
+
h.split(",").forEach((l) => {
|
|
3059
|
+
let L = l.split(":");
|
|
3060
|
+
n[L[0].trim()] = L[1].trim();
|
|
3061
3061
|
}), fe = { ...fe, ...n };
|
|
3062
3062
|
}, Jt = () => {
|
|
3063
3063
|
wi(o);
|
|
@@ -3088,13 +3088,13 @@ function Qi(a, e, t) {
|
|
|
3088
3088
|
});
|
|
3089
3089
|
}
|
|
3090
3090
|
return a.$$set = (n) => {
|
|
3091
|
-
"lang" in n && t(42, o = n.lang), "currency" in n && t(0, s = n.currency), "limits" in n && t(43, r = n.limits), "session" in n && t(44,
|
|
3091
|
+
"lang" in n && t(42, o = n.lang), "currency" in n && t(0, s = n.currency), "limits" in n && t(43, r = n.limits), "session" in n && t(44, d = n.session), "userid" in n && t(45, p = n.userid), "endpoint" in n && t(46, m = n.endpoint), "apiversion" in n && t(47, f = n.apiversion), "customcurrencysymbols" in n && t(48, h = n.customcurrencysymbols), "enablecompliancetext" in n && t(1, M = n.enablecompliancetext), "deletelimit" in n && t(2, b = n.deletelimit), "amountsconfig" in n && t(49, j = n.amountsconfig), "periodsconfig" in n && t(50, H = n.periodsconfig), "limittabindex" in n && t(3, G = n.limittabindex), "limitformat" in n && t(51, V = n.limitformat), "clientstyling" in n && t(52, q = n.clientstyling), "clientstylingurl" in n && t(53, P = n.clientstylingurl), "mbsource" in n && t(54, U = n.mbsource), "translationurl" in n && t(55, R = n.translationurl);
|
|
3092
3092
|
}, a.$$.update = () => {
|
|
3093
3093
|
a.$$.dirty[1] & /*customcurrencysymbols*/
|
|
3094
3094
|
131072 && h && Zt(), a.$$.dirty[1] & /*periodsconfig, amountsconfig*/
|
|
3095
3095
|
786432 && H && j && vt(), a.$$.dirty[1] & /*lang*/
|
|
3096
3096
|
2048 && o && Jt(), a.$$.dirty[1] & /*userid, session, endpoint, apiversion, lang*/
|
|
3097
|
-
124928 &&
|
|
3097
|
+
124928 && p && d && m && f && o && oe(), a.$$.dirty[0] & /*customStylingContainer*/
|
|
3098
3098
|
16 | a.$$.dirty[1] & /*clientstyling*/
|
|
3099
3099
|
2097152 && q && D && yi(D, q), a.$$.dirty[0] & /*customStylingContainer*/
|
|
3100
3100
|
16 | a.$$.dirty[1] & /*clientstylingurl*/
|
|
@@ -3147,10 +3147,10 @@ function Qi(a, e, t) {
|
|
|
3147
3147
|
Xt,
|
|
3148
3148
|
o,
|
|
3149
3149
|
r,
|
|
3150
|
-
p,
|
|
3151
3150
|
d,
|
|
3152
|
-
|
|
3153
|
-
|
|
3151
|
+
p,
|
|
3152
|
+
m,
|
|
3153
|
+
f,
|
|
3154
3154
|
h,
|
|
3155
3155
|
j,
|
|
3156
3156
|
H,
|