@everymatrix/player-account-controller-nd 1.49.2 → 1.50.1
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-BBoBE1Lx.cjs +8 -0
- package/components/{GeneralLogout-CT6JdzJJ.js → GeneralLogout-CpfJL45A.js} +323 -317
- package/components/PlayerAccountBettingHistory-BhFyAw7S.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-BQS41tJM.js → PlayerAccountBettingHistory-C6Jnecgm.js} +35 -35
- package/components/{PlayerAccountBiometrics-BrG1qQsh.js → PlayerAccountBiometrics-CbgGBdjA.js} +38 -38
- package/components/PlayerAccountBiometrics-U1ab8cUd.cjs +1 -0
- package/components/PlayerAccountClosureNd-CLRXe1KM.cjs +1 -0
- package/components/{PlayerAccountClosureNd-DZGf20sc.js → PlayerAccountClosureNd-CQa6GJ-9.js} +22 -22
- package/components/{PlayerAccountControllerNd-DfkUpXUA.js → PlayerAccountControllerNd-BSVMbuxt.js} +21 -21
- package/components/PlayerAccountControllerNd-CuHyqivG.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-DZT2yHAi.js → PlayerAccountGamingLimits-BysIpKq_.js} +43 -43
- package/components/PlayerAccountGamingLimits-ImaSq8Bu.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-B1H9kGBj.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Ct6y_gaE.js → PlayerAccountGamingLimitsConfirmationModal-C1JaSEj9.js} +21 -21
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cf0Vwm5f.js → PlayerAccountGamingLimitsGroupEdit-DvbllfiB.js} +178 -178
- package/components/{PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs → PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-NOHMlmb-.js → PlayerAccountGamingLimitsHistory2Nd-5utMOF-c.js} +59 -59
- package/components/PlayerAccountGamingLimitsHistory2Nd-PWXwK3xR.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-gzrqsmTe.js → PlayerAccountGamingLimitsInfoCard-Cf-_Q_Il.js} +80 -80
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dbm8J6qJ.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-Cd5sgo9y.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CDvdIJm8.js → PlayerAccountGamingLimitsPage2Gm16Nd-Dgj11XWr.js} +2 -2
- package/components/{PlayerAccountGamingLimitsPopup-P4wj3V9k.js → PlayerAccountGamingLimitsPopup-BGVFSakv.js} +14 -14
- package/components/PlayerAccountGamingLimitsPopup-C47JGdE1.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-B1d5eGWo.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CbVCR27v.js → PlayerAccountGamingLimitsWrapper2Nd-D2CBz_5K.js} +14 -14
- package/components/{PlayerAccountMenuNd-BgsY7YQL.js → PlayerAccountMenuNd-Cy1yKfxC.js} +75 -75
- package/components/PlayerAccountMenuNd-T9fpXE8-.cjs +1 -0
- package/components/{PlayerAccountModal-CIR41mpM.cjs → PlayerAccountModal-CUdeZ6ZD.cjs} +1 -1
- package/components/{PlayerAccountModal-Dl52frb-.js → PlayerAccountModal-CcuAGQY1.js} +1 -1
- package/components/PlayerAccountNotifications-B5y5G3E_.cjs +1 -0
- package/components/{PlayerAccountNotifications-sQPz396P.js → PlayerAccountNotifications-BS8gXEjF.js} +5 -5
- package/components/{PlayerAccountSelfExclusionNd-BtlWGpcC.js → PlayerAccountSelfExclusionNd-DJdimTeI.js} +483 -4
- package/components/{PlayerAccountSelfExclusionNd-Wf-Zcu-v.cjs → PlayerAccountSelfExclusionNd-uHrwQnpT.cjs} +482 -4
- package/components/PlayerAccountTimeout-CNtkqjo7.cjs +1 -0
- package/components/{PlayerAccountTimeout-4Wj662L_.js → PlayerAccountTimeout-CoL4r8kh.js} +42 -42
- package/components/PlayerActiveBonuses-DOOKCxQp.cjs +1 -0
- package/components/{PlayerActiveBonuses-BE0qfJz_.js → PlayerActiveBonuses-Dm8oJ-8E.js} +33 -33
- package/components/{PlayerBonusCard-DdxYH7lf.cjs → PlayerBonusCard-Bt-n3Mxi.cjs} +1 -1
- package/components/{PlayerBonusCard-BwUugzC6.js → PlayerBonusCard-y6Mmy7BC.js} +2 -2
- package/components/{PlayerBonusHistory-CpVXrw4-.js → PlayerBonusHistory-BAqio45G.js} +4 -4
- package/components/{PlayerBonusHistory-DNRm6rTc.cjs → PlayerBonusHistory-CwcvkOns.cjs} +1 -1
- package/components/{PlayerChangePassword-BDyXZ2_q.cjs → PlayerChangePassword-C-8QN3hH.cjs} +1 -1
- package/components/{PlayerChangePassword-Cv6wa7VL.js → PlayerChangePassword-CU9ISaq8.js} +1 -1
- package/components/{PlayerDeposit-CYpXuZIT.cjs → PlayerDeposit-BLymLH97.cjs} +1 -1
- package/components/{PlayerDeposit-DvSZCw5N.js → PlayerDeposit-BO3gHJ2M.js} +1 -1
- package/components/{PlayerGamingHistory-DXKWBhvu.cjs → PlayerGamingHistory-Bsrdosmr.cjs} +1 -1
- package/components/{PlayerGamingHistory-DB4CakRN.js → PlayerGamingHistory-dHWr4quw.js} +4 -4
- package/components/{PlayerPendingWithdrawals-pwyPkm03.js → PlayerPendingWithdrawals-CSQvhjqu.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dn63yKxo.cjs → PlayerPendingWithdrawals-CUpLO6X3.cjs} +1 -1
- package/components/{PlayerProfileInfo-i7DhTVz2.cjs → PlayerProfileInfo-8LQ0QT94.cjs} +1 -1
- package/components/{PlayerProfileInfo-BqvwYfPx.js → PlayerProfileInfo-CFjLZ0AP.js} +1 -1
- package/components/PlayerRealityCheck-B--KgOX7.cjs +1 -0
- package/components/{PlayerRealityCheck-BVQGrSeS.js → PlayerRealityCheck-CKMxPxsj.js} +52 -52
- package/components/{PlayerTransactionHistory-BLQrFvTx.js → PlayerTransactionHistory-1P_fFQ9M.js} +1 -1
- package/components/{PlayerTransactionHistory-DJICk5qY.cjs → PlayerTransactionHistory-KkAMcV0S.cjs} +1 -1
- package/components/{PlayerWithdrawal-gkzbD0rI.js → PlayerWithdrawal-Bho97r_v.js} +1 -1
- package/components/{PlayerWithdrawal-DuxGAxKs.cjs → PlayerWithdrawal-Bt2B8luj.cjs} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralLogout-bc8vhI_H.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +0 -1
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +0 -1
- package/components/PlayerAccountClosureNd-DWE1BQjS.cjs +0 -1
- package/components/PlayerAccountControllerNd-C3AI8QtD.cjs +0 -1
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2Nd-BNHdTsFe.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-x7iKhdJf.cjs +0 -1
- package/components/PlayerAccountMenuNd-uyqoX0xo.cjs +0 -1
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +0 -1
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +0 -1
- package/components/PlayerActiveBonuses-D2PR-NJe.cjs +0 -1
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +0 -1
|
@@ -2,19 +2,19 @@ var S = (a, e, t) => new Promise((r, i) => {
|
|
|
2
2
|
var n = (u) => {
|
|
3
3
|
try {
|
|
4
4
|
v(t.next(u));
|
|
5
|
-
} catch (
|
|
6
|
-
i(
|
|
5
|
+
} catch (h) {
|
|
6
|
+
i(h);
|
|
7
7
|
}
|
|
8
8
|
}, k = (u) => {
|
|
9
9
|
try {
|
|
10
10
|
v(t.throw(u));
|
|
11
|
-
} catch (
|
|
12
|
-
i(
|
|
11
|
+
} catch (h) {
|
|
12
|
+
i(h);
|
|
13
13
|
}
|
|
14
14
|
}, v = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(n, k);
|
|
15
15
|
v((t = t.apply(a, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as ae, $ as ie, S as re, i as se, f as L, c as le, s as ne, b as oe, e as R, d as F, t as j, g as C, k as q, l as p, n as P, o as D, p as T, q as ce, u as ue, w as
|
|
17
|
+
import { a as ae, $ as ie, S as re, i as se, f as L, c as le, s as ne, b as oe, e as R, d as F, t as j, g as C, k as q, l as p, n as P, o as D, p as T, q as ce, u as ue, w as z, m as H, r as de, x as pe, K as A, L as he, a3 as ye, O as fe, y as me } from "./GeneralLogout-CpfJL45A.js";
|
|
18
18
|
function V(a, e) {
|
|
19
19
|
ae(a, e);
|
|
20
20
|
}
|
|
@@ -123,43 +123,43 @@ const N = {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
function ve(a) {
|
|
126
|
-
oe(a, "svelte-
|
|
126
|
+
oe(a, "svelte-z1hv9", '.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerDetailsContent{grid-template-columns:1fr}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerRealityCheckWrapperTablet{padding:40px 25% 100% 25%}.PlayerRealityCheckWrapperTablet .PlayerRealityCheckContent{grid-row-gap:40px}.PlayerRealityCheckWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}');
|
|
127
127
|
}
|
|
128
128
|
function U(a, e, t) {
|
|
129
129
|
const r = a.slice();
|
|
130
130
|
return r[29] = e[t].value, r[30] = e[t].text, r[32] = t, r;
|
|
131
131
|
}
|
|
132
132
|
function ke(a) {
|
|
133
|
-
let e, t, r, i, n, k, v, u,
|
|
133
|
+
let e, t, r, i, n, k, v, u, h, c, s, b = (
|
|
134
134
|
/*$_*/
|
|
135
135
|
a[4]("titleRealityCheck") + ""
|
|
136
|
-
), d,
|
|
136
|
+
), d, y, x, f = (
|
|
137
137
|
/*realityCheckSuccess*/
|
|
138
138
|
a[3] && O(a)
|
|
139
139
|
);
|
|
140
140
|
return {
|
|
141
141
|
c() {
|
|
142
|
-
|
|
142
|
+
f && f.c(), e = F(), t = R("div"), r = z("svg"), i = z("defs"), n = z("style"), k = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), v = z("g"), u = z("g"), h = z("path"), c = F(), s = R("h2"), d = j(b), C(h, "class", "aaa"), C(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), C(h, "transform", "translate(15 15) rotate(180)"), C(u, "transform", "translate(20 158)"), C(v, "transform", "translate(-20 -158)"), C(r, "xmlns", "http://www.w3.org/2000/svg"), C(r, "width", "15"), C(r, "height", "15"), C(r, "viewBox", "0 0 15 15"), C(s, "class", "RealityCheckTitleMobile"), C(t, "class", "MenuReturnButton");
|
|
143
143
|
},
|
|
144
144
|
m(m, g) {
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
f && f.m(m, g), q(m, e, g), q(m, t, g), p(t, r), p(r, i), p(i, n), p(n, k), p(r, v), p(v, u), p(u, h), p(t, c), p(t, s), p(s, d), y || (x = [
|
|
146
|
+
H(
|
|
147
147
|
t,
|
|
148
148
|
"click",
|
|
149
149
|
/*click_handler*/
|
|
150
150
|
a[16]
|
|
151
151
|
),
|
|
152
|
-
|
|
153
|
-
],
|
|
152
|
+
H(t, "keydown", null)
|
|
153
|
+
], y = !0);
|
|
154
154
|
},
|
|
155
155
|
p(m, g) {
|
|
156
156
|
/*realityCheckSuccess*/
|
|
157
|
-
m[3] ?
|
|
157
|
+
m[3] ? f ? f.p(m, g) : (f = O(m), f.c(), f.m(e.parentNode, e)) : f && (f.d(1), f = null), g[0] & /*$_*/
|
|
158
158
|
16 && b !== (b = /*$_*/
|
|
159
159
|
m[4]("titleRealityCheck") + "") && P(d, b);
|
|
160
160
|
},
|
|
161
161
|
d(m) {
|
|
162
|
-
m && (T(e), T(t)),
|
|
162
|
+
m && (T(e), T(t)), f && f.d(m), y = !1, de(x);
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
}
|
|
@@ -212,12 +212,12 @@ function Ce(a) {
|
|
|
212
212
|
let e, t, r, i, n = (
|
|
213
213
|
/*$_*/
|
|
214
214
|
a[4]("setFrequency") + ""
|
|
215
|
-
), k, v, u,
|
|
215
|
+
), k, v, u, h = A(
|
|
216
216
|
/*realityCheckOptions*/
|
|
217
217
|
a[6]
|
|
218
218
|
), c = [];
|
|
219
|
-
for (let s = 0; s <
|
|
220
|
-
c[s] = E(U(a,
|
|
219
|
+
for (let s = 0; s < h.length; s += 1)
|
|
220
|
+
c[s] = E(U(a, h, s));
|
|
221
221
|
return {
|
|
222
222
|
c() {
|
|
223
223
|
e = R("form");
|
|
@@ -230,7 +230,7 @@ function Ce(a) {
|
|
|
230
230
|
q(s, e, b);
|
|
231
231
|
for (let d = 0; d < c.length; d += 1)
|
|
232
232
|
c[d] && c[d].m(e, null);
|
|
233
|
-
p(e, t), p(e, r), p(r, i), p(i, k), v || (u =
|
|
233
|
+
p(e, t), p(e, r), p(r, i), p(i, k), v || (u = H(
|
|
234
234
|
i,
|
|
235
235
|
"click",
|
|
236
236
|
/*submitRealityCheckValue*/
|
|
@@ -240,25 +240,25 @@ function Ce(a) {
|
|
|
240
240
|
p(s, b) {
|
|
241
241
|
if (b[0] & /*realityCheckOptions, realityCheckValue*/
|
|
242
242
|
68) {
|
|
243
|
-
|
|
243
|
+
h = A(
|
|
244
244
|
/*realityCheckOptions*/
|
|
245
245
|
s[6]
|
|
246
246
|
);
|
|
247
247
|
let d;
|
|
248
|
-
for (d = 0; d <
|
|
249
|
-
const
|
|
250
|
-
c[d] ? c[d].p(
|
|
248
|
+
for (d = 0; d < h.length; d += 1) {
|
|
249
|
+
const y = U(s, h, d);
|
|
250
|
+
c[d] ? c[d].p(y, b) : (c[d] = E(y), c[d].c(), c[d].m(e, t));
|
|
251
251
|
}
|
|
252
252
|
for (; d < c.length; d += 1)
|
|
253
253
|
c[d].d(1);
|
|
254
|
-
c.length =
|
|
254
|
+
c.length = h.length;
|
|
255
255
|
}
|
|
256
256
|
b[0] & /*$_*/
|
|
257
257
|
16 && n !== (n = /*$_*/
|
|
258
258
|
s[4]("setFrequency") + "") && P(k, n);
|
|
259
259
|
},
|
|
260
260
|
d(s) {
|
|
261
|
-
s && T(e),
|
|
261
|
+
s && T(e), he(c, s), v = !1, u();
|
|
262
262
|
}
|
|
263
263
|
};
|
|
264
264
|
}
|
|
@@ -288,8 +288,8 @@ function E(a) {
|
|
|
288
288
|
let e, t, r, i, n = (
|
|
289
289
|
/*text*/
|
|
290
290
|
a[30] + ""
|
|
291
|
-
), k, v, u,
|
|
292
|
-
return v =
|
|
291
|
+
), k, v, u, h;
|
|
292
|
+
return v = ye(
|
|
293
293
|
/*$$binding_groups*/
|
|
294
294
|
a[18][0]
|
|
295
295
|
), {
|
|
@@ -300,7 +300,7 @@ function E(a) {
|
|
|
300
300
|
/*value*/
|
|
301
301
|
a[29]
|
|
302
302
|
), t.__value = /*value*/
|
|
303
|
-
a[29],
|
|
303
|
+
a[29], fe(t, t.__value), C(
|
|
304
304
|
i,
|
|
305
305
|
"for",
|
|
306
306
|
/*value*/
|
|
@@ -309,7 +309,7 @@ function E(a) {
|
|
|
309
309
|
},
|
|
310
310
|
m(c, s) {
|
|
311
311
|
q(c, e, s), p(e, t), t.checked = t.__value === /*realityCheckValue*/
|
|
312
|
-
a[2], p(e, r), p(e, i), p(i, k), u || (
|
|
312
|
+
a[2], p(e, r), p(e, i), p(i, k), u || (h = H(
|
|
313
313
|
t,
|
|
314
314
|
"change",
|
|
315
315
|
/*input_change_handler*/
|
|
@@ -322,7 +322,7 @@ function E(a) {
|
|
|
322
322
|
c[2]);
|
|
323
323
|
},
|
|
324
324
|
d(c) {
|
|
325
|
-
c && T(e), v.r(), u = !1,
|
|
325
|
+
c && T(e), v.r(), u = !1, h();
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
328
|
}
|
|
@@ -330,13 +330,13 @@ function we(a) {
|
|
|
330
330
|
let e, t, r, i, n = (
|
|
331
331
|
/*$_*/
|
|
332
332
|
a[4]("titleRealityCheck") + ""
|
|
333
|
-
), k, v, u,
|
|
333
|
+
), k, v, u, h, c = (
|
|
334
334
|
/*$_*/
|
|
335
335
|
a[4]("realityCheckText") + ""
|
|
336
336
|
), s, b, d = (
|
|
337
337
|
/*isMobile*/
|
|
338
338
|
a[5] && ke(a)
|
|
339
|
-
),
|
|
339
|
+
), y = (
|
|
340
340
|
/*realityCheckSuccess*/
|
|
341
341
|
a[3] && W(a)
|
|
342
342
|
);
|
|
@@ -346,44 +346,44 @@ function we(a) {
|
|
|
346
346
|
g[1] ? be : Ce
|
|
347
347
|
);
|
|
348
348
|
}
|
|
349
|
-
let
|
|
349
|
+
let f = x(a), m = f(a);
|
|
350
350
|
return {
|
|
351
351
|
c() {
|
|
352
|
-
e = R("div"), d && d.c(), t = F(),
|
|
352
|
+
e = R("div"), d && d.c(), t = F(), y && y.c(), r = F(), i = R("h2"), k = j(n), v = F(), u = R("div"), h = R("p"), s = j(c), b = F(), m.c(), C(i, "class", "RealityCheckTitle " + /*isMobile*/
|
|
353
353
|
(a[5] ? "RealityCheckTitleNone" : "")), C(u, "class", "RealityCheckDescription " + /*isMobile*/
|
|
354
354
|
(a[5] ? "RealityCheckDescriptionMobile" : "")), C(e, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
|
|
355
355
|
(a[5] ? "PlayerRealityCheckWrapperMobile" : ""));
|
|
356
356
|
},
|
|
357
357
|
m(g, M) {
|
|
358
|
-
q(g, e, M), d && d.m(e, null), p(e, t),
|
|
358
|
+
q(g, e, M), d && d.m(e, null), p(e, t), y && y.m(e, null), p(e, r), p(e, i), p(i, k), p(e, v), p(e, u), p(u, h), p(h, s), p(u, b), m.m(u, null), a[19](e);
|
|
359
359
|
},
|
|
360
360
|
p(g, M) {
|
|
361
361
|
/*isMobile*/
|
|
362
362
|
g[5] && d.p(g, M), /*realityCheckSuccess*/
|
|
363
|
-
g[3] ?
|
|
363
|
+
g[3] ? y ? y.p(g, M) : (y = W(g), y.c(), y.m(e, r)) : y && (y.d(1), y = null), M[0] & /*$_*/
|
|
364
364
|
16 && n !== (n = /*$_*/
|
|
365
365
|
g[4]("titleRealityCheck") + "") && P(k, n), M[0] & /*$_*/
|
|
366
366
|
16 && c !== (c = /*$_*/
|
|
367
|
-
g[4]("realityCheckText") + "") && P(s, c),
|
|
367
|
+
g[4]("realityCheckText") + "") && P(s, c), f === (f = x(g)) && m ? m.p(g, M) : (m.d(1), m = f(g), m && (m.c(), m.m(u, null)));
|
|
368
368
|
},
|
|
369
369
|
i: D,
|
|
370
370
|
o: D,
|
|
371
371
|
d(g) {
|
|
372
|
-
g && T(e), d && d.d(),
|
|
372
|
+
g && T(e), d && d.d(), y && y.d(), m.d(), a[19](null);
|
|
373
373
|
}
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
376
|
function Re(a, e, t) {
|
|
377
377
|
let r;
|
|
378
378
|
ce(a, me, (l) => t(4, r = l));
|
|
379
|
-
let { endpoint: i = "" } = e, { playerid: n = "" } = e, { session: k = "" } = e, { lang: v = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl:
|
|
379
|
+
let { endpoint: i = "" } = e, { playerid: n = "" } = e, { session: k = "" } = e, { lang: v = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: c = "" } = e, s, b = ue(window.navigator.userAgent) !== "PC", d = !0, y, x = !1, f = [];
|
|
380
380
|
const m = () => {
|
|
381
381
|
const l = new URL(`${i}/v1/player/${n}/realitycheck`), o = new Headers();
|
|
382
382
|
o.append("X-SessionID", k);
|
|
383
383
|
const _ = { method: "GET", headers: o };
|
|
384
384
|
fetch(l.href, _).then((w) => w.json()).then(
|
|
385
385
|
(w) => {
|
|
386
|
-
t(2,
|
|
386
|
+
t(2, y = w.UserRealityCheckValue);
|
|
387
387
|
},
|
|
388
388
|
(w) => {
|
|
389
389
|
console.error(w);
|
|
@@ -403,23 +403,23 @@ function Re(a, e, t) {
|
|
|
403
403
|
);
|
|
404
404
|
}, M = (l) => {
|
|
405
405
|
l.forEach((o) => {
|
|
406
|
-
o == 0 ?
|
|
406
|
+
o == 0 ? f.push({
|
|
407
407
|
value: o.toString(),
|
|
408
408
|
text: r("never")
|
|
409
|
-
}) : o < 60 ?
|
|
409
|
+
}) : o < 60 ? f.push({
|
|
410
410
|
value: o.toString(),
|
|
411
411
|
text: o + " " + r("minutes")
|
|
412
|
-
}) : o == 60 ?
|
|
412
|
+
}) : o == 60 ? f.push({
|
|
413
413
|
value: o.toString(),
|
|
414
414
|
text: r("oneHour")
|
|
415
|
-
}) : o > 60 &&
|
|
415
|
+
}) : o > 60 && f.push({
|
|
416
416
|
value: o.toString(),
|
|
417
417
|
text: o / 60 + " " + r("hours")
|
|
418
418
|
});
|
|
419
419
|
});
|
|
420
420
|
}, I = () => S(this, null, function* () {
|
|
421
421
|
const l = new URL(`${i}/v1/player/${n}/realitycheck`), o = new Headers();
|
|
422
|
-
o.append("X-SessionID", k), o.append("Content-Type", "application/json"), o.append("Accept", "application/json"), o.append("realityCheckValue", `${parseInt(
|
|
422
|
+
o.append("X-SessionID", k), o.append("Content-Type", "application/json"), o.append("Accept", "application/json"), o.append("realityCheckValue", `${parseInt(y, 10)}`);
|
|
423
423
|
const _ = { method: "POST", headers: o };
|
|
424
424
|
return yield fetch(l.href, _).then(
|
|
425
425
|
(w) => w.status == 200,
|
|
@@ -466,7 +466,7 @@ function Re(a, e, t) {
|
|
|
466
466
|
let l = document.createElement("style");
|
|
467
467
|
l.innerHTML = u, s.appendChild(l);
|
|
468
468
|
}, Z = () => {
|
|
469
|
-
let l = new URL(
|
|
469
|
+
let l = new URL(h), o = document.createElement("style");
|
|
470
470
|
fetch(l.href).then((_) => _.text()).then((_) => {
|
|
471
471
|
o.innerHTML = _, setTimeout(
|
|
472
472
|
() => {
|
|
@@ -477,7 +477,7 @@ function Re(a, e, t) {
|
|
|
477
477
|
});
|
|
478
478
|
}, Q = [[]], $ = () => B();
|
|
479
479
|
function ee() {
|
|
480
|
-
|
|
480
|
+
y = this.__value, t(2, y);
|
|
481
481
|
}
|
|
482
482
|
function te(l) {
|
|
483
483
|
pe[l ? "unshift" : "push"](() => {
|
|
@@ -485,23 +485,23 @@ function Re(a, e, t) {
|
|
|
485
485
|
});
|
|
486
486
|
}
|
|
487
487
|
return a.$$set = (l) => {
|
|
488
|
-
"endpoint" in l && t(9, i = l.endpoint), "playerid" in l && t(10, n = l.playerid), "session" in l && t(11, k = l.session), "lang" in l && t(12, v = l.lang), "clientstyling" in l && t(13, u = l.clientstyling), "clientstylingurl" in l && t(14,
|
|
488
|
+
"endpoint" in l && t(9, i = l.endpoint), "playerid" in l && t(10, n = l.playerid), "session" in l && t(11, k = l.session), "lang" in l && t(12, v = l.lang), "clientstyling" in l && t(13, u = l.clientstyling), "clientstylingurl" in l && t(14, h = l.clientstylingurl), "translationurl" in l && t(15, c = l.translationurl);
|
|
489
489
|
}, a.$$.update = () => {
|
|
490
490
|
a.$$.dirty[0] & /*lang*/
|
|
491
491
|
4096 && v && J(), a.$$.dirty[0] & /*endpoint, playerid, session*/
|
|
492
492
|
3584 && i && n && k && m(), a.$$.dirty[0] & /*endpoint, playerid, session*/
|
|
493
493
|
3584 && i && n && k && g(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
494
|
-
16385 &&
|
|
494
|
+
16385 && h && s && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
495
495
|
8193 && u && s && Y(), a.$$.dirty[0] & /*translationurl*/
|
|
496
496
|
32768 && c && K();
|
|
497
497
|
}, [
|
|
498
498
|
s,
|
|
499
499
|
d,
|
|
500
|
-
|
|
500
|
+
y,
|
|
501
501
|
x,
|
|
502
502
|
r,
|
|
503
503
|
b,
|
|
504
|
-
|
|
504
|
+
f,
|
|
505
505
|
X,
|
|
506
506
|
B,
|
|
507
507
|
i,
|
|
@@ -509,7 +509,7 @@ function Re(a, e, t) {
|
|
|
509
509
|
k,
|
|
510
510
|
v,
|
|
511
511
|
u,
|
|
512
|
-
|
|
512
|
+
h,
|
|
513
513
|
c,
|
|
514
514
|
$,
|
|
515
515
|
ee,
|
package/components/{PlayerTransactionHistory-BLQrFvTx.js → PlayerTransactionHistory-1P_fFQ9M.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, $ as F, S as O, i as X, f as H, c as D, s as G, b as V, e as w, d as L, t as k, g as d, k as M, l as u, n as E, o as B, p as C, q as Z, u as J, w as _, m as K, x as Q, X as j, y as Y } from "./GeneralLogout-
|
|
1
|
+
import { a as q, $ as F, S as O, i as X, f as H, c as D, s as G, b as V, e as w, d as L, t as k, g as d, k as M, l as u, n as E, o as B, p as C, q as Z, u as J, w as _, m as K, x as Q, X as j, y as Y } from "./GeneralLogout-CpfJL45A.js";
|
|
2
2
|
function z(n, t) {
|
|
3
3
|
q(n, t);
|
|
4
4
|
}
|
package/components/{PlayerTransactionHistory-DJICk5qY.cjs → PlayerTransactionHistory-KkAMcV0S.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BBoBE1Lx.cjs");function w(r,e){t.addMessages(r,e)}function j(r){t.$locale.set(r)}const b={en:{titleTransactionHistory:"Transaction History",loading:"Loading, please wait ..."},"zh-hk":{titleTransactionHistory:"交易記錄",loading:"加載請稍候…"},fr:{titleTransactionHistory:"Historique des transactions",loading:"Chargement, veuillez patienter ..."},ro:{titleTransactionHistory:"Istoric tranzacții",loading:"Se încarcă..."},es:{titleTransactionHistory:"Historial de transacciones",loading:"Cargando ... Por favor espere ..."},pt:{titleTransactionHistory:"Histórico de transações",loading:"Carregando, por favor espere ..."},hr:{titleTransactionHistory:"Povijest transakcija",loading:"Učitavanje"},"pt-br":{titleTransactionHistory:"Histórico de transações",Loading:"Carregando, por favor espere..."},"es-mx":{titleTransactionHistory:"Historial de transacciones",Loading:"Cargando, por favor espere..."}};function B(r){t.append_styles(r,"svelte-t1xo0g",".TransactionHistoryWrapper{background-color:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TransactionHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}")}function z(r){let e,n,l,a,c,p,d,u,g,o,s=r[3]("titleTransactionHistory")+"",m,_,T;return{c(){e=t.element("div"),n=t.svg_element("svg"),l=t.svg_element("defs"),a=t.svg_element("style"),c=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=t.svg_element("g"),d=t.svg_element("g"),u=t.svg_element("path"),g=t.space(),o=t.element("h2"),m=t.text(s),t.attr(u,"class","aaa"),t.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"),t.attr(u,"transform","translate(15 15) rotate(180)"),t.attr(d,"transform","translate(20 158)"),t.attr(p,"transform","translate(-20 -158)"),t.attr(n,"xmlns","http://www.w3.org/2000/svg"),t.attr(n,"width","15"),t.attr(n,"height","15"),t.attr(n,"viewBox","0 0 15 15"),t.attr(o,"class","TransactionHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(h,v){t.insert(h,e,v),t.append(e,n),t.append(n,l),t.append(l,a),t.append(a,c),t.append(n,p),t.append(p,d),t.append(d,u),t.append(e,g),t.append(e,o),t.append(o,m),_||(T=t.listen(e,"click",r[13]),_=!0)},p(h,v){v&8&&s!==(s=h[3]("titleTransactionHistory")+"")&&t.set_data(m,s)},d(h){h&&t.detach(e),_=!1,T()}}}function A(r){let e,n,l;return{c(){e=t.element("div"),n=t.element("iframe"),t.src_url_equal(n.src,l=r[2])||t.attr(n,"src",l),t.attr(n,"title","Transaction History Iframe"),t.attr(e,"class","TransactionHistoryIframeWrapper")},m(a,c){t.insert(a,e,c),t.append(e,n)},p(a,c){c&4&&!t.src_url_equal(n.src,l=a[2])&&t.attr(n,"src",l)},d(a){a&&t.detach(e)}}}function I(r){let e,n=r[3]("loading")+"",l;return{c(){e=t.element("p"),l=t.text(n)},m(a,c){t.insert(a,e,c),t.append(e,l)},p(a,c){c&8&&n!==(n=a[3]("loading")+"")&&t.set_data(l,n)},d(a){a&&t.detach(e)}}}function P(r){let e,n,l,a=r[3]("titleTransactionHistory")+"",c,p,d=r[4]&&z(r);function u(s,m){return s[1]?I:A}let g=u(r),o=g(r);return{c(){e=t.element("div"),d&&d.c(),n=t.space(),l=t.element("h2"),c=t.text(a),p=t.space(),o.c(),t.attr(l,"class","TransactionHistoryTitle "+(r[4]?"TransactionHistoryTitleNone":"")),t.attr(e,"class","TransactionHistoryWrapper "+(r[4]?"TransactionHistoryWrapperMobile":""))},m(s,m){t.insert(s,e,m),d&&d.m(e,null),t.append(e,n),t.append(e,l),t.append(l,c),t.append(e,p),o.m(e,null),r[14](e)},p(s,[m]){s[4]&&d.p(s,m),m&8&&a!==(a=s[3]("titleTransactionHistory")+"")&&t.set_data(c,a),g===(g=u(s))&&o?o.p(s,m):(o.d(1),o=g(s),o&&(o.c(),o.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),d&&d.d(),o.d(),r[14](null)}}}function R(r,e,n){let l;t.component_subscribe(r,t.$format,i=>n(3,l=i));let{endpoint:a=""}=e,{session:c=""}=e,{playerid:p=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:g=""}=e,{translationurl:o=""}=e,s,m=window.navigator.userAgent,_=t.getDevice(m)!=="PC",T=!0,h="";const v=()=>{fetch(o).then(y=>y.json()).then(y=>{Object.keys(y).forEach(f=>{w(f,y[f])})}).catch(y=>{console.log(y)})};Object.keys(b).forEach(i=>{w(i,b[i])});const H=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:_},window.location.href)},M=()=>{let i=new URL(`${a}/v1/player/${p}/hostedcashier/customertransactionhistoryurl`);i.searchParams.append("language",d);let y={method:"GET",headers:{"X-SessionId":c,accept:"application/json"}};fetch(i.href,y).then(f=>f.json()).then(f=>{n(1,T=!1),n(2,h=f.CashierUrl)},f=>{console.error(f)})},k=()=>{j(d)},L=()=>{let i=document.createElement("style");i.innerHTML=u,s.appendChild(i)},C=()=>{let i=new URL(g),y=document.createElement("style");fetch(i.href).then(f=>f.text()).then(f=>{y.innerHTML=f,setTimeout(()=>{s.appendChild(y)},1)})},S=()=>H();function E(i){t.binding_callbacks[i?"unshift":"push"](()=>{s=i,n(0,s)})}return r.$$set=i=>{"endpoint"in i&&n(6,a=i.endpoint),"session"in i&&n(7,c=i.session),"playerid"in i&&n(8,p=i.playerid),"lang"in i&&n(9,d=i.lang),"clientstyling"in i&&n(10,u=i.clientstyling),"clientstylingurl"in i&&n(11,g=i.clientstylingurl),"translationurl"in i&&n(12,o=i.translationurl)},r.$$.update=()=>{r.$$.dirty&512&&d&&k(),r.$$.dirty&960&&c&&p&&a&&d&&M(),r.$$.dirty&2049&&g&&s&&C(),r.$$.dirty&1025&&u&&s&&L(),r.$$.dirty&4096&&o&&v()},[s,T,h,l,_,H,a,c,p,d,u,g,o,S,E]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,R,P,t.safe_not_equal,{endpoint:6,session:7,playerid:8,lang:9,clientstyling:10,clientstylingurl:11,translationurl:12},B)}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),t.flush()}get playerid(){return this.$$.ctx[8]}set playerid(e){this.$$set({playerid:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(x,{endpoint:{},session:{},playerid:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, $ as X, S as V, i as Z, f as b, c as J, s as K, b as Q, e as W, d as S, t as x, g as d, k as P, l as h, n as R, o as U, p as T, q as Y, u as $, v as ee, w as k, m as te, x as ae, X as D, y as re } from "./GeneralLogout-
|
|
1
|
+
import { a as q, $ as X, S as V, i as Z, f as b, c as J, s as K, b as Q, e as W, d as S, t as x, g as d, k as P, l as h, n as R, o as U, p as T, q as Y, u as $, v as ee, w as k, m as te, x as ae, X as D, y as re } from "./GeneralLogout-CpfJL45A.js";
|
|
2
2
|
function I(r, e) {
|
|
3
3
|
q(r, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BBoBE1Lx.cjs");function x(l,t){e.addMessages(l,t)}function j(l){e.$locale.set(l)}const P={en:{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."},"zh-hk":{titlePlayerWithdrawal:"退出",loading:"加載請稍候…"},fr:{titlePlayerWithdrawal:"Retrait",loading:"Chargement, veuillez patienter ..."},ro:{titlePlayerWithdrawal:"Retragere",loading:"Se încarcă..."},es:{titlePlayerWithdrawal:"Retirar",loading:"Cargando..."},pt:{titlePlayerWithdrawal:"Retirada",loading:"Carregando, por favor espere ..."},hr:{titlePlayerWithdrawal:"Isplata",loading:"Učitavanje"}};function D(l){e.append_styles(l,"svelte-1hcnj8g","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function I(l){let t,r,s,n,c,h,d,p,m,o,i=l[3]("titlePlayerWithdrawal")+"",u,g,v;return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("defs"),n=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),m=e.space(),o=e.element("h2"),u=e.text(i),e.attr(p,"class","aaa"),e.attr(p,"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(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(h,"transform","translate(-20 -158)"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(r,"width","15"),e.attr(r,"height","15"),e.attr(r,"viewBox","0 0 15 15"),e.attr(o,"class","WithdrawalTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(y,_){e.insert(y,t,_),e.append(t,r),e.append(r,s),e.append(s,n),e.append(n,c),e.append(r,h),e.append(h,d),e.append(d,p),e.append(t,m),e.append(t,o),e.append(o,u),g||(v=e.listen(t,"click",l[15]),g=!0)},p(y,_){_&8&&i!==(i=y[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(y){y&&e.detach(t),g=!1,v()}}}function z(l){let t,r,s;return{c(){t=e.element("div"),r=e.element("iframe"),e.src_url_equal(r.src,s=l[2])||e.attr(r,"src",s),e.attr(r,"title","Withdrawal Iframe"),e.attr(t,"class","WithdrawalIframeWrapper")},m(n,c){e.insert(n,t,c),e.append(t,r)},p(n,c){c&4&&!e.src_url_equal(r.src,s=n[2])&&e.attr(r,"src",s)},d(n){n&&e.detach(t)}}}function A(l){let t,r=l[3]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(r)},m(n,c){e.insert(n,t,c),e.append(t,s)},p(n,c){c&8&&r!==(r=n[3]("loading")+"")&&e.set_data(s,r)},d(n){n&&e.detach(t)}}}function H(l){let t,r,s,n=l[3]("titlePlayerWithdrawal")+"",c,h,d=l[4]&&I(l);function p(i,u){return i[1]?A:z}let m=p(l),o=m(l);return{c(){t=e.element("div"),d&&d.c(),r=e.space(),s=e.element("h2"),c=e.text(n),h=e.space(),o.c(),e.attr(s,"class","WithdrawalTitle "+(l[4]?"WithdrawalTitleNone":"")),e.attr(t,"class","WithdrawalWrapper "+(l[4]?"WithdrawalWrapperMobile":""))},m(i,u){e.insert(i,t,u),d&&d.m(t,null),e.append(t,r),e.append(t,s),e.append(s,c),e.append(t,h),o.m(t,null),l[16](t)},p(i,[u]){i[4]&&d.p(i,u),u&8&&n!==(n=i[3]("titlePlayerWithdrawal")+"")&&e.set_data(c,n),m===(m=p(i))&&o?o.p(i,u):(o.d(1),o=m(i),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(i){i&&e.detach(t),d&&d.d(),o.d(),l[16](null)}}}function F(l,t,r){let s;e.component_subscribe(l,e.$format,a=>r(3,s=a));let{endpoint:n=""}=t,{session:c=""}=t,{playerid:h=""}=t,{lang:d="en"}=t,{hasdefaultamount:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:o=""}=t,{translationurl:i=""}=t,{playercurrency:u=""}=t,g,v=window.navigator.userAgent,y=e.getDevice(v)!=="PC",_=!0,b=0,W="";const C=()=>{fetch(i).then(w=>w.json()).then(w=>{Object.keys(w).forEach(f=>{x(f,w[f])})}).catch(w=>{console.log(w)})};Object.keys(P).forEach(a=>{x(a,P[a])});const M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},k=a=>{if(a.data){switch(a.data.type){case"ProfileDetailsData":r(6,u=a.data.profileDetails.currency);break}switch(a.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break}}},S=()=>{let a=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(a.searchParams.append("language",d),p)switch(u){case"USD":b=.4;break;case"CDF":b=1e3;break}let w={method:"POST",headers:{"X-SessionId":c,currency:u||"EUR",amount:b,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}};fetch(a.href,w).then(f=>f.json()).then(f=>{r(1,_=!1),r(2,W=f.CashierUrl)},f=>{console.error(f)})},L=()=>{j(d)},R=()=>{let a=document.createElement("style");a.innerHTML=m,g.appendChild(a)},E=()=>{let a=new URL(o),w=document.createElement("style");fetch(a.href).then(f=>f.text()).then(f=>{w.innerHTML=f,setTimeout(()=>{g.appendChild(w)},1)})};e.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const B=()=>M();function U(a){e.binding_callbacks[a?"unshift":"push"](()=>{g=a,r(0,g)})}return l.$$set=a=>{"endpoint"in a&&r(7,n=a.endpoint),"session"in a&&r(8,c=a.session),"playerid"in a&&r(9,h=a.playerid),"lang"in a&&r(10,d=a.lang),"hasdefaultamount"in a&&r(11,p=a.hasdefaultamount),"clientstyling"in a&&r(12,m=a.clientstyling),"clientstylingurl"in a&&r(13,o=a.clientstylingurl),"translationurl"in a&&r(14,i=a.translationurl),"playercurrency"in a&&r(6,u=a.playercurrency)},l.$$.update=()=>{l.$$.dirty&1024&&d&&L(),l.$$.dirty&8193&&o&&g&&E(),l.$$.dirty&4097&&m&&g&&R(),l.$$.dirty&16384&&i&&C(),l.$$.dirty&1984&&c&&h&&n&&u&&d&&S()},[g,_,W,s,y,M,u,n,c,h,d,p,m,o,i,B,U]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,F,H,e.safe_not_equal,{endpoint:7,session:8,playerid:9,lang:10,hasdefaultamount:11,clientstyling:12,clientstylingurl:13,translationurl:14,playercurrency:6},D)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[8]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[9]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[11]}set hasdefaultamount(t){this.$$set({hasdefaultamount: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()}get playercurrency(){return this.$$.ctx[6]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}}e.create_custom_element(T,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},playercurrency:{}},[],[],!0);exports.default=T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountControllerNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountControllerNd-CuHyqivG.cjs")).then(({default:t})=>{!customElements.get("player-account-controller-nd")&&customElements.define("player-account-controller-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountControllerNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountControllerNd-BSVMbuxt.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-controller-nd") && customElements.define("player-account-controller-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|