@everymatrix/player-account-controller-nd 1.45.0 → 1.45.2
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-Dur72yyv.js → GeneralLogout-DI0_2Ld2.js} +245 -245
- package/components/{GeneralLogout-WbaN9lE3.cjs → GeneralLogout-bc8vhI_H.cjs} +5 -5
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +1 -0
- package/components/PlayerAccountBettingHistory-p8-C5d_q.js +328 -0
- package/components/PlayerAccountBiometrics-36-jzvmv.js +300 -0
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +1 -0
- package/components/PlayerAccountClosureNd-DWE1BQjS.cjs +1 -0
- package/components/PlayerAccountClosureNd-DpV3ccPJ.js +339 -0
- package/components/PlayerAccountControllerNd-B2whVamd.cjs +1 -0
- package/components/{PlayerAccountControllerNd-DCbqnbg6.js → PlayerAccountControllerNd-Cn1L8BfZ.js} +2011 -2011
- package/components/{PlayerAccountGamingLimits-C2xXDjZV.js → PlayerAccountGamingLimits-X6i1dxNz.js} +183 -183
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-_s70hpGn.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-DmQ9XuZB.js → PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js} +966 -966
- package/components/PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2-_p2IXses.cjs → PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-fOH4qSJR.js → PlayerAccountGamingLimitsHistory2-BkYPsgPu.js} +1 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-DTrLCGCx.js → PlayerAccountGamingLimitsInfoCard-DQkGickX.js} +351 -351
- package/components/PlayerAccountGamingLimitsPage2Gm16-DSOYjGfv.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-1ZR10Ej8.js → PlayerAccountGamingLimitsPage2Gm16-DoQKbVDC.js} +851 -851
- package/components/{PlayerAccountGamingLimitsPopup-Bss_FRfq.js → PlayerAccountGamingLimitsPopup-BRVwX_uG.js} +79 -77
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DqM8a5cp.js → PlayerAccountGamingLimitsWrapper2Nd-Bww6zBy7.js} +140 -140
- package/components/PlayerAccountGamingLimitsWrapper2Nd-LjReoru-.cjs +1 -0
- package/components/PlayerAccountMenuNd-BdhvWQDA.js +587 -0
- package/components/PlayerAccountMenuNd-uyqoX0xo.cjs +1 -0
- package/components/{PlayerAccountModal-BQ2N-DK2.js → PlayerAccountModal-BK_133rp.js} +49 -49
- package/components/PlayerAccountModal-CIR41mpM.cjs +1 -0
- package/components/PlayerAccountNotifications-COx0wvVZ.js +261 -0
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +1 -0
- package/components/{PlayerAccountSelfExclusionNd-Bx9an6cr.js → PlayerAccountSelfExclusionNd-B1PSYs3p.js} +1778 -1778
- package/components/{PlayerAccountSelfExclusionNd-BuzzsS0G.cjs → PlayerAccountSelfExclusionNd-CUN7qWEA.cjs} +125 -125
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +1 -0
- package/components/{PlayerAccountTimeout-DAzcm92_.js → PlayerAccountTimeout-DMvUsWoq.js} +106 -106
- package/components/PlayerActiveBonuses-CpEieMUG.js +986 -0
- package/components/PlayerActiveBonuses-bY0Y51Al.cjs +1 -0
- package/components/PlayerBonusCard-DGoTFlMq.js +565 -0
- package/components/PlayerBonusCard-DdxYH7lf.cjs +1 -0
- package/components/PlayerBonusHistory-DdGgXcKX.cjs +1 -0
- package/components/PlayerBonusHistory-rFWrF_Pj.js +840 -0
- package/components/PlayerChangePassword-BDyXZ2_q.cjs +3 -0
- package/components/PlayerChangePassword-BkRFX3fB.js +1161 -0
- package/components/PlayerDeposit-CYpXuZIT.cjs +1 -0
- package/components/PlayerDeposit-T-QxU0tF.js +395 -0
- package/components/PlayerGamingHistory-DCOFqQCz.js +920 -0
- package/components/PlayerGamingHistory-DXX4_ApI.cjs +1 -0
- package/components/PlayerPendingWithdrawals-DR9D_EFU.js +307 -0
- package/components/PlayerPendingWithdrawals-Dn63yKxo.cjs +1 -0
- package/components/PlayerProfileInfo-CmcXF1Sx.js +1707 -0
- package/components/PlayerProfileInfo-CsWD1vK0.cjs +1 -0
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +1 -0
- package/components/PlayerRealityCheck-CRHHpeWT.js +587 -0
- package/components/PlayerTransactionHistory-DJICk5qY.cjs +1 -0
- package/components/PlayerTransactionHistory-HQMXVkZj.js +311 -0
- package/components/PlayerWithdrawal-BToCctRz.js +365 -0
- package/components/PlayerWithdrawal-DuxGAxKs.cjs +1 -0
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/package.json +2 -2
- package/components/PlayerAccountBettingHistory-BWMEGhv1.js +0 -328
- package/components/PlayerAccountBettingHistory-CvFzGDm4.cjs +0 -1
- package/components/PlayerAccountBiometrics--Rc4hXU1.cjs +0 -1
- package/components/PlayerAccountBiometrics-ByG3_I95.js +0 -300
- package/components/PlayerAccountClosureNd-034rDNz4.cjs +0 -1
- package/components/PlayerAccountClosureNd-DZTrmidg.js +0 -339
- package/components/PlayerAccountControllerNd-BAD6QpiV.cjs +0 -1
- package/components/PlayerAccountGamingLimits-Dtw0RzGI.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-CL8VasWX.js +0 -306
- package/components/PlayerAccountGamingLimitsConfirmationModal-Cvsvauqa.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-tfKhIo7R.cjs +0 -10
- package/components/PlayerAccountGamingLimitsInfoCard--AbjEx7s.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dymt7LmL.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-DVEuryoE.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-D3v3WC8t.cjs +0 -1
- package/components/PlayerAccountMenuNd-CBH9HOGY.js +0 -587
- package/components/PlayerAccountMenuNd-CvdxB7NH.cjs +0 -1
- package/components/PlayerAccountModal-DpMfe1gv.cjs +0 -1
- package/components/PlayerAccountNotifications-Dwb_RDr0.cjs +0 -1
- package/components/PlayerAccountNotifications-QmKY9-B0.js +0 -261
- package/components/PlayerAccountTimeout-dxzuaoP9.cjs +0 -1
- package/components/PlayerActiveBonuses-BcPMSj2n.js +0 -986
- package/components/PlayerActiveBonuses-D0-qI8iz.cjs +0 -1
- package/components/PlayerBonusCard-BoENnXsd.cjs +0 -1
- package/components/PlayerBonusCard-DhNWEP3Y.js +0 -565
- package/components/PlayerBonusHistory-CKKn9KgY.js +0 -840
- package/components/PlayerBonusHistory-DoxmVui6.cjs +0 -1
- package/components/PlayerChangePassword-BC6buQCz.js +0 -1161
- package/components/PlayerChangePassword-RpQIhFff.cjs +0 -3
- package/components/PlayerDeposit-B7M0Rg-o.js +0 -395
- package/components/PlayerDeposit-COhpfcRx.cjs +0 -1
- package/components/PlayerGamingHistory-DIk73kDr.js +0 -920
- package/components/PlayerGamingHistory-Dbafpt79.cjs +0 -1
- package/components/PlayerPendingWithdrawals-CVBvRj42.cjs +0 -1
- package/components/PlayerPendingWithdrawals-CxklAVTc.js +0 -307
- package/components/PlayerProfileInfo-BeD6hzPW.cjs +0 -1
- package/components/PlayerProfileInfo-CoKc-eaN.js +0 -1707
- package/components/PlayerRealityCheck-B37H9_Rn.cjs +0 -1
- package/components/PlayerRealityCheck-DekJHe9F.js +0 -587
- package/components/PlayerTransactionHistory-CxYO3lnm.cjs +0 -1
- package/components/PlayerTransactionHistory-D7Tba-Nn.js +0 -311
- package/components/PlayerWithdrawal-BQyz5UQ7.js +0 -365
- package/components/PlayerWithdrawal-DYkzBPcQ.cjs +0 -1
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import { a as q, $ as F, S as O, i as X, f as T, c as D, s as G, b as V, e as x, d as L, t as k, g as u, k as M, l as g, n as E, o as B, p as C, q as Z, u as J, w, m as K, x as Q, X as j, y as Y } from "./GeneralLogout-Dur72yyv.js";
|
|
2
|
-
function z(s, t) {
|
|
3
|
-
q(s, t);
|
|
4
|
-
}
|
|
5
|
-
function $(s) {
|
|
6
|
-
F.set(s);
|
|
7
|
-
}
|
|
8
|
-
const A = {
|
|
9
|
-
en: {
|
|
10
|
-
titleTransactionHistory: "Transaction History",
|
|
11
|
-
loading: "Loading, please wait ..."
|
|
12
|
-
},
|
|
13
|
-
"zh-hk": {
|
|
14
|
-
titleTransactionHistory: "交易記錄",
|
|
15
|
-
loading: "加載請稍候…"
|
|
16
|
-
},
|
|
17
|
-
fr: {
|
|
18
|
-
titleTransactionHistory: "Historique des transactions",
|
|
19
|
-
loading: "Chargement, veuillez patienter ..."
|
|
20
|
-
},
|
|
21
|
-
ro: {
|
|
22
|
-
titleTransactionHistory: "Istoric tranzacții",
|
|
23
|
-
loading: "Se încarcă..."
|
|
24
|
-
},
|
|
25
|
-
es: {
|
|
26
|
-
titleTransactionHistory: "Historial de transacciones",
|
|
27
|
-
loading: "Cargando ... Por favor espere ..."
|
|
28
|
-
},
|
|
29
|
-
pt: {
|
|
30
|
-
titleTransactionHistory: "Histórico de transações",
|
|
31
|
-
loading: "Carregando, por favor espere ..."
|
|
32
|
-
},
|
|
33
|
-
hr: {
|
|
34
|
-
titleTransactionHistory: "Povijest transakcija",
|
|
35
|
-
loading: "Učitavanje"
|
|
36
|
-
},
|
|
37
|
-
"pt-br": {
|
|
38
|
-
titleTransactionHistory: "Histórico de transações",
|
|
39
|
-
Loading: "Carregando, por favor espere..."
|
|
40
|
-
},
|
|
41
|
-
"es-mx": {
|
|
42
|
-
titleTransactionHistory: "Historial de transacciones",
|
|
43
|
-
Loading: "Cargando, por favor espere..."
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
function tt(s) {
|
|
47
|
-
V(s, "svelte-1xs1sug", ".TransactionHistoryWrapper.svelte-1xs1sug.svelte-1xs1sug{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.svelte-1xs1sug.svelte-1xs1sug{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton.svelte-1xs1sug.svelte-1xs1sug{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton.svelte-1xs1sug svg.svelte-1xs1sug{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TransactionHistoryTitle.svelte-1xs1sug.svelte-1xs1sug{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.svelte-1xs1sug.svelte-1xs1sug{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone.svelte-1xs1sug.svelte-1xs1sug{display:none}.TransactionHistoryIframeWrapper.svelte-1xs1sug iframe.svelte-1xs1sug{border:none;width:100%;height:85vh}");
|
|
48
|
-
}
|
|
49
|
-
function et(s) {
|
|
50
|
-
let t, e, a, i, o, y, c, d, f, l, r = (
|
|
51
|
-
/*$_*/
|
|
52
|
-
s[3]("titleTransactionHistory") + ""
|
|
53
|
-
), m, H, _;
|
|
54
|
-
return {
|
|
55
|
-
c() {
|
|
56
|
-
t = x("div"), e = w("svg"), a = w("defs"), i = w("style"), o = k(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = w("g"), c = w("g"), d = w("path"), f = L(), l = x("h2"), m = k(r), u(d, "class", "aaa"), u(d, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), u(d, "transform", "translate(15 15) rotate(180)"), u(c, "transform", "translate(20 158)"), u(y, "transform", "translate(-20 -158)"), u(e, "xmlns", "http://www.w3.org/2000/svg"), u(e, "width", "15"), u(e, "height", "15"), u(e, "viewBox", "0 0 15 15"), u(e, "class", "svelte-1xs1sug"), u(l, "class", "TransactionHistoryTitleMobile svelte-1xs1sug"), u(t, "class", "MenuReturnButton svelte-1xs1sug");
|
|
57
|
-
},
|
|
58
|
-
m(v, b) {
|
|
59
|
-
M(v, t, b), g(t, e), g(e, a), g(a, i), g(i, o), g(e, y), g(y, c), g(c, d), g(t, f), g(t, l), g(l, m), H || (_ = K(
|
|
60
|
-
t,
|
|
61
|
-
"click",
|
|
62
|
-
/*click_handler*/
|
|
63
|
-
s[13]
|
|
64
|
-
), H = !0);
|
|
65
|
-
},
|
|
66
|
-
p(v, b) {
|
|
67
|
-
b & /*$_*/
|
|
68
|
-
8 && r !== (r = /*$_*/
|
|
69
|
-
v[3]("titleTransactionHistory") + "") && E(m, r);
|
|
70
|
-
},
|
|
71
|
-
d(v) {
|
|
72
|
-
v && C(t), H = !1, _();
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
function st(s) {
|
|
77
|
-
let t, e, a;
|
|
78
|
-
return {
|
|
79
|
-
c() {
|
|
80
|
-
t = x("div"), e = x("iframe"), j(e.src, a = /*iframeUrl*/
|
|
81
|
-
s[2]) || u(e, "src", a), u(e, "title", "Transaction History Iframe"), u(e, "class", "svelte-1xs1sug"), u(t, "class", "TransactionHistoryIframeWrapper svelte-1xs1sug");
|
|
82
|
-
},
|
|
83
|
-
m(i, o) {
|
|
84
|
-
M(i, t, o), g(t, e);
|
|
85
|
-
},
|
|
86
|
-
p(i, o) {
|
|
87
|
-
o & /*iframeUrl*/
|
|
88
|
-
4 && !j(e.src, a = /*iframeUrl*/
|
|
89
|
-
i[2]) && u(e, "src", a);
|
|
90
|
-
},
|
|
91
|
-
d(i) {
|
|
92
|
-
i && C(t);
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
function nt(s) {
|
|
97
|
-
let t, e = (
|
|
98
|
-
/*$_*/
|
|
99
|
-
s[3]("loading") + ""
|
|
100
|
-
), a;
|
|
101
|
-
return {
|
|
102
|
-
c() {
|
|
103
|
-
t = x("p"), a = k(e);
|
|
104
|
-
},
|
|
105
|
-
m(i, o) {
|
|
106
|
-
M(i, t, o), g(t, a);
|
|
107
|
-
},
|
|
108
|
-
p(i, o) {
|
|
109
|
-
o & /*$_*/
|
|
110
|
-
8 && e !== (e = /*$_*/
|
|
111
|
-
i[3]("loading") + "") && E(a, e);
|
|
112
|
-
},
|
|
113
|
-
d(i) {
|
|
114
|
-
i && C(t);
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
function it(s) {
|
|
119
|
-
let t, e, a, i = (
|
|
120
|
-
/*$_*/
|
|
121
|
-
s[3]("titleTransactionHistory") + ""
|
|
122
|
-
), o, y, c = (
|
|
123
|
-
/*isMobile*/
|
|
124
|
-
s[4] && et(s)
|
|
125
|
-
);
|
|
126
|
-
function d(r, m) {
|
|
127
|
-
return (
|
|
128
|
-
/*isLoading*/
|
|
129
|
-
r[1] ? nt : st
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
let f = d(s), l = f(s);
|
|
133
|
-
return {
|
|
134
|
-
c() {
|
|
135
|
-
t = x("div"), c && c.c(), e = L(), a = x("h2"), o = k(i), y = L(), l.c(), u(a, "class", "TransactionHistoryTitle " + /*isMobile*/
|
|
136
|
-
(s[4] ? "TransactionHistoryTitleNone" : "") + " svelte-1xs1sug"), u(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
|
|
137
|
-
(s[4] ? "TransactionHistoryWrapperMobile" : "") + " svelte-1xs1sug");
|
|
138
|
-
},
|
|
139
|
-
m(r, m) {
|
|
140
|
-
M(r, t, m), c && c.m(t, null), g(t, e), g(t, a), g(a, o), g(t, y), l.m(t, null), s[14](t);
|
|
141
|
-
},
|
|
142
|
-
p(r, [m]) {
|
|
143
|
-
/*isMobile*/
|
|
144
|
-
r[4] && c.p(r, m), m & /*$_*/
|
|
145
|
-
8 && i !== (i = /*$_*/
|
|
146
|
-
r[3]("titleTransactionHistory") + "") && E(o, i), f === (f = d(r)) && l ? l.p(r, m) : (l.d(1), l = f(r), l && (l.c(), l.m(t, null)));
|
|
147
|
-
},
|
|
148
|
-
i: B,
|
|
149
|
-
o: B,
|
|
150
|
-
d(r) {
|
|
151
|
-
r && C(t), c && c.d(), l.d(), s[14](null);
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
function rt(s, t, e) {
|
|
156
|
-
let a;
|
|
157
|
-
Z(s, Y, (n) => e(3, a = n));
|
|
158
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: y = "" } = t, { lang: c = "en" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: l = "" } = t, r, m = window.navigator.userAgent, H = J(m) !== "PC", _ = !0, v = "";
|
|
159
|
-
const b = () => {
|
|
160
|
-
fetch(l).then((h) => h.json()).then((h) => {
|
|
161
|
-
Object.keys(h).forEach((p) => {
|
|
162
|
-
z(p, h[p]);
|
|
163
|
-
});
|
|
164
|
-
}).catch((h) => {
|
|
165
|
-
console.log(h);
|
|
166
|
-
});
|
|
167
|
-
};
|
|
168
|
-
Object.keys(A).forEach((n) => {
|
|
169
|
-
z(n, A[n]);
|
|
170
|
-
});
|
|
171
|
-
const S = () => {
|
|
172
|
-
window.postMessage(
|
|
173
|
-
{
|
|
174
|
-
type: "PlayerAccountMenuActive",
|
|
175
|
-
isMobile: H
|
|
176
|
-
},
|
|
177
|
-
window.location.href
|
|
178
|
-
);
|
|
179
|
-
}, I = () => {
|
|
180
|
-
let n = new URL(`${i}/v1/player/${y}/hostedcashier/customertransactionhistoryurl`);
|
|
181
|
-
n.searchParams.append("language", c);
|
|
182
|
-
let h = {
|
|
183
|
-
method: "GET",
|
|
184
|
-
headers: {
|
|
185
|
-
"X-SessionId": o,
|
|
186
|
-
accept: "application/json"
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
fetch(n.href, h).then((p) => p.json()).then(
|
|
190
|
-
(p) => {
|
|
191
|
-
e(1, _ = !1), e(2, v = p.CashierUrl);
|
|
192
|
-
},
|
|
193
|
-
(p) => {
|
|
194
|
-
console.error(p);
|
|
195
|
-
}
|
|
196
|
-
);
|
|
197
|
-
}, R = () => {
|
|
198
|
-
$(c);
|
|
199
|
-
}, U = () => {
|
|
200
|
-
let n = document.createElement("style");
|
|
201
|
-
n.innerHTML = d, r.appendChild(n);
|
|
202
|
-
}, W = () => {
|
|
203
|
-
let n = new URL(f), h = document.createElement("style");
|
|
204
|
-
fetch(n.href).then((p) => p.text()).then((p) => {
|
|
205
|
-
h.innerHTML = p, setTimeout(
|
|
206
|
-
() => {
|
|
207
|
-
r.appendChild(h);
|
|
208
|
-
},
|
|
209
|
-
1
|
|
210
|
-
);
|
|
211
|
-
});
|
|
212
|
-
}, P = () => S();
|
|
213
|
-
function N(n) {
|
|
214
|
-
Q[n ? "unshift" : "push"](() => {
|
|
215
|
-
r = n, e(0, r);
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
return s.$$set = (n) => {
|
|
219
|
-
"endpoint" in n && e(6, i = n.endpoint), "session" in n && e(7, o = n.session), "playerid" in n && e(8, y = n.playerid), "lang" in n && e(9, c = n.lang), "clientstyling" in n && e(10, d = n.clientstyling), "clientstylingurl" in n && e(11, f = n.clientstylingurl), "translationurl" in n && e(12, l = n.translationurl);
|
|
220
|
-
}, s.$$.update = () => {
|
|
221
|
-
s.$$.dirty & /*lang*/
|
|
222
|
-
512 && c && R(), s.$$.dirty & /*session, playerid, endpoint, lang*/
|
|
223
|
-
960 && o && y && i && c && I(), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
224
|
-
2049 && f && r && W(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
225
|
-
1025 && d && r && U(), s.$$.dirty & /*translationurl*/
|
|
226
|
-
4096 && l && b();
|
|
227
|
-
}, [
|
|
228
|
-
r,
|
|
229
|
-
_,
|
|
230
|
-
v,
|
|
231
|
-
a,
|
|
232
|
-
H,
|
|
233
|
-
S,
|
|
234
|
-
i,
|
|
235
|
-
o,
|
|
236
|
-
y,
|
|
237
|
-
c,
|
|
238
|
-
d,
|
|
239
|
-
f,
|
|
240
|
-
l,
|
|
241
|
-
P,
|
|
242
|
-
N
|
|
243
|
-
];
|
|
244
|
-
}
|
|
245
|
-
class at extends O {
|
|
246
|
-
constructor(t) {
|
|
247
|
-
super(), X(
|
|
248
|
-
this,
|
|
249
|
-
t,
|
|
250
|
-
rt,
|
|
251
|
-
it,
|
|
252
|
-
G,
|
|
253
|
-
{
|
|
254
|
-
endpoint: 6,
|
|
255
|
-
session: 7,
|
|
256
|
-
playerid: 8,
|
|
257
|
-
lang: 9,
|
|
258
|
-
clientstyling: 10,
|
|
259
|
-
clientstylingurl: 11,
|
|
260
|
-
translationurl: 12
|
|
261
|
-
},
|
|
262
|
-
tt
|
|
263
|
-
);
|
|
264
|
-
}
|
|
265
|
-
get endpoint() {
|
|
266
|
-
return this.$$.ctx[6];
|
|
267
|
-
}
|
|
268
|
-
set endpoint(t) {
|
|
269
|
-
this.$$set({ endpoint: t }), T();
|
|
270
|
-
}
|
|
271
|
-
get session() {
|
|
272
|
-
return this.$$.ctx[7];
|
|
273
|
-
}
|
|
274
|
-
set session(t) {
|
|
275
|
-
this.$$set({ session: t }), T();
|
|
276
|
-
}
|
|
277
|
-
get playerid() {
|
|
278
|
-
return this.$$.ctx[8];
|
|
279
|
-
}
|
|
280
|
-
set playerid(t) {
|
|
281
|
-
this.$$set({ playerid: t }), T();
|
|
282
|
-
}
|
|
283
|
-
get lang() {
|
|
284
|
-
return this.$$.ctx[9];
|
|
285
|
-
}
|
|
286
|
-
set lang(t) {
|
|
287
|
-
this.$$set({ lang: t }), T();
|
|
288
|
-
}
|
|
289
|
-
get clientstyling() {
|
|
290
|
-
return this.$$.ctx[10];
|
|
291
|
-
}
|
|
292
|
-
set clientstyling(t) {
|
|
293
|
-
this.$$set({ clientstyling: t }), T();
|
|
294
|
-
}
|
|
295
|
-
get clientstylingurl() {
|
|
296
|
-
return this.$$.ctx[11];
|
|
297
|
-
}
|
|
298
|
-
set clientstylingurl(t) {
|
|
299
|
-
this.$$set({ clientstylingurl: t }), T();
|
|
300
|
-
}
|
|
301
|
-
get translationurl() {
|
|
302
|
-
return this.$$.ctx[12];
|
|
303
|
-
}
|
|
304
|
-
set translationurl(t) {
|
|
305
|
-
this.$$set({ translationurl: t }), T();
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
D(at, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
309
|
-
export {
|
|
310
|
-
at as default
|
|
311
|
-
};
|
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
import { a as q, $ as X, S as V, i as Z, f as v, c as J, s as K, b as Q, e as W, d as S, t as x, g as o, 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 le } from "./GeneralLogout-Dur72yyv.js";
|
|
2
|
-
function I(l, e) {
|
|
3
|
-
q(l, e);
|
|
4
|
-
}
|
|
5
|
-
function re(l) {
|
|
6
|
-
X.set(l);
|
|
7
|
-
}
|
|
8
|
-
const z = {
|
|
9
|
-
en: {
|
|
10
|
-
titlePlayerWithdrawal: "Withdrawal",
|
|
11
|
-
loading: "Loading, please wait ..."
|
|
12
|
-
},
|
|
13
|
-
"zh-hk": {
|
|
14
|
-
titlePlayerWithdrawal: "退出",
|
|
15
|
-
loading: "加載請稍候…"
|
|
16
|
-
},
|
|
17
|
-
fr: {
|
|
18
|
-
titlePlayerWithdrawal: "Retrait",
|
|
19
|
-
loading: "Chargement, veuillez patienter ..."
|
|
20
|
-
},
|
|
21
|
-
ro: {
|
|
22
|
-
titlePlayerWithdrawal: "Retragere",
|
|
23
|
-
loading: "Se încarcă..."
|
|
24
|
-
},
|
|
25
|
-
es: {
|
|
26
|
-
titlePlayerWithdrawal: "Retirar",
|
|
27
|
-
loading: "Cargando..."
|
|
28
|
-
},
|
|
29
|
-
pt: {
|
|
30
|
-
titlePlayerWithdrawal: "Retirada",
|
|
31
|
-
loading: "Carregando, por favor espere ..."
|
|
32
|
-
},
|
|
33
|
-
hr: {
|
|
34
|
-
titlePlayerWithdrawal: "Isplata",
|
|
35
|
-
loading: "Učitavanje"
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
function ie(l) {
|
|
39
|
-
Q(l, "svelte-1c6o4d0", ".WithdrawalWrapper.svelte-1c6o4d0.svelte-1c6o4d0{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.svelte-1c6o4d0.svelte-1c6o4d0{padding:20px 15px;max-width:unset}.MenuReturnButton.svelte-1c6o4d0.svelte-1c6o4d0{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton.svelte-1c6o4d0 svg.svelte-1c6o4d0{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle.svelte-1c6o4d0.svelte-1c6o4d0{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.svelte-1c6o4d0.svelte-1c6o4d0{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone.svelte-1c6o4d0.svelte-1c6o4d0{display:none}.WithdrawalIframeWrapper.svelte-1c6o4d0 iframe.svelte-1c6o4d0{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
|
|
40
|
-
}
|
|
41
|
-
function ne(l) {
|
|
42
|
-
let e, t, n, r, c, m, d, f, g, s, i = (
|
|
43
|
-
/*$_*/
|
|
44
|
-
l[3]("titlePlayerWithdrawal") + ""
|
|
45
|
-
), u, y, M;
|
|
46
|
-
return {
|
|
47
|
-
c() {
|
|
48
|
-
e = W("div"), t = k("svg"), n = k("defs"), r = k("style"), c = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), d = k("g"), f = k("path"), g = S(), s = W("h2"), u = x(i), o(f, "class", "aaa"), o(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), o(f, "transform", "translate(15 15) rotate(180)"), o(d, "transform", "translate(20 158)"), o(m, "transform", "translate(-20 -158)"), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "15"), o(t, "height", "15"), o(t, "viewBox", "0 0 15 15"), o(t, "class", "svelte-1c6o4d0"), o(s, "class", "WithdrawalTitleMobile svelte-1c6o4d0"), o(e, "class", "MenuReturnButton svelte-1c6o4d0"), o(e, "part", "MenuReturnButton");
|
|
49
|
-
},
|
|
50
|
-
m(b, _) {
|
|
51
|
-
P(b, e, _), h(e, t), h(t, n), h(n, r), h(r, c), h(t, m), h(m, d), h(d, f), h(e, g), h(e, s), h(s, u), y || (M = te(
|
|
52
|
-
e,
|
|
53
|
-
"click",
|
|
54
|
-
/*click_handler*/
|
|
55
|
-
l[15]
|
|
56
|
-
), y = !0);
|
|
57
|
-
},
|
|
58
|
-
p(b, _) {
|
|
59
|
-
_ & /*$_*/
|
|
60
|
-
8 && i !== (i = /*$_*/
|
|
61
|
-
b[3]("titlePlayerWithdrawal") + "") && R(u, i);
|
|
62
|
-
},
|
|
63
|
-
d(b) {
|
|
64
|
-
b && T(e), y = !1, M();
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
function se(l) {
|
|
69
|
-
let e, t, n;
|
|
70
|
-
return {
|
|
71
|
-
c() {
|
|
72
|
-
e = W("div"), t = W("iframe"), D(t.src, n = /*iframeUrl*/
|
|
73
|
-
l[2]) || o(t, "src", n), o(t, "title", "Withdrawal Iframe"), o(t, "class", "svelte-1c6o4d0"), o(e, "class", "WithdrawalIframeWrapper svelte-1c6o4d0");
|
|
74
|
-
},
|
|
75
|
-
m(r, c) {
|
|
76
|
-
P(r, e, c), h(e, t);
|
|
77
|
-
},
|
|
78
|
-
p(r, c) {
|
|
79
|
-
c & /*iframeUrl*/
|
|
80
|
-
4 && !D(t.src, n = /*iframeUrl*/
|
|
81
|
-
r[2]) && o(t, "src", n);
|
|
82
|
-
},
|
|
83
|
-
d(r) {
|
|
84
|
-
r && T(e);
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function oe(l) {
|
|
89
|
-
let e, t = (
|
|
90
|
-
/*$_*/
|
|
91
|
-
l[3]("loading") + ""
|
|
92
|
-
), n;
|
|
93
|
-
return {
|
|
94
|
-
c() {
|
|
95
|
-
e = W("p"), n = x(t);
|
|
96
|
-
},
|
|
97
|
-
m(r, c) {
|
|
98
|
-
P(r, e, c), h(e, n);
|
|
99
|
-
},
|
|
100
|
-
p(r, c) {
|
|
101
|
-
c & /*$_*/
|
|
102
|
-
8 && t !== (t = /*$_*/
|
|
103
|
-
r[3]("loading") + "") && R(n, t);
|
|
104
|
-
},
|
|
105
|
-
d(r) {
|
|
106
|
-
r && T(e);
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
function ce(l) {
|
|
111
|
-
let e, t, n, r = (
|
|
112
|
-
/*$_*/
|
|
113
|
-
l[3]("titlePlayerWithdrawal") + ""
|
|
114
|
-
), c, m, d = (
|
|
115
|
-
/*isMobile*/
|
|
116
|
-
l[4] && ne(l)
|
|
117
|
-
);
|
|
118
|
-
function f(i, u) {
|
|
119
|
-
return (
|
|
120
|
-
/*isLoading*/
|
|
121
|
-
i[1] ? oe : se
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
let g = f(l), s = g(l);
|
|
125
|
-
return {
|
|
126
|
-
c() {
|
|
127
|
-
e = W("div"), d && d.c(), t = S(), n = W("h2"), c = x(r), m = S(), s.c(), o(n, "class", "WithdrawalTitle " + /*isMobile*/
|
|
128
|
-
(l[4] ? "WithdrawalTitleNone" : "") + " svelte-1c6o4d0"), o(e, "class", "WithdrawalWrapper " + /*isMobile*/
|
|
129
|
-
(l[4] ? "WithdrawalWrapperMobile" : "") + " svelte-1c6o4d0");
|
|
130
|
-
},
|
|
131
|
-
m(i, u) {
|
|
132
|
-
P(i, e, u), d && d.m(e, null), h(e, t), h(e, n), h(n, c), h(e, m), s.m(e, null), l[16](e);
|
|
133
|
-
},
|
|
134
|
-
p(i, [u]) {
|
|
135
|
-
/*isMobile*/
|
|
136
|
-
i[4] && d.p(i, u), u & /*$_*/
|
|
137
|
-
8 && r !== (r = /*$_*/
|
|
138
|
-
i[3]("titlePlayerWithdrawal") + "") && R(c, r), g === (g = f(i)) && s ? s.p(i, u) : (s.d(1), s = g(i), s && (s.c(), s.m(e, null)));
|
|
139
|
-
},
|
|
140
|
-
i: U,
|
|
141
|
-
o: U,
|
|
142
|
-
d(i) {
|
|
143
|
-
i && T(e), d && d.d(), s.d(), l[16](null);
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
function de(l, e, t) {
|
|
148
|
-
let n;
|
|
149
|
-
Y(l, le, (a) => t(3, n = a));
|
|
150
|
-
let { endpoint: r = "" } = e, { session: c = "" } = e, { playerid: m = "" } = e, { lang: d = "en" } = e, { hasdefaultamount: f = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: i = "" } = e, { playercurrency: u = "" } = e, y, M = window.navigator.userAgent, b = $(M) !== "PC", _ = !0, C = 0, L = "";
|
|
151
|
-
const A = () => {
|
|
152
|
-
fetch(i).then((p) => p.json()).then((p) => {
|
|
153
|
-
Object.keys(p).forEach((w) => {
|
|
154
|
-
I(w, p[w]);
|
|
155
|
-
});
|
|
156
|
-
}).catch((p) => {
|
|
157
|
-
console.log(p);
|
|
158
|
-
});
|
|
159
|
-
};
|
|
160
|
-
Object.keys(z).forEach((a) => {
|
|
161
|
-
I(a, z[a]);
|
|
162
|
-
});
|
|
163
|
-
const E = () => {
|
|
164
|
-
window.postMessage(
|
|
165
|
-
{
|
|
166
|
-
type: "PlayerAccountMenuActive",
|
|
167
|
-
isMobile: b
|
|
168
|
-
},
|
|
169
|
-
window.location.href
|
|
170
|
-
);
|
|
171
|
-
}, B = (a) => {
|
|
172
|
-
if (a.data) {
|
|
173
|
-
switch (a.data.type) {
|
|
174
|
-
case "ProfileDetailsData":
|
|
175
|
-
t(6, u = a.data.profileDetails.currency);
|
|
176
|
-
break;
|
|
177
|
-
}
|
|
178
|
-
switch (a.data.redirect) {
|
|
179
|
-
case "mm-hc-casino":
|
|
180
|
-
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
181
|
-
break;
|
|
182
|
-
case "mm-hc-sports":
|
|
183
|
-
window.postMessage({ type: "GoToSports" }, window.location.href);
|
|
184
|
-
break;
|
|
185
|
-
case "mm-hc-contact":
|
|
186
|
-
window.postMessage({ type: "GoToCustomerSupport" }, window.location.href);
|
|
187
|
-
break;
|
|
188
|
-
case "mm-hc-back-to-merchant":
|
|
189
|
-
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
190
|
-
break;
|
|
191
|
-
case "mm-wm-hc-init-deposit":
|
|
192
|
-
window.postMessage(
|
|
193
|
-
{
|
|
194
|
-
type: "RedirectWithdrawDepositCloseModal"
|
|
195
|
-
},
|
|
196
|
-
window.location.href
|
|
197
|
-
);
|
|
198
|
-
break;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}, j = () => {
|
|
202
|
-
let a = new URL(`${r}/v1/player/${m}/hostedcashier/initializewithdraw`);
|
|
203
|
-
if (a.searchParams.append("language", d), f)
|
|
204
|
-
switch (u) {
|
|
205
|
-
case "USD":
|
|
206
|
-
C = 0.4;
|
|
207
|
-
break;
|
|
208
|
-
case "CDF":
|
|
209
|
-
C = 1e3;
|
|
210
|
-
break;
|
|
211
|
-
}
|
|
212
|
-
let p = {
|
|
213
|
-
method: "POST",
|
|
214
|
-
headers: {
|
|
215
|
-
"X-SessionId": c,
|
|
216
|
-
currency: u || "EUR",
|
|
217
|
-
amount: C,
|
|
218
|
-
cashierMode: "Default",
|
|
219
|
-
IsShortCashier: !1,
|
|
220
|
-
accept: "application/json"
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
fetch(a.href, p).then((w) => w.json()).then(
|
|
224
|
-
(w) => {
|
|
225
|
-
t(1, _ = !1), t(2, L = w.CashierUrl);
|
|
226
|
-
},
|
|
227
|
-
(w) => {
|
|
228
|
-
console.error(w);
|
|
229
|
-
}
|
|
230
|
-
);
|
|
231
|
-
}, H = () => {
|
|
232
|
-
re(d);
|
|
233
|
-
}, F = () => {
|
|
234
|
-
let a = document.createElement("style");
|
|
235
|
-
a.innerHTML = g, y.appendChild(a);
|
|
236
|
-
}, N = () => {
|
|
237
|
-
let a = new URL(s), p = document.createElement("style");
|
|
238
|
-
fetch(a.href).then((w) => w.text()).then((w) => {
|
|
239
|
-
p.innerHTML = w, setTimeout(
|
|
240
|
-
() => {
|
|
241
|
-
y.appendChild(p);
|
|
242
|
-
},
|
|
243
|
-
1
|
|
244
|
-
);
|
|
245
|
-
});
|
|
246
|
-
};
|
|
247
|
-
ee(() => (window.addEventListener("message", B, !1), () => {
|
|
248
|
-
window.removeEventListener("message", B);
|
|
249
|
-
}));
|
|
250
|
-
const G = () => E();
|
|
251
|
-
function O(a) {
|
|
252
|
-
ae[a ? "unshift" : "push"](() => {
|
|
253
|
-
y = a, t(0, y);
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
return l.$$set = (a) => {
|
|
257
|
-
"endpoint" in a && t(7, r = a.endpoint), "session" in a && t(8, c = a.session), "playerid" in a && t(9, m = a.playerid), "lang" in a && t(10, d = a.lang), "hasdefaultamount" in a && t(11, f = a.hasdefaultamount), "clientstyling" in a && t(12, g = a.clientstyling), "clientstylingurl" in a && t(13, s = a.clientstylingurl), "translationurl" in a && t(14, i = a.translationurl), "playercurrency" in a && t(6, u = a.playercurrency);
|
|
258
|
-
}, l.$$.update = () => {
|
|
259
|
-
l.$$.dirty & /*lang*/
|
|
260
|
-
1024 && d && H(), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
261
|
-
8193 && s && y && N(), l.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
262
|
-
4097 && g && y && F(), l.$$.dirty & /*translationurl*/
|
|
263
|
-
16384 && i && A(), l.$$.dirty & /*session, playerid, endpoint, playercurrency, lang*/
|
|
264
|
-
1984 && c && m && r && u && d && j();
|
|
265
|
-
}, [
|
|
266
|
-
y,
|
|
267
|
-
_,
|
|
268
|
-
L,
|
|
269
|
-
n,
|
|
270
|
-
b,
|
|
271
|
-
E,
|
|
272
|
-
u,
|
|
273
|
-
r,
|
|
274
|
-
c,
|
|
275
|
-
m,
|
|
276
|
-
d,
|
|
277
|
-
f,
|
|
278
|
-
g,
|
|
279
|
-
s,
|
|
280
|
-
i,
|
|
281
|
-
G,
|
|
282
|
-
O
|
|
283
|
-
];
|
|
284
|
-
}
|
|
285
|
-
class ue extends V {
|
|
286
|
-
constructor(e) {
|
|
287
|
-
super(), Z(
|
|
288
|
-
this,
|
|
289
|
-
e,
|
|
290
|
-
de,
|
|
291
|
-
ce,
|
|
292
|
-
K,
|
|
293
|
-
{
|
|
294
|
-
endpoint: 7,
|
|
295
|
-
session: 8,
|
|
296
|
-
playerid: 9,
|
|
297
|
-
lang: 10,
|
|
298
|
-
hasdefaultamount: 11,
|
|
299
|
-
clientstyling: 12,
|
|
300
|
-
clientstylingurl: 13,
|
|
301
|
-
translationurl: 14,
|
|
302
|
-
playercurrency: 6
|
|
303
|
-
},
|
|
304
|
-
ie
|
|
305
|
-
);
|
|
306
|
-
}
|
|
307
|
-
get endpoint() {
|
|
308
|
-
return this.$$.ctx[7];
|
|
309
|
-
}
|
|
310
|
-
set endpoint(e) {
|
|
311
|
-
this.$$set({ endpoint: e }), v();
|
|
312
|
-
}
|
|
313
|
-
get session() {
|
|
314
|
-
return this.$$.ctx[8];
|
|
315
|
-
}
|
|
316
|
-
set session(e) {
|
|
317
|
-
this.$$set({ session: e }), v();
|
|
318
|
-
}
|
|
319
|
-
get playerid() {
|
|
320
|
-
return this.$$.ctx[9];
|
|
321
|
-
}
|
|
322
|
-
set playerid(e) {
|
|
323
|
-
this.$$set({ playerid: e }), v();
|
|
324
|
-
}
|
|
325
|
-
get lang() {
|
|
326
|
-
return this.$$.ctx[10];
|
|
327
|
-
}
|
|
328
|
-
set lang(e) {
|
|
329
|
-
this.$$set({ lang: e }), v();
|
|
330
|
-
}
|
|
331
|
-
get hasdefaultamount() {
|
|
332
|
-
return this.$$.ctx[11];
|
|
333
|
-
}
|
|
334
|
-
set hasdefaultamount(e) {
|
|
335
|
-
this.$$set({ hasdefaultamount: e }), v();
|
|
336
|
-
}
|
|
337
|
-
get clientstyling() {
|
|
338
|
-
return this.$$.ctx[12];
|
|
339
|
-
}
|
|
340
|
-
set clientstyling(e) {
|
|
341
|
-
this.$$set({ clientstyling: e }), v();
|
|
342
|
-
}
|
|
343
|
-
get clientstylingurl() {
|
|
344
|
-
return this.$$.ctx[13];
|
|
345
|
-
}
|
|
346
|
-
set clientstylingurl(e) {
|
|
347
|
-
this.$$set({ clientstylingurl: e }), v();
|
|
348
|
-
}
|
|
349
|
-
get translationurl() {
|
|
350
|
-
return this.$$.ctx[14];
|
|
351
|
-
}
|
|
352
|
-
set translationurl(e) {
|
|
353
|
-
this.$$set({ translationurl: e }), v();
|
|
354
|
-
}
|
|
355
|
-
get playercurrency() {
|
|
356
|
-
return this.$$.ctx[6];
|
|
357
|
-
}
|
|
358
|
-
set playercurrency(e) {
|
|
359
|
-
this.$$set({ playercurrency: e }), v();
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
J(ue, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {} }, [], [], !0);
|
|
363
|
-
export {
|
|
364
|
-
ue as default
|
|
365
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-WbaN9lE3.cjs");function x(r,t){e.addMessages(r,t)}function D(r){e.$locale.set(r)}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 I(r){e.append_styles(r,"svelte-1c6o4d0",".WithdrawalWrapper.svelte-1c6o4d0.svelte-1c6o4d0{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.svelte-1c6o4d0.svelte-1c6o4d0{padding:20px 15px;max-width:unset}.MenuReturnButton.svelte-1c6o4d0.svelte-1c6o4d0{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton.svelte-1c6o4d0 svg.svelte-1c6o4d0{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle.svelte-1c6o4d0.svelte-1c6o4d0{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.svelte-1c6o4d0.svelte-1c6o4d0{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone.svelte-1c6o4d0.svelte-1c6o4d0{display:none}.WithdrawalIframeWrapper.svelte-1c6o4d0 iframe.svelte-1c6o4d0{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function j(r){let t,a,s,n,c,h,d,p,m,o,i=r[3]("titlePlayerWithdrawal")+"",u,g,_;return{c(){t=e.element("div"),a=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(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(a,"class","svelte-1c6o4d0"),e.attr(o,"class","WithdrawalTitleMobile svelte-1c6o4d0"),e.attr(t,"class","MenuReturnButton svelte-1c6o4d0"),e.attr(t,"part","MenuReturnButton")},m(y,v){e.insert(y,t,v),e.append(t,a),e.append(a,s),e.append(s,n),e.append(n,c),e.append(a,h),e.append(h,d),e.append(d,p),e.append(t,m),e.append(t,o),e.append(o,u),g||(_=e.listen(t,"click",r[15]),g=!0)},p(y,v){v&8&&i!==(i=y[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(y){y&&e.detach(t),g=!1,_()}}}function z(r){let t,a,s;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,s=r[2])||e.attr(a,"src",s),e.attr(a,"title","Withdrawal Iframe"),e.attr(a,"class","svelte-1c6o4d0"),e.attr(t,"class","WithdrawalIframeWrapper svelte-1c6o4d0")},m(n,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c&4&&!e.src_url_equal(a.src,s=n[2])&&e.attr(a,"src",s)},d(n){n&&e.detach(t)}}}function A(r){let t,a=r[3]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(a)},m(n,c){e.insert(n,t,c),e.append(t,s)},p(n,c){c&8&&a!==(a=n[3]("loading")+"")&&e.set_data(s,a)},d(n){n&&e.detach(t)}}}function H(r){let t,a,s,n=r[3]("titlePlayerWithdrawal")+"",c,h,d=r[4]&&j(r);function p(i,u){return i[1]?A:z}let m=p(r),o=m(r);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),s=e.element("h2"),c=e.text(n),h=e.space(),o.c(),e.attr(s,"class","WithdrawalTitle "+(r[4]?"WithdrawalTitleNone":"")+" svelte-1c6o4d0"),e.attr(t,"class","WithdrawalWrapper "+(r[4]?"WithdrawalWrapperMobile":"")+" svelte-1c6o4d0")},m(i,u){e.insert(i,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,s),e.append(s,c),e.append(t,h),o.m(t,null),r[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(),r[16](null)}}}function F(r,t,a){let s;e.component_subscribe(r,e.$format,l=>a(3,s=l));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,_=window.navigator.userAgent,y=e.getDevice(_)!=="PC",v=!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(l=>{x(l,P[l])});const M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},k=l=>{if(l.data){switch(l.data.type){case"ProfileDetailsData":a(6,u=l.data.profileDetails.currency);break}switch(l.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 l=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(l.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(l.href,w).then(f=>f.json()).then(f=>{a(1,v=!1),a(2,W=f.CashierUrl)},f=>{console.error(f)})},L=()=>{D(d)},R=()=>{let l=document.createElement("style");l.innerHTML=m,g.appendChild(l)},E=()=>{let l=new URL(o),w=document.createElement("style");fetch(l.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(l){e.binding_callbacks[l?"unshift":"push"](()=>{g=l,a(0,g)})}return r.$$set=l=>{"endpoint"in l&&a(7,n=l.endpoint),"session"in l&&a(8,c=l.session),"playerid"in l&&a(9,h=l.playerid),"lang"in l&&a(10,d=l.lang),"hasdefaultamount"in l&&a(11,p=l.hasdefaultamount),"clientstyling"in l&&a(12,m=l.clientstyling),"clientstylingurl"in l&&a(13,o=l.clientstylingurl),"translationurl"in l&&a(14,i=l.translationurl),"playercurrency"in l&&a(6,u=l.playercurrency)},r.$$.update=()=>{r.$$.dirty&1024&&d&&L(),r.$$.dirty&8193&&o&&g&&E(),r.$$.dirty&4097&&m&&g&&R(),r.$$.dirty&16384&&i&&C(),r.$$.dirty&1984&&c&&h&&n&&u&&d&&S()},[g,v,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},I)}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;
|