@everymatrix/player-account-controller 1.53.12 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-CsWa2j6i.js} +1131 -1094
- package/components/GeneralLogout-DfI2_eQe.cjs +8 -0
- package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-D_8K8e-E.js} +35 -34
- package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +1 -0
- package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +1 -0
- package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-FWYyFKmB.js} +1 -1
- package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-BJP8eejl.js} +1 -1
- package/components/PlayerAccountClosure-DvHhtHhl.cjs +1 -0
- package/components/PlayerAccountController-DDLO4xVW.cjs +1 -0
- package/components/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-DQGj69Re.js} +353 -336
- package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-Dt8hOZzW.js} +3 -3
- package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js} +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js} +16 -16
- package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-65MLJ2rD.js} +132 -121
- package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js} +768 -737
- package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-diUVGesC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BmDihzLr.js} +81 -75
- package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +1 -0
- package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-CbXhpL1a.js} +67 -66
- package/components/PlayerAccountMenu-DHGBVm64.cjs +1 -0
- package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-5TJbkUF8.js} +1 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +1 -0
- package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-BVY-SXyT.js} +1 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +3828 -0
- package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-BGfuEA4r.js} +1572 -1488
- package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-BDDMm0XX.js} +4 -4
- package/components/PlayerAccountTimeout-f4vPyQE-.cjs +1 -0
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +1 -0
- package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-D0RUTvjl.js} +120 -119
- package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-CU67pLmG.js} +2 -2
- package/components/PlayerBonusCard-UTTIEBwb.cjs +1 -0
- package/components/{PlayerBonusHistory-BxBiQwQf.js → PlayerBonusHistory-BLedlLHg.js} +53 -53
- package/components/PlayerBonusHistory-EXOvKzDr.cjs +1 -0
- package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-8ZD6eOj-.js} +1 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +3 -0
- package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-D5Xuk21T.js} +1 -1
- package/components/PlayerDeposit-Do7vb_4b.cjs +1 -0
- package/components/PlayerGamingHistory-OEU1L3Q2.cjs +1 -0
- package/components/{PlayerGamingHistory-BtQ73TId.js → PlayerGamingHistory-tb-rMGdz.js} +388 -375
- package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-DuN3Qn3P.js} +1 -1
- package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-DmKFg0dn.js} +549 -532
- package/components/PlayerProfileInfo-lMeb2jBi.cjs +1 -0
- package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BUW8tvj3.js} +191 -175
- package/components/PlayerRealityCheck-CA0P_3BC.cjs +1 -0
- package/components/PlayerTransactionHistory-CvZcvyBx.cjs +1 -0
- package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-hGi2tOL2.js} +1 -1
- package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-CR3Xpytk.js} +1 -1
- package/components/PlayerWithdrawal-DxLwjX7x.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/package.json +33 -12
- package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +1519 -0
- package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → active-mixin-59dfae2a-CJN1Jc-g.js} +776 -745
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
- package/stencil/{checkbox-group-input_9-CMFoK7_E.js → checkbox-group-input_9-DQoOMgN8.js} +1942 -1873
- package/stencil/checkbox-group-input_9-DiXERGqn.cjs +4193 -0
- package/stencil/{general-input-DnFPstQP.js → general-input-bzWxIJkt.js} +1 -1
- package/stencil/general-input-fzGwoSoE.cjs +1 -0
- package/stencil/index-062e829b-CpXLBOEz.cjs +1 -0
- package/stencil/{index-062e829b-DAFsZs6D.js → index-062e829b-DPj_pEuI.js} +236 -220
- package/stencil/index-33f005e1-BS5PFnj3.cjs +1 -0
- package/stencil/{index-33f005e1-fFxPaeNy.js → index-33f005e1-DGGQe5wK.js} +239 -223
- package/stencil/{index-9b3245b3-rzHgwqlB.js → index-9b3245b3-3zj7bxxu.js} +193 -166
- package/stencil/index-9b3245b3-ByXtSZIM.cjs +1 -0
- package/stencil/{index-fc58390d-BSwfXuUs.js → index-fc58390d-DeoeGpBS.js} +294 -267
- package/stencil/index-fc58390d-DgBOSsU7.cjs +1 -0
- package/stencil/locale-B5abSHU_.cjs +1 -0
- package/stencil/password-input_2-DvDzz75b.cjs +1248 -0
- package/stencil/{password-input_2-Bb9Q6Fe0.js → password-input_2-Dx1lICIg.js} +154 -136
- package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +1 -0
- package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-98dcb7bc-F9HM0T8d.js} +1 -1
- package/stencil/player-change-password-gm2-BEYcuzS-.cjs +1 -0
- package/stencil/player-change-password-gm2-NWnv4CCw.js +25 -0
- package/stencil/player-kyc-verification-_iT3bbO9.cjs +180 -0
- package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-o-RUWyY4.js} +83 -61
- package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BCrxxTpc.js} +1 -1
- package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +1 -0
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-DEMVRyvk.js} +197 -175
- package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +59 -0
- package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-CevHOCcm.js} +107 -81
- package/stencil/user-transaction-history-U0c__t1q.cjs +1 -0
- package/esnext/player-account-controller.js +0 -14
- package/stencil/player-change-password-gm2-DR3e2gh5.js +0 -7
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var ve = Object.defineProperty;
|
|
2
|
+
var q = Object.getOwnPropertySymbols;
|
|
3
|
+
var Te = Object.prototype.hasOwnProperty, we = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var J = (t, e, i) => e in t ? ve(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, V = (t, e) => {
|
|
5
|
+
for (var i in e || (e = {}))
|
|
6
|
+
Te.call(e, i) && J(t, i, e[i]);
|
|
7
|
+
if (q)
|
|
8
|
+
for (var i of q(e))
|
|
9
|
+
we.call(e, i) && J(t, i, e[i]);
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { a as Se, $ as _e, S as Ae, i as Pe, f as b, c as be, s as ke, b as Ce, e as S, g as a, k as x, o as D, p as R, q as Ie, T as Ee, v as De, x as Z, K as $, t as C, d as Q, w as Y, h as F, l as g, m as xe, n as I, L as Re, U as ee, y as Oe } from "./GeneralLogout-CsWa2j6i.js";
|
|
13
|
+
function te(t, e) {
|
|
14
|
+
Se(t, e);
|
|
4
15
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
16
|
+
function We(t) {
|
|
17
|
+
_e.set(t);
|
|
7
18
|
}
|
|
8
|
-
const
|
|
19
|
+
const K = {
|
|
9
20
|
en: {
|
|
10
21
|
expandLimits: "LIMIT HISTORY",
|
|
11
22
|
daily: "per day",
|
|
@@ -256,26 +267,26 @@ const Y = {
|
|
|
256
267
|
historyLimitTypeLoss: "Loss Limit"
|
|
257
268
|
}
|
|
258
269
|
};
|
|
259
|
-
function
|
|
260
|
-
|
|
270
|
+
function je(t) {
|
|
271
|
+
Ce(t, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
261
272
|
}
|
|
262
|
-
function
|
|
273
|
+
function ie(t, e, i) {
|
|
263
274
|
const r = t.slice();
|
|
264
|
-
return r[38] = e[
|
|
275
|
+
return r[38] = e[i], r[39] = e, r[40] = i, r;
|
|
265
276
|
}
|
|
266
|
-
function
|
|
267
|
-
let e,
|
|
277
|
+
function ze(t) {
|
|
278
|
+
let e, i, r, o = (
|
|
268
279
|
/*$_*/
|
|
269
280
|
t[9]("expandLimits") + ""
|
|
270
|
-
), l, m, n, v, L, d, p, c, f, P =
|
|
281
|
+
), l, m, n, v, L, d, p, c, f, P = $(
|
|
271
282
|
/*lazyShowedHistoryArray*/
|
|
272
283
|
t[7]
|
|
273
284
|
), T = [];
|
|
274
285
|
for (let h = 0; h < P.length; h += 1)
|
|
275
|
-
T[h] =
|
|
286
|
+
T[h] = se(ie(t, P, h));
|
|
276
287
|
return {
|
|
277
288
|
c() {
|
|
278
|
-
e = S("div"),
|
|
289
|
+
e = S("div"), i = S("div"), r = S("button"), l = C(o), m = Q(), n = Y("svg"), v = Y("path"), L = Y("path"), d = Q(), p = S("div");
|
|
279
290
|
for (let h = 0; h < T.length; h += 1)
|
|
280
291
|
T[h].c();
|
|
281
292
|
a(v, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), a(v, "class", "svelte-19ml84y"), a(L, "d", "M0 0h36v36h-36z"), a(L, "fill", "none"), a(L, "class", "svelte-19ml84y"), a(n, "class", "ExpandArrow svelte-19ml84y"), a(n, "xmlns", "http://www.w3.org/2000/svg"), a(n, "width", "36"), a(n, "height", "36"), a(n, "viewBox", "0 0 36 36"), a(n, "fill", "#999"), F(
|
|
@@ -288,14 +299,14 @@ function De(t) {
|
|
|
288
299
|
"hidden",
|
|
289
300
|
/*hidden*/
|
|
290
301
|
t[5]
|
|
291
|
-
), a(
|
|
302
|
+
), a(i, "class", "HistoryWrapper " + /*isDesktop*/
|
|
292
303
|
(t[10] ? "Desktop" : "") + " svelte-19ml84y"), a(e, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
293
304
|
},
|
|
294
305
|
m(h, _) {
|
|
295
|
-
x(h, e, _), g(e,
|
|
306
|
+
x(h, e, _), g(e, i), g(i, r), g(r, l), g(r, m), g(r, n), g(n, v), g(n, L), g(i, d), g(i, p);
|
|
296
307
|
for (let u = 0; u < T.length; u += 1)
|
|
297
308
|
T[u] && T[u].m(p, null);
|
|
298
|
-
c || (f =
|
|
309
|
+
c || (f = xe(
|
|
299
310
|
r,
|
|
300
311
|
"click",
|
|
301
312
|
/*toggleHistoryDisplayArea*/
|
|
@@ -313,14 +324,14 @@ function De(t) {
|
|
|
313
324
|
h[8]
|
|
314
325
|
), _[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
315
326
|
650) {
|
|
316
|
-
P =
|
|
327
|
+
P = $(
|
|
317
328
|
/*lazyShowedHistoryArray*/
|
|
318
329
|
h[7]
|
|
319
330
|
);
|
|
320
331
|
let u;
|
|
321
332
|
for (u = 0; u < P.length; u += 1) {
|
|
322
|
-
const E =
|
|
323
|
-
T[u] ? T[u].p(E, _) : (T[u] =
|
|
333
|
+
const E = ie(h, P, u);
|
|
334
|
+
T[u] ? T[u].p(E, _) : (T[u] = se(E), T[u].c(), T[u].m(p, null));
|
|
324
335
|
}
|
|
325
336
|
for (; u < T.length; u += 1)
|
|
326
337
|
T[u].d(1);
|
|
@@ -335,15 +346,15 @@ function De(t) {
|
|
|
335
346
|
);
|
|
336
347
|
},
|
|
337
348
|
d(h) {
|
|
338
|
-
h && R(e),
|
|
349
|
+
h && R(e), Re(T, h), c = !1, f();
|
|
339
350
|
}
|
|
340
351
|
};
|
|
341
352
|
}
|
|
342
|
-
function
|
|
353
|
+
function He(t) {
|
|
343
354
|
return { c: D, m: D, p: D, d: D };
|
|
344
355
|
}
|
|
345
|
-
function
|
|
346
|
-
let e,
|
|
356
|
+
function Me(t) {
|
|
357
|
+
let e, i = (
|
|
347
358
|
/*lang*/
|
|
348
359
|
(t[0] ? (
|
|
349
360
|
/*$_*/
|
|
@@ -352,26 +363,26 @@ function Re(t) {
|
|
|
352
363
|
), r;
|
|
353
364
|
return {
|
|
354
365
|
c() {
|
|
355
|
-
e = S("p"), r = C(
|
|
366
|
+
e = S("p"), r = C(i), a(e, "class", "svelte-19ml84y");
|
|
356
367
|
},
|
|
357
368
|
m(o, l) {
|
|
358
369
|
x(o, e, l), g(e, r);
|
|
359
370
|
},
|
|
360
371
|
p(o, l) {
|
|
361
372
|
l[0] & /*lang, $_*/
|
|
362
|
-
513 &&
|
|
373
|
+
513 && i !== (i = /*lang*/
|
|
363
374
|
(o[0] ? (
|
|
364
375
|
/*$_*/
|
|
365
376
|
o[9]("error")
|
|
366
|
-
) : "500 Server Error") + "") && I(r,
|
|
377
|
+
) : "500 Server Error") + "") && I(r, i);
|
|
367
378
|
},
|
|
368
379
|
d(o) {
|
|
369
380
|
o && R(e);
|
|
370
381
|
}
|
|
371
382
|
};
|
|
372
383
|
}
|
|
373
|
-
function
|
|
374
|
-
let e,
|
|
384
|
+
function Fe(t) {
|
|
385
|
+
let e, i, r, o = (
|
|
375
386
|
/*history*/
|
|
376
387
|
t[38].type + ""
|
|
377
388
|
), l, m, n = (
|
|
@@ -383,10 +394,10 @@ function Oe(t) {
|
|
|
383
394
|
), p;
|
|
384
395
|
return {
|
|
385
396
|
c() {
|
|
386
|
-
e = S("div"),
|
|
397
|
+
e = S("div"), i = S("span"), r = S("span"), l = C(o), m = S("span"), v = C(n), L = S("span"), p = C(d), a(r, "class", "LimitType svelte-19ml84y"), a(m, "class", "LimitAmountPeriod svelte-19ml84y"), a(i, "class", "GeneralLimitInformation svelte-19ml84y"), a(L, "class", "DateLimitInformation svelte-19ml84y"), a(e, "class", "HistoryRow svelte-19ml84y");
|
|
387
398
|
},
|
|
388
399
|
m(c, f) {
|
|
389
|
-
x(c, e, f), g(e,
|
|
400
|
+
x(c, e, f), g(e, i), g(i, r), g(r, l), g(i, m), g(m, v), g(e, L), g(L, p);
|
|
390
401
|
},
|
|
391
402
|
p(c, f) {
|
|
392
403
|
f[0] & /*lazyShowedHistoryArray*/
|
|
@@ -402,8 +413,8 @@ function Oe(t) {
|
|
|
402
413
|
}
|
|
403
414
|
};
|
|
404
415
|
}
|
|
405
|
-
function
|
|
406
|
-
let e,
|
|
416
|
+
function Ue(t) {
|
|
417
|
+
let e, i, r, o = (
|
|
407
418
|
/*history*/
|
|
408
419
|
t[38].type + ""
|
|
409
420
|
), l, m, n = (
|
|
@@ -415,10 +426,10 @@ function We(t) {
|
|
|
415
426
|
), p;
|
|
416
427
|
return {
|
|
417
428
|
c() {
|
|
418
|
-
e = S("div"),
|
|
429
|
+
e = S("div"), i = S("span"), r = S("span"), l = C(o), m = S("span"), v = C(n), L = S("span"), p = C(d), a(r, "class", "LimitType svelte-19ml84y"), a(m, "class", "LimitAmountPeriod svelte-19ml84y"), a(i, "class", "GeneralLimitInformation svelte-19ml84y"), a(L, "class", "DateLimitInformation svelte-19ml84y"), a(e, "class", "HistoryRow svelte-19ml84y");
|
|
419
430
|
},
|
|
420
431
|
m(c, f) {
|
|
421
|
-
x(c, e, f), g(e,
|
|
432
|
+
x(c, e, f), g(e, i), g(i, r), g(r, l), g(i, m), g(m, v), g(e, L), g(L, p);
|
|
422
433
|
},
|
|
423
434
|
p(c, f) {
|
|
424
435
|
f[0] & /*lazyShowedHistoryArray*/
|
|
@@ -434,15 +445,15 @@ function We(t) {
|
|
|
434
445
|
}
|
|
435
446
|
};
|
|
436
447
|
}
|
|
437
|
-
function
|
|
438
|
-
let e,
|
|
448
|
+
function se(t) {
|
|
449
|
+
let e, i, r, o = (
|
|
439
450
|
/*index*/
|
|
440
451
|
t[40]
|
|
441
452
|
);
|
|
442
453
|
function l(d, p) {
|
|
443
454
|
return (
|
|
444
455
|
/*history*/
|
|
445
|
-
d[38].removed ?
|
|
456
|
+
d[38].removed ? Ue : Fe
|
|
446
457
|
);
|
|
447
458
|
}
|
|
448
459
|
let m = l(t), n = m(t);
|
|
@@ -455,18 +466,18 @@ function ee(t) {
|
|
|
455
466
|
);
|
|
456
467
|
return {
|
|
457
468
|
c() {
|
|
458
|
-
e = S("div"), n.c(),
|
|
469
|
+
e = S("div"), n.c(), i = Q(), a(e, "class", r = ee(
|
|
459
470
|
/*index*/
|
|
460
471
|
t[40] > +/*numberofentries*/
|
|
461
472
|
t[1] ? "LimitContainer" : ""
|
|
462
473
|
) + " svelte-19ml84y");
|
|
463
474
|
},
|
|
464
475
|
m(d, p) {
|
|
465
|
-
x(d, e, p), n.m(e, null), g(e,
|
|
476
|
+
x(d, e, p), n.m(e, null), g(e, i), v();
|
|
466
477
|
},
|
|
467
478
|
p(d, p) {
|
|
468
|
-
t = d, m === (m = l(t)) && n ? n.p(t, p) : (n.d(1), n = m(t), n && (n.c(), n.m(e,
|
|
469
|
-
2 && r !== (r =
|
|
479
|
+
t = d, m === (m = l(t)) && n ? n.p(t, p) : (n.d(1), n = m(t), n && (n.c(), n.m(e, i))), p[0] & /*numberofentries*/
|
|
480
|
+
2 && r !== (r = ee(
|
|
470
481
|
/*index*/
|
|
471
482
|
t[40] > +/*numberofentries*/
|
|
472
483
|
t[1] ? "LimitContainer" : ""
|
|
@@ -479,18 +490,18 @@ function ee(t) {
|
|
|
479
490
|
}
|
|
480
491
|
};
|
|
481
492
|
}
|
|
482
|
-
function
|
|
493
|
+
function Ne(t) {
|
|
483
494
|
let e;
|
|
484
|
-
function
|
|
495
|
+
function i(l, m) {
|
|
485
496
|
return (
|
|
486
497
|
/*hasErrors*/
|
|
487
|
-
l[6] ?
|
|
498
|
+
l[6] ? Me : (
|
|
488
499
|
/*isLoading*/
|
|
489
|
-
l[4] ?
|
|
500
|
+
l[4] ? He : ze
|
|
490
501
|
)
|
|
491
502
|
);
|
|
492
503
|
}
|
|
493
|
-
let r =
|
|
504
|
+
let r = i(t), o = r(t);
|
|
494
505
|
return {
|
|
495
506
|
c() {
|
|
496
507
|
e = S("div"), o.c(), a(e, "class", "svelte-19ml84y");
|
|
@@ -499,7 +510,7 @@ function je(t) {
|
|
|
499
510
|
x(l, e, m), o.m(e, null), t[22](e);
|
|
500
511
|
},
|
|
501
512
|
p(l, m) {
|
|
502
|
-
r === (r =
|
|
513
|
+
r === (r = i(l)) && o ? o.p(l, m) : (o.d(1), o = r(l), o && (o.c(), o.m(e, null)));
|
|
503
514
|
},
|
|
504
515
|
i: D,
|
|
505
516
|
o: D,
|
|
@@ -508,24 +519,24 @@ function je(t) {
|
|
|
508
519
|
}
|
|
509
520
|
};
|
|
510
521
|
}
|
|
511
|
-
function
|
|
522
|
+
function Be(t, e, i) {
|
|
512
523
|
let r;
|
|
513
|
-
|
|
514
|
-
let o = window.navigator.userAgent, l = !
|
|
515
|
-
const
|
|
524
|
+
Ie(t, Oe, (s) => i(9, r = s));
|
|
525
|
+
let o = window.navigator.userAgent, l = !Ee(o), { lang: m = "" } = e, { userid: n = "" } = e, { session: v = "" } = e, { endpoint: L = "" } = e, { apiversion: d = "" } = e, { numberofentries: p = "10" } = e, { customcurrencysymbols: c = "" } = e, { limitformat: f = "" } = e, { clientstyling: P = "" } = e, { clientstylingurl: T = "" } = e, { translationurl: h = "" } = e, _, u = new Array(), E = parseInt(p, 10), U = !1, W = !0, j = [], z = [], H = !0, N = !1, O = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
526
|
+
const re = () => {
|
|
516
527
|
fetch(h).then((y) => y.json()).then((y) => {
|
|
517
528
|
Object.keys(y).forEach((A) => {
|
|
518
|
-
|
|
529
|
+
te(A, y[A]);
|
|
519
530
|
});
|
|
520
531
|
}).catch((y) => {
|
|
521
532
|
console.log(y);
|
|
522
533
|
});
|
|
523
534
|
};
|
|
524
|
-
Object.keys(
|
|
525
|
-
|
|
535
|
+
Object.keys(K).forEach((s) => {
|
|
536
|
+
te(s, K[s]);
|
|
526
537
|
});
|
|
527
|
-
const
|
|
528
|
-
let
|
|
538
|
+
const oe = () => {
|
|
539
|
+
let s = d === "gmcore" ? `/v2/player/${n}/transactions/limit` : `/v1/player/${n}/limits/monetary/history`, y = new URL(s, L);
|
|
529
540
|
y.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), y.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), y.searchParams.append("limit", "10000");
|
|
530
541
|
let A = {
|
|
531
542
|
method: "GET",
|
|
@@ -533,19 +544,19 @@ function ze(t, e, s) {
|
|
|
533
544
|
};
|
|
534
545
|
fetch(y.href, A).then((w) => {
|
|
535
546
|
if (w.status >= 300)
|
|
536
|
-
throw
|
|
547
|
+
throw i(4, W = !1), i(6, U = !0), new Error("There was an error fetching the limits");
|
|
537
548
|
return w.json();
|
|
538
549
|
}).then(
|
|
539
550
|
(w) => {
|
|
540
|
-
w.length && (j =
|
|
551
|
+
w.length && (j = ne(w), i(7, z = j.slice(0, E))), i(4, W = !1);
|
|
541
552
|
},
|
|
542
553
|
(w) => {
|
|
543
|
-
console.error("There was an error", w),
|
|
554
|
+
console.error("There was an error", w), i(6, U = !0);
|
|
544
555
|
}
|
|
545
556
|
);
|
|
546
|
-
},
|
|
547
|
-
const y = !!
|
|
548
|
-
return
|
|
557
|
+
}, ne = (s) => {
|
|
558
|
+
const y = !!K[m];
|
|
559
|
+
return s.map((w) => {
|
|
549
560
|
let k = {
|
|
550
561
|
amount: "",
|
|
551
562
|
currency: "",
|
|
@@ -554,46 +565,46 @@ function ze(t, e, s) {
|
|
|
554
565
|
type: "",
|
|
555
566
|
removed: !1
|
|
556
567
|
};
|
|
557
|
-
return k.amount =
|
|
568
|
+
return k.amount = le(w), k.currency = y ? O[w.limitCurrencyCode] : w.limitCurrencyCode, k.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(w.limitDate)), k.period = r(`${w.limitPeriod.toLowerCase()}`), k.type = d === "gmcore" ? r(`historyLimitType${w.limitType.split(" ")[0]}`) : r(`historyLimitType${w.limitType.split(" ")[0]}`) + " " + r(`historyProductType${w.limitProductType}`), k.removed = w.limitAmount === -1, k;
|
|
558
569
|
});
|
|
559
|
-
},
|
|
560
|
-
let y = f || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
570
|
+
}, le = (s) => {
|
|
571
|
+
let y = f || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(s.limitAmount);
|
|
561
572
|
if (!f) {
|
|
562
|
-
let
|
|
563
|
-
return `${y}${
|
|
573
|
+
let fe = O[s.limitCurrencyCode] || s.limitCurrencyCode;
|
|
574
|
+
return `${y}${fe}`;
|
|
564
575
|
}
|
|
565
|
-
typeof
|
|
576
|
+
typeof s.limitAmount == "string" && s.limitAmount.includes(",") && (s.limitAmount = s.limitAmount.replaceAll(",", ""));
|
|
566
577
|
const A = y.match(/\{(\d+)decimals\}/), w = A ? parseInt(A[1], 10) : 2, k = A ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
567
|
-
let M = parseFloat(
|
|
568
|
-
const [
|
|
569
|
-
let [G,
|
|
570
|
-
return G = G.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
578
|
+
let M = parseFloat(s.limitAmount).toFixed(w);
|
|
579
|
+
const [he, B] = f.includes(".") ? [",", "."] : [".", ","];
|
|
580
|
+
let [G, Le] = M.split(".");
|
|
581
|
+
return G = G.replace(/\B(?=(\d{3})+(?!\d))/g, he), M = `${G}${B}${Le}`, y = y.replace("{currency}", O[s.limitCurrencyCode] || s.limitCurrencyCode).replace("{amount}", M.split(B)[0]).replace(
|
|
571
582
|
k,
|
|
572
583
|
M.split(B)[1]
|
|
573
584
|
), y;
|
|
574
|
-
},
|
|
575
|
-
|
|
585
|
+
}, ae = () => {
|
|
586
|
+
i(5, H = !H), i(8, N = !N);
|
|
576
587
|
};
|
|
577
|
-
let
|
|
578
|
-
|
|
579
|
-
y.isIntersecting && (E += parseInt(p, 10) || 10, z.length < j.length &&
|
|
588
|
+
let X = new IntersectionObserver((s) => {
|
|
589
|
+
s.forEach((y) => {
|
|
590
|
+
y.isIntersecting && (E += parseInt(p, 10) || 10, z.length < j.length && i(7, z = j.slice(0, E)));
|
|
580
591
|
});
|
|
581
592
|
});
|
|
582
|
-
const
|
|
583
|
-
|
|
584
|
-
},
|
|
593
|
+
const me = () => {
|
|
594
|
+
X.observe(u[u.length - 1]);
|
|
595
|
+
}, ye = () => {
|
|
585
596
|
if (!c) return;
|
|
586
|
-
let
|
|
597
|
+
let s = {};
|
|
587
598
|
c.split(",").forEach((y) => {
|
|
588
599
|
let A = y.split(":");
|
|
589
|
-
|
|
590
|
-
}), O = {
|
|
591
|
-
},
|
|
592
|
-
let
|
|
593
|
-
|
|
594
|
-
},
|
|
595
|
-
let
|
|
596
|
-
fetch(
|
|
600
|
+
s[A[0].trim()] = A[1].trim();
|
|
601
|
+
}), O = V(V({}, O), s);
|
|
602
|
+
}, de = () => {
|
|
603
|
+
let s = document.createElement("style");
|
|
604
|
+
s.innerHTML = P, _.appendChild(s);
|
|
605
|
+
}, pe = () => {
|
|
606
|
+
let s = new URL(T), y = document.createElement("style");
|
|
607
|
+
fetch(s.href).then((A) => A.text()).then((A) => {
|
|
597
608
|
y.innerHTML = A, _ && (setTimeout(
|
|
598
609
|
() => {
|
|
599
610
|
_.appendChild(y);
|
|
@@ -605,33 +616,33 @@ function ze(t, e, s) {
|
|
|
605
616
|
500
|
|
606
617
|
));
|
|
607
618
|
});
|
|
608
|
-
},
|
|
609
|
-
|
|
619
|
+
}, ue = () => {
|
|
620
|
+
We(m);
|
|
610
621
|
};
|
|
611
|
-
|
|
612
|
-
|
|
622
|
+
De(() => () => {
|
|
623
|
+
X.unobserve(u[u.length - 1]);
|
|
613
624
|
});
|
|
614
|
-
function
|
|
615
|
-
|
|
616
|
-
u[y] =
|
|
625
|
+
function ce(s, y) {
|
|
626
|
+
Z[s ? "unshift" : "push"](() => {
|
|
627
|
+
u[y] = s, i(3, u);
|
|
617
628
|
});
|
|
618
629
|
}
|
|
619
|
-
function
|
|
620
|
-
|
|
621
|
-
_ =
|
|
630
|
+
function ge(s) {
|
|
631
|
+
Z[s ? "unshift" : "push"](() => {
|
|
632
|
+
_ = s, i(2, _);
|
|
622
633
|
});
|
|
623
634
|
}
|
|
624
|
-
return t.$$set = (
|
|
625
|
-
"lang" in
|
|
635
|
+
return t.$$set = (s) => {
|
|
636
|
+
"lang" in s && i(0, m = s.lang), "userid" in s && i(12, n = s.userid), "session" in s && i(13, v = s.session), "endpoint" in s && i(14, L = s.endpoint), "apiversion" in s && i(15, d = s.apiversion), "numberofentries" in s && i(1, p = s.numberofentries), "customcurrencysymbols" in s && i(16, c = s.customcurrencysymbols), "limitformat" in s && i(17, f = s.limitformat), "clientstyling" in s && i(18, P = s.clientstyling), "clientstylingurl" in s && i(19, T = s.clientstylingurl), "translationurl" in s && i(20, h = s.translationurl);
|
|
626
637
|
}, t.$$.update = () => {
|
|
627
638
|
t.$$.dirty[0] & /*customcurrencysymbols*/
|
|
628
|
-
65536 && c &&
|
|
629
|
-
61440 && L && n && v && d &&
|
|
630
|
-
56 && u[0] && !W && !H &&
|
|
631
|
-
1 && m &&
|
|
632
|
-
524288 && T &&
|
|
633
|
-
262148 && P && _ &&
|
|
634
|
-
1048580 && h && _ &&
|
|
639
|
+
65536 && c && ye(), t.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
640
|
+
61440 && L && n && v && d && oe(), t.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
641
|
+
56 && u[0] && !W && !H && me(), t.$$.dirty[0] & /*lang*/
|
|
642
|
+
1 && m && ue(), t.$$.dirty[0] & /*clientstylingurl*/
|
|
643
|
+
524288 && T && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
644
|
+
262148 && P && _ && de(), t.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
645
|
+
1048580 && h && _ && re();
|
|
635
646
|
}, [
|
|
636
647
|
m,
|
|
637
648
|
p,
|
|
@@ -644,7 +655,7 @@ function ze(t, e, s) {
|
|
|
644
655
|
N,
|
|
645
656
|
r,
|
|
646
657
|
l,
|
|
647
|
-
|
|
658
|
+
ae,
|
|
648
659
|
n,
|
|
649
660
|
v,
|
|
650
661
|
L,
|
|
@@ -654,18 +665,18 @@ function ze(t, e, s) {
|
|
|
654
665
|
P,
|
|
655
666
|
T,
|
|
656
667
|
h,
|
|
657
|
-
|
|
658
|
-
|
|
668
|
+
ce,
|
|
669
|
+
ge
|
|
659
670
|
];
|
|
660
671
|
}
|
|
661
|
-
class
|
|
672
|
+
class Ge extends Ae {
|
|
662
673
|
constructor(e) {
|
|
663
|
-
super(),
|
|
674
|
+
super(), Pe(
|
|
664
675
|
this,
|
|
665
676
|
e,
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
677
|
+
Be,
|
|
678
|
+
Ne,
|
|
679
|
+
ke,
|
|
669
680
|
{
|
|
670
681
|
lang: 0,
|
|
671
682
|
userid: 12,
|
|
@@ -679,7 +690,7 @@ class He extends fe {
|
|
|
679
690
|
clientstylingurl: 19,
|
|
680
691
|
translationurl: 20
|
|
681
692
|
},
|
|
682
|
-
|
|
693
|
+
je,
|
|
683
694
|
[-1, -1]
|
|
684
695
|
);
|
|
685
696
|
}
|
|
@@ -750,7 +761,7 @@ class He extends fe {
|
|
|
750
761
|
this.$$set({ translationurl: e }), b();
|
|
751
762
|
}
|
|
752
763
|
}
|
|
753
|
-
|
|
764
|
+
be(Ge, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
754
765
|
export {
|
|
755
|
-
|
|
766
|
+
Ge as default
|
|
756
767
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var ne=Object.defineProperty;var H=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var F=(i,t,s)=>t in i?ne(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s,W=(i,t)=>{for(var s in t||(t={}))le.call(t,s)&&F(i,s,t[s]);if(H)for(var s of H(t))ae.call(t,s)&&F(i,s,t[s]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DfI2_eQe.cjs");function U(i,t){e.addMessages(i,t)}function me(i){e.$locale.set(i)}const M={en:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"HISTORIAL DE LÍMITES",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"HISTÓRICO DE LIMITE",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"HISTORIAL DE LÍMITES",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"},"en-us":{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"}};function de(i){e.append_styles(i,"svelte-19ml84y",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function N(i,t,s){const o=i.slice();return o[38]=t[s],o[39]=t,o[40]=s,o}function pe(i){let t,s,o,n=i[9]("expandLimits")+"",a,m,l,f,h,p,y,c,L,w=e.ensure_array_like(i[7]),v=[];for(let g=0;g<w.length;g+=1)v[g]=B(N(i,w,g));return{c(){t=e.element("div"),s=e.element("div"),o=e.element("button"),a=e.text(n),m=e.space(),l=e.svg_element("svg"),f=e.svg_element("path"),h=e.svg_element("path"),p=e.space(),y=e.element("div");for(let g=0;g<v.length;g+=1)v[g].c();e.attr(f,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(f,"class","svelte-19ml84y"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-19ml84y"),e.attr(l,"class","ExpandArrow svelte-19ml84y"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","36"),e.attr(l,"height","36"),e.attr(l,"viewBox","0 0 36 36"),e.attr(l,"fill","#999"),e.toggle_class(l,"extended",i[8]),e.attr(o,"class","ExpandButton svelte-19ml84y"),e.attr(y,"class","HistoryDisplayArea svelte-19ml84y"),e.toggle_class(y,"hidden",i[5]),e.attr(s,"class","HistoryWrapper "+(i[10]?"Desktop":"")+" svelte-19ml84y"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-19ml84y")},m(g,_){e.insert(g,t,_),e.append(t,s),e.append(s,o),e.append(o,a),e.append(o,m),e.append(o,l),e.append(l,f),e.append(l,h),e.append(s,p),e.append(s,y);for(let u=0;u<v.length;u+=1)v[u]&&v[u].m(y,null);c||(L=e.listen(o,"click",i[11]),c=!0)},p(g,_){if(_[0]&512&&n!==(n=g[9]("expandLimits")+"")&&e.set_data(a,n),_[0]&256&&e.toggle_class(l,"extended",g[8]),_[0]&650){w=e.ensure_array_like(g[7]);let u;for(u=0;u<w.length;u+=1){const P=N(g,w,u);v[u]?v[u].p(P,_):(v[u]=B(P),v[u].c(),v[u].m(y,null))}for(;u<v.length;u+=1)v[u].d(1);v.length=w.length}_[0]&32&&e.toggle_class(y,"hidden",g[5])},d(g){g&&e.detach(t),e.destroy_each(v,g),c=!1,L()}}}function ye(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function ue(i){let t,s=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(s),e.attr(t,"class","svelte-19ml84y")},m(n,a){e.insert(n,t,a),e.append(t,o)},p(n,a){a[0]&513&&s!==(s=(n[0]?n[9]("error"):"500 Server Error")+"")&&e.set_data(o,s)},d(n){n&&e.detach(t)}}}function ce(i){let t,s,o,n=i[38].type+"",a,m,l=i[38].amount+"",f,h,p=i[38].date+"",y;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(c,L){e.insert(c,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,y)},p(c,L){L[0]&128&&n!==(n=c[38].type+"")&&e.set_data(a,n),L[0]&128&&l!==(l=c[38].amount+"")&&e.set_data(f,l),L[0]&128&&p!==(p=c[38].date+"")&&e.set_data(y,p)},d(c){c&&e.detach(t)}}}function ge(i){let t,s,o,n=i[38].type+"",a,m,l=i[9]("limitRemoved")+"",f,h,p=i[38].date+"",y;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(c,L){e.insert(c,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,y)},p(c,L){L[0]&128&&n!==(n=c[38].type+"")&&e.set_data(a,n),L[0]&512&&l!==(l=c[9]("limitRemoved")+"")&&e.set_data(f,l),L[0]&128&&p!==(p=c[38].date+"")&&e.set_data(y,p)},d(c){c&&e.detach(t)}}}function B(i){let t,s,o,n=i[40];function a(p,y){return p[38].removed?ge:ce}let m=a(i),l=m(i);const f=()=>i[21](t,n),h=()=>i[21](null,n);return{c(){t=e.element("div"),l.c(),s=e.space(),e.attr(t,"class",o=e.null_to_empty(i[40]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")},m(p,y){e.insert(p,t,y),l.m(t,null),e.append(t,s),f()},p(p,y){i=p,m===(m=a(i))&&l?l.p(i,y):(l.d(1),l=m(i),l&&(l.c(),l.m(t,s))),y[0]&2&&o!==(o=e.null_to_empty(i[40]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")&&e.attr(t,"class",o),n!==i[40]&&(h(),n=i[40],f())},d(p){p&&e.detach(t),l.d(),h()}}}function he(i){let t;function s(a,m){return a[6]?ue:a[4]?ye:pe}let o=s(i),n=o(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-19ml84y")},m(a,m){e.insert(a,t,m),n.m(t,null),i[22](t)},p(a,m){o===(o=s(a))&&n?n.p(a,m):(n.d(1),n=o(a),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),n.d(),i[22](null)}}}function Le(i,t,s){let o;e.component_subscribe(i,e.$format,r=>s(9,o=r));let n=window.navigator.userAgent,a=!e.isMobile(n),{lang:m=""}=t,{userid:l=""}=t,{session:f=""}=t,{endpoint:h=""}=t,{apiversion:p=""}=t,{numberofentries:y="10"}=t,{customcurrencysymbols:c=""}=t,{limitformat:L=""}=t,{clientstyling:w=""}=t,{clientstylingurl:v=""}=t,{translationurl:g=""}=t,_,u=new Array,P=parseInt(y,10),D=!1,k=!0,C=[],I=[],E=!0,R=!1,A={EUR:"€",RON:"lei",TRY:"₺"};const V=()=>{fetch(g).then(d=>d.json()).then(d=>{Object.keys(d).forEach(S=>{U(S,d[S])})}).catch(d=>{console.log(d)})};Object.keys(M).forEach(r=>{U(r,M[r])});const Y=()=>{let r=p==="gmcore"?`/v2/player/${l}/transactions/limit`:`/v1/player/${l}/limits/monetary/history`,d=new URL(r,h);d.searchParams.append("startDate",`${new Date("2022").toISOString()}`),d.searchParams.append("endDate",`${new Date("2099").toISOString()}`),d.searchParams.append("limit","10000");let S={method:"GET",headers:{"X-SessionID":f}};fetch(d.href,S).then(T=>{if(T.status>=300)throw s(4,k=!1),s(6,D=!0),new Error("There was an error fetching the limits");return T.json()}).then(T=>{T.length&&(C=K(T),s(7,I=C.slice(0,P))),s(4,k=!1)},T=>{console.error("There was an error",T),s(6,D=!0)})},K=r=>{const d=!!M[m];return r.map(T=>{let b={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return b.amount=Q(T),b.currency=d?A[T.limitCurrencyCode]:T.limitCurrencyCode,b.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(T.limitDate)),b.period=o(`${T.limitPeriod.toLowerCase()}`),b.type=p==="gmcore"?o(`historyLimitType${T.limitType.split(" ")[0]}`):o(`historyLimitType${T.limitType.split(" ")[0]}`)+" "+o(`historyProductType${T.limitProductType}`),b.removed=T.limitAmount===-1,b})},Q=r=>{let d=L||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.limitAmount);if(!L){let oe=A[r.limitCurrencyCode]||r.limitCurrencyCode;return`${d}${oe}`}typeof r.limitAmount=="string"&&r.limitAmount.includes(",")&&(r.limitAmount=r.limitAmount.replaceAll(",",""));const S=d.match(/\{(\d+)decimals\}/),T=S?parseInt(S[1],10):2,b=S?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let x=parseFloat(r.limitAmount).toFixed(T);const[se,O]=L.includes(".")?[",","."]:[".",","];let[j,re]=x.split(".");return j=j.replace(/\B(?=(\d{3})+(?!\d))/g,se),x=`${j}${O}${re}`,d=d.replace("{currency}",A[r.limitCurrencyCode]||r.limitCurrencyCode).replace("{amount}",x.split(O)[0]).replace(b,x.split(O)[1]),d},X=()=>{s(5,E=!E),s(8,R=!R)};let z=new IntersectionObserver(r=>{r.forEach(d=>{d.isIntersecting&&(P+=parseInt(y,10)||10,I.length<C.length&&s(7,I=C.slice(0,P)))})});const q=()=>{z.observe(u[u.length-1])},J=()=>{if(!c)return;let r={};c.split(",").forEach(d=>{let S=d.split(":");r[S[0].trim()]=S[1].trim()}),A=W(W({},A),r)},Z=()=>{let r=document.createElement("style");r.innerHTML=w,_.appendChild(r)},$=()=>{let r=new URL(v),d=document.createElement("style");fetch(r.href).then(S=>S.text()).then(S=>{d.innerHTML=S,_&&(setTimeout(()=>{_.appendChild(d)},1),setTimeout(()=>{},500))})},ee=()=>{me(m)};e.onMount(()=>()=>{z.unobserve(u[u.length-1])});function te(r,d){e.binding_callbacks[r?"unshift":"push"](()=>{u[d]=r,s(3,u)})}function ie(r){e.binding_callbacks[r?"unshift":"push"](()=>{_=r,s(2,_)})}return i.$$set=r=>{"lang"in r&&s(0,m=r.lang),"userid"in r&&s(12,l=r.userid),"session"in r&&s(13,f=r.session),"endpoint"in r&&s(14,h=r.endpoint),"apiversion"in r&&s(15,p=r.apiversion),"numberofentries"in r&&s(1,y=r.numberofentries),"customcurrencysymbols"in r&&s(16,c=r.customcurrencysymbols),"limitformat"in r&&s(17,L=r.limitformat),"clientstyling"in r&&s(18,w=r.clientstyling),"clientstylingurl"in r&&s(19,v=r.clientstylingurl),"translationurl"in r&&s(20,g=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&c&&J(),i.$$.dirty[0]&61440&&h&&l&&f&&p&&Y(),i.$$.dirty[0]&56&&u[0]&&!k&&!E&&q(),i.$$.dirty[0]&1&&m&&ee(),i.$$.dirty[0]&524288&&v&&$(),i.$$.dirty[0]&262148&&w&&_&&Z(),i.$$.dirty[0]&1048580&&g&&_&&V()},[m,y,_,u,k,E,D,I,R,o,a,X,l,f,h,p,c,L,w,v,g,te,ie]}class G extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,he,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,limitformat:17,clientstyling:18,clientstylingurl:19,translationurl:20},de,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[17]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(G,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=G;
|