@everymatrix/player-limit-notification 0.3.3 → 0.3.4
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/{PlayerAccountGamingLimitsWrapper2Nd-CTEf99-w.js → PlayerAccountGamingLimitsWrapper2Nd-BnYpMMDp.js} +54 -54
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-_fDBeq-C.cjs → PlayerAccountGamingLimitsWrapper2Nd-DEGTvZBV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-D3WcW8r1.js → PlayerAccountGamingLimitsWrapper2Nd-DaPxdRcG.js} +54 -54
- package/components/PlayerLimitNotification-BSXIKvkA.cjs +37 -0
- package/components/PlayerLimitNotification-CX6yzEz1.js +434 -0
- package/components/PlayerLimitNotification-Cj4OkFU7.js +434 -0
- package/es2015/player-limit-notification.cjs +1 -1
- package/es2015/player-limit-notification.js +1 -1
- package/esnext/player-limit-notification.js +1 -1
- package/package.json +1 -1
- package/components/PlayerLimitNotification-CR9L70e8.js +0 -570
- package/components/PlayerLimitNotification-D7oNCjtb.js +0 -570
- package/components/PlayerLimitNotification-DxuJFJ8u.cjs +0 -37
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Qe, $ as Xe, S as Je, i as $e, s as Be, f as b, b as ei, q as
|
|
1
|
+
import { a as Qe, $ as Xe, S as Je, i as $e, s as Be, f as b, b as ei, q as N, d as k, t as y, c as v, u as D, r as E, v as V, e as C, h as z, j as _, k as L, l as T, p as h, m as ii, T as ti, U as si, o as ai, A as se, E as X, w as G, G as te, D as Oe, M, x as be, y as ni, g as B, I as Pe, V as u, W as he, N as ri, O as oi, P as li, Q as mi, R as ui } from "./PlayerAccountGamingLimitsHistory2Nd-B2G860pn.js";
|
|
2
2
|
function ve(i, e) {
|
|
3
3
|
Qe(i, e);
|
|
4
4
|
}
|
|
@@ -209,7 +209,7 @@ function vi(i) {
|
|
|
209
209
|
e = L("div"), t = M("svg"), a = M("defs"), s = M("style"), n = X(`.aaa {
|
|
210
210
|
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
211
211
|
}
|
|
212
|
-
`), r = M("g"), c = M("g"), l = M("path"), p =
|
|
212
|
+
`), r = M("g"), c = M("g"), l = M("path"), p = T(), g = L("h2"), d = X(m), h(l, "class", "aaa"), h(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), h(l, "transform", "translate(15 15) rotate(180)"), h(c, "transform", "translate(20 158)"), h(r, "transform", "translate(-20 -158)"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "15"), h(t, "height", "15"), h(t, "viewBox", "0 0 15 15"), h(g, "class", "GamingLimitsTitleMobile"), h(e, "class", "MenuReturnButton"), h(e, "part", "MenuReturnButton");
|
|
213
213
|
},
|
|
214
214
|
m(S, A) {
|
|
215
215
|
z(S, e, A), _(e, t), _(t, a), _(a, s), _(s, n), _(t, r), _(r, c), _(c, l), _(e, p), _(e, g), _(g, d), f || (j = Oe(
|
|
@@ -239,7 +239,7 @@ function _i(i) {
|
|
|
239
239
|
);
|
|
240
240
|
return {
|
|
241
241
|
c() {
|
|
242
|
-
e = L("div"), r && r.c(), t =
|
|
242
|
+
e = L("div"), r && r.c(), t = T(), a = L("h2"), n = X(s), h(a, "class", "GamingLimitsTitle " + /*isMobile*/
|
|
243
243
|
(i[33] ? "hidden" : "")), h(e, "class", "TitleSection");
|
|
244
244
|
},
|
|
245
245
|
m(c, l) {
|
|
@@ -259,7 +259,7 @@ function _i(i) {
|
|
|
259
259
|
function yi(i) {
|
|
260
260
|
let e, t, a, s, n, r, c, l = (
|
|
261
261
|
/*limitTabs*/
|
|
262
|
-
(i[31].length > 1 || /*
|
|
262
|
+
(i[31].length > 1 || /*limittabvisible*/
|
|
263
263
|
i[21] === "true") && Se(i)
|
|
264
264
|
), p = (
|
|
265
265
|
/*limitTabs*/
|
|
@@ -276,14 +276,14 @@ function yi(i) {
|
|
|
276
276
|
);
|
|
277
277
|
return {
|
|
278
278
|
c() {
|
|
279
|
-
l && l.c(), e =
|
|
279
|
+
l && l.c(), e = T(), t = L("div"), a = L("div"), p && p.c(), s = T(), g && g.c(), n = T(), r = L("div"), m && m.c(), h(a, "class", "PlayerAccountGamingLmitsWrapper2"), h(t, "class", "GamingLimitsContent");
|
|
280
280
|
},
|
|
281
281
|
m(d, f) {
|
|
282
282
|
l && l.m(d, f), z(d, e, f), z(d, t, f), _(t, a), p && p.m(a, null), i[46](a), _(t, s), g && g.m(t, null), z(d, n, f), z(d, r, f), m && m.m(r, null), c = !0;
|
|
283
283
|
},
|
|
284
284
|
p(d, f) {
|
|
285
285
|
/*limitTabs*/
|
|
286
|
-
d[31].length > 1 || /*
|
|
286
|
+
d[31].length > 1 || /*limittabvisible*/
|
|
287
287
|
d[21] === "true" ? l ? l.p(d, f) : (l = Se(d), l.c(), l.m(e.parentNode, e)) : l && (l.d(1), l = null), /*limitTabs*/
|
|
288
288
|
d[31].length && p.p(d, f), /*historyenabled*/
|
|
289
289
|
d[6] === "true" ? g ? g.p(d, f) : (g = Me(d), g.c(), g.m(t, null)) : g && (g.d(1), g = null), /*tabLabelArray*/
|
|
@@ -451,17 +451,17 @@ function zi(i) {
|
|
|
451
451
|
function Li(i) {
|
|
452
452
|
let e, t, a, s, n, r, c, l = (
|
|
453
453
|
/*$$slots*/
|
|
454
|
-
i[36].LimitsList &&
|
|
454
|
+
i[36].LimitsList && We(i)
|
|
455
455
|
), p = (
|
|
456
456
|
/*$$slots*/
|
|
457
|
-
i[36].LimitSubmitButton &&
|
|
457
|
+
i[36].LimitSubmitButton && Te(i)
|
|
458
458
|
), g = (
|
|
459
459
|
/*$$slots*/
|
|
460
460
|
i[36].LimitSkeleton && Ge(i)
|
|
461
461
|
);
|
|
462
462
|
return {
|
|
463
463
|
c() {
|
|
464
|
-
e = L("player-account-gaming-limits-page-2-gm16-nd"), l && l.c(), t =
|
|
464
|
+
e = L("player-account-gaming-limits-page-2-gm16-nd"), l && l.c(), t = T(), p && p.c(), a = T(), g && g.c(), u(
|
|
465
465
|
e,
|
|
466
466
|
"lang",
|
|
467
467
|
/*lang*/
|
|
@@ -573,11 +573,11 @@ function Li(i) {
|
|
|
573
573
|
p(m, d) {
|
|
574
574
|
/*$$slots*/
|
|
575
575
|
m[36].LimitsList ? l ? (l.p(m, d), d[1] & /*$$slots*/
|
|
576
|
-
32 && v(l, 1)) : (l =
|
|
576
|
+
32 && v(l, 1)) : (l = We(m), l.c(), v(l, 1), l.m(e, t)) : l && (B(), y(l, 1, 1, () => {
|
|
577
577
|
l = null;
|
|
578
578
|
}), C()), /*$$slots*/
|
|
579
579
|
m[36].LimitSubmitButton ? p ? (p.p(m, d), d[1] & /*$$slots*/
|
|
580
|
-
32 && v(p, 1)) : (p =
|
|
580
|
+
32 && v(p, 1)) : (p = Te(m), p.c(), v(p, 1), p.m(e, a)) : p && (B(), y(p, 1, 1, () => {
|
|
581
581
|
p = null;
|
|
582
582
|
}), C()), /*$$slots*/
|
|
583
583
|
m[36].LimitSkeleton ? g ? (g.p(m, d), d[1] & /*$$slots*/
|
|
@@ -727,7 +727,7 @@ function ji(i) {
|
|
|
727
727
|
const t = (
|
|
728
728
|
/*#slots*/
|
|
729
729
|
i[42].customTabContent
|
|
730
|
-
), a =
|
|
730
|
+
), a = N(
|
|
731
731
|
t,
|
|
732
732
|
i,
|
|
733
733
|
/*$$scope*/
|
|
@@ -743,19 +743,19 @@ function ji(i) {
|
|
|
743
743
|
},
|
|
744
744
|
p(s, n) {
|
|
745
745
|
a && a.p && (!e || n[1] & /*$$scope*/
|
|
746
|
-
1024) &&
|
|
746
|
+
1024) && D(
|
|
747
747
|
a,
|
|
748
748
|
t,
|
|
749
749
|
s,
|
|
750
750
|
/*$$scope*/
|
|
751
751
|
s[41],
|
|
752
|
-
e ?
|
|
752
|
+
e ? V(
|
|
753
753
|
t,
|
|
754
754
|
/*$$scope*/
|
|
755
755
|
s[41],
|
|
756
756
|
n,
|
|
757
757
|
bi
|
|
758
|
-
) :
|
|
758
|
+
) : E(
|
|
759
759
|
/*$$scope*/
|
|
760
760
|
s[41]
|
|
761
761
|
),
|
|
@@ -773,12 +773,12 @@ function ji(i) {
|
|
|
773
773
|
}
|
|
774
774
|
};
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function We(i) {
|
|
777
777
|
let e, t;
|
|
778
778
|
const a = (
|
|
779
779
|
/*#slots*/
|
|
780
780
|
i[42].LimitsList
|
|
781
|
-
), s =
|
|
781
|
+
), s = N(
|
|
782
782
|
a,
|
|
783
783
|
i,
|
|
784
784
|
/*$$scope*/
|
|
@@ -794,19 +794,19 @@ function Te(i) {
|
|
|
794
794
|
},
|
|
795
795
|
p(n, r) {
|
|
796
796
|
s && s.p && (!t || r[1] & /*$$scope*/
|
|
797
|
-
1024) &&
|
|
797
|
+
1024) && D(
|
|
798
798
|
s,
|
|
799
799
|
a,
|
|
800
800
|
n,
|
|
801
801
|
/*$$scope*/
|
|
802
802
|
n[41],
|
|
803
|
-
t ?
|
|
803
|
+
t ? V(
|
|
804
804
|
a,
|
|
805
805
|
/*$$scope*/
|
|
806
806
|
n[41],
|
|
807
807
|
r,
|
|
808
808
|
fi
|
|
809
|
-
) :
|
|
809
|
+
) : E(
|
|
810
810
|
/*$$scope*/
|
|
811
811
|
n[41]
|
|
812
812
|
),
|
|
@@ -824,12 +824,12 @@ function Te(i) {
|
|
|
824
824
|
}
|
|
825
825
|
};
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function Te(i) {
|
|
828
828
|
let e, t;
|
|
829
829
|
const a = (
|
|
830
830
|
/*#slots*/
|
|
831
831
|
i[42].LimitSubmitButton
|
|
832
|
-
), s =
|
|
832
|
+
), s = N(
|
|
833
833
|
a,
|
|
834
834
|
i,
|
|
835
835
|
/*$$scope*/
|
|
@@ -845,19 +845,19 @@ function We(i) {
|
|
|
845
845
|
},
|
|
846
846
|
p(n, r) {
|
|
847
847
|
s && s.p && (!t || r[1] & /*$$scope*/
|
|
848
|
-
1024) &&
|
|
848
|
+
1024) && D(
|
|
849
849
|
s,
|
|
850
850
|
a,
|
|
851
851
|
n,
|
|
852
852
|
/*$$scope*/
|
|
853
853
|
n[41],
|
|
854
|
-
t ?
|
|
854
|
+
t ? V(
|
|
855
855
|
a,
|
|
856
856
|
/*$$scope*/
|
|
857
857
|
n[41],
|
|
858
858
|
r,
|
|
859
859
|
gi
|
|
860
|
-
) :
|
|
860
|
+
) : E(
|
|
861
861
|
/*$$scope*/
|
|
862
862
|
n[41]
|
|
863
863
|
),
|
|
@@ -880,7 +880,7 @@ function Ge(i) {
|
|
|
880
880
|
const a = (
|
|
881
881
|
/*#slots*/
|
|
882
882
|
i[42].LimitSkeleton
|
|
883
|
-
), s =
|
|
883
|
+
), s = N(
|
|
884
884
|
a,
|
|
885
885
|
i,
|
|
886
886
|
/*$$scope*/
|
|
@@ -896,19 +896,19 @@ function Ge(i) {
|
|
|
896
896
|
},
|
|
897
897
|
p(n, r) {
|
|
898
898
|
s && s.p && (!t || r[1] & /*$$scope*/
|
|
899
|
-
1024) &&
|
|
899
|
+
1024) && D(
|
|
900
900
|
s,
|
|
901
901
|
a,
|
|
902
902
|
n,
|
|
903
903
|
/*$$scope*/
|
|
904
904
|
n[41],
|
|
905
|
-
t ?
|
|
905
|
+
t ? V(
|
|
906
906
|
a,
|
|
907
907
|
/*$$scope*/
|
|
908
908
|
n[41],
|
|
909
909
|
r,
|
|
910
910
|
pi
|
|
911
|
-
) :
|
|
911
|
+
) : E(
|
|
912
912
|
/*$$scope*/
|
|
913
913
|
n[41]
|
|
914
914
|
),
|
|
@@ -1148,7 +1148,7 @@ function wi(i) {
|
|
|
1148
1148
|
const c = (
|
|
1149
1149
|
/*#slots*/
|
|
1150
1150
|
i[42].LimitWrapperTitle
|
|
1151
|
-
), l =
|
|
1151
|
+
), l = N(
|
|
1152
1152
|
c,
|
|
1153
1153
|
i,
|
|
1154
1154
|
/*$$scope*/
|
|
@@ -1163,7 +1163,7 @@ function wi(i) {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
return s = d(i), n = m[s] = g[s](i), {
|
|
1165
1165
|
c() {
|
|
1166
|
-
e = L("div"), t = L("div"), p && p.c(), a =
|
|
1166
|
+
e = L("div"), t = L("div"), p && p.c(), a = T(), n.c(), h(t, "class", "GamingLimitsWrapper " + /*isMobile*/
|
|
1167
1167
|
(i[33] ? "GamingLimitsWrapperMobile" : ""));
|
|
1168
1168
|
},
|
|
1169
1169
|
m(f, j) {
|
|
@@ -1171,19 +1171,19 @@ function wi(i) {
|
|
|
1171
1171
|
},
|
|
1172
1172
|
p(f, j) {
|
|
1173
1173
|
l ? l.p && (!r || j[1] & /*$$scope*/
|
|
1174
|
-
1024) &&
|
|
1174
|
+
1024) && D(
|
|
1175
1175
|
l,
|
|
1176
1176
|
c,
|
|
1177
1177
|
f,
|
|
1178
1178
|
/*$$scope*/
|
|
1179
1179
|
f[41],
|
|
1180
|
-
r ?
|
|
1180
|
+
r ? V(
|
|
1181
1181
|
c,
|
|
1182
1182
|
/*$$scope*/
|
|
1183
1183
|
f[41],
|
|
1184
1184
|
j,
|
|
1185
1185
|
hi
|
|
1186
|
-
) :
|
|
1186
|
+
) : E(
|
|
1187
1187
|
/*$$scope*/
|
|
1188
1188
|
f[41]
|
|
1189
1189
|
),
|
|
@@ -1211,10 +1211,10 @@ function Si(i, e, t) {
|
|
|
1211
1211
|
ii(i, ui, (o) => t(30, a = o));
|
|
1212
1212
|
let { $$slots: s = {}, $$scope: n } = e;
|
|
1213
1213
|
const r = ti(s);
|
|
1214
|
-
let { lang: c = "" } = e, { userid: l = "" } = e, { session: p = "" } = e, { endpoint: g = "" } = e, { currency: m = "" } = e, { apiversion: d = "" } = e, { tablabels: f = "" } = e, { historyenabled: j = "true" } = e, { enablecompliancetext: S = "false" } = e, { netdepositprogress: A = "false" } = e, { deletelimit: ae = "" } = e, { limitsamount: H = "" } = e, { limitsperiods: J = "" } = e, { numberofentries: ne = "" } = e, { customcurrencysymbols: re = "" } = e, { limitformat: oe = "" } = e, { allowedextenssion: le = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: me = "12934000" } = e, { timezone: ue = "GMT" } = e, { clientstyling: K = "" } = e, { clientstylingurl: Y = "" } = e, { translationurl: R = "" } = e, { mbsource: U } = e, { companylimits: de = "false" } = e, {
|
|
1215
|
-
const
|
|
1214
|
+
let { lang: c = "" } = e, { userid: l = "" } = e, { session: p = "" } = e, { endpoint: g = "" } = e, { currency: m = "" } = e, { apiversion: d = "" } = e, { tablabels: f = "" } = e, { historyenabled: j = "true" } = e, { enablecompliancetext: S = "false" } = e, { netdepositprogress: A = "false" } = e, { deletelimit: ae = "" } = e, { limitsamount: H = "" } = e, { limitsperiods: J = "" } = e, { numberofentries: ne = "" } = e, { customcurrencysymbols: re = "" } = e, { limitformat: oe = "" } = e, { allowedextenssion: le = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: me = "12934000" } = e, { timezone: ue = "GMT" } = e, { clientstyling: K = "" } = e, { clientstylingurl: Y = "" } = e, { translationurl: R = "" } = e, { mbsource: U } = e, { companylimits: de = "false" } = e, { limittabvisible: ce = "false" } = e, { customcontentontab: q = "" } = e, Z = !0, W, O = [], pe = [], P, x, F, $, Ie = window.navigator.userAgent, ge = si(Ie) !== "PC", ee = q ? Number(q) : -1, I = 0;
|
|
1215
|
+
const Ne = () => {
|
|
1216
1216
|
di(c);
|
|
1217
|
-
},
|
|
1217
|
+
}, De = () => {
|
|
1218
1218
|
fetch(R).then((w) => w.json()).then((w) => {
|
|
1219
1219
|
Object.keys(w).forEach((Q) => {
|
|
1220
1220
|
ve(Q, w[Q]);
|
|
@@ -1226,13 +1226,13 @@ function Si(i, e, t) {
|
|
|
1226
1226
|
Object.keys(_e).forEach((o) => {
|
|
1227
1227
|
ve(o, _e[o]);
|
|
1228
1228
|
});
|
|
1229
|
-
const
|
|
1229
|
+
const Ee = (o, w) => {
|
|
1230
1230
|
if (t(27, F = o.replace(/\s/g, "").split("|")), t(28, $ = w.replace(/\s/g, "").split("|")), F.length === 0)
|
|
1231
1231
|
throw new Error("Please provide a full limits configuration.");
|
|
1232
1232
|
if (F.length !== $.length)
|
|
1233
1233
|
throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
|
|
1234
|
-
},
|
|
1235
|
-
|
|
1234
|
+
}, Ve = () => {
|
|
1235
|
+
Ee(H, J), H.split("|").forEach((w) => {
|
|
1236
1236
|
O.includes(w) || O.push(w);
|
|
1237
1237
|
}), f.split(",").forEach((w) => {
|
|
1238
1238
|
let Q = w.trim(), xe = w.trim().replaceAll(" ", "").toLowerCase() + "_description", Fe = w.trim().replaceAll(" ", "").toLowerCase() + "_label";
|
|
@@ -1267,22 +1267,22 @@ function Si(i, e, t) {
|
|
|
1267
1267
|
}
|
|
1268
1268
|
function Ze(o) {
|
|
1269
1269
|
te[o ? "unshift" : "push"](() => {
|
|
1270
|
-
|
|
1270
|
+
W = o, t(23, W);
|
|
1271
1271
|
});
|
|
1272
1272
|
}
|
|
1273
1273
|
return i.$$set = (o) => {
|
|
1274
|
-
"lang" in o && t(0, c = o.lang), "userid" in o && t(1, l = o.userid), "session" in o && t(2, p = o.session), "endpoint" in o && t(3, g = o.endpoint), "currency" in o && t(4, m = o.currency), "apiversion" in o && t(5, d = o.apiversion), "tablabels" in o && t(37, f = o.tablabels), "historyenabled" in o && t(6, j = o.historyenabled), "enablecompliancetext" in o && t(7, S = o.enablecompliancetext), "netdepositprogress" in o && t(8, A = o.netdepositprogress), "deletelimit" in o && t(9, ae = o.deletelimit), "limitsamount" in o && t(38, H = o.limitsamount), "limitsperiods" in o && t(39, J = o.limitsperiods), "numberofentries" in o && t(10, ne = o.numberofentries), "customcurrencysymbols" in o && t(11, re = o.customcurrencysymbols), "limitformat" in o && t(12, oe = o.limitformat), "allowedextenssion" in o && t(13, le = o.allowedextenssion), "filesizeallow" in o && t(14, me = o.filesizeallow), "timezone" in o && t(15, ue = o.timezone), "clientstyling" in o && t(16, K = o.clientstyling), "clientstylingurl" in o && t(17, Y = o.clientstylingurl), "translationurl" in o && t(18, R = o.translationurl), "mbsource" in o && t(19, U = o.mbsource), "companylimits" in o && t(20, de = o.companylimits), "
|
|
1274
|
+
"lang" in o && t(0, c = o.lang), "userid" in o && t(1, l = o.userid), "session" in o && t(2, p = o.session), "endpoint" in o && t(3, g = o.endpoint), "currency" in o && t(4, m = o.currency), "apiversion" in o && t(5, d = o.apiversion), "tablabels" in o && t(37, f = o.tablabels), "historyenabled" in o && t(6, j = o.historyenabled), "enablecompliancetext" in o && t(7, S = o.enablecompliancetext), "netdepositprogress" in o && t(8, A = o.netdepositprogress), "deletelimit" in o && t(9, ae = o.deletelimit), "limitsamount" in o && t(38, H = o.limitsamount), "limitsperiods" in o && t(39, J = o.limitsperiods), "numberofentries" in o && t(10, ne = o.numberofentries), "customcurrencysymbols" in o && t(11, re = o.customcurrencysymbols), "limitformat" in o && t(12, oe = o.limitformat), "allowedextenssion" in o && t(13, le = o.allowedextenssion), "filesizeallow" in o && t(14, me = o.filesizeallow), "timezone" in o && t(15, ue = o.timezone), "clientstyling" in o && t(16, K = o.clientstyling), "clientstylingurl" in o && t(17, Y = o.clientstylingurl), "translationurl" in o && t(18, R = o.translationurl), "mbsource" in o && t(19, U = o.mbsource), "companylimits" in o && t(20, de = o.companylimits), "limittabvisible" in o && t(21, ce = o.limittabvisible), "customcontentontab" in o && t(40, q = o.customcontentontab), "$$scope" in o && t(41, n = o.$$scope);
|
|
1275
1275
|
}, i.$$.update = () => {
|
|
1276
1276
|
i.$$.dirty[0] & /*lang*/
|
|
1277
|
-
1 && c &&
|
|
1277
|
+
1 && c && Ne(), i.$$.dirty[0] & /*userid, session, endpoint, lang, apiversion*/
|
|
1278
1278
|
47 | i.$$.dirty[1] & /*tablabels*/
|
|
1279
|
-
64 && l && p && g && f && c && d &&
|
|
1279
|
+
64 && l && p && g && f && c && d && Ve(), i.$$.dirty[1] & /*customcontentontab*/
|
|
1280
1280
|
512 && q && He(), i.$$.dirty[0] & /*mainContainer, isLoading*/
|
|
1281
1281
|
20971520 && P && !Z && ie(0), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1282
|
-
8454144 && K &&
|
|
1283
|
-
8519680 && Y &&
|
|
1284
|
-
8912896 && U &&
|
|
1285
|
-
262144 && R &&
|
|
1282
|
+
8454144 && K && W && ri(W, K), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1283
|
+
8519680 && Y && W && oi(W, Y), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1284
|
+
8912896 && U && W && li(W, `${U}.Style`), i.$$.dirty[0] & /*translationurl*/
|
|
1285
|
+
262144 && R && De(), i.$$.dirty[1] & /*customcontentontab*/
|
|
1286
1286
|
512 && t(29, ee = q !== "" && !isNaN(Number(q)) ? Number(q) : -1), i.$$.dirty[0] & /*isLoading, activeTabIndex*/
|
|
1287
1287
|
37748736 && !Z && O.length > 0 && (I < 0 || I >= O.length) && t(25, I = 0);
|
|
1288
1288
|
}, [
|
|
@@ -1309,7 +1309,7 @@ function Si(i, e, t) {
|
|
|
1309
1309
|
de,
|
|
1310
1310
|
ce,
|
|
1311
1311
|
Z,
|
|
1312
|
-
|
|
1312
|
+
W,
|
|
1313
1313
|
P,
|
|
1314
1314
|
I,
|
|
1315
1315
|
x,
|
|
@@ -1369,7 +1369,7 @@ class qi extends Je {
|
|
|
1369
1369
|
translationurl: 18,
|
|
1370
1370
|
mbsource: 19,
|
|
1371
1371
|
companylimits: 20,
|
|
1372
|
-
|
|
1372
|
+
limittabvisible: 21,
|
|
1373
1373
|
customcontentontab: 40
|
|
1374
1374
|
},
|
|
1375
1375
|
ci,
|
|
@@ -1520,11 +1520,11 @@ class qi extends Je {
|
|
|
1520
1520
|
set companylimits(e) {
|
|
1521
1521
|
this.$$set({ companylimits: e }), b();
|
|
1522
1522
|
}
|
|
1523
|
-
get
|
|
1523
|
+
get limittabvisible() {
|
|
1524
1524
|
return this.$$.ctx[21];
|
|
1525
1525
|
}
|
|
1526
|
-
set
|
|
1527
|
-
this.$$set({
|
|
1526
|
+
set limittabvisible(e) {
|
|
1527
|
+
this.$$set({ limittabvisible: e }), b();
|
|
1528
1528
|
}
|
|
1529
1529
|
get customcontentontab() {
|
|
1530
1530
|
return this.$$.ctx[40];
|
|
@@ -1535,7 +1535,7 @@ class qi extends Je {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
mi(
|
|
1537
1537
|
qi,
|
|
1538
|
-
{ lang: {}, userid: {}, session: {}, endpoint: {}, currency: {}, apiversion: {}, tablabels: {}, historyenabled: {}, enablecompliancetext: {}, netdepositprogress: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, allowedextenssion: {}, filesizeallow: {}, timezone: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, companylimits: {},
|
|
1538
|
+
{ lang: {}, userid: {}, session: {}, endpoint: {}, currency: {}, apiversion: {}, tablabels: {}, historyenabled: {}, enablecompliancetext: {}, netdepositprogress: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, allowedextenssion: {}, filesizeallow: {}, timezone: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, companylimits: {}, limittabvisible: {}, customcontentontab: {} },
|
|
1539
1539
|
[
|
|
1540
1540
|
"LimitWrapperTitle",
|
|
1541
1541
|
"customTabContent",
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGamingLimitsHistory2Nd-BEuKrge-.cjs");require("../stencil/ui-skeleton-BreIU6e5.cjs");function G(n,e){t.addMessages(n,e)}function R(n){t.$locale.set(n)}const I={en:{savePlayerLimit:"SAVE",skipLimitLimitDescription:"I do not wish to set a limit at this time.",skipLimitSuccessful:"Your account limit has been successfully set.",skipLimitFail:"Something went wrong while setting your account limits. Try again later."},fr:{savePlayerLimit:"SAUVEGARDER",skipLimitLimitDescription:"Je ne souhaite pas fixer de limite pour le moment.",skipLimitSuccessful:"La limite de votre compte a été définie avec succès.",skipLimitFail:"Quelque chose s'est mal passé lors de la définition des limites de votre compte. Veuillez réessayer plus tard."},ro:{savePlayerLimit:"SALVAȚI",skipLimitLimitDescription:"Nu doresc să stabilesc o limită în acest moment.",skipLimitSuccessful:"Limita contului dvs. a fost setată cu succes.",skipLimitFail:"Ceva nu a funcționat corect la setarea limitelor contului dvs. Încercați din nou mai târziu."},hu:{savePlayerLimit:"MENTÉS",skipLimitLimitDescription:"Jelenleg nem kívánok limitet beállítani.",skipLimitSuccessful:"Fiókkorlátja sikeresen beállítva.",skipLimitFail:"Hiba történt a fiókkorlátok beállítása során. Próbálja újra később."}};if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsWrapper2Nd-DEGTvZBV.cjs")).then(({default:e})=>{!customElements.get("player-account-gaming-limits-wrapper-2-nd")&&customElements.define("player-account-gaming-limits-wrapper-2-nd",e.element)})}function V(n){t.append_styles(n,"svelte-19al6x0",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}')}function U(n){let e,s,l,g,b,h,_,y,k,r,m,c,w,A,z,x,C,u,L,v=n[4]("skipLimitLimitDescription")+"",E,f,o,d=n[4]("savePlayerLimit")+"",M,N,P;return{c(){e=t.element("div"),s=t.element("div"),l=t.element("player-account-gaming-limits-wrapper-2-nd"),g=t.element("section"),b=t.space(),h=t.element("section"),_=t.space(),y=t.element("section"),y.innerHTML='<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>',k=t.space(),r=t.element("section"),m=t.element("button"),c=t.element("div"),w=t.element("input"),A=t.space(),z=t.element("span"),C=t.space(),u=t.element("div"),L=t.element("p"),E=t.text(v),f=t.space(),o=t.element("button"),M=t.text(d),t.attr(g,"slot","LimitWrapperTitle"),t.attr(h,"slot","LimitsList"),t.attr(y,"slot","LimitSkeleton"),t.attr(w,"type","checkbox"),t.attr(w,"class","skip-switch-input"),t.attr(z,"class","skip-switch-core"),t.attr(c,"class",x="skip-switch "+(n[0]?"checked":"")),t.attr(L,"class","label"),t.attr(u,"class","skip-limit-label"),t.attr(m,"class","toggle-content"),t.attr(o,"class","limit-submit-button"),t.attr(o,"type","submit"),o.disabled=n[3],t.attr(r,"slot","LimitSubmitButton"),t.attr(s,"class","limit-modal-container"),t.attr(e,"class","player-limit-modal")},m(p,S){t.insert(p,e,S),t.append(e,s),t.append(s,l),t.append(l,g),t.append(l,b),t.append(l,h),t.append(l,_),t.append(l,y),t.append(l,k),t.append(l,r),t.append(r,m),t.append(m,c),t.append(c,w),t.append(c,A),t.append(c,z),t.append(m,C),t.append(m,u),t.append(u,L),t.append(L,E),t.append(r,f),t.append(r,o),t.append(o,M),n[24](l),n[25](e),N||(P=[t.listen(m,"click",n[6]),t.listen(o,"click",n[5])],N=!0)},p(p,S){S[0]&1&&x!==(x="skip-switch "+(p[0]?"checked":""))&&t.attr(c,"class",x),S[0]&16&&v!==(v=p[4]("skipLimitLimitDescription")+"")&&t.set_data(E,v),S[0]&16&&d!==(d=p[4]("savePlayerLimit")+"")&&t.set_data(M,d),S[0]&8&&(o.disabled=p[3])},i:t.noop,o:t.noop,d(p){p&&t.detach(e),n[24](null),n[25](null),N=!1,t.run_all(P)}}}function J(n,e,s){let l;t.component_subscribe(n,t.$format,i=>s(4,l=i));let{clientstyling:g=""}=e,{clientstylingurl:b=""}=e,{mbsource:h}=e,{session:_=""}=e,{userid:y=""}=e,{lang:k=""}=e,{endpoint:r=""}=e,{tablabels:m="Deposit Limits"}=e,{limitsamount:c="All(deposit):1-50000"}=e,{limitsperiods:w="All(deposit): D-W-M"}=e,{limitformat:A=""}=e,{currency:z=""}=e,{customcurrencysymbols:x=""}=e,{apiversion:C=""}=e,{translationurl:u=""}=e,{timezone:L="GMT"}=e,v=!0,E=!0,f=!1,o,d;const M=`
|
|
2
|
+
.GamingLimitsWrapper div.GamingLimitsContent {
|
|
3
|
+
min-height: revert;
|
|
4
|
+
}
|
|
5
|
+
.player-account-gaming-limits-page-2-gm16 .LimitsPageContainer {
|
|
6
|
+
min-height: revert;
|
|
7
|
+
}
|
|
8
|
+
div.GamingLimitsWrapper {
|
|
9
|
+
min-height: revert;
|
|
10
|
+
padding: 14px;
|
|
11
|
+
}
|
|
12
|
+
form.LimitsInteractionArea {
|
|
13
|
+
align-items: center;
|
|
14
|
+
margin: 0;
|
|
15
|
+
}
|
|
16
|
+
form.LimitsInteractionArea .LimitTitle {
|
|
17
|
+
margin: 10px;
|
|
18
|
+
}
|
|
19
|
+
.GamingLimitsWrapper div.GamingLimitsContent {
|
|
20
|
+
justify-content: center;
|
|
21
|
+
}
|
|
22
|
+
.GamingLimitsWrapper div.limitsDescription {
|
|
23
|
+
padding: 14px;
|
|
24
|
+
}
|
|
25
|
+
.GamingLimitsWrapper div.TabsContainer{
|
|
26
|
+
margin: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.GamingLimitsWrapper div.LimitsTab {
|
|
30
|
+
flex-direction:column;
|
|
31
|
+
height: fit-content;
|
|
32
|
+
width: 100%;
|
|
33
|
+
padding: 5px 0;
|
|
34
|
+
font-size: 10px;
|
|
35
|
+
margin-right: 5px;
|
|
36
|
+
}
|
|
37
|
+
`,N=()=>{R(k)},P=()=>{fetch(u).then(a=>a.json()).then(a=>{Object.keys(a).forEach(T=>{G(T,a[T])})}).catch(a=>{console.log(a)})};Object.keys(I).forEach(i=>{G(i,I[i])});const p=()=>{if(!E){if(f){S();return}window.postMessage({type:"SubmitLimitNotification"},window.location.href)}},S=()=>{const i=new URL(`${r}/api/pam/v1/player-notifications`);i.searchParams.append("createNotificationIfNotFound","true"),fetch(i,{headers:{"X-SessionId":_,"Content-Type":"application/json"},method:"PATCH",body:JSON.stringify({type:1,interval:5,ackNotification:!0,ackNotificationTimestamp:new Date().toISOString()})}).then(a=>{if(a.ok)return a.json();throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:l("skipLimitFail")}},window.location.href),new Error("Error while skipping the limit setting")}).then(()=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:l("skipLimitSuccessful")}},window.location.href),window.postMessage({type:"SkipLimitSuccessful"},window.location.href)}).catch(a=>{console.error(a)})},O=()=>{s(0,f=!f),window.postMessage({type:"LimitDisableState",data:f},window.location.href)},j=i=>{if(i.data)switch(i.data.type){case"InValidLimit":{s(23,v=i.data.data);break}}};function F(i){if(!i)return;Object.entries({historyenabled:"false",clientstyling:g||M,limittabvisible:"true",endpoint:r,userid:y,session:_,timezone:L,lang:k,tablabels:m,limitsamount:c,limitsperiods:w,currency:z,customcurrencysymbols:x,apiversion:C,translationurl:u,clientstylingurl:b,mbsource:h,limitformat:A}).forEach(([T,D])=>{D!=null&&i.setAttribute(T,D.toString())})}t.onMount(()=>(window.addEventListener("message",j),()=>{window.removeEventListener("message",j)}));function q(i){t.binding_callbacks[i?"unshift":"push"](()=>{d=i,s(2,d)})}function H(i){t.binding_callbacks[i?"unshift":"push"](()=>{o=i,s(1,o)})}return n.$$set=i=>{"clientstyling"in i&&s(7,g=i.clientstyling),"clientstylingurl"in i&&s(8,b=i.clientstylingurl),"mbsource"in i&&s(9,h=i.mbsource),"session"in i&&s(10,_=i.session),"userid"in i&&s(11,y=i.userid),"lang"in i&&s(12,k=i.lang),"endpoint"in i&&s(13,r=i.endpoint),"tablabels"in i&&s(14,m=i.tablabels),"limitsamount"in i&&s(15,c=i.limitsamount),"limitsperiods"in i&&s(16,w=i.limitsperiods),"limitformat"in i&&s(17,A=i.limitformat),"currency"in i&&s(18,z=i.currency),"customcurrencysymbols"in i&&s(19,x=i.customcurrencysymbols),"apiversion"in i&&s(20,C=i.apiversion),"translationurl"in i&&s(21,u=i.translationurl),"timezone"in i&&s(22,L=i.timezone)},n.$$.update=()=>{n.$$.dirty[0]&4096&&k&&N(),n.$$.dirty[0]&130&&g&&o&&t.setClientStyling(o,g),n.$$.dirty[0]&258&&b&&o&&t.setClientStylingURL(o,b),n.$$.dirty[0]&514&&h&&o&&t.setStreamStyling(o,`${h}.Style`),n.$$.dirty[0]&2097152&&u&&P(),n.$$.dirty[0]&8388609&&s(3,E=f?!1:v),n.$$.dirty[0]&4&&d&&F(d)},[f,o,d,E,l,p,O,g,b,h,_,y,k,r,m,c,w,A,z,x,C,u,L,v,q,H]}class W extends t.SvelteComponent{constructor(e){super(),t.init(this,e,J,U,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,mbsource:9,session:10,userid:11,lang:12,endpoint:13,tablabels:14,limitsamount:15,limitsperiods:16,limitformat:17,currency:18,customcurrencysymbols:19,apiversion:20,translationurl:21,timezone:22},V,[-1,-1])}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get session(){return this.$$.ctx[10]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[11]}set userid(e){this.$$set({userid:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get tablabels(){return this.$$.ctx[14]}set tablabels(e){this.$$set({tablabels:e}),t.flush()}get limitsamount(){return this.$$.ctx[15]}set limitsamount(e){this.$$set({limitsamount:e}),t.flush()}get limitsperiods(){return this.$$.ctx[16]}set limitsperiods(e){this.$$set({limitsperiods:e}),t.flush()}get limitformat(){return this.$$.ctx[17]}set limitformat(e){this.$$set({limitformat:e}),t.flush()}get currency(){return this.$$.ctx[18]}set currency(e){this.$$set({currency:e}),t.flush()}get customcurrencysymbols(){return this.$$.ctx[19]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),t.flush()}get apiversion(){return this.$$.ctx[20]}set apiversion(e){this.$$set({apiversion:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get timezone(){return this.$$.ctx[22]}set timezone(e){this.$$set({timezone:e}),t.flush()}}t.create_custom_element(W,{clientstyling:{},clientstylingurl:{},mbsource:{},session:{},userid:{},lang:{},endpoint:{},tablabels:{},limitsamount:{},limitsperiods:{},limitformat:{},currency:{},customcurrencysymbols:{},apiversion:{},translationurl:{},timezone:{}},[],[],!0);exports.default=W;
|