@everymatrix/player-account-controller 1.46.0 → 1.47.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/{GeneralLogout-DR-XxT8N.js → GeneralLogout-DI0_2Ld2.js} +23 -23
- package/components/{PlayerAccountBettingHistory-fca6lsNS.js → PlayerAccountBettingHistory-p8-C5d_q.js} +1 -1
- package/components/{PlayerAccountBiometrics-CjiFJhw-.js → PlayerAccountBiometrics-36-jzvmv.js} +1 -1
- package/components/{PlayerAccountClosure-jv1Rveed.js → PlayerAccountClosure-Buc1jxH3.js} +1 -1
- package/components/{PlayerAccountController-DcH3apKb.js → PlayerAccountController-ByUOoFRP.js} +427 -425
- package/components/PlayerAccountController-_bwKPwDW.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-D3HbxASA.js → PlayerAccountGamingLimits-X6i1dxNz.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D0i0fMnV.js → PlayerAccountGamingLimitsConfirmationModal-_s70hpGn.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-Ds0hHVHM.js → PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-CMLSdTnW.js → PlayerAccountGamingLimitsHistory2-BkYPsgPu.js} +6 -6
- package/components/{PlayerAccountGamingLimitsInfoCard-BBL_jJC8.js → PlayerAccountGamingLimitsInfoCard-DQkGickX.js} +68 -68
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Db8AA-bx.js → PlayerAccountGamingLimitsPage2Gm16-CUVJ6oru.js} +510 -510
- package/components/{PlayerAccountGamingLimitsPage2Gm16-ChyIWofJ.cjs → PlayerAccountGamingLimitsPage2Gm16-CgSTVo78.cjs} +5 -5
- package/components/{PlayerAccountGamingLimitsPopup-B_VQVAW1.js → PlayerAccountGamingLimitsPopup-BRVwX_uG.js} +9 -9
- package/components/{PlayerAccountGamingLimitsWrapper2-BQHfy5Y8.js → PlayerAccountGamingLimitsWrapper2-CQdJbFpT.js} +30 -30
- package/components/{PlayerAccountGamingLimitsWrapper2-Da9RcHDD.cjs → PlayerAccountGamingLimitsWrapper2-CYEuoaQA.cjs} +1 -1
- package/components/{PlayerAccountMenu-Cguxd1Gn.js → PlayerAccountMenu-hM5ZxGE7.js} +19 -19
- package/components/{PlayerAccountModal-BpuFEHxz.js → PlayerAccountModal-BK_133rp.js} +25 -25
- package/components/{PlayerAccountNotifications-SC-So9Ge.js → PlayerAccountNotifications-COx0wvVZ.js} +20 -20
- package/components/{PlayerAccountSelfExclusion-BWE1SMeK.js → PlayerAccountSelfExclusion-Ct5PPXD7.js} +1 -1
- package/components/{PlayerAccountTimeout-CMxX7J1C.js → PlayerAccountTimeout-DMvUsWoq.js} +29 -29
- package/components/{PlayerActiveBonuses-CQtGUqTk.js → PlayerActiveBonuses-CIvyQppa.js} +65 -65
- package/components/{PlayerBonusCard-CQTRKi8G.js → PlayerBonusCard-DGoTFlMq.js} +2 -2
- package/components/{PlayerBonusHistory-BQgWbJ_2.js → PlayerBonusHistory-CWw3cxZf.js} +45 -45
- package/components/{PlayerChangePassword-B9qM0mFd.js → PlayerChangePassword-BkRFX3fB.js} +30 -30
- package/components/{PlayerDeposit-Dvm1Z2l9.js → PlayerDeposit-T-QxU0tF.js} +16 -16
- package/components/{PlayerGamingHistory-gYZx3djE.js → PlayerGamingHistory-C3Cy2xUB.js} +36 -36
- package/components/{PlayerPendingWithdrawals-DgF86kij.js → PlayerPendingWithdrawals-DR9D_EFU.js} +10 -10
- package/components/{PlayerProfileInfo-CcE2OTIa.js → PlayerProfileInfo-DBUA-zCn.js} +26 -26
- package/components/{PlayerRealityCheck-gh3vV1ow.js → PlayerRealityCheck-CRHHpeWT.js} +19 -19
- package/components/{PlayerTransactionHistory-DpPF3FQq.js → PlayerTransactionHistory-HQMXVkZj.js} +10 -10
- package/components/{PlayerWithdrawal-BHyCdUgc.js → PlayerWithdrawal-BToCctRz.js} +14 -14
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountController-YWVJPVwG.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as X, z as he, a as be, S as ye, i as _e, f as y, c as pe, s as we, b as Le, e as v, d as
|
|
1
|
+
import { $ as X, z as he, a as be, S as ye, i as _e, f as y, c as pe, s as we, b as Le, e as v, d as D, t as z, g as h, l as _, k as T, n as U, o as S, p as k, q as ve, u as ke, v as Me, V as Te, w as G, m as ne, x as I, K as B, B as Ee, L as le, j as r, y as Ce } from "./GeneralLogout-DI0_2Ld2.js";
|
|
2
2
|
function Ae({ withLocale: i, translations: e }) {
|
|
3
3
|
X.subscribe((t) => {
|
|
4
4
|
t == null && (he.set(e), X.set(i));
|
|
@@ -51,7 +51,7 @@ if (typeof window != "undefined") {
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-
|
|
54
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-CUVJ6oru.js").then(({ default: e }) => {
|
|
55
55
|
!customElements.get("player-account-gaming-limits-page-2-gm16") && customElements.define(
|
|
56
56
|
"player-account-gaming-limits-page-2-gm16",
|
|
57
57
|
e.element
|
|
@@ -70,15 +70,15 @@ if (typeof window != "undefined") {
|
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-
|
|
73
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-BkYPsgPu.js").then(({ default: e }) => {
|
|
74
74
|
!customElements.get("player-account-gaming-limits-history-2") && customElements.define(
|
|
75
75
|
"player-account-gaming-limits-history-2",
|
|
76
76
|
e.element
|
|
77
77
|
);
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
const { document:
|
|
81
|
-
function
|
|
80
|
+
const { document: Se } = Te;
|
|
81
|
+
function De(i) {
|
|
82
82
|
Le(i, "svelte-1l04dxf", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B);justify-content:center;background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));margin:0}');
|
|
83
83
|
}
|
|
84
84
|
function x(i, e, t) {
|
|
@@ -96,7 +96,7 @@ function We(i) {
|
|
|
96
96
|
), L, M, b;
|
|
97
97
|
return {
|
|
98
98
|
c() {
|
|
99
|
-
e = v("div"), t = G("svg"), n = G("defs"), l = G("style"), a = z(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"), m = G("g"), c = G("g"), u = G("path"), o =
|
|
99
|
+
e = v("div"), t = G("svg"), n = G("defs"), l = G("style"), a = z(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"), m = G("g"), c = G("g"), u = G("path"), o = D(), g = v("h2"), L = z(f), h(u, "class", "aaa"), h(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), h(u, "transform", "translate(15 15) rotate(180)"), h(c, "transform", "translate(20 158)"), h(m, "transform", "translate(-20 -158)"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "15"), h(t, "height", "15"), h(t, "viewBox", "0 0 15 15"), h(g, "class", "GamingLimitsTitleMobile"), h(e, "class", "MenuReturnButton"), h(e, "part", "MenuReturnButton");
|
|
100
100
|
},
|
|
101
101
|
m(d, w) {
|
|
102
102
|
T(d, e, w), _(e, t), _(t, n), _(n, l), _(l, a), _(t, m), _(m, c), _(c, u), _(e, o), _(e, g), _(g, L), M || (b = ne(
|
|
@@ -132,10 +132,10 @@ function Re(i) {
|
|
|
132
132
|
);
|
|
133
133
|
return {
|
|
134
134
|
c() {
|
|
135
|
-
a && a.c(), e =
|
|
135
|
+
a && a.c(), e = D(), t = v("div");
|
|
136
136
|
for (let o = 0; o < c.length; o += 1)
|
|
137
137
|
c[o].c();
|
|
138
|
-
n =
|
|
138
|
+
n = D(), u && u.c(), l = Ee(), h(t, "class", "PlayerAccountGamingLmitsWrapper2");
|
|
139
139
|
},
|
|
140
140
|
m(o, g) {
|
|
141
141
|
a && a.m(o, g), T(o, e, g), T(o, t, g);
|
|
@@ -171,7 +171,7 @@ function Re(i) {
|
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
function je(i) {
|
|
174
|
-
return { c:
|
|
174
|
+
return { c: S, m: S, p: S, d: S };
|
|
175
175
|
}
|
|
176
176
|
function ze(i) {
|
|
177
177
|
let e, t = B(
|
|
@@ -587,12 +587,12 @@ function Be(i) {
|
|
|
587
587
|
let M = L(i), b = M(i);
|
|
588
588
|
return {
|
|
589
589
|
c() {
|
|
590
|
-
e = v("meta"), t =
|
|
590
|
+
e = v("meta"), t = D(), n = v("div"), l = v("div"), a = v("div"), f && f.c(), m = D(), c = v("h2"), o = z(u), g = D(), b.c(), h(e, "name", "viewport"), h(e, "content", "width=device-width, initial-scale=1"), h(c, "class", "GamingLimitsTitle " + /*isMobile*/
|
|
591
591
|
(i[24] ? "GamingLimitsTitleNone" : "")), h(a, "class", "TitleSection"), h(l, "class", "GamingLimitsWrapper " + /*isMobile*/
|
|
592
592
|
(i[24] ? "GamingLimitsWrapperMobile" : ""));
|
|
593
593
|
},
|
|
594
594
|
m(d, w) {
|
|
595
|
-
_(
|
|
595
|
+
_(Se.head, e), T(d, t, w), T(d, n, w), _(n, l), _(l, a), f && f.m(a, null), _(a, m), _(a, c), _(c, o), _(l, g), b.m(l, null), i[34](n);
|
|
596
596
|
},
|
|
597
597
|
p(d, w) {
|
|
598
598
|
/*isMobile*/
|
|
@@ -600,8 +600,8 @@ function Be(i) {
|
|
|
600
600
|
4194304 && u !== (u = /*$_*/
|
|
601
601
|
d[22]("title") + "") && U(o, u), M === (M = L(d)) && b ? b.p(d, w) : (b.d(1), b = M(d), b && (b.c(), b.m(l, null)));
|
|
602
602
|
},
|
|
603
|
-
i:
|
|
604
|
-
o:
|
|
603
|
+
i: S,
|
|
604
|
+
o: S,
|
|
605
605
|
d(d) {
|
|
606
606
|
d && (k(t), k(n)), k(e), f && f.d(), b.d(), i[34](null);
|
|
607
607
|
}
|
|
@@ -610,21 +610,21 @@ function Be(i) {
|
|
|
610
610
|
function Fe(i, e, t) {
|
|
611
611
|
let n;
|
|
612
612
|
ve(i, Ce, (s) => t(22, n = s));
|
|
613
|
-
let { lang: l = "" } = e, { userid: a = "" } = e, { session: m = "" } = e, { endpoint: c = "" } = e, { currency: u = "" } = e, { apiversion: o = "" } = e, { tablabels: g = "" } = e, { historyenabled: f = "true" } = e, { enablecompliancetext: L = "false" } = e, { deletelimit: M = "" } = e, { limitsamount: b = "" } = e, { limitsperiods: d = "" } = e, { numberofentries: w = "" } = e, { customcurrencysymbols: q = "" } = e, { limitformat: V = "" } = e, { clientstyling: W = "" } = e, { clientstylingurl: R = "" } = e, { translationurl:
|
|
613
|
+
let { lang: l = "" } = e, { userid: a = "" } = e, { session: m = "" } = e, { endpoint: c = "" } = e, { currency: u = "" } = e, { apiversion: o = "" } = e, { tablabels: g = "" } = e, { historyenabled: f = "true" } = e, { enablecompliancetext: L = "false" } = e, { deletelimit: M = "" } = e, { limitsamount: b = "" } = e, { limitsperiods: d = "" } = e, { numberofentries: w = "" } = e, { customcurrencysymbols: q = "" } = e, { limitformat: V = "" } = e, { clientstyling: W = "" } = e, { clientstylingurl: R = "" } = e, { translationurl: K = "" } = e;
|
|
614
614
|
Ae({ withLocale: "en", translations: {} });
|
|
615
|
-
let F = !0, A,
|
|
615
|
+
let F = !0, A, P = [], Z, C, E, j, N, se = window.navigator.userAgent, J = ke(se) !== "PC";
|
|
616
616
|
Object.keys(Y).forEach((s) => {
|
|
617
617
|
Ge(s, Y[s]);
|
|
618
618
|
});
|
|
619
619
|
const re = (s, p) => {
|
|
620
|
-
if (t(20, j = s.replace(/\s/g, "").split("|")), t(21,
|
|
620
|
+
if (t(20, j = s.replace(/\s/g, "").split("|")), t(21, N = p.replace(/\s/g, "").split("|")), j.length === 0)
|
|
621
621
|
throw new Error("Please provide a full limits configuration.");
|
|
622
|
-
if (j.length !==
|
|
622
|
+
if (j.length !== N.length)
|
|
623
623
|
throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
|
|
624
624
|
}, ae = () => {
|
|
625
625
|
re(b, d), b.split("|").forEach((p) => {
|
|
626
|
-
|
|
627
|
-
}), t(18,
|
|
626
|
+
P.includes(p) || P.push(p);
|
|
627
|
+
}), t(18, Z = g.split(",").map((p) => p.trim())), t(15, F = !1);
|
|
628
628
|
}, H = (s) => {
|
|
629
629
|
if (C.children.length > 0)
|
|
630
630
|
for (let p = 0; p < C.children.length; p++)
|
|
@@ -633,7 +633,7 @@ function Fe(i, e, t) {
|
|
|
633
633
|
window.postMessage(
|
|
634
634
|
{
|
|
635
635
|
type: "PlayerAccountMenuActive",
|
|
636
|
-
isMobile:
|
|
636
|
+
isMobile: J
|
|
637
637
|
},
|
|
638
638
|
window.location.href
|
|
639
639
|
);
|
|
@@ -671,7 +671,7 @@ function Fe(i, e, t) {
|
|
|
671
671
|
});
|
|
672
672
|
}
|
|
673
673
|
return i.$$set = (s) => {
|
|
674
|
-
"lang" in s && t(0, l = s.lang), "userid" in s && t(1, a = s.userid), "session" in s && t(2, m = s.session), "endpoint" in s && t(3, c = s.endpoint), "currency" in s && t(4, u = s.currency), "apiversion" in s && t(5, o = s.apiversion), "tablabels" in s && t(27, g = s.tablabels), "historyenabled" in s && t(6, f = s.historyenabled), "enablecompliancetext" in s && t(7, L = s.enablecompliancetext), "deletelimit" in s && t(8, M = s.deletelimit), "limitsamount" in s && t(28, b = s.limitsamount), "limitsperiods" in s && t(29, d = s.limitsperiods), "numberofentries" in s && t(9, w = s.numberofentries), "customcurrencysymbols" in s && t(10, q = s.customcurrencysymbols), "limitformat" in s && t(11, V = s.limitformat), "clientstyling" in s && t(12, W = s.clientstyling), "clientstylingurl" in s && t(13, R = s.clientstylingurl), "translationurl" in s && t(14,
|
|
674
|
+
"lang" in s && t(0, l = s.lang), "userid" in s && t(1, a = s.userid), "session" in s && t(2, m = s.session), "endpoint" in s && t(3, c = s.endpoint), "currency" in s && t(4, u = s.currency), "apiversion" in s && t(5, o = s.apiversion), "tablabels" in s && t(27, g = s.tablabels), "historyenabled" in s && t(6, f = s.historyenabled), "enablecompliancetext" in s && t(7, L = s.enablecompliancetext), "deletelimit" in s && t(8, M = s.deletelimit), "limitsamount" in s && t(28, b = s.limitsamount), "limitsperiods" in s && t(29, d = s.limitsperiods), "numberofentries" in s && t(9, w = s.numberofentries), "customcurrencysymbols" in s && t(10, q = s.customcurrencysymbols), "limitformat" in s && t(11, V = s.limitformat), "clientstyling" in s && t(12, W = s.clientstyling), "clientstylingurl" in s && t(13, R = s.clientstylingurl), "translationurl" in s && t(14, K = s.translationurl);
|
|
675
675
|
}, i.$$.update = () => {
|
|
676
676
|
i.$$.dirty[0] & /*userid, session, endpoint, tablabels, lang, apiversion*/
|
|
677
677
|
134217775 && a && m && c && g && l && o && ae(), i.$$.dirty[0] & /*mainContainer, isLoading*/
|
|
@@ -693,17 +693,17 @@ function Fe(i, e, t) {
|
|
|
693
693
|
V,
|
|
694
694
|
W,
|
|
695
695
|
R,
|
|
696
|
-
|
|
696
|
+
K,
|
|
697
697
|
F,
|
|
698
698
|
A,
|
|
699
699
|
C,
|
|
700
|
-
|
|
700
|
+
Z,
|
|
701
701
|
E,
|
|
702
702
|
j,
|
|
703
|
-
P,
|
|
704
|
-
n,
|
|
705
703
|
N,
|
|
706
|
-
|
|
704
|
+
n,
|
|
705
|
+
P,
|
|
706
|
+
J,
|
|
707
707
|
H,
|
|
708
708
|
Q,
|
|
709
709
|
g,
|
|
@@ -716,7 +716,7 @@ function Fe(i, e, t) {
|
|
|
716
716
|
de
|
|
717
717
|
];
|
|
718
718
|
}
|
|
719
|
-
class
|
|
719
|
+
class Pe extends ye {
|
|
720
720
|
constructor(e) {
|
|
721
721
|
super(), _e(
|
|
722
722
|
this,
|
|
@@ -744,7 +744,7 @@ class Ne extends ye {
|
|
|
744
744
|
clientstylingurl: 13,
|
|
745
745
|
translationurl: 14
|
|
746
746
|
},
|
|
747
|
-
|
|
747
|
+
De,
|
|
748
748
|
[-1, -1]
|
|
749
749
|
);
|
|
750
750
|
}
|
|
@@ -857,7 +857,7 @@ class Ne extends ye {
|
|
|
857
857
|
this.$$set({ translationurl: e }), y();
|
|
858
858
|
}
|
|
859
859
|
}
|
|
860
|
-
pe(
|
|
860
|
+
pe(Pe, { lang: {}, userid: {}, session: {}, endpoint: {}, currency: {}, apiversion: {}, tablabels: {}, historyenabled: {}, enablecompliancetext: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
861
861
|
export {
|
|
862
|
-
|
|
862
|
+
Pe as default
|
|
863
863
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-bc8vhI_H.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function te(i,t){e.addMessages(i,t)}const z={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16-ChyIWofJ.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",t.element)})}const{document:ne}=e.globals;function ie(i){e.append_styles(i,"svelte-1l04dxf",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B);justify-content:center;background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));margin:0}')}function B(i,t,n){const l=i.slice();return l[41]=t[n],l[43]=n,l}function N(i,t,n){const l=i.slice();return l[44]=t[n],l[43]=n,l}function le(i){let t,n,l,s,r,m,c,u,o,f,_=i[22]("title")+"",b,y,g;return{c(){t=e.element("div"),n=e.svg_element("svg"),l=e.svg_element("defs"),s=e.svg_element("style"),r=e.text(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"),m=e.svg_element("g"),c=e.svg_element("g"),u=e.svg_element("path"),o=e.space(),f=e.element("h2"),b=e.text(_),e.attr(u,"class","aaa"),e.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(u,"transform","translate(15 15) rotate(180)"),e.attr(c,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(d,p){e.insert(d,t,p),e.append(t,n),e.append(n,l),e.append(l,s),e.append(s,r),e.append(n,m),e.append(m,c),e.append(c,u),e.append(t,o),e.append(t,f),e.append(f,b),y||(g=e.listen(t,"click",i[30]),y=!0)},p(d,p){p[0]&4194304&&_!==(_=d[22]("title")+"")&&e.set_data(b,_)},d(d){d&&e.detach(t),y=!1,g()}}}function se(i){let t,n,l,s,r=i[23].length>1&&re(i),m=e.ensure_array_like(i[23]),c=[];for(let o=0;o<m.length;o+=1)c[o]=H(B(i,m,o));let u=i[6]==="true"&&q(i);return{c(){r&&r.c(),t=e.space(),n=e.element("div");for(let o=0;o<c.length;o+=1)c[o].c();l=e.space(),u&&u.c(),s=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(o,f){r&&r.m(o,f),e.insert(o,t,f),e.insert(o,n,f);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(n,null);i[33](n),e.insert(o,l,f),u&&u.m(o,f),e.insert(o,s,f)},p(o,f){if(o[23].length>1&&r.p(o,f),f[0]&3177919){m=e.ensure_array_like(o[23]);let _;for(_=0;_<m.length;_+=1){const b=B(o,m,_);c[_]?c[_].p(b,f):(c[_]=H(b),c[_].c(),c[_].m(n,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=m.length}o[6]==="true"?u?u.p(o,f):(u=q(o),u.c(),u.m(s.parentNode,s)):u&&(u.d(1),u=null)},d(o){o&&(e.detach(t),e.detach(n),e.detach(l),e.detach(s)),r&&r.d(o),e.destroy_each(c,o),i[33](null),u&&u.d(o)}}}function ae(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function re(i){let t,n=e.ensure_array_like(i[23]),l=[];for(let s=0;s<n.length;s+=1)l[s]=O(N(i,n,s));return{c(){t=e.element("div");for(let s=0;s<l.length;s+=1)l[s].c();e.attr(t,"class","TabsContainer")},m(s,r){e.insert(s,t,r);for(let m=0;m<l.length;m+=1)l[m]&&l[m].m(t,null);i[32](t)},p(s,r){if(r[0]&42205184){n=e.ensure_array_like(s[23]);let m;for(m=0;m<n.length;m+=1){const c=N(s,n,m);l[m]?l[m].p(c,r):(l[m]=O(c),l[m].c(),l[m].m(t,null))}for(;m<l.length;m+=1)l[m].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s),i[32](null)}}}function O(i){var c;let t,n=((c=i[18][i[43]])!=null?c:i[44])+"",l,s,r;function m(){return i[31](i[43])}return{c(){t=e.element("div"),l=e.text(n),e.attr(t,"class","LimitsTab")},m(u,o){e.insert(u,t,o),e.append(t,l),s||(r=e.listen(t,"click",m),s=!0)},p(u,o){var f;i=u,o[0]&262144&&n!==(n=((f=i[18][i[43]])!=null?f:i[44])+"")&&e.set_data(l,n)},d(u){u&&e.detach(t),s=!1,r()}}}function H(i){let t,n,l;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"currency",i[4]),e.set_custom_element_data(t,"amountsconfig",n=i[20][i[43]]),e.set_custom_element_data(t,"periodsconfig",l=i[21][i[43]]),e.set_custom_element_data(t,"limittabindex",i[43]+1),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"deletelimit",i[8]),e.set_custom_element_data(t,"enablecompliancetext",i[7]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(s,r){e.insert(s,t,r)},p(s,r){r[0]&1&&e.set_custom_element_data(t,"lang",s[0]),r[0]&16&&e.set_custom_element_data(t,"currency",s[4]),r[0]&1048576&&n!==(n=s[20][s[43]])&&e.set_custom_element_data(t,"amountsconfig",n),r[0]&2097152&&l!==(l=s[21][s[43]])&&e.set_custom_element_data(t,"periodsconfig",l),r[0]&2&&e.set_custom_element_data(t,"userid",s[1]),r[0]&256&&e.set_custom_element_data(t,"deletelimit",s[8]),r[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",s[7]),r[0]&4&&e.set_custom_element_data(t,"session",s[2]),r[0]&8&&e.set_custom_element_data(t,"endpoint",s[3]),r[0]&32&&e.set_custom_element_data(t,"apiversion",s[5]),r[0]&4096&&e.set_custom_element_data(t,"clientstyling",s[12]),r[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",s[13]),r[0]&16384&&e.set_custom_element_data(t,"translationurl",s[14]),r[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",s[10]),r[0]&2048&&e.set_custom_element_data(t,"limitformat",s[11])},d(s){s&&e.detach(t)}}}function q(i){let t;return{c(){t=e.element("player-account-gaming-limits-history-2"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"numberofentries",i[9]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10])},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&1&&e.set_custom_element_data(t,"lang",n[0]),l[0]&2&&e.set_custom_element_data(t,"userid",n[1]),l[0]&4&&e.set_custom_element_data(t,"session",n[2]),l[0]&8&&e.set_custom_element_data(t,"endpoint",n[3]),l[0]&32&&e.set_custom_element_data(t,"apiversion",n[5]),l[0]&512&&e.set_custom_element_data(t,"numberofentries",n[9]),l[0]&4096&&e.set_custom_element_data(t,"clientstyling",n[12]),l[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",n[13]),l[0]&16384&&e.set_custom_element_data(t,"translationurl",n[14]),l[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",n[10])},d(n){n&&e.detach(t)}}}function oe(i){let t,n,l,s,r,m,c,u=i[22]("title")+"",o,f,_=i[24]&&le(i);function b(d,p){return d[15]?ae:se}let y=b(i),g=y(i);return{c(){t=e.element("meta"),n=e.space(),l=e.element("div"),s=e.element("div"),r=e.element("div"),_&&_.c(),m=e.space(),c=e.element("h2"),o=e.text(u),f=e.space(),g.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(c,"class","GamingLimitsTitle "+(i[24]?"GamingLimitsTitleNone":"")),e.attr(r,"class","TitleSection"),e.attr(s,"class","GamingLimitsWrapper "+(i[24]?"GamingLimitsWrapperMobile":""))},m(d,p){e.append(ne.head,t),e.insert(d,n,p),e.insert(d,l,p),e.append(l,s),e.append(s,r),_&&_.m(r,null),e.append(r,m),e.append(r,c),e.append(c,o),e.append(s,f),g.m(s,null),i[34](l)},p(d,p){d[24]&&_.p(d,p),p[0]&4194304&&u!==(u=d[22]("title")+"")&&e.set_data(o,u),y===(y=b(d))&&g?g.p(d,p):(g.d(1),g=y(d),g&&(g.c(),g.m(s,null)))},i:e.noop,o:e.noop,d(d){d&&(e.detach(n),e.detach(l)),e.detach(t),_&&_.d(),g.d(),i[34](null)}}}function me(i,t,n){let l;e.component_subscribe(i,e.$format,a=>n(22,l=a));let{lang:s=""}=t,{userid:r=""}=t,{session:m=""}=t,{endpoint:c=""}=t,{currency:u=""}=t,{apiversion:o=""}=t,{tablabels:f=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:y=""}=t,{limitsamount:g=""}=t,{limitsperiods:d=""}=t,{numberofentries:p=""}=t,{customcurrencysymbols:D=""}=t,{limitformat:P=""}=t,{clientstyling:k=""}=t,{clientstylingurl:M=""}=t,{translationurl:W=""}=t;ee({withLocale:"en",translations:{}});let E=!0,L,C=[],R,v,w,T,G,U=window.navigator.userAgent,j=e.getDevice(U)!=="PC";Object.keys(z).forEach(a=>{te(a,z[a])});const V=(a,h)=>{if(n(20,T=a.replace(/\s/g,"").split("|")),n(21,G=h.replace(/\s/g,"").split("|")),T.length===0)throw new Error("Please provide a full limits configuration.");if(T.length!==G.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Z=()=>{V(g,d),g.split("|").forEach(h=>{C.includes(h)||C.push(h)}),n(18,R=f.split(",").map(h=>h.trim())),n(15,E=!1)},A=a=>{if(v.children.length>0)for(let h=0;h<v.children.length;h++)a===h?(v.children[h].classList.remove("hidden"),w==null||w.children[h].classList.add("selected")):(v.children[h].classList.add("hidden"),w==null||w.children[h].classList.remove("selected"))},F=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:j},window.location.href)},J=()=>{let a=document.createElement("style");a.innerHTML=k,L.appendChild(a)},K=()=>{let a=new URL(M),h=document.createElement("style");fetch(a.href).then(S=>S.text()).then(S=>{h.innerHTML=S,setTimeout(()=>{L.appendChild(h)},1)})};e.onMount(()=>()=>{n(17,v=null),n(19,w=null)});const Q=()=>F(),X=a=>A(a);function Y(a){e.binding_callbacks[a?"unshift":"push"](()=>{w=a,n(19,w)})}function x(a){e.binding_callbacks[a?"unshift":"push"](()=>{v=a,n(17,v)})}function $(a){e.binding_callbacks[a?"unshift":"push"](()=>{L=a,n(16,L)})}return i.$$set=a=>{"lang"in a&&n(0,s=a.lang),"userid"in a&&n(1,r=a.userid),"session"in a&&n(2,m=a.session),"endpoint"in a&&n(3,c=a.endpoint),"currency"in a&&n(4,u=a.currency),"apiversion"in a&&n(5,o=a.apiversion),"tablabels"in a&&n(27,f=a.tablabels),"historyenabled"in a&&n(6,_=a.historyenabled),"enablecompliancetext"in a&&n(7,b=a.enablecompliancetext),"deletelimit"in a&&n(8,y=a.deletelimit),"limitsamount"in a&&n(28,g=a.limitsamount),"limitsperiods"in a&&n(29,d=a.limitsperiods),"numberofentries"in a&&n(9,p=a.numberofentries),"customcurrencysymbols"in a&&n(10,D=a.customcurrencysymbols),"limitformat"in a&&n(11,P=a.limitformat),"clientstyling"in a&&n(12,k=a.clientstyling),"clientstylingurl"in a&&n(13,M=a.clientstylingurl),"translationurl"in a&&n(14,W=a.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&134217775&&r&&m&&c&&f&&s&&o&&Z(),i.$$.dirty[0]&163840&&v&&!E&&A(0),i.$$.dirty[0]&73728&&M&&L&&K(),i.$$.dirty[0]&69632&&k&&L&&J()},[s,r,m,c,u,o,_,b,y,p,D,P,k,M,W,E,L,v,R,w,T,G,l,C,j,A,F,f,g,d,Q,X,Y,x,$]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,oe,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:27,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:28,limitsperiods:29,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14},ie,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[27]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[28]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[29]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(I,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=I;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-bc8vhI_H.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function te(i,t){e.addMessages(i,t)}const z={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16-CgSTVo78.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",t.element)})}const{document:ne}=e.globals;function ie(i){e.append_styles(i,"svelte-1l04dxf",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B);justify-content:center;background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));margin:0}')}function B(i,t,n){const l=i.slice();return l[41]=t[n],l[43]=n,l}function N(i,t,n){const l=i.slice();return l[44]=t[n],l[43]=n,l}function le(i){let t,n,l,s,r,m,c,u,o,f,_=i[22]("title")+"",b,y,g;return{c(){t=e.element("div"),n=e.svg_element("svg"),l=e.svg_element("defs"),s=e.svg_element("style"),r=e.text(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"),m=e.svg_element("g"),c=e.svg_element("g"),u=e.svg_element("path"),o=e.space(),f=e.element("h2"),b=e.text(_),e.attr(u,"class","aaa"),e.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(u,"transform","translate(15 15) rotate(180)"),e.attr(c,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(d,p){e.insert(d,t,p),e.append(t,n),e.append(n,l),e.append(l,s),e.append(s,r),e.append(n,m),e.append(m,c),e.append(c,u),e.append(t,o),e.append(t,f),e.append(f,b),y||(g=e.listen(t,"click",i[30]),y=!0)},p(d,p){p[0]&4194304&&_!==(_=d[22]("title")+"")&&e.set_data(b,_)},d(d){d&&e.detach(t),y=!1,g()}}}function se(i){let t,n,l,s,r=i[23].length>1&&re(i),m=e.ensure_array_like(i[23]),c=[];for(let o=0;o<m.length;o+=1)c[o]=H(B(i,m,o));let u=i[6]==="true"&&q(i);return{c(){r&&r.c(),t=e.space(),n=e.element("div");for(let o=0;o<c.length;o+=1)c[o].c();l=e.space(),u&&u.c(),s=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(o,f){r&&r.m(o,f),e.insert(o,t,f),e.insert(o,n,f);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(n,null);i[33](n),e.insert(o,l,f),u&&u.m(o,f),e.insert(o,s,f)},p(o,f){if(o[23].length>1&&r.p(o,f),f[0]&3177919){m=e.ensure_array_like(o[23]);let _;for(_=0;_<m.length;_+=1){const b=B(o,m,_);c[_]?c[_].p(b,f):(c[_]=H(b),c[_].c(),c[_].m(n,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=m.length}o[6]==="true"?u?u.p(o,f):(u=q(o),u.c(),u.m(s.parentNode,s)):u&&(u.d(1),u=null)},d(o){o&&(e.detach(t),e.detach(n),e.detach(l),e.detach(s)),r&&r.d(o),e.destroy_each(c,o),i[33](null),u&&u.d(o)}}}function ae(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function re(i){let t,n=e.ensure_array_like(i[23]),l=[];for(let s=0;s<n.length;s+=1)l[s]=O(N(i,n,s));return{c(){t=e.element("div");for(let s=0;s<l.length;s+=1)l[s].c();e.attr(t,"class","TabsContainer")},m(s,r){e.insert(s,t,r);for(let m=0;m<l.length;m+=1)l[m]&&l[m].m(t,null);i[32](t)},p(s,r){if(r[0]&42205184){n=e.ensure_array_like(s[23]);let m;for(m=0;m<n.length;m+=1){const c=N(s,n,m);l[m]?l[m].p(c,r):(l[m]=O(c),l[m].c(),l[m].m(t,null))}for(;m<l.length;m+=1)l[m].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s),i[32](null)}}}function O(i){var c;let t,n=((c=i[18][i[43]])!=null?c:i[44])+"",l,s,r;function m(){return i[31](i[43])}return{c(){t=e.element("div"),l=e.text(n),e.attr(t,"class","LimitsTab")},m(u,o){e.insert(u,t,o),e.append(t,l),s||(r=e.listen(t,"click",m),s=!0)},p(u,o){var f;i=u,o[0]&262144&&n!==(n=((f=i[18][i[43]])!=null?f:i[44])+"")&&e.set_data(l,n)},d(u){u&&e.detach(t),s=!1,r()}}}function H(i){let t,n,l;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"currency",i[4]),e.set_custom_element_data(t,"amountsconfig",n=i[20][i[43]]),e.set_custom_element_data(t,"periodsconfig",l=i[21][i[43]]),e.set_custom_element_data(t,"limittabindex",i[43]+1),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"deletelimit",i[8]),e.set_custom_element_data(t,"enablecompliancetext",i[7]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(s,r){e.insert(s,t,r)},p(s,r){r[0]&1&&e.set_custom_element_data(t,"lang",s[0]),r[0]&16&&e.set_custom_element_data(t,"currency",s[4]),r[0]&1048576&&n!==(n=s[20][s[43]])&&e.set_custom_element_data(t,"amountsconfig",n),r[0]&2097152&&l!==(l=s[21][s[43]])&&e.set_custom_element_data(t,"periodsconfig",l),r[0]&2&&e.set_custom_element_data(t,"userid",s[1]),r[0]&256&&e.set_custom_element_data(t,"deletelimit",s[8]),r[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",s[7]),r[0]&4&&e.set_custom_element_data(t,"session",s[2]),r[0]&8&&e.set_custom_element_data(t,"endpoint",s[3]),r[0]&32&&e.set_custom_element_data(t,"apiversion",s[5]),r[0]&4096&&e.set_custom_element_data(t,"clientstyling",s[12]),r[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",s[13]),r[0]&16384&&e.set_custom_element_data(t,"translationurl",s[14]),r[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",s[10]),r[0]&2048&&e.set_custom_element_data(t,"limitformat",s[11])},d(s){s&&e.detach(t)}}}function q(i){let t;return{c(){t=e.element("player-account-gaming-limits-history-2"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"numberofentries",i[9]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10])},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&1&&e.set_custom_element_data(t,"lang",n[0]),l[0]&2&&e.set_custom_element_data(t,"userid",n[1]),l[0]&4&&e.set_custom_element_data(t,"session",n[2]),l[0]&8&&e.set_custom_element_data(t,"endpoint",n[3]),l[0]&32&&e.set_custom_element_data(t,"apiversion",n[5]),l[0]&512&&e.set_custom_element_data(t,"numberofentries",n[9]),l[0]&4096&&e.set_custom_element_data(t,"clientstyling",n[12]),l[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",n[13]),l[0]&16384&&e.set_custom_element_data(t,"translationurl",n[14]),l[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",n[10])},d(n){n&&e.detach(t)}}}function oe(i){let t,n,l,s,r,m,c,u=i[22]("title")+"",o,f,_=i[24]&&le(i);function b(d,p){return d[15]?ae:se}let y=b(i),g=y(i);return{c(){t=e.element("meta"),n=e.space(),l=e.element("div"),s=e.element("div"),r=e.element("div"),_&&_.c(),m=e.space(),c=e.element("h2"),o=e.text(u),f=e.space(),g.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(c,"class","GamingLimitsTitle "+(i[24]?"GamingLimitsTitleNone":"")),e.attr(r,"class","TitleSection"),e.attr(s,"class","GamingLimitsWrapper "+(i[24]?"GamingLimitsWrapperMobile":""))},m(d,p){e.append(ne.head,t),e.insert(d,n,p),e.insert(d,l,p),e.append(l,s),e.append(s,r),_&&_.m(r,null),e.append(r,m),e.append(r,c),e.append(c,o),e.append(s,f),g.m(s,null),i[34](l)},p(d,p){d[24]&&_.p(d,p),p[0]&4194304&&u!==(u=d[22]("title")+"")&&e.set_data(o,u),y===(y=b(d))&&g?g.p(d,p):(g.d(1),g=y(d),g&&(g.c(),g.m(s,null)))},i:e.noop,o:e.noop,d(d){d&&(e.detach(n),e.detach(l)),e.detach(t),_&&_.d(),g.d(),i[34](null)}}}function me(i,t,n){let l;e.component_subscribe(i,e.$format,a=>n(22,l=a));let{lang:s=""}=t,{userid:r=""}=t,{session:m=""}=t,{endpoint:c=""}=t,{currency:u=""}=t,{apiversion:o=""}=t,{tablabels:f=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:y=""}=t,{limitsamount:g=""}=t,{limitsperiods:d=""}=t,{numberofentries:p=""}=t,{customcurrencysymbols:D=""}=t,{limitformat:P=""}=t,{clientstyling:k=""}=t,{clientstylingurl:M=""}=t,{translationurl:W=""}=t;ee({withLocale:"en",translations:{}});let E=!0,L,C=[],R,v,w,T,G,U=window.navigator.userAgent,j=e.getDevice(U)!=="PC";Object.keys(z).forEach(a=>{te(a,z[a])});const V=(a,h)=>{if(n(20,T=a.replace(/\s/g,"").split("|")),n(21,G=h.replace(/\s/g,"").split("|")),T.length===0)throw new Error("Please provide a full limits configuration.");if(T.length!==G.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Z=()=>{V(g,d),g.split("|").forEach(h=>{C.includes(h)||C.push(h)}),n(18,R=f.split(",").map(h=>h.trim())),n(15,E=!1)},A=a=>{if(v.children.length>0)for(let h=0;h<v.children.length;h++)a===h?(v.children[h].classList.remove("hidden"),w==null||w.children[h].classList.add("selected")):(v.children[h].classList.add("hidden"),w==null||w.children[h].classList.remove("selected"))},F=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:j},window.location.href)},J=()=>{let a=document.createElement("style");a.innerHTML=k,L.appendChild(a)},K=()=>{let a=new URL(M),h=document.createElement("style");fetch(a.href).then(S=>S.text()).then(S=>{h.innerHTML=S,setTimeout(()=>{L.appendChild(h)},1)})};e.onMount(()=>()=>{n(17,v=null),n(19,w=null)});const Q=()=>F(),X=a=>A(a);function Y(a){e.binding_callbacks[a?"unshift":"push"](()=>{w=a,n(19,w)})}function x(a){e.binding_callbacks[a?"unshift":"push"](()=>{v=a,n(17,v)})}function $(a){e.binding_callbacks[a?"unshift":"push"](()=>{L=a,n(16,L)})}return i.$$set=a=>{"lang"in a&&n(0,s=a.lang),"userid"in a&&n(1,r=a.userid),"session"in a&&n(2,m=a.session),"endpoint"in a&&n(3,c=a.endpoint),"currency"in a&&n(4,u=a.currency),"apiversion"in a&&n(5,o=a.apiversion),"tablabels"in a&&n(27,f=a.tablabels),"historyenabled"in a&&n(6,_=a.historyenabled),"enablecompliancetext"in a&&n(7,b=a.enablecompliancetext),"deletelimit"in a&&n(8,y=a.deletelimit),"limitsamount"in a&&n(28,g=a.limitsamount),"limitsperiods"in a&&n(29,d=a.limitsperiods),"numberofentries"in a&&n(9,p=a.numberofentries),"customcurrencysymbols"in a&&n(10,D=a.customcurrencysymbols),"limitformat"in a&&n(11,P=a.limitformat),"clientstyling"in a&&n(12,k=a.clientstyling),"clientstylingurl"in a&&n(13,M=a.clientstylingurl),"translationurl"in a&&n(14,W=a.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&134217775&&r&&m&&c&&f&&s&&o&&Z(),i.$$.dirty[0]&163840&&v&&!E&&A(0),i.$$.dirty[0]&73728&&M&&L&&K(),i.$$.dirty[0]&69632&&k&&L&&J()},[s,r,m,c,u,o,_,b,y,p,D,P,k,M,W,E,L,v,R,w,T,G,l,C,j,A,F,f,g,d,Q,X,Y,x,$]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,oe,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:27,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:28,limitsperiods:29,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14},ie,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[27]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[28]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[29]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(I,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=I;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ae, $ as ie, S as ce, i as se, f as F, c as ue, s as me, b as ye, e as v, k as T, o as D, p as E, q as ge, u as O, v as fe, x as pe, y as de,
|
|
2
|
-
function
|
|
1
|
+
import { a as ae, $ as ie, S as ce, i as se, f as F, c as ue, s as me, b as ye, e as v, k as T, o as D, p as E, q as ge, u as O, v as fe, x as pe, y as de, K as R, d as k, t as H, g as s, l as a, n as z, L as he, w as L, m as W, r as Ae, j as P, X as q } from "./GeneralLogout-DI0_2Ld2.js";
|
|
2
|
+
function N(n, e) {
|
|
3
3
|
ae(n, e);
|
|
4
4
|
}
|
|
5
5
|
function Me(n) {
|
|
@@ -49,14 +49,14 @@ if (typeof window != "undefined") {
|
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
52
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-DI0_2Ld2.js").then((e) => e.a4).then(({ default: e }) => {
|
|
53
53
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
function Pe(n) {
|
|
57
57
|
ye(n, "svelte-13z47ch", ".PlayerAccountMenuContainer{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border-bottom:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}");
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function X(n, e, t) {
|
|
60
60
|
const o = n.slice();
|
|
61
61
|
return o[35] = e[t], o;
|
|
62
62
|
}
|
|
@@ -72,7 +72,7 @@ function be(n) {
|
|
|
72
72
|
n[5]
|
|
73
73
|
), u = [];
|
|
74
74
|
for (let i = 0; i < c.length; i += 1)
|
|
75
|
-
u[i] =
|
|
75
|
+
u[i] = K(X(n, c, i));
|
|
76
76
|
let C = !/*isMobile*/
|
|
77
77
|
n[10] && _e(n);
|
|
78
78
|
return {
|
|
@@ -121,8 +121,8 @@ function be(n) {
|
|
|
121
121
|
);
|
|
122
122
|
let p;
|
|
123
123
|
for (p = 0; p < c.length; p += 1) {
|
|
124
|
-
const B =
|
|
125
|
-
u[p] ? u[p].p(B, I) : (u[p] =
|
|
124
|
+
const B = X(i, c, p);
|
|
125
|
+
u[p] ? u[p].p(B, I) : (u[p] = K(B), u[p].c(), u[p].m(d, null));
|
|
126
126
|
}
|
|
127
127
|
for (; p < u.length; p += 1)
|
|
128
128
|
u[p].d(1);
|
|
@@ -232,7 +232,7 @@ function ve(n) {
|
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function K(n) {
|
|
236
236
|
let e, t, o, r, y, m, f = (
|
|
237
237
|
/*menuItem*/
|
|
238
238
|
n[35].label + ""
|
|
@@ -249,7 +249,7 @@ function V(n) {
|
|
|
249
249
|
return {
|
|
250
250
|
c() {
|
|
251
251
|
e = v("div"), t = v("p"), o = v("img"), y = k(), m = v("span"), A = H(f), w = k(), s(o, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
252
|
-
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")),
|
|
252
|
+
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")), q(o.src, r = /*menuItem*/
|
|
253
253
|
n[35].img) || s(o, "src", r), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", b = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
254
254
|
(n[6] === /*menuItem*/
|
|
255
255
|
n[35].id && !/*isMobile*/
|
|
@@ -260,7 +260,7 @@ function V(n) {
|
|
|
260
260
|
},
|
|
261
261
|
p(g, c) {
|
|
262
262
|
n = g, c[0] & /*menuItems*/
|
|
263
|
-
32 && !
|
|
263
|
+
32 && !q(o.src, r = /*menuItem*/
|
|
264
264
|
n[35].img) && s(o, "src", r), c[0] & /*menuItems*/
|
|
265
265
|
32 && f !== (f = /*menuItem*/
|
|
266
266
|
n[35].label + "") && z(A, f), c[0] & /*selectedItem, menuItems*/
|
|
@@ -362,17 +362,17 @@ function Ce(n, e, t) {
|
|
|
362
362
|
let o;
|
|
363
363
|
ge(n, de, (l) => t(9, o = l));
|
|
364
364
|
let { endpoint: r = "" } = e, { cmsendpoint: y = "" } = e, { env: m = "" } = e, { session: f = "" } = e, { playerid: A = "" } = e, { lang: w = "en" } = e, { userroles: b = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: M = "" } = e, { activemenuitem: g = "" } = e, c, u = [], C, i = window.navigator.userAgent, I = O(i) !== "PC", p = "", B = "";
|
|
365
|
-
const
|
|
365
|
+
const Q = window.matchMedia("(min-width: 768px)"), V = () => {
|
|
366
366
|
fetch(M).then((h) => h.json()).then((h) => {
|
|
367
367
|
Object.keys(h).forEach((x) => {
|
|
368
|
-
|
|
368
|
+
N(x, h[x]);
|
|
369
369
|
});
|
|
370
370
|
}).catch((h) => {
|
|
371
371
|
console.error(h);
|
|
372
372
|
});
|
|
373
373
|
};
|
|
374
374
|
Object.keys(G).forEach((l) => {
|
|
375
|
-
|
|
375
|
+
N(l, G[l]);
|
|
376
376
|
});
|
|
377
377
|
const S = (l) => {
|
|
378
378
|
if (l.data)
|
|
@@ -381,13 +381,13 @@ function Ce(n, e, t) {
|
|
|
381
381
|
t(0, f = l.data.session);
|
|
382
382
|
break;
|
|
383
383
|
}
|
|
384
|
-
},
|
|
384
|
+
}, Z = () => {
|
|
385
385
|
let l = O(i);
|
|
386
386
|
if (l)
|
|
387
387
|
return l === "PC" ? "dk" : "mtWeb";
|
|
388
|
-
},
|
|
388
|
+
}, J = () => {
|
|
389
389
|
const l = new URL(`${y}/${w}/profile-menu?env=${m}`);
|
|
390
|
-
l.searchParams.append("device",
|
|
390
|
+
l.searchParams.append("device", Z()), fetch(l.href).then((h) => h.json()).then((h) => {
|
|
391
391
|
t(5, u = h), j();
|
|
392
392
|
}).catch((h) => {
|
|
393
393
|
console.error("Error getting menu items", h);
|
|
@@ -447,11 +447,11 @@ function Ce(n, e, t) {
|
|
|
447
447
|
n.$$.dirty[0] & /*lang*/
|
|
448
448
|
131072 && w && $(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
449
449
|
196611 && r && f && A && w && ee(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
450
|
-
180224 && y && w && m &&
|
|
450
|
+
180224 && y && w && m && J(), n.$$.dirty[0] & /*activemenuitem*/
|
|
451
451
|
1048576 && g && j(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
452
452
|
24 && _ && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
453
453
|
20 && d && c && ne(), n.$$.dirty[0] & /*translationurl*/
|
|
454
|
-
524288 && M &&
|
|
454
|
+
524288 && M && V();
|
|
455
455
|
}, [
|
|
456
456
|
f,
|
|
457
457
|
r,
|
|
@@ -464,7 +464,7 @@ function Ce(n, e, t) {
|
|
|
464
464
|
B,
|
|
465
465
|
o,
|
|
466
466
|
I,
|
|
467
|
-
|
|
467
|
+
Q,
|
|
468
468
|
U,
|
|
469
469
|
te,
|
|
470
470
|
y,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Y as
|
|
2
|
-
function S(e, { delay: t = 0, duration: i = 400, easing: n =
|
|
1
|
+
import { Y as z, S as B, i as F, f, c as P, s as R, b as U, B as W, k as L, H as c, I as m, Z as j, p as E, v as q, D as A, e as h, g as y, l as p, E as G, F as I, G as N, P as Y, _ as M, a0 as Z, x as C } from "./GeneralLogout-DI0_2Ld2.js";
|
|
2
|
+
function S(e, { delay: t = 0, duration: i = 400, easing: n = z } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: t,
|
|
@@ -8,15 +8,15 @@ function S(e, { delay: t = 0, duration: i = 400, easing: n = T } = {}) {
|
|
|
8
8
|
css: (o) => `opacity: ${o * s}`
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
11
|
+
function J(e) {
|
|
12
|
+
U(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
|
|
13
13
|
}
|
|
14
14
|
function k(e) {
|
|
15
15
|
let t, i, n, s, o;
|
|
16
16
|
const d = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
e[7].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = A(
|
|
20
20
|
d,
|
|
21
21
|
e,
|
|
22
22
|
/*$$scope*/
|
|
@@ -32,19 +32,19 @@ function k(e) {
|
|
|
32
32
|
},
|
|
33
33
|
p(a, u) {
|
|
34
34
|
e = a, r && r.p && (!o || u & /*$$scope*/
|
|
35
|
-
64) &&
|
|
35
|
+
64) && G(
|
|
36
36
|
r,
|
|
37
37
|
d,
|
|
38
38
|
e,
|
|
39
39
|
/*$$scope*/
|
|
40
40
|
e[6],
|
|
41
|
-
o ?
|
|
41
|
+
o ? N(
|
|
42
42
|
d,
|
|
43
43
|
/*$$scope*/
|
|
44
44
|
e[6],
|
|
45
45
|
u,
|
|
46
46
|
null
|
|
47
|
-
) :
|
|
47
|
+
) : I(
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
e[6]
|
|
50
50
|
),
|
|
@@ -52,7 +52,7 @@ function k(e) {
|
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
i(a) {
|
|
55
|
-
o || (c(r, a), a &&
|
|
55
|
+
o || (c(r, a), a && Y(() => {
|
|
56
56
|
o && (s || (s = M(i, S, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
e[1]
|
|
@@ -66,18 +66,18 @@ function k(e) {
|
|
|
66
66
|
) }, !1)), s.run(0)), o = !1;
|
|
67
67
|
},
|
|
68
68
|
d(a) {
|
|
69
|
-
a &&
|
|
69
|
+
a && E(t), r && r.d(a), e[8](null), a && s && s.end(), e[9](null);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function K(e) {
|
|
74
74
|
let t, i, n = (
|
|
75
75
|
/*show*/
|
|
76
76
|
e[0] && k(e)
|
|
77
77
|
);
|
|
78
78
|
return {
|
|
79
79
|
c() {
|
|
80
|
-
n && n.c(), t =
|
|
80
|
+
n && n.c(), t = W();
|
|
81
81
|
},
|
|
82
82
|
m(s, o) {
|
|
83
83
|
n && n.m(s, o), L(s, t, o), i = !0;
|
|
@@ -85,9 +85,9 @@ function Z(e) {
|
|
|
85
85
|
p(s, [o]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? n ? (n.p(s, o), o & /*show*/
|
|
88
|
-
1 && c(n, 1)) : (n = k(s), n.c(), c(n, 1), n.m(t.parentNode, t)) : n && (
|
|
88
|
+
1 && c(n, 1)) : (n = k(s), n.c(), c(n, 1), n.m(t.parentNode, t)) : n && (Z(), m(n, 1, 1, () => {
|
|
89
89
|
n = null;
|
|
90
|
-
}),
|
|
90
|
+
}), j());
|
|
91
91
|
},
|
|
92
92
|
i(s) {
|
|
93
93
|
i || (c(n), i = !0);
|
|
@@ -96,7 +96,7 @@ function Z(e) {
|
|
|
96
96
|
m(n), i = !1;
|
|
97
97
|
},
|
|
98
98
|
d(s) {
|
|
99
|
-
s &&
|
|
99
|
+
s && E(t), n && n.d(s);
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
}
|
|
@@ -104,7 +104,7 @@ function O(e, t, i) {
|
|
|
104
104
|
let { $$slots: n = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, u, _;
|
|
105
105
|
const w = (l) => {
|
|
106
106
|
l.data.type == "ModalClosed" && i(0, o = !1), l.data.type === "ShowLimitsConfirmationModal" && (i(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href));
|
|
107
|
-
},
|
|
107
|
+
}, v = () => {
|
|
108
108
|
let l = document.createElement("style");
|
|
109
109
|
l.innerHTML = r, u.appendChild(l);
|
|
110
110
|
}, D = () => {
|
|
@@ -118,7 +118,7 @@ function O(e, t, i) {
|
|
|
118
118
|
);
|
|
119
119
|
});
|
|
120
120
|
};
|
|
121
|
-
|
|
121
|
+
q(() => (window.addEventListener("message", w, !1), () => {
|
|
122
122
|
window.removeEventListener("message", w);
|
|
123
123
|
}));
|
|
124
124
|
function H(l) {
|
|
@@ -126,7 +126,7 @@ function O(e, t, i) {
|
|
|
126
126
|
_ = l, i(3, _);
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function T(l) {
|
|
130
130
|
C[l ? "unshift" : "push"](() => {
|
|
131
131
|
u = l, i(2, u);
|
|
132
132
|
});
|
|
@@ -136,7 +136,7 @@ function O(e, t, i) {
|
|
|
136
136
|
}, e.$$.update = () => {
|
|
137
137
|
e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
138
138
|
36 && a && u && D(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
139
|
-
20 && r && u &&
|
|
139
|
+
20 && r && u && v();
|
|
140
140
|
}, [
|
|
141
141
|
o,
|
|
142
142
|
d,
|
|
@@ -147,24 +147,24 @@ function O(e, t, i) {
|
|
|
147
147
|
s,
|
|
148
148
|
n,
|
|
149
149
|
H,
|
|
150
|
-
|
|
150
|
+
T
|
|
151
151
|
];
|
|
152
152
|
}
|
|
153
|
-
class Q extends
|
|
153
|
+
class Q extends B {
|
|
154
154
|
constructor(t) {
|
|
155
155
|
super(), F(
|
|
156
156
|
this,
|
|
157
157
|
t,
|
|
158
158
|
O,
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
K,
|
|
160
|
+
R,
|
|
161
161
|
{
|
|
162
162
|
show: 0,
|
|
163
163
|
duration: 1,
|
|
164
164
|
clientstyling: 4,
|
|
165
165
|
clientstylingurl: 5
|
|
166
166
|
},
|
|
167
|
-
|
|
167
|
+
J
|
|
168
168
|
);
|
|
169
169
|
}
|
|
170
170
|
get show() {
|
|
@@ -192,7 +192,7 @@ class Q extends z {
|
|
|
192
192
|
this.$$set({ clientstylingurl: t }), f();
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
|
|
195
|
+
P(Q, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {} }, ["default"], [], !0);
|
|
196
196
|
export {
|
|
197
197
|
Q as default
|
|
198
198
|
};
|