@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
|
@@ -9,7 +9,7 @@ var Ze = (a, e, t) => e in a ? pi(a, e, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
Li.call(e, t) && Ze(a, t, e[t]);
|
|
10
10
|
return a;
|
|
11
11
|
};
|
|
12
|
-
import { a as fi, $ as gi, S as yi, i as hi, s as ki, f as Z, b as vi, n as ye, d as A,
|
|
12
|
+
import { a as fi, $ as gi, S as yi, i as hi, s as ki, f as Z, b as vi, n as ye, d as A, g as C, h as u, j as v, k as O, p as bi, X as wi, u as _i, o as c, Q as Je, R as gt, w as Qe, O as ue, P as Ce, r as Ee, c as R, V as Ae, l as ie, m as U, F as yt, T as De, W as ht, v as V, Z as Se, x as Si, y as Ai, z as Ci, A as Ti, B as ji } from "./GeneralLogout-CYE3twI-.js";
|
|
13
13
|
import "../stencil/ui-skeleton-DoX-UmRU.js";
|
|
14
14
|
const W = {
|
|
15
15
|
lugas: {
|
|
@@ -1120,10 +1120,10 @@ function xi(a, e, t) {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
function ot(a) {
|
|
1122
1122
|
let e, t, i;
|
|
1123
|
-
function n(
|
|
1123
|
+
function n(d, p) {
|
|
1124
1124
|
return (
|
|
1125
1125
|
/*popupReady*/
|
|
1126
|
-
|
|
1126
|
+
d[20] ? Mi : zi
|
|
1127
1127
|
);
|
|
1128
1128
|
}
|
|
1129
1129
|
let s = n(a), l = s(a);
|
|
@@ -1133,17 +1133,17 @@ function ot(a) {
|
|
|
1133
1133
|
a[22] + " " + /*isDesktop*/
|
|
1134
1134
|
(a[27] ? "Desktop" : "")), c(e, "class", "PopupOverlay");
|
|
1135
1135
|
},
|
|
1136
|
-
m(
|
|
1137
|
-
C(
|
|
1136
|
+
m(d, p) {
|
|
1137
|
+
C(d, e, p), u(e, t), l.m(t, null);
|
|
1138
1138
|
},
|
|
1139
|
-
p(
|
|
1140
|
-
s === (s = n(
|
|
1139
|
+
p(d, p) {
|
|
1140
|
+
s === (s = n(d)) && l ? l.p(d, p) : (l.d(1), l = s(d), l && (l.c(), l.m(t, null))), p[0] & /*popupClass*/
|
|
1141
1141
|
4194304 && i !== (i = "PopupContainer " + /*popupClass*/
|
|
1142
|
-
|
|
1143
|
-
(
|
|
1142
|
+
d[22] + " " + /*isDesktop*/
|
|
1143
|
+
(d[27] ? "Desktop" : "")) && c(t, "class", i);
|
|
1144
1144
|
},
|
|
1145
|
-
d(
|
|
1146
|
-
|
|
1145
|
+
d(d) {
|
|
1146
|
+
d && A(e), l.d();
|
|
1147
1147
|
}
|
|
1148
1148
|
};
|
|
1149
1149
|
}
|
|
@@ -1151,7 +1151,7 @@ function Mi(a) {
|
|
|
1151
1151
|
let e, t, i = (
|
|
1152
1152
|
/*$_*/
|
|
1153
1153
|
a[26]("popupTitle") + ""
|
|
1154
|
-
), n, s, l,
|
|
1154
|
+
), n, s, l, d, p, m, f, h, x, b, j, Y, H;
|
|
1155
1155
|
function q(y, _) {
|
|
1156
1156
|
return (
|
|
1157
1157
|
/*popupErrorDisplay*/
|
|
@@ -1181,10 +1181,10 @@ function Mi(a) {
|
|
|
1181
1181
|
let P = w(a), S = P(a);
|
|
1182
1182
|
return {
|
|
1183
1183
|
c() {
|
|
1184
|
-
e = v("div"), t = v("span"), n = U(i), s = O(), l = v("button"), l.textContent = "X",
|
|
1184
|
+
e = v("div"), t = v("span"), n = U(i), s = O(), l = v("button"), l.textContent = "X", d = O(), p = v("div"), m = v("div"), M.c(), f = O(), D.c(), h = O(), x = v("p"), b = O(), S.c(), j = yt(), c(t, "class", "PopupTitle"), c(l, "class", "ClosePopup"), c(e, "class", "PopupTitleWrapper"), c(m, "class", "ResultIconWrapper"), c(x, "class", "DescriptionParagraph"), c(p, "class", "DescriptionWrapper");
|
|
1185
1185
|
},
|
|
1186
1186
|
m(y, _) {
|
|
1187
|
-
C(y, e, _), u(e, t), u(t, n), u(e, s), u(e, l), C(y,
|
|
1187
|
+
C(y, e, _), u(e, t), u(t, n), u(e, s), u(e, l), C(y, d, _), C(y, p, _), u(p, m), M.m(m, null), u(m, f), D.m(m, null), u(p, h), u(p, x), x.innerHTML = /*popupContent*/
|
|
1188
1188
|
a[21], C(y, b, _), S.m(y, _), C(y, j, _), Y || (H = ie(
|
|
1189
1189
|
l,
|
|
1190
1190
|
"click",
|
|
@@ -1195,12 +1195,12 @@ function Mi(a) {
|
|
|
1195
1195
|
p(y, _) {
|
|
1196
1196
|
_[0] & /*$_*/
|
|
1197
1197
|
67108864 && i !== (i = /*$_*/
|
|
1198
|
-
y[26]("popupTitle") + "") && R(n, i), F !== (F = q(y)) && (M.d(1), M = F(y), M && (M.c(), M.m(
|
|
1198
|
+
y[26]("popupTitle") + "") && R(n, i), F !== (F = q(y)) && (M.d(1), M = F(y), M && (M.c(), M.m(m, f))), B === (B = N(y)) && D ? D.p(y, _) : (D.d(1), D = B(y), D && (D.c(), D.m(m, null))), _[0] & /*popupContent*/
|
|
1199
1199
|
2097152 && (x.innerHTML = /*popupContent*/
|
|
1200
1200
|
y[21]), P === (P = w(y)) && S ? S.p(y, _) : (S.d(1), S = P(y), S && (S.c(), S.m(j.parentNode, j)));
|
|
1201
1201
|
},
|
|
1202
1202
|
d(y) {
|
|
1203
|
-
y && (A(e), A(
|
|
1203
|
+
y && (A(e), A(d), A(p), A(b), A(j)), M.d(), D.d(), S.d(y), Y = !1, H();
|
|
1204
1204
|
}
|
|
1205
1205
|
};
|
|
1206
1206
|
}
|
|
@@ -1229,11 +1229,11 @@ function Pi(a) {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
`), s = V("g"), l = V("polygon"), c(i, "type", "text/css"), c(l, "class", "fil0"), c(l, "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");
|
|
1231
1231
|
},
|
|
1232
|
-
m(
|
|
1233
|
-
C(
|
|
1232
|
+
m(d, p) {
|
|
1233
|
+
C(d, e, p), u(e, t), u(t, i), u(i, n), u(e, s), u(s, l);
|
|
1234
1234
|
},
|
|
1235
|
-
d(
|
|
1236
|
-
|
|
1235
|
+
d(d) {
|
|
1236
|
+
d && A(e);
|
|
1237
1237
|
}
|
|
1238
1238
|
};
|
|
1239
1239
|
}
|
|
@@ -1255,17 +1255,17 @@ function Ii(a) {
|
|
|
1255
1255
|
};
|
|
1256
1256
|
}
|
|
1257
1257
|
function Ui(a) {
|
|
1258
|
-
let e, t, i, n, s, l,
|
|
1258
|
+
let e, t, i, n, s, l, d, p, m, f, h, x, b, j, Y, H, q, F, M;
|
|
1259
1259
|
return {
|
|
1260
1260
|
c() {
|
|
1261
|
-
e = V("svg"), t = V("g"), i = V("path"), n = V("path"), s = V("g"), l = V("g"),
|
|
1261
|
+
e = V("svg"), t = V("g"), i = V("path"), n = V("path"), s = V("g"), l = V("g"), d = V("g"), p = V("g"), m = V("g"), f = V("g"), h = V("g"), x = V("g"), b = V("g"), j = V("g"), Y = V("g"), H = V("g"), q = V("g"), F = V("g"), M = V("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
|
|
1262
1262
|
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), c(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
|
|
1263
1263
|
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
|
|
1264
1264
|
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
|
|
1265
1265
|
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");
|
|
1266
1266
|
},
|
|
1267
1267
|
m(N, B) {
|
|
1268
|
-
C(N, e, B), u(e, t), u(t, i), u(t, n), u(e, s), u(e, l), u(e,
|
|
1268
|
+
C(N, e, B), u(e, t), u(t, i), u(t, n), u(e, s), u(e, l), u(e, d), u(e, p), u(e, m), u(e, f), u(e, h), u(e, x), u(e, b), u(e, j), u(e, Y), u(e, H), u(e, q), u(e, F), u(e, M);
|
|
1269
1269
|
},
|
|
1270
1270
|
d(N) {
|
|
1271
1271
|
N && A(e);
|
|
@@ -1347,16 +1347,16 @@ function Oi(a) {
|
|
|
1347
1347
|
c() {
|
|
1348
1348
|
e = v("button"), i = U(t), c(e, "class", "ConfirmButton");
|
|
1349
1349
|
},
|
|
1350
|
-
m(l,
|
|
1351
|
-
C(l, e,
|
|
1350
|
+
m(l, d) {
|
|
1351
|
+
C(l, e, d), u(e, i), n || (s = ie(
|
|
1352
1352
|
e,
|
|
1353
1353
|
"click",
|
|
1354
1354
|
/*closePopup*/
|
|
1355
1355
|
a[39]
|
|
1356
1356
|
), n = !0);
|
|
1357
1357
|
},
|
|
1358
|
-
p(l,
|
|
1359
|
-
|
|
1358
|
+
p(l, d) {
|
|
1359
|
+
d[0] & /*$_*/
|
|
1360
1360
|
67108864 && t !== (t = /*$_*/
|
|
1361
1361
|
l[26]("okButton") + "") && R(i, t);
|
|
1362
1362
|
},
|
|
@@ -1372,13 +1372,13 @@ function Wi(a) {
|
|
|
1372
1372
|
), i, n, s = (
|
|
1373
1373
|
/*$_*/
|
|
1374
1374
|
a[26]("closeButton") + ""
|
|
1375
|
-
), l,
|
|
1375
|
+
), l, d, p;
|
|
1376
1376
|
return {
|
|
1377
1377
|
c() {
|
|
1378
1378
|
e = v("button"), i = O(), n = v("button"), l = U(s), c(e, "class", "ConfirmButton"), c(n, "class", "CloseButton");
|
|
1379
1379
|
},
|
|
1380
|
-
m(
|
|
1381
|
-
C(
|
|
1380
|
+
m(m, f) {
|
|
1381
|
+
C(m, e, f), e.innerHTML = t, C(m, i, f), C(m, n, f), u(n, l), d || (p = [
|
|
1382
1382
|
ie(
|
|
1383
1383
|
e,
|
|
1384
1384
|
"click",
|
|
@@ -1391,22 +1391,22 @@ function Wi(a) {
|
|
|
1391
1391
|
/*closePopup*/
|
|
1392
1392
|
a[39]
|
|
1393
1393
|
)
|
|
1394
|
-
],
|
|
1394
|
+
], d = !0);
|
|
1395
1395
|
},
|
|
1396
|
-
p(
|
|
1397
|
-
|
|
1396
|
+
p(m, f) {
|
|
1397
|
+
f[0] & /*$_*/
|
|
1398
1398
|
67108864 && t !== (t = /*$_*/
|
|
1399
|
-
|
|
1399
|
+
m[26]("uploadDocumentsButton") + "") && (e.innerHTML = t), f[0] & /*$_*/
|
|
1400
1400
|
67108864 && s !== (s = /*$_*/
|
|
1401
|
-
|
|
1401
|
+
m[26]("closeButton") + "") && R(l, s);
|
|
1402
1402
|
},
|
|
1403
|
-
d(
|
|
1404
|
-
|
|
1403
|
+
d(m) {
|
|
1404
|
+
m && (A(e), A(i), A(n)), d = !1, Ee(p);
|
|
1405
1405
|
}
|
|
1406
1406
|
};
|
|
1407
1407
|
}
|
|
1408
1408
|
function Vi(a) {
|
|
1409
|
-
let e, t, i, n, s, l,
|
|
1409
|
+
let e, t, i, n, s, l, d, p, m, f, h = (
|
|
1410
1410
|
/*multiplePeriods*/
|
|
1411
1411
|
a[15] ? `${/*$_*/
|
|
1412
1412
|
a[26]("amount")}` : `${/*$_*/
|
|
@@ -1439,8 +1439,8 @@ function Vi(a) {
|
|
|
1439
1439
|
e = v("div"), t = v("div"), i = v("div");
|
|
1440
1440
|
for (let T = 0; T < P.length; T += 1)
|
|
1441
1441
|
P[T].c();
|
|
1442
|
-
n = O(), s = v("form"), S && S.c(), l = O(), y && y.c(),
|
|
1443
|
-
(a[27] ? "Desktop" : "")), c(
|
|
1442
|
+
n = O(), s = v("form"), S && S.c(), l = O(), y && y.c(), d = O(), _ && _.c(), p = O(), m = v("label"), f = v("span"), x = U(h), b = O(), j = v("input"), Y = O(), G && G.c(), H = O(), q = v("button"), M = U(F), c(i, "class", "LimitsList " + /*isDesktop*/
|
|
1443
|
+
(a[27] ? "Desktop" : "")), c(f, "class", "LimitInputText"), c(j, "type", "number"), c(j, "pattern", "[0-9]*"), c(m, "class", "LimitAmountInputWrapper"), c(q, "class", "LimitSubmitButton"), c(q, "type", "button"), q.disabled = !0, c(s, "class", "LimitsInteractionArea " + /*isDesktop*/
|
|
1444
1444
|
(a[27] ? "Desktop" : "")), c(t, "class", "LimitsPageContainer"), c(e, "class", N = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
|
|
1445
1445
|
a[3]));
|
|
1446
1446
|
},
|
|
@@ -1448,11 +1448,11 @@ function Vi(a) {
|
|
|
1448
1448
|
C(T, e, E), u(e, t), u(t, i);
|
|
1449
1449
|
for (let K = 0; K < P.length; K += 1)
|
|
1450
1450
|
P[K] && P[K].m(i, null);
|
|
1451
|
-
u(t, n), u(t, s), S && S.m(s, null), u(s, l), y && y.m(s, null), u(s,
|
|
1451
|
+
u(t, n), u(t, s), S && S.m(s, null), u(s, l), y && y.m(s, null), u(s, d), _ && _.m(s, null), u(s, p), u(s, m), u(m, f), u(f, x), u(m, b), u(m, j), Ae(
|
|
1452
1452
|
j,
|
|
1453
1453
|
/*inputAmount*/
|
|
1454
1454
|
a[10]
|
|
1455
|
-
), u(
|
|
1455
|
+
), u(m, Y), G && G.m(m, null), u(s, H), u(s, q), u(q, M), a[64](q), B || (D = [
|
|
1456
1456
|
ie(
|
|
1457
1457
|
j,
|
|
1458
1458
|
"input",
|
|
@@ -1504,8 +1504,8 @@ function Vi(a) {
|
|
|
1504
1504
|
}
|
|
1505
1505
|
/*enablecompliancetext*/
|
|
1506
1506
|
T[1] === "true" ? S ? S.p(T, E) : (S = ut(T), S.c(), S.m(s, l)) : S && (S.d(1), S = null), /*multipleLimits*/
|
|
1507
|
-
T[14] ? y ? y.p(T, E) : (y = dt(T), y.c(), y.m(s,
|
|
1508
|
-
T[15] ? _ ? _.p(T, E) : (_ = ct(T), _.c(), _.m(s,
|
|
1507
|
+
T[14] ? y ? y.p(T, E) : (y = dt(T), y.c(), y.m(s, d)) : y && (y.d(1), y = null), /*multiplePeriods*/
|
|
1508
|
+
T[15] ? _ ? _.p(T, E) : (_ = ct(T), _.c(), _.m(s, p)) : _ && (_.d(1), _ = null), E[0] & /*multiplePeriods, $_, selectedPeriod*/
|
|
1509
1509
|
67141888 && h !== (h = /*multiplePeriods*/
|
|
1510
1510
|
T[15] ? `${/*$_*/
|
|
1511
1511
|
T[26]("amount")}` : `${/*$_*/
|
|
@@ -1517,7 +1517,7 @@ function Vi(a) {
|
|
|
1517
1517
|
/*inputAmount*/
|
|
1518
1518
|
T[10]
|
|
1519
1519
|
), /*invalidInput*/
|
|
1520
|
-
T[24] ? G ? G.p(T, E) : (G = ft(T), G.c(), G.m(
|
|
1520
|
+
T[24] ? G ? G.p(T, E) : (G = ft(T), G.c(), G.m(m, null)) : G && (G.d(1), G = null), E[0] & /*$_*/
|
|
1521
1521
|
67108864 && F !== (F = /*$_*/
|
|
1522
1522
|
T[26]("setLimit") + "") && R(M, F), E[0] & /*limittabindex*/
|
|
1523
1523
|
8 && N !== (N = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
|
|
@@ -1544,25 +1544,25 @@ function qi(a) {
|
|
|
1544
1544
|
};
|
|
1545
1545
|
}
|
|
1546
1546
|
function Fi(a) {
|
|
1547
|
-
let e, t, i, n, s, l,
|
|
1548
|
-
for (let
|
|
1549
|
-
|
|
1547
|
+
let e, t, i, n, s, l, d = ue(Array(3)), p = [];
|
|
1548
|
+
for (let m = 0; m < d.length; m += 1)
|
|
1549
|
+
p[m] = aa(xi(a, d, m));
|
|
1550
1550
|
return {
|
|
1551
1551
|
c() {
|
|
1552
1552
|
e = v("div"), t = v("div"), i = v("div"), i.innerHTML = '<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>', n = O();
|
|
1553
|
-
for (let
|
|
1554
|
-
|
|
1553
|
+
for (let m = 0; m < p.length; m += 1)
|
|
1554
|
+
p[m].c();
|
|
1555
1555
|
s = O(), l = v("div"), l.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(l, "class", "skeletonInputWrapper"), c(e, "class", "skeletonLimitContainer");
|
|
1556
1556
|
},
|
|
1557
|
-
m(
|
|
1558
|
-
C(
|
|
1559
|
-
for (let h = 0; h <
|
|
1560
|
-
|
|
1557
|
+
m(m, f) {
|
|
1558
|
+
C(m, e, f), u(e, t), u(t, i), u(t, n);
|
|
1559
|
+
for (let h = 0; h < p.length; h += 1)
|
|
1560
|
+
p[h] && p[h].m(t, null);
|
|
1561
1561
|
u(e, s), u(e, l);
|
|
1562
1562
|
},
|
|
1563
1563
|
p: ye,
|
|
1564
|
-
d(
|
|
1565
|
-
|
|
1564
|
+
d(m) {
|
|
1565
|
+
m && A(e), Ce(p, m);
|
|
1566
1566
|
}
|
|
1567
1567
|
};
|
|
1568
1568
|
}
|
|
@@ -1575,11 +1575,11 @@ function Gi(a) {
|
|
|
1575
1575
|
c() {
|
|
1576
1576
|
e = v("div"), t = v("div"), i = v("div"), s = U(n), c(i, "class", "LimitDetailsTextWrapper"), c(t, "class", "LimitDetailsWrapper"), c(e, "class", "LimitDetails");
|
|
1577
1577
|
},
|
|
1578
|
-
m(l,
|
|
1579
|
-
C(l, e,
|
|
1578
|
+
m(l, d) {
|
|
1579
|
+
C(l, e, d), u(e, t), u(t, i), u(i, s);
|
|
1580
1580
|
},
|
|
1581
|
-
p(l,
|
|
1582
|
-
|
|
1581
|
+
p(l, d) {
|
|
1582
|
+
d[0] & /*$_*/
|
|
1583
1583
|
67108864 && n !== (n = /*$_*/
|
|
1584
1584
|
l[26]("noLimitText") + "") && R(s, n);
|
|
1585
1585
|
},
|
|
@@ -1597,11 +1597,11 @@ function Ki(a) {
|
|
|
1597
1597
|
c() {
|
|
1598
1598
|
e = v("div"), t = v("div"), i = v("div"), s = U(n), c(i, "class", "LimitDetailsTextWrapper"), c(t, "class", "LimitDetailsWrapper"), c(e, "class", "LimitDetails");
|
|
1599
1599
|
},
|
|
1600
|
-
m(l,
|
|
1601
|
-
C(l, e,
|
|
1600
|
+
m(l, d) {
|
|
1601
|
+
C(l, e, d), u(e, t), u(t, i), u(i, s);
|
|
1602
1602
|
},
|
|
1603
|
-
p(l,
|
|
1604
|
-
|
|
1603
|
+
p(l, d) {
|
|
1604
|
+
d[0] & /*$_*/
|
|
1605
1605
|
67108864 && n !== (n = /*$_*/
|
|
1606
1606
|
l[26]("lugasPrivacy") + "") && R(s, n);
|
|
1607
1607
|
},
|
|
@@ -1638,8 +1638,8 @@ function Hi(a) {
|
|
|
1638
1638
|
);
|
|
1639
1639
|
let l;
|
|
1640
1640
|
for (l = 0; l < t.length; l += 1) {
|
|
1641
|
-
const
|
|
1642
|
-
i[l] ? i[l].p(
|
|
1641
|
+
const d = at(n, t, l);
|
|
1642
|
+
i[l] ? i[l].p(d, s) : (i[l] = rt(d), i[l].c(), i[l].m(e.parentNode, e));
|
|
1643
1643
|
}
|
|
1644
1644
|
for (; l < i.length; l += 1)
|
|
1645
1645
|
i[l].d(1);
|
|
@@ -1660,11 +1660,11 @@ function Yi(a) {
|
|
|
1660
1660
|
c() {
|
|
1661
1661
|
e = v("div"), t = v("div"), i = v("div"), s = U(n), c(i, "class", "LimitDetailsTextWrapper"), c(t, "class", "LimitDetailsWrapper"), c(e, "class", "LimitDetails");
|
|
1662
1662
|
},
|
|
1663
|
-
m(l,
|
|
1664
|
-
C(l, e,
|
|
1663
|
+
m(l, d) {
|
|
1664
|
+
C(l, e, d), u(e, t), u(t, i), u(i, s);
|
|
1665
1665
|
},
|
|
1666
|
-
p(l,
|
|
1667
|
-
|
|
1666
|
+
p(l, d) {
|
|
1667
|
+
d[0] & /*$_*/
|
|
1668
1668
|
67108864 && n !== (n = /*$_*/
|
|
1669
1669
|
l[26]("lugasPrivacy") + "") && R(s, n);
|
|
1670
1670
|
},
|
|
@@ -1734,31 +1734,31 @@ function Ji(a) {
|
|
|
1734
1734
|
a[131],
|
|
1735
1735
|
!0
|
|
1736
1736
|
)}`, n, s;
|
|
1737
|
-
function l(
|
|
1737
|
+
function l(m, f) {
|
|
1738
1738
|
return (
|
|
1739
1739
|
/*currentLimit*/
|
|
1740
|
-
|
|
1740
|
+
m[131].isCoolOffCompleted ? ia : ta
|
|
1741
1741
|
);
|
|
1742
1742
|
}
|
|
1743
|
-
let
|
|
1743
|
+
let d = l(a), p = d(a);
|
|
1744
1744
|
return {
|
|
1745
1745
|
c() {
|
|
1746
|
-
e = v("div"), t = v("span"), n = U(i), s = O(),
|
|
1746
|
+
e = v("div"), t = v("span"), n = U(i), s = O(), p.c(), c(e, "class", "PendingLimit");
|
|
1747
1747
|
},
|
|
1748
|
-
m(
|
|
1749
|
-
C(
|
|
1748
|
+
m(m, f) {
|
|
1749
|
+
C(m, e, f), u(e, t), u(t, n), u(e, s), p.m(e, null);
|
|
1750
1750
|
},
|
|
1751
|
-
p(
|
|
1752
|
-
|
|
1751
|
+
p(m, f) {
|
|
1752
|
+
f[0] & /*availableLimits*/
|
|
1753
1753
|
64 && i !== (i = `${/*getFormatedAmount*/
|
|
1754
|
-
|
|
1754
|
+
m[38](
|
|
1755
1755
|
/*currentLimit*/
|
|
1756
|
-
|
|
1756
|
+
m[131],
|
|
1757
1757
|
!0
|
|
1758
|
-
)}`) && R(n, i),
|
|
1758
|
+
)}`) && R(n, i), d === (d = l(m)) && p ? p.p(m, f) : (p.d(1), p = d(m), p && (p.c(), p.m(e, null)));
|
|
1759
1759
|
},
|
|
1760
|
-
d(
|
|
1761
|
-
|
|
1760
|
+
d(m) {
|
|
1761
|
+
m && A(e), p.d();
|
|
1762
1762
|
}
|
|
1763
1763
|
};
|
|
1764
1764
|
}
|
|
@@ -1901,7 +1901,7 @@ function nt(a) {
|
|
|
1901
1901
|
/*currentLimit*/
|
|
1902
1902
|
a[131].scheduleId
|
|
1903
1903
|
].timer + ""
|
|
1904
|
-
), n, s, l,
|
|
1904
|
+
), n, s, l, d;
|
|
1905
1905
|
return {
|
|
1906
1906
|
c() {
|
|
1907
1907
|
e = v("div"), t = v("button"), n = U(i), c(t, "class", s = "ReloadLimitButton " + (/*isDesktop*/
|
|
@@ -1912,30 +1912,30 @@ function nt(a) {
|
|
|
1912
1912
|
].timerStopped ? "" : "disabled")), c(e, "class", "ContainerLimitActions " + (/*isDesktop*/
|
|
1913
1913
|
a[27] ? "" : "Mobile"));
|
|
1914
1914
|
},
|
|
1915
|
-
m(
|
|
1916
|
-
C(
|
|
1915
|
+
m(p, m) {
|
|
1916
|
+
C(p, e, m), u(e, t), u(t, n), l || (d = ie(
|
|
1917
1917
|
t,
|
|
1918
1918
|
"click",
|
|
1919
1919
|
/*click_handler*/
|
|
1920
1920
|
a[56]
|
|
1921
1921
|
), l = !0);
|
|
1922
1922
|
},
|
|
1923
|
-
p(
|
|
1924
|
-
|
|
1923
|
+
p(p, m) {
|
|
1924
|
+
m[0] & /*acknowledgedLimits, availableLimits*/
|
|
1925
1925
|
33554496 && i !== (i = /*acknowledgedLimits*/
|
|
1926
|
-
|
|
1926
|
+
p[25][
|
|
1927
1927
|
/*currentLimit*/
|
|
1928
|
-
|
|
1929
|
-
].timer + "") && R(n, i),
|
|
1928
|
+
p[131].scheduleId
|
|
1929
|
+
].timer + "") && R(n, i), m[0] & /*acknowledgedLimits, availableLimits*/
|
|
1930
1930
|
33554496 && s !== (s = "ReloadLimitButton " + (/*isDesktop*/
|
|
1931
|
-
|
|
1932
|
-
(
|
|
1931
|
+
p[27] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
|
|
1932
|
+
(p[25][
|
|
1933
1933
|
/*currentLimit*/
|
|
1934
|
-
|
|
1934
|
+
p[131].scheduleId
|
|
1935
1935
|
].timerStopped ? "" : "disabled")) && c(t, "class", s);
|
|
1936
1936
|
},
|
|
1937
|
-
d(
|
|
1938
|
-
|
|
1937
|
+
d(p) {
|
|
1938
|
+
p && A(e), l = !1, d();
|
|
1939
1939
|
}
|
|
1940
1940
|
};
|
|
1941
1941
|
}
|
|
@@ -1944,7 +1944,7 @@ function st(a) {
|
|
|
1944
1944
|
/*$_*/
|
|
1945
1945
|
a[26]("removeLimit") + ""
|
|
1946
1946
|
), n, s, l;
|
|
1947
|
-
function
|
|
1947
|
+
function d() {
|
|
1948
1948
|
return (
|
|
1949
1949
|
/*click_handler_1*/
|
|
1950
1950
|
a[57](
|
|
@@ -1959,16 +1959,16 @@ function st(a) {
|
|
|
1959
1959
|
a[27] ? "" : "Mobile")), c(e, "class", "ContainerLimitActions " + (/*isDesktop*/
|
|
1960
1960
|
a[27] ? "" : "Mobile"));
|
|
1961
1961
|
},
|
|
1962
|
-
m(
|
|
1963
|
-
C(
|
|
1962
|
+
m(p, m) {
|
|
1963
|
+
C(p, e, m), u(e, t), u(t, n), s || (l = ie(t, "click", d), s = !0);
|
|
1964
1964
|
},
|
|
1965
|
-
p(
|
|
1966
|
-
a =
|
|
1965
|
+
p(p, m) {
|
|
1966
|
+
a = p, m[0] & /*$_*/
|
|
1967
1967
|
67108864 && i !== (i = /*$_*/
|
|
1968
1968
|
a[26]("removeLimit") + "") && R(n, i);
|
|
1969
1969
|
},
|
|
1970
|
-
d(
|
|
1971
|
-
|
|
1970
|
+
d(p) {
|
|
1971
|
+
p && A(e), s = !1, l();
|
|
1972
1972
|
}
|
|
1973
1973
|
};
|
|
1974
1974
|
}
|
|
@@ -1976,10 +1976,10 @@ function lt(a) {
|
|
|
1976
1976
|
let e, t, i = (
|
|
1977
1977
|
/*$_*/
|
|
1978
1978
|
a[26]("confirmUpdateLimit") + ""
|
|
1979
|
-
), n, s, l,
|
|
1979
|
+
), n, s, l, d = (
|
|
1980
1980
|
/*$_*/
|
|
1981
1981
|
a[26]("cancelUpdateLimit") + ""
|
|
1982
|
-
),
|
|
1982
|
+
), p, m, f;
|
|
1983
1983
|
function h() {
|
|
1984
1984
|
return (
|
|
1985
1985
|
/*click_handler_2*/
|
|
@@ -2000,26 +2000,26 @@ function lt(a) {
|
|
|
2000
2000
|
}
|
|
2001
2001
|
return {
|
|
2002
2002
|
c() {
|
|
2003
|
-
e = v("div"), t = v("button"), n = U(i), s = O(), l = v("button"),
|
|
2003
|
+
e = v("div"), t = v("button"), n = U(i), s = O(), l = v("button"), p = U(d), c(t, "class", "ConfirmLimitButton " + (/*isDesktop*/
|
|
2004
2004
|
a[27] ? "" : "Mobile")), c(l, "class", "CancelLimitButton " + (/*isDesktop*/
|
|
2005
2005
|
a[27] ? "" : "Mobile")), c(e, "class", "ContainerLimitActions " + (/*isDesktop*/
|
|
2006
2006
|
a[27] ? "" : "Mobile"));
|
|
2007
2007
|
},
|
|
2008
2008
|
m(b, j) {
|
|
2009
|
-
C(b, e, j), u(e, t), u(t, n), u(e, s), u(e, l), u(l,
|
|
2009
|
+
C(b, e, j), u(e, t), u(t, n), u(e, s), u(e, l), u(l, p), m || (f = [
|
|
2010
2010
|
ie(t, "click", h),
|
|
2011
2011
|
ie(l, "click", x)
|
|
2012
|
-
],
|
|
2012
|
+
], m = !0);
|
|
2013
2013
|
},
|
|
2014
2014
|
p(b, j) {
|
|
2015
2015
|
a = b, j[0] & /*$_*/
|
|
2016
2016
|
67108864 && i !== (i = /*$_*/
|
|
2017
2017
|
a[26]("confirmUpdateLimit") + "") && R(n, i), j[0] & /*$_*/
|
|
2018
|
-
67108864 &&
|
|
2019
|
-
a[26]("cancelUpdateLimit") + "") && R(
|
|
2018
|
+
67108864 && d !== (d = /*$_*/
|
|
2019
|
+
a[26]("cancelUpdateLimit") + "") && R(p, d);
|
|
2020
2020
|
},
|
|
2021
2021
|
d(b) {
|
|
2022
|
-
b && A(e),
|
|
2022
|
+
b && A(e), m = !1, Ee(f);
|
|
2023
2023
|
}
|
|
2024
2024
|
};
|
|
2025
2025
|
}
|
|
@@ -2031,7 +2031,7 @@ function rt(a) {
|
|
|
2031
2031
|
a[26]("per")
|
|
2032
2032
|
)} ${/*$_*/
|
|
2033
2033
|
a[26](`${/*currentLimit*/
|
|
2034
|
-
a[131].period}`)}`,
|
|
2034
|
+
a[131].period}`)}`, d, p, m, f, h = !/*currentLimit*/
|
|
2035
2035
|
a[131].isModified && /*deletelimit*/
|
|
2036
2036
|
a[2].indexOf(
|
|
2037
2037
|
/*limit*/
|
|
@@ -2080,10 +2080,10 @@ function rt(a) {
|
|
|
2080
2080
|
);
|
|
2081
2081
|
return {
|
|
2082
2082
|
c() {
|
|
2083
|
-
e = v("div"), t = v("div"), i = v("div"), n = v("div"), H.c(), s = O(),
|
|
2083
|
+
e = v("div"), t = v("div"), i = v("div"), n = v("div"), H.c(), s = O(), d = U(l), p = O(), M && M.c(), m = O(), N && N.c(), f = O(), B && B.c(), x = O(), D && D.c(), b = O(), c(n, "class", "CurrentLimit"), c(i, "class", "CurrentLimitContainer"), c(t, "class", "LimitDetailsTextWrapper"), c(e, "class", "LimitDetails");
|
|
2084
2084
|
},
|
|
2085
2085
|
m(w, P) {
|
|
2086
|
-
C(w, e, P), u(e, t), u(t, i), u(i, n), H.m(n, null), u(n, s), u(n,
|
|
2086
|
+
C(w, e, P), u(e, t), u(t, i), u(i, n), H.m(n, null), u(n, s), u(n, d), u(i, p), M && M.m(i, null), u(t, m), N && N.m(t, null), u(t, f), B && B.m(t, null), u(t, x), D && D.m(t, null), u(e, b);
|
|
2087
2087
|
},
|
|
2088
2088
|
p(w, P) {
|
|
2089
2089
|
Y === (Y = j(w)) && H ? H.p(w, P) : (H.d(1), H = Y(w), H && (H.c(), H.m(n, s))), P[0] & /*availableLimits, $_*/
|
|
@@ -2094,8 +2094,8 @@ function rt(a) {
|
|
|
2094
2094
|
w[26]("per")
|
|
2095
2095
|
)} ${/*$_*/
|
|
2096
2096
|
w[26](`${/*currentLimit*/
|
|
2097
|
-
w[131].period}`)}`) && R(
|
|
2098
|
-
w[131].acknowledgedLimit ? N ? N.p(w, P) : (N = nt(w), N.c(), N.m(t,
|
|
2097
|
+
w[131].period}`)}`) && R(d, l), F === (F = q(w)) && M ? M.p(w, P) : (M && M.d(1), M = F && F(w), M && (M.c(), M.m(i, null))), /*currentLimit*/
|
|
2098
|
+
w[131].acknowledgedLimit ? N ? N.p(w, P) : (N = nt(w), N.c(), N.m(t, f)) : N && (N.d(1), N = null), P[0] & /*availableLimits, deletelimit*/
|
|
2099
2099
|
68 && (h = !/*currentLimit*/
|
|
2100
2100
|
w[131].isModified && /*deletelimit*/
|
|
2101
2101
|
w[2].indexOf(
|
|
@@ -2118,37 +2118,37 @@ function mt(a) {
|
|
|
2118
2118
|
a[126]
|
|
2119
2119
|
) + ""
|
|
2120
2120
|
), n, s, l;
|
|
2121
|
-
function
|
|
2121
|
+
function d(f, h) {
|
|
2122
2122
|
return (
|
|
2123
2123
|
/*limit*/
|
|
2124
|
-
|
|
2124
|
+
f[126].value === "lugas" ? Yi : (
|
|
2125
2125
|
/*limit*/
|
|
2126
|
-
|
|
2126
|
+
f[126].currentLimits.length > 0 ? Hi : (
|
|
2127
2127
|
/*limit*/
|
|
2128
|
-
|
|
2128
|
+
f[126].value === "lugas" ? Ki : Gi
|
|
2129
2129
|
)
|
|
2130
2130
|
)
|
|
2131
2131
|
);
|
|
2132
2132
|
}
|
|
2133
|
-
let
|
|
2133
|
+
let p = d(a), m = p(a);
|
|
2134
2134
|
return {
|
|
2135
2135
|
c() {
|
|
2136
|
-
e = v("div"), t = v("p"), n = U(i), s = O(),
|
|
2136
|
+
e = v("div"), t = v("p"), n = U(i), s = O(), m.c(), l = O(), c(t, "class", "LimitTitle"), c(e, "class", "LimitWrapper " + /*isDesktop*/
|
|
2137
2137
|
(a[27] ? "Desktop" : ""));
|
|
2138
2138
|
},
|
|
2139
|
-
m(
|
|
2140
|
-
C(
|
|
2139
|
+
m(f, h) {
|
|
2140
|
+
C(f, e, h), u(e, t), u(t, n), u(e, s), m.m(e, null), u(e, l);
|
|
2141
2141
|
},
|
|
2142
|
-
p(
|
|
2142
|
+
p(f, h) {
|
|
2143
2143
|
h[0] & /*availableLimits*/
|
|
2144
2144
|
64 && i !== (i = /*determineLimitName*/
|
|
2145
|
-
|
|
2145
|
+
f[37](
|
|
2146
2146
|
/*limit*/
|
|
2147
|
-
|
|
2148
|
-
) + "") && R(n, i),
|
|
2147
|
+
f[126]
|
|
2148
|
+
) + "") && R(n, i), p === (p = d(f)) && m ? m.p(f, h) : (m.d(1), m = p(f), m && (m.c(), m.m(e, l)));
|
|
2149
2149
|
},
|
|
2150
|
-
d(
|
|
2151
|
-
|
|
2150
|
+
d(f) {
|
|
2151
|
+
f && A(e), m.d();
|
|
2152
2152
|
}
|
|
2153
2153
|
};
|
|
2154
2154
|
}
|
|
@@ -2178,17 +2178,17 @@ function dt(a) {
|
|
|
2178
2178
|
let e, t, i = (
|
|
2179
2179
|
/*$_*/
|
|
2180
2180
|
a[26]("limitType") + ""
|
|
2181
|
-
), n, s, l,
|
|
2181
|
+
), n, s, l, d, p, m = ue(
|
|
2182
2182
|
/*availableLimits*/
|
|
2183
2183
|
a[6]
|
|
2184
|
-
),
|
|
2185
|
-
for (let h = 0; h <
|
|
2186
|
-
|
|
2184
|
+
), f = [];
|
|
2185
|
+
for (let h = 0; h < m.length; h += 1)
|
|
2186
|
+
f[h] = pt(tt(a, m, h));
|
|
2187
2187
|
return {
|
|
2188
2188
|
c() {
|
|
2189
2189
|
e = v("label"), t = v("span"), n = U(i), s = O(), l = v("select");
|
|
2190
|
-
for (let h = 0; h <
|
|
2191
|
-
|
|
2190
|
+
for (let h = 0; h < f.length; h += 1)
|
|
2191
|
+
f[h].c();
|
|
2192
2192
|
c(t, "class", "LimitSelectText"), c(l, "name", ""), c(l, "id", ""), /*selectedIndex*/
|
|
2193
2193
|
a[9] === void 0 && ht(() => (
|
|
2194
2194
|
/*select_change_handler*/
|
|
@@ -2197,14 +2197,14 @@ function dt(a) {
|
|
|
2197
2197
|
},
|
|
2198
2198
|
m(h, x) {
|
|
2199
2199
|
C(h, e, x), u(e, t), u(t, n), u(e, s), u(e, l);
|
|
2200
|
-
for (let b = 0; b <
|
|
2201
|
-
|
|
2200
|
+
for (let b = 0; b < f.length; b += 1)
|
|
2201
|
+
f[b] && f[b].m(l, null);
|
|
2202
2202
|
De(
|
|
2203
2203
|
l,
|
|
2204
2204
|
/*selectedIndex*/
|
|
2205
2205
|
a[9],
|
|
2206
2206
|
!0
|
|
2207
|
-
),
|
|
2207
|
+
), d || (p = [
|
|
2208
2208
|
ie(
|
|
2209
2209
|
l,
|
|
2210
2210
|
"change",
|
|
@@ -2217,7 +2217,7 @@ function dt(a) {
|
|
|
2217
2217
|
/*change_handler*/
|
|
2218
2218
|
a[61]
|
|
2219
2219
|
)
|
|
2220
|
-
],
|
|
2220
|
+
], d = !0);
|
|
2221
2221
|
},
|
|
2222
2222
|
p(h, x) {
|
|
2223
2223
|
if (x[0] & /*$_*/
|
|
@@ -2225,18 +2225,18 @@ function dt(a) {
|
|
|
2225
2225
|
h[26]("limitType") + "") && R(n, i), x[0] & /*availableLimits*/
|
|
2226
2226
|
64 | x[1] & /*determineLimitName*/
|
|
2227
2227
|
64) {
|
|
2228
|
-
|
|
2228
|
+
m = ue(
|
|
2229
2229
|
/*availableLimits*/
|
|
2230
2230
|
h[6]
|
|
2231
2231
|
);
|
|
2232
2232
|
let b;
|
|
2233
|
-
for (b = 0; b <
|
|
2234
|
-
const j = tt(h,
|
|
2235
|
-
|
|
2233
|
+
for (b = 0; b < m.length; b += 1) {
|
|
2234
|
+
const j = tt(h, m, b);
|
|
2235
|
+
f[b] ? f[b].p(j, x) : (f[b] = pt(j), f[b].c(), f[b].m(l, null));
|
|
2236
2236
|
}
|
|
2237
|
-
for (; b <
|
|
2238
|
-
|
|
2239
|
-
|
|
2237
|
+
for (; b < f.length; b += 1)
|
|
2238
|
+
f[b].d(1);
|
|
2239
|
+
f.length = m.length;
|
|
2240
2240
|
}
|
|
2241
2241
|
x[0] & /*selectedIndex*/
|
|
2242
2242
|
512 && De(
|
|
@@ -2246,7 +2246,7 @@ function dt(a) {
|
|
|
2246
2246
|
);
|
|
2247
2247
|
},
|
|
2248
2248
|
d(h) {
|
|
2249
|
-
h && A(e), Ce(
|
|
2249
|
+
h && A(e), Ce(f, h), d = !1, Ee(p);
|
|
2250
2250
|
}
|
|
2251
2251
|
};
|
|
2252
2252
|
}
|
|
@@ -2283,20 +2283,20 @@ function ct(a) {
|
|
|
2283
2283
|
let e, t, i = (
|
|
2284
2284
|
/*$_*/
|
|
2285
2285
|
a[26]("period") + ""
|
|
2286
|
-
), n, s, l,
|
|
2286
|
+
), n, s, l, d, p, m = ue(
|
|
2287
2287
|
/*limitsConfig*/
|
|
2288
2288
|
a[5][
|
|
2289
2289
|
/*selectedLimit*/
|
|
2290
2290
|
a[7]
|
|
2291
2291
|
].periods
|
|
2292
|
-
),
|
|
2293
|
-
for (let h = 0; h <
|
|
2294
|
-
|
|
2292
|
+
), f = [];
|
|
2293
|
+
for (let h = 0; h < m.length; h += 1)
|
|
2294
|
+
f[h] = Lt(et(a, m, h));
|
|
2295
2295
|
return {
|
|
2296
2296
|
c() {
|
|
2297
2297
|
e = v("label"), t = v("span"), n = U(i), s = O(), l = v("select");
|
|
2298
|
-
for (let h = 0; h <
|
|
2299
|
-
|
|
2298
|
+
for (let h = 0; h < f.length; h += 1)
|
|
2299
|
+
f[h].c();
|
|
2300
2300
|
c(t, "class", "PeriodSelectText"), c(l, "name", ""), c(l, "id", ""), /*selectedPeriod*/
|
|
2301
2301
|
a[8] === void 0 && ht(() => (
|
|
2302
2302
|
/*select_change_handler_1*/
|
|
@@ -2305,26 +2305,26 @@ function ct(a) {
|
|
|
2305
2305
|
},
|
|
2306
2306
|
m(h, x) {
|
|
2307
2307
|
C(h, e, x), u(e, t), u(t, n), u(e, s), u(e, l);
|
|
2308
|
-
for (let b = 0; b <
|
|
2309
|
-
|
|
2308
|
+
for (let b = 0; b < f.length; b += 1)
|
|
2309
|
+
f[b] && f[b].m(l, null);
|
|
2310
2310
|
De(
|
|
2311
2311
|
l,
|
|
2312
2312
|
/*selectedPeriod*/
|
|
2313
2313
|
a[8],
|
|
2314
2314
|
!0
|
|
2315
|
-
),
|
|
2315
|
+
), d || (p = ie(
|
|
2316
2316
|
l,
|
|
2317
2317
|
"change",
|
|
2318
2318
|
/*select_change_handler_1*/
|
|
2319
2319
|
a[62]
|
|
2320
|
-
),
|
|
2320
|
+
), d = !0);
|
|
2321
2321
|
},
|
|
2322
2322
|
p(h, x) {
|
|
2323
2323
|
if (x[0] & /*$_*/
|
|
2324
2324
|
67108864 && i !== (i = /*$_*/
|
|
2325
2325
|
h[26]("period") + "") && R(n, i), x[0] & /*limitsConfig, selectedLimit, $_*/
|
|
2326
2326
|
67109024) {
|
|
2327
|
-
|
|
2327
|
+
m = ue(
|
|
2328
2328
|
/*limitsConfig*/
|
|
2329
2329
|
h[5][
|
|
2330
2330
|
/*selectedLimit*/
|
|
@@ -2332,13 +2332,13 @@ function ct(a) {
|
|
|
2332
2332
|
].periods
|
|
2333
2333
|
);
|
|
2334
2334
|
let b;
|
|
2335
|
-
for (b = 0; b <
|
|
2336
|
-
const j = et(h,
|
|
2337
|
-
|
|
2335
|
+
for (b = 0; b < m.length; b += 1) {
|
|
2336
|
+
const j = et(h, m, b);
|
|
2337
|
+
f[b] ? f[b].p(j, x) : (f[b] = Lt(j), f[b].c(), f[b].m(l, null));
|
|
2338
2338
|
}
|
|
2339
|
-
for (; b <
|
|
2340
|
-
|
|
2341
|
-
|
|
2339
|
+
for (; b < f.length; b += 1)
|
|
2340
|
+
f[b].d(1);
|
|
2341
|
+
f.length = m.length;
|
|
2342
2342
|
}
|
|
2343
2343
|
x[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
|
|
2344
2344
|
416 && De(
|
|
@@ -2348,7 +2348,7 @@ function ct(a) {
|
|
|
2348
2348
|
);
|
|
2349
2349
|
},
|
|
2350
2350
|
d(h) {
|
|
2351
|
-
h && A(e), Ce(
|
|
2351
|
+
h && A(e), Ce(f, h), d = !1, p();
|
|
2352
2352
|
}
|
|
2353
2353
|
};
|
|
2354
2354
|
}
|
|
@@ -2471,48 +2471,48 @@ function aa(a) {
|
|
|
2471
2471
|
};
|
|
2472
2472
|
}
|
|
2473
2473
|
function oa(a) {
|
|
2474
|
-
let e, t, i
|
|
2474
|
+
let e, t, i = (
|
|
2475
2475
|
/*popupVisible*/
|
|
2476
2476
|
a[19] && ot(a)
|
|
2477
2477
|
);
|
|
2478
|
-
function
|
|
2478
|
+
function n(d, p) {
|
|
2479
2479
|
if (
|
|
2480
2480
|
/*skeletonLoading*/
|
|
2481
|
-
|
|
2481
|
+
d[16]
|
|
2482
2482
|
)
|
|
2483
2483
|
return Fi;
|
|
2484
2484
|
if (
|
|
2485
2485
|
/*hasErrors*/
|
|
2486
|
-
|
|
2486
|
+
d[17]
|
|
2487
2487
|
)
|
|
2488
2488
|
return qi;
|
|
2489
2489
|
if (!/*skeletonLoading*/
|
|
2490
|
-
|
|
2490
|
+
d[16])
|
|
2491
2491
|
return Vi;
|
|
2492
2492
|
}
|
|
2493
|
-
let
|
|
2493
|
+
let s = n(a), l = s && s(a);
|
|
2494
2494
|
return {
|
|
2495
2495
|
c() {
|
|
2496
|
-
e = v("
|
|
2496
|
+
e = v("div"), i && i.c(), t = O(), l && l.c();
|
|
2497
2497
|
},
|
|
2498
|
-
m(
|
|
2499
|
-
|
|
2498
|
+
m(d, p) {
|
|
2499
|
+
C(d, e, p), i && i.m(e, null), u(e, t), l && l.m(e, null), a[65](e);
|
|
2500
2500
|
},
|
|
2501
|
-
p(
|
|
2501
|
+
p(d, p) {
|
|
2502
2502
|
/*popupVisible*/
|
|
2503
|
-
|
|
2503
|
+
d[19] ? i ? i.p(d, p) : (i = ot(d), i.c(), i.m(e, t)) : i && (i.d(1), i = null), s === (s = n(d)) && l ? l.p(d, p) : (l && l.d(1), l = s && s(d), l && (l.c(), l.m(e, null)));
|
|
2504
2504
|
},
|
|
2505
2505
|
i: ye,
|
|
2506
2506
|
o: ye,
|
|
2507
|
-
d(
|
|
2508
|
-
|
|
2507
|
+
d(d) {
|
|
2508
|
+
d && A(e), i && i.d(), l && l.d(), a[65](null);
|
|
2509
2509
|
}
|
|
2510
2510
|
};
|
|
2511
2511
|
}
|
|
2512
2512
|
function na(a, e, t) {
|
|
2513
2513
|
let i;
|
|
2514
2514
|
bi(a, ji, (o) => t(26, i = o));
|
|
2515
|
-
let { lang: n = "en" } = e, { currency: s = "" } = e, { limits: l = "" } = e, { session:
|
|
2515
|
+
let { lang: n = "en" } = e, { currency: s = "" } = e, { limits: l = "" } = e, { session: d = "" } = e, { userid: p = "" } = e, { endpoint: m = "" } = e, { apiversion: f = "" } = e, { customcurrencysymbols: h = "" } = e, { enablecompliancetext: x = "" } = e, { deletelimit: b = "" } = e, { amountsconfig: j = "" } = e, { periodsconfig: Y = "" } = e, { limittabindex: H = "" } = e, { limitformat: q = "" } = e, { clientstyling: F = "" } = e, { clientstylingurl: M = "" } = e, { mbsource: N } = e, { translationurl: B = "" } = e, D, w = window.navigator.userAgent, P = !wi(w), S = [], y = "", _ = "", G = "", T = 0, E, K, me = "", ce = "", Te = "", se = {}, Le = {}, Ue = !1, xe = !1, J = !0, Q = !1, Me = !1, fe = !1, le = !1, ae = "", he = "", $ = [], ke, Ne, ve = !1, kt = {}, ge = { EUR: "€", RON: " lei", USD: "$" }, te = {};
|
|
2516
2516
|
const Re = {
|
|
2517
2517
|
wager: "wagering",
|
|
2518
2518
|
loss: "loss",
|
|
@@ -2524,34 +2524,34 @@ function na(a, e, t) {
|
|
|
2524
2524
|
unableToUpdatePendingRequest: ["SYS_1037", "SYS_1142", "SYS_1140"],
|
|
2525
2525
|
internalServerError: ["F0004", "F0006"]
|
|
2526
2526
|
}, vt = () => {
|
|
2527
|
-
fetch(B).then((
|
|
2528
|
-
Object.keys(
|
|
2529
|
-
$e(
|
|
2527
|
+
fetch(B).then((r) => r.json()).then((r) => {
|
|
2528
|
+
Object.keys(r).forEach((L) => {
|
|
2529
|
+
$e(L, r[L]);
|
|
2530
2530
|
});
|
|
2531
|
-
}).catch((
|
|
2532
|
-
console.log(
|
|
2531
|
+
}).catch((r) => {
|
|
2532
|
+
console.log(r);
|
|
2533
2533
|
});
|
|
2534
2534
|
};
|
|
2535
2535
|
Object.keys(de).forEach((o) => {
|
|
2536
2536
|
$e(o, de[o]);
|
|
2537
2537
|
});
|
|
2538
|
-
const ze = (o) => `dataLayer-${o}`, ee = (o,
|
|
2538
|
+
const ze = (o) => `dataLayer-${o}`, ee = (o, r) => {
|
|
2539
2539
|
typeof gtag == "function" && gtag({
|
|
2540
2540
|
event: o,
|
|
2541
2541
|
limit_category: de[n][ze(G.toLowerCase())] || G,
|
|
2542
2542
|
limit_type: de[n][ze(y.toLowerCase())] || y,
|
|
2543
2543
|
limit_period: de[n][ze(_.toLowerCase())] || _,
|
|
2544
|
-
limit_amount: E ||
|
|
2544
|
+
limit_amount: E || r
|
|
2545
2545
|
});
|
|
2546
2546
|
}, bt = () => {
|
|
2547
2547
|
var k;
|
|
2548
|
-
const o = j.split(",").map((g) => g.split(":")),
|
|
2548
|
+
const o = j.split(",").map((g) => g.split(":")), r = Y.split(",").map((g) => g.split(":"));
|
|
2549
2549
|
for (let [g, z] of o.entries())
|
|
2550
|
-
if (z[0] !==
|
|
2551
|
-
throw new Error(`Limit config mismatch: "${z[0]}" does not match "${
|
|
2552
|
-
const
|
|
2550
|
+
if (z[0] !== r[g][0])
|
|
2551
|
+
throw new Error(`Limit config mismatch: "${z[0]}" does not match "${r[g][0]}"`);
|
|
2552
|
+
const L = o.reduce(
|
|
2553
2553
|
(g, z, I) => {
|
|
2554
|
-
const X = z[0].slice(z[0].indexOf("(") + 1, z[0].indexOf(")")), pe = z[0].slice(0, z[0].indexOf("(")), _e = z[1], Ie =
|
|
2554
|
+
const X = z[0].slice(z[0].indexOf("(") + 1, z[0].indexOf(")")), pe = z[0].slice(0, z[0].indexOf("(")), _e = z[1], Ie = r[I][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), di = {
|
|
2555
2555
|
value: X,
|
|
2556
2556
|
product: pe,
|
|
2557
2557
|
minMax: _e,
|
|
@@ -2564,17 +2564,17 @@ function na(a, e, t) {
|
|
|
2564
2564
|
},
|
|
2565
2565
|
[]
|
|
2566
2566
|
);
|
|
2567
|
-
for (let g = 0; g <
|
|
2568
|
-
t(6, S[g].product =
|
|
2567
|
+
for (let g = 0; g < L.length; g++)
|
|
2568
|
+
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, W[L[g].value].periods = L[g].periods, W);
|
|
2569
2569
|
Te = (k = S[0]) == null ? void 0 : k.value, S.forEach((g) => {
|
|
2570
2570
|
se[g.value] = { min: g.min, max: g.max }, kt[g.value] = g.product;
|
|
2571
2571
|
}), se && (se[Te] ? (t(12, me = se[Te].min), t(13, ce = se[Te].max)) : (t(12, me = 1), t(13, ce = 9999999)));
|
|
2572
2572
|
}, wt = () => {
|
|
2573
2573
|
const o = /\(([^)]+)\)/g;
|
|
2574
|
-
return [...j.matchAll(o)].flat().filter((
|
|
2574
|
+
return [...j.matchAll(o)].flat().filter((L) => !L.includes("("));
|
|
2575
2575
|
}, _t = () => {
|
|
2576
|
-
wt().forEach((
|
|
2577
|
-
W[
|
|
2576
|
+
wt().forEach((r) => {
|
|
2577
|
+
W[r] ? S.push(je({}, W[r])) : console.error(`Unknown limit: ${r}`);
|
|
2578
2578
|
}), bt(), t(7, y = S[0].value), t(8, _ = W[y].periods[0]), G = S[0].product, t(14, Ue = S.length > 1), t(15, xe = W[y].periods.length > 1);
|
|
2579
2579
|
}, Oe = () => {
|
|
2580
2580
|
t(7, y = S[T].value), t(8, _ = W[y].periods[0]), t(15, xe = W[y].periods.length > 1);
|
|
@@ -2587,54 +2587,54 @@ function na(a, e, t) {
|
|
|
2587
2587
|
return t(18, Me = !1), o.status !== 204 ? o.json() : o;
|
|
2588
2588
|
}, St = (o) => {
|
|
2589
2589
|
t(17, Q = !0);
|
|
2590
|
-
let
|
|
2591
|
-
throw o.json().then((
|
|
2590
|
+
let r;
|
|
2591
|
+
throw o.json().then((L) => {
|
|
2592
2592
|
for (const k in Be)
|
|
2593
|
-
if (Be[k].some((g) =>
|
|
2594
|
-
|
|
2593
|
+
if (Be[k].some((g) => L.error.includes(g))) {
|
|
2594
|
+
r = k;
|
|
2595
2595
|
break;
|
|
2596
2596
|
}
|
|
2597
|
-
console.error("errType",
|
|
2597
|
+
console.error("errType", r), !r && we(L);
|
|
2598
2598
|
}).finally(() => {
|
|
2599
|
-
|
|
2599
|
+
r && we(r), t(17, Q = !1), t(16, J = !1);
|
|
2600
2600
|
}), new Error("An error occured during the fetch request");
|
|
2601
2601
|
}, At = () => {
|
|
2602
2602
|
if (!(E > 0))
|
|
2603
2603
|
return;
|
|
2604
2604
|
re(), t(16, J = !0);
|
|
2605
|
-
let o = new URL(`/v2/player/${
|
|
2606
|
-
y === "sessionLimit" ?
|
|
2605
|
+
let o = new URL(`/v2/player/${p}/limits`, m), r = {};
|
|
2606
|
+
y === "sessionLimit" ? r = {
|
|
2607
2607
|
sessionLimit: E,
|
|
2608
2608
|
sessionLimitUnit: "minute"
|
|
2609
|
-
} : y === "cumulativeSession" ?
|
|
2609
|
+
} : y === "cumulativeSession" ? r[W[y].callValue] = [
|
|
2610
2610
|
{
|
|
2611
2611
|
period: _,
|
|
2612
2612
|
minutes: E
|
|
2613
2613
|
}
|
|
2614
|
-
] :
|
|
2614
|
+
] : r[W[y].callValue] = [
|
|
2615
2615
|
{
|
|
2616
2616
|
period: W[y].periods[0] === "None" ? null : _,
|
|
2617
2617
|
amount: E,
|
|
2618
2618
|
currency: s
|
|
2619
2619
|
}
|
|
2620
2620
|
];
|
|
2621
|
-
let
|
|
2621
|
+
let L = {
|
|
2622
2622
|
method: "PUT",
|
|
2623
2623
|
headers: {
|
|
2624
|
-
"X-SessionID":
|
|
2624
|
+
"X-SessionID": d,
|
|
2625
2625
|
"Content-Type": "application/json",
|
|
2626
2626
|
Accept: "application/json"
|
|
2627
2627
|
},
|
|
2628
|
-
body: JSON.stringify(
|
|
2628
|
+
body: JSON.stringify(r)
|
|
2629
2629
|
};
|
|
2630
|
-
fetch(o.href,
|
|
2630
|
+
fetch(o.href, L).then((k) => oe(k)).then((k) => {
|
|
2631
2631
|
ee("self_limitation_success"), ne();
|
|
2632
2632
|
}).catch((k) => {
|
|
2633
2633
|
console.error(k), t(17, Q = !0);
|
|
2634
2634
|
});
|
|
2635
2635
|
}, Ct = () => {
|
|
2636
2636
|
re(), t(16, J = !0);
|
|
2637
|
-
const
|
|
2637
|
+
const r = S[T].currentLimits.find((X) => X.period === _), L = r ? "v2" : "v1", k = new URL(`/${L}/player/${p}/limits/monetary/${r ? r.id : ""}`, m), g = r ? "PUT" : "POST", z = r ? { amount: E, skipCoolOff: !1 } : {
|
|
2638
2638
|
amount: E,
|
|
2639
2639
|
currency: s,
|
|
2640
2640
|
// 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
|
|
@@ -2646,7 +2646,7 @@ function na(a, e, t) {
|
|
|
2646
2646
|
let I = {
|
|
2647
2647
|
method: g,
|
|
2648
2648
|
headers: {
|
|
2649
|
-
"X-SessionID":
|
|
2649
|
+
"X-SessionID": d,
|
|
2650
2650
|
"Content-Type": "application/json",
|
|
2651
2651
|
Accept: "application/json"
|
|
2652
2652
|
},
|
|
@@ -2661,11 +2661,11 @@ function na(a, e, t) {
|
|
|
2661
2661
|
if (!(E > 0))
|
|
2662
2662
|
return;
|
|
2663
2663
|
re(), t(16, J = !0);
|
|
2664
|
-
const o = new URL(`/v1/player/${
|
|
2664
|
+
const o = new URL(`/v1/player/${p}/limits/session/`, m);
|
|
2665
2665
|
let k = {
|
|
2666
2666
|
method: "PUT",
|
|
2667
2667
|
headers: {
|
|
2668
|
-
"X-SessionID":
|
|
2668
|
+
"X-SessionID": d,
|
|
2669
2669
|
"Content-Type": "application/json",
|
|
2670
2670
|
Accept: "application/json"
|
|
2671
2671
|
},
|
|
@@ -2683,11 +2683,11 @@ function na(a, e, t) {
|
|
|
2683
2683
|
if (!(E > 0))
|
|
2684
2684
|
return;
|
|
2685
2685
|
re(), t(16, J = !0);
|
|
2686
|
-
const o = new URL(`/v1/player/${
|
|
2686
|
+
const o = new URL(`/v1/player/${p}/limits/session/`, m);
|
|
2687
2687
|
let k = {
|
|
2688
2688
|
method: "PUT",
|
|
2689
2689
|
headers: {
|
|
2690
|
-
"X-SessionID":
|
|
2690
|
+
"X-SessionID": d,
|
|
2691
2691
|
"Content-Type": "application/json",
|
|
2692
2692
|
Accept: "application/json"
|
|
2693
2693
|
},
|
|
@@ -2709,11 +2709,11 @@ function na(a, e, t) {
|
|
|
2709
2709
|
if (!(E > 0))
|
|
2710
2710
|
return;
|
|
2711
2711
|
re(), t(16, J = !0);
|
|
2712
|
-
const o = new URL(`/v2/player/${
|
|
2712
|
+
const o = new URL(`/v2/player/${p}/limit/lugas`, m);
|
|
2713
2713
|
let k = {
|
|
2714
2714
|
method: "POST",
|
|
2715
2715
|
headers: {
|
|
2716
|
-
"X-SessionID":
|
|
2716
|
+
"X-SessionID": d,
|
|
2717
2717
|
"Content-Type": "application/json",
|
|
2718
2718
|
Accept: "application/json"
|
|
2719
2719
|
},
|
|
@@ -2730,7 +2730,7 @@ function na(a, e, t) {
|
|
|
2730
2730
|
console.log(g), t(17, Q = !0);
|
|
2731
2731
|
});
|
|
2732
2732
|
}, Et = () => {
|
|
2733
|
-
if (Le = {},
|
|
2733
|
+
if (Le = {}, f === "gm16")
|
|
2734
2734
|
switch (y) {
|
|
2735
2735
|
case "lugas":
|
|
2736
2736
|
Dt();
|
|
@@ -2745,13 +2745,13 @@ function na(a, e, t) {
|
|
|
2745
2745
|
Ct();
|
|
2746
2746
|
break;
|
|
2747
2747
|
}
|
|
2748
|
-
else if (
|
|
2748
|
+
else if (f === "gmcore")
|
|
2749
2749
|
At();
|
|
2750
2750
|
else
|
|
2751
|
-
throw Error(`Invalid apiversion attribute: ${
|
|
2751
|
+
throw Error(`Invalid apiversion attribute: ${f}`);
|
|
2752
2752
|
ee("self_limitation_request");
|
|
2753
2753
|
}, ne = () => {
|
|
2754
|
-
switch (
|
|
2754
|
+
switch (f) {
|
|
2755
2755
|
case "gmcore":
|
|
2756
2756
|
xt();
|
|
2757
2757
|
break;
|
|
@@ -2761,81 +2761,81 @@ function na(a, e, t) {
|
|
|
2761
2761
|
}
|
|
2762
2762
|
}, xt = () => {
|
|
2763
2763
|
t(16, J = !0);
|
|
2764
|
-
let o = new URL(`/v2/player/${
|
|
2764
|
+
let o = new URL(`/v2/player/${p}/limits`, m), r = {
|
|
2765
2765
|
method: "GET",
|
|
2766
2766
|
headers: {
|
|
2767
|
-
"X-SessionID":
|
|
2767
|
+
"X-SessionID": d,
|
|
2768
2768
|
"Content-Type": "application/json",
|
|
2769
2769
|
Accept: "application/json"
|
|
2770
2770
|
}
|
|
2771
2771
|
};
|
|
2772
|
-
fetch(o.href,
|
|
2773
|
-
$ =
|
|
2774
|
-
}).catch((
|
|
2775
|
-
console.error("Error LimitsWidget: ",
|
|
2772
|
+
fetch(o.href, r).then((L) => oe(L)).then((L) => {
|
|
2773
|
+
$ = L, fe && we(), Ve($), zt($), t(10, E = null);
|
|
2774
|
+
}).catch((L) => {
|
|
2775
|
+
console.error("Error LimitsWidget: ", L), t(17, Q = !0);
|
|
2776
2776
|
}).finally(() => {
|
|
2777
2777
|
t(16, J = !1);
|
|
2778
2778
|
});
|
|
2779
2779
|
}, Mt = () => {
|
|
2780
2780
|
t(16, J = !0), $ = [];
|
|
2781
|
-
let o = new URL(`/v1/player/${
|
|
2781
|
+
let o = new URL(`/v1/player/${p}/limits/monetary`, m), r = new URL(`/v1/player/${p}/limits/session`, m), L = !1, k = {
|
|
2782
2782
|
method: "GET",
|
|
2783
2783
|
headers: {
|
|
2784
|
-
"X-SessionID":
|
|
2784
|
+
"X-SessionID": d,
|
|
2785
2785
|
"Content-Type": "application/json",
|
|
2786
2786
|
Accept: "application/json"
|
|
2787
2787
|
}
|
|
2788
2788
|
};
|
|
2789
2789
|
fetch(o.href, k).then((g) => oe(g)).then((g) => {
|
|
2790
|
-
$.push(g),
|
|
2790
|
+
$.push(g), f === "gmcore" && Ve($), f === "gm16" && Pt($), fe && we(), t(10, E = null);
|
|
2791
2791
|
}).catch((g) => {
|
|
2792
2792
|
console.error("Error LimitsWidget: ", g), t(17, Q = !0);
|
|
2793
2793
|
}).finally(() => {
|
|
2794
|
-
|
|
2795
|
-
}), fetch(
|
|
2796
|
-
$.push(g), fe && we(),
|
|
2794
|
+
L && t(16, J = !1), L = !0;
|
|
2795
|
+
}), fetch(r.href, k).then((g) => oe(g)).then((g) => {
|
|
2796
|
+
$.push(g), fe && we(), f === "gm16" && It($), f === "gm16" && Ut($), t(10, E = null);
|
|
2797
2797
|
}).catch((g) => {
|
|
2798
2798
|
console.error("Error LimitsWidget: ", g), t(17, Q = !0);
|
|
2799
2799
|
}).finally(() => {
|
|
2800
|
-
|
|
2800
|
+
L && t(16, J = !1), L = !0;
|
|
2801
2801
|
});
|
|
2802
2802
|
}, Ve = (o) => {
|
|
2803
|
-
S.forEach((
|
|
2804
|
-
|
|
2805
|
-
const
|
|
2806
|
-
|
|
2803
|
+
S.forEach((r) => {
|
|
2804
|
+
r.currentLimits = [];
|
|
2805
|
+
const L = Array.isArray(o[W[r.value].callValue]) ? o[W[r.value].callValue] : [o[W[r.value].callValue]];
|
|
2806
|
+
L.length === 0 || L[0] === void 0 || (L.forEach((k, g) => {
|
|
2807
2807
|
var I;
|
|
2808
|
-
const z = o[W[
|
|
2809
|
-
|
|
2810
|
-
}),
|
|
2808
|
+
const z = o[W[r.value].callValue][g];
|
|
2809
|
+
r.currentLimits.push({}), r.currentLimits[g].limitType = r.value, r.currentLimits[g].amount = q ? z.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.amount), r.currentLimits[g].currency = (I = ge[z.currency]) != null ? I : z.currency, r.currentLimits[g].period = z.period, r.currentLimits[g].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.updateAmount), r.currentLimits[g].isModified = z.isModified, r.currentLimits[g].expiryDate = `${new Date(z.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
|
|
2810
|
+
}), r.currentLimits = be(r.currentLimits));
|
|
2811
2811
|
});
|
|
2812
2812
|
}, zt = (o) => {
|
|
2813
|
-
const
|
|
2814
|
-
S.filter((
|
|
2813
|
+
const r = i("minutes");
|
|
2814
|
+
S.filter((L) => L.value === "sessionLimit" || L.value === "cumulativeSession").forEach((L) => {
|
|
2815
2815
|
var k;
|
|
2816
|
-
|
|
2817
|
-
const I = o[W[
|
|
2818
|
-
|
|
2819
|
-
limitType:
|
|
2816
|
+
L.currentLimits = [], (k = o[W[L.value].callValue]) == null || k.forEach((g, z) => {
|
|
2817
|
+
const I = o[W[L.value].callValue][z];
|
|
2818
|
+
L.currentLimits.push({
|
|
2819
|
+
limitType: L.value,
|
|
2820
2820
|
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(I.minutes),
|
|
2821
|
-
currency:
|
|
2821
|
+
currency: r,
|
|
2822
2822
|
isModified: I.isModified,
|
|
2823
|
-
period:
|
|
2823
|
+
period: L.value === "cumulativeSession" ? I.period : "None",
|
|
2824
2824
|
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(I.updateMinutes),
|
|
2825
2825
|
expiryDate: `${new Date(I.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`
|
|
2826
2826
|
});
|
|
2827
|
-
}),
|
|
2827
|
+
}), L.currentLimits = be(L.currentLimits);
|
|
2828
2828
|
});
|
|
2829
2829
|
}, Pt = (o) => {
|
|
2830
|
-
var
|
|
2831
|
-
(
|
|
2830
|
+
var r;
|
|
2831
|
+
(r = o[0]) != null && r.limits && S.forEach((L) => {
|
|
2832
2832
|
var k;
|
|
2833
|
-
|
|
2833
|
+
L.currentLimits = [];
|
|
2834
2834
|
for (const g of o[0].limits)
|
|
2835
|
-
if (g.type ===
|
|
2835
|
+
if (g.type === L.callValue16 && g.products.includes(L.product)) {
|
|
2836
2836
|
let z = 0, I = g.schedules.length > 0 ? g.schedules.find((X) => X.id) : {};
|
|
2837
|
-
g.schedules.length > 0 && (z = q ? I.updateAmount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(I.updateAmount)),
|
|
2838
|
-
limitType:
|
|
2837
|
+
g.schedules.length > 0 && (z = q ? I.updateAmount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(I.updateAmount)), L.currentLimits.push({
|
|
2838
|
+
limitType: L.value,
|
|
2839
2839
|
amount: q ? g.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(g.amount),
|
|
2840
2840
|
currency: (k = ge[g.currency]) != null ? k : g.currency,
|
|
2841
2841
|
isModified: g.schedules.length > 0,
|
|
@@ -2846,16 +2846,16 @@ function na(a, e, t) {
|
|
|
2846
2846
|
scheduleId: I ? I.id : null,
|
|
2847
2847
|
expiryDate: g.schedules.length > 0 ? `${new Date(g.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "",
|
|
2848
2848
|
id: g.id
|
|
2849
|
-
}),
|
|
2849
|
+
}), L.currentLimits.forEach((X) => {
|
|
2850
2850
|
X.acknowledgedLimit = Object.keys(te).some((pe) => X.scheduleId === pe);
|
|
2851
2851
|
});
|
|
2852
2852
|
}
|
|
2853
|
-
|
|
2853
|
+
L.currentLimits = be(L.currentLimits);
|
|
2854
2854
|
});
|
|
2855
2855
|
}, It = (o) => {
|
|
2856
|
-
var
|
|
2857
|
-
(
|
|
2858
|
-
|
|
2856
|
+
var r;
|
|
2857
|
+
(r = o[1]) != null && r.sessionLimit && S.filter((L) => L.value === "sessionLimit").forEach((L) => {
|
|
2858
|
+
L.currentLimits.push({
|
|
2859
2859
|
limitType: "sessionLimit",
|
|
2860
2860
|
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o[1].sessionLimit.minutes),
|
|
2861
2861
|
currency: i("minutes"),
|
|
@@ -2863,13 +2863,13 @@ function na(a, e, t) {
|
|
|
2863
2863
|
period: "None",
|
|
2864
2864
|
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o[1].sessionLimit.updateMinutes),
|
|
2865
2865
|
expiryDate: o[1].sessionLimit.expiryDate
|
|
2866
|
-
}),
|
|
2866
|
+
}), L.currentLimits = be(L.currentLimits);
|
|
2867
2867
|
});
|
|
2868
2868
|
}, Ut = (o) => {
|
|
2869
|
-
var
|
|
2870
|
-
(
|
|
2869
|
+
var r;
|
|
2870
|
+
(r = o[1]) != null && r.cumulativeSessionLimits && S.filter((L) => L.value === "cumulativeSession").forEach((L) => {
|
|
2871
2871
|
for (const k of o[1].cumulativeSessionLimits)
|
|
2872
|
-
|
|
2872
|
+
L.currentLimits.push({
|
|
2873
2873
|
limitType: "cumulativeSession",
|
|
2874
2874
|
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(k.minutes),
|
|
2875
2875
|
currency: i("minutes"),
|
|
@@ -2878,11 +2878,11 @@ function na(a, e, t) {
|
|
|
2878
2878
|
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(k.updateMinutes),
|
|
2879
2879
|
expiryDate: k.expiryDate
|
|
2880
2880
|
});
|
|
2881
|
-
|
|
2881
|
+
L.currentLimits = be(L.currentLimits);
|
|
2882
2882
|
});
|
|
2883
2883
|
}, be = (o) => {
|
|
2884
|
-
const
|
|
2885
|
-
return o.sort((
|
|
2884
|
+
const r = { Daily: 0, Weekly: 1, Monthly: 2 };
|
|
2885
|
+
return o.sort((L, k) => r[L.period] - r[k.period]), o;
|
|
2886
2886
|
}, Nt = () => {
|
|
2887
2887
|
const o = E - Math.floor(E) === 0;
|
|
2888
2888
|
E >= me && E <= ce && o ? (t(24, ve = !1), K.removeAttribute("disabled")) : (t(24, ve = !0), K.setAttribute("disabled", "true"));
|
|
@@ -2890,46 +2890,46 @@ function na(a, e, t) {
|
|
|
2890
2890
|
t(24, ve = !1), se != null && se[y] ? (t(12, me = se[y].min), t(13, ce = se[y].max)) : (t(12, me = 1), t(13, ce = 9999999));
|
|
2891
2891
|
}, Rt = () => {
|
|
2892
2892
|
if ($) {
|
|
2893
|
-
const o = $[W[y].callValue].find((k) => k.period === _),
|
|
2894
|
-
let
|
|
2895
|
-
t(21, ae = o.isModified ? `${i("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` :
|
|
2893
|
+
const o = $[W[y].callValue].find((k) => k.period === _), r = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.amount);
|
|
2894
|
+
let L = i("popupImmediateUpdate").replace("{selectedLimit}", Pe()).replace("{updatedAmount}", r).replace("{currency}", ge[o.currency] || o.currency).replace("{selectedPeriod}", i(`${_}`));
|
|
2895
|
+
t(21, ae = o.isModified ? `${i("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : L);
|
|
2896
2896
|
}
|
|
2897
2897
|
t(20, le = !0);
|
|
2898
2898
|
}, Bt = () => {
|
|
2899
2899
|
var z;
|
|
2900
2900
|
const o = ((z = $[0]) == null ? void 0 : z.limits) || $.limits;
|
|
2901
|
-
let
|
|
2901
|
+
let r = null;
|
|
2902
2902
|
if (!$) {
|
|
2903
2903
|
t(20, le = !0);
|
|
2904
2904
|
return;
|
|
2905
2905
|
}
|
|
2906
|
-
Object.keys(Le).length > 0 ?
|
|
2907
|
-
const
|
|
2908
|
-
let g = i("popupImmediateUpdate").replace("{selectedLimit}", Pe()).replace("{updatedAmount}",
|
|
2909
|
-
|
|
2906
|
+
Object.keys(Le).length > 0 ? r = o.find((I) => I.id === Le.id) : r = o.find((I) => I.type.toLowerCase() === Re[y].toLowerCase() && (I.period === _ || I.period === "None") && I.products[0] === G), (r == null ? void 0 : r.schedules.length) > 0 && te[r == null ? void 0 : r.schedules[0].id] && (r.amount = r.schedules[0].updateAmount);
|
|
2907
|
+
const L = He(r) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(r.amount), k = r.schedules.length > 0 ? `${new Date(r.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "";
|
|
2908
|
+
let g = i("popupImmediateUpdate").replace("{selectedLimit}", Pe()).replace("{updatedAmount}", L).replace("{selectedPeriod}", i(`${r.period}`));
|
|
2909
|
+
r.schedules.length > 0 && te[r.schedules[0].id] ? t(21, ae = g) : t(21, ae = r.schedules.length > 0 ? `${i("popupPendingUpdate")} ${k}` : g), t(20, le = !0);
|
|
2910
2910
|
}, Ot = () => {
|
|
2911
2911
|
ke == 1 && t(22, he = "PopupKyc"), ke == 2 && (t(21, ae = `${i("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(Ne)} ${s} ${i("popup2_b")}`), t(22, he = "PopupKyc2")), ke == 3 && (t(21, ae = i("popup3")), t(22, he = "PopupSuccess")), t(20, le = !0);
|
|
2912
2912
|
}, Wt = () => {
|
|
2913
2913
|
t(21, ae = i("sessionLimitUpdated")), t(20, le = !0);
|
|
2914
2914
|
}, Vt = () => {
|
|
2915
2915
|
if ($) {
|
|
2916
|
-
const o = $[W[y].callValue].find((k) => (k.period === _ || _ === "None") && k.products[0] === G),
|
|
2917
|
-
let
|
|
2918
|
-
t(21, ae = o.isModified ? `${i("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` :
|
|
2916
|
+
const o = $[W[y].callValue].find((k) => (k.period === _ || _ === "None") && k.products[0] === G), r = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.minutes);
|
|
2917
|
+
let L = i("popupImmediateUpdate").replace("{selectedLimit}", i(`${y}`)).replace("{updatedAmount}", r).replace("{currency}", i("minutes")).replace("{selectedPeriod}", i(`${_}`));
|
|
2918
|
+
t(21, ae = o.isModified ? `${i("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : L);
|
|
2919
2919
|
}
|
|
2920
2920
|
t(20, le = !0);
|
|
2921
2921
|
}, qt = (o) => {
|
|
2922
|
-
var
|
|
2923
|
-
return (
|
|
2922
|
+
var r;
|
|
2923
|
+
return (r = o == null ? void 0 : o.error) == null ? void 0 : r.includes("Limit update is not permitted due to LimitUpdateControl");
|
|
2924
2924
|
}, Ft = (o) => {
|
|
2925
|
-
var
|
|
2926
|
-
return (
|
|
2925
|
+
var r;
|
|
2926
|
+
return (r = o == null ? void 0 : o.error) == null ? void 0 : r.includes("Limit remove is not permitted due to LimitUpdateControl");
|
|
2927
2927
|
}, Gt = (o) => {
|
|
2928
|
-
var
|
|
2929
|
-
return (
|
|
2928
|
+
var r;
|
|
2929
|
+
return (r = o == null ? void 0 : o.error) == null ? void 0 : r.includes("[NotFoundException] Limit does not exist");
|
|
2930
2930
|
}, Kt = (o) => {
|
|
2931
|
-
var
|
|
2932
|
-
return (
|
|
2931
|
+
var r;
|
|
2932
|
+
return (r = o.error) == null ? void 0 : r.includes("Invalid Session");
|
|
2933
2933
|
}, we = (o) => {
|
|
2934
2934
|
if (window.postMessage({ type: "OpenLimitsPopup" }, window.location.href), Q) {
|
|
2935
2935
|
if (t(18, Me = !0), !o) {
|
|
@@ -2939,7 +2939,7 @@ function na(a, e, t) {
|
|
|
2939
2939
|
o.thirdPartyResponse || t(21, ae = i(`${o}`)), o.thirdPartyResponse && t(21, ae = o.thirdPartyResponse.message), qt(o) && t(21, ae = i("popupUpdateLimitException")), Ft(o) && t(21, ae = i("popupRemoveLimitException")), Gt(o) && t(21, ae = i("notFoundException")), Kt(o) && t(21, ae = i("sessionExpiredException")), t(20, le = !0);
|
|
2940
2940
|
return;
|
|
2941
2941
|
}
|
|
2942
|
-
switch (
|
|
2942
|
+
switch (f) {
|
|
2943
2943
|
case "gmcore":
|
|
2944
2944
|
y === "sessionLimit" || y === "cumulativeSession" ? Vt() : Rt();
|
|
2945
2945
|
break;
|
|
@@ -2947,29 +2947,29 @@ function na(a, e, t) {
|
|
|
2947
2947
|
y === "lugas" ? Ot() : y === "sessionLimit" || y === "cumulativeSession" ? Wt() : Bt();
|
|
2948
2948
|
break;
|
|
2949
2949
|
default:
|
|
2950
|
-
throw new Error(`Invalid apiversion attribute: ${
|
|
2950
|
+
throw new Error(`Invalid apiversion attribute: ${f}`);
|
|
2951
2951
|
}
|
|
2952
2952
|
}, re = () => {
|
|
2953
2953
|
t(19, fe = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
|
|
2954
2954
|
}, Ht = (o) => {
|
|
2955
2955
|
t(7, y = o.limitType), t(8, _ = o.period), re(), t(16, J = !0);
|
|
2956
|
-
let
|
|
2957
|
-
o.limitType !== "sessionLimit" &&
|
|
2958
|
-
let
|
|
2956
|
+
let r = new URL(`/v2/player/${p}/limits/${Re[o.limitType]}`, m);
|
|
2957
|
+
o.limitType !== "sessionLimit" && r.searchParams.append("periods", o.period);
|
|
2958
|
+
let L = {
|
|
2959
2959
|
method: "DELETE",
|
|
2960
2960
|
headers: {
|
|
2961
|
-
"X-SessionID":
|
|
2961
|
+
"X-SessionID": d,
|
|
2962
2962
|
"Content-Type": "application/json",
|
|
2963
2963
|
Accept: "application/json"
|
|
2964
2964
|
}
|
|
2965
2965
|
};
|
|
2966
|
-
fetch(
|
|
2966
|
+
fetch(r.href, L).then((k) => oe(k)).then((k) => {
|
|
2967
2967
|
ee("self_limitation_cancel_success", o.amount), ne();
|
|
2968
2968
|
}).catch((k) => {
|
|
2969
2969
|
ee("self_limitation_cancel_failed", o.amount), console.log(k), t(17, Q = !0);
|
|
2970
2970
|
});
|
|
2971
2971
|
}, Fe = (o) => {
|
|
2972
|
-
switch (o.period,
|
|
2972
|
+
switch (o.period, f) {
|
|
2973
2973
|
case "gmcore":
|
|
2974
2974
|
Ht(o);
|
|
2975
2975
|
break;
|
|
@@ -2979,14 +2979,14 @@ function na(a, e, t) {
|
|
|
2979
2979
|
}
|
|
2980
2980
|
ee("self_limitation_cancel_request", o.amount);
|
|
2981
2981
|
}, Yt = (o) => {
|
|
2982
|
-
const
|
|
2982
|
+
const r = new URL(`/v1/player/${p}/limits/session/session`, m), L = new URL(`/v1/player/${p}/limits/session/cumulativeSession?periods=${o.period}`, m);
|
|
2983
2983
|
let k;
|
|
2984
2984
|
switch (o.limitType) {
|
|
2985
2985
|
case "sessionLimit":
|
|
2986
|
-
k =
|
|
2986
|
+
k = r;
|
|
2987
2987
|
break;
|
|
2988
2988
|
case "cumulativeSession":
|
|
2989
|
-
k =
|
|
2989
|
+
k = L;
|
|
2990
2990
|
break;
|
|
2991
2991
|
default:
|
|
2992
2992
|
throw Error(`Unknown limit.limitType: ${o.limitType}`);
|
|
@@ -2995,7 +2995,7 @@ function na(a, e, t) {
|
|
|
2995
2995
|
let g = {
|
|
2996
2996
|
method: "DELETE",
|
|
2997
2997
|
headers: {
|
|
2998
|
-
"X-SessionID":
|
|
2998
|
+
"X-SessionID": d,
|
|
2999
2999
|
"Content-Type": "application/json",
|
|
3000
3000
|
Accept: "application/json"
|
|
3001
3001
|
}
|
|
@@ -3006,76 +3006,76 @@ function na(a, e, t) {
|
|
|
3006
3006
|
ee("self_limitation_cancel_failed", o.amount), console.log(z), t(17, Q = !0);
|
|
3007
3007
|
});
|
|
3008
3008
|
}, Xt = (o) => {
|
|
3009
|
-
const
|
|
3009
|
+
const r = new URL(`/v1/player/${p}/limits/monetary/${o.id}`, m);
|
|
3010
3010
|
re(), t(16, J = !0);
|
|
3011
|
-
let
|
|
3011
|
+
let L = {
|
|
3012
3012
|
method: "DELETE",
|
|
3013
3013
|
headers: {
|
|
3014
|
-
"X-SessionID":
|
|
3014
|
+
"X-SessionID": d,
|
|
3015
3015
|
"Content-Type": "application/json",
|
|
3016
3016
|
Accept: "application/json"
|
|
3017
3017
|
}
|
|
3018
3018
|
};
|
|
3019
|
-
fetch(
|
|
3019
|
+
fetch(r.href, L).then((k) => oe(k)).then((k) => {
|
|
3020
3020
|
ee("self_limitation_cancel_success", o.amount), ne();
|
|
3021
3021
|
}).catch((k) => {
|
|
3022
3022
|
ee("self_limitation_cancel_failed", o.amount), console.log(k), t(17, Q = !0);
|
|
3023
3023
|
});
|
|
3024
3024
|
}, Ge = (o) => {
|
|
3025
|
-
const
|
|
3025
|
+
const r = new URL(`/v1/player/${p}/limits/schedule/${o.scheduleId}`, m);
|
|
3026
3026
|
re(), t(16, J = !0);
|
|
3027
|
-
let
|
|
3027
|
+
let L = {
|
|
3028
3028
|
method: "DELETE",
|
|
3029
3029
|
headers: {
|
|
3030
|
-
"X-SessionID":
|
|
3030
|
+
"X-SessionID": d,
|
|
3031
3031
|
"Content-Type": "application/json",
|
|
3032
3032
|
Accept: "application/json"
|
|
3033
3033
|
}
|
|
3034
3034
|
};
|
|
3035
|
-
fetch(
|
|
3035
|
+
fetch(r.href, L).then((k) => oe(k)).then((k) => {
|
|
3036
3036
|
Le = o, ee("self_limitation_cancel_success", o.updateAmount), ne();
|
|
3037
3037
|
}).catch((k) => {
|
|
3038
3038
|
ee("self_limitation_cancel_failed", o.updateAmount), console.log(k), t(17, Q = !0);
|
|
3039
3039
|
});
|
|
3040
3040
|
}, Ke = (o) => {
|
|
3041
|
-
const
|
|
3041
|
+
const r = new URL(`v1/player/${p}/limits/schedule/acknowledge/${o.scheduleId}`, m);
|
|
3042
3042
|
re(), t(16, J = !0);
|
|
3043
|
-
let
|
|
3043
|
+
let L = {
|
|
3044
3044
|
method: "PATCH",
|
|
3045
3045
|
headers: {
|
|
3046
|
-
"X-SessionID":
|
|
3046
|
+
"X-SessionID": d,
|
|
3047
3047
|
"Content-Type": "application/json",
|
|
3048
3048
|
Accept: "application/json"
|
|
3049
3049
|
}
|
|
3050
3050
|
};
|
|
3051
|
-
fetch(
|
|
3051
|
+
fetch(r.href, L).then((k) => oe(k)).then((k) => {
|
|
3052
3052
|
Le = o, Zt(o), ee("self_limitation_confirm_success", o.amount), ne();
|
|
3053
3053
|
}).catch((k) => {
|
|
3054
3054
|
ee("self_limitation_confirm_failed", o.amount), console.log(k), t(17, Q = !0);
|
|
3055
3055
|
});
|
|
3056
3056
|
}, Zt = (o) => {
|
|
3057
|
-
let
|
|
3058
|
-
t(25, te[o.scheduleId] = {}, te), t(25, te[o.scheduleId].timer = `${
|
|
3059
|
-
let
|
|
3060
|
-
() =>
|
|
3057
|
+
let r = 60;
|
|
3058
|
+
t(25, te[o.scheduleId] = {}, te), t(25, te[o.scheduleId].timer = `${r} ${de[n].seconds}`, te), t(25, te[o.scheduleId].timerStopped = !1, te);
|
|
3059
|
+
let L = window.setInterval(
|
|
3060
|
+
() => r === 0 ? (window.clearInterval(L), t(25, te[o.scheduleId].timerStopped = !0, te), t(25, te[o.scheduleId].timer = de[n].reloadLimitsButton, te)) : t(25, te[o.scheduleId].timer = `${--r} ${de[n].seconds}`, te),
|
|
3061
3061
|
1e3
|
|
3062
3062
|
);
|
|
3063
3063
|
}, Pe = (o) => {
|
|
3064
|
-
let
|
|
3065
|
-
return o ?
|
|
3066
|
-
}, He = (o,
|
|
3064
|
+
let r;
|
|
3065
|
+
return o ? r = i(o.value + o.product) : r = i(y), r;
|
|
3066
|
+
}, He = (o, r = !1) => {
|
|
3067
3067
|
if (!q)
|
|
3068
|
-
return
|
|
3069
|
-
let
|
|
3070
|
-
const k =
|
|
3071
|
-
let I =
|
|
3068
|
+
return r ? `${o.updateAmount}${o.currency}` : `${o.amount}${o.currency}`;
|
|
3069
|
+
let L = q;
|
|
3070
|
+
const k = L.match(/\{(\d+)decimals\}/), g = k ? parseInt(k[1], 10) : 2, z = k ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
3071
|
+
let I = r ? o.updateAmount : o.amount;
|
|
3072
3072
|
I = parseInt(I).toFixed(g);
|
|
3073
3073
|
const [X, pe] = q.includes(".") ? [",", "."] : [".", ","];
|
|
3074
3074
|
let [_e, Ie] = I.split(".");
|
|
3075
|
-
return _e = _e.replace(/\B(?=(\d{3})+(?!\d))/g, X), I = `${_e}${pe}${Ie}`,
|
|
3075
|
+
return _e = _e.replace(/\B(?=(\d{3})+(?!\d))/g, X), I = `${_e}${pe}${Ie}`, L = L.replace("{currency}", ge[o.currency] || o.currency).replace("{amount}", I.split(pe)[0]).replace(
|
|
3076
3076
|
z,
|
|
3077
3077
|
I.split(pe)[1]
|
|
3078
|
-
),
|
|
3078
|
+
), L;
|
|
3079
3079
|
}, Ye = () => {
|
|
3080
3080
|
t(20, le = t(19, fe = !1)), t(22, he = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
3081
3081
|
}, Jt = () => {
|
|
@@ -3086,9 +3086,9 @@ function na(a, e, t) {
|
|
|
3086
3086
|
if (!h)
|
|
3087
3087
|
return;
|
|
3088
3088
|
let o = {};
|
|
3089
|
-
h.split(",").forEach((
|
|
3090
|
-
let
|
|
3091
|
-
o[
|
|
3089
|
+
h.split(",").forEach((r) => {
|
|
3090
|
+
let L = r.split(":");
|
|
3091
|
+
o[L[0].trim()] = L[1].trim();
|
|
3092
3092
|
}), ge = je(je({}, ge), o);
|
|
3093
3093
|
}, ei = () => {
|
|
3094
3094
|
Di(n);
|
|
@@ -3119,13 +3119,13 @@ function na(a, e, t) {
|
|
|
3119
3119
|
});
|
|
3120
3120
|
}
|
|
3121
3121
|
return a.$$set = (o) => {
|
|
3122
|
-
"lang" in o && t(42, n = o.lang), "currency" in o && t(0, s = o.currency), "limits" in o && t(43, l = o.limits), "session" in o && t(44,
|
|
3122
|
+
"lang" in o && t(42, n = o.lang), "currency" in o && t(0, s = o.currency), "limits" in o && t(43, l = o.limits), "session" in o && t(44, d = o.session), "userid" in o && t(45, p = o.userid), "endpoint" in o && t(46, m = o.endpoint), "apiversion" in o && t(47, f = o.apiversion), "customcurrencysymbols" in o && t(48, h = o.customcurrencysymbols), "enablecompliancetext" in o && t(1, x = o.enablecompliancetext), "deletelimit" in o && t(2, b = o.deletelimit), "amountsconfig" in o && t(49, j = o.amountsconfig), "periodsconfig" in o && t(50, Y = o.periodsconfig), "limittabindex" in o && t(3, H = o.limittabindex), "limitformat" in o && t(51, q = o.limitformat), "clientstyling" in o && t(52, F = o.clientstyling), "clientstylingurl" in o && t(53, M = o.clientstylingurl), "mbsource" in o && t(54, N = o.mbsource), "translationurl" in o && t(55, B = o.translationurl);
|
|
3123
3123
|
}, a.$$.update = () => {
|
|
3124
3124
|
a.$$.dirty[1] & /*customcurrencysymbols*/
|
|
3125
3125
|
131072 && h && $t(), a.$$.dirty[1] & /*periodsconfig, amountsconfig*/
|
|
3126
3126
|
786432 && Y && j && _t(), a.$$.dirty[1] & /*lang*/
|
|
3127
3127
|
2048 && n && ei(), a.$$.dirty[1] & /*userid, session, endpoint, apiversion, lang*/
|
|
3128
|
-
124928 &&
|
|
3128
|
+
124928 && p && d && m && f && n && ne(), a.$$.dirty[0] & /*customStylingContainer*/
|
|
3129
3129
|
16 | a.$$.dirty[1] & /*clientstyling*/
|
|
3130
3130
|
2097152 && F && D && Si(D, F), a.$$.dirty[0] & /*customStylingContainer*/
|
|
3131
3131
|
16 | a.$$.dirty[1] & /*clientstylingurl*/
|
|
@@ -3178,10 +3178,10 @@ function na(a, e, t) {
|
|
|
3178
3178
|
Qt,
|
|
3179
3179
|
n,
|
|
3180
3180
|
l,
|
|
3181
|
-
p,
|
|
3182
3181
|
d,
|
|
3183
|
-
|
|
3184
|
-
|
|
3182
|
+
p,
|
|
3183
|
+
m,
|
|
3184
|
+
f,
|
|
3185
3185
|
h,
|
|
3186
3186
|
j,
|
|
3187
3187
|
Y,
|