@everymatrix/player-limit-notification 0.12.7 → 0.12.8
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/{PlayerAccountGamingLimitsHistory2Nd-Dw-hyVIT.js → PlayerAccountGamingLimitsHistory2Nd-Bda8qzO4.js} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C1UmFloh.js → PlayerAccountGamingLimitsHistory2Nd-CpX1vrIG.js} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2Nd-i9DoJ_7Y.cjs → PlayerAccountGamingLimitsHistory2Nd-tteQ2Pcq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-X90r5Ee7.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-C3O2Twu7.cjs} +5 -5
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DbUDIYJ2.js → PlayerAccountGamingLimitsPage2Gm16Nd-CJxWmBd5.js} +292 -294
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-IkOsUuVt.js → PlayerAccountGamingLimitsPage2Gm16Nd-SnnLEGC_.js} +124 -126
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BdwmQsN8.js → PlayerAccountGamingLimitsWrapper2Nd-BiKx-V4U.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-4rpnhWgV.cjs → PlayerAccountGamingLimitsWrapper2Nd-BsExTc8A.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DT_e1aVY.js → PlayerAccountGamingLimitsWrapper2Nd-oH1olb4Z.js} +3 -3
- package/components/{PlayerLimitNotification-CNVxhaGt.js → PlayerLimitNotification-9BWfVeNT.js} +1 -1
- package/components/{PlayerLimitNotification-DdtD4G0H.cjs → PlayerLimitNotification-CJg4-W7Z.cjs} +1 -1
- package/components/{PlayerLimitNotification-CzSefvqX.js → PlayerLimitNotification-Cw75gubz.js} +1 -1
- package/es2015/player-limit-notification.cjs +1 -1
- package/es2015/player-limit-notification.js +1 -1
- package/esnext/player-limit-notification.js +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Ma = Object.defineProperty, Ia = Object.defineProperties;
|
|
2
2
|
var ja = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Pi = Object.getOwnPropertySymbols;
|
|
4
4
|
var Ua = Object.prototype.hasOwnProperty, Na = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ti = (i, e, t) => e in i ?
|
|
5
|
+
var Ti = (i, e, t) => e in i ? Ma(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Te = (i, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
7
|
Ua.call(e, t) && Ti(i, t, e[t]);
|
|
8
8
|
if (Pi)
|
|
9
9
|
for (var t of Pi(e))
|
|
10
10
|
Na.call(e, t) && Ti(i, t, e[t]);
|
|
11
11
|
return i;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, Re = (i, e) => Ia(i, ja(e));
|
|
13
|
+
var De = (i, e, t) => new Promise((n, o) => {
|
|
14
14
|
var r = (m) => {
|
|
15
15
|
try {
|
|
16
16
|
u(t.next(m));
|
|
@@ -26,8 +26,8 @@ var Pe = (i, e, t) => new Promise((n, o) => {
|
|
|
26
26
|
}, u = (m) => m.done ? n(m.value) : Promise.resolve(m.value).then(r, s);
|
|
27
27
|
u((t = t.apply(i, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a as Ba, $ as Ra, S as Oa, i as Va, s as Wa, f as $, b as Fa, d as C, t as Ct, e as Dt, D as qa, j as Ga, k as D, l as d, m as k, n as j, p as Ha, r as Ka, M as ft, o as g, c as Zt, u as Qt, g as $t, h as ei, x as lt, B as ze, C as ot, N as at, v as
|
|
30
|
-
import { i as on } from "./PlayerAccountGamingLimitsWrapper2Nd-
|
|
29
|
+
import { a as Ba, $ as Ra, S as Oa, i as Va, s as Wa, f as $, b as Fa, d as C, t as Ct, e as Dt, D as qa, j as Ga, k as D, l as d, m as k, n as j, p as Ha, r as Ka, M as ft, o as g, c as Zt, u as Qt, g as $t, h as ei, x as lt, B as ze, C as ot, N as at, v as M, O as Lo, P as Pt, z as Le, w as x, Q as zi, y as Ya, E as it, R as xt, T as ho, U as Lt, G as gt, A as oe, V as Xa, W as Ja, H as Za, I as Qa, J as $a, K as en, L as tn } from "./PlayerLimitNotification-Cw75gubz.js";
|
|
30
|
+
import { i as on } from "./PlayerAccountGamingLimitsWrapper2Nd-BiKx-V4U.js";
|
|
31
31
|
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
32
32
|
const se = {
|
|
33
33
|
lugas: {
|
|
@@ -1479,7 +1479,7 @@ const W = {
|
|
|
1479
1479
|
netdeposit: "netdeposit",
|
|
1480
1480
|
cumulativeSession: "cumulativeSession",
|
|
1481
1481
|
sessionLimit: "session"
|
|
1482
|
-
},
|
|
1482
|
+
}, Ie = {
|
|
1483
1483
|
success: "self_limitation_cancel_success",
|
|
1484
1484
|
failed: "self_limitation_cancel_failed",
|
|
1485
1485
|
request: "self_limitation_cancel_request",
|
|
@@ -1501,12 +1501,12 @@ const W = {
|
|
|
1501
1501
|
var o, r;
|
|
1502
1502
|
return ((o = e[t.period]) != null ? o : 99) - ((r = e[n.period]) != null ? r : 99);
|
|
1503
1503
|
});
|
|
1504
|
-
},
|
|
1504
|
+
}, Mi = (i, e) => {
|
|
1505
1505
|
if (!i || !i.type)
|
|
1506
1506
|
return !1;
|
|
1507
1507
|
const t = i.type.toLowerCase();
|
|
1508
1508
|
return !(t.includes("operator") || t.includes("system") || t !== e.type.toLowerCase() || i.period !== e.period && i.period !== "None" || !(Array.isArray(i.products) && e.product && i.products.includes(e.product)));
|
|
1509
|
-
},
|
|
1509
|
+
}, Ii = {
|
|
1510
1510
|
unableToUpdatePendingRequest: ["SYS_1037", "SYS_1142", "SYS_1140"],
|
|
1511
1511
|
internalServerError: ["F0004", "F0006"]
|
|
1512
1512
|
}, mn = (i, e) => {
|
|
@@ -1624,56 +1624,56 @@ function hn(i) {
|
|
|
1624
1624
|
/*$_*/
|
|
1625
1625
|
i[38]("popupTitle") + ""
|
|
1626
1626
|
), o, r, s, u, m, f, c, b, _, L, w, A, U;
|
|
1627
|
-
function Y(
|
|
1627
|
+
function Y(G, ue) {
|
|
1628
1628
|
return (
|
|
1629
1629
|
/*popupErrorDisplay*/
|
|
1630
|
-
|
|
1630
|
+
G[27] ? wn : (
|
|
1631
1631
|
/*popupVariant*/
|
|
1632
|
-
|
|
1632
|
+
G[19] == 2 ? kn : bn
|
|
1633
1633
|
)
|
|
1634
1634
|
);
|
|
1635
1635
|
}
|
|
1636
|
-
let F = Y(i),
|
|
1637
|
-
function J(
|
|
1636
|
+
let F = Y(i), q = F(i);
|
|
1637
|
+
function J(G, ue) {
|
|
1638
1638
|
return (
|
|
1639
1639
|
/*popupErrorDisplay*/
|
|
1640
|
-
|
|
1640
|
+
G[27] ? An : (
|
|
1641
1641
|
/*popupVariant*/
|
|
1642
|
-
|
|
1642
|
+
G[19] == 2 ? Sn : _n
|
|
1643
1643
|
)
|
|
1644
1644
|
);
|
|
1645
1645
|
}
|
|
1646
1646
|
let ee = J(i), P = ee(i);
|
|
1647
|
-
function R(
|
|
1647
|
+
function R(G, ue) {
|
|
1648
1648
|
return (
|
|
1649
1649
|
/*popupVariant*/
|
|
1650
|
-
|
|
1650
|
+
G[19] == 2 ? Dn : Cn
|
|
1651
1651
|
);
|
|
1652
1652
|
}
|
|
1653
1653
|
let Se = R(i), he = Se(i);
|
|
1654
1654
|
return {
|
|
1655
1655
|
c() {
|
|
1656
|
-
e = k("div"), t = k("span"), o = x(n), r = j(), s = k("button"), s.textContent = "X", u = j(), m = k("div"), f = k("div"),
|
|
1656
|
+
e = k("div"), t = k("span"), o = x(n), r = j(), s = k("button"), s.textContent = "X", u = j(), m = k("div"), f = k("div"), q.c(), c = j(), P.c(), b = j(), _ = k("p"), L = j(), he.c(), w = it(), g(t, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(e, "class", "PopupTitleWrapper"), g(f, "class", "ResultIconWrapper"), g(_, "class", "DescriptionParagraph " + (/*isDesktop*/
|
|
1657
1657
|
i[39] ? "" : "Mobile")), g(m, "class", "DescriptionWrapper");
|
|
1658
1658
|
},
|
|
1659
|
-
m(
|
|
1660
|
-
D(
|
|
1661
|
-
i[15], D(
|
|
1659
|
+
m(G, ue) {
|
|
1660
|
+
D(G, e, ue), d(e, t), d(t, o), d(e, r), d(e, s), D(G, u, ue), D(G, m, ue), d(m, f), q.m(f, null), d(f, c), P.m(f, null), d(m, b), d(m, _), _.innerHTML = /*popupContent*/
|
|
1661
|
+
i[15], D(G, L, ue), he.m(G, ue), D(G, w, ue), A || (U = Le(
|
|
1662
1662
|
s,
|
|
1663
1663
|
"click",
|
|
1664
1664
|
/*closePopup*/
|
|
1665
1665
|
i[56]
|
|
1666
1666
|
), A = !0);
|
|
1667
1667
|
},
|
|
1668
|
-
p(
|
|
1668
|
+
p(G, ue) {
|
|
1669
1669
|
ue[1] & /*$_*/
|
|
1670
1670
|
128 && n !== (n = /*$_*/
|
|
1671
|
-
|
|
1671
|
+
G[38]("popupTitle") + "") && M(o, n), F !== (F = Y(G)) && (q.d(1), q = F(G), q && (q.c(), q.m(f, c))), ee === (ee = J(G)) && P ? P.p(G, ue) : (P.d(1), P = ee(G), P && (P.c(), P.m(f, null))), ue[0] & /*popupContent*/
|
|
1672
1672
|
32768 && (_.innerHTML = /*popupContent*/
|
|
1673
|
-
|
|
1673
|
+
G[15]), Se === (Se = R(G)) && he ? he.p(G, ue) : (he.d(1), he = Se(G), he && (he.c(), he.m(w.parentNode, w)));
|
|
1674
1674
|
},
|
|
1675
|
-
d(
|
|
1676
|
-
|
|
1675
|
+
d(G) {
|
|
1676
|
+
G && (C(e), C(u), C(m), C(L), C(w)), q.d(), P.d(), he.d(G), A = !1, U();
|
|
1677
1677
|
}
|
|
1678
1678
|
};
|
|
1679
1679
|
}
|
|
@@ -1687,21 +1687,21 @@ function yn(i) {
|
|
|
1687
1687
|
), A, U, Y, F = (
|
|
1688
1688
|
/*$_*/
|
|
1689
1689
|
i[38]("uploadDocumentContent") + ""
|
|
1690
|
-
),
|
|
1690
|
+
), q, J, ee, P, R, Se = (
|
|
1691
1691
|
/*$_*/
|
|
1692
1692
|
i[38]("uploadHistory") + ""
|
|
1693
|
-
), he,
|
|
1693
|
+
), he, G, ue, ye, Pe, me = (
|
|
1694
1694
|
/*$_*/
|
|
1695
1695
|
i[38]("submitButton") + ""
|
|
1696
1696
|
), de, pe, ce, ve;
|
|
1697
|
-
function
|
|
1697
|
+
function je(E, N) {
|
|
1698
1698
|
return (
|
|
1699
1699
|
/*uploadedFiles*/
|
|
1700
1700
|
E[20] && /*uploadedFiles*/
|
|
1701
1701
|
E[20].length > 0 ? Tn : Pn
|
|
1702
1702
|
);
|
|
1703
1703
|
}
|
|
1704
|
-
let Oe =
|
|
1704
|
+
let Oe = je(i), re = Oe(i), S = !/*isUploadValid*/
|
|
1705
1705
|
i[30] && /*uploadedFiles*/
|
|
1706
1706
|
i[20] && /*uploadedFiles*/
|
|
1707
1707
|
i[20].length > 0 && Yi(i);
|
|
@@ -1716,14 +1716,14 @@ function yn(i) {
|
|
|
1716
1716
|
c0,49.7-39.1,92.9-87.3,96.6h-73.7c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h74.2c0.3,0,0.6,0,1,0c30.5-2.2,59-16.2,80.2-39.6
|
|
1717
1717
|
c21.1-23.2,32.6-53,32.6-84C486.2,199.5,447.9,149.6,395.5,135.8z"></path><path d="M324.2,280c5.3-5.3,5.3-13.8,0-19.1l-71.5-71.5c-2.5-2.5-6-4-9.5-4s-7,1.4-9.5,4l-71.5,71.5c-5.3,5.3-5.3,13.8,0,19.1
|
|
1718
1718
|
c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4l48.5-48.5v222.9c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5V231.5l48.5,48.5
|
|
1719
|
-
C310.4,285.3,318.9,285.3,324.2,280z"></path></g></g></svg>`, _ = j(), L = k("header"), A = x(w), U = j(), Y = k("span"),
|
|
1720
|
-
i[39] ? "" : "Mobile")),
|
|
1719
|
+
C310.4,285.3,318.9,285.3,324.2,280z"></path></g></g></svg>`, _ = j(), L = k("header"), A = x(w), U = j(), Y = k("span"), q = j(), J = k("input"), ee = j(), P = k("div"), R = k("p"), he = x(Se), G = j(), re.c(), ue = j(), S && S.c(), ye = j(), Pe = k("button"), de = x(me), g(t, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(e, "class", "PopupTitleWrapper"), g(b, "class", "icon"), g(J, "id", "files"), g(J, "type", "file"), Lt(J, "display", "none"), g(c, "class", "documentDragArea"), g(c, "for", "files"), g(R, "class", "historyHeader"), g(P, "class", "uploadHistory"), g(Pe, "class", "SubmitDocumentButton " + (/*isDesktop*/
|
|
1720
|
+
i[39] ? "" : "Mobile")), Pe.disabled = pe = !/*uploadedFiles*/
|
|
1721
1721
|
i[20] || !/*uploadedFiles*/
|
|
1722
1722
|
(i[20].length > 0) || !/*isUploadValid*/
|
|
1723
1723
|
i[30], g(f, "class", "documentAction"), g(m, "class", "DescriptionWrapper");
|
|
1724
1724
|
},
|
|
1725
1725
|
m(E, N) {
|
|
1726
|
-
D(E, e, N), d(e, t), d(t, o), d(e, r), d(e, s), D(E, u, N), D(E, m, N), d(m, f), d(f, c), d(c, b), d(c, _), d(c, L), d(L, A), d(c, U), d(c, Y), Y.innerHTML = F, d(c,
|
|
1726
|
+
D(E, e, N), d(e, t), d(t, o), d(e, r), d(e, s), D(E, u, N), D(E, m, N), d(m, f), d(f, c), d(c, b), d(c, _), d(c, L), d(L, A), d(c, U), d(c, Y), Y.innerHTML = F, d(c, q), d(c, J), d(f, ee), d(f, P), d(P, R), d(R, he), d(P, G), re.m(P, null), d(f, ue), S && S.m(f, null), d(f, ye), d(f, Pe), d(Pe, de), ce || (ve = [
|
|
1727
1727
|
Le(
|
|
1728
1728
|
s,
|
|
1729
1729
|
"click",
|
|
@@ -1737,7 +1737,7 @@ function yn(i) {
|
|
|
1737
1737
|
i[88]
|
|
1738
1738
|
),
|
|
1739
1739
|
Le(
|
|
1740
|
-
|
|
1740
|
+
Pe,
|
|
1741
1741
|
"click",
|
|
1742
1742
|
/*createUploadURLHandler*/
|
|
1743
1743
|
i[59]
|
|
@@ -1747,22 +1747,22 @@ function yn(i) {
|
|
|
1747
1747
|
p(E, N) {
|
|
1748
1748
|
N[1] & /*$_*/
|
|
1749
1749
|
128 && n !== (n = /*$_*/
|
|
1750
|
-
E[38]("documentUploadTitle") + "") &&
|
|
1750
|
+
E[38]("documentUploadTitle") + "") && M(o, n), N[1] & /*$_*/
|
|
1751
1751
|
128 && w !== (w = /*$_*/
|
|
1752
|
-
E[38]("uploadDocumentHeader") + "") &&
|
|
1752
|
+
E[38]("uploadDocumentHeader") + "") && M(A, w), N[1] & /*$_*/
|
|
1753
1753
|
128 && F !== (F = /*$_*/
|
|
1754
1754
|
E[38]("uploadDocumentContent") + "") && (Y.innerHTML = F), N[1] & /*$_*/
|
|
1755
1755
|
128 && Se !== (Se = /*$_*/
|
|
1756
|
-
E[38]("uploadHistory") + "") &&
|
|
1756
|
+
E[38]("uploadHistory") + "") && M(he, Se), Oe === (Oe = je(E)) && re ? re.p(E, N) : (re.d(1), re = Oe(E), re && (re.c(), re.m(P, null))), !/*isUploadValid*/
|
|
1757
1757
|
E[30] && /*uploadedFiles*/
|
|
1758
1758
|
E[20] && /*uploadedFiles*/
|
|
1759
1759
|
E[20].length > 0 ? S ? S.p(E, N) : (S = Yi(E), S.c(), S.m(f, ye)) : S && (S.d(1), S = null), N[1] & /*$_*/
|
|
1760
1760
|
128 && me !== (me = /*$_*/
|
|
1761
|
-
E[38]("submitButton") + "") &&
|
|
1761
|
+
E[38]("submitButton") + "") && M(de, me), N[0] & /*uploadedFiles, isUploadValid*/
|
|
1762
1762
|
1074790400 && pe !== (pe = !/*uploadedFiles*/
|
|
1763
1763
|
E[20] || !/*uploadedFiles*/
|
|
1764
1764
|
(E[20].length > 0) || !/*isUploadValid*/
|
|
1765
|
-
E[30]) && (
|
|
1765
|
+
E[30]) && (Pe.disabled = pe);
|
|
1766
1766
|
},
|
|
1767
1767
|
d(E) {
|
|
1768
1768
|
E && (C(e), C(u), C(m)), re.d(), S && S.d(), ce = !1, at(ve);
|
|
@@ -1820,17 +1820,17 @@ function kn(i) {
|
|
|
1820
1820
|
};
|
|
1821
1821
|
}
|
|
1822
1822
|
function wn(i) {
|
|
1823
|
-
let e, t, n, o, r, s, u, m, f, c, b, _, L, w, A, U, Y, F,
|
|
1823
|
+
let e, t, n, o, r, s, u, m, f, c, b, _, L, w, A, U, Y, F, q;
|
|
1824
1824
|
return {
|
|
1825
1825
|
c() {
|
|
1826
|
-
e = oe("svg"), t = oe("g"), n = oe("path"), o = oe("path"), r = oe("g"), s = oe("g"), u = oe("g"), m = oe("g"), f = oe("g"), c = oe("g"), b = oe("g"), _ = oe("g"), L = oe("g"), w = oe("g"), A = oe("g"), U = oe("g"), Y = oe("g"), F = oe("g"),
|
|
1826
|
+
e = oe("svg"), t = oe("g"), n = oe("path"), o = oe("path"), r = oe("g"), s = oe("g"), u = oe("g"), m = oe("g"), f = oe("g"), c = oe("g"), b = oe("g"), _ = oe("g"), L = oe("g"), w = oe("g"), A = oe("g"), U = oe("g"), Y = oe("g"), F = oe("g"), q = oe("g"), g(n, "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
|
|
1827
1827
|
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), g(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
|
|
1828
1828
|
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
|
|
1829
1829
|
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
|
|
1830
1830
|
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`), g(e, "version", "1.1"), g(e, "id", "Capa_1"), g(e, "xmlns", "http://www.w3.org/2000/svg"), g(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(e, "x", "0px"), g(e, "y", "0px"), g(e, "viewBox", "0 0 52 52"), Lt(e, "enable-background", "new 0 0 52 52"), g(e, "xml:space", "preserve");
|
|
1831
1831
|
},
|
|
1832
1832
|
m(J, ee) {
|
|
1833
|
-
D(J, e, ee), d(e, t), d(t, n), d(t, o), d(e, r), d(e, s), d(e, u), d(e, m), d(e, f), d(e, c), d(e, b), d(e, _), d(e, L), d(e, w), d(e, A), d(e, U), d(e, Y), d(e, F), d(e,
|
|
1833
|
+
D(J, e, ee), d(e, t), d(t, n), d(t, o), d(e, r), d(e, s), d(e, u), d(e, m), d(e, f), d(e, c), d(e, b), d(e, _), d(e, L), d(e, w), d(e, A), d(e, U), d(e, Y), d(e, F), d(e, q);
|
|
1834
1834
|
},
|
|
1835
1835
|
d(J) {
|
|
1836
1836
|
J && C(e);
|
|
@@ -1852,7 +1852,7 @@ function _n(i) {
|
|
|
1852
1852
|
p(o, r) {
|
|
1853
1853
|
r[1] & /*$_*/
|
|
1854
1854
|
128 && t !== (t = /*$_*/
|
|
1855
|
-
o[38]("popupSuccess") + "") &&
|
|
1855
|
+
o[38]("popupSuccess") + "") && M(n, t);
|
|
1856
1856
|
},
|
|
1857
1857
|
d(o) {
|
|
1858
1858
|
o && C(e);
|
|
@@ -1874,7 +1874,7 @@ function Sn(i) {
|
|
|
1874
1874
|
p(o, r) {
|
|
1875
1875
|
r[1] & /*$_*/
|
|
1876
1876
|
128 && t !== (t = /*$_*/
|
|
1877
|
-
o[38]("docsRequired") + "") &&
|
|
1877
|
+
o[38]("docsRequired") + "") && M(n, t);
|
|
1878
1878
|
},
|
|
1879
1879
|
d(o) {
|
|
1880
1880
|
o && C(e);
|
|
@@ -1896,7 +1896,7 @@ function An(i) {
|
|
|
1896
1896
|
p(o, r) {
|
|
1897
1897
|
r[1] & /*$_*/
|
|
1898
1898
|
128 && t !== (t = /*$_*/
|
|
1899
|
-
o[38]("popupError") + "") &&
|
|
1899
|
+
o[38]("popupError") + "") && M(n, t);
|
|
1900
1900
|
},
|
|
1901
1901
|
d(o) {
|
|
1902
1902
|
o && C(e);
|
|
@@ -1924,7 +1924,7 @@ function Cn(i) {
|
|
|
1924
1924
|
p(s, u) {
|
|
1925
1925
|
u[1] & /*$_*/
|
|
1926
1926
|
128 && t !== (t = /*$_*/
|
|
1927
|
-
s[38]("okButton") + "") &&
|
|
1927
|
+
s[38]("okButton") + "") && M(n, t);
|
|
1928
1928
|
},
|
|
1929
1929
|
d(s) {
|
|
1930
1930
|
s && C(e), o = !1, r();
|
|
@@ -1964,7 +1964,7 @@ function Dn(i) {
|
|
|
1964
1964
|
128 && t !== (t = /*$_*/
|
|
1965
1965
|
f[38]("uploadDocumentsButton") + "") && (e.innerHTML = t), c[1] & /*$_*/
|
|
1966
1966
|
128 && r !== (r = /*$_*/
|
|
1967
|
-
f[38]("closeButton") + "") &&
|
|
1967
|
+
f[38]("closeButton") + "") && M(s, r);
|
|
1968
1968
|
},
|
|
1969
1969
|
d(f) {
|
|
1970
1970
|
f && (C(e), C(n), C(o)), u = !1, at(m);
|
|
@@ -1986,7 +1986,7 @@ function Pn(i) {
|
|
|
1986
1986
|
p(o, r) {
|
|
1987
1987
|
r[1] & /*$_*/
|
|
1988
1988
|
128 && t !== (t = /*$_*/
|
|
1989
|
-
o[38]("noFileUploaded") + "") &&
|
|
1989
|
+
o[38]("noFileUploaded") + "") && M(n, t);
|
|
1990
1990
|
},
|
|
1991
1991
|
d(o) {
|
|
1992
1992
|
o && C(e);
|
|
@@ -2048,7 +2048,7 @@ function Ki(i) {
|
|
|
2048
2048
|
p(o, r) {
|
|
2049
2049
|
r[0] & /*uploadedFiles*/
|
|
2050
2050
|
1048576 && t !== (t = /*file*/
|
|
2051
|
-
o[204].name + "") &&
|
|
2051
|
+
o[204].name + "") && M(n, t);
|
|
2052
2052
|
},
|
|
2053
2053
|
d(o) {
|
|
2054
2054
|
o && C(e);
|
|
@@ -2070,7 +2070,7 @@ function Yi(i) {
|
|
|
2070
2070
|
p(o, r) {
|
|
2071
2071
|
r[1] & /*$_*/
|
|
2072
2072
|
128 && t !== (t = /*$_*/
|
|
2073
|
-
o[38]("filesUploadError") + "") &&
|
|
2073
|
+
o[38]("filesUploadError") + "") && M(n, t);
|
|
2074
2074
|
},
|
|
2075
2075
|
d(o) {
|
|
2076
2076
|
o && C(e);
|
|
@@ -2087,23 +2087,23 @@ function zn(i) {
|
|
|
2087
2087
|
i[38]("amount")}` : `${/*$_*/
|
|
2088
2088
|
i[38](`new${/*selectedPeriod*/
|
|
2089
2089
|
i[12]}Limit`)}`
|
|
2090
|
-
), U, Y, F,
|
|
2091
|
-
const
|
|
2090
|
+
), U, Y, F, q, J, ee, P, R, Se, he;
|
|
2091
|
+
const G = (
|
|
2092
2092
|
/*#slots*/
|
|
2093
2093
|
i[87].LimitsList
|
|
2094
2094
|
), ue = Zt(
|
|
2095
|
-
|
|
2095
|
+
G,
|
|
2096
2096
|
i,
|
|
2097
2097
|
/*$$scope*/
|
|
2098
2098
|
i[86],
|
|
2099
2099
|
Fi
|
|
2100
2100
|
), ye = ue || Yn(i);
|
|
2101
|
-
let
|
|
2101
|
+
let Pe = ze(
|
|
2102
2102
|
/*availableLimits*/
|
|
2103
2103
|
i[9]
|
|
2104
2104
|
), me = [];
|
|
2105
|
-
for (let S = 0; S <
|
|
2106
|
-
me[S] = ro(Ri(i,
|
|
2105
|
+
for (let S = 0; S < Pe.length; S += 1)
|
|
2106
|
+
me[S] = ro(Ri(i, Pe, S));
|
|
2107
2107
|
let de = (
|
|
2108
2108
|
/*enablecompliancetext*/
|
|
2109
2109
|
i[2] === "true" && lo(i)
|
|
@@ -2124,11 +2124,11 @@ function zn(i) {
|
|
|
2124
2124
|
i[32] && !/*disableLimitInput*/
|
|
2125
2125
|
i[34] && go(i)
|
|
2126
2126
|
);
|
|
2127
|
-
const
|
|
2127
|
+
const je = (
|
|
2128
2128
|
/*#slots*/
|
|
2129
2129
|
i[87].LimitSubmitButton
|
|
2130
2130
|
), Oe = Zt(
|
|
2131
|
-
|
|
2131
|
+
je,
|
|
2132
2132
|
i,
|
|
2133
2133
|
/*$$scope*/
|
|
2134
2134
|
i[86],
|
|
@@ -2140,7 +2140,7 @@ function zn(i) {
|
|
|
2140
2140
|
for (let S = 0; S < me.length; S += 1)
|
|
2141
2141
|
me[S].c();
|
|
2142
2142
|
r = j(), s = k("p"), m = x(u), f = j(), de && de.c(), c = j(), pe && pe.c(), b = j(), ce && ce.c(), _ = j(), L = k("label"), w = k("span"), U = x(A), Y = j(), F = k("input"), J = j(), ve && ve.c(), ee = j(), re && re.c(), g(s, "class", "LimitTitle " + (/*isDesktop*/
|
|
2143
|
-
i[39] ? "" : "Mobile")), g(w, "class", "LimitInputText"), g(F, "type", "number"), g(F, "pattern", "[0-9]*"), g(F, "step",
|
|
2143
|
+
i[39] ? "" : "Mobile")), g(w, "class", "LimitInputText"), g(F, "type", "number"), g(F, "pattern", "[0-9]*"), g(F, "step", q = /*inputhasdecimals*/
|
|
2144
2144
|
i[6] === "true" ? "0.01" : "1"), F.disabled = /*disableLimitInput*/
|
|
2145
2145
|
i[34], g(L, "class", "LimitAmountInputWrapper " + (/*isDesktop*/
|
|
2146
2146
|
i[39] ? "" : "Mobile")), g(o, "class", "LimitsInteractionArea " + (/*isDesktop*/
|
|
@@ -2186,12 +2186,12 @@ function zn(i) {
|
|
|
2186
2186
|
if (ue ? ue.p && (!R || E[2] & /*$$scope*/
|
|
2187
2187
|
16777216) && Qt(
|
|
2188
2188
|
ue,
|
|
2189
|
-
|
|
2189
|
+
G,
|
|
2190
2190
|
S,
|
|
2191
2191
|
/*$$scope*/
|
|
2192
2192
|
S[86],
|
|
2193
2193
|
R ? ei(
|
|
2194
|
-
|
|
2194
|
+
G,
|
|
2195
2195
|
/*$$scope*/
|
|
2196
2196
|
S[86],
|
|
2197
2197
|
E,
|
|
@@ -2206,22 +2206,22 @@ function zn(i) {
|
|
|
2206
2206
|
192) && ye.p(S, R ? E : [-1, -1, -1, -1, -1, -1, -1]), E[0] & /*availableLimits*/
|
|
2207
2207
|
512 | E[1] & /*isDesktop, $_*/
|
|
2208
2208
|
384) {
|
|
2209
|
-
|
|
2209
|
+
Pe = ze(
|
|
2210
2210
|
/*availableLimits*/
|
|
2211
2211
|
S[9]
|
|
2212
2212
|
);
|
|
2213
2213
|
let N;
|
|
2214
|
-
for (N = 0; N <
|
|
2215
|
-
const Fe = Ri(S,
|
|
2214
|
+
for (N = 0; N < Pe.length; N += 1) {
|
|
2215
|
+
const Fe = Ri(S, Pe, N);
|
|
2216
2216
|
me[N] ? me[N].p(Fe, E) : (me[N] = ro(Fe), me[N].c(), me[N].m(o, r));
|
|
2217
2217
|
}
|
|
2218
2218
|
for (; N < me.length; N += 1)
|
|
2219
2219
|
me[N].d(1);
|
|
2220
|
-
me.length =
|
|
2220
|
+
me.length = Pe.length;
|
|
2221
2221
|
}
|
|
2222
2222
|
(!R || E[1] & /*$_*/
|
|
2223
2223
|
128) && u !== (u = /*$_*/
|
|
2224
|
-
S[38]("setLimit") + "") &&
|
|
2224
|
+
S[38]("setLimit") + "") && M(m, u), /*enablecompliancetext*/
|
|
2225
2225
|
S[2] === "true" ? de ? de.p(S, E) : (de = lo(S), de.c(), de.m(o, c)) : de && (de.d(1), de = null), /*multipleLimits*/
|
|
2226
2226
|
S[23] ? pe ? pe.p(S, E) : (pe = uo(S), pe.c(), pe.m(o, b)) : pe && (pe.d(1), pe = null), /*multiplePeriods*/
|
|
2227
2227
|
S[24] && /*selectedLimit*/
|
|
@@ -2235,9 +2235,9 @@ function zn(i) {
|
|
|
2235
2235
|
S[24] ? `${/*$_*/
|
|
2236
2236
|
S[38]("amount")}` : `${/*$_*/
|
|
2237
2237
|
S[38](`new${/*selectedPeriod*/
|
|
2238
|
-
S[12]}Limit`)}`) &&
|
|
2239
|
-
64 &&
|
|
2240
|
-
S[6] === "true" ? "0.01" : "1")) && g(F, "step",
|
|
2238
|
+
S[12]}Limit`)}`) && M(U, A), (!R || E[0] & /*inputhasdecimals*/
|
|
2239
|
+
64 && q !== (q = /*inputhasdecimals*/
|
|
2240
|
+
S[6] === "true" ? "0.01" : "1")) && g(F, "step", q), (!R || E[1] & /*disableLimitInput*/
|
|
2241
2241
|
8) && (F.disabled = /*disableLimitInput*/
|
|
2242
2242
|
S[34]), E[0] & /*inputAmount*/
|
|
2243
2243
|
262144 && Lo(F.value) !== /*inputAmount*/
|
|
@@ -2251,12 +2251,12 @@ function zn(i) {
|
|
|
2251
2251
|
S[34] ? ve ? ve.p(S, E) : (ve = go(S), ve.c(), ve.m(L, null)) : ve && (ve.d(1), ve = null), Oe ? Oe.p && (!R || E[2] & /*$$scope*/
|
|
2252
2252
|
16777216) && Qt(
|
|
2253
2253
|
Oe,
|
|
2254
|
-
|
|
2254
|
+
je,
|
|
2255
2255
|
S,
|
|
2256
2256
|
/*$$scope*/
|
|
2257
2257
|
S[86],
|
|
2258
2258
|
R ? ei(
|
|
2259
|
-
|
|
2259
|
+
je,
|
|
2260
2260
|
/*$$scope*/
|
|
2261
2261
|
S[86],
|
|
2262
2262
|
E,
|
|
@@ -2396,7 +2396,7 @@ function Xi(i) {
|
|
|
2396
2396
|
}
|
|
2397
2397
|
};
|
|
2398
2398
|
}
|
|
2399
|
-
function
|
|
2399
|
+
function Mn(i) {
|
|
2400
2400
|
let e = [], t = /* @__PURE__ */ new Map(), n, o = ze(
|
|
2401
2401
|
/*currentTabLimits*/
|
|
2402
2402
|
i[194]
|
|
@@ -2436,7 +2436,7 @@ function In(i) {
|
|
|
2436
2436
|
}
|
|
2437
2437
|
};
|
|
2438
2438
|
}
|
|
2439
|
-
function
|
|
2439
|
+
function In(i) {
|
|
2440
2440
|
let e, t, n = (
|
|
2441
2441
|
/*$_*/
|
|
2442
2442
|
i[38]("noLimitText") + ""
|
|
@@ -2452,7 +2452,7 @@ function Mn(i) {
|
|
|
2452
2452
|
p(s, u) {
|
|
2453
2453
|
u[1] & /*$_*/
|
|
2454
2454
|
128 && n !== (n = /*$_*/
|
|
2455
|
-
s[38]("noLimitText") + "") &&
|
|
2455
|
+
s[38]("noLimitText") + "") && M(o, n);
|
|
2456
2456
|
},
|
|
2457
2457
|
d(s) {
|
|
2458
2458
|
s && C(e);
|
|
@@ -2488,9 +2488,9 @@ function jn(i) {
|
|
|
2488
2488
|
L[55](
|
|
2489
2489
|
/*limit*/
|
|
2490
2490
|
L[189]
|
|
2491
|
-
) + "") &&
|
|
2491
|
+
) + "") && M(n, t), w[1] & /*$_*/
|
|
2492
2492
|
128 && f !== (f = /*$_*/
|
|
2493
|
-
L[38]("noLimitText") + "") &&
|
|
2493
|
+
L[38]("noLimitText") + "") && M(c, f), w[0] & /*availableLimits*/
|
|
2494
2494
|
512 | w[1] & /*currentTypes*/
|
|
2495
2495
|
64 && _ !== (_ = "LimitWrapper " + /*limit*/
|
|
2496
2496
|
L[189].value + " " + (/*isDesktop*/
|
|
@@ -2545,7 +2545,7 @@ function Un(i) {
|
|
|
2545
2545
|
L[55](
|
|
2546
2546
|
/*limit*/
|
|
2547
2547
|
L[189]
|
|
2548
|
-
) + "") &&
|
|
2548
|
+
) + "") && M(n, t), w[0] & /*availableLimits*/
|
|
2549
2549
|
512 | w[1] & /*currentTypes, $_*/
|
|
2550
2550
|
192 && (r = /*limit*/
|
|
2551
2551
|
L[189].value === "netdeposit" && /*$_*/
|
|
@@ -2596,7 +2596,7 @@ function Ji(i) {
|
|
|
2596
2596
|
p(o, r) {
|
|
2597
2597
|
r[1] & /*$_*/
|
|
2598
2598
|
128 && t !== (t = /*$_*/
|
|
2599
|
-
o[38]("activeLimitsInfoText") + "") &&
|
|
2599
|
+
o[38]("activeLimitsInfoText") + "") && M(n, t);
|
|
2600
2600
|
},
|
|
2601
2601
|
d(o) {
|
|
2602
2602
|
o && C(e);
|
|
@@ -2631,14 +2631,14 @@ function Nn(i) {
|
|
|
2631
2631
|
/*currency*/
|
|
2632
2632
|
s[1]
|
|
2633
2633
|
] || /*currency*/
|
|
2634
|
-
s[1]) + "") &&
|
|
2634
|
+
s[1]) + "") && M(n, t), u[0] & /*availableLimits, lang*/
|
|
2635
2635
|
513 | u[1] & /*currentTypes*/
|
|
2636
2636
|
64 && o !== (o = ht(
|
|
2637
2637
|
/*vLimit*/
|
|
2638
2638
|
s[200].amount,
|
|
2639
2639
|
/*lang*/
|
|
2640
2640
|
s[0]
|
|
2641
|
-
) + "") &&
|
|
2641
|
+
) + "") && M(r, o);
|
|
2642
2642
|
},
|
|
2643
2643
|
d(s) {
|
|
2644
2644
|
s && C(e);
|
|
@@ -2673,14 +2673,14 @@ function Bn(i) {
|
|
|
2673
2673
|
/*currency*/
|
|
2674
2674
|
s[1]
|
|
2675
2675
|
] || /*currency*/
|
|
2676
|
-
s[1]) + "") &&
|
|
2676
|
+
s[1]) + "") && M(n, t), u[0] & /*availableLimits, lang*/
|
|
2677
2677
|
513 | u[1] & /*currentTypes*/
|
|
2678
2678
|
64 && o !== (o = ht(
|
|
2679
2679
|
/*vLimit*/
|
|
2680
2680
|
s[200].updateAmount,
|
|
2681
2681
|
/*lang*/
|
|
2682
2682
|
s[0]
|
|
2683
|
-
) + "") &&
|
|
2683
|
+
) + "") && M(r, o);
|
|
2684
2684
|
},
|
|
2685
2685
|
d(s) {
|
|
2686
2686
|
s && C(e);
|
|
@@ -2729,20 +2729,20 @@ function Zi(i) {
|
|
|
2729
2729
|
p(c, b) {
|
|
2730
2730
|
b[1] & /*$_*/
|
|
2731
2731
|
128 && t !== (t = /*$_*/
|
|
2732
|
-
c[38]("companyLimitsInfoText") + "") &&
|
|
2732
|
+
c[38]("companyLimitsInfoText") + "") && M(n, t), b[0] & /*currencySymbols, currency*/
|
|
2733
2733
|
2097154 && s !== (s = /*currencySymbols*/
|
|
2734
2734
|
(c[21][
|
|
2735
2735
|
/*currency*/
|
|
2736
2736
|
c[1]
|
|
2737
2737
|
] || /*currency*/
|
|
2738
|
-
c[1]) + "") &&
|
|
2738
|
+
c[1]) + "") && M(u, s), b[0] & /*availableLimits, lang*/
|
|
2739
2739
|
513 | b[1] & /*currentTypes*/
|
|
2740
2740
|
64 && m !== (m = ht(
|
|
2741
2741
|
/*vLimit*/
|
|
2742
2742
|
c[200].restrictiveDisplayAmount,
|
|
2743
2743
|
/*lang*/
|
|
2744
2744
|
c[0]
|
|
2745
|
-
) + "") &&
|
|
2745
|
+
) + "") && M(f, m);
|
|
2746
2746
|
},
|
|
2747
2747
|
d(c) {
|
|
2748
2748
|
c && C(e);
|
|
@@ -2782,10 +2782,10 @@ function On(i) {
|
|
|
2782
2782
|
/*currency*/
|
|
2783
2783
|
b[1]
|
|
2784
2784
|
] || /*currency*/
|
|
2785
|
-
b[1]) + "") &&
|
|
2785
|
+
b[1]) + "") && M(o, n), _[0] & /*availableLimits*/
|
|
2786
2786
|
512 | _[1] & /*currentTypes*/
|
|
2787
2787
|
64 && r !== (r = /*vLimit*/
|
|
2788
|
-
b[200].updateAmount.toFixed(2) + "") &&
|
|
2788
|
+
b[200].updateAmount.toFixed(2) + "") && M(s, r), f === (f = m(b)) && c ? c.p(b, _) : (c.d(1), c = f(b), c && (c.c(), c.m(e, null)));
|
|
2789
2789
|
},
|
|
2790
2790
|
d(b) {
|
|
2791
2791
|
b && C(e), c.d();
|
|
@@ -2831,7 +2831,7 @@ function Wn(i) {
|
|
|
2831
2831
|
p(o, r) {
|
|
2832
2832
|
r[1] & /*$_*/
|
|
2833
2833
|
128 && t !== (t = /*$_*/
|
|
2834
|
-
o[38]("acknowledgedLimit") + "") &&
|
|
2834
|
+
o[38]("acknowledgedLimit") + "") && M(n, t);
|
|
2835
2835
|
},
|
|
2836
2836
|
d(o) {
|
|
2837
2837
|
o && C(e);
|
|
@@ -2869,17 +2869,17 @@ function Fn(i) {
|
|
|
2869
2869
|
/*currency*/
|
|
2870
2870
|
c[1]
|
|
2871
2871
|
] || /*currency*/
|
|
2872
|
-
c[1]) + "") &&
|
|
2872
|
+
c[1]) + "") && M(o, n), b[0] & /*availableLimits*/
|
|
2873
2873
|
512 | b[1] & /*currentTypes*/
|
|
2874
2874
|
64 && r !== (r = /*vLimit*/
|
|
2875
|
-
(c[200].reviewPending.requestAmount || 0).toFixed(2) + "") &&
|
|
2875
|
+
(c[200].reviewPending.requestAmount || 0).toFixed(2) + "") && M(s, r), b[0] & /*availableLimits*/
|
|
2876
2876
|
512 | b[1] & /*$_, currentTypes*/
|
|
2877
2877
|
192 && m !== (m = ` ${/*$_*/
|
|
2878
2878
|
c[38](
|
|
2879
2879
|
/*vLimit*/
|
|
2880
2880
|
c[200].period
|
|
2881
2881
|
)} ${/*$_*/
|
|
2882
|
-
c[38]("updateAfterDocApproval")}`) &&
|
|
2882
|
+
c[38]("updateAfterDocApproval")}`) && M(f, m);
|
|
2883
2883
|
},
|
|
2884
2884
|
d(c) {
|
|
2885
2885
|
c && C(e);
|
|
@@ -2910,7 +2910,7 @@ function qn(i) {
|
|
|
2910
2910
|
n[200].period
|
|
2911
2911
|
)} ${/*$_*/
|
|
2912
2912
|
n[38]("updateText")} ${/*vLimit*/
|
|
2913
|
-
n[200].expiryDate}`) &&
|
|
2913
|
+
n[200].expiryDate}`) && M(t, e);
|
|
2914
2914
|
},
|
|
2915
2915
|
d(n) {
|
|
2916
2916
|
n && C(t);
|
|
@@ -2939,7 +2939,7 @@ function Gn(i) {
|
|
|
2939
2939
|
/*vLimit*/
|
|
2940
2940
|
n[200].period
|
|
2941
2941
|
)} ${/*$_*/
|
|
2942
|
-
n[38]("updateAfterConfirm")}`) &&
|
|
2942
|
+
n[38]("updateAfterConfirm")}`) && M(t, e);
|
|
2943
2943
|
},
|
|
2944
2944
|
d(n) {
|
|
2945
2945
|
n && C(t);
|
|
@@ -2964,10 +2964,10 @@ function Hn(i) {
|
|
|
2964
2964
|
p(s, u) {
|
|
2965
2965
|
u[1] & /*$_*/
|
|
2966
2966
|
128 && e !== (e = /*$_*/
|
|
2967
|
-
s[38]("removedLimitText") + "") &&
|
|
2967
|
+
s[38]("removedLimitText") + "") && M(t, e), u[0] & /*availableLimits*/
|
|
2968
2968
|
512 | u[1] & /*currentTypes*/
|
|
2969
2969
|
64 && o !== (o = /*vLimit*/
|
|
2970
|
-
s[200].expiryDate + "") &&
|
|
2970
|
+
s[200].expiryDate + "") && M(r, o);
|
|
2971
2971
|
},
|
|
2972
2972
|
d(s) {
|
|
2973
2973
|
s && (C(t), C(n), C(r));
|
|
@@ -2989,7 +2989,7 @@ function Kn(i) {
|
|
|
2989
2989
|
p(n, o) {
|
|
2990
2990
|
o[1] & /*$_*/
|
|
2991
2991
|
128 && e !== (e = /*$_*/
|
|
2992
|
-
n[38]("removeAfterConfirm") + "") &&
|
|
2992
|
+
n[38]("removeAfterConfirm") + "") && M(t, e);
|
|
2993
2993
|
},
|
|
2994
2994
|
d(n) {
|
|
2995
2995
|
n && C(t);
|
|
@@ -3083,7 +3083,7 @@ function $i(i) {
|
|
|
3083
3083
|
(((c = m[22][
|
|
3084
3084
|
/*vLimit*/
|
|
3085
3085
|
m[200].scheduleId
|
|
3086
|
-
]) == null ? void 0 : c.timer) || "Reload") + "") &&
|
|
3086
|
+
]) == null ? void 0 : c.timer) || "Reload") + "") && M(n, t), f[0] & /*acknowledgedLimits, availableLimits*/
|
|
3087
3087
|
4194816 | f[1] & /*currentTypes*/
|
|
3088
3088
|
64 && o !== (o = "ReloadLimitButton " + (/*isDesktop*/
|
|
3089
3089
|
m[39] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
|
|
@@ -3122,7 +3122,7 @@ function eo(i) {
|
|
|
3122
3122
|
p(u, m) {
|
|
3123
3123
|
i = u, m[1] & /*$_*/
|
|
3124
3124
|
128 && t !== (t = /*$_*/
|
|
3125
|
-
i[38]("removeLimit") + "") &&
|
|
3125
|
+
i[38]("removeLimit") + "") && M(n, t);
|
|
3126
3126
|
},
|
|
3127
3127
|
d(u) {
|
|
3128
3128
|
u && C(e), o = !1, r();
|
|
@@ -3170,9 +3170,9 @@ function to(i) {
|
|
|
3170
3170
|
p(_, L) {
|
|
3171
3171
|
i = _, L[1] & /*$_*/
|
|
3172
3172
|
128 && t !== (t = /*$_*/
|
|
3173
|
-
i[38]("confirmUpdateLimit") + "") &&
|
|
3173
|
+
i[38]("confirmUpdateLimit") + "") && M(n, t), L[1] & /*$_*/
|
|
3174
3174
|
128 && s !== (s = /*$_*/
|
|
3175
|
-
i[38]("cancelUpdateLimit") + "") &&
|
|
3175
|
+
i[38]("cancelUpdateLimit") + "") && M(u, s);
|
|
3176
3176
|
},
|
|
3177
3177
|
d(_) {
|
|
3178
3178
|
_ && (C(e), C(o), C(r)), m = !1, at(f);
|
|
@@ -3247,17 +3247,17 @@ function oo(i) {
|
|
|
3247
3247
|
)
|
|
3248
3248
|
return On;
|
|
3249
3249
|
}
|
|
3250
|
-
let F = Y(i),
|
|
3250
|
+
let F = Y(i), q = F && F(i), J = !/*vLimit*/
|
|
3251
3251
|
i[200].isOperator && Qi(i), ee = !/*vLimit*/
|
|
3252
3252
|
i[200].shouldHideProgress && io(i);
|
|
3253
3253
|
return {
|
|
3254
3254
|
c() {
|
|
3255
|
-
e = k("div"), t = k("div"), n = k("div"), o = k("div"), r = k("div"), A.c(), s = j(), m = x(u), f = j(), U && U.c(), c = j(),
|
|
3255
|
+
e = k("div"), t = k("div"), n = k("div"), o = k("div"), r = k("div"), A.c(), s = j(), m = x(u), f = j(), U && U.c(), c = j(), q && q.c(), b = j(), J && J.c(), _ = j(), ee && ee.c(), g(r, "class", "CurrentLimit"), g(o, "class", "CurrentLimitContainer"), g(n, "class", "LimitDetailsTextWrapper " + (/*isDesktop*/
|
|
3256
3256
|
i[39] ? "" : "Mobile") + " " + /*idx*/
|
|
3257
3257
|
(i[203] > 0 ? "SubsequentLimit" : "")), g(t, "class", "LimitDetailsWrapper"), g(e, "class", "LimitDetails");
|
|
3258
3258
|
},
|
|
3259
3259
|
m(P, R) {
|
|
3260
|
-
D(P, e, R), d(e, t), d(t, n), d(n, o), d(o, r), A.m(r, null), d(r, s), d(r, m), d(o, f), U && U.m(o, null), d(n, c),
|
|
3260
|
+
D(P, e, R), d(e, t), d(t, n), d(n, o), d(o, r), A.m(r, null), d(r, s), d(r, m), d(o, f), U && U.m(o, null), d(n, c), q && q.m(n, null), d(n, b), J && J.m(n, null), d(n, _), ee && ee.m(n, null);
|
|
3261
3261
|
},
|
|
3262
3262
|
p(P, R) {
|
|
3263
3263
|
w === (w = L(P)) && A ? A.p(P, R) : (A.d(1), A = w(P), A && (A.c(), A.m(r, s))), R[0] & /*availableLimits*/
|
|
@@ -3266,13 +3266,13 @@ function oo(i) {
|
|
|
3266
3266
|
P[38](
|
|
3267
3267
|
/*vLimit*/
|
|
3268
3268
|
P[200].period
|
|
3269
|
-
)}`) &&
|
|
3270
|
-
P[200].showInfoMessage ? U ? U.p(P, R) : (U = Zi(P), U.c(), U.m(o, null)) : U && (U.d(1), U = null), F === (F = Y(P)) &&
|
|
3269
|
+
)}`) && M(m, u), /*vLimit*/
|
|
3270
|
+
P[200].showInfoMessage ? U ? U.p(P, R) : (U = Zi(P), U.c(), U.m(o, null)) : U && (U.d(1), U = null), F === (F = Y(P)) && q ? q.p(P, R) : (q && q.d(1), q = F && F(P), q && (q.c(), q.m(n, b))), /*vLimit*/
|
|
3271
3271
|
P[200].isOperator ? J && (J.d(1), J = null) : J ? J.p(P, R) : (J = Qi(P), J.c(), J.m(n, _)), /*vLimit*/
|
|
3272
3272
|
P[200].shouldHideProgress ? ee && (ee.d(1), ee = null) : ee ? ee.p(P, R) : (ee = io(P), ee.c(), ee.m(n, null));
|
|
3273
3273
|
},
|
|
3274
3274
|
d(P) {
|
|
3275
|
-
P && C(e), A.d(), U && U.d(),
|
|
3275
|
+
P && C(e), A.d(), U && U.d(), q && q.d(), J && J.d(), ee && ee.d();
|
|
3276
3276
|
}
|
|
3277
3277
|
};
|
|
3278
3278
|
}
|
|
@@ -3313,7 +3313,7 @@ function no(i) {
|
|
|
3313
3313
|
return (
|
|
3314
3314
|
/*isCompanyLimitsInfoEnabled*/
|
|
3315
3315
|
r[40] && !/*hasAnyLimitInTab*/
|
|
3316
|
-
r[195] ?
|
|
3316
|
+
r[195] ? In : Mn
|
|
3317
3317
|
);
|
|
3318
3318
|
}
|
|
3319
3319
|
let n = t(i), o = n(i);
|
|
@@ -3369,7 +3369,7 @@ function so(i) {
|
|
|
3369
3369
|
p(o, r) {
|
|
3370
3370
|
r[1] & /*$_*/
|
|
3371
3371
|
128 && t !== (t = /*$_*/
|
|
3372
|
-
o[38]("newLimitInfoText") + "") &&
|
|
3372
|
+
o[38]("newLimitInfoText") + "") && M(n, t);
|
|
3373
3373
|
},
|
|
3374
3374
|
d(o) {
|
|
3375
3375
|
o && C(e);
|
|
@@ -3418,7 +3418,7 @@ function lo(i) {
|
|
|
3418
3418
|
p(r, s) {
|
|
3419
3419
|
s[1] & /*$_*/
|
|
3420
3420
|
128 && n !== (n = /*$_*/
|
|
3421
|
-
r[38]("complianceText") + "") &&
|
|
3421
|
+
r[38]("complianceText") + "") && M(o, n);
|
|
3422
3422
|
},
|
|
3423
3423
|
d(r) {
|
|
3424
3424
|
r && C(e);
|
|
@@ -3474,7 +3474,7 @@ function uo(i) {
|
|
|
3474
3474
|
p(b, _) {
|
|
3475
3475
|
if (_[1] & /*$_*/
|
|
3476
3476
|
128 && n !== (n = /*$_*/
|
|
3477
|
-
b[38]("limitType") + "") &&
|
|
3477
|
+
b[38]("limitType") + "") && M(o, n), _[0] & /*availableLimits*/
|
|
3478
3478
|
512 | _[1] & /*determineLimitName*/
|
|
3479
3479
|
16777216) {
|
|
3480
3480
|
f = ze(
|
|
@@ -3524,7 +3524,7 @@ function mo(i) {
|
|
|
3524
3524
|
o[55](
|
|
3525
3525
|
/*limit*/
|
|
3526
3526
|
o[189]
|
|
3527
|
-
) + "") &&
|
|
3527
|
+
) + "") && M(n, t);
|
|
3528
3528
|
},
|
|
3529
3529
|
d(o) {
|
|
3530
3530
|
o && C(e);
|
|
@@ -3554,7 +3554,7 @@ function po(i) {
|
|
|
3554
3554
|
p(f, c) {
|
|
3555
3555
|
c[1] & /*$_*/
|
|
3556
3556
|
128 && n !== (n = /*$_*/
|
|
3557
|
-
f[38]("period") + "") &&
|
|
3557
|
+
f[38]("period") + "") && M(o, n), u === (u = s(f)) && m ? m.p(f, c) : (m.d(1), m = u(f), m && (m.c(), m.m(e, null)));
|
|
3558
3558
|
},
|
|
3559
3559
|
d(f) {
|
|
3560
3560
|
f && C(e), m.d();
|
|
@@ -3706,7 +3706,7 @@ function Jn(i) {
|
|
|
3706
3706
|
A[38](
|
|
3707
3707
|
/*selectedPeriod*/
|
|
3708
3708
|
A[12]
|
|
3709
|
-
) + "") &&
|
|
3709
|
+
) + "") && M(r, o), U[1] & /*isDropDownToggled*/
|
|
3710
3710
|
32 && gt(
|
|
3711
3711
|
u,
|
|
3712
3712
|
"active",
|
|
@@ -3773,7 +3773,7 @@ function co(i) {
|
|
|
3773
3773
|
r[38](
|
|
3774
3774
|
/*period*/
|
|
3775
3775
|
r[184]
|
|
3776
|
-
) + "") &&
|
|
3776
|
+
) + "") && M(n, t), s[0] & /*limitsConfig, selectedLimit*/
|
|
3777
3777
|
3072 && o !== (o = /*period*/
|
|
3778
3778
|
r[184]) && (e.__value = o, Pt(e, e.__value));
|
|
3779
3779
|
},
|
|
@@ -3828,7 +3828,7 @@ function fo(i) {
|
|
|
3828
3828
|
i[38](
|
|
3829
3829
|
/*period*/
|
|
3830
3830
|
i[184]
|
|
3831
|
-
) + "") &&
|
|
3831
|
+
) + "") && M(n, t), b[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
|
|
3832
3832
|
7168 && r !== (r = /*selectedPeriod*/
|
|
3833
3833
|
i[12] === /*period*/
|
|
3834
3834
|
i[184]) && g(e, "aria-selected", r);
|
|
@@ -3928,7 +3928,7 @@ function go(i) {
|
|
|
3928
3928
|
)
|
|
3929
3929
|
}
|
|
3930
3930
|
})}`
|
|
3931
|
-
)) &&
|
|
3931
|
+
)) && M(n, t);
|
|
3932
3932
|
},
|
|
3933
3933
|
d(o) {
|
|
3934
3934
|
o && C(e);
|
|
@@ -3953,7 +3953,7 @@ function Zn(i) {
|
|
|
3953
3953
|
p(r, s) {
|
|
3954
3954
|
s[1] & /*$_*/
|
|
3955
3955
|
128 && t !== (t = /*$_*/
|
|
3956
|
-
r[38]("setLimit") + "") &&
|
|
3956
|
+
r[38]("setLimit") + "") && M(n, t), s[1] & /*invalidInput, coolOffActive*/
|
|
3957
3957
|
18 && o !== (o = /*invalidInput*/
|
|
3958
3958
|
r[32] || /*coolOffActive*/
|
|
3959
3959
|
r[35]) && (e.disabled = o);
|
|
@@ -4050,8 +4050,8 @@ function es(i) {
|
|
|
4050
4050
|
function ts(i, e, t) {
|
|
4051
4051
|
let n, o, r, s;
|
|
4052
4052
|
Ha(i, tn, (a) => t(38, s = a));
|
|
4053
|
-
let { $$slots: u = {}, $$scope: m } = e, { lang: f = "en" } = e, { currency: c = "" } = e, { limits: b = "" } = e, { session: _ = "" } = e, { userid: L = "" } = e, { endpoint: w = "" } = e, { apiversion: A = "" } = e, { companylimits: U = "false" } = e, { tablabels: Y = "" } = e, { showcompanylimitsinfo: F = "false" } = e, { customcurrencysymbols:
|
|
4054
|
-
const Nt = (a, l = "GET", p = null) =>
|
|
4053
|
+
let { $$slots: u = {}, $$scope: m } = e, { lang: f = "en" } = e, { currency: c = "" } = e, { limits: b = "" } = e, { session: _ = "" } = e, { userid: L = "" } = e, { endpoint: w = "" } = e, { apiversion: A = "" } = e, { companylimits: U = "false" } = e, { tablabels: Y = "" } = e, { showcompanylimitsinfo: F = "false" } = e, { customcurrencysymbols: q = "" } = e, { netdepositprogress: J = "false" } = e, { enablecompliancetext: ee = "" } = e, { deletelimit: P = "" } = e, { amountsconfig: R = "" } = e, { periodsconfig: Se = "" } = e, { defaultperiod: he = "" } = e, { limittabindex: G = "" } = e, { tabcategory: ue = "" } = e, { limitformat: ye = "" } = e, { allowedextenssion: Pe = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: me = "12934000" } = e, { clientstyling: de = "" } = e, { clientstylingurl: pe = "" } = e, { translationurl: ce = "" } = e, { mbsource: ve } = e, { timezone: je = "GMT" } = e, { isLimitNotification: Oe = "false" } = e, { cooloffstrictmode: re = "false" } = e, { inputhasdecimals: S } = e, { usecustomdropdown: E = "false" } = e, N, Fe = [], yo, vo = window.navigator.userAgent, bo = !on(vo), Ue = F === "true", oi = U === "true", yt = J === "true", X = "", be = "", Qe = "", ut = 0, mt = 0, Tt = "", Je = "", Ee = "", vt = "", Ke = 0, ai, te, bt, I = [], Ne = {}, Ye = {}, pt = {}, ko = {}, nt, dt = { EUR: "€", RON: " lei", USD: "$" }, zt = { remove: {} }, Ae = {}, xe = {}, ni = !1, Mt = !1, we = !0, He = !1, It = !1, ct = !1, We = !1, $e = !1, kt = !1, Xe = !0, wt = !1, si = !1, ri = !1, jt = null, Ut = null, Et = !1;
|
|
4054
|
+
const Nt = (a, l = "GET", p = null) => De(this, null, function* () {
|
|
4055
4055
|
const h = new URL(a.startsWith("http") ? a : `${w}${a}`), y = {
|
|
4056
4056
|
method: l,
|
|
4057
4057
|
headers: {
|
|
@@ -4062,7 +4062,7 @@ function ts(i, e, t) {
|
|
|
4062
4062
|
};
|
|
4063
4063
|
p && (y.body = JSON.stringify(p));
|
|
4064
4064
|
const v = yield fetch(h.href, y);
|
|
4065
|
-
return
|
|
4065
|
+
return Be(v);
|
|
4066
4066
|
}), wo = () => {
|
|
4067
4067
|
fetch(ce).then((l) => l.json()).then((l) => {
|
|
4068
4068
|
Object.keys(l).forEach((p) => {
|
|
@@ -4096,10 +4096,10 @@ function ts(i, e, t) {
|
|
|
4096
4096
|
throw new Error(`Limit config mismatch: "${v[0]}" does not match "${l[y][0]}"`);
|
|
4097
4097
|
const p = a.reduce(
|
|
4098
4098
|
(y, v, z) => {
|
|
4099
|
-
const V = v[0].slice(v[0].indexOf("(") + 1, v[0].indexOf(")")), Z = v[0].slice(0, v[0].indexOf("(")),
|
|
4099
|
+
const V = v[0].slice(v[0].indexOf("(") + 1, v[0].indexOf(")")), Z = v[0].slice(0, v[0].indexOf("(")), H = v[1], Q = l[z][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), T = {
|
|
4100
4100
|
value: V,
|
|
4101
4101
|
product: Z,
|
|
4102
|
-
minMax:
|
|
4102
|
+
minMax: H,
|
|
4103
4103
|
periods: Q,
|
|
4104
4104
|
callValue: se[V].callValue,
|
|
4105
4105
|
callValue16: se[V].callValue16,
|
|
@@ -4110,46 +4110,46 @@ function ts(i, e, t) {
|
|
|
4110
4110
|
[]
|
|
4111
4111
|
);
|
|
4112
4112
|
for (let y = 0; y < p.length; y++)
|
|
4113
|
-
t(9,
|
|
4114
|
-
Tt = (h =
|
|
4113
|
+
t(9, I[y].product = p[y].product, I), t(9, I[y].min = parseInt(p[y].minMax.split("-")[0], 10), I), t(9, I[y].max = parseInt(p[y].minMax.split("-")[1], 10), I), t(10, se[p[y].value].periods = p[y].periods, se);
|
|
4114
|
+
Tt = (h = I[0]) == null ? void 0 : h.value, I.forEach((y) => {
|
|
4115
4115
|
Ye[y.value] = { min: y.min, max: y.max }, ko[y.value] = y.product;
|
|
4116
4116
|
}), Ye && (Ye[Tt] ? (t(13, ut = Ye[Tt].min), t(14, mt = Ye[Tt].max)) : (t(13, ut = 1), t(14, mt = 9999999)));
|
|
4117
4117
|
}, So = () => [...R.matchAll(W.LIMIT_TYPE_EXTRACTOR)].map((a) => a[1]), Ao = () => {
|
|
4118
|
-
t(9,
|
|
4119
|
-
se[p] ?
|
|
4120
|
-
}), _o(), t(11, X =
|
|
4118
|
+
t(9, I = []), So().forEach((p) => {
|
|
4119
|
+
se[p] ? I.push(Te({}, se[p])) : console.error(`Unknown limit: ${p}`);
|
|
4120
|
+
}), _o(), t(11, X = I[0].value);
|
|
4121
4121
|
const l = se[X].periods;
|
|
4122
|
-
t(12, be = he && l.find((p) => p === he) || l[0]), Qe =
|
|
4122
|
+
t(12, be = he && l.find((p) => p === he) || l[0]), Qe = I[0].product, t(23, ni = I.length > 1), t(24, Mt = se[X].periods.length > 1);
|
|
4123
4123
|
}, Co = (a, l) => {
|
|
4124
4124
|
var h, y, v;
|
|
4125
4125
|
const p = (y = (h = a == null ? void 0 : a[Ke]) == null ? void 0 : h.currentLimits) == null ? void 0 : y.find((z) => z.period === l);
|
|
4126
4126
|
return (v = p == null ? void 0 : p.isCoolOffCompleted) != null ? v : !0;
|
|
4127
4127
|
}, Do = () => {
|
|
4128
|
-
re === "true" && t(35, ri = !Co(
|
|
4128
|
+
re === "true" && t(35, ri = !Co(I, be));
|
|
4129
4129
|
}, Ot = () => {
|
|
4130
4130
|
var a, l, p;
|
|
4131
|
-
|
|
4131
|
+
I[Ke] || t(17, Ke = 0), I.length > 0 && I[Ke] && (t(11, X = I[Ke].value), t(12, be = ((a = se[X]) == null ? void 0 : a.periods[0]) || ""), t(24, Mt = (((p = (l = se[X]) == null ? void 0 : l.periods) == null ? void 0 : p.length) || 0) > 1));
|
|
4132
4132
|
}, ui = () => {
|
|
4133
|
-
Qe =
|
|
4134
|
-
},
|
|
4133
|
+
Qe = I[Ke].product;
|
|
4134
|
+
}, Be = (a) => {
|
|
4135
4135
|
if (a.status >= 300)
|
|
4136
4136
|
Po(a);
|
|
4137
4137
|
else
|
|
4138
|
-
return t(27,
|
|
4138
|
+
return t(27, It = !1), a.status !== 204 ? a.json() : a;
|
|
4139
4139
|
}, Po = (a) => {
|
|
4140
4140
|
t(26, He = !0);
|
|
4141
4141
|
let l;
|
|
4142
4142
|
throw a.json().then((p) => {
|
|
4143
|
-
for (const h in
|
|
4144
|
-
if (p.error &&
|
|
4143
|
+
for (const h in Ii)
|
|
4144
|
+
if (p.error && Ii[h].some((y) => p.error.includes(y))) {
|
|
4145
4145
|
l = h;
|
|
4146
4146
|
break;
|
|
4147
4147
|
}
|
|
4148
4148
|
console.error("errType", l), !l && St(p);
|
|
4149
|
-
}).finally(() =>
|
|
4150
|
-
l && St(l), t(26, He = !1), t(25, we = !1), yield ft(), (yt ||
|
|
4149
|
+
}).finally(() => De(this, null, function* () {
|
|
4150
|
+
l && St(l), t(26, He = !1), t(25, we = !1), yield ft(), (yt || Ue) && _t();
|
|
4151
4151
|
})), new Error("An error occured during the fetch request");
|
|
4152
|
-
}, To = () =>
|
|
4152
|
+
}, To = () => De(this, null, function* () {
|
|
4153
4153
|
if (!(te > 0))
|
|
4154
4154
|
return;
|
|
4155
4155
|
Ge(), t(25, we = !0);
|
|
@@ -4179,18 +4179,18 @@ function ts(i, e, t) {
|
|
|
4179
4179
|
body: JSON.stringify(l)
|
|
4180
4180
|
};
|
|
4181
4181
|
const h = yield fetch(a.href, p);
|
|
4182
|
-
yield
|
|
4182
|
+
yield Be(h), Me(Ie.limitation_success), yield qe();
|
|
4183
4183
|
}), zo = () => {
|
|
4184
4184
|
var h, y;
|
|
4185
|
-
const a =
|
|
4185
|
+
const a = I[Ke], l = se[X].callValue16;
|
|
4186
4186
|
let p = null;
|
|
4187
|
-
if (
|
|
4187
|
+
if (Ue) {
|
|
4188
4188
|
const v = {
|
|
4189
4189
|
type: l,
|
|
4190
4190
|
period: be,
|
|
4191
4191
|
product: Qe
|
|
4192
4192
|
};
|
|
4193
|
-
p = ((h =
|
|
4193
|
+
p = ((h = Ne == null ? void 0 : Ne.limits) == null ? void 0 : h.find((z) => Mi(z, v))) || null;
|
|
4194
4194
|
} else
|
|
4195
4195
|
p = ((y = a == null ? void 0 : a.currentLimits) == null ? void 0 : y.find((v) => v.period === be)) || null;
|
|
4196
4196
|
return p ? {
|
|
@@ -4216,7 +4216,7 @@ function ts(i, e, t) {
|
|
|
4216
4216
|
type: a.targetType,
|
|
4217
4217
|
products: [Qe],
|
|
4218
4218
|
walletTypes: ["Deposit", "NetDeposit"].includes(a.targetType) ? ["All"] : ["RealCash"]
|
|
4219
|
-
}, mi = () =>
|
|
4219
|
+
}, mi = () => De(this, null, function* () {
|
|
4220
4220
|
const a = Li();
|
|
4221
4221
|
if (Eo(a)) {
|
|
4222
4222
|
t(31, kt = !0), t(29, We = !0), Ge(), t(25, we = !1);
|
|
@@ -4235,13 +4235,13 @@ function ts(i, e, t) {
|
|
|
4235
4235
|
},
|
|
4236
4236
|
body: JSON.stringify(p)
|
|
4237
4237
|
});
|
|
4238
|
-
yield
|
|
4238
|
+
yield Be(v), Me(Ie.limitation_success), yield qe();
|
|
4239
4239
|
} catch (v) {
|
|
4240
4240
|
console.error(v);
|
|
4241
4241
|
} finally {
|
|
4242
4242
|
t(25, we = !1), t(31, kt = !1), Je = "";
|
|
4243
4243
|
}
|
|
4244
|
-
}),
|
|
4244
|
+
}), Mo = () => De(this, null, function* () {
|
|
4245
4245
|
if (!(te > 0))
|
|
4246
4246
|
return;
|
|
4247
4247
|
Ge(), t(25, we = !0);
|
|
@@ -4249,8 +4249,8 @@ function ts(i, e, t) {
|
|
|
4249
4249
|
sessionLimit: te,
|
|
4250
4250
|
sessionLimitUnit: "minute"
|
|
4251
4251
|
};
|
|
4252
|
-
yield Nt(`/v1/player/${L}/limits/session/`, "PUT", a), Me(
|
|
4253
|
-
}),
|
|
4252
|
+
yield Nt(`/v1/player/${L}/limits/session/`, "PUT", a), Me(Ie.limitation_success), yield qe();
|
|
4253
|
+
}), Io = () => De(this, null, function* () {
|
|
4254
4254
|
if (!(te > 0))
|
|
4255
4255
|
return;
|
|
4256
4256
|
Ge(), t(25, we = !0);
|
|
@@ -4272,8 +4272,8 @@ function ts(i, e, t) {
|
|
|
4272
4272
|
})
|
|
4273
4273
|
};
|
|
4274
4274
|
const y = yield fetch(a.href, h);
|
|
4275
|
-
yield
|
|
4276
|
-
}), jo = () =>
|
|
4275
|
+
yield Be(y), Me(Ie.limitation_success), yield qe();
|
|
4276
|
+
}), jo = () => De(this, null, function* () {
|
|
4277
4277
|
if (!(te > 0))
|
|
4278
4278
|
return;
|
|
4279
4279
|
Ge(), t(25, we = !0);
|
|
@@ -4283,8 +4283,8 @@ function ts(i, e, t) {
|
|
|
4283
4283
|
softMigration: !1,
|
|
4284
4284
|
keepLimit: !1
|
|
4285
4285
|
}, l = yield Nt(`/v2/player/${L}/limit/lugas`, "POST", a);
|
|
4286
|
-
t(19, bt = l.popup), ai = l.regulatorDepositLimitAmount, Me(
|
|
4287
|
-
}), Uo = () =>
|
|
4286
|
+
t(19, bt = l.popup), ai = l.regulatorDepositLimitAmount, Me(Ie.limitation_success), yield qe();
|
|
4287
|
+
}), Uo = () => De(this, null, function* () {
|
|
4288
4288
|
pt = {};
|
|
4289
4289
|
try {
|
|
4290
4290
|
if (A === "gm16")
|
|
@@ -4293,10 +4293,10 @@ function ts(i, e, t) {
|
|
|
4293
4293
|
yield jo();
|
|
4294
4294
|
break;
|
|
4295
4295
|
case W.SESSION_LIMIT:
|
|
4296
|
-
yield
|
|
4296
|
+
yield Mo();
|
|
4297
4297
|
break;
|
|
4298
4298
|
case W.CUMULATIVE_SESSION:
|
|
4299
|
-
yield
|
|
4299
|
+
yield Io();
|
|
4300
4300
|
break;
|
|
4301
4301
|
default:
|
|
4302
4302
|
yield mi();
|
|
@@ -4309,7 +4309,7 @@ function ts(i, e, t) {
|
|
|
4309
4309
|
Oe === "true" && (window.postMessage(
|
|
4310
4310
|
{
|
|
4311
4311
|
type: "WidgetNotification",
|
|
4312
|
-
data: { type: "success", message:
|
|
4312
|
+
data: { type: "success", message: Ee }
|
|
4313
4313
|
},
|
|
4314
4314
|
window.location.href
|
|
4315
4315
|
), window.postMessage({ type: "SubmitLimitNotificationSuccess" }, window.location.href));
|
|
@@ -4325,8 +4325,8 @@ function ts(i, e, t) {
|
|
|
4325
4325
|
window.location.href
|
|
4326
4326
|
), console.error("limitUpdateError:", a);
|
|
4327
4327
|
}
|
|
4328
|
-
Me(
|
|
4329
|
-
}), qe = () =>
|
|
4328
|
+
Me(Ie.limitation_request);
|
|
4329
|
+
}), qe = () => De(this, null, function* () {
|
|
4330
4330
|
switch (A) {
|
|
4331
4331
|
case "gmcore":
|
|
4332
4332
|
yield No();
|
|
@@ -4335,7 +4335,7 @@ function ts(i, e, t) {
|
|
|
4335
4335
|
yield Vt();
|
|
4336
4336
|
break;
|
|
4337
4337
|
}
|
|
4338
|
-
}), No = () =>
|
|
4338
|
+
}), No = () => De(this, null, function* () {
|
|
4339
4339
|
t(25, we = !0);
|
|
4340
4340
|
let a = new URL(`${w}/v2/player/${L}/limits`), l = {
|
|
4341
4341
|
method: "GET",
|
|
@@ -4347,7 +4347,7 @@ function ts(i, e, t) {
|
|
|
4347
4347
|
};
|
|
4348
4348
|
try {
|
|
4349
4349
|
const p = yield fetch(a.href, l);
|
|
4350
|
-
|
|
4350
|
+
Ne = Be(p), ct && St(), Ho(Ne), Ko(Ne), t(18, te = null), t(32, Xe = !0), t(33, wt = !1);
|
|
4351
4351
|
} catch (p) {
|
|
4352
4352
|
console.error("Error LimitsWidget: ", p), t(26, He = !0);
|
|
4353
4353
|
} finally {
|
|
@@ -4360,8 +4360,8 @@ function ts(i, e, t) {
|
|
|
4360
4360
|
"Content-Type": "application/json",
|
|
4361
4361
|
Accept: "application/json"
|
|
4362
4362
|
}
|
|
4363
|
-
}), Bo = () =>
|
|
4364
|
-
const a =
|
|
4363
|
+
}), Bo = () => De(this, null, function* () {
|
|
4364
|
+
const a = Ue || oi;
|
|
4365
4365
|
if (!a && !yt)
|
|
4366
4366
|
return;
|
|
4367
4367
|
let l = At[r] || [];
|
|
@@ -4376,15 +4376,15 @@ function ts(i, e, t) {
|
|
|
4376
4376
|
const p = l.map((h) => `playerLimitTypes=${h}`).join("&");
|
|
4377
4377
|
yield Wo(p);
|
|
4378
4378
|
}
|
|
4379
|
-
}), Ro = () =>
|
|
4380
|
-
const a = new URL(`${w}/v1/player/${L}/limits/monetary`), l = yield fetch(a.href, pi()), p = yield
|
|
4381
|
-
|
|
4382
|
-
}), Oo = () =>
|
|
4383
|
-
const a = new URL(`${w}/v1/player/${L}/limits/session`), l = yield fetch(a.href, pi()), p = yield
|
|
4379
|
+
}), Ro = () => De(this, null, function* () {
|
|
4380
|
+
const a = new URL(`${w}/v1/player/${L}/limits/monetary`), l = yield fetch(a.href, pi()), p = yield Be(l);
|
|
4381
|
+
Ne = p, Jo(p), yield Vo(), yield Bo(), Wt(), ct && X !== W.SESSION_LIMIT && X !== W.CUMULATIVE_SESSION && St(), yield ft(), _t(), t(18, te = null), t(32, Xe = !0), t(33, wt = !1);
|
|
4382
|
+
}), Oo = () => De(this, null, function* () {
|
|
4383
|
+
const a = new URL(`${w}/v1/player/${L}/limits/session`), l = yield fetch(a.href, pi()), p = yield Be(l);
|
|
4384
4384
|
Zo(p), Qo(p), ct && (X === W.SESSION_LIMIT || X === W.CUMULATIVE_SESSION) && St(), t(18, te = null), t(32, Xe = !0), t(33, wt = !1);
|
|
4385
|
-
}), Vt = () =>
|
|
4385
|
+
}), Vt = () => De(this, null, function* () {
|
|
4386
4386
|
t(25, we = !0), t(26, He = !1);
|
|
4387
|
-
const a =
|
|
4387
|
+
const a = I.some((l) => l.value === W.SESSION_LIMIT || l.value === W.CUMULATIVE_SESSION);
|
|
4388
4388
|
try {
|
|
4389
4389
|
const l = [Ro()];
|
|
4390
4390
|
a && l.push(Oo()), yield Promise.all(l);
|
|
@@ -4393,7 +4393,7 @@ function ts(i, e, t) {
|
|
|
4393
4393
|
} finally {
|
|
4394
4394
|
t(25, we = !1);
|
|
4395
4395
|
}
|
|
4396
|
-
}), Vo = () =>
|
|
4396
|
+
}), Vo = () => De(this, null, function* () {
|
|
4397
4397
|
let a = new URL(`${w}/v1/player/${L}/limits/monetary/balance`);
|
|
4398
4398
|
const l = {
|
|
4399
4399
|
method: "GET",
|
|
@@ -4404,43 +4404,43 @@ function ts(i, e, t) {
|
|
|
4404
4404
|
}
|
|
4405
4405
|
};
|
|
4406
4406
|
try {
|
|
4407
|
-
const p = yield fetch(a.href, l), h = yield
|
|
4407
|
+
const p = yield fetch(a.href, l), h = yield Be(p);
|
|
4408
4408
|
if (!h)
|
|
4409
4409
|
return;
|
|
4410
4410
|
let y = h.limitBalances || [];
|
|
4411
|
-
Array.isArray(y[0]) && (y = y.flat()), t(9,
|
|
4411
|
+
Array.isArray(y[0]) && (y = y.flat()), t(9, I = I.map((v) => {
|
|
4412
4412
|
if (!v.currentLimits)
|
|
4413
4413
|
return v;
|
|
4414
|
-
const z = (v.product || "").toLowerCase(), V = (v.value || "").toLowerCase(), Z = V.includes(ne.netdeposit),
|
|
4414
|
+
const z = (v.product || "").toLowerCase(), V = (v.value || "").toLowerCase(), Z = V.includes(ne.netdeposit), H = V.includes(ne.deposit) && !Z, Q = V.includes(ne.loss), T = v.currentLimits.map((B) => {
|
|
4415
4415
|
var O, ge;
|
|
4416
4416
|
const ae = y.filter((ke) => {
|
|
4417
|
-
const Ce = (ke.limitType || "").toLowerCase(), Ve = ke.limitPeriod || "", et = B.period || "", st = Ce.includes(ne.netdeposit), tt = Ce.includes(ne.deposit) && !st, Kt = Ce.includes(ne.loss), Yt =
|
|
4417
|
+
const Ce = (ke.limitType || "").toLowerCase(), Ve = ke.limitPeriod || "", et = B.period || "", st = Ce.includes(ne.netdeposit), tt = Ce.includes(ne.deposit) && !st, Kt = Ce.includes(ne.loss), Yt = H && tt || Z && st || Q && Kt;
|
|
4418
4418
|
return (Ce === V || Ce === `operator${V}` || Ce === `system${V}` || Yt) && (Ve === et || Ve === "Monthly" && et === "Month" || Ve === "Month" && et === "Monthly");
|
|
4419
4419
|
}), ie = (ke) => ae.find((Ce) => (Ce.limitProducts || []).map((Ve) => Ve.toLowerCase()).includes(ke));
|
|
4420
4420
|
let fe = ie(z);
|
|
4421
|
-
!fe &&
|
|
4421
|
+
!fe && Ue && (fe = ie("all"));
|
|
4422
4422
|
const _e = fe ? ((ke) => {
|
|
4423
4423
|
var Ce, Ve;
|
|
4424
4424
|
return ke ? typeof ke == "object" ? (Ve = (Ce = ke.parsedValue) != null ? Ce : ke.amount) != null ? Ve : 0 : ke : 0;
|
|
4425
4425
|
})((ge = (O = fe.spentBalance) == null ? void 0 : O.amount) != null ? ge : fe.spentBalance) : 0, K = parseFloat(_e.toString().replace(W.COMMA_REMOVAL_REGEX, ""));
|
|
4426
|
-
return
|
|
4426
|
+
return Re(Te({}, B), {
|
|
4427
4427
|
spentBalance: {
|
|
4428
4428
|
amount: isNaN(K) ? 0 : K
|
|
4429
4429
|
}
|
|
4430
4430
|
});
|
|
4431
4431
|
});
|
|
4432
4432
|
return v.currentLimits = rt(T), v;
|
|
4433
|
-
})), Wt(), t(9,
|
|
4433
|
+
})), Wt(), t(9, I = [...I]), yield ft(), _t();
|
|
4434
4434
|
} catch (p) {
|
|
4435
4435
|
console.error(p);
|
|
4436
4436
|
}
|
|
4437
4437
|
}), _t = () => {
|
|
4438
|
-
|
|
4438
|
+
I.forEach((a, l) => {
|
|
4439
4439
|
Ft(l, -1), a.visibleLimitsInUI && a.visibleLimitsInUI.forEach((p, h) => {
|
|
4440
4440
|
Ft(l, h);
|
|
4441
4441
|
});
|
|
4442
4442
|
});
|
|
4443
|
-
}, Wo = (a = "") =>
|
|
4443
|
+
}, Wo = (a = "") => De(this, null, function* () {
|
|
4444
4444
|
let l = a;
|
|
4445
4445
|
if (!l && r !== void 0 && (l = (At[r] || []).map((v) => `playerLimitTypes=${v}`).join("&")), !l)
|
|
4446
4446
|
return;
|
|
@@ -4453,7 +4453,7 @@ function ts(i, e, t) {
|
|
|
4453
4453
|
}
|
|
4454
4454
|
};
|
|
4455
4455
|
try {
|
|
4456
|
-
const y = yield fetch(p.href, h), v = yield
|
|
4456
|
+
const y = yield fetch(p.href, h), v = yield Be(y);
|
|
4457
4457
|
Fo(v);
|
|
4458
4458
|
} catch (y) {
|
|
4459
4459
|
t(26, He = !0);
|
|
@@ -4464,27 +4464,27 @@ function ts(i, e, t) {
|
|
|
4464
4464
|
let l = a.limitBalances;
|
|
4465
4465
|
Array.isArray(l[0]) && (l = l.flat());
|
|
4466
4466
|
const p = (v) => {
|
|
4467
|
-
var
|
|
4468
|
-
const z = parseFloat(((T = (Q = (
|
|
4467
|
+
var H, Q, T, B, ae, ie;
|
|
4468
|
+
const z = parseFloat(((T = (Q = (H = v.limitAmount) == null ? void 0 : H.parsedValue) != null ? Q : v.limitAmount) != null ? T : 0).toString().replace(W.COMMA_REMOVAL_REGEX, "")), V = (ie = (ae = (B = v.spentBalance) == null ? void 0 : B.amount) != null ? ae : v.spentBalance) != null ? ie : 0, Z = parseFloat(V.toString().replace(W.COMMA_REMOVAL_REGEX, ""));
|
|
4469
4469
|
return Math.max(0, z - Z);
|
|
4470
4470
|
}, h = l.filter((v) => {
|
|
4471
|
-
const z = (v.limitType || "").toLowerCase(), V = ne.netdeposit.toLowerCase(), Z = ne.deposit.toLowerCase(),
|
|
4472
|
-
return
|
|
4471
|
+
const z = (v.limitType || "").toLowerCase(), V = ne.netdeposit.toLowerCase(), Z = ne.deposit.toLowerCase(), H = z.includes(V), Q = z.includes(Z) && !H;
|
|
4472
|
+
return Ue ? Q || H : Q;
|
|
4473
4473
|
});
|
|
4474
4474
|
jt = h.length > 0 ? Math.min(...h.map(p)) : null;
|
|
4475
4475
|
const y = l.filter((v) => {
|
|
4476
|
-
const z = (v.limitType || "").toLowerCase(), V = ne.netdeposit.toLowerCase(), Z = ne.deposit.toLowerCase(),
|
|
4477
|
-
return
|
|
4476
|
+
const z = (v.limitType || "").toLowerCase(), V = ne.netdeposit.toLowerCase(), Z = ne.deposit.toLowerCase(), H = z.includes(V);
|
|
4477
|
+
return Ue && z.includes(Z) || H;
|
|
4478
4478
|
});
|
|
4479
|
-
Ut = y.length > 0 ? Math.min(...y.map(p)) : null, t(9,
|
|
4480
|
-
const z = (v.value || "").toLowerCase(), V = (v.product || "").toLowerCase(), Z = ne.netdeposit.toLowerCase(),
|
|
4479
|
+
Ut = y.length > 0 ? Math.min(...y.map(p)) : null, t(9, I = I.map((v) => {
|
|
4480
|
+
const z = (v.value || "").toLowerCase(), V = (v.product || "").toLowerCase(), Z = ne.netdeposit.toLowerCase(), H = ne.deposit.toLowerCase(), Q = ne.loss.toLowerCase(), T = "wager", B = z.includes(Z), ae = z.includes(H) && !B, ie = z.includes(Q), fe = z.includes(T);
|
|
4481
4481
|
let le = [];
|
|
4482
4482
|
l.forEach((K) => {
|
|
4483
4483
|
var Xt, Jt, _i, Si, Ai, Ci;
|
|
4484
|
-
const O = (K.limitType || "").toLowerCase(), ge = (K.limitProducts || []).map((Di) => (Di || "").toLowerCase()), ke = O.includes(Z), Ce = O.includes(
|
|
4484
|
+
const O = (K.limitType || "").toLowerCase(), ge = (K.limitProducts || []).map((Di) => (Di || "").toLowerCase()), ke = O.includes(Z), Ce = O.includes(H) && !ke, Ve = O.includes(Q), et = O.includes(T), st = O === z || O === `operator${z}` || O === `system${z}`;
|
|
4485
4485
|
let tt = !1;
|
|
4486
|
-
|
|
4487
|
-
const Kt = ge.includes(V), Yt = !!
|
|
4486
|
+
Ue ? tt = z.includes(H) && O.includes(H) || ie && Ve || fe && et : tt = ae && Ce || B && ke || ie && Ve;
|
|
4487
|
+
const Kt = ge.includes(V), Yt = !!Ue && V !== "all" && ge.includes("all");
|
|
4488
4488
|
(st || tt) && (Kt || Yt) && le.push({
|
|
4489
4489
|
amount: parseFloat(((_i = (Jt = (Xt = K.limitAmount) == null ? void 0 : Xt.parsedValue) != null ? Jt : K.limitAmount) != null ? _i : 0).toString().replace(W.COMMA_REMOVAL_REGEX, "")),
|
|
4490
4490
|
period: K.limitPeriod,
|
|
@@ -4494,7 +4494,7 @@ function ts(i, e, t) {
|
|
|
4494
4494
|
});
|
|
4495
4495
|
}), v.currentLimits && v.currentLimits.forEach((K) => {
|
|
4496
4496
|
var O, ge;
|
|
4497
|
-
le.push(
|
|
4497
|
+
le.push(Re(Te({}, K), {
|
|
4498
4498
|
amount: parseFloat(K.amount.toString().replace(W.COMMA_REMOVAL_REGEX, "")),
|
|
4499
4499
|
spent: (ge = (O = K.spentBalance) == null ? void 0 : O.amount) != null ? ge : 0,
|
|
4500
4500
|
source: W.LOCAL.toUpperCase(),
|
|
@@ -4519,18 +4519,16 @@ function ts(i, e, t) {
|
|
|
4519
4519
|
}, Wt = () => {
|
|
4520
4520
|
if (A !== "gm16")
|
|
4521
4521
|
return;
|
|
4522
|
-
const a =
|
|
4522
|
+
const a = Ue || oi, l = ne.loss, p = ne.netdeposit, h = ne.deposit, y = r === l, v = (H) => {
|
|
4523
4523
|
var ae, ie, fe, le, _e, K;
|
|
4524
|
-
const Q = parseFloat((le = (fe = (ae =
|
|
4524
|
+
const Q = parseFloat((le = (fe = (ae = H.amount) == null ? void 0 : ae.parsedValue) != null ? fe : (ie = H.amount) == null ? void 0 : ie.toString().replace(W.COMMA_REMOVAL_REGEX, "")) != null ? le : 0) || 0, T = H.spent !== void 0 ? H.spent : (K = (_e = H.spentBalance) == null ? void 0 : _e.amount) != null ? K : 0, B = parseFloat(T.toString().replace(W.COMMA_REMOVAL_REGEX, "")) || 0;
|
|
4525
4525
|
return Math.max(0, Q - B);
|
|
4526
4526
|
};
|
|
4527
4527
|
let z = jt !== null ? Number(jt) : 1 / 0, V = Ut !== null ? Number(Ut) : 1 / 0;
|
|
4528
4528
|
const Z = Math.min(z, V);
|
|
4529
|
-
t(9,
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
const Q = (q.value || "").toLowerCase(), T = Q.includes(p), B = Q.includes(h) && !T;
|
|
4533
|
-
let ae = q.allValidLimits !== void 0 ? [...q.allValidLimits] : [...q.currentLimits || []];
|
|
4529
|
+
t(9, I = I.map((H) => {
|
|
4530
|
+
const Q = (H.value || "").toLowerCase(), T = Q.includes(p), B = Q.includes(h) && !T;
|
|
4531
|
+
let ae = H.allValidLimits !== void 0 ? [...H.allValidLimits] : [...H.currentLimits || []];
|
|
4534
4532
|
const ie = ae.reduce(
|
|
4535
4533
|
(le, _e) => {
|
|
4536
4534
|
const K = _e.period, O = _e.source === W.LOCAL.toUpperCase();
|
|
@@ -4542,15 +4540,15 @@ function ts(i, e, t) {
|
|
|
4542
4540
|
const fe = ae.filter((le) => a ? !le.isCrossFamily : !le.isExternalFamily).map((le) => {
|
|
4543
4541
|
const _e = v(le);
|
|
4544
4542
|
let K = !1, O = _e;
|
|
4545
|
-
return a && Z !== 1 / 0 && !y && (B || T) && !(T && !
|
|
4543
|
+
return a && Z !== 1 / 0 && !y && (B || T) && !(T && !Ue) && (K = !0, O = Z), Re(Te({}, le), {
|
|
4546
4544
|
showInfoMessage: K,
|
|
4547
4545
|
restrictiveDisplayAmount: O,
|
|
4548
|
-
shouldHideProgress:
|
|
4546
|
+
shouldHideProgress: Ue ? !1 : T ? J !== "true" : !0
|
|
4549
4547
|
});
|
|
4550
4548
|
});
|
|
4551
|
-
return
|
|
4552
|
-
})), t(9,
|
|
4553
|
-
}, qo = () =>
|
|
4549
|
+
return Re(Te({}, H), { visibleLimitsInUI: fe });
|
|
4550
|
+
})), t(9, I = [...I]);
|
|
4551
|
+
}, qo = () => I.every((a, l) => {
|
|
4554
4552
|
var h, y;
|
|
4555
4553
|
return (((h = a.visibleLimitsInUI) == null ? void 0 : h.length) || 0) === ((y = Fe[l]) == null ? void 0 : y.length) && Fe[l].every((v) => v !== null);
|
|
4556
4554
|
}), Go = (a, l, p, h) => {
|
|
@@ -4561,14 +4559,14 @@ function ts(i, e, t) {
|
|
|
4561
4559
|
V.className = "Progress-bar-fill", V.style.width = `${y}%`;
|
|
4562
4560
|
const Z = document.createElement("span");
|
|
4563
4561
|
Z.className = "Progress-bar-label";
|
|
4564
|
-
const
|
|
4565
|
-
return Z.textContent = `${p}${
|
|
4562
|
+
const H = isNaN(h) ? 0 : h;
|
|
4563
|
+
return Z.textContent = `${p}${H.toFixed(2)}`, z.appendChild(V), z.appendChild(Z), z;
|
|
4566
4564
|
} catch (y) {
|
|
4567
4565
|
return console.error(y), document.createElement("div");
|
|
4568
4566
|
}
|
|
4569
4567
|
}, Ft = (a, l) => {
|
|
4570
4568
|
var z;
|
|
4571
|
-
const p =
|
|
4569
|
+
const p = I[a];
|
|
4572
4570
|
if (!p || !((z = p.visibleLimitsInUI) != null && z[l]))
|
|
4573
4571
|
return;
|
|
4574
4572
|
const h = p.visibleLimitsInUI[l], y = `#progress-${a}-${l}`, v = N == null ? void 0 : N.querySelector(y);
|
|
@@ -4580,12 +4578,12 @@ function ts(i, e, t) {
|
|
|
4580
4578
|
const V = h.amount, Z = h.spent || 0;
|
|
4581
4579
|
v.innerHTML = "", v.appendChild(Go(V, Z, c, Z));
|
|
4582
4580
|
}
|
|
4583
|
-
}, qt = () =>
|
|
4581
|
+
}, qt = () => De(this, null, function* () {
|
|
4584
4582
|
var l, p;
|
|
4585
4583
|
yield ft();
|
|
4586
4584
|
let a = !0;
|
|
4587
|
-
for (let h = 0; h <
|
|
4588
|
-
const y = ((l =
|
|
4585
|
+
for (let h = 0; h < I.length; h++) {
|
|
4586
|
+
const y = ((l = I[h].visibleLimitsInUI) == null ? void 0 : l.length) || 0;
|
|
4589
4587
|
for (let v = 0; v < y; v++)
|
|
4590
4588
|
if (!Fe[h] || !Fe[h][v]) {
|
|
4591
4589
|
a = !1;
|
|
@@ -4598,24 +4596,24 @@ function ts(i, e, t) {
|
|
|
4598
4596
|
setTimeout(() => qt(), 10);
|
|
4599
4597
|
return;
|
|
4600
4598
|
}
|
|
4601
|
-
for (let h = 0; h <
|
|
4602
|
-
const y = ((p =
|
|
4599
|
+
for (let h = 0; h < I.length; h++) {
|
|
4600
|
+
const y = ((p = I[h].visibleLimitsInUI) == null ? void 0 : p.length) || 0;
|
|
4603
4601
|
for (let v = 0; v < y; v++)
|
|
4604
4602
|
Ft(h, v);
|
|
4605
4603
|
}
|
|
4606
4604
|
}), Ho = (a) => {
|
|
4607
|
-
|
|
4605
|
+
I.forEach((l) => {
|
|
4608
4606
|
l.currentLimits = [];
|
|
4609
4607
|
const p = Array.isArray(a[se[l.value].callValue]) ? a[se[l.value].callValue] : [a[se[l.value].callValue]];
|
|
4610
4608
|
p.length === 0 || p[0] === void 0 || (p.forEach((h, y) => {
|
|
4611
4609
|
var z;
|
|
4612
4610
|
const v = a[se[l.value].callValue][y];
|
|
4613
|
-
l.currentLimits.push({}), l.currentLimits[y].limitType = l.value, l.currentLimits[y].amount = ye ? v.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(v.amount), l.currentLimits[y].currency = (z = dt[v.currency]) != null ? z : v.currency, l.currentLimits[y].period = v.period, l.currentLimits[y].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(v.updateAmount), l.currentLimits[y].isModified = v.isModified, l.currentLimits[y].expiryDate = `${new Date(v.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${
|
|
4611
|
+
l.currentLimits.push({}), l.currentLimits[y].limitType = l.value, l.currentLimits[y].amount = ye ? v.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(v.amount), l.currentLimits[y].currency = (z = dt[v.currency]) != null ? z : v.currency, l.currentLimits[y].period = v.period, l.currentLimits[y].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(v.updateAmount), l.currentLimits[y].isModified = v.isModified, l.currentLimits[y].expiryDate = `${new Date(v.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${je})`;
|
|
4614
4612
|
}), l.currentLimits = rt(l.currentLimits));
|
|
4615
4613
|
});
|
|
4616
4614
|
}, Ko = (a) => {
|
|
4617
4615
|
const l = s("minutes");
|
|
4618
|
-
|
|
4616
|
+
I.filter((p) => p.value === W.SESSION_LIMIT || p.value === W.CUMULATIVE_SESSION).forEach((p) => {
|
|
4619
4617
|
var h;
|
|
4620
4618
|
p.currentLimits = [], (h = a[se[p.value].callValue]) == null || h.forEach((y, v) => {
|
|
4621
4619
|
const z = a[se[p.value].callValue][v];
|
|
@@ -4626,14 +4624,14 @@ function ts(i, e, t) {
|
|
|
4626
4624
|
isModified: z.isModified,
|
|
4627
4625
|
period: p.value === W.CUMULATIVE_SESSION ? z.period : "None",
|
|
4628
4626
|
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.updateMinutes),
|
|
4629
|
-
expiryDate: `${new Date(z.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${
|
|
4627
|
+
expiryDate: `${new Date(z.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${je})`
|
|
4630
4628
|
});
|
|
4631
4629
|
}), p.currentLimits = rt(p.currentLimits);
|
|
4632
4630
|
});
|
|
4633
4631
|
}, Yo = (a) => {
|
|
4634
4632
|
a.forEach((l) => {
|
|
4635
|
-
|
|
4636
|
-
}), t(22, Ae = Object.fromEntries(Object.entries(Ae).filter(([l]) => !a.has(l)))),
|
|
4633
|
+
xe[l] && window.clearInterval(xe[l]);
|
|
4634
|
+
}), t(22, Ae = Object.fromEntries(Object.entries(Ae).filter(([l]) => !a.has(l)))), xe = Object.fromEntries(Object.entries(xe).filter(([l]) => !a.has(l))), a.size > 0 && rn(L, [...a]);
|
|
4637
4635
|
}, Xo = (a) => {
|
|
4638
4636
|
const l = Ze[f].seconds, p = Ze[f].reloadLimitsButton;
|
|
4639
4637
|
a.forEach(({ scheduleId: h, acknowledgedAt: y }) => {
|
|
@@ -4641,15 +4639,15 @@ function ts(i, e, t) {
|
|
|
4641
4639
|
timer: v > 0 ? `${v} ${l}` : p,
|
|
4642
4640
|
timerStopped: v <= 0
|
|
4643
4641
|
};
|
|
4644
|
-
if (t(22, Ae =
|
|
4642
|
+
if (t(22, Ae = Re(Te({}, Ae), {
|
|
4645
4643
|
[h]: z
|
|
4646
4644
|
})), v > 0) {
|
|
4647
4645
|
const V = window.setInterval(
|
|
4648
4646
|
() => {
|
|
4649
4647
|
const Z = xi(y);
|
|
4650
|
-
Z <= 0 ? (
|
|
4648
|
+
Z <= 0 ? (xe[h] && window.clearInterval(xe[h]), xe = Object.fromEntries(Object.entries(xe).filter(([H]) => H !== h)), t(22, Ae = Re(Te({}, Ae), {
|
|
4651
4649
|
[h]: { timer: p, timerStopped: !0 }
|
|
4652
|
-
}))) : t(22, Ae =
|
|
4650
|
+
}))) : t(22, Ae = Re(Te({}, Ae), {
|
|
4653
4651
|
[h]: {
|
|
4654
4652
|
timer: `${Z} ${l}`,
|
|
4655
4653
|
timerStopped: !1
|
|
@@ -4658,7 +4656,7 @@ function ts(i, e, t) {
|
|
|
4658
4656
|
},
|
|
4659
4657
|
1e3
|
|
4660
4658
|
);
|
|
4661
|
-
|
|
4659
|
+
xe = Re(Te({}, xe), {
|
|
4662
4660
|
[h]: V
|
|
4663
4661
|
});
|
|
4664
4662
|
}
|
|
@@ -4667,17 +4665,17 @@ function ts(i, e, t) {
|
|
|
4667
4665
|
if (!(a != null && a.limits))
|
|
4668
4666
|
return;
|
|
4669
4667
|
const l = ln(a.limits), p = ii(L), { toRemove: h, toRestore: y } = un(l, p, Object.keys(Ae));
|
|
4670
|
-
Yo(h), Xo(y), t(9,
|
|
4671
|
-
const z = (v.product || "").toLowerCase(), V = (v.callValue16 || "").toLowerCase(),
|
|
4668
|
+
Yo(h), Xo(y), t(9, I = I.map((v) => {
|
|
4669
|
+
const z = (v.product || "").toLowerCase(), V = (v.callValue16 || "").toLowerCase(), H = a.limits.filter((T) => {
|
|
4672
4670
|
if (!T || !T.type)
|
|
4673
4671
|
return !1;
|
|
4674
4672
|
const B = T.type.toLowerCase(), ae = B.includes("operator") || B.includes("system");
|
|
4675
|
-
if (!
|
|
4673
|
+
if (!Ue && ae)
|
|
4676
4674
|
return !1;
|
|
4677
4675
|
let ie = !1;
|
|
4678
4676
|
V === ne.deposit ? ie = B.includes(ne.deposit) && !B.includes(ne.netdeposit) : V === ne.netdeposit ? ie = B.includes(ne.netdeposit) : ie = B.includes(V);
|
|
4679
4677
|
const fe = (Array.isArray(T.products) ? T.products : [T.products]).map((_e) => (_e || "").toLowerCase());
|
|
4680
|
-
let le =
|
|
4678
|
+
let le = Ue ? fe.includes(z) || z !== "all" && fe.includes("all") : fe.includes(z);
|
|
4681
4679
|
return ie && le;
|
|
4682
4680
|
}).reduce(
|
|
4683
4681
|
(T, B) => {
|
|
@@ -4697,7 +4695,7 @@ function ts(i, e, t) {
|
|
|
4697
4695
|
return T;
|
|
4698
4696
|
},
|
|
4699
4697
|
{}
|
|
4700
|
-
), Q = Object.values(
|
|
4698
|
+
), Q = Object.values(H).map((T) => {
|
|
4701
4699
|
var le, _e, K;
|
|
4702
4700
|
const B = T.schedules && T.schedules.length > 0 ? T.schedules[0] : null, ae = T.reviewPending && T.reviewPending.id ? T.reviewPending : null, ie = (O) => {
|
|
4703
4701
|
var ge, ke;
|
|
@@ -4717,7 +4715,7 @@ function ts(i, e, t) {
|
|
|
4717
4715
|
period: T.period,
|
|
4718
4716
|
isModified: !!B,
|
|
4719
4717
|
updateAmount: fe,
|
|
4720
|
-
expiryDate: B ? `${new Date(B.applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${
|
|
4718
|
+
expiryDate: B ? `${new Date(B.applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${je})` : "",
|
|
4721
4719
|
scheduleId: B ? B.id : null,
|
|
4722
4720
|
acknowledgedLimit: B ? !!Ae[B.id] : !1,
|
|
4723
4721
|
isCoolOffCompleted: B ? B.isCoolOffCompleted : !1,
|
|
@@ -4725,17 +4723,17 @@ function ts(i, e, t) {
|
|
|
4725
4723
|
source: z !== "all" && (T.products || []).map((O) => (O || "").toLowerCase()).includes("all") ? "Inherited" : "API",
|
|
4726
4724
|
rawLimit: T,
|
|
4727
4725
|
reviewRequired: (K = T.reviewRequired) != null ? K : !1,
|
|
4728
|
-
reviewPending: ae ?
|
|
4726
|
+
reviewPending: ae ? Re(Te({}, ae), {
|
|
4729
4727
|
requestAmount: ie(ae.requestAmount)
|
|
4730
4728
|
}) : {}
|
|
4731
4729
|
};
|
|
4732
4730
|
});
|
|
4733
|
-
return
|
|
4731
|
+
return Re(Te({}, v), {
|
|
4734
4732
|
currentLimits: rt(Q)
|
|
4735
4733
|
});
|
|
4736
4734
|
}));
|
|
4737
4735
|
}, Zo = (a) => {
|
|
4738
|
-
a != null && a.sessionLimit &&
|
|
4736
|
+
a != null && a.sessionLimit && I.filter((l) => l.value === W.SESSION_LIMIT).forEach((l) => {
|
|
4739
4737
|
l.currentLimits = [], l.currentLimits.push({
|
|
4740
4738
|
limitType: W.SESSION_LIMIT,
|
|
4741
4739
|
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(a.sessionLimit.minutes),
|
|
@@ -4747,7 +4745,7 @@ function ts(i, e, t) {
|
|
|
4747
4745
|
}), l.currentLimits = rt(l.currentLimits);
|
|
4748
4746
|
});
|
|
4749
4747
|
}, Qo = (a) => {
|
|
4750
|
-
a != null && a.cumulativeSessionLimits &&
|
|
4748
|
+
a != null && a.cumulativeSessionLimits && I.filter((l) => l.value === W.CUMULATIVE_SESSION).forEach((l) => {
|
|
4751
4749
|
l.currentLimits = [];
|
|
4752
4750
|
for (const p of a.cumulativeSessionLimits)
|
|
4753
4751
|
l.currentLimits.push({
|
|
@@ -4778,26 +4776,26 @@ function ts(i, e, t) {
|
|
|
4778
4776
|
}, gi = () => {
|
|
4779
4777
|
t(32, Xe = !1), Ye != null && Ye[X] ? (t(13, ut = Ye[X].min), t(14, mt = Ye[X].max)) : (t(13, ut = 1), t(14, mt = 9999999));
|
|
4780
4778
|
}, ea = () => {
|
|
4781
|
-
if (
|
|
4782
|
-
const a =
|
|
4779
|
+
if (Ne) {
|
|
4780
|
+
const a = Ne[se[X].callValue].find((h) => h.period === be), l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(a.amount);
|
|
4783
4781
|
let p = s("popupImmediateUpdate").replace("{selectedLimit}", Gt(a)).replace("{updatedAmount}", l).replace("{currency}", dt[a.currency] || a.currency).replace("{selectedPeriod}", s(`${be}`));
|
|
4784
|
-
t(15,
|
|
4782
|
+
t(15, Ee = a.isModified ? `${s("popupPendingUpdate")} ${new Date(a.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${je})` : p);
|
|
4785
4783
|
}
|
|
4786
4784
|
t(29, We = !0);
|
|
4787
4785
|
}, Li = () => {
|
|
4788
4786
|
var l, p;
|
|
4789
|
-
if (!
|
|
4787
|
+
if (!Ne || !Ne.limits)
|
|
4790
4788
|
return null;
|
|
4791
4789
|
let a = null;
|
|
4792
4790
|
if (Object.keys(pt).length > 0)
|
|
4793
|
-
a =
|
|
4791
|
+
a = Ne.limits.find((h) => h.id === pt.id);
|
|
4794
4792
|
else {
|
|
4795
4793
|
const y = {
|
|
4796
4794
|
type: ((l = se[X]) == null ? void 0 : l.callValue16) || ne[X],
|
|
4797
4795
|
period: be,
|
|
4798
4796
|
product: Qe
|
|
4799
4797
|
};
|
|
4800
|
-
a =
|
|
4798
|
+
a = Ne.limits.find((v) => Mi(v, y));
|
|
4801
4799
|
}
|
|
4802
4800
|
return ((p = a == null ? void 0 : a.schedules) == null ? void 0 : p.length) > 0 && Ae[a.schedules[0].id] && (a.amount = a.schedules[0].updateAmount), a;
|
|
4803
4801
|
}, ta = () => {
|
|
@@ -4807,23 +4805,23 @@ function ts(i, e, t) {
|
|
|
4807
4805
|
t(29, We = !0);
|
|
4808
4806
|
return;
|
|
4809
4807
|
}
|
|
4810
|
-
const l = ca(a) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(a.amount || 0), p = ((y = a.schedules) == null ? void 0 : y.length) > 0 ? `${new Date(a.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${
|
|
4808
|
+
const l = ca(a) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(a.amount || 0), p = ((y = a.schedules) == null ? void 0 : y.length) > 0 ? `${new Date(a.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${je})` : "";
|
|
4811
4809
|
let h = s("popupImmediateUpdate").replace("{selectedLimit}", Gt(a)).replace("{updatedAmount}", l).replace("{selectedPeriod}", s(`${a.period}`));
|
|
4812
4810
|
if (a.schedules.length > 0 && Ae[a.schedules[0].id]) {
|
|
4813
4811
|
const z = Number(a.schedules[0].updateAmount) === 0;
|
|
4814
|
-
t(15,
|
|
4812
|
+
t(15, Ee = z ? s("popupLimitRemoved") : h);
|
|
4815
4813
|
} else
|
|
4816
|
-
t(15,
|
|
4814
|
+
t(15, Ee = ((v = a.schedules) == null ? void 0 : v.length) > 0 ? `${s("popupPendingUpdate")} ${p}` : h);
|
|
4817
4815
|
t(29, We = !0);
|
|
4818
4816
|
}, ia = () => {
|
|
4819
|
-
bt == 1 && t(16, vt = "PopupKyc"), bt == 2 && (t(15,
|
|
4817
|
+
bt == 1 && t(16, vt = "PopupKyc"), bt == 2 && (t(15, Ee = `${s("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(ai)} ${c} ${s("popup2_b")}`), t(16, vt = "PopupKyc2")), bt == 3 && (t(15, Ee = s("popup3")), t(16, vt = "PopupSuccess")), t(29, We = !0);
|
|
4820
4818
|
}, oa = () => {
|
|
4821
|
-
t(15,
|
|
4819
|
+
t(15, Ee = s("sessionLimitUpdated")), t(29, We = !0);
|
|
4822
4820
|
}, aa = () => {
|
|
4823
|
-
if (
|
|
4824
|
-
const a =
|
|
4821
|
+
if (Ne) {
|
|
4822
|
+
const a = Ne[se[X].callValue].find((h) => (h.period === be || be === "None") && h.products[0] === Qe), l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(a.minutes);
|
|
4825
4823
|
let p = s("popupImmediateUpdate").replace("{selectedLimit}", s(`${X}`)).replace("{updatedAmount}", l).replace("{currency}", s("minutes")).replace("{selectedPeriod}", s(`${be}`));
|
|
4826
|
-
t(15,
|
|
4824
|
+
t(15, Ee = a.isModified ? `${s("popupPendingUpdate")} ${new Date(a.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${je})` : p);
|
|
4827
4825
|
}
|
|
4828
4826
|
t(29, We = !0);
|
|
4829
4827
|
}, na = (a) => {
|
|
@@ -4844,11 +4842,11 @@ function ts(i, e, t) {
|
|
|
4844
4842
|
}, St = (a) => {
|
|
4845
4843
|
var l;
|
|
4846
4844
|
if (window.postMessage({ type: "OpenLimitsPopup" }, window.location.href), He) {
|
|
4847
|
-
if (t(27,
|
|
4845
|
+
if (t(27, It = !0), !a) {
|
|
4848
4846
|
t(29, We = !0);
|
|
4849
4847
|
return;
|
|
4850
4848
|
}
|
|
4851
|
-
na(a) ? t(15,
|
|
4849
|
+
na(a) ? t(15, Ee = s("popupUpdateLimitException")) : sa(a) ? t(15, Ee = s("popupRemoveLimitException")) : ra(a) ? t(15, Ee = s("notFoundException")) : la(a) ? t(15, Ee = s("scheduleNotFoundException")) : (l = a == null ? void 0 : a.error) != null && l.includes("LimitUnderReviewException") ? t(15, Ee = s("limitInDocReview")) : ua(a) ? t(15, Ee = s("sessionExpiredException")) : t(15, Ee = s("genericLimitsPopupError")), t(29, We = !0);
|
|
4852
4850
|
return;
|
|
4853
4851
|
}
|
|
4854
4852
|
switch (A) {
|
|
@@ -4863,14 +4861,14 @@ function ts(i, e, t) {
|
|
|
4863
4861
|
}
|
|
4864
4862
|
}, Ge = () => {
|
|
4865
4863
|
t(28, ct = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
|
|
4866
|
-
}, ma = (a) =>
|
|
4864
|
+
}, ma = (a) => De(this, null, function* () {
|
|
4867
4865
|
t(11, X = a.limitType), t(12, be = a.period), Ge(), t(25, we = !0);
|
|
4868
4866
|
let l = `/v2/player/${L}/limits/${ne[a.limitType]}`;
|
|
4869
4867
|
a.limitType !== W.SESSION_LIMIT && (l += `?periods=${a.period}`);
|
|
4870
4868
|
try {
|
|
4871
|
-
yield Nt(l, "DELETE"), Me(
|
|
4869
|
+
yield Nt(l, "DELETE"), Me(Ie.success, a.amount), qe();
|
|
4872
4870
|
} catch (p) {
|
|
4873
|
-
Me(
|
|
4871
|
+
Me(Ie.failed, a.amount), console.log(p), t(26, He = !0);
|
|
4874
4872
|
}
|
|
4875
4873
|
}), hi = (a) => {
|
|
4876
4874
|
switch (zt.remove = a, t(11, X = a.limitType || ""), A) {
|
|
@@ -4881,7 +4879,7 @@ function ts(i, e, t) {
|
|
|
4881
4879
|
pt = a, a.limitType === W.SESSION_LIMIT || a.limitType === W.CUMULATIVE_SESSION ? pa(a) : yi(a);
|
|
4882
4880
|
break;
|
|
4883
4881
|
}
|
|
4884
|
-
Me(
|
|
4882
|
+
Me(Ie.request, a.amount);
|
|
4885
4883
|
}, pa = (a) => {
|
|
4886
4884
|
const l = new URL(`${w}/v1/player/${L}/limits/session/session`), p = new URL(`${w}/v1/player/${L}/limits/session/cumulativeSession?periods=${a.period}`);
|
|
4887
4885
|
let h;
|
|
@@ -4904,10 +4902,10 @@ function ts(i, e, t) {
|
|
|
4904
4902
|
Accept: "application/json"
|
|
4905
4903
|
}
|
|
4906
4904
|
};
|
|
4907
|
-
fetch(h.href, y).then((v) =>
|
|
4908
|
-
Me(
|
|
4905
|
+
fetch(h.href, y).then((v) => Be(v)).then((v) => {
|
|
4906
|
+
Me(Ie.success, a.amount), qe();
|
|
4909
4907
|
}).catch((v) => {
|
|
4910
|
-
Me(
|
|
4908
|
+
Me(Ie.failed, a.amount), console.log(v), t(26, He = !0);
|
|
4911
4909
|
});
|
|
4912
4910
|
}, yi = (a) => {
|
|
4913
4911
|
if (a && a.reviewRequired && !Je) {
|
|
@@ -4925,7 +4923,7 @@ function ts(i, e, t) {
|
|
|
4925
4923
|
Accept: "application/json"
|
|
4926
4924
|
}
|
|
4927
4925
|
};
|
|
4928
|
-
fetch(l.href, p).then((h) =>
|
|
4926
|
+
fetch(l.href, p).then((h) => Be(h)).then(() => (Me(Ie.success, a.amount), qe())).then(() => {
|
|
4929
4927
|
Ot();
|
|
4930
4928
|
}).catch((h) => {
|
|
4931
4929
|
console.error(h), t(26, He = !0), qe();
|
|
@@ -4943,10 +4941,10 @@ function ts(i, e, t) {
|
|
|
4943
4941
|
Accept: "application/json"
|
|
4944
4942
|
}
|
|
4945
4943
|
};
|
|
4946
|
-
fetch(l.href, p).then((h) =>
|
|
4947
|
-
pt = a, Me(
|
|
4944
|
+
fetch(l.href, p).then((h) => Be(h)).then((h) => {
|
|
4945
|
+
pt = a, Me(Ie.success, a.updateAmount), qe();
|
|
4948
4946
|
}).catch((h) => {
|
|
4949
|
-
Me(
|
|
4947
|
+
Me(Ie.failed, a.updateAmount), console.log(h);
|
|
4950
4948
|
});
|
|
4951
4949
|
}, bi = (a) => {
|
|
4952
4950
|
const l = new URL(`${w}/v1/player/${L}/limits/schedule/acknowledge/${a.scheduleId}`);
|
|
@@ -4959,16 +4957,16 @@ function ts(i, e, t) {
|
|
|
4959
4957
|
Accept: "application/json"
|
|
4960
4958
|
}
|
|
4961
4959
|
};
|
|
4962
|
-
fetch(l.href, p).then((h) =>
|
|
4963
|
-
pt = a, sn(L, a.scheduleId, Date.now()), da(a), Me(
|
|
4960
|
+
fetch(l.href, p).then((h) => Be(h)).then((h) => {
|
|
4961
|
+
pt = a, sn(L, a.scheduleId, Date.now()), da(a), Me(Ie.success, a.amount), qe();
|
|
4964
4962
|
}).catch((h) => {
|
|
4965
|
-
Me(
|
|
4963
|
+
Me(Ie.failed, a.amount), console.log(h);
|
|
4966
4964
|
});
|
|
4967
4965
|
}, da = (a) => {
|
|
4968
|
-
|
|
4966
|
+
xe[a.scheduleId] && window.clearInterval(xe[a.scheduleId]);
|
|
4969
4967
|
const l = Ze[f].seconds, p = Ze[f].reloadLimitsButton;
|
|
4970
4968
|
let h = 60;
|
|
4971
|
-
t(22, Ae =
|
|
4969
|
+
t(22, Ae = Re(Te({}, Ae), {
|
|
4972
4970
|
[a.scheduleId]: {
|
|
4973
4971
|
timer: `${h} ${l}`,
|
|
4974
4972
|
timerStopped: !1
|
|
@@ -4977,12 +4975,12 @@ function ts(i, e, t) {
|
|
|
4977
4975
|
const y = window.setInterval(
|
|
4978
4976
|
() => {
|
|
4979
4977
|
if (h === 0) {
|
|
4980
|
-
window.clearInterval(y),
|
|
4978
|
+
window.clearInterval(y), xe = Object.fromEntries(Object.entries(xe).filter(([v]) => v !== a.scheduleId)), t(22, Ae = Re(Te({}, Ae), {
|
|
4981
4979
|
[a.scheduleId]: { timer: p, timerStopped: !0 }
|
|
4982
4980
|
}));
|
|
4983
4981
|
return;
|
|
4984
4982
|
}
|
|
4985
|
-
h -= 1, t(22, Ae =
|
|
4983
|
+
h -= 1, t(22, Ae = Re(Te({}, Ae), {
|
|
4986
4984
|
[a.scheduleId]: {
|
|
4987
4985
|
timer: `${h} ${l}`,
|
|
4988
4986
|
timerStopped: !1
|
|
@@ -4991,14 +4989,14 @@ function ts(i, e, t) {
|
|
|
4991
4989
|
},
|
|
4992
4990
|
1e3
|
|
4993
4991
|
);
|
|
4994
|
-
|
|
4992
|
+
xe = Re(Te({}, xe), {
|
|
4995
4993
|
[a.scheduleId]: y
|
|
4996
4994
|
});
|
|
4997
4995
|
}, Gt = (a) => {
|
|
4998
|
-
var
|
|
4996
|
+
var H;
|
|
4999
4997
|
if (!a)
|
|
5000
4998
|
return s(X || "");
|
|
5001
|
-
const l = (a.value || a.limitType || a.type || "").toLowerCase(), p = ((
|
|
4999
|
+
const l = (a.value || a.limitType || a.type || "").toLowerCase(), p = ((H = Object.entries(ne).sort((Q, T) => T[1].length - Q[1].length).find(([Q, T]) => l.includes(T.toLowerCase()) || l.includes(Q.toLowerCase()))) == null ? void 0 : H[0]) || l, h = (a.product || a.products && a.products[0] || "").toLowerCase(), y = h && h !== "all" ? h.charAt(0).toUpperCase() + h.slice(1) : "", v = p + y, z = s(v);
|
|
5002
5000
|
if (z !== v)
|
|
5003
5001
|
return z;
|
|
5004
5002
|
const V = s(p);
|
|
@@ -5021,9 +5019,9 @@ function ts(i, e, t) {
|
|
|
5021
5019
|
let V;
|
|
5022
5020
|
p ? V = a.reviewPending.requestAmount || 0 : V = l ? a.updateAmount : a.amount;
|
|
5023
5021
|
let Z = S === "true" ? parseFloat(V).toFixed(v) : Math.round(parseFloat(V)).toString();
|
|
5024
|
-
const [
|
|
5022
|
+
const [H, Q] = ye.includes(".") ? [",", "."] : [".", ","];
|
|
5025
5023
|
let [T, B] = Z.includes(".") ? Z.split(".") : [Z, ""];
|
|
5026
|
-
if (T = T.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
5024
|
+
if (T = T.replace(/\B(?=(\d{3})+(?!\d))/g, H), h = h.replace("{currency}", dt[a.currency] || a.currency).replace("{amount}", T).replace(z, S === "true" && B ? B : ""), S === "true" || !B) {
|
|
5027
5025
|
const ae = Q === "." ? "\\." : Q, ie = new RegExp(`${ae}(?=[\\s\\D]|$)`, "g");
|
|
5028
5026
|
h = h.replace(ie, "").trim();
|
|
5029
5027
|
}
|
|
@@ -5032,7 +5030,7 @@ function ts(i, e, t) {
|
|
|
5032
5030
|
t(29, We = t(28, ct = !1)), t(16, vt = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href), t(25, we = !1);
|
|
5033
5031
|
}, fa = () => {
|
|
5034
5032
|
window.postMessage({ type: "uploadDocuments" }, window.location.href), Ht();
|
|
5035
|
-
}, ki = (a) => !a && !(a.length > 0) ? t(30, $e = !1) : (t(20, nt = a), mn(nt, me) ? pn(nt,
|
|
5033
|
+
}, ki = (a) => !a && !(a.length > 0) ? t(30, $e = !1) : (t(20, nt = a), mn(nt, me) ? pn(nt, Pe) ? t(30, $e = !0) : (console.error(s("fileExtenssionDeny")), t(30, $e = !1)) : (console.error(s("fileSizeExceeded")), t(30, $e = !1))), ga = () => {
|
|
5036
5034
|
if (!$e)
|
|
5037
5035
|
return;
|
|
5038
5036
|
t(29, We = !1);
|
|
@@ -5044,14 +5042,14 @@ function ts(i, e, t) {
|
|
|
5044
5042
|
},
|
|
5045
5043
|
body: JSON.stringify({})
|
|
5046
5044
|
};
|
|
5047
|
-
fetch(a, l).then((p) =>
|
|
5045
|
+
fetch(a, l).then((p) => Be(p)).then((p) => {
|
|
5048
5046
|
La(p);
|
|
5049
5047
|
}).catch((p) => {
|
|
5050
5048
|
console.error(s("errorUploadDocument"), p), t(20, nt = null), t(30, $e = !1);
|
|
5051
5049
|
});
|
|
5052
5050
|
}, La = (a) => {
|
|
5053
5051
|
const l = new FormData();
|
|
5054
|
-
l.append(a.requestId, nt[0]), fetch(a.url, { method: "POST", body: l }).then((p) =>
|
|
5052
|
+
l.append(a.requestId, nt[0]), fetch(a.url, { method: "POST", body: l }).then((p) => Be(p)).then((p) => {
|
|
5055
5053
|
window.postMessage(
|
|
5056
5054
|
{
|
|
5057
5055
|
type: "WidgetNotification",
|
|
@@ -5077,13 +5075,13 @@ function ts(i, e, t) {
|
|
|
5077
5075
|
Ht(), t(20, nt = null), t(30, $e = !1);
|
|
5078
5076
|
});
|
|
5079
5077
|
}, ha = () => {
|
|
5080
|
-
if (!
|
|
5078
|
+
if (!q)
|
|
5081
5079
|
return;
|
|
5082
5080
|
let a = {};
|
|
5083
|
-
|
|
5081
|
+
q.split(",").forEach((l) => {
|
|
5084
5082
|
let p = l.split(":");
|
|
5085
5083
|
a[p[0].trim()] = p[1].trim();
|
|
5086
|
-
}), t(21, dt =
|
|
5084
|
+
}), t(21, dt = Te(Te({}, dt), a));
|
|
5087
5085
|
}, ya = () => {
|
|
5088
5086
|
an(f);
|
|
5089
5087
|
}, wi = (a) => {
|
|
@@ -5099,7 +5097,7 @@ function ts(i, e, t) {
|
|
|
5099
5097
|
}
|
|
5100
5098
|
}
|
|
5101
5099
|
};
|
|
5102
|
-
Ka(() => (window.addEventListener("message", wi), J === "true" &&
|
|
5100
|
+
Ka(() => (window.addEventListener("message", wi), J === "true" && I.length && qt(), () => {
|
|
5103
5101
|
window.removeEventListener("message", wi);
|
|
5104
5102
|
}));
|
|
5105
5103
|
const va = (a) => ki(a.target.files), ba = (a) => a && a.value && n.some((l) => l && l.toLowerCase() === a.value.toLowerCase()) && !a.isHiddenByHierarchy, ka = () => Vt(), wa = (a) => hi(a.rawLimit), _a = (a) => bi(a), Sa = (a) => vi(a);
|
|
@@ -5125,15 +5123,15 @@ function ts(i, e, t) {
|
|
|
5125
5123
|
});
|
|
5126
5124
|
}
|
|
5127
5125
|
return i.$$set = (a) => {
|
|
5128
|
-
"lang" in a && t(0, f = a.lang), "currency" in a && t(1, c = a.currency), "limits" in a && t(60, b = a.limits), "session" in a && t(61, _ = a.session), "userid" in a && t(62, L = a.userid), "endpoint" in a && t(63, w = a.endpoint), "apiversion" in a && t(64, A = a.apiversion), "companylimits" in a && t(65, U = a.companylimits), "tablabels" in a && t(66, Y = a.tablabels), "showcompanylimitsinfo" in a && t(67, F = a.showcompanylimitsinfo), "customcurrencysymbols" in a && t(68,
|
|
5126
|
+
"lang" in a && t(0, f = a.lang), "currency" in a && t(1, c = a.currency), "limits" in a && t(60, b = a.limits), "session" in a && t(61, _ = a.session), "userid" in a && t(62, L = a.userid), "endpoint" in a && t(63, w = a.endpoint), "apiversion" in a && t(64, A = a.apiversion), "companylimits" in a && t(65, U = a.companylimits), "tablabels" in a && t(66, Y = a.tablabels), "showcompanylimitsinfo" in a && t(67, F = a.showcompanylimitsinfo), "customcurrencysymbols" in a && t(68, q = a.customcurrencysymbols), "netdepositprogress" in a && t(69, J = a.netdepositprogress), "enablecompliancetext" in a && t(2, ee = a.enablecompliancetext), "deletelimit" in a && t(3, P = a.deletelimit), "amountsconfig" in a && t(70, R = a.amountsconfig), "periodsconfig" in a && t(71, Se = a.periodsconfig), "defaultperiod" in a && t(72, he = a.defaultperiod), "limittabindex" in a && t(4, G = a.limittabindex), "tabcategory" in a && t(73, ue = a.tabcategory), "limitformat" in a && t(74, ye = a.limitformat), "allowedextenssion" in a && t(75, Pe = a.allowedextenssion), "filesizeallow" in a && t(76, me = a.filesizeallow), "clientstyling" in a && t(77, de = a.clientstyling), "clientstylingurl" in a && t(78, pe = a.clientstylingurl), "translationurl" in a && t(79, ce = a.translationurl), "mbsource" in a && t(80, ve = a.mbsource), "timezone" in a && t(81, je = a.timezone), "isLimitNotification" in a && t(5, Oe = a.isLimitNotification), "cooloffstrictmode" in a && t(82, re = a.cooloffstrictmode), "inputhasdecimals" in a && t(6, S = a.inputhasdecimals), "usecustomdropdown" in a && t(7, E = a.usecustomdropdown), "$$scope" in a && t(86, m = a.$$scope);
|
|
5129
5127
|
}, i.$$.update = () => {
|
|
5130
5128
|
if (i.$$.dirty[2] & /*customcurrencysymbols*/
|
|
5131
|
-
64 &&
|
|
5129
|
+
64 && q && ha(), i.$$.dirty[2] & /*periodsconfig, amountsconfig*/
|
|
5132
5130
|
768 && Se && R && Ao(), i.$$.dirty[0] & /*lang*/
|
|
5133
5131
|
1 && f && ya(), i.$$.dirty[0] & /*lang, limittabindex*/
|
|
5134
5132
|
17 | i.$$.dirty[1] & /*session*/
|
|
5135
5133
|
1073741824 | i.$$.dirty[2] & /*userid, endpoint, apiversion, amountsconfig, periodsconfig*/
|
|
5136
|
-
775 && L && _ && w && A && f &&
|
|
5134
|
+
775 && L && _ && w && A && f && G && R && Se && qe(), i.$$.dirty[0] & /*customStylingContainer*/
|
|
5137
5135
|
256 | i.$$.dirty[2] & /*clientstyling*/
|
|
5138
5136
|
32768 && de && N && Za(N, de), i.$$.dirty[0] & /*customStylingContainer*/
|
|
5139
5137
|
256 | i.$$.dirty[2] & /*clientstylingurl*/
|
|
@@ -5142,12 +5140,12 @@ function ts(i, e, t) {
|
|
|
5142
5140
|
262144 && ve && N && $a(N, `${ve}.Style`, yo), i.$$.dirty[2] & /*translationurl*/
|
|
5143
5141
|
131072 && ce && wo(), i.$$.dirty[0] & /*limittabindex*/
|
|
5144
5142
|
16 | i.$$.dirty[2] & /*tablabels*/
|
|
5145
|
-
16 && t(85, o = (Y || "").split(",")[Math.max(0, Number(
|
|
5143
|
+
16 && t(85, o = (Y || "").split(",")[Math.max(0, Number(G) - 1)] || ""), i.$$.dirty[2] & /*currentTabLabel*/
|
|
5146
5144
|
8388608 && t(84, r = o.toLowerCase().includes("net") ? "netdeposit" : o.toLowerCase().includes("deposit") ? "deposit" : o.toLowerCase().includes("loss") ? "loss" : o.toLowerCase().includes("wager") ? "wagering" : ""), i.$$.dirty[2] & /*derivedCategory*/
|
|
5147
5145
|
4194304 && t(37, n = At[r] || []), i.$$.dirty[0] & /*availableLimits*/
|
|
5148
5146
|
512 | i.$$.dirty[2] & /*progressBarContainers*/
|
|
5149
|
-
2097152 && (yt ||
|
|
5150
|
-
const a =
|
|
5147
|
+
2097152 && (yt || Ue) && I.length) {
|
|
5148
|
+
const a = I.map((p) => {
|
|
5151
5149
|
var y;
|
|
5152
5150
|
const h = ((y = p.visibleLimitsInUI) == null ? void 0 : y.length) || 0;
|
|
5153
5151
|
return new Array(h).fill(null);
|
|
@@ -5161,9 +5159,9 @@ function ts(i, e, t) {
|
|
|
5161
5159
|
}
|
|
5162
5160
|
i.$$.dirty[0] & /*availableLimits*/
|
|
5163
5161
|
512 | i.$$.dirty[2] & /*progressBarContainers*/
|
|
5164
|
-
2097152 && yt && Fe.length ===
|
|
5162
|
+
2097152 && yt && Fe.length === I.length && qo() && qt(), i.$$.dirty[0] & /*availableLimits, customStylingContainer*/
|
|
5165
5163
|
768 | i.$$.dirty[2] & /*derivedCategory*/
|
|
5166
|
-
4194304 &&
|
|
5164
|
+
4194304 && I && N && r && ft().then(() => {
|
|
5167
5165
|
setTimeout(
|
|
5168
5166
|
() => {
|
|
5169
5167
|
_t();
|
|
@@ -5176,18 +5174,18 @@ function ts(i, e, t) {
|
|
|
5176
5174
|
c,
|
|
5177
5175
|
ee,
|
|
5178
5176
|
P,
|
|
5179
|
-
|
|
5177
|
+
G,
|
|
5180
5178
|
Oe,
|
|
5181
5179
|
S,
|
|
5182
5180
|
E,
|
|
5183
5181
|
N,
|
|
5184
|
-
|
|
5182
|
+
I,
|
|
5185
5183
|
se,
|
|
5186
5184
|
X,
|
|
5187
5185
|
be,
|
|
5188
5186
|
ut,
|
|
5189
5187
|
mt,
|
|
5190
|
-
|
|
5188
|
+
Ee,
|
|
5191
5189
|
vt,
|
|
5192
5190
|
Ke,
|
|
5193
5191
|
te,
|
|
@@ -5196,10 +5194,10 @@ function ts(i, e, t) {
|
|
|
5196
5194
|
dt,
|
|
5197
5195
|
Ae,
|
|
5198
5196
|
ni,
|
|
5199
|
-
|
|
5197
|
+
Mt,
|
|
5200
5198
|
we,
|
|
5201
5199
|
He,
|
|
5202
|
-
|
|
5200
|
+
It,
|
|
5203
5201
|
ct,
|
|
5204
5202
|
We,
|
|
5205
5203
|
$e,
|
|
@@ -5212,7 +5210,7 @@ function ts(i, e, t) {
|
|
|
5212
5210
|
n,
|
|
5213
5211
|
s,
|
|
5214
5212
|
bo,
|
|
5215
|
-
|
|
5213
|
+
Ue,
|
|
5216
5214
|
yt,
|
|
5217
5215
|
li,
|
|
5218
5216
|
Rt,
|
|
@@ -5240,20 +5238,20 @@ function ts(i, e, t) {
|
|
|
5240
5238
|
U,
|
|
5241
5239
|
Y,
|
|
5242
5240
|
F,
|
|
5243
|
-
|
|
5241
|
+
q,
|
|
5244
5242
|
J,
|
|
5245
5243
|
R,
|
|
5246
5244
|
Se,
|
|
5247
5245
|
he,
|
|
5248
5246
|
ue,
|
|
5249
5247
|
ye,
|
|
5250
|
-
|
|
5248
|
+
Pe,
|
|
5251
5249
|
me,
|
|
5252
5250
|
de,
|
|
5253
5251
|
pe,
|
|
5254
5252
|
ce,
|
|
5255
5253
|
ve,
|
|
5256
|
-
|
|
5254
|
+
je,
|
|
5257
5255
|
re,
|
|
5258
5256
|
Fe,
|
|
5259
5257
|
r,
|