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