@everymatrix/player-account-controller 1.44.0 → 1.45.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-PMsAgsr8.js +4832 -0
- package/components/GeneralLogout-WbaN9lE3.cjs +8 -0
- package/components/PlayerAccountBettingHistory-C5O_N5I6.js +328 -0
- package/components/PlayerAccountBettingHistory-CvFzGDm4.cjs +1 -0
- package/components/PlayerAccountBiometrics--Rc4hXU1.cjs +1 -0
- package/components/PlayerAccountBiometrics-BIZ77T9P.js +300 -0
- package/components/PlayerAccountClosure-DIRkc6kA.cjs +1 -0
- package/components/PlayerAccountClosure-O9rY7FHF.js +339 -0
- package/components/PlayerAccountController-1M1FKlrd.cjs +1 -0
- package/components/PlayerAccountController-DRQpN2gW.js +6176 -0
- package/components/PlayerAccountGamingLimits-BnH1h5ZI.js +758 -0
- package/components/PlayerAccountGamingLimits-Dtw0RzGI.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-CHBpCAi7.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-Cvsvauqa.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js +4148 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-tfKhIo7R.cjs +10 -0
- package/components/PlayerAccountGamingLimitsHistory2-CJxOlPZu.js +734 -0
- package/components/PlayerAccountGamingLimitsHistory2-_p2IXses.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard--AbjEx7s.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-GwIjd7fB.js +1488 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-DcGsK_Nq.js +2794 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dymt7LmL.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-DO2f_4IF.js +337 -0
- package/components/PlayerAccountGamingLimitsPopup-DVEuryoE.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-BZ-Ax67a.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-CQClFTjE.js +844 -0
- package/components/PlayerAccountMenu-1kpYtr6Q.cjs +1 -0
- package/components/PlayerAccountMenu-C9YFW_X4.js +576 -0
- package/components/PlayerAccountModal-BPuDqVwe.js +198 -0
- package/components/PlayerAccountModal-DpMfe1gv.cjs +1 -0
- package/components/PlayerAccountNotifications-DfLcLCTk.js +261 -0
- package/components/PlayerAccountNotifications-Dwb_RDr0.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-BR4bl6bz.js +16404 -0
- package/components/PlayerAccountSelfExclusion-CA2oAuhb.cjs +3693 -0
- package/components/PlayerAccountTimeout-Df9mSPXx.js +448 -0
- package/components/PlayerAccountTimeout-dxzuaoP9.cjs +1 -0
- package/components/PlayerActiveBonuses-BJtk2_80.js +986 -0
- package/components/PlayerActiveBonuses-D0-qI8iz.cjs +1 -0
- package/components/PlayerBonusCard-BoENnXsd.cjs +1 -0
- package/components/PlayerBonusCard-D4MZsrSK.js +565 -0
- package/components/PlayerBonusHistory-3B1tPB8g.cjs +1 -0
- package/components/PlayerBonusHistory-CDA_Ahs-.js +840 -0
- package/components/PlayerChangePassword-C69CRrvS.js +1161 -0
- package/components/PlayerChangePassword-RpQIhFff.cjs +3 -0
- package/components/PlayerDeposit-BK_UhkqG.js +395 -0
- package/components/PlayerDeposit-COhpfcRx.cjs +1 -0
- package/components/PlayerGamingHistory-C8Kvaq7b.cjs +1 -0
- package/components/PlayerGamingHistory-CCSGdevP.js +920 -0
- package/components/PlayerPendingWithdrawals-CVBvRj42.cjs +1 -0
- package/components/PlayerPendingWithdrawals-DIp1o6Bq.js +307 -0
- package/components/PlayerProfileInfo-BeD6hzPW.cjs +1 -0
- package/components/PlayerProfileInfo-CkcYNGGP.js +1707 -0
- package/components/PlayerRealityCheck-B37H9_Rn.cjs +1 -0
- package/components/PlayerRealityCheck-UaRdeADU.js +587 -0
- package/components/PlayerTransactionHistory-CxYO3lnm.cjs +1 -0
- package/components/PlayerTransactionHistory-Da2H2goa.js +311 -0
- package/components/PlayerWithdrawal-DK_JxD9z.js +365 -0
- package/components/PlayerWithdrawal-DYkzBPcQ.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/package.json +38 -32
- package/CHANGELOG.md +0 -19
- package/README.md +0 -0
- package/assets/arrow-down.svg +0 -3
- package/dist/player-account-controller.js +0 -2221
- package/dist/player-account-controller.js.map +0 -1
- package/documentation.md +0 -166
- package/index.html +0 -46
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/PlayerAccountController.svelte +0 -732
- package/src/PlayerAccountController.types.ts +0 -5
- package/src/i18n.js +0 -27
- package/src/index.ts +0 -4
- package/src/translations.js +0 -102
- package/stories/PlayerAccountPage.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,758 @@
|
|
|
1
|
+
import { a as Y, $ as J, S as X, i as x, f as w, c as $, s as ee, b as ie, e as _, k as C, o as E, p as j, q as te, u as ne, v as ae, x as le, j as t, d as D, t as N, g as h, l as g, n as H, w as P, m as se, y as re } from "./GeneralLogout-PMsAgsr8.js";
|
|
2
|
+
function F(i, e) {
|
|
3
|
+
Y(i, e);
|
|
4
|
+
}
|
|
5
|
+
function me(i) {
|
|
6
|
+
J.set(i);
|
|
7
|
+
}
|
|
8
|
+
const V = {
|
|
9
|
+
en: {
|
|
10
|
+
returnToMenu: "Return to menu",
|
|
11
|
+
gamingLimitsText: "Gaming limits",
|
|
12
|
+
depositLimit: "Deposit Limit",
|
|
13
|
+
timeLimit: "Time Limit",
|
|
14
|
+
wageringLimit: "Wagering Limit",
|
|
15
|
+
lossLimit: "Loss Limit"
|
|
16
|
+
},
|
|
17
|
+
"zh-hk": {
|
|
18
|
+
returnToMenu: "返回菜單",
|
|
19
|
+
gamingLimitsText: "遊戲限制",
|
|
20
|
+
depositLimit: "存款限額",
|
|
21
|
+
timeLimit: "時限t",
|
|
22
|
+
wageringLimit: "投注限額",
|
|
23
|
+
lossLimit: "損失限額"
|
|
24
|
+
},
|
|
25
|
+
fr: {
|
|
26
|
+
returnToMenu: "Retour au menu",
|
|
27
|
+
gamingLimitsText: "Limites de jeu",
|
|
28
|
+
depositLimit: "Limite de dépôt",
|
|
29
|
+
timeLimit: "Limite de temps",
|
|
30
|
+
wageringLimit: "Limite de mise",
|
|
31
|
+
lossLimit: "Limite de perte"
|
|
32
|
+
},
|
|
33
|
+
ro: {
|
|
34
|
+
returnToMenu: "Înapoi la meniu",
|
|
35
|
+
gamingLimitsText: "Limite de joc",
|
|
36
|
+
depositLimit: "Limită de depunere",
|
|
37
|
+
timeLimit: "Limită de timp",
|
|
38
|
+
wageringLimit: "Limită de pariere",
|
|
39
|
+
lossLimit: "Limită de pierdere"
|
|
40
|
+
},
|
|
41
|
+
es: {
|
|
42
|
+
returnToMenu: "Regresar al menu",
|
|
43
|
+
gamingLimitsText: "Límites de juego",
|
|
44
|
+
depositLimit: "Límite de depósito",
|
|
45
|
+
timeLimit: "Límite de tiempo",
|
|
46
|
+
wageringLimit: "Límite de apuestas",
|
|
47
|
+
lossLimit: "Límite de pérdida"
|
|
48
|
+
},
|
|
49
|
+
pt: {
|
|
50
|
+
returnToMenu: "Voltar ao Menu",
|
|
51
|
+
gamingLimitsText: "Limites de jogos",
|
|
52
|
+
depositLimit: "Limite de Depósito",
|
|
53
|
+
timeLimit: "Limite de tempo",
|
|
54
|
+
wageringLimit: "Limite de apostas",
|
|
55
|
+
lossLimit: "Limite de Perda"
|
|
56
|
+
},
|
|
57
|
+
hr: {
|
|
58
|
+
returnToMenu: "Povratak na izbornik",
|
|
59
|
+
gamingLimitsText: "Ograničenja igranja",
|
|
60
|
+
depositLimit: "Ograničenje uplate",
|
|
61
|
+
timeLimit: "Vremensko ograničenje",
|
|
62
|
+
wageringLimit: "Ograničenje igranja",
|
|
63
|
+
lossLimit: "Ograničenje gubitka"
|
|
64
|
+
},
|
|
65
|
+
"pt-br": {
|
|
66
|
+
returnToMenu: "Voltar ao cardápio",
|
|
67
|
+
gamingLimitsText: "Limites do jogo",
|
|
68
|
+
depositLimit: "Limites de depósito",
|
|
69
|
+
timeLimit: "Limite de tempo",
|
|
70
|
+
wageringLimit: "Limite de aposta",
|
|
71
|
+
lossLimit: "Limite de perda"
|
|
72
|
+
},
|
|
73
|
+
"es-mx": {
|
|
74
|
+
returnToMenu: "Regresar al menú",
|
|
75
|
+
gamingLimitsText: "Límites de juego",
|
|
76
|
+
depositLimit: "Límites de depósito",
|
|
77
|
+
timeLimit: "Límite de tiempo",
|
|
78
|
+
wageringLimit: "Límite de apuesta",
|
|
79
|
+
lossLimit: "Límite de pérdidas"
|
|
80
|
+
},
|
|
81
|
+
tr: {
|
|
82
|
+
returnToMenu: "Menüye dön",
|
|
83
|
+
gamingLimitsText: "Oyun sınırları",
|
|
84
|
+
depositLimit: "Para Yatırma Limiti",
|
|
85
|
+
timeLimit: "Zaman sınırı",
|
|
86
|
+
wageringLimit: "Bahis Limiti",
|
|
87
|
+
lossLimit: "Kayıp Limiti"
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
if (typeof window != "undefined") {
|
|
91
|
+
let i = function(e) {
|
|
92
|
+
return function(...n) {
|
|
93
|
+
try {
|
|
94
|
+
return e.apply(this, n);
|
|
95
|
+
} catch (l) {
|
|
96
|
+
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"))
|
|
97
|
+
return !1;
|
|
98
|
+
throw l;
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-GwIjd7fB.js").then(({ default: e }) => {
|
|
103
|
+
!customElements.get("player-account-gaming-limits-info-card") && customElements.define(
|
|
104
|
+
"player-account-gaming-limits-info-card",
|
|
105
|
+
e.element
|
|
106
|
+
);
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
function oe(i) {
|
|
110
|
+
ie(i, "svelte-1ct02co", '.PlayerAccountGamingLimitsWrapper.svelte-1ct02co.svelte-1ct02co{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));padding:50px;max-width:760px}.PlayerGamingLimitsTitle.svelte-1ct02co.svelte-1ct02co{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.PlayerGamingLimitsTitleMobile.svelte-1ct02co.svelte-1ct02co{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerGamingLimitsTitleNone.svelte-1ct02co.svelte-1ct02co{display:none}.MenuReturnButton.svelte-1ct02co.svelte-1ct02co{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton.svelte-1ct02co svg.svelte-1ct02co{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerAccountMobileGamingLimitsWrapper.svelte-1ct02co.svelte-1ct02co{padding:20px 15px;background:var(--emfe-w-color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper.svelte-1ct02co.svelte-1ct02co{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer.svelte-1ct02co.svelte-1ct02co{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.ModalLoader.svelte-1ct02co.svelte-1ct02co{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader.svelte-1ct02co.svelte-1ct02co:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:svelte-1ct02co-Loader 1.2s linear infinite}@keyframes svelte-1ct02co-Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
111
|
+
}
|
|
112
|
+
function ce(i) {
|
|
113
|
+
let e;
|
|
114
|
+
return {
|
|
115
|
+
c() {
|
|
116
|
+
e = _("player-account-gaming-limits-group-edit"), t(
|
|
117
|
+
e,
|
|
118
|
+
"limitsdata",
|
|
119
|
+
/*editLimitData*/
|
|
120
|
+
i[13]
|
|
121
|
+
), t(
|
|
122
|
+
e,
|
|
123
|
+
"limitname",
|
|
124
|
+
/*editLimitName*/
|
|
125
|
+
i[14]
|
|
126
|
+
), t(
|
|
127
|
+
e,
|
|
128
|
+
"showsuccessnotification",
|
|
129
|
+
/*showsuccessnotification*/
|
|
130
|
+
i[7]
|
|
131
|
+
), t(
|
|
132
|
+
e,
|
|
133
|
+
"showdeletenotification",
|
|
134
|
+
/*showdeletenotification*/
|
|
135
|
+
i[6]
|
|
136
|
+
), t(
|
|
137
|
+
e,
|
|
138
|
+
"playercurrency",
|
|
139
|
+
/*playercurrency*/
|
|
140
|
+
i[5]
|
|
141
|
+
), t(
|
|
142
|
+
e,
|
|
143
|
+
"lang",
|
|
144
|
+
/*lang*/
|
|
145
|
+
i[0]
|
|
146
|
+
), t(
|
|
147
|
+
e,
|
|
148
|
+
"separatelimits",
|
|
149
|
+
/*separatelimits*/
|
|
150
|
+
i[8]
|
|
151
|
+
), t(
|
|
152
|
+
e,
|
|
153
|
+
"clientstyling",
|
|
154
|
+
/*clientstyling*/
|
|
155
|
+
i[9]
|
|
156
|
+
), t(
|
|
157
|
+
e,
|
|
158
|
+
"clientstylingurl",
|
|
159
|
+
/*clientstylingurl*/
|
|
160
|
+
i[10]
|
|
161
|
+
);
|
|
162
|
+
},
|
|
163
|
+
m(n, l) {
|
|
164
|
+
C(n, e, l);
|
|
165
|
+
},
|
|
166
|
+
p(n, l) {
|
|
167
|
+
l & /*editLimitData*/
|
|
168
|
+
8192 && t(
|
|
169
|
+
e,
|
|
170
|
+
"limitsdata",
|
|
171
|
+
/*editLimitData*/
|
|
172
|
+
n[13]
|
|
173
|
+
), l & /*editLimitName*/
|
|
174
|
+
16384 && t(
|
|
175
|
+
e,
|
|
176
|
+
"limitname",
|
|
177
|
+
/*editLimitName*/
|
|
178
|
+
n[14]
|
|
179
|
+
), l & /*showsuccessnotification*/
|
|
180
|
+
128 && t(
|
|
181
|
+
e,
|
|
182
|
+
"showsuccessnotification",
|
|
183
|
+
/*showsuccessnotification*/
|
|
184
|
+
n[7]
|
|
185
|
+
), l & /*showdeletenotification*/
|
|
186
|
+
64 && t(
|
|
187
|
+
e,
|
|
188
|
+
"showdeletenotification",
|
|
189
|
+
/*showdeletenotification*/
|
|
190
|
+
n[6]
|
|
191
|
+
), l & /*playercurrency*/
|
|
192
|
+
32 && t(
|
|
193
|
+
e,
|
|
194
|
+
"playercurrency",
|
|
195
|
+
/*playercurrency*/
|
|
196
|
+
n[5]
|
|
197
|
+
), l & /*lang*/
|
|
198
|
+
1 && t(
|
|
199
|
+
e,
|
|
200
|
+
"lang",
|
|
201
|
+
/*lang*/
|
|
202
|
+
n[0]
|
|
203
|
+
), l & /*separatelimits*/
|
|
204
|
+
256 && t(
|
|
205
|
+
e,
|
|
206
|
+
"separatelimits",
|
|
207
|
+
/*separatelimits*/
|
|
208
|
+
n[8]
|
|
209
|
+
), l & /*clientstyling*/
|
|
210
|
+
512 && t(
|
|
211
|
+
e,
|
|
212
|
+
"clientstyling",
|
|
213
|
+
/*clientstyling*/
|
|
214
|
+
n[9]
|
|
215
|
+
), l & /*clientstylingurl*/
|
|
216
|
+
1024 && t(
|
|
217
|
+
e,
|
|
218
|
+
"clientstylingurl",
|
|
219
|
+
/*clientstylingurl*/
|
|
220
|
+
n[10]
|
|
221
|
+
);
|
|
222
|
+
},
|
|
223
|
+
d(n) {
|
|
224
|
+
n && j(e);
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
function ge(i) {
|
|
229
|
+
let e, n, l, o = (
|
|
230
|
+
/*$_*/
|
|
231
|
+
i[16]("gamingLimitsText") + ""
|
|
232
|
+
), u, y, p, c, M, m, v, d, T, f, L = (
|
|
233
|
+
/*isMobile*/
|
|
234
|
+
i[17] && fe(i)
|
|
235
|
+
);
|
|
236
|
+
return {
|
|
237
|
+
c() {
|
|
238
|
+
e = _("div"), L && L.c(), n = D(), l = _("h2"), u = N(o), y = D(), p = _("div"), c = _("player-account-gaming-limits-info-card"), M = D(), m = _("player-account-gaming-limits-info-card"), v = D(), d = _("player-account-gaming-limits-info-card"), T = D(), f = _("player-account-gaming-limits-info-card"), h(l, "class", "PlayerGamingLimitsTitle " + /*isMobile*/
|
|
239
|
+
(i[17] ? "PlayerGamingLimitsTitleNone" : "") + " svelte-1ct02co"), t(
|
|
240
|
+
c,
|
|
241
|
+
"limitsdata",
|
|
242
|
+
/*depositlimit*/
|
|
243
|
+
i[1]
|
|
244
|
+
), t(c, "limitname", pe), t(
|
|
245
|
+
c,
|
|
246
|
+
"playercurrency",
|
|
247
|
+
/*playercurrency*/
|
|
248
|
+
i[5]
|
|
249
|
+
), t(
|
|
250
|
+
c,
|
|
251
|
+
"lang",
|
|
252
|
+
/*lang*/
|
|
253
|
+
i[0]
|
|
254
|
+
), t(
|
|
255
|
+
c,
|
|
256
|
+
"clientstyling",
|
|
257
|
+
/*clientstyling*/
|
|
258
|
+
i[9]
|
|
259
|
+
), t(
|
|
260
|
+
c,
|
|
261
|
+
"clientstylingurl",
|
|
262
|
+
/*clientstylingurl*/
|
|
263
|
+
i[10]
|
|
264
|
+
), t(
|
|
265
|
+
m,
|
|
266
|
+
"limitsdata",
|
|
267
|
+
/*wageringlimit*/
|
|
268
|
+
i[2]
|
|
269
|
+
), t(m, "limitname", Le), t(
|
|
270
|
+
m,
|
|
271
|
+
"playercurrency",
|
|
272
|
+
/*playercurrency*/
|
|
273
|
+
i[5]
|
|
274
|
+
), t(
|
|
275
|
+
m,
|
|
276
|
+
"lang",
|
|
277
|
+
/*lang*/
|
|
278
|
+
i[0]
|
|
279
|
+
), t(
|
|
280
|
+
m,
|
|
281
|
+
"clientstyling",
|
|
282
|
+
/*clientstyling*/
|
|
283
|
+
i[9]
|
|
284
|
+
), t(
|
|
285
|
+
m,
|
|
286
|
+
"clientstylingurl",
|
|
287
|
+
/*clientstylingurl*/
|
|
288
|
+
i[10]
|
|
289
|
+
), t(
|
|
290
|
+
d,
|
|
291
|
+
"limitsdata",
|
|
292
|
+
/*losslimit*/
|
|
293
|
+
i[3]
|
|
294
|
+
), t(d, "limitname", ye), t(
|
|
295
|
+
d,
|
|
296
|
+
"playercurrency",
|
|
297
|
+
/*playercurrency*/
|
|
298
|
+
i[5]
|
|
299
|
+
), t(
|
|
300
|
+
d,
|
|
301
|
+
"lang",
|
|
302
|
+
/*lang*/
|
|
303
|
+
i[0]
|
|
304
|
+
), t(
|
|
305
|
+
d,
|
|
306
|
+
"clientstyling",
|
|
307
|
+
/*clientstyling*/
|
|
308
|
+
i[9]
|
|
309
|
+
), t(
|
|
310
|
+
d,
|
|
311
|
+
"clientstylingurl",
|
|
312
|
+
/*clientstylingurl*/
|
|
313
|
+
i[10]
|
|
314
|
+
), t(
|
|
315
|
+
f,
|
|
316
|
+
"limitsdata",
|
|
317
|
+
/*timelimit*/
|
|
318
|
+
i[4]
|
|
319
|
+
), t(f, "limitname", he), t(
|
|
320
|
+
f,
|
|
321
|
+
"playercurrency",
|
|
322
|
+
/*playercurrency*/
|
|
323
|
+
i[5]
|
|
324
|
+
), t(
|
|
325
|
+
f,
|
|
326
|
+
"lang",
|
|
327
|
+
/*lang*/
|
|
328
|
+
i[0]
|
|
329
|
+
), t(
|
|
330
|
+
f,
|
|
331
|
+
"clientstyling",
|
|
332
|
+
/*clientstyling*/
|
|
333
|
+
i[9]
|
|
334
|
+
), t(
|
|
335
|
+
f,
|
|
336
|
+
"clientstylingurl",
|
|
337
|
+
/*clientstylingurl*/
|
|
338
|
+
i[10]
|
|
339
|
+
), h(p, "class", "PlayerAccountGamingLimitsContainer svelte-1ct02co"), h(e, "class", "PlayerAccountGamingLimitsWrapper " + /*isMobile*/
|
|
340
|
+
(i[17] ? "PlayerAccountMobileGamingLimitsWrapper" : "") + " " + /*mediaQuery*/
|
|
341
|
+
(i[18].matches && /*isMobile*/
|
|
342
|
+
i[17] ? "PlayerAccountTabletGamingLimitsWrapper" : "") + " svelte-1ct02co");
|
|
343
|
+
},
|
|
344
|
+
m(s, r) {
|
|
345
|
+
C(s, e, r), L && L.m(e, null), g(e, n), g(e, l), g(l, u), g(e, y), g(e, p), g(p, c), g(p, M), g(p, m), g(p, v), g(p, d), g(p, T), g(p, f);
|
|
346
|
+
},
|
|
347
|
+
p(s, r) {
|
|
348
|
+
/*isMobile*/
|
|
349
|
+
s[17] && L.p(s, r), r & /*$_*/
|
|
350
|
+
65536 && o !== (o = /*$_*/
|
|
351
|
+
s[16]("gamingLimitsText") + "") && H(u, o), r & /*depositlimit*/
|
|
352
|
+
2 && t(
|
|
353
|
+
c,
|
|
354
|
+
"limitsdata",
|
|
355
|
+
/*depositlimit*/
|
|
356
|
+
s[1]
|
|
357
|
+
), r & /*playercurrency*/
|
|
358
|
+
32 && t(
|
|
359
|
+
c,
|
|
360
|
+
"playercurrency",
|
|
361
|
+
/*playercurrency*/
|
|
362
|
+
s[5]
|
|
363
|
+
), r & /*lang*/
|
|
364
|
+
1 && t(
|
|
365
|
+
c,
|
|
366
|
+
"lang",
|
|
367
|
+
/*lang*/
|
|
368
|
+
s[0]
|
|
369
|
+
), r & /*clientstyling*/
|
|
370
|
+
512 && t(
|
|
371
|
+
c,
|
|
372
|
+
"clientstyling",
|
|
373
|
+
/*clientstyling*/
|
|
374
|
+
s[9]
|
|
375
|
+
), r & /*clientstylingurl*/
|
|
376
|
+
1024 && t(
|
|
377
|
+
c,
|
|
378
|
+
"clientstylingurl",
|
|
379
|
+
/*clientstylingurl*/
|
|
380
|
+
s[10]
|
|
381
|
+
), r & /*wageringlimit*/
|
|
382
|
+
4 && t(
|
|
383
|
+
m,
|
|
384
|
+
"limitsdata",
|
|
385
|
+
/*wageringlimit*/
|
|
386
|
+
s[2]
|
|
387
|
+
), r & /*playercurrency*/
|
|
388
|
+
32 && t(
|
|
389
|
+
m,
|
|
390
|
+
"playercurrency",
|
|
391
|
+
/*playercurrency*/
|
|
392
|
+
s[5]
|
|
393
|
+
), r & /*lang*/
|
|
394
|
+
1 && t(
|
|
395
|
+
m,
|
|
396
|
+
"lang",
|
|
397
|
+
/*lang*/
|
|
398
|
+
s[0]
|
|
399
|
+
), r & /*clientstyling*/
|
|
400
|
+
512 && t(
|
|
401
|
+
m,
|
|
402
|
+
"clientstyling",
|
|
403
|
+
/*clientstyling*/
|
|
404
|
+
s[9]
|
|
405
|
+
), r & /*clientstylingurl*/
|
|
406
|
+
1024 && t(
|
|
407
|
+
m,
|
|
408
|
+
"clientstylingurl",
|
|
409
|
+
/*clientstylingurl*/
|
|
410
|
+
s[10]
|
|
411
|
+
), r & /*losslimit*/
|
|
412
|
+
8 && t(
|
|
413
|
+
d,
|
|
414
|
+
"limitsdata",
|
|
415
|
+
/*losslimit*/
|
|
416
|
+
s[3]
|
|
417
|
+
), r & /*playercurrency*/
|
|
418
|
+
32 && t(
|
|
419
|
+
d,
|
|
420
|
+
"playercurrency",
|
|
421
|
+
/*playercurrency*/
|
|
422
|
+
s[5]
|
|
423
|
+
), r & /*lang*/
|
|
424
|
+
1 && t(
|
|
425
|
+
d,
|
|
426
|
+
"lang",
|
|
427
|
+
/*lang*/
|
|
428
|
+
s[0]
|
|
429
|
+
), r & /*clientstyling*/
|
|
430
|
+
512 && t(
|
|
431
|
+
d,
|
|
432
|
+
"clientstyling",
|
|
433
|
+
/*clientstyling*/
|
|
434
|
+
s[9]
|
|
435
|
+
), r & /*clientstylingurl*/
|
|
436
|
+
1024 && t(
|
|
437
|
+
d,
|
|
438
|
+
"clientstylingurl",
|
|
439
|
+
/*clientstylingurl*/
|
|
440
|
+
s[10]
|
|
441
|
+
), r & /*timelimit*/
|
|
442
|
+
16 && t(
|
|
443
|
+
f,
|
|
444
|
+
"limitsdata",
|
|
445
|
+
/*timelimit*/
|
|
446
|
+
s[4]
|
|
447
|
+
), r & /*playercurrency*/
|
|
448
|
+
32 && t(
|
|
449
|
+
f,
|
|
450
|
+
"playercurrency",
|
|
451
|
+
/*playercurrency*/
|
|
452
|
+
s[5]
|
|
453
|
+
), r & /*lang*/
|
|
454
|
+
1 && t(
|
|
455
|
+
f,
|
|
456
|
+
"lang",
|
|
457
|
+
/*lang*/
|
|
458
|
+
s[0]
|
|
459
|
+
), r & /*clientstyling*/
|
|
460
|
+
512 && t(
|
|
461
|
+
f,
|
|
462
|
+
"clientstyling",
|
|
463
|
+
/*clientstyling*/
|
|
464
|
+
s[9]
|
|
465
|
+
), r & /*clientstylingurl*/
|
|
466
|
+
1024 && t(
|
|
467
|
+
f,
|
|
468
|
+
"clientstylingurl",
|
|
469
|
+
/*clientstylingurl*/
|
|
470
|
+
s[10]
|
|
471
|
+
);
|
|
472
|
+
},
|
|
473
|
+
d(s) {
|
|
474
|
+
s && j(e), L && L.d();
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
function ue(i) {
|
|
479
|
+
let e;
|
|
480
|
+
return {
|
|
481
|
+
c() {
|
|
482
|
+
e = _("div"), h(e, "class", "ModalLoader svelte-1ct02co");
|
|
483
|
+
},
|
|
484
|
+
m(n, l) {
|
|
485
|
+
C(n, e, l);
|
|
486
|
+
},
|
|
487
|
+
p: E,
|
|
488
|
+
d(n) {
|
|
489
|
+
n && j(e);
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
function fe(i) {
|
|
494
|
+
let e, n, l, o, u, y, p, c, M, m, v = (
|
|
495
|
+
/*$_*/
|
|
496
|
+
i[16]("gamingLimitsText") + ""
|
|
497
|
+
), d, T, f;
|
|
498
|
+
return {
|
|
499
|
+
c() {
|
|
500
|
+
e = _("div"), n = P("svg"), l = P("defs"), o = P("style"), u = N(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"), y = P("g"), p = P("g"), c = P("path"), M = D(), m = _("h2"), d = N(v), h(c, "class", "aaa"), h(c, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), h(c, "transform", "translate(15 15) rotate(180)"), h(p, "transform", "translate(20 158)"), h(y, "transform", "translate(-20 -158)"), h(n, "xmlns", "http://www.w3.org/2000/svg"), h(n, "width", "15"), h(n, "height", "15"), h(n, "viewBox", "0 0 15 15"), h(n, "class", "svelte-1ct02co"), h(m, "class", "PlayerGamingLimitsTitleMobile svelte-1ct02co"), h(e, "class", "MenuReturnButton svelte-1ct02co");
|
|
501
|
+
},
|
|
502
|
+
m(L, s) {
|
|
503
|
+
C(L, e, s), g(e, n), g(n, l), g(l, o), g(o, u), g(n, y), g(y, p), g(p, c), g(e, M), g(e, m), g(m, d), T || (f = se(
|
|
504
|
+
e,
|
|
505
|
+
"click",
|
|
506
|
+
/*click_handler*/
|
|
507
|
+
i[21]
|
|
508
|
+
), T = !0);
|
|
509
|
+
},
|
|
510
|
+
p(L, s) {
|
|
511
|
+
s & /*$_*/
|
|
512
|
+
65536 && v !== (v = /*$_*/
|
|
513
|
+
L[16]("gamingLimitsText") + "") && H(d, v);
|
|
514
|
+
},
|
|
515
|
+
d(L) {
|
|
516
|
+
L && j(e), T = !1, f();
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
function de(i) {
|
|
521
|
+
let e;
|
|
522
|
+
function n(u, y) {
|
|
523
|
+
return (
|
|
524
|
+
/*isLoading*/
|
|
525
|
+
u[12] ? ue : (
|
|
526
|
+
/*limitsGroupView*/
|
|
527
|
+
u[15] ? ge : ce
|
|
528
|
+
)
|
|
529
|
+
);
|
|
530
|
+
}
|
|
531
|
+
let l = n(i), o = l(i);
|
|
532
|
+
return {
|
|
533
|
+
c() {
|
|
534
|
+
e = _("div"), o.c();
|
|
535
|
+
},
|
|
536
|
+
m(u, y) {
|
|
537
|
+
C(u, e, y), o.m(e, null), i[22](e);
|
|
538
|
+
},
|
|
539
|
+
p(u, [y]) {
|
|
540
|
+
l === (l = n(u)) && o ? o.p(u, y) : (o.d(1), o = l(u), o && (o.c(), o.m(e, null)));
|
|
541
|
+
},
|
|
542
|
+
i: E,
|
|
543
|
+
o: E,
|
|
544
|
+
d(u) {
|
|
545
|
+
u && j(e), o.d(), i[22](null);
|
|
546
|
+
}
|
|
547
|
+
};
|
|
548
|
+
}
|
|
549
|
+
let pe = "Deposit Limit", Le = "Wagering Limit", ye = "Loss Limit", he = "Time Limit";
|
|
550
|
+
function we(i, e, n) {
|
|
551
|
+
let l;
|
|
552
|
+
te(i, re, (a) => n(16, l = a));
|
|
553
|
+
let { depositlimit: o } = e, { wageringlimit: u } = e, { losslimit: y } = e, { timelimit: p } = e, { showdeletenotification: c = !1 } = e, { showsuccessnotification: M = !1 } = e, { lang: m = "en" } = e, { playercurrency: v = "" } = e, { separatelimits: d = "true" } = e, { clientstyling: T = "" } = e, { clientstylingurl: f = "" } = e, { translationurl: L = "" } = e;
|
|
554
|
+
const s = () => {
|
|
555
|
+
fetch(L).then((b) => b.json()).then((b) => {
|
|
556
|
+
Object.keys(b).forEach((k) => {
|
|
557
|
+
F(k, b[k]);
|
|
558
|
+
});
|
|
559
|
+
}).catch((b) => {
|
|
560
|
+
console.log(b);
|
|
561
|
+
});
|
|
562
|
+
};
|
|
563
|
+
Object.keys(V).forEach((a) => {
|
|
564
|
+
F(a, V[a]);
|
|
565
|
+
});
|
|
566
|
+
let r, R = !0, z = window.navigator.userAgent, O = ne(z) !== "PC", S, A = "", G = !0;
|
|
567
|
+
const U = window.matchMedia("(min-width: 768px)"), B = () => {
|
|
568
|
+
window.postMessage(
|
|
569
|
+
{
|
|
570
|
+
type: "PlayerAccountMenuActive",
|
|
571
|
+
isMobile: O
|
|
572
|
+
},
|
|
573
|
+
window.location.href
|
|
574
|
+
);
|
|
575
|
+
}, q = () => {
|
|
576
|
+
me(m);
|
|
577
|
+
}, W = (a) => {
|
|
578
|
+
if (a.data)
|
|
579
|
+
switch (a.data.type) {
|
|
580
|
+
case "PlayerLimitsData":
|
|
581
|
+
n(0, m = a.data.limits.lang), n(1, o = a.data.limits.depositlimit), n(2, u = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, p = a.data.limits.timelimit), n(12, R = !1);
|
|
582
|
+
break;
|
|
583
|
+
case "EditPlayerAccountGamingLimits":
|
|
584
|
+
n(13, S = a.data.edit), n(14, A = a.data.name), n(15, G = !1), window.postMessage(
|
|
585
|
+
{
|
|
586
|
+
type: "EditPlayerLimit",
|
|
587
|
+
name: A
|
|
588
|
+
},
|
|
589
|
+
window.location.href
|
|
590
|
+
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
591
|
+
break;
|
|
592
|
+
case "PlayerAccountBackToLimitsView":
|
|
593
|
+
n(15, G = !0);
|
|
594
|
+
break;
|
|
595
|
+
case "ProfileDetailsData":
|
|
596
|
+
let b = a.data.profileDetails;
|
|
597
|
+
n(5, v = b.currency);
|
|
598
|
+
break;
|
|
599
|
+
}
|
|
600
|
+
}, Z = () => {
|
|
601
|
+
let a = document.createElement("style");
|
|
602
|
+
a.innerHTML = T, r.appendChild(a);
|
|
603
|
+
}, I = () => {
|
|
604
|
+
let a = new URL(f), b = document.createElement("style");
|
|
605
|
+
fetch(a.href).then((k) => k.text()).then((k) => {
|
|
606
|
+
b.innerHTML = k, setTimeout(
|
|
607
|
+
() => {
|
|
608
|
+
r.appendChild(b);
|
|
609
|
+
},
|
|
610
|
+
1
|
|
611
|
+
);
|
|
612
|
+
});
|
|
613
|
+
};
|
|
614
|
+
ae(() => (window.addEventListener("message", W, !1), () => {
|
|
615
|
+
window.removeEventListener("message", W);
|
|
616
|
+
}));
|
|
617
|
+
const K = () => B();
|
|
618
|
+
function Q(a) {
|
|
619
|
+
le[a ? "unshift" : "push"](() => {
|
|
620
|
+
r = a, n(11, r);
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
return i.$$set = (a) => {
|
|
624
|
+
"depositlimit" in a && n(1, o = a.depositlimit), "wageringlimit" in a && n(2, u = a.wageringlimit), "losslimit" in a && n(3, y = a.losslimit), "timelimit" in a && n(4, p = a.timelimit), "showdeletenotification" in a && n(6, c = a.showdeletenotification), "showsuccessnotification" in a && n(7, M = a.showsuccessnotification), "lang" in a && n(0, m = a.lang), "playercurrency" in a && n(5, v = a.playercurrency), "separatelimits" in a && n(8, d = a.separatelimits), "clientstyling" in a && n(9, T = a.clientstyling), "clientstylingurl" in a && n(10, f = a.clientstylingurl), "translationurl" in a && n(20, L = a.translationurl);
|
|
625
|
+
}, i.$$.update = () => {
|
|
626
|
+
i.$$.dirty & /*lang*/
|
|
627
|
+
1 && m && q(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
628
|
+
2560 && T && r && Z(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
629
|
+
3072 && f && r && I(), i.$$.dirty & /*translationurl*/
|
|
630
|
+
1048576 && L && s();
|
|
631
|
+
}, [
|
|
632
|
+
m,
|
|
633
|
+
o,
|
|
634
|
+
u,
|
|
635
|
+
y,
|
|
636
|
+
p,
|
|
637
|
+
v,
|
|
638
|
+
c,
|
|
639
|
+
M,
|
|
640
|
+
d,
|
|
641
|
+
T,
|
|
642
|
+
f,
|
|
643
|
+
r,
|
|
644
|
+
R,
|
|
645
|
+
S,
|
|
646
|
+
A,
|
|
647
|
+
G,
|
|
648
|
+
l,
|
|
649
|
+
O,
|
|
650
|
+
U,
|
|
651
|
+
B,
|
|
652
|
+
L,
|
|
653
|
+
K,
|
|
654
|
+
Q
|
|
655
|
+
];
|
|
656
|
+
}
|
|
657
|
+
class _e extends X {
|
|
658
|
+
constructor(e) {
|
|
659
|
+
super(), x(
|
|
660
|
+
this,
|
|
661
|
+
e,
|
|
662
|
+
we,
|
|
663
|
+
de,
|
|
664
|
+
ee,
|
|
665
|
+
{
|
|
666
|
+
depositlimit: 1,
|
|
667
|
+
wageringlimit: 2,
|
|
668
|
+
losslimit: 3,
|
|
669
|
+
timelimit: 4,
|
|
670
|
+
showdeletenotification: 6,
|
|
671
|
+
showsuccessnotification: 7,
|
|
672
|
+
lang: 0,
|
|
673
|
+
playercurrency: 5,
|
|
674
|
+
separatelimits: 8,
|
|
675
|
+
clientstyling: 9,
|
|
676
|
+
clientstylingurl: 10,
|
|
677
|
+
translationurl: 20
|
|
678
|
+
},
|
|
679
|
+
oe
|
|
680
|
+
);
|
|
681
|
+
}
|
|
682
|
+
get depositlimit() {
|
|
683
|
+
return this.$$.ctx[1];
|
|
684
|
+
}
|
|
685
|
+
set depositlimit(e) {
|
|
686
|
+
this.$$set({ depositlimit: e }), w();
|
|
687
|
+
}
|
|
688
|
+
get wageringlimit() {
|
|
689
|
+
return this.$$.ctx[2];
|
|
690
|
+
}
|
|
691
|
+
set wageringlimit(e) {
|
|
692
|
+
this.$$set({ wageringlimit: e }), w();
|
|
693
|
+
}
|
|
694
|
+
get losslimit() {
|
|
695
|
+
return this.$$.ctx[3];
|
|
696
|
+
}
|
|
697
|
+
set losslimit(e) {
|
|
698
|
+
this.$$set({ losslimit: e }), w();
|
|
699
|
+
}
|
|
700
|
+
get timelimit() {
|
|
701
|
+
return this.$$.ctx[4];
|
|
702
|
+
}
|
|
703
|
+
set timelimit(e) {
|
|
704
|
+
this.$$set({ timelimit: e }), w();
|
|
705
|
+
}
|
|
706
|
+
get showdeletenotification() {
|
|
707
|
+
return this.$$.ctx[6];
|
|
708
|
+
}
|
|
709
|
+
set showdeletenotification(e) {
|
|
710
|
+
this.$$set({ showdeletenotification: e }), w();
|
|
711
|
+
}
|
|
712
|
+
get showsuccessnotification() {
|
|
713
|
+
return this.$$.ctx[7];
|
|
714
|
+
}
|
|
715
|
+
set showsuccessnotification(e) {
|
|
716
|
+
this.$$set({ showsuccessnotification: e }), w();
|
|
717
|
+
}
|
|
718
|
+
get lang() {
|
|
719
|
+
return this.$$.ctx[0];
|
|
720
|
+
}
|
|
721
|
+
set lang(e) {
|
|
722
|
+
this.$$set({ lang: e }), w();
|
|
723
|
+
}
|
|
724
|
+
get playercurrency() {
|
|
725
|
+
return this.$$.ctx[5];
|
|
726
|
+
}
|
|
727
|
+
set playercurrency(e) {
|
|
728
|
+
this.$$set({ playercurrency: e }), w();
|
|
729
|
+
}
|
|
730
|
+
get separatelimits() {
|
|
731
|
+
return this.$$.ctx[8];
|
|
732
|
+
}
|
|
733
|
+
set separatelimits(e) {
|
|
734
|
+
this.$$set({ separatelimits: e }), w();
|
|
735
|
+
}
|
|
736
|
+
get clientstyling() {
|
|
737
|
+
return this.$$.ctx[9];
|
|
738
|
+
}
|
|
739
|
+
set clientstyling(e) {
|
|
740
|
+
this.$$set({ clientstyling: e }), w();
|
|
741
|
+
}
|
|
742
|
+
get clientstylingurl() {
|
|
743
|
+
return this.$$.ctx[10];
|
|
744
|
+
}
|
|
745
|
+
set clientstylingurl(e) {
|
|
746
|
+
this.$$set({ clientstylingurl: e }), w();
|
|
747
|
+
}
|
|
748
|
+
get translationurl() {
|
|
749
|
+
return this.$$.ctx[20];
|
|
750
|
+
}
|
|
751
|
+
set translationurl(e) {
|
|
752
|
+
this.$$set({ translationurl: e }), w();
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
$(_e, { depositlimit: {}, wageringlimit: {}, losslimit: {}, timelimit: {}, showdeletenotification: { type: "Boolean" }, showsuccessnotification: { type: "Boolean" }, lang: {}, playercurrency: {}, separatelimits: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
756
|
+
export {
|
|
757
|
+
_e as default
|
|
758
|
+
};
|