@everymatrix/player-account-gaming-limits 1.63.2 → 1.64.0
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/{PlayerAccountGamingLimits-DUvKvxP4.cjs → PlayerAccountGamingLimits-DHPtMKvx.cjs} +5 -5
- package/components/{PlayerAccountGamingLimits-B_OeNOhb.js → PlayerAccountGamingLimits-DjmDCr7J.js} +63 -63
- package/components/{PlayerAccountGamingLimits-DubTiCdi.js → PlayerAccountGamingLimits-UUJf8D7j.js} +61 -61
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CTBcQjgx.js → PlayerAccountGamingLimitsConfirmationModal-C3xw6jd_.js} +2 -2
- package/components/PlayerAccountGamingLimitsConfirmationModal-CWHJXRfW.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Z26Pg5Zk.js → PlayerAccountGamingLimitsConfirmationModal-DfFoJuLp.js} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-CO4kWz4r.js → PlayerAccountGamingLimitsGroupEdit-BXG2KANz.js} +212 -212
- package/components/{PlayerAccountGamingLimitsGroupEdit-CAwjXBF8.cjs → PlayerAccountGamingLimitsGroupEdit-Bqn1tWk1.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DsSLcdkL.js → PlayerAccountGamingLimitsGroupEdit-gTzcAwri.js} +212 -212
- package/components/{PlayerAccountGamingLimitsInfoCard-DGPCGvWu.js → PlayerAccountGamingLimitsInfoCard-APdc-K5C.js} +42 -42
- package/components/{PlayerAccountGamingLimitsInfoCard-pRY8Sihl.js → PlayerAccountGamingLimitsInfoCard-DD2eUPSU.js} +42 -42
- package/components/{PlayerAccountGamingLimitsInfoCard-CtwI6Xtv.cjs → PlayerAccountGamingLimitsInfoCard-DM_cNGfm.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CvbyPRpo.js → PlayerAccountGamingLimitsPopup-BdyIbeLe.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-u44lGQaZ.cjs → PlayerAccountGamingLimitsPopup-CbCYSDuh.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-2v4kzq50.js → PlayerAccountGamingLimitsPopup-DgohG2MA.js} +1 -1
- package/components/{PlayerAccountModal-BO4AeVmU.js → PlayerAccountModal-DV_VFcAj.js} +1 -1
- package/components/{PlayerAccountModal-B0lagBmb.cjs → PlayerAccountModal-DaoiuFK5.cjs} +1 -1
- package/components/{PlayerAccountModal-DGYN6JPe.js → PlayerAccountModal-DhfSpngX.js} +1 -1
- package/es2015/player-account-gaming-limits.cjs +1 -1
- package/es2015/player-account-gaming-limits.js +1 -1
- package/esnext/player-account-gaming-limits.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-B3gnu0N-.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Ie, $ as ke, S as De, i as Me, f as G, s as Te, E as Ae, b as Re, y as $, d as M, k as T, n as p, v as Ee, w as Ne, x as je, A as ze, q as y, r as
|
|
2
|
-
import { g as K, f as Z } from "./PlayerAccountGamingLimitsGroupEdit-
|
|
1
|
+
import { a as Ie, $ as ke, S as De, i as Me, f as G, s as Te, E as Ae, b as Re, y as $, d as M, k as T, n as p, v as Ee, w as Ne, x as je, A as ze, q as y, r as Be, j as F, G as s, l, m as U, H as ee, p as W, o as E, I as Q, J as fe, M as ie, O as ce, F as Se, B as Fe, C as We, D as qe } from "./PlayerAccountGamingLimits-DjmDCr7J.js";
|
|
2
|
+
import { g as K, f as Z } from "./PlayerAccountGamingLimitsGroupEdit-gTzcAwri.js";
|
|
3
3
|
function oe(e, t) {
|
|
4
4
|
Ie(e, t);
|
|
5
5
|
}
|
|
@@ -295,7 +295,7 @@ if (typeof window < "u") {
|
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-
|
|
298
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-gTzcAwri.js").then((t) => t.P).then(({ default: t }) => {
|
|
299
299
|
!customElements.get("player-account-gaming-limits-group-edit") && customElements.define(
|
|
300
300
|
"player-account-gaming-limits-group-edit",
|
|
301
301
|
t.element
|
|
@@ -303,7 +303,7 @@ if (typeof window < "u") {
|
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
305
|
function Ve(e) {
|
|
306
|
-
Re(e, "svelte-
|
|
306
|
+
Re(e, "svelte-8fdpga", '@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}');
|
|
307
307
|
}
|
|
308
308
|
function ae(e, t, o) {
|
|
309
309
|
const n = e.slice();
|
|
@@ -324,7 +324,7 @@ function Pe(e) {
|
|
|
324
324
|
e[1].substring(1).replace(/\s/g, "")
|
|
325
325
|
)
|
|
326
326
|
) : "") + ""
|
|
327
|
-
), r, u, c, k, v, g, b, P, h,
|
|
327
|
+
), r, u, c, k, v, g, b, P, h, B, S, V, j, z, A = (
|
|
328
328
|
/*$_*/
|
|
329
329
|
e[16]("edit") + ""
|
|
330
330
|
), Y, C, N, H, R;
|
|
@@ -343,7 +343,7 @@ function Pe(e) {
|
|
|
343
343
|
);
|
|
344
344
|
return {
|
|
345
345
|
c() {
|
|
346
|
-
t = p("div"), o = p("div"), n = p("div"), i = p("h5"), r = W(a), u = E(), c = p("div"), k = p("span"), k.textContent = "i", v = E(), g = p("player-account-gaming-limits-popup"), P = E(), h = p("div"),
|
|
346
|
+
t = p("div"), o = p("div"), n = p("div"), i = p("h5"), r = W(a), u = E(), c = p("div"), k = p("span"), k.textContent = "i", v = E(), g = p("player-account-gaming-limits-popup"), P = E(), h = p("div"), B = p("div"), S = p("div"), L.c(), V = E(), j = p("div"), z = p("button"), Y = W(A), C = E(), d && d.c(), N = E(), w && w.c(), y(k, "class", "InfoCardIcon"), s(g, "showpopup", b = /*showPopup*/
|
|
347
347
|
e[9][0]), s(
|
|
348
348
|
g,
|
|
349
349
|
"lang",
|
|
@@ -366,10 +366,10 @@ function Pe(e) {
|
|
|
366
366
|
e[6]
|
|
367
367
|
), y(c, "class", "InfoCardIconWrapper " + /*isMobile*/
|
|
368
368
|
(e[17] ? "InfoCardIconMobileWrapper" : "")), y(n, "class", "InfoCardHeader " + /*isMobile*/
|
|
369
|
-
(e[17] ? "InfoCardMobileHeader" : "")), y(
|
|
369
|
+
(e[17] ? "InfoCardMobileHeader" : "")), y(S, "class", "InfoCardTableRow"), y(B, "class", "InfoCardTableWrapper"), y(z, "class", "InfoCardEditButton"), y(j, "class", "InfoCardControlArea"), y(h, "class", "InfoCard"), y(o, "class", "InfoCardWrapper"), y(t, "class", "InfoCardSection");
|
|
370
370
|
},
|
|
371
371
|
m(_, q) {
|
|
372
|
-
T(_, t, q), l(t, o), l(o, n), l(n, i), l(i, r), l(n, u), l(n, c), l(c, k), l(c, v), l(c, g), l(o, P), l(o, h), l(h,
|
|
372
|
+
T(_, t, q), l(t, o), l(o, n), l(n, i), l(i, r), l(n, u), l(n, c), l(c, k), l(c, v), l(c, g), l(o, P), l(o, h), l(h, B), l(B, S), L.m(S, null), l(h, V), l(h, j), l(j, z), l(z, Y), l(j, C), d && d.m(j, null), l(t, N), w && w.m(t, null), H || (R = [
|
|
373
373
|
U(k, "click", ee(
|
|
374
374
|
/*click_handler*/
|
|
375
375
|
e[24]
|
|
@@ -392,7 +392,7 @@ function Pe(e) {
|
|
|
392
392
|
_[1].charAt(0).toLowerCase() + /*limitname*/
|
|
393
393
|
_[1].substring(1).replace(/\s/g, "")
|
|
394
394
|
)
|
|
395
|
-
) : "") + "") &&
|
|
395
|
+
) : "") + "") && F(r, a), q[0] & /*showPopup*/
|
|
396
396
|
512 && b !== (b = /*showPopup*/
|
|
397
397
|
_[9][0]) && s(g, "showpopup", b), q[0] & /*lang*/
|
|
398
398
|
8 && s(
|
|
@@ -418,16 +418,16 @@ function Pe(e) {
|
|
|
418
418
|
"mbsource",
|
|
419
419
|
/*mbsource*/
|
|
420
420
|
_[6]
|
|
421
|
-
), f === (f = D(_)) && L ? L.p(_, q) : (L.d(1), L = f(_), L && (L.c(), L.m(
|
|
421
|
+
), f === (f = D(_)) && L ? L.p(_, q) : (L.d(1), L = f(_), L && (L.c(), L.m(S, null))), q[0] & /*$_*/
|
|
422
422
|
65536 && A !== (A = /*$_*/
|
|
423
|
-
_[16]("edit") + "") &&
|
|
423
|
+
_[16]("edit") + "") && F(Y, A), !/*amountIsUnset*/
|
|
424
424
|
_[10] && !/*limitsdata*/
|
|
425
425
|
_[0].isModified && /*changeableDataset*/
|
|
426
426
|
_[15] ? d ? d.p(_, q) : (d = ue(_), d.c(), d.m(j, null)) : d && (d.d(1), d = null), /*openLimitsModal*/
|
|
427
427
|
_[12] ? w ? w.p(_, q) : (w = pe(_), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
|
|
428
428
|
},
|
|
429
429
|
d(_) {
|
|
430
|
-
_ && M(t), L.d(), d && d.d(), w && w.d(), H = !1,
|
|
430
|
+
_ && M(t), L.d(), d && d.d(), w && w.d(), H = !1, Be(R);
|
|
431
431
|
}
|
|
432
432
|
};
|
|
433
433
|
}
|
|
@@ -547,7 +547,7 @@ function le(e) {
|
|
|
547
547
|
(i[41] ? (
|
|
548
548
|
/*itemInfo*/
|
|
549
549
|
i[41].currency
|
|
550
|
-
) : "") + "") &&
|
|
550
|
+
) : "") + "") && F(n, o);
|
|
551
551
|
},
|
|
552
552
|
d(i) {
|
|
553
553
|
i && M(t);
|
|
@@ -569,7 +569,7 @@ function Ue(e) {
|
|
|
569
569
|
p(i, a) {
|
|
570
570
|
a[0] & /*$_*/
|
|
571
571
|
65536 && o !== (o = /*$_*/
|
|
572
|
-
i[16]("notAvailable") + "") &&
|
|
572
|
+
i[16]("notAvailable") + "") && F(n, o);
|
|
573
573
|
},
|
|
574
574
|
d(i) {
|
|
575
575
|
i && M(t);
|
|
@@ -609,7 +609,7 @@ function Je(e) {
|
|
|
609
609
|
) : Z(new Date(
|
|
610
610
|
/*itemInfo*/
|
|
611
611
|
i[41].expiryDate
|
|
612
|
-
), "d/M/yyyy - h:mm a") : "N/A") + "") &&
|
|
612
|
+
), "d/M/yyyy - h:mm a") : "N/A") + "") && F(n, o);
|
|
613
613
|
},
|
|
614
614
|
d(i) {
|
|
615
615
|
i && M(t);
|
|
@@ -770,7 +770,7 @@ function me(e) {
|
|
|
770
770
|
e[41].amount != "No limit" && /*itemInfo*/
|
|
771
771
|
e[41].amount != /*$_*/
|
|
772
772
|
e[16]("noLimit")
|
|
773
|
-
), P, h,
|
|
773
|
+
), P, h, B, S = (
|
|
774
774
|
/*$_*/
|
|
775
775
|
e[16]("expirationDate") + ""
|
|
776
776
|
), V, j, z, A, Y, C = b && le(e);
|
|
@@ -799,10 +799,10 @@ function me(e) {
|
|
|
799
799
|
let f = D(e, [-1, -1]), L = f && f(e);
|
|
800
800
|
return {
|
|
801
801
|
c() {
|
|
802
|
-
t = p("div"), o = p("div"), n = p("div"), i = p("div"), r = W(a), u = E(), c = p("div"), v = W(k), g = E(), C && C.c(), P = E(), h = p("div"),
|
|
802
|
+
t = p("div"), o = p("div"), n = p("div"), i = p("div"), r = W(a), u = E(), c = p("div"), v = W(k), g = E(), C && C.c(), P = E(), h = p("div"), B = p("div"), V = W(S), j = E(), R.c(), z = E(), L && L.c(), Y = E(), y(i, "class", "InfoCardRowTitle"), y(c, "class", "InfoCardRowValue"), y(n, "class", "InfoCardRow InfoMainRow"), y(B, "class", "InfoCardRowTitle"), y(h, "class", "InfoCardRow"), y(o, "class", "InfoCardRowContainer"), y(t, "class", "InfoCardBox InfoCardMultipleItems");
|
|
803
803
|
},
|
|
804
804
|
m(d, w) {
|
|
805
|
-
T(d, t, w), l(t, o), l(o, n), l(n, i), l(i, r), l(n, u), l(n, c), l(c, v), l(c, g), C && C.m(c, null), l(o, P), l(o, h), l(h,
|
|
805
|
+
T(d, t, w), l(t, o), l(o, n), l(n, i), l(i, r), l(n, u), l(n, c), l(c, v), l(c, g), C && C.m(c, null), l(o, P), l(o, h), l(h, B), l(B, V), l(h, j), R.m(h, null), l(t, z), L && L.m(t, null), l(t, Y);
|
|
806
806
|
},
|
|
807
807
|
p(d, w) {
|
|
808
808
|
w[0] & /*limitsdata, $_*/
|
|
@@ -814,7 +814,7 @@ function me(e) {
|
|
|
814
814
|
d[41].period.charAt(0).toLowerCase() + /*itemInfo*/
|
|
815
815
|
d[41].period.substring(1)
|
|
816
816
|
)
|
|
817
|
-
) : "") + "") &&
|
|
817
|
+
) : "") + "") && F(r, a), w[0] & /*limitsdata, $_*/
|
|
818
818
|
65537 && k !== (k = /*itemInfo*/
|
|
819
819
|
(d[41] ? (
|
|
820
820
|
/*itemInfo*/
|
|
@@ -825,13 +825,13 @@ function me(e) {
|
|
|
825
825
|
/*itemInfo*/
|
|
826
826
|
d[41].amount
|
|
827
827
|
)
|
|
828
|
-
) : 0) + "") &&
|
|
828
|
+
) : 0) + "") && F(v, k), w[0] & /*limitsdata, $_*/
|
|
829
829
|
65537 && (b = /*itemInfo*/
|
|
830
830
|
d[41].amount != "No limit" && /*itemInfo*/
|
|
831
831
|
d[41].amount != /*$_*/
|
|
832
832
|
d[16]("noLimit")), b ? C ? C.p(d, w) : (C = le(d), C.c(), C.m(c, null)) : C && (C.d(1), C = null), w[0] & /*$_*/
|
|
833
|
-
65536 &&
|
|
834
|
-
d[16]("expirationDate") + "") &&
|
|
833
|
+
65536 && S !== (S = /*$_*/
|
|
834
|
+
d[16]("expirationDate") + "") && F(V, S), H === (H = N(d)) && R ? R.p(d, w) : (R.d(1), R = H(d), R && (R.c(), R.m(h, null))), f === (f = D(d, w)) && L ? L.p(d, w) : (L && L.d(1), L = f && f(d), L && (L.c(), L.m(t, Y)));
|
|
835
835
|
},
|
|
836
836
|
d(d) {
|
|
837
837
|
d && M(t), C && C.d(), R.d(), L && L.d();
|
|
@@ -853,7 +853,7 @@ function Ze(e) {
|
|
|
853
853
|
p(i, a) {
|
|
854
854
|
a[0] & /*$_*/
|
|
855
855
|
65536 && o !== (o = /*$_*/
|
|
856
|
-
i[16]("noLimit") + "") &&
|
|
856
|
+
i[16]("noLimit") + "") && F(n, o);
|
|
857
857
|
},
|
|
858
858
|
d(i) {
|
|
859
859
|
i && M(t);
|
|
@@ -898,7 +898,7 @@ function Xe(e) {
|
|
|
898
898
|
/*itemInfo*/
|
|
899
899
|
u[41].amount
|
|
900
900
|
)
|
|
901
|
-
) : 0) + "") &&
|
|
901
|
+
) : 0) + "") && F(o, t), c[0] & /*limitsdata, $_*/
|
|
902
902
|
65537 && (i = /*itemInfo*/
|
|
903
903
|
u[41].amount !== "No limit" && /*itemInfo*/
|
|
904
904
|
u[41].amount !== /*$_*/
|
|
@@ -924,7 +924,7 @@ function se(e) {
|
|
|
924
924
|
p(i, a) {
|
|
925
925
|
a[0] & /*$_*/
|
|
926
926
|
65536 && o !== (o = /*$_*/
|
|
927
|
-
i[16]("minutes") + "") &&
|
|
927
|
+
i[16]("minutes") + "") && F(n, o);
|
|
928
928
|
},
|
|
929
929
|
d(i) {
|
|
930
930
|
i && M(t);
|
|
@@ -946,7 +946,7 @@ function xe(e) {
|
|
|
946
946
|
p(i, a) {
|
|
947
947
|
a[0] & /*$_*/
|
|
948
948
|
65536 && o !== (o = /*$_*/
|
|
949
|
-
i[16]("notAvailable") + "") &&
|
|
949
|
+
i[16]("notAvailable") + "") && F(n, o);
|
|
950
950
|
},
|
|
951
951
|
d(i) {
|
|
952
952
|
i && M(t);
|
|
@@ -986,7 +986,7 @@ function $e(e) {
|
|
|
986
986
|
) : Z(new Date(
|
|
987
987
|
/*itemInfo*/
|
|
988
988
|
i[41].expiryDate
|
|
989
|
-
), "d/M/yyyy - h:mm a") : "N/A") + "") &&
|
|
989
|
+
), "d/M/yyyy - h:mm a") : "N/A") + "") && F(n, o);
|
|
990
990
|
},
|
|
991
991
|
d(i) {
|
|
992
992
|
i && M(t);
|
|
@@ -1125,7 +1125,7 @@ function de(e) {
|
|
|
1125
1125
|
), r, u, c, k, v, g, b = (
|
|
1126
1126
|
/*$_*/
|
|
1127
1127
|
e[16]("expirationDate") + ""
|
|
1128
|
-
), P, h,
|
|
1128
|
+
), P, h, B, S, V;
|
|
1129
1129
|
function j(f, L) {
|
|
1130
1130
|
return (
|
|
1131
1131
|
/*itemInfo*/
|
|
@@ -1142,11 +1142,11 @@ function de(e) {
|
|
|
1142
1142
|
let C = Y(e), N = C(e);
|
|
1143
1143
|
function H(f, L) {
|
|
1144
1144
|
if (L[0] & /*limitsdata, $_*/
|
|
1145
|
-
65537 && (
|
|
1145
|
+
65537 && (S = null), S == null && (S = /*itemInfo*/
|
|
1146
1146
|
f[41].amount !== /*$_*/
|
|
1147
1147
|
f[16]("noLimit") && /*itemInfo*/
|
|
1148
1148
|
f[41].amount !== "No limit" && !/*itemInfo*/
|
|
1149
|
-
f[41].isModified),
|
|
1149
|
+
f[41].isModified), S)
|
|
1150
1150
|
return ii;
|
|
1151
1151
|
if (
|
|
1152
1152
|
/*itemInfo*/
|
|
@@ -1158,10 +1158,10 @@ function de(e) {
|
|
|
1158
1158
|
let R = H(e, [-1, -1]), D = R && R(e);
|
|
1159
1159
|
return {
|
|
1160
1160
|
c() {
|
|
1161
|
-
t = p("div"), o = p("div"), n = p("div"), i = p("div"), r = W(a), u = E(), c = p("div"), A.c(), k = E(), v = p("div"), g = p("div"), P = W(b), h = E(), N.c(),
|
|
1161
|
+
t = p("div"), o = p("div"), n = p("div"), i = p("div"), r = W(a), u = E(), c = p("div"), A.c(), k = E(), v = p("div"), g = p("div"), P = W(b), h = E(), N.c(), B = E(), D && D.c(), V = E(), y(i, "class", "InfoCardRowTitle"), y(c, "class", "InfoCardRowValue"), y(n, "class", "InfoCardRow InfoMainRow"), y(g, "class", "InfoCardRowTitle"), y(v, "class", "InfoCardRow"), y(o, "class", "InfoCardRowContainer"), y(t, "class", "InfoCardBox InfoCardMultipleItems");
|
|
1162
1162
|
},
|
|
1163
1163
|
m(f, L) {
|
|
1164
|
-
T(f, t, L), l(t, o), l(o, n), l(n, i), l(i, r), l(n, u), l(n, c), A.m(c, null), l(o, k), l(o, v), l(v, g), l(g, P), l(v, h), N.m(v, null), l(t,
|
|
1164
|
+
T(f, t, L), l(t, o), l(o, n), l(n, i), l(i, r), l(n, u), l(n, c), A.m(c, null), l(o, k), l(o, v), l(v, g), l(g, P), l(v, h), N.m(v, null), l(t, B), D && D.m(t, null), l(t, V);
|
|
1165
1165
|
},
|
|
1166
1166
|
p(f, L) {
|
|
1167
1167
|
L[0] & /*limitsdata, $_*/
|
|
@@ -1173,9 +1173,9 @@ function de(e) {
|
|
|
1173
1173
|
f[41].period.charAt(0).toLowerCase() + /*itemInfo*/
|
|
1174
1174
|
f[41].period.substring(1)
|
|
1175
1175
|
)
|
|
1176
|
-
) : "") + "") &&
|
|
1176
|
+
) : "") + "") && F(r, a), z === (z = j(f)) && A ? A.p(f, L) : (A.d(1), A = z(f), A && (A.c(), A.m(c, null))), L[0] & /*$_*/
|
|
1177
1177
|
65536 && b !== (b = /*$_*/
|
|
1178
|
-
f[16]("expirationDate") + "") &&
|
|
1178
|
+
f[16]("expirationDate") + "") && F(P, b), C === (C = Y(f)) && N ? N.p(f, L) : (N.d(1), N = C(f), N && (N.c(), N.m(v, null))), R === (R = H(f, L)) && D ? D.p(f, L) : (D && D.d(1), D = R && R(f), D && (D.c(), D.m(t, V)));
|
|
1179
1179
|
},
|
|
1180
1180
|
d(f) {
|
|
1181
1181
|
f && M(t), A.d(), N.d(), D && D.d();
|
|
@@ -1202,7 +1202,7 @@ function ue(e) {
|
|
|
1202
1202
|
p(r, u) {
|
|
1203
1203
|
u[0] & /*$_*/
|
|
1204
1204
|
65536 && o !== (o = /*$_*/
|
|
1205
|
-
r[16]("removeLimits") + "") &&
|
|
1205
|
+
r[16]("removeLimits") + "") && F(n, o);
|
|
1206
1206
|
},
|
|
1207
1207
|
d(r) {
|
|
1208
1208
|
r && M(t), i = !1, a();
|
|
@@ -1346,7 +1346,7 @@ function ti(e) {
|
|
|
1346
1346
|
}
|
|
1347
1347
|
function oi(e, t, o) {
|
|
1348
1348
|
let n;
|
|
1349
|
-
Ee(e,
|
|
1349
|
+
Ee(e, Se, (m) => o(16, n = m));
|
|
1350
1350
|
let { limitsdata: i = [] } = t, { limitname: a = "" } = t, { currency: r = "" } = t, { lang: u = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: k = "" } = t, { mbsource: v } = t, { translationurl: g = "" } = t;
|
|
1351
1351
|
const b = () => {
|
|
1352
1352
|
fetch(g).then((I) => I.json()).then((I) => {
|
|
@@ -1360,7 +1360,7 @@ function oi(e, t, o) {
|
|
|
1360
1360
|
Object.keys(ne).forEach((m) => {
|
|
1361
1361
|
oe(m, ne[m]);
|
|
1362
1362
|
});
|
|
1363
|
-
let P = !0, h,
|
|
1363
|
+
let P = !0, h, B = new Array(5).fill(0), S = ["Daily", "Weekly", "Monthly"], V = !0, j = !0, z = !1, A = window.navigator.userAgent, Y = Ne(A) !== "PC", C = "", N = "", H = !0, R = /* @__PURE__ */ new Date();
|
|
1364
1364
|
const D = (m) => {
|
|
1365
1365
|
window.postMessage(
|
|
1366
1366
|
{
|
|
@@ -1396,13 +1396,13 @@ function oi(e, t, o) {
|
|
|
1396
1396
|
window.location.href
|
|
1397
1397
|
), setTimeout(
|
|
1398
1398
|
() => {
|
|
1399
|
-
o(9,
|
|
1399
|
+
o(9, B[m] = !0, B);
|
|
1400
1400
|
},
|
|
1401
1401
|
50
|
|
1402
1402
|
);
|
|
1403
1403
|
}, w = (m) => {
|
|
1404
1404
|
let I = [...m];
|
|
1405
|
-
|
|
1405
|
+
S.forEach((O, X) => {
|
|
1406
1406
|
I.find((x) => x.period === O) || (I = _(I, X, O));
|
|
1407
1407
|
const J = I.find((x) => x.period === O);
|
|
1408
1408
|
J && J.amount !== "No limit" && o(10, V = !1);
|
|
@@ -1429,7 +1429,7 @@ function oi(e, t, o) {
|
|
|
1429
1429
|
if (m.data)
|
|
1430
1430
|
switch (m.data.type) {
|
|
1431
1431
|
case "ClosePlayerAccountGamingLimitsPopup":
|
|
1432
|
-
o(9,
|
|
1432
|
+
o(9, B = new Array(5).fill(0));
|
|
1433
1433
|
break;
|
|
1434
1434
|
case "ModalClosed":
|
|
1435
1435
|
window.postMessage({ type: "EnableScroll" }, window.location.href), o(12, z = !1), o(11, j = !1);
|
|
@@ -1450,7 +1450,7 @@ function oi(e, t, o) {
|
|
|
1450
1450
|
}, e.$$.update = () => {
|
|
1451
1451
|
e.$$.dirty[0] & /*limitsdata, limitname, lang*/
|
|
1452
1452
|
11 && i && a && u && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1453
|
-
144 && c && h &&
|
|
1453
|
+
144 && c && h && Fe(h, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1454
1454
|
160 && k && h && We(h, k), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1455
1455
|
192 && v && h && qe(h, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
1456
1456
|
8388608 && g && b();
|
|
@@ -1464,7 +1464,7 @@ function oi(e, t, o) {
|
|
|
1464
1464
|
v,
|
|
1465
1465
|
h,
|
|
1466
1466
|
P,
|
|
1467
|
-
|
|
1467
|
+
B,
|
|
1468
1468
|
V,
|
|
1469
1469
|
j,
|
|
1470
1470
|
z,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimits-DUvKvxP4.cjs"),B=require("./PlayerAccountGamingLimitsGroupEdit-CAwjXBF8.cjs");function H(t,n){e.addMessages(t,n)}function me(t){e.$locale.set(t)}const Y={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let t=function(n){return function(...a){try{return n.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-CAwjXBF8.cjs")).then(n=>n.PlayerAccountGamingLimitsGroupEdit_ce).then(({default:n})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",n.element)})}function se(t){e.append_styles(t,"svelte-ldgjli",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function O(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function de(t){let n,a,o,i,l=(t[0]?t[16](t[1].charAt(0).toLowerCase()+t[1].substring(1).replace(/\s/g,"")):"")+"",r,d,p,b,L,c,w,z,y,A,R,j,M,T,k=t[16]("edit")+"",S,h,D,N,I;function C(g,E){return g[1]==="Time Limit"?ce:pe}let u=C(t),f=u(t),s=!t[10]&&!t[0].isModified&&t[15]&&Z(t),_=t[12]&&X(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("h5"),r=e.text(l),d=e.space(),p=e.element("div"),b=e.element("span"),b.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),z=e.space(),y=e.element("div"),A=e.element("div"),R=e.element("div"),f.c(),j=e.space(),M=e.element("div"),T=e.element("button"),S=e.text(k),h=e.space(),s&&s.c(),D=e.space(),_&&_.c(),e.attr(b,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=t[9][0]),e.set_custom_element_data(c,"lang",t[3]),e.set_custom_element_data(c,"clientstyling",t[4]),e.set_custom_element_data(c,"clientstylingurl",t[5]),e.set_custom_element_data(c,"mbsource",t[6]),e.attr(p,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(t[17]?"InfoCardMobileHeader":"")),e.attr(R,"class","InfoCardTableRow"),e.attr(A,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(n,"class","InfoCardSection")},m(g,E){e.insert(g,n,E),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,b),e.append(p,L),e.append(p,c),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,R),f.m(R,null),e.append(y,j),e.append(y,M),e.append(M,T),e.append(T,S),e.append(M,h),s&&s.m(M,null),e.append(n,D),_&&_.m(n,null),N||(I=[e.listen(b,"click",e.prevent_default(t[24])),e.listen(T,"click",t[27])],N=!0)},p(g,E){E[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),E[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),E[0]&8&&e.set_custom_element_data(c,"lang",g[3]),E[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),E[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),E[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=C(g))&&f?f.p(g,E):(f.d(1),f=u(g),f&&(f.c(),f.m(R,null))),E[0]&65536&&k!==(k=g[16]("edit")+"")&&e.set_data(S,k),!g[10]&&!g[0].isModified&&g[15]?s?s.p(g,E):(s=Z(g),s.c(),s.m(M,null)):s&&(s.d(1),s=null),g[12]?_?_.p(g,E):(_=X(g),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(n),f.d(),s&&s.d(),_&&_.d(),N=!1,e.run_all(I)}}}function ue(t){let n;return{c(){n=e.element("div"),e.attr(n,"class","ModalLoader")},m(a,o){e.insert(a,n,o)},p:e.noop,d(a){a&&e.detach(n)}}}function pe(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=Q(G(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750847){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=G(i,a,r);o[r]?o[r].p(d,l):(o[r]=Q(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function ce(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=K(O(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750843){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=O(i,a,r);o[r]?o[r].p(d,l):(o[r]=K(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function U(t){let n,a=(t[41]?t[41].currency:"")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?i[41].currency:"")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function fe(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function _e(t){let n,a=(t[41]?B.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):B.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?B.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):B.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ge(t){let n,a,o,i,l,r,d,p;function b(){return t[26](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateAmount),e.set_custom_element_data(i,"currency",t[2]),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,n,c),e.append(n,a),e.append(n,o),e.append(n,i),d||(p=e.listen(a,"click",e.prevent_default(b)),d=!0)},p(L,c){t=L,c[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),c[0]&1&&r!==(r=t[41].updateAmount)&&e.set_custom_element_data(i,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(i,"currency",t[2]),c[0]&8&&e.set_custom_element_data(i,"lang",t[3]),c[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),c[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),c[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(L){L&&e.detach(n),d=!1,p()}}}function Le(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function Q(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",L,c,w=t[41].amount!="No limit"&&t[41].amount!=t[16]("noLimit"),z,y,A,R=t[16]("expirationDate")+"",j,M,T,k,S,h=w&&U(t);function D(s,_){return s[41].expiryDate?_e:fe}let N=D(t),I=N(t);function C(s,_){if(_[0]&65537&&(k=null),k==null&&(k=s[41].amount!==s[16]("noLimit")&&s[41].amount!=="No limit"&&!s[41].isModified),k)return Le;if(s[41].amount!="No limit"&&s[41].isModified)return ge}let u=C(t,[-1,-1]),f=u&&u(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),L=e.text(b),c=e.space(),h&&h.c(),z=e.space(),y=e.element("div"),A=e.element("div"),j=e.text(R),M=e.space(),I.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(A,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(s,_){e.insert(s,n,_),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,L),e.append(p,c),h&&h.m(p,null),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,j),e.append(y,M),I.m(y,null),e.append(n,T),f&&f.m(n,null),e.append(n,S)},p(s,_){_[0]&65537&&l!==(l=(s[41]?s[16](s[41].period.charAt(0).toLowerCase()+s[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&b!==(b=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(L,b),_[0]&65537&&(w=s[41].amount!="No limit"&&s[41].amount!=s[16]("noLimit")),w?h?h.p(s,_):(h=U(s),h.c(),h.m(p,null)):h&&(h.d(1),h=null),_[0]&65536&&R!==(R=s[16]("expirationDate")+"")&&e.set_data(j,R),N===(N=D(s))&&I?I.p(s,_):(I.d(1),I=N(s),I&&(I.c(),I.m(y,null))),u===(u=C(s,_))&&f?f.p(s,_):(f&&f.d(1),f=u&&u(s),f&&(f.c(),f.m(n,S)))},d(s){s&&e.detach(n),h&&h.d(),I.d(),f&&f.d()}}}function ye(t){let n,a=t[16]("noLimit")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("noLimit")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function we(t){let n=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",a,o,i=t[41].amount!=="No limit"&&t[41].amount!==t[16]("noLimit"),l,r=i&&J(t);return{c(){a=e.text(n),o=e.space(),r&&r.c(),l=e.empty()},m(d,p){e.insert(d,a,p),e.insert(d,o,p),r&&r.m(d,p),e.insert(d,l,p)},p(d,p){p[0]&65537&&n!==(n=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(a,n),p[0]&65537&&(i=d[41].amount!=="No limit"&&d[41].amount!==d[16]("noLimit")),i?r?r.p(d,p):(r=J(d),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(d)}}}function J(t){let n,a=t[16]("minutes")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("minutes")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function he(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ve(t){let n,a=(t[41]?B.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):B.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?B.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):B.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function be(t){let n,a,o,i,l,r,d,p,b;function L(){return t[25](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateMinutes),e.set_custom_element_data(i,"currency",d=t[16]("minutes")),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,n,w),e.append(n,a),e.append(n,o),e.append(n,i),p||(b=e.listen(a,"click",e.prevent_default(L)),p=!0)},p(c,w){t=c,w[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),w[0]&1&&r!==(r=t[41].updateMinutes)&&e.set_custom_element_data(i,"iteminfoamount",r),w[0]&65536&&d!==(d=t[16]("minutes"))&&e.set_custom_element_data(i,"currency",d),w[0]&8&&e.set_custom_element_data(i,"lang",t[3]),w[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),w[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),w[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(c){c&&e.detach(n),p=!1,b()}}}function Ce(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function K(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b,L,c,w=t[16]("expirationDate")+"",z,y,A,R,j;function M(u,f){return u[41].amount!==0?we:ye}let T=M(t),k=T(t);function S(u,f){return u[41].expiryDate?ve:he}let h=S(t),D=h(t);function N(u,f){if(f[0]&65537&&(R=null),R==null&&(R=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),R)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return be}let I=N(t,[-1,-1]),C=I&&I(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),k.c(),b=e.space(),L=e.element("div"),c=e.element("div"),z=e.text(w),y=e.space(),D.c(),A=e.space(),C&&C.c(),j=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,n,f),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),k.m(p,null),e.append(a,b),e.append(a,L),e.append(L,c),e.append(c,z),e.append(L,y),D.m(L,null),e.append(n,A),C&&C.m(n,null),e.append(n,j)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=M(u))&&k?k.p(u,f):(k.d(1),k=T(u),k&&(k.c(),k.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(z,w),h===(h=S(u))&&D?D.p(u,f):(D.d(1),D=h(u),D&&(D.c(),D.m(L,null))),I===(I=N(u,f))&&C?C.p(u,f):(C&&C.d(1),C=I&&I(u),C&&(C.c(),C.m(n,j)))},d(u){u&&e.detach(n),k.d(),D.d(),C&&C.d()}}}function Z(t){let n,a=t[16]("removeLimits")+"",o,i,l;return{c(){n=e.element("button"),o=e.text(a),e.attr(n,"class","InfoCardRemoveButton")},m(r,d){e.insert(r,n,d),e.append(n,o),i||(l=e.listen(n,"click",t[28]),i=!0)},p(r,d){d[0]&65536&&a!==(a=r[16]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(n),i=!1,l()}}}function X(t){let n,a,o;return{c(){n=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=t[11]?t[13]:t[14]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",t[3]),e.set_custom_element_data(a,"clientstyling",t[4]),e.set_custom_element_data(a,"clientstylingurl",t[5]),e.set_custom_element_data(a,"mbsource",t[6]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6])},m(i,l){e.insert(i,n,l),e.append(n,a)},p(i,l){l[0]&26624&&o!==(o=i[11]?i[13]:i[14])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",i[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",i[6]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(n,"mbsource",i[6])},d(i){i&&e.detach(n)}}}function ke(t){let n;function a(l,r){return l[8]?ue:de}let o=a(t),i=o(t);return{c(){n=e.element("div"),i.c()},m(l,r){e.insert(l,n,r),i.m(n,null),t[29](n)},p(l,r){o===(o=a(l))&&i?i.p(l,r):(i.d(1),i=o(l),i&&(i.c(),i.m(n,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(n),i.d(),t[29](null)}}}function Ie(t,n,a){let o;e.component_subscribe(t,e.$format,m=>a(16,o=m));let{limitsdata:i=[]}=n,{limitname:l=""}=n,{currency:r=""}=n,{lang:d="en"}=n,{clientstyling:p=""}=n,{clientstylingurl:b=""}=n,{mbsource:L}=n,{translationurl:c=""}=n;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(F=>{H(F,v[F])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{H(m,Y[m])});let z=!0,y,A=new Array(5).fill(0),R=["Daily","Weekly","Monthly"],j=!0,M=!0,T=!1,k=window.navigator.userAgent,S=e.getDevice(k)!=="PC",h="",D="",N=!0,I=new Date;const C=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},u=m=>{a(12,T=!0),a(11,M=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},f=(m,v)=>{a(12,T=!0),a(11,M=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},s=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(9,A[m]=!0,A)},50)},_=m=>{let v=[...m];R.forEach((F,W)=>{v.find(P=>P.period===F)||(v=g(v,W,F));const q=v.find(P=>P.period===F);q&&q.amount!=="No limit"&&a(10,j=!1)}),m.splice(0,m.length,...v),a(8,z=!1)},g=(m,v,F)=>{const W={period:F,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},E=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,$=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(13,h=o("removeLimitsText",{values:{limit:m}})),a(14,D=o("removeLimitText",{values:{limit:m}}))},ee=m=>{m.forEach(v=>{v.isModified&&a(15,N=!1)})},te=()=>{me(d),$(),ee(i),_(i),i.sort(E)},V=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(9,A=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(12,T=!1),a(11,M=!1);break}};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));const ie=()=>s(0),ne=m=>s(m+1),ae=m=>s(m+1),oe=()=>C(i),le=()=>u(i);function re(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,a(7,y)})}return t.$$set=m=>{"limitsdata"in m&&a(0,i=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"currency"in m&&a(2,r=m.currency),"lang"in m&&a(3,d=m.lang),"clientstyling"in m&&a(4,p=m.clientstyling),"clientstylingurl"in m&&a(5,b=m.clientstylingurl),"mbsource"in m&&a(6,L=m.mbsource),"translationurl"in m&&a(23,c=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&11&&i&&l&&d&&te(),t.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),t.$$.dirty[0]&160&&b&&y&&e.setClientStylingURL(y,b),t.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`),t.$$.dirty[0]&8388608&&c&&w()},[i,l,r,d,p,b,L,y,z,A,j,M,T,h,D,N,o,S,I,C,u,f,s,c,ie,ne,ae,oe,le,re]}class x extends e.SvelteComponent{constructor(n){super(),e.init(this,n,Ie,ke,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},se,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(n){this.$$set({limitsdata:n}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(n){this.$$set({limitname:n}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(n){this.$$set({currency:n}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(n){this.$$set({lang:n}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimits-DHPtMKvx.cjs"),F=require("./PlayerAccountGamingLimitsGroupEdit-Bqn1tWk1.cjs");function H(t,n){e.addMessages(t,n)}function me(t){e.$locale.set(t)}const Y={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let t=function(n){return function(...a){try{return n.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-Bqn1tWk1.cjs")).then(n=>n.PlayerAccountGamingLimitsGroupEdit_ce).then(({default:n})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",n.element)})}function se(t){e.append_styles(t,"svelte-8fdpga",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function O(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function de(t){let n,a,o,i,l=(t[0]?t[16](t[1].charAt(0).toLowerCase()+t[1].substring(1).replace(/\s/g,"")):"")+"",r,d,p,b,L,c,w,z,y,A,R,j,M,T,k=t[16]("edit")+"",S,h,D,N,I;function C(g,E){return g[1]==="Time Limit"?ce:pe}let u=C(t),f=u(t),s=!t[10]&&!t[0].isModified&&t[15]&&Z(t),_=t[12]&&X(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("h5"),r=e.text(l),d=e.space(),p=e.element("div"),b=e.element("span"),b.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),z=e.space(),y=e.element("div"),A=e.element("div"),R=e.element("div"),f.c(),j=e.space(),M=e.element("div"),T=e.element("button"),S=e.text(k),h=e.space(),s&&s.c(),D=e.space(),_&&_.c(),e.attr(b,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=t[9][0]),e.set_custom_element_data(c,"lang",t[3]),e.set_custom_element_data(c,"clientstyling",t[4]),e.set_custom_element_data(c,"clientstylingurl",t[5]),e.set_custom_element_data(c,"mbsource",t[6]),e.attr(p,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(t[17]?"InfoCardMobileHeader":"")),e.attr(R,"class","InfoCardTableRow"),e.attr(A,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(n,"class","InfoCardSection")},m(g,E){e.insert(g,n,E),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,b),e.append(p,L),e.append(p,c),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,R),f.m(R,null),e.append(y,j),e.append(y,M),e.append(M,T),e.append(T,S),e.append(M,h),s&&s.m(M,null),e.append(n,D),_&&_.m(n,null),N||(I=[e.listen(b,"click",e.prevent_default(t[24])),e.listen(T,"click",t[27])],N=!0)},p(g,E){E[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),E[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),E[0]&8&&e.set_custom_element_data(c,"lang",g[3]),E[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),E[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),E[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=C(g))&&f?f.p(g,E):(f.d(1),f=u(g),f&&(f.c(),f.m(R,null))),E[0]&65536&&k!==(k=g[16]("edit")+"")&&e.set_data(S,k),!g[10]&&!g[0].isModified&&g[15]?s?s.p(g,E):(s=Z(g),s.c(),s.m(M,null)):s&&(s.d(1),s=null),g[12]?_?_.p(g,E):(_=X(g),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(n),f.d(),s&&s.d(),_&&_.d(),N=!1,e.run_all(I)}}}function ue(t){let n;return{c(){n=e.element("div"),e.attr(n,"class","ModalLoader")},m(a,o){e.insert(a,n,o)},p:e.noop,d(a){a&&e.detach(n)}}}function pe(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=Q(G(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750847){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=G(i,a,r);o[r]?o[r].p(d,l):(o[r]=Q(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function ce(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=K(O(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750843){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=O(i,a,r);o[r]?o[r].p(d,l):(o[r]=K(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function U(t){let n,a=(t[41]?t[41].currency:"")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?i[41].currency:"")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function fe(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function _e(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ge(t){let n,a,o,i,l,r,d,p;function b(){return t[26](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateAmount),e.set_custom_element_data(i,"currency",t[2]),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,n,c),e.append(n,a),e.append(n,o),e.append(n,i),d||(p=e.listen(a,"click",e.prevent_default(b)),d=!0)},p(L,c){t=L,c[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),c[0]&1&&r!==(r=t[41].updateAmount)&&e.set_custom_element_data(i,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(i,"currency",t[2]),c[0]&8&&e.set_custom_element_data(i,"lang",t[3]),c[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),c[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),c[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(L){L&&e.detach(n),d=!1,p()}}}function Le(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function Q(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",L,c,w=t[41].amount!="No limit"&&t[41].amount!=t[16]("noLimit"),z,y,A,R=t[16]("expirationDate")+"",j,M,T,k,S,h=w&&U(t);function D(s,_){return s[41].expiryDate?_e:fe}let N=D(t),I=N(t);function C(s,_){if(_[0]&65537&&(k=null),k==null&&(k=s[41].amount!==s[16]("noLimit")&&s[41].amount!=="No limit"&&!s[41].isModified),k)return Le;if(s[41].amount!="No limit"&&s[41].isModified)return ge}let u=C(t,[-1,-1]),f=u&&u(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),L=e.text(b),c=e.space(),h&&h.c(),z=e.space(),y=e.element("div"),A=e.element("div"),j=e.text(R),M=e.space(),I.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(A,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(s,_){e.insert(s,n,_),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,L),e.append(p,c),h&&h.m(p,null),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,j),e.append(y,M),I.m(y,null),e.append(n,T),f&&f.m(n,null),e.append(n,S)},p(s,_){_[0]&65537&&l!==(l=(s[41]?s[16](s[41].period.charAt(0).toLowerCase()+s[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&b!==(b=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(L,b),_[0]&65537&&(w=s[41].amount!="No limit"&&s[41].amount!=s[16]("noLimit")),w?h?h.p(s,_):(h=U(s),h.c(),h.m(p,null)):h&&(h.d(1),h=null),_[0]&65536&&R!==(R=s[16]("expirationDate")+"")&&e.set_data(j,R),N===(N=D(s))&&I?I.p(s,_):(I.d(1),I=N(s),I&&(I.c(),I.m(y,null))),u===(u=C(s,_))&&f?f.p(s,_):(f&&f.d(1),f=u&&u(s),f&&(f.c(),f.m(n,S)))},d(s){s&&e.detach(n),h&&h.d(),I.d(),f&&f.d()}}}function ye(t){let n,a=t[16]("noLimit")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("noLimit")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function we(t){let n=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",a,o,i=t[41].amount!=="No limit"&&t[41].amount!==t[16]("noLimit"),l,r=i&&J(t);return{c(){a=e.text(n),o=e.space(),r&&r.c(),l=e.empty()},m(d,p){e.insert(d,a,p),e.insert(d,o,p),r&&r.m(d,p),e.insert(d,l,p)},p(d,p){p[0]&65537&&n!==(n=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(a,n),p[0]&65537&&(i=d[41].amount!=="No limit"&&d[41].amount!==d[16]("noLimit")),i?r?r.p(d,p):(r=J(d),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(d)}}}function J(t){let n,a=t[16]("minutes")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("minutes")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function he(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ve(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function be(t){let n,a,o,i,l,r,d,p,b;function L(){return t[25](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateMinutes),e.set_custom_element_data(i,"currency",d=t[16]("minutes")),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,n,w),e.append(n,a),e.append(n,o),e.append(n,i),p||(b=e.listen(a,"click",e.prevent_default(L)),p=!0)},p(c,w){t=c,w[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),w[0]&1&&r!==(r=t[41].updateMinutes)&&e.set_custom_element_data(i,"iteminfoamount",r),w[0]&65536&&d!==(d=t[16]("minutes"))&&e.set_custom_element_data(i,"currency",d),w[0]&8&&e.set_custom_element_data(i,"lang",t[3]),w[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),w[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),w[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(c){c&&e.detach(n),p=!1,b()}}}function Ce(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function K(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b,L,c,w=t[16]("expirationDate")+"",z,y,A,R,j;function M(u,f){return u[41].amount!==0?we:ye}let T=M(t),k=T(t);function S(u,f){return u[41].expiryDate?ve:he}let h=S(t),D=h(t);function N(u,f){if(f[0]&65537&&(R=null),R==null&&(R=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),R)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return be}let I=N(t,[-1,-1]),C=I&&I(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),k.c(),b=e.space(),L=e.element("div"),c=e.element("div"),z=e.text(w),y=e.space(),D.c(),A=e.space(),C&&C.c(),j=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,n,f),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),k.m(p,null),e.append(a,b),e.append(a,L),e.append(L,c),e.append(c,z),e.append(L,y),D.m(L,null),e.append(n,A),C&&C.m(n,null),e.append(n,j)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=M(u))&&k?k.p(u,f):(k.d(1),k=T(u),k&&(k.c(),k.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(z,w),h===(h=S(u))&&D?D.p(u,f):(D.d(1),D=h(u),D&&(D.c(),D.m(L,null))),I===(I=N(u,f))&&C?C.p(u,f):(C&&C.d(1),C=I&&I(u),C&&(C.c(),C.m(n,j)))},d(u){u&&e.detach(n),k.d(),D.d(),C&&C.d()}}}function Z(t){let n,a=t[16]("removeLimits")+"",o,i,l;return{c(){n=e.element("button"),o=e.text(a),e.attr(n,"class","InfoCardRemoveButton")},m(r,d){e.insert(r,n,d),e.append(n,o),i||(l=e.listen(n,"click",t[28]),i=!0)},p(r,d){d[0]&65536&&a!==(a=r[16]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(n),i=!1,l()}}}function X(t){let n,a,o;return{c(){n=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=t[11]?t[13]:t[14]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",t[3]),e.set_custom_element_data(a,"clientstyling",t[4]),e.set_custom_element_data(a,"clientstylingurl",t[5]),e.set_custom_element_data(a,"mbsource",t[6]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6])},m(i,l){e.insert(i,n,l),e.append(n,a)},p(i,l){l[0]&26624&&o!==(o=i[11]?i[13]:i[14])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",i[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",i[6]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(n,"mbsource",i[6])},d(i){i&&e.detach(n)}}}function ke(t){let n;function a(l,r){return l[8]?ue:de}let o=a(t),i=o(t);return{c(){n=e.element("div"),i.c()},m(l,r){e.insert(l,n,r),i.m(n,null),t[29](n)},p(l,r){o===(o=a(l))&&i?i.p(l,r):(i.d(1),i=o(l),i&&(i.c(),i.m(n,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(n),i.d(),t[29](null)}}}function Ie(t,n,a){let o;e.component_subscribe(t,e.$format,m=>a(16,o=m));let{limitsdata:i=[]}=n,{limitname:l=""}=n,{currency:r=""}=n,{lang:d="en"}=n,{clientstyling:p=""}=n,{clientstylingurl:b=""}=n,{mbsource:L}=n,{translationurl:c=""}=n;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{H(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{H(m,Y[m])});let z=!0,y,A=new Array(5).fill(0),R=["Daily","Weekly","Monthly"],j=!0,M=!0,T=!1,k=window.navigator.userAgent,S=e.getDevice(k)!=="PC",h="",D="",N=!0,I=new Date;const C=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},u=m=>{a(12,T=!0),a(11,M=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},f=(m,v)=>{a(12,T=!0),a(11,M=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},s=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(9,A[m]=!0,A)},50)},_=m=>{let v=[...m];R.forEach((B,W)=>{v.find(P=>P.period===B)||(v=g(v,W,B));const q=v.find(P=>P.period===B);q&&q.amount!=="No limit"&&a(10,j=!1)}),m.splice(0,m.length,...v),a(8,z=!1)},g=(m,v,B)=>{const W={period:B,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},E=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,$=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(13,h=o("removeLimitsText",{values:{limit:m}})),a(14,D=o("removeLimitText",{values:{limit:m}}))},ee=m=>{m.forEach(v=>{v.isModified&&a(15,N=!1)})},te=()=>{me(d),$(),ee(i),_(i),i.sort(E)},V=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(9,A=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(12,T=!1),a(11,M=!1);break}};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));const ie=()=>s(0),ne=m=>s(m+1),ae=m=>s(m+1),oe=()=>C(i),le=()=>u(i);function re(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,a(7,y)})}return t.$$set=m=>{"limitsdata"in m&&a(0,i=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"currency"in m&&a(2,r=m.currency),"lang"in m&&a(3,d=m.lang),"clientstyling"in m&&a(4,p=m.clientstyling),"clientstylingurl"in m&&a(5,b=m.clientstylingurl),"mbsource"in m&&a(6,L=m.mbsource),"translationurl"in m&&a(23,c=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&11&&i&&l&&d&&te(),t.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),t.$$.dirty[0]&160&&b&&y&&e.setClientStylingURL(y,b),t.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`),t.$$.dirty[0]&8388608&&c&&w()},[i,l,r,d,p,b,L,y,z,A,j,M,T,h,D,N,o,S,I,C,u,f,s,c,ie,ne,ae,oe,le,re]}class x extends e.SvelteComponent{constructor(n){super(),e.init(this,n,Ie,ke,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},se,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(n){this.$$set({limitsdata:n}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(n){this.$$set({limitname:n}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(n){this.$$set({currency:n}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(n){this.$$set({lang:n}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as G, $ as A, S as B, i as Y, s as D, f as v, b as H, y as W, d as q, k as _, M as O, v as V, w as N, x as U, j as z, q as m, l as d, m as Q, H as R, n as h, o as M, p as j, A as K, B as J, C as X, D as Z, E as $, F as ee } from "./PlayerAccountGamingLimits-
|
|
1
|
+
import { a as G, $ as A, S as B, i as Y, s as D, f as v, b as H, y as W, d as q, k as _, M as O, v as V, w as N, x as U, j as z, q as m, l as d, m as Q, H as R, n as h, o as M, p as j, A as K, B as J, C as X, D as Z, E as $, F as ee } from "./PlayerAccountGamingLimits-UUJf8D7j.js";
|
|
2
2
|
function L(a, e) {
|
|
3
3
|
G(a, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimits-DUvKvxP4.cjs");function I(i,t){e.addMessages(i,t)}function M(i){e.$locale.set(i)}const T={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},de:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",defaultText:"當您設置遊戲限制時,它從您激活它的那一刻起生效,並持續到所選時間段結束。 因此,如果您將每日限制設置為 14.00,則計算的 24 小時周期是從其激活到格林威治標準時間 00:00。 然後限制每 24 小時有效。 您可以隨時降低限制並立即生效。 但是,提高或取消限制將僅在當前限製到期時適用。"},fr:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră."},es:{name:"Info",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {amount} {currency}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",defaultText:"Kada postavite ograničenje igre"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que ultrapassar a data de expiração para que o novo limite entre em vigor:",defaultText:'Quando um limite é definido,Entra em vigor a partir do momento em que é ativado e dura até o final do período selecionado. Portanto,Se você definir o limite diário às 14h00.,"O período de 24 horas é desde o momento da ativação até. O limite será então válido por 24 dias, você pode reduzir o limite a qualquer momento com efeito imediato, no entanto",aumentar ou remover um limite não será aplicado até que o limite atual expire'},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado: {amount} {currency}. Tendrá que espirar a la fecha de expiración para que el nuevo límite entre en efecto:",defaultText:'Cuando se fija un límite,entra en efecto desde el momento que se activa y dura hasta el final del periodo seleccionado. Por lo tanto,Si fija el límite diario a las 14.00,"el periodo de 24-horas es desde el momento de la activación hasta. El límite entonces sera válido por 24 días, ustede puede reducir el límite en cualquier momento con efecto inmediato, sin embargo", aumentar o remover un límite no aplicará hasta el límite actual expire'},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",defaultText:"Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."}};function z(i){e.append_styles(i,"svelte-11p58yq",'.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}')}function _(i){let t,a,o,n,l,m,g=i[4]("name")+"",f,y,c,v,b,p,s,x;function k(u,h){return u[0]?F:j}let C=k(i),d=C(i);return{c(){t=e.element("section"),a=e.element("div"),o=e.element("div"),n=e.element("div"),n.textContent="i",l=e.space(),m=e.element("div"),f=e.text(g),y=e.space(),c=e.element("div"),c.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',v=e.space(),b=e.element("div"),d.c(),e.attr(n,"class","InfoCardPopupIcon"),e.attr(m,"class","InfoCardPopupTitle"),e.attr(c,"class","InfoCardPopupCloseButton"),e.attr(o,"class","InfoCardPopupHeader"),e.attr(b,"class","InfoCardPopupContentArea"),e.attr(a,"class",p="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),e.attr(t,"class",i[5]?"InfoCardPopupMobileModal":"")},m(u,h){e.insert(u,t,h),e.append(t,a),e.append(a,o),e.append(o,n),e.append(o,l),e.append(o,m),e.append(m,f),e.append(o,y),e.append(o,c),e.append(a,v),e.append(a,b),d.m(b,null),i[13](t),s||(x=e.listen(c,"click",e.prevent_default(i[6])),s=!0)},p(u,h){h&16&&g!==(g=u[4]("name")+"")&&e.set_data(f,g),C===(C=k(u))&&d?d.p(u,h):(d.d(1),d=C(u),d&&(d.c(),d.m(b,null))),h&1&&p!==(p="InfoCardPopupWrapper "+(u[5]?"InfoCardPopupMobileWrapper":"")+" "+(u[0]?"InfoCardPopupLimitChanged":""))&&e.attr(a,"class",p)},d(u){u&&e.detach(t),d.d(),i[13](null),s=!1,x()}}}function j(i){let t,a=i[4]("defaultText")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&16&&a!==(a=n[4]("defaultText")+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function F(i){let t,a=i[4]("amountChanged",{values:{amount:i[0],currency:i[1]}})+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&19&&a!==(a=n[4]("amountChanged",{values:{amount:n[0],currency:n[1]}})+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function L(i){let t,a=i[3]&&_(i);return{c(){a&&a.c(),t=e.empty()},m(o,n){a&&a.m(o,n),e.insert(o,t,n)},p(o,[n]){o[3]?a?a.p(o,n):(a=_(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),a&&a.d(o)}}}function W(i,t,a){let o;e.component_subscribe(i,e.$format,r=>a(4,o=r));let{showpopup:n=""}=t,{iteminfoamount:l=""}=t,{lang:m="en"}=t,{currency:g="USD"}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:c=""}=t,{mbsource:v}=t;const b=()=>{fetch(c).then(w=>w.json()).then(w=>{Object.keys(w).forEach(P=>{I(P,w[P])})}).catch(w=>{console.log(w)})};Object.keys(T).forEach(r=>{I(r,T[r])});let p=!1,s,x=window.navigator.userAgent,k=e.getDevice(x)!=="PC";const C=()=>{a(3,p=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},d=r=>{r.data&&r.data.type=="ClosePlayerAccountGamingLimitsPopup"&&a(3,p=!1)},u=()=>{M(m),l<0&&a(0,l="0"),a(3,p=n)};e.onMount(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));function h(r){e.binding_callbacks[r?"unshift":"push"](()=>{s=r,a(2,s)})}return i.$$set=r=>{"showpopup"in r&&a(7,n=r.showpopup),"iteminfoamount"in r&&a(0,l=r.iteminfoamount),"lang"in r&&a(8,m=r.lang),"currency"in r&&a(1,g=r.currency),"clientstyling"in r&&a(9,f=r.clientstyling),"clientstylingurl"in r&&a(10,y=r.clientstylingurl),"translationurl"in r&&a(11,c=r.translationurl),"mbsource"in r&&a(12,v=r.mbsource)},i.$$.update=()=>{i.$$.dirty&384&&n&&m&&u(),i.$$.dirty&516&&f&&s&&e.setClientStyling(s,f),i.$$.dirty&1028&&y&&s&&e.setClientStylingURL(s,y),i.$$.dirty&4100&&v&&s&&e.setStreamStyling(s,`${v}.Style`),i.$$.dirty&2048&&c&&b()},[l,g,s,p,o,k,C,n,m,f,y,c,v,h]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,W,L,e.safe_not_equal,{showpopup:7,iteminfoamount:0,lang:8,currency:1,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},z)}get showpopup(){return this.$$.ctx[7]}set showpopup(t){this.$$set({showpopup:t}),e.flush()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$$set({iteminfoamount:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(q,{showpopup:{},iteminfoamount:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=q;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimits-DHPtMKvx.cjs");function I(i,t){e.addMessages(i,t)}function M(i){e.$locale.set(i)}const T={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},de:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",defaultText:"當您設置遊戲限制時,它從您激活它的那一刻起生效,並持續到所選時間段結束。 因此,如果您將每日限制設置為 14.00,則計算的 24 小時周期是從其激活到格林威治標準時間 00:00。 然後限制每 24 小時有效。 您可以隨時降低限制並立即生效。 但是,提高或取消限制將僅在當前限製到期時適用。"},fr:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră."},es:{name:"Info",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {amount} {currency}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",defaultText:"Kada postavite ograničenje igre"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que ultrapassar a data de expiração para que o novo limite entre em vigor:",defaultText:'Quando um limite é definido,Entra em vigor a partir do momento em que é ativado e dura até o final do período selecionado. Portanto,Se você definir o limite diário às 14h00.,"O período de 24 horas é desde o momento da ativação até. O limite será então válido por 24 dias, você pode reduzir o limite a qualquer momento com efeito imediato, no entanto",aumentar ou remover um limite não será aplicado até que o limite atual expire'},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado: {amount} {currency}. Tendrá que espirar a la fecha de expiración para que el nuevo límite entre en efecto:",defaultText:'Cuando se fija un límite,entra en efecto desde el momento que se activa y dura hasta el final del periodo seleccionado. Por lo tanto,Si fija el límite diario a las 14.00,"el periodo de 24-horas es desde el momento de la activación hasta. El límite entonces sera válido por 24 días, ustede puede reducir el límite en cualquier momento con efecto inmediato, sin embargo", aumentar o remover un límite no aplicará hasta el límite actual expire'},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",defaultText:"Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."}};function z(i){e.append_styles(i,"svelte-11p58yq",'.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}')}function _(i){let t,a,o,n,l,m,g=i[4]("name")+"",f,y,c,v,b,p,s,x;function k(u,h){return u[0]?F:j}let C=k(i),d=C(i);return{c(){t=e.element("section"),a=e.element("div"),o=e.element("div"),n=e.element("div"),n.textContent="i",l=e.space(),m=e.element("div"),f=e.text(g),y=e.space(),c=e.element("div"),c.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',v=e.space(),b=e.element("div"),d.c(),e.attr(n,"class","InfoCardPopupIcon"),e.attr(m,"class","InfoCardPopupTitle"),e.attr(c,"class","InfoCardPopupCloseButton"),e.attr(o,"class","InfoCardPopupHeader"),e.attr(b,"class","InfoCardPopupContentArea"),e.attr(a,"class",p="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),e.attr(t,"class",i[5]?"InfoCardPopupMobileModal":"")},m(u,h){e.insert(u,t,h),e.append(t,a),e.append(a,o),e.append(o,n),e.append(o,l),e.append(o,m),e.append(m,f),e.append(o,y),e.append(o,c),e.append(a,v),e.append(a,b),d.m(b,null),i[13](t),s||(x=e.listen(c,"click",e.prevent_default(i[6])),s=!0)},p(u,h){h&16&&g!==(g=u[4]("name")+"")&&e.set_data(f,g),C===(C=k(u))&&d?d.p(u,h):(d.d(1),d=C(u),d&&(d.c(),d.m(b,null))),h&1&&p!==(p="InfoCardPopupWrapper "+(u[5]?"InfoCardPopupMobileWrapper":"")+" "+(u[0]?"InfoCardPopupLimitChanged":""))&&e.attr(a,"class",p)},d(u){u&&e.detach(t),d.d(),i[13](null),s=!1,x()}}}function j(i){let t,a=i[4]("defaultText")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&16&&a!==(a=n[4]("defaultText")+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function F(i){let t,a=i[4]("amountChanged",{values:{amount:i[0],currency:i[1]}})+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&19&&a!==(a=n[4]("amountChanged",{values:{amount:n[0],currency:n[1]}})+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function L(i){let t,a=i[3]&&_(i);return{c(){a&&a.c(),t=e.empty()},m(o,n){a&&a.m(o,n),e.insert(o,t,n)},p(o,[n]){o[3]?a?a.p(o,n):(a=_(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),a&&a.d(o)}}}function W(i,t,a){let o;e.component_subscribe(i,e.$format,r=>a(4,o=r));let{showpopup:n=""}=t,{iteminfoamount:l=""}=t,{lang:m="en"}=t,{currency:g="USD"}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:c=""}=t,{mbsource:v}=t;const b=()=>{fetch(c).then(w=>w.json()).then(w=>{Object.keys(w).forEach(P=>{I(P,w[P])})}).catch(w=>{console.log(w)})};Object.keys(T).forEach(r=>{I(r,T[r])});let p=!1,s,x=window.navigator.userAgent,k=e.getDevice(x)!=="PC";const C=()=>{a(3,p=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},d=r=>{r.data&&r.data.type=="ClosePlayerAccountGamingLimitsPopup"&&a(3,p=!1)},u=()=>{M(m),l<0&&a(0,l="0"),a(3,p=n)};e.onMount(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));function h(r){e.binding_callbacks[r?"unshift":"push"](()=>{s=r,a(2,s)})}return i.$$set=r=>{"showpopup"in r&&a(7,n=r.showpopup),"iteminfoamount"in r&&a(0,l=r.iteminfoamount),"lang"in r&&a(8,m=r.lang),"currency"in r&&a(1,g=r.currency),"clientstyling"in r&&a(9,f=r.clientstyling),"clientstylingurl"in r&&a(10,y=r.clientstylingurl),"translationurl"in r&&a(11,c=r.translationurl),"mbsource"in r&&a(12,v=r.mbsource)},i.$$.update=()=>{i.$$.dirty&384&&n&&m&&u(),i.$$.dirty&516&&f&&s&&e.setClientStyling(s,f),i.$$.dirty&1028&&y&&s&&e.setClientStylingURL(s,y),i.$$.dirty&4100&&v&&s&&e.setStreamStyling(s,`${v}.Style`),i.$$.dirty&2048&&c&&b()},[l,g,s,p,o,k,C,n,m,f,y,c,v,h]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,W,L,e.safe_not_equal,{showpopup:7,iteminfoamount:0,lang:8,currency:1,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},z)}get showpopup(){return this.$$.ctx[7]}set showpopup(t){this.$$set({showpopup:t}),e.flush()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$$set({iteminfoamount:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(q,{showpopup:{},iteminfoamount:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=q;
|