@everymatrix/player-account-controller 1.53.11 → 1.54.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-Ddt-oH9k.js → GeneralLogout-CsWa2j6i.js} +1131 -1094
- package/components/GeneralLogout-DfI2_eQe.cjs +8 -0
- package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-D_8K8e-E.js} +35 -34
- package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +1 -0
- package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +1 -0
- package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-FWYyFKmB.js} +1 -1
- package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-BJP8eejl.js} +1 -1
- package/components/PlayerAccountClosure-DvHhtHhl.cjs +1 -0
- package/components/PlayerAccountController-DDLO4xVW.cjs +1 -0
- package/components/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-DQGj69Re.js} +353 -336
- package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-Dt8hOZzW.js} +3 -3
- package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js} +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js} +16 -16
- package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-65MLJ2rD.js} +132 -121
- package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js} +768 -737
- package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-diUVGesC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BmDihzLr.js} +81 -75
- package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +1 -0
- package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-CbXhpL1a.js} +67 -66
- package/components/PlayerAccountMenu-DHGBVm64.cjs +1 -0
- package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-5TJbkUF8.js} +1 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +1 -0
- package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-BVY-SXyT.js} +1 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +3828 -0
- package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-BGfuEA4r.js} +1572 -1488
- package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-BDDMm0XX.js} +4 -4
- package/components/PlayerAccountTimeout-f4vPyQE-.cjs +1 -0
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +1 -0
- package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-D0RUTvjl.js} +120 -119
- package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-CU67pLmG.js} +2 -2
- package/components/PlayerBonusCard-UTTIEBwb.cjs +1 -0
- package/components/{PlayerBonusHistory-BxBiQwQf.js → PlayerBonusHistory-BLedlLHg.js} +53 -53
- package/components/PlayerBonusHistory-EXOvKzDr.cjs +1 -0
- package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-8ZD6eOj-.js} +1 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +3 -0
- package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-D5Xuk21T.js} +1 -1
- package/components/PlayerDeposit-Do7vb_4b.cjs +1 -0
- package/components/PlayerGamingHistory-OEU1L3Q2.cjs +1 -0
- package/components/{PlayerGamingHistory-BtQ73TId.js → PlayerGamingHistory-tb-rMGdz.js} +388 -375
- package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-DuN3Qn3P.js} +1 -1
- package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-DmKFg0dn.js} +549 -532
- package/components/PlayerProfileInfo-lMeb2jBi.cjs +1 -0
- package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BUW8tvj3.js} +191 -175
- package/components/PlayerRealityCheck-CA0P_3BC.cjs +1 -0
- package/components/PlayerTransactionHistory-CvZcvyBx.cjs +1 -0
- package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-hGi2tOL2.js} +1 -1
- package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-CR3Xpytk.js} +1 -1
- package/components/PlayerWithdrawal-DxLwjX7x.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/package.json +33 -12
- package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +1519 -0
- package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → active-mixin-59dfae2a-CJN1Jc-g.js} +776 -745
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
- package/stencil/{checkbox-group-input_9-CMFoK7_E.js → checkbox-group-input_9-DQoOMgN8.js} +1942 -1873
- package/stencil/checkbox-group-input_9-DiXERGqn.cjs +4193 -0
- package/stencil/{general-input-DnFPstQP.js → general-input-bzWxIJkt.js} +1 -1
- package/stencil/general-input-fzGwoSoE.cjs +1 -0
- package/stencil/index-062e829b-CpXLBOEz.cjs +1 -0
- package/stencil/{index-062e829b-DAFsZs6D.js → index-062e829b-DPj_pEuI.js} +236 -220
- package/stencil/index-33f005e1-BS5PFnj3.cjs +1 -0
- package/stencil/{index-33f005e1-fFxPaeNy.js → index-33f005e1-DGGQe5wK.js} +239 -223
- package/stencil/{index-9b3245b3-rzHgwqlB.js → index-9b3245b3-3zj7bxxu.js} +193 -166
- package/stencil/index-9b3245b3-ByXtSZIM.cjs +1 -0
- package/stencil/{index-fc58390d-BSwfXuUs.js → index-fc58390d-DeoeGpBS.js} +294 -267
- package/stencil/index-fc58390d-DgBOSsU7.cjs +1 -0
- package/stencil/locale-B5abSHU_.cjs +1 -0
- package/stencil/password-input_2-DvDzz75b.cjs +1248 -0
- package/stencil/{password-input_2-Bb9Q6Fe0.js → password-input_2-Dx1lICIg.js} +154 -136
- package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +1 -0
- package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-98dcb7bc-F9HM0T8d.js} +1 -1
- package/stencil/player-change-password-gm2-BEYcuzS-.cjs +1 -0
- package/stencil/player-change-password-gm2-NWnv4CCw.js +25 -0
- package/stencil/player-kyc-verification-_iT3bbO9.cjs +180 -0
- package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-o-RUWyY4.js} +83 -61
- package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BCrxxTpc.js} +1 -1
- package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +1 -0
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-DEMVRyvk.js} +197 -175
- package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +59 -0
- package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-CevHOCcm.js} +107 -81
- package/stencil/user-transaction-history-U0c__t1q.cjs +1 -0
- package/esnext/player-account-controller.js +0 -14
- package/stencil/player-change-password-gm2-DR3e2gh5.js +0 -7
|
@@ -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 D, t as j, g as h, l as _, k 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 j, 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-CsWa2j6i.js";
|
|
2
2
|
function Ae({ withLocale: i, translations: e }) {
|
|
3
3
|
X.subscribe((t) => {
|
|
4
4
|
t == null && (he.set(e), X.set(i));
|
|
@@ -42,7 +42,7 @@ const Y = {
|
|
|
42
42
|
title: "Limits"
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
if (typeof window
|
|
45
|
+
if (typeof window != "undefined") {
|
|
46
46
|
let i = function(e) {
|
|
47
47
|
return function(...t) {
|
|
48
48
|
try {
|
|
@@ -54,14 +54,14 @@ if (typeof window < "u") {
|
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-
|
|
57
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js").then(({ default: e }) => {
|
|
58
58
|
!customElements.get("player-account-gaming-limits-page-2-gm16") && customElements.define(
|
|
59
59
|
"player-account-gaming-limits-page-2-gm16",
|
|
60
60
|
e.element
|
|
61
61
|
);
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
if (typeof window
|
|
64
|
+
if (typeof window != "undefined") {
|
|
65
65
|
let i = function(e) {
|
|
66
66
|
return function(...t) {
|
|
67
67
|
try {
|
|
@@ -73,14 +73,14 @@ if (typeof window < "u") {
|
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-
|
|
76
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-65MLJ2rD.js").then(({ default: e }) => {
|
|
77
77
|
!customElements.get("player-account-gaming-limits-history-2") && customElements.define(
|
|
78
78
|
"player-account-gaming-limits-history-2",
|
|
79
79
|
e.element
|
|
80
80
|
);
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
|
-
const { document: Se } =
|
|
83
|
+
const { document: Se } = Te;
|
|
84
84
|
function De(i) {
|
|
85
85
|
Le(i, "svelte-r6lh3z", ':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(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--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(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}');
|
|
86
86
|
}
|
|
@@ -93,29 +93,29 @@ function $(i, e, t) {
|
|
|
93
93
|
return n[44] = e[t], n[43] = t, n;
|
|
94
94
|
}
|
|
95
95
|
function We(i) {
|
|
96
|
-
let e, t, n, l, a, m, c,
|
|
96
|
+
let e, t, n, l, a, m, c, u, o, g, f = (
|
|
97
97
|
/*$_*/
|
|
98
98
|
i[22]("title") + ""
|
|
99
|
-
), L,
|
|
99
|
+
), L, M, b;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
102
|
-
e = v("div"), t = G("svg"), n = G("defs"), l = G("style"), a = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"), m = G("g"), c = G("g"),
|
|
102
|
+
e = v("div"), t = G("svg"), n = G("defs"), l = G("style"), a = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"), m = G("g"), c = G("g"), u = G("path"), o = D(), g = v("h2"), L = j(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");
|
|
103
103
|
},
|
|
104
104
|
m(d, w) {
|
|
105
|
-
|
|
105
|
+
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(
|
|
106
106
|
e,
|
|
107
107
|
"click",
|
|
108
108
|
/*click_handler*/
|
|
109
109
|
i[30]
|
|
110
|
-
),
|
|
110
|
+
), M = !0);
|
|
111
111
|
},
|
|
112
112
|
p(d, w) {
|
|
113
113
|
w[0] & /*$_*/
|
|
114
|
-
4194304 &&
|
|
115
|
-
d[22]("title") + "") && U(L,
|
|
114
|
+
4194304 && f !== (f = /*$_*/
|
|
115
|
+
d[22]("title") + "") && U(L, f);
|
|
116
116
|
},
|
|
117
117
|
d(d) {
|
|
118
|
-
d && k(e),
|
|
118
|
+
d && k(e), M = !1, b();
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
}
|
|
@@ -129,7 +129,7 @@ function ze(i) {
|
|
|
129
129
|
), c = [];
|
|
130
130
|
for (let o = 0; o < m.length; o += 1)
|
|
131
131
|
c[o] = te(x(i, m, o));
|
|
132
|
-
let
|
|
132
|
+
let u = (
|
|
133
133
|
/*historyenabled*/
|
|
134
134
|
i[6] === "true" && ie(i)
|
|
135
135
|
);
|
|
@@ -138,13 +138,13 @@ function ze(i) {
|
|
|
138
138
|
a && a.c(), e = D(), t = v("div");
|
|
139
139
|
for (let o = 0; o < c.length; o += 1)
|
|
140
140
|
c[o].c();
|
|
141
|
-
n = D(),
|
|
141
|
+
n = D(), u && u.c(), l = Ee(), h(t, "class", "PlayerAccountGamingLmitsWrapper2");
|
|
142
142
|
},
|
|
143
143
|
m(o, g) {
|
|
144
|
-
a && a.m(o, g),
|
|
145
|
-
for (let
|
|
146
|
-
c[
|
|
147
|
-
i[33](t),
|
|
144
|
+
a && a.m(o, g), T(o, e, g), T(o, t, g);
|
|
145
|
+
for (let f = 0; f < c.length; f += 1)
|
|
146
|
+
c[f] && c[f].m(t, null);
|
|
147
|
+
i[33](t), T(o, n, g), u && u.m(o, g), T(o, l, g);
|
|
148
148
|
},
|
|
149
149
|
p(o, g) {
|
|
150
150
|
if (
|
|
@@ -156,20 +156,20 @@ function ze(i) {
|
|
|
156
156
|
/*limitTabs*/
|
|
157
157
|
o[23]
|
|
158
158
|
);
|
|
159
|
-
let
|
|
160
|
-
for (
|
|
161
|
-
const L = x(o, m,
|
|
162
|
-
c[
|
|
159
|
+
let f;
|
|
160
|
+
for (f = 0; f < m.length; f += 1) {
|
|
161
|
+
const L = x(o, m, f);
|
|
162
|
+
c[f] ? c[f].p(L, g) : (c[f] = te(L), c[f].c(), c[f].m(t, null));
|
|
163
163
|
}
|
|
164
|
-
for (;
|
|
165
|
-
c[
|
|
164
|
+
for (; f < c.length; f += 1)
|
|
165
|
+
c[f].d(1);
|
|
166
166
|
c.length = m.length;
|
|
167
167
|
}
|
|
168
168
|
/*historyenabled*/
|
|
169
|
-
o[6] === "true" ?
|
|
169
|
+
o[6] === "true" ? u ? u.p(o, g) : (u = ie(o), u.c(), u.m(l.parentNode, l)) : u && (u.d(1), u = null);
|
|
170
170
|
},
|
|
171
171
|
d(o) {
|
|
172
|
-
o && (k(e), k(t), k(n), k(l)), a && a.d(o), le(c, o), i[33](null),
|
|
172
|
+
o && (k(e), k(t), k(n), k(l)), a && a.d(o), le(c, o), i[33](null), u && u.d(o);
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
}
|
|
@@ -191,7 +191,7 @@ function je(i) {
|
|
|
191
191
|
h(e, "class", "TabsContainer");
|
|
192
192
|
},
|
|
193
193
|
m(l, a) {
|
|
194
|
-
|
|
194
|
+
T(l, e, a);
|
|
195
195
|
for (let m = 0; m < n.length; m += 1)
|
|
196
196
|
n[m] && n[m].m(e, null);
|
|
197
197
|
i[32](e);
|
|
@@ -219,13 +219,16 @@ function je(i) {
|
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
221
|
function ee(i) {
|
|
222
|
+
var c;
|
|
222
223
|
let e, t = (
|
|
223
224
|
/*tabLabelArray*/
|
|
224
|
-
(i[18][
|
|
225
|
+
((c = i[18][
|
|
225
226
|
/*i*/
|
|
226
227
|
i[43]
|
|
227
|
-
]
|
|
228
|
-
|
|
228
|
+
]) != null ? c : (
|
|
229
|
+
/*limit*/
|
|
230
|
+
i[44]
|
|
231
|
+
)) + ""
|
|
229
232
|
), n, l, a;
|
|
230
233
|
function m() {
|
|
231
234
|
return (
|
|
@@ -240,20 +243,23 @@ function ee(i) {
|
|
|
240
243
|
c() {
|
|
241
244
|
e = v("div"), n = j(t), h(e, "class", "LimitsTab");
|
|
242
245
|
},
|
|
243
|
-
m(
|
|
244
|
-
|
|
246
|
+
m(u, o) {
|
|
247
|
+
T(u, e, o), _(e, n), l || (a = ne(e, "click", m), l = !0);
|
|
245
248
|
},
|
|
246
|
-
p(
|
|
247
|
-
|
|
249
|
+
p(u, o) {
|
|
250
|
+
var g;
|
|
251
|
+
i = u, o[0] & /*tabLabelArray*/
|
|
248
252
|
262144 && t !== (t = /*tabLabelArray*/
|
|
249
|
-
(i[18][
|
|
253
|
+
((g = i[18][
|
|
250
254
|
/*i*/
|
|
251
255
|
i[43]
|
|
252
|
-
]
|
|
253
|
-
|
|
256
|
+
]) != null ? g : (
|
|
257
|
+
/*limit*/
|
|
258
|
+
i[44]
|
|
259
|
+
)) + "") && U(n, t);
|
|
254
260
|
},
|
|
255
|
-
d(
|
|
256
|
-
|
|
261
|
+
d(u) {
|
|
262
|
+
u && k(e), l = !1, a();
|
|
257
263
|
}
|
|
258
264
|
};
|
|
259
265
|
}
|
|
@@ -342,7 +348,7 @@ function te(i) {
|
|
|
342
348
|
);
|
|
343
349
|
},
|
|
344
350
|
m(l, a) {
|
|
345
|
-
|
|
351
|
+
T(l, e, a);
|
|
346
352
|
},
|
|
347
353
|
p(l, a) {
|
|
348
354
|
a[0] & /*lang*/
|
|
@@ -497,7 +503,7 @@ function ie(i) {
|
|
|
497
503
|
);
|
|
498
504
|
},
|
|
499
505
|
m(t, n) {
|
|
500
|
-
|
|
506
|
+
T(t, e, n);
|
|
501
507
|
},
|
|
502
508
|
p(t, n) {
|
|
503
509
|
n[0] & /*lang*/
|
|
@@ -568,10 +574,10 @@ function ie(i) {
|
|
|
568
574
|
};
|
|
569
575
|
}
|
|
570
576
|
function Be(i) {
|
|
571
|
-
let e, t, n, l, a, m, c,
|
|
577
|
+
let e, t, n, l, a, m, c, u = (
|
|
572
578
|
/*$_*/
|
|
573
579
|
i[22]("title") + ""
|
|
574
|
-
), o, g,
|
|
580
|
+
), o, g, f = (
|
|
575
581
|
/*isMobile*/
|
|
576
582
|
i[24] && We(i)
|
|
577
583
|
);
|
|
@@ -581,35 +587,35 @@ function Be(i) {
|
|
|
581
587
|
d[15] ? Re : ze
|
|
582
588
|
);
|
|
583
589
|
}
|
|
584
|
-
let
|
|
590
|
+
let M = L(i), b = M(i);
|
|
585
591
|
return {
|
|
586
592
|
c() {
|
|
587
|
-
e = v("meta"), t = D(), n = v("div"), l = v("div"), a = v("div"),
|
|
593
|
+
e = v("meta"), t = D(), n = v("div"), l = v("div"), a = v("div"), f && f.c(), m = D(), c = v("h2"), o = j(u), g = D(), b.c(), h(e, "name", "viewport"), h(e, "content", "width=device-width, initial-scale=1"), h(c, "class", "GamingLimitsTitle " + /*isMobile*/
|
|
588
594
|
(i[24] ? "GamingLimitsTitleNone" : "")), h(a, "class", "TitleSection"), h(l, "class", "GamingLimitsWrapper " + /*isMobile*/
|
|
589
595
|
(i[24] ? "GamingLimitsWrapperMobile" : ""));
|
|
590
596
|
},
|
|
591
597
|
m(d, w) {
|
|
592
|
-
_(Se.head, e),
|
|
598
|
+
_(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);
|
|
593
599
|
},
|
|
594
600
|
p(d, w) {
|
|
595
601
|
/*isMobile*/
|
|
596
|
-
d[24] &&
|
|
597
|
-
4194304 &&
|
|
598
|
-
d[22]("title") + "") && U(o,
|
|
602
|
+
d[24] && f.p(d, w), w[0] & /*$_*/
|
|
603
|
+
4194304 && u !== (u = /*$_*/
|
|
604
|
+
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)));
|
|
599
605
|
},
|
|
600
606
|
i: S,
|
|
601
607
|
o: S,
|
|
602
608
|
d(d) {
|
|
603
|
-
d && (k(t), k(n)), k(e),
|
|
609
|
+
d && (k(t), k(n)), k(e), f && f.d(), b.d(), i[34](null);
|
|
604
610
|
}
|
|
605
611
|
};
|
|
606
612
|
}
|
|
607
613
|
function Fe(i, e, t) {
|
|
608
614
|
let n;
|
|
609
|
-
ve(i,
|
|
610
|
-
let { lang: l = "" } = e, { userid: a = "" } = e, { session: m = "" } = e, { endpoint: c = "" } = e, { currency:
|
|
615
|
+
ve(i, Ce, (s) => t(22, n = s));
|
|
616
|
+
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: z = "" } = e, { translationurl: K = "" } = e;
|
|
611
617
|
Ae({ withLocale: "en", translations: {} });
|
|
612
|
-
let F = !0,
|
|
618
|
+
let F = !0, A, P = [], Z, C, E, R, N, se = window.navigator.userAgent, J = ke(se) !== "PC";
|
|
613
619
|
Object.keys(Y).forEach((s) => {
|
|
614
620
|
Ge(s, Y[s]);
|
|
615
621
|
});
|
|
@@ -623,9 +629,9 @@ function Fe(i, e, t) {
|
|
|
623
629
|
P.includes(p) || P.push(p);
|
|
624
630
|
}), t(18, Z = g.split(",").map((p) => p.trim())), t(15, F = !1);
|
|
625
631
|
}, H = (s) => {
|
|
626
|
-
if (
|
|
627
|
-
for (let p = 0; p <
|
|
628
|
-
s === p ? (
|
|
632
|
+
if (C.children.length > 0)
|
|
633
|
+
for (let p = 0; p < C.children.length; p++)
|
|
634
|
+
s === p ? (C.children[p].classList.remove("hidden"), E == null || E.children[p].classList.add("selected")) : (C.children[p].classList.add("hidden"), E == null || E.children[p].classList.remove("selected"));
|
|
629
635
|
}, Q = () => {
|
|
630
636
|
window.postMessage(
|
|
631
637
|
{
|
|
@@ -636,55 +642,55 @@ function Fe(i, e, t) {
|
|
|
636
642
|
);
|
|
637
643
|
}, oe = () => {
|
|
638
644
|
let s = document.createElement("style");
|
|
639
|
-
s.innerHTML = W,
|
|
645
|
+
s.innerHTML = W, A.appendChild(s);
|
|
640
646
|
}, me = () => {
|
|
641
647
|
let s = new URL(z), p = document.createElement("style");
|
|
642
648
|
fetch(s.href).then((O) => O.text()).then((O) => {
|
|
643
649
|
p.innerHTML = O, setTimeout(
|
|
644
650
|
() => {
|
|
645
|
-
|
|
651
|
+
A.appendChild(p);
|
|
646
652
|
},
|
|
647
653
|
1
|
|
648
654
|
);
|
|
649
655
|
});
|
|
650
656
|
};
|
|
651
|
-
|
|
652
|
-
t(17,
|
|
657
|
+
Me(() => () => {
|
|
658
|
+
t(17, C = null), t(19, E = null);
|
|
653
659
|
});
|
|
654
660
|
const ce = () => Q(), ue = (s) => H(s);
|
|
655
661
|
function fe(s) {
|
|
656
662
|
I[s ? "unshift" : "push"](() => {
|
|
657
|
-
|
|
663
|
+
E = s, t(19, E);
|
|
658
664
|
});
|
|
659
665
|
}
|
|
660
666
|
function ge(s) {
|
|
661
667
|
I[s ? "unshift" : "push"](() => {
|
|
662
|
-
|
|
668
|
+
C = s, t(17, C);
|
|
663
669
|
});
|
|
664
670
|
}
|
|
665
671
|
function de(s) {
|
|
666
672
|
I[s ? "unshift" : "push"](() => {
|
|
667
|
-
|
|
673
|
+
A = s, t(16, A);
|
|
668
674
|
});
|
|
669
675
|
}
|
|
670
676
|
return i.$$set = (s) => {
|
|
671
|
-
"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,
|
|
677
|
+
"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, z = s.clientstylingurl), "translationurl" in s && t(14, K = s.translationurl);
|
|
672
678
|
}, i.$$.update = () => {
|
|
673
679
|
i.$$.dirty[0] & /*userid, session, endpoint, tablabels, lang, apiversion*/
|
|
674
680
|
134217775 && a && m && c && g && l && o && ae(), i.$$.dirty[0] & /*mainContainer, isLoading*/
|
|
675
|
-
163840 &&
|
|
676
|
-
73728 && z &&
|
|
677
|
-
69632 && W &&
|
|
681
|
+
163840 && C && !F && H(0), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
682
|
+
73728 && z && A && me(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
683
|
+
69632 && W && A && oe();
|
|
678
684
|
}, [
|
|
679
685
|
l,
|
|
680
686
|
a,
|
|
681
687
|
m,
|
|
682
688
|
c,
|
|
683
|
-
f,
|
|
684
|
-
o,
|
|
685
689
|
u,
|
|
690
|
+
o,
|
|
691
|
+
f,
|
|
686
692
|
L,
|
|
687
|
-
|
|
693
|
+
M,
|
|
688
694
|
w,
|
|
689
695
|
q,
|
|
690
696
|
V,
|
|
@@ -692,10 +698,10 @@ function Fe(i, e, t) {
|
|
|
692
698
|
z,
|
|
693
699
|
K,
|
|
694
700
|
F,
|
|
695
|
-
E,
|
|
696
|
-
T,
|
|
697
|
-
Z,
|
|
698
701
|
A,
|
|
702
|
+
C,
|
|
703
|
+
Z,
|
|
704
|
+
E,
|
|
699
705
|
R,
|
|
700
706
|
N,
|
|
701
707
|
n,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DfI2_eQe.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 F={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"},"en-us":{title:"Limits"}};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-CMnCgRU1.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-CG4RnfZE.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-r6lh3z",':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(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--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(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--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,o,c,u,m,d,_=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(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"),o=e.svg_element("g"),c=e.svg_element("g"),u=e.svg_element("path"),m=e.space(),d=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(o,"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(d,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(f,p){e.insert(f,t,p),e.append(t,n),e.append(n,l),e.append(l,s),e.append(s,r),e.append(n,o),e.append(o,c),e.append(c,u),e.append(t,m),e.append(t,d),e.append(d,b),y||(g=e.listen(t,"click",i[30]),y=!0)},p(f,p){p[0]&4194304&&_!==(_=f[22]("title")+"")&&e.set_data(b,_)},d(f){f&&e.detach(t),y=!1,g()}}}function se(i){let t,n,l,s,r=i[23].length>1&&re(i),o=e.ensure_array_like(i[23]),c=[];for(let m=0;m<o.length;m+=1)c[m]=H(B(i,o,m));let u=i[6]==="true"&&q(i);return{c(){r&&r.c(),t=e.space(),n=e.element("div");for(let m=0;m<c.length;m+=1)c[m].c();l=e.space(),u&&u.c(),s=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(m,d){r&&r.m(m,d),e.insert(m,t,d),e.insert(m,n,d);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(n,null);i[33](n),e.insert(m,l,d),u&&u.m(m,d),e.insert(m,s,d)},p(m,d){if(m[23].length>1&&r.p(m,d),d[0]&3177919){o=e.ensure_array_like(m[23]);let _;for(_=0;_<o.length;_+=1){const b=B(m,o,_);c[_]?c[_].p(b,d):(c[_]=H(b),c[_].c(),c[_].m(n,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=o.length}m[6]==="true"?u?u.p(m,d):(u=q(m),u.c(),u.m(s.parentNode,s)):u&&(u.d(1),u=null)},d(m){m&&(e.detach(t),e.detach(n),e.detach(l),e.detach(s)),r&&r.d(m),e.destroy_each(c,m),i[33](null),u&&u.d(m)}}}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 o=0;o<l.length;o+=1)l[o]&&l[o].m(t,null);i[32](t)},p(s,r){if(r[0]&42205184){n=e.ensure_array_like(s[23]);let o;for(o=0;o<n.length;o+=1){const c=N(s,n,o);l[o]?l[o].p(c,r):(l[o]=O(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].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 o(){return i[31](i[43])}return{c(){t=e.element("div"),l=e.text(n),e.attr(t,"class","LimitsTab")},m(u,m){e.insert(u,t,m),e.append(t,l),s||(r=e.listen(t,"click",o),s=!0)},p(u,m){var d;i=u,m[0]&262144&&n!==(n=((d=i[18][i[43]])!=null?d: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 me(i){let t,n,l,s,r,o,c,u=i[22]("title")+"",m,d,_=i[24]&&le(i);function b(f,p){return f[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(),o=e.space(),c=e.element("h2"),m=e.text(u),d=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(f,p){e.append(ne.head,t),e.insert(f,n,p),e.insert(f,l,p),e.append(l,s),e.append(s,r),_&&_.m(r,null),e.append(r,o),e.append(r,c),e.append(c,m),e.append(s,d),g.m(s,null),i[34](l)},p(f,p){f[24]&&_.p(f,p),p[0]&4194304&&u!==(u=f[22]("title")+"")&&e.set_data(m,u),y===(y=b(f))&&g?g.p(f,p):(g.d(1),g=y(f),g&&(g.c(),g.m(s,null)))},i:e.noop,o:e.noop,d(f){f&&(e.detach(n),e.detach(l)),e.detach(t),_&&_.d(),g.d(),i[34](null)}}}function oe(i,t,n){let l;e.component_subscribe(i,e.$format,a=>n(22,l=a));let{lang:s=""}=t,{userid:r=""}=t,{session:o=""}=t,{endpoint:c=""}=t,{currency:u=""}=t,{apiversion:m=""}=t,{tablabels:d=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:y=""}=t,{limitsamount:g=""}=t,{limitsperiods:f=""}=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(F).forEach(a=>{te(a,F[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,f),g.split("|").forEach(h=>{C.includes(h)||C.push(h)}),n(18,R=d.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"))},z=()=>{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=()=>z(),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,o=a.session),"endpoint"in a&&n(3,c=a.endpoint),"currency"in a&&n(4,u=a.currency),"apiversion"in a&&n(5,m=a.apiversion),"tablabels"in a&&n(27,d=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,f=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&&o&&c&&d&&s&&m&&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,o,c,u,m,_,b,y,p,D,P,k,M,W,E,L,v,R,w,T,G,l,C,j,A,z,d,g,f,Q,X,Y,x,$]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,me,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,4 +1,4 @@
|
|
|
1
|
-
import { a as J, $ as K, S as Q, i as V, f as _, c as X, s as Y, b as Z, D as $, e as y, d as E, t as L, g as a, k as T, l as m, m as O, E as ee, F as te, G as ne, n as S, H as oe, I as le, p as j, r as ie, q as ae, u as re, x as se, w as W, o as ce, y as me } from "./GeneralLogout-
|
|
1
|
+
import { a as J, $ as K, S as Q, i as V, f as _, c as X, s as Y, b as Z, D as $, e as y, d as E, t as L, g as a, k as T, l as m, m as O, E as ee, F as te, G as ne, n as S, H as oe, I as le, p as j, r as ie, q as ae, u as re, x as se, w as W, o as ce, y as me } from "./GeneralLogout-CsWa2j6i.js";
|
|
2
2
|
function q(n, e) {
|
|
3
3
|
J(n, e);
|
|
4
4
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DfI2_eQe.cjs");function A(o,t){e.addMessages(o,t)}function P(o){e.$locale.set(o)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function W(o){e.append_styles(o,"svelte-1o81iqe",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const q=o=>({}),z=o=>({});function N(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,i){e.insert(a,t,i),e.append(t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function E(o){let t,n,a;return{c(){t=e.element("div"),n=e.element("h2"),a=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(i,m){e.insert(i,t,m),e.append(t,n),e.append(n,a)},p(i,m){m&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function L(o){let t,n=o[4]("cancel")+"",a,i,m;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,p){e.insert(d,t,p),e.append(t,a),i||(m=e.listen(t,"click",o[16]),i=!0)},p(d,p){p&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,m()}}}function R(o){let t,n,a,i,m,d,p,G,u,v,h,C=o[4]("confirm")+"",w,f,g,B;const M=o[15].close,y=e.create_slot(M,o,o[14],z),x=y||N();let c=o[1]&&E(o),s=o[2]&&L(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),x.c(),i=e.space(),c&&c.c(),m=e.space(),d=e.element("div"),p=e.text(o[0]),G=e.space(),u=e.element("div"),s&&s.c(),v=e.space(),h=e.element("button"),w=e.text(C),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(h,"class","GeneralConfirmButton"),e.attr(u,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(r,b){e.insert(r,t,b),e.append(t,n),e.append(n,a),x.m(a,null),e.append(n,i),c&&c.m(n,null),e.append(n,m),e.append(n,d),e.append(d,p),e.append(n,G),e.append(n,u),s&&s.m(u,null),e.append(u,v),e.append(u,h),e.append(h,w),o[18](t),f=!0,g||(B=[e.listen(a,"click",o[6]),e.listen(h,"click",o[17])],g=!0)},p(r,[b]){y&&y.p&&(!f||b&16384)&&e.update_slot_base(y,M,r,r[14],f?e.get_slot_changes(M,r[14],b,q):e.get_all_dirty_from_scope(r[14]),z),r[1]?c?c.p(r,b):(c=E(r),c.c(),c.m(n,m)):c&&(c.d(1),c=null),(!f||b&1)&&e.set_data(p,r[0]),r[2]?s?s.p(r,b):(s=L(r),s.c(),s.m(u,v)):s&&(s.d(1),s=null),(!f||b&16)&&C!==(C=r[4]("confirm")+"")&&e.set_data(w,C)},i(r){f||(e.transition_in(x,r),f=!0)},o(r){e.transition_out(x,r),f=!1},d(r){r&&e.detach(t),x.d(r),c&&c.d(),s&&s.d(),o[18](null),g=!1,e.run_all(B)}}}function U(o,t,n){let a;e.component_subscribe(o,e.$format,l=>n(4,a=l));let{$$slots:i={},$$scope:m}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:p=""}=t,{hascancelbutton:G=!1}=t,{modalconfirmevent:u={}}=t,{modalcancelevent:v={}}=t,{lang:h="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:w=""}=t,{translationurl:f=""}=t,g,B=window.navigator.userAgent,M=e.getDevice(B)!=="PC";const y=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},x=l=>{l==="confirm"&&u&&window.postMessage(u,window.location.href),l==="cancel"&&v&&window.postMessage(v,window.location.href),y()},c=()=>{let l=document.createElement("style");l.innerHTML=C,g.appendChild(l)},s=()=>{let l=new URL(w),_=document.createElement("style");fetch(l.href).then(k=>k.text()).then(k=>{_.innerHTML=k,setTimeout(()=>{g.appendChild(_)},1)})},r=()=>{fetch(f).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{A(k,_[k])})}).catch(_=>{console.log(_)})};Object.keys(F).forEach(l=>{A(l,F[l])});const b=()=>{P(h)},T=()=>x("cancel"),j=()=>x("confirm");function O(l){e.binding_callbacks[l?"unshift":"push"](()=>{g=l,n(3,g)})}return o.$$set=l=>{"modaltext"in l&&n(0,d=l.modaltext),"modaltitle"in l&&n(1,p=l.modaltitle),"hascancelbutton"in l&&n(2,G=l.hascancelbutton),"modalconfirmevent"in l&&n(8,u=l.modalconfirmevent),"modalcancelevent"in l&&n(9,v=l.modalcancelevent),"lang"in l&&n(10,h=l.lang),"clientstyling"in l&&n(11,C=l.clientstyling),"clientstylingurl"in l&&n(12,w=l.clientstylingurl),"translationurl"in l&&n(13,f=l.translationurl),"$$scope"in l&&n(14,m=l.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&h&&b(),o.$$.dirty&2056&&C&&g&&c(),o.$$.dirty&4104&&w&&g&&s(),o.$$.dirty&8192&&f&&r()},[d,p,G,g,a,M,y,x,u,v,h,C,w,f,m,i,T,j,O]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,U,R,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13},W)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(S,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=S;
|