@everymatrix/player-account-controller 1.52.0 → 1.52.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountController-TGyMaR8y.cjs → PlayerAccountController-BMFnKRvn.cjs} +1 -1
- package/components/{PlayerAccountController-By2xo9vF.js → PlayerAccountController-Bc2HuIgp.js} +3 -3
- package/components/PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-DGuhp8SZ.js → PlayerAccountGamingLimitsHistory2-DF8kvIf6.js} +263 -250
- package/components/{PlayerAccountGamingLimitsWrapper2-BSTh2bOQ.cjs → PlayerAccountGamingLimitsWrapper2-BZk_esEY.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CzuZD4DN.js → PlayerAccountGamingLimitsWrapper2-DWYQKT4Z.js} +1 -1
- package/components/{PlayerChangePassword-BmuIKvz7.cjs → PlayerChangePassword-Cxyo6bYd.cjs} +1 -1
- package/components/{PlayerChangePassword-CKHGZCu8.js → PlayerChangePassword-SndLy6TL.js} +1 -1
- package/components/PlayerProfileInfo-BX32t6wz.cjs +1 -0
- package/components/{PlayerProfileInfo-Buu-3zDr.js → PlayerProfileInfo-yn20xol3.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsHistory2-BwSZ4liw.cjs +0 -1
- package/components/PlayerProfileInfo-CWTc0TRo.cjs +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
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
5
|
for (var i in e || (e = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var i of
|
|
9
|
-
|
|
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
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { a as
|
|
13
|
-
function
|
|
14
|
-
|
|
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-DMvKimEo.js";
|
|
13
|
+
function te(t, e) {
|
|
14
|
+
Se(t, e);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
16
|
+
function We(t) {
|
|
17
|
+
_e.set(t);
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const K = {
|
|
20
20
|
en: {
|
|
21
21
|
expandLimits: "LIMIT HISTORY",
|
|
22
22
|
daily: "per day",
|
|
@@ -267,93 +267,93 @@ const G = {
|
|
|
267
267
|
historyLimitTypeLoss: "Loss Limit"
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
|
-
function
|
|
271
|
-
|
|
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)}}');
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function ie(t, e, i) {
|
|
274
274
|
const r = t.slice();
|
|
275
|
-
return r[
|
|
275
|
+
return r[38] = e[i], r[39] = e, r[40] = i, r;
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function ze(t) {
|
|
278
278
|
let e, i, r, o = (
|
|
279
279
|
/*$_*/
|
|
280
280
|
t[9]("expandLimits") + ""
|
|
281
|
-
),
|
|
281
|
+
), l, m, n, v, L, d, p, c, f, P = $(
|
|
282
282
|
/*lazyShowedHistoryArray*/
|
|
283
283
|
t[7]
|
|
284
|
-
),
|
|
285
|
-
for (let
|
|
286
|
-
|
|
284
|
+
), T = [];
|
|
285
|
+
for (let h = 0; h < P.length; h += 1)
|
|
286
|
+
T[h] = se(ie(t, P, h));
|
|
287
287
|
return {
|
|
288
288
|
c() {
|
|
289
|
-
e =
|
|
290
|
-
for (let
|
|
291
|
-
|
|
292
|
-
|
|
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");
|
|
290
|
+
for (let h = 0; h < T.length; h += 1)
|
|
291
|
+
T[h].c();
|
|
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(
|
|
293
293
|
n,
|
|
294
294
|
"extended",
|
|
295
295
|
/*extended*/
|
|
296
296
|
t[8]
|
|
297
|
-
),
|
|
298
|
-
|
|
297
|
+
), a(r, "class", "ExpandButton svelte-19ml84y"), a(p, "class", "HistoryDisplayArea svelte-19ml84y"), F(
|
|
298
|
+
p,
|
|
299
299
|
"hidden",
|
|
300
300
|
/*hidden*/
|
|
301
301
|
t[5]
|
|
302
|
-
),
|
|
303
|
-
(t[10] ? "Desktop" : "") + " svelte-19ml84y"),
|
|
302
|
+
), a(i, "class", "HistoryWrapper " + /*isDesktop*/
|
|
303
|
+
(t[10] ? "Desktop" : "") + " svelte-19ml84y"), a(e, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
304
304
|
},
|
|
305
|
-
m(
|
|
306
|
-
|
|
307
|
-
for (let
|
|
308
|
-
|
|
309
|
-
|
|
305
|
+
m(h, _) {
|
|
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);
|
|
307
|
+
for (let u = 0; u < T.length; u += 1)
|
|
308
|
+
T[u] && T[u].m(p, null);
|
|
309
|
+
c || (f = xe(
|
|
310
310
|
r,
|
|
311
311
|
"click",
|
|
312
312
|
/*toggleHistoryDisplayArea*/
|
|
313
313
|
t[11]
|
|
314
|
-
),
|
|
314
|
+
), c = !0);
|
|
315
315
|
},
|
|
316
|
-
p(
|
|
317
|
-
if (
|
|
316
|
+
p(h, _) {
|
|
317
|
+
if (_[0] & /*$_*/
|
|
318
318
|
512 && o !== (o = /*$_*/
|
|
319
|
-
|
|
320
|
-
256 &&
|
|
319
|
+
h[9]("expandLimits") + "") && I(l, o), _[0] & /*extended*/
|
|
320
|
+
256 && F(
|
|
321
321
|
n,
|
|
322
322
|
"extended",
|
|
323
323
|
/*extended*/
|
|
324
|
-
|
|
325
|
-
),
|
|
324
|
+
h[8]
|
|
325
|
+
), _[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
326
326
|
650) {
|
|
327
|
-
P =
|
|
327
|
+
P = $(
|
|
328
328
|
/*lazyShowedHistoryArray*/
|
|
329
|
-
|
|
329
|
+
h[7]
|
|
330
330
|
);
|
|
331
|
-
let
|
|
332
|
-
for (
|
|
333
|
-
const
|
|
334
|
-
|
|
331
|
+
let u;
|
|
332
|
+
for (u = 0; u < P.length; u += 1) {
|
|
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));
|
|
335
335
|
}
|
|
336
|
-
for (;
|
|
337
|
-
|
|
338
|
-
|
|
336
|
+
for (; u < T.length; u += 1)
|
|
337
|
+
T[u].d(1);
|
|
338
|
+
T.length = P.length;
|
|
339
339
|
}
|
|
340
|
-
|
|
341
|
-
32 &&
|
|
342
|
-
|
|
340
|
+
_[0] & /*hidden*/
|
|
341
|
+
32 && F(
|
|
342
|
+
p,
|
|
343
343
|
"hidden",
|
|
344
344
|
/*hidden*/
|
|
345
|
-
|
|
345
|
+
h[5]
|
|
346
346
|
);
|
|
347
347
|
},
|
|
348
|
-
d(
|
|
349
|
-
|
|
348
|
+
d(h) {
|
|
349
|
+
h && R(e), Re(T, h), c = !1, f();
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function He(t) {
|
|
354
354
|
return { c: D, m: D, p: D, d: D };
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function Me(t) {
|
|
357
357
|
let e, i = (
|
|
358
358
|
/*lang*/
|
|
359
359
|
(t[0] ? (
|
|
@@ -363,211 +363,201 @@ function De(t) {
|
|
|
363
363
|
), r;
|
|
364
364
|
return {
|
|
365
365
|
c() {
|
|
366
|
-
e =
|
|
366
|
+
e = S("p"), r = C(i), a(e, "class", "svelte-19ml84y");
|
|
367
367
|
},
|
|
368
|
-
m(o,
|
|
369
|
-
|
|
368
|
+
m(o, l) {
|
|
369
|
+
x(o, e, l), g(e, r);
|
|
370
370
|
},
|
|
371
|
-
p(o,
|
|
372
|
-
|
|
371
|
+
p(o, l) {
|
|
372
|
+
l[0] & /*lang, $_*/
|
|
373
373
|
513 && i !== (i = /*lang*/
|
|
374
374
|
(o[0] ? (
|
|
375
375
|
/*$_*/
|
|
376
376
|
o[9]("error")
|
|
377
|
-
) : "500 Server Error") + "") &&
|
|
377
|
+
) : "500 Server Error") + "") && I(r, i);
|
|
378
378
|
},
|
|
379
379
|
d(o) {
|
|
380
|
-
o &&
|
|
380
|
+
o && R(e);
|
|
381
381
|
}
|
|
382
382
|
};
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function Fe(t) {
|
|
385
385
|
let e, i, r, o = (
|
|
386
386
|
/*history*/
|
|
387
|
-
t[
|
|
388
|
-
),
|
|
389
|
-
/*history*/
|
|
390
|
-
t[36].amount + ""
|
|
391
|
-
), f, L, u = (
|
|
392
|
-
/*history*/
|
|
393
|
-
t[36].currency + ""
|
|
394
|
-
), c, v, w = (
|
|
387
|
+
t[38].type + ""
|
|
388
|
+
), l, m, n = (
|
|
395
389
|
/*history*/
|
|
396
|
-
t[
|
|
397
|
-
),
|
|
390
|
+
t[38].amount + ""
|
|
391
|
+
), v, L, d = (
|
|
398
392
|
/*history*/
|
|
399
|
-
t[
|
|
400
|
-
),
|
|
393
|
+
t[38].date + ""
|
|
394
|
+
), p;
|
|
401
395
|
return {
|
|
402
396
|
c() {
|
|
403
|
-
e =
|
|
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");
|
|
404
398
|
},
|
|
405
|
-
m(
|
|
406
|
-
|
|
399
|
+
m(c, f) {
|
|
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);
|
|
407
401
|
},
|
|
408
|
-
p(
|
|
409
|
-
|
|
402
|
+
p(c, f) {
|
|
403
|
+
f[0] & /*lazyShowedHistoryArray*/
|
|
410
404
|
128 && o !== (o = /*history*/
|
|
411
|
-
|
|
405
|
+
c[38].type + "") && I(l, o), f[0] & /*lazyShowedHistoryArray*/
|
|
412
406
|
128 && n !== (n = /*history*/
|
|
413
|
-
|
|
414
|
-
128 &&
|
|
415
|
-
|
|
416
|
-
128 && w !== (w = /*history*/
|
|
417
|
-
y[36].period + "") && C(P, w), b[0] & /*lazyShowedHistoryArray*/
|
|
418
|
-
128 && l !== (l = /*history*/
|
|
419
|
-
y[36].date + "") && C(T, l);
|
|
407
|
+
c[38].amount + "") && I(v, n), f[0] & /*lazyShowedHistoryArray*/
|
|
408
|
+
128 && d !== (d = /*history*/
|
|
409
|
+
c[38].date + "") && I(p, d);
|
|
420
410
|
},
|
|
421
|
-
d(
|
|
422
|
-
|
|
411
|
+
d(c) {
|
|
412
|
+
c && R(e);
|
|
423
413
|
}
|
|
424
414
|
};
|
|
425
415
|
}
|
|
426
|
-
function
|
|
416
|
+
function Ue(t) {
|
|
427
417
|
let e, i, r, o = (
|
|
428
418
|
/*history*/
|
|
429
|
-
t[
|
|
430
|
-
),
|
|
419
|
+
t[38].type + ""
|
|
420
|
+
), l, m, n = (
|
|
431
421
|
/*$_*/
|
|
432
422
|
t[9]("limitRemoved") + ""
|
|
433
|
-
),
|
|
423
|
+
), v, L, d = (
|
|
434
424
|
/*history*/
|
|
435
|
-
t[
|
|
436
|
-
),
|
|
425
|
+
t[38].date + ""
|
|
426
|
+
), p;
|
|
437
427
|
return {
|
|
438
428
|
c() {
|
|
439
|
-
e =
|
|
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");
|
|
440
430
|
},
|
|
441
|
-
m(
|
|
442
|
-
|
|
431
|
+
m(c, f) {
|
|
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);
|
|
443
433
|
},
|
|
444
|
-
p(
|
|
445
|
-
|
|
434
|
+
p(c, f) {
|
|
435
|
+
f[0] & /*lazyShowedHistoryArray*/
|
|
446
436
|
128 && o !== (o = /*history*/
|
|
447
|
-
|
|
437
|
+
c[38].type + "") && I(l, o), f[0] & /*$_*/
|
|
448
438
|
512 && n !== (n = /*$_*/
|
|
449
|
-
|
|
450
|
-
128 &&
|
|
451
|
-
|
|
439
|
+
c[9]("limitRemoved") + "") && I(v, n), f[0] & /*lazyShowedHistoryArray*/
|
|
440
|
+
128 && d !== (d = /*history*/
|
|
441
|
+
c[38].date + "") && I(p, d);
|
|
452
442
|
},
|
|
453
|
-
d(
|
|
454
|
-
|
|
443
|
+
d(c) {
|
|
444
|
+
c && R(e);
|
|
455
445
|
}
|
|
456
446
|
};
|
|
457
447
|
}
|
|
458
|
-
function
|
|
448
|
+
function se(t) {
|
|
459
449
|
let e, i, r, o = (
|
|
460
450
|
/*index*/
|
|
461
|
-
t[
|
|
451
|
+
t[40]
|
|
462
452
|
);
|
|
463
|
-
function
|
|
453
|
+
function l(d, p) {
|
|
464
454
|
return (
|
|
465
455
|
/*history*/
|
|
466
|
-
|
|
456
|
+
d[38].removed ? Ue : Fe
|
|
467
457
|
);
|
|
468
458
|
}
|
|
469
|
-
let
|
|
470
|
-
const
|
|
459
|
+
let m = l(t), n = m(t);
|
|
460
|
+
const v = () => (
|
|
471
461
|
/*div_binding*/
|
|
472
|
-
t[
|
|
462
|
+
t[21](e, o)
|
|
473
463
|
), L = () => (
|
|
474
464
|
/*div_binding*/
|
|
475
|
-
t[
|
|
465
|
+
t[21](null, o)
|
|
476
466
|
);
|
|
477
467
|
return {
|
|
478
468
|
c() {
|
|
479
|
-
e =
|
|
469
|
+
e = S("div"), n.c(), i = Q(), a(e, "class", r = ee(
|
|
480
470
|
/*index*/
|
|
481
|
-
t[
|
|
471
|
+
t[40] > +/*numberofentries*/
|
|
482
472
|
t[1] ? "LimitContainer" : ""
|
|
483
473
|
) + " svelte-19ml84y");
|
|
484
474
|
},
|
|
485
|
-
m(
|
|
486
|
-
|
|
475
|
+
m(d, p) {
|
|
476
|
+
x(d, e, p), n.m(e, null), g(e, i), v();
|
|
487
477
|
},
|
|
488
|
-
p(
|
|
489
|
-
t =
|
|
490
|
-
2 && r !== (r =
|
|
478
|
+
p(d, p) {
|
|
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(
|
|
491
481
|
/*index*/
|
|
492
|
-
t[
|
|
482
|
+
t[40] > +/*numberofentries*/
|
|
493
483
|
t[1] ? "LimitContainer" : ""
|
|
494
|
-
) + " svelte-19ml84y") &&
|
|
495
|
-
t[
|
|
496
|
-
t[
|
|
484
|
+
) + " svelte-19ml84y") && a(e, "class", r), o !== /*index*/
|
|
485
|
+
t[40] && (L(), o = /*index*/
|
|
486
|
+
t[40], v());
|
|
497
487
|
},
|
|
498
|
-
d(
|
|
499
|
-
|
|
488
|
+
d(d) {
|
|
489
|
+
d && R(e), n.d(), L();
|
|
500
490
|
}
|
|
501
491
|
};
|
|
502
492
|
}
|
|
503
|
-
function
|
|
493
|
+
function Ne(t) {
|
|
504
494
|
let e;
|
|
505
|
-
function i(
|
|
495
|
+
function i(l, m) {
|
|
506
496
|
return (
|
|
507
497
|
/*hasErrors*/
|
|
508
|
-
|
|
498
|
+
l[6] ? Me : (
|
|
509
499
|
/*isLoading*/
|
|
510
|
-
|
|
500
|
+
l[4] ? He : ze
|
|
511
501
|
)
|
|
512
502
|
);
|
|
513
503
|
}
|
|
514
504
|
let r = i(t), o = r(t);
|
|
515
505
|
return {
|
|
516
506
|
c() {
|
|
517
|
-
e =
|
|
507
|
+
e = S("div"), o.c(), a(e, "class", "svelte-19ml84y");
|
|
518
508
|
},
|
|
519
|
-
m(
|
|
520
|
-
|
|
509
|
+
m(l, m) {
|
|
510
|
+
x(l, e, m), o.m(e, null), t[22](e);
|
|
521
511
|
},
|
|
522
|
-
p(
|
|
523
|
-
r === (r = i(
|
|
512
|
+
p(l, m) {
|
|
513
|
+
r === (r = i(l)) && o ? o.p(l, m) : (o.d(1), o = r(l), o && (o.c(), o.m(e, null)));
|
|
524
514
|
},
|
|
525
515
|
i: D,
|
|
526
516
|
o: D,
|
|
527
|
-
d(
|
|
528
|
-
|
|
517
|
+
d(l) {
|
|
518
|
+
l && R(e), o.d(), t[22](null);
|
|
529
519
|
}
|
|
530
520
|
};
|
|
531
521
|
}
|
|
532
|
-
function
|
|
522
|
+
function Be(t, e, i) {
|
|
533
523
|
let r;
|
|
534
|
-
|
|
535
|
-
let o = window.navigator.userAgent,
|
|
536
|
-
const
|
|
537
|
-
fetch(
|
|
538
|
-
Object.keys(
|
|
539
|
-
|
|
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 = () => {
|
|
527
|
+
fetch(h).then((y) => y.json()).then((y) => {
|
|
528
|
+
Object.keys(y).forEach((A) => {
|
|
529
|
+
te(A, y[A]);
|
|
540
530
|
});
|
|
541
|
-
}).catch((
|
|
542
|
-
console.log(
|
|
531
|
+
}).catch((y) => {
|
|
532
|
+
console.log(y);
|
|
543
533
|
});
|
|
544
534
|
};
|
|
545
|
-
Object.keys(
|
|
546
|
-
|
|
535
|
+
Object.keys(K).forEach((s) => {
|
|
536
|
+
te(s, K[s]);
|
|
547
537
|
});
|
|
548
|
-
const
|
|
549
|
-
let s =
|
|
550
|
-
|
|
551
|
-
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);
|
|
540
|
+
y.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), y.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), y.searchParams.append("limit", "10000");
|
|
541
|
+
let A = {
|
|
552
542
|
method: "GET",
|
|
553
|
-
headers: { "X-SessionID":
|
|
543
|
+
headers: { "X-SessionID": v }
|
|
554
544
|
};
|
|
555
|
-
fetch(
|
|
556
|
-
if (
|
|
557
|
-
throw i(4, W = !1), i(6,
|
|
558
|
-
return
|
|
545
|
+
fetch(y.href, A).then((w) => {
|
|
546
|
+
if (w.status >= 300)
|
|
547
|
+
throw i(4, W = !1), i(6, U = !0), new Error("There was an error fetching the limits");
|
|
548
|
+
return w.json();
|
|
559
549
|
}).then(
|
|
560
|
-
(
|
|
561
|
-
|
|
550
|
+
(w) => {
|
|
551
|
+
w.length && (j = ne(w), i(7, z = j.slice(0, E))), i(4, W = !1);
|
|
562
552
|
},
|
|
563
|
-
(
|
|
564
|
-
console.error("There was an error",
|
|
553
|
+
(w) => {
|
|
554
|
+
console.error("There was an error", w), i(6, U = !0);
|
|
565
555
|
}
|
|
566
556
|
);
|
|
567
|
-
},
|
|
568
|
-
const
|
|
569
|
-
return s.map((
|
|
570
|
-
let
|
|
557
|
+
}, ne = (s) => {
|
|
558
|
+
const y = !!K[m];
|
|
559
|
+
return s.map((w) => {
|
|
560
|
+
let k = {
|
|
571
561
|
amount: "",
|
|
572
562
|
currency: "",
|
|
573
563
|
date: "",
|
|
@@ -575,34 +565,49 @@ function We(t, e, i) {
|
|
|
575
565
|
type: "",
|
|
576
566
|
removed: !1
|
|
577
567
|
};
|
|
578
|
-
return
|
|
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;
|
|
579
569
|
});
|
|
580
|
-
},
|
|
581
|
-
|
|
570
|
+
}, le = (s) => {
|
|
571
|
+
let y = f || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(s.limitAmount);
|
|
572
|
+
if (!f) {
|
|
573
|
+
let fe = O[s.limitCurrencyCode] || s.limitCurrencyCode;
|
|
574
|
+
return `${y}${fe}`;
|
|
575
|
+
}
|
|
576
|
+
typeof s.limitAmount == "string" && s.limitAmount.includes(",") && (s.limitAmount = s.limitAmount.replaceAll(",", ""));
|
|
577
|
+
const A = y.match(/\{(\d+)decimals\}/), w = A ? parseInt(A[1], 10) : 2, k = A ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
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(
|
|
582
|
+
k,
|
|
583
|
+
M.split(B)[1]
|
|
584
|
+
), y;
|
|
585
|
+
}, ae = () => {
|
|
586
|
+
i(5, H = !H), i(8, N = !N);
|
|
582
587
|
};
|
|
583
|
-
let
|
|
584
|
-
s.forEach((
|
|
585
|
-
|
|
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)));
|
|
586
591
|
});
|
|
587
592
|
});
|
|
588
|
-
const
|
|
589
|
-
|
|
590
|
-
},
|
|
591
|
-
if (!
|
|
593
|
+
const me = () => {
|
|
594
|
+
X.observe(u[u.length - 1]);
|
|
595
|
+
}, ye = () => {
|
|
596
|
+
if (!c) return;
|
|
592
597
|
let s = {};
|
|
593
|
-
|
|
594
|
-
let
|
|
595
|
-
s[
|
|
596
|
-
}),
|
|
597
|
-
},
|
|
598
|
+
c.split(",").forEach((y) => {
|
|
599
|
+
let A = y.split(":");
|
|
600
|
+
s[A[0].trim()] = A[1].trim();
|
|
601
|
+
}), O = V(V({}, O), s);
|
|
602
|
+
}, de = () => {
|
|
598
603
|
let s = document.createElement("style");
|
|
599
|
-
s.innerHTML =
|
|
600
|
-
},
|
|
601
|
-
let s = new URL(
|
|
602
|
-
fetch(s.href).then((
|
|
603
|
-
|
|
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) => {
|
|
608
|
+
y.innerHTML = A, _ && (setTimeout(
|
|
604
609
|
() => {
|
|
605
|
-
|
|
610
|
+
_.appendChild(y);
|
|
606
611
|
},
|
|
607
612
|
1
|
|
608
613
|
), setTimeout(
|
|
@@ -611,66 +616,67 @@ function We(t, e, i) {
|
|
|
611
616
|
500
|
|
612
617
|
));
|
|
613
618
|
});
|
|
614
|
-
},
|
|
615
|
-
|
|
619
|
+
}, ue = () => {
|
|
620
|
+
We(m);
|
|
616
621
|
};
|
|
617
|
-
|
|
618
|
-
|
|
622
|
+
De(() => () => {
|
|
623
|
+
X.unobserve(u[u.length - 1]);
|
|
619
624
|
});
|
|
620
|
-
function
|
|
621
|
-
|
|
622
|
-
|
|
625
|
+
function ce(s, y) {
|
|
626
|
+
Z[s ? "unshift" : "push"](() => {
|
|
627
|
+
u[y] = s, i(3, u);
|
|
623
628
|
});
|
|
624
629
|
}
|
|
625
|
-
function
|
|
626
|
-
|
|
627
|
-
|
|
630
|
+
function ge(s) {
|
|
631
|
+
Z[s ? "unshift" : "push"](() => {
|
|
632
|
+
_ = s, i(2, _);
|
|
628
633
|
});
|
|
629
634
|
}
|
|
630
635
|
return t.$$set = (s) => {
|
|
631
|
-
"lang" in s && i(0,
|
|
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);
|
|
632
637
|
}, t.$$.update = () => {
|
|
633
638
|
t.$$.dirty[0] & /*customcurrencysymbols*/
|
|
634
|
-
65536 &&
|
|
635
|
-
61440 && L && n &&
|
|
636
|
-
56 &&
|
|
637
|
-
1 &&
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
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();
|
|
641
646
|
}, [
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
647
|
+
m,
|
|
648
|
+
p,
|
|
649
|
+
_,
|
|
650
|
+
u,
|
|
646
651
|
W,
|
|
647
652
|
H,
|
|
648
|
-
b,
|
|
649
|
-
z,
|
|
650
653
|
U,
|
|
654
|
+
z,
|
|
655
|
+
N,
|
|
651
656
|
r,
|
|
652
|
-
|
|
653
|
-
|
|
657
|
+
l,
|
|
658
|
+
ae,
|
|
654
659
|
n,
|
|
655
|
-
f,
|
|
656
|
-
L,
|
|
657
|
-
u,
|
|
658
660
|
v,
|
|
659
|
-
|
|
661
|
+
L,
|
|
662
|
+
d,
|
|
663
|
+
c,
|
|
664
|
+
f,
|
|
660
665
|
P,
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
666
|
+
T,
|
|
667
|
+
h,
|
|
668
|
+
ce,
|
|
669
|
+
ge
|
|
664
670
|
];
|
|
665
671
|
}
|
|
666
|
-
class
|
|
672
|
+
class Ge extends Ae {
|
|
667
673
|
constructor(e) {
|
|
668
|
-
super(),
|
|
674
|
+
super(), Pe(
|
|
669
675
|
this,
|
|
670
676
|
e,
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
677
|
+
Be,
|
|
678
|
+
Ne,
|
|
679
|
+
ke,
|
|
674
680
|
{
|
|
675
681
|
lang: 0,
|
|
676
682
|
userid: 12,
|
|
@@ -679,11 +685,12 @@ class je extends he {
|
|
|
679
685
|
apiversion: 15,
|
|
680
686
|
numberofentries: 1,
|
|
681
687
|
customcurrencysymbols: 16,
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
688
|
+
limitformat: 17,
|
|
689
|
+
clientstyling: 18,
|
|
690
|
+
clientstylingurl: 19,
|
|
691
|
+
translationurl: 20
|
|
685
692
|
},
|
|
686
|
-
|
|
693
|
+
je,
|
|
687
694
|
[-1, -1]
|
|
688
695
|
);
|
|
689
696
|
}
|
|
@@ -691,64 +698,70 @@ class je extends he {
|
|
|
691
698
|
return this.$$.ctx[0];
|
|
692
699
|
}
|
|
693
700
|
set lang(e) {
|
|
694
|
-
this.$$set({ lang: e }),
|
|
701
|
+
this.$$set({ lang: e }), b();
|
|
695
702
|
}
|
|
696
703
|
get userid() {
|
|
697
704
|
return this.$$.ctx[12];
|
|
698
705
|
}
|
|
699
706
|
set userid(e) {
|
|
700
|
-
this.$$set({ userid: e }),
|
|
707
|
+
this.$$set({ userid: e }), b();
|
|
701
708
|
}
|
|
702
709
|
get session() {
|
|
703
710
|
return this.$$.ctx[13];
|
|
704
711
|
}
|
|
705
712
|
set session(e) {
|
|
706
|
-
this.$$set({ session: e }),
|
|
713
|
+
this.$$set({ session: e }), b();
|
|
707
714
|
}
|
|
708
715
|
get endpoint() {
|
|
709
716
|
return this.$$.ctx[14];
|
|
710
717
|
}
|
|
711
718
|
set endpoint(e) {
|
|
712
|
-
this.$$set({ endpoint: e }),
|
|
719
|
+
this.$$set({ endpoint: e }), b();
|
|
713
720
|
}
|
|
714
721
|
get apiversion() {
|
|
715
722
|
return this.$$.ctx[15];
|
|
716
723
|
}
|
|
717
724
|
set apiversion(e) {
|
|
718
|
-
this.$$set({ apiversion: e }),
|
|
725
|
+
this.$$set({ apiversion: e }), b();
|
|
719
726
|
}
|
|
720
727
|
get numberofentries() {
|
|
721
728
|
return this.$$.ctx[1];
|
|
722
729
|
}
|
|
723
730
|
set numberofentries(e) {
|
|
724
|
-
this.$$set({ numberofentries: e }),
|
|
731
|
+
this.$$set({ numberofentries: e }), b();
|
|
725
732
|
}
|
|
726
733
|
get customcurrencysymbols() {
|
|
727
734
|
return this.$$.ctx[16];
|
|
728
735
|
}
|
|
729
736
|
set customcurrencysymbols(e) {
|
|
730
|
-
this.$$set({ customcurrencysymbols: e }),
|
|
737
|
+
this.$$set({ customcurrencysymbols: e }), b();
|
|
731
738
|
}
|
|
732
|
-
get
|
|
739
|
+
get limitformat() {
|
|
733
740
|
return this.$$.ctx[17];
|
|
734
741
|
}
|
|
742
|
+
set limitformat(e) {
|
|
743
|
+
this.$$set({ limitformat: e }), b();
|
|
744
|
+
}
|
|
745
|
+
get clientstyling() {
|
|
746
|
+
return this.$$.ctx[18];
|
|
747
|
+
}
|
|
735
748
|
set clientstyling(e) {
|
|
736
|
-
this.$$set({ clientstyling: e }),
|
|
749
|
+
this.$$set({ clientstyling: e }), b();
|
|
737
750
|
}
|
|
738
751
|
get clientstylingurl() {
|
|
739
|
-
return this.$$.ctx[
|
|
752
|
+
return this.$$.ctx[19];
|
|
740
753
|
}
|
|
741
754
|
set clientstylingurl(e) {
|
|
742
|
-
this.$$set({ clientstylingurl: e }),
|
|
755
|
+
this.$$set({ clientstylingurl: e }), b();
|
|
743
756
|
}
|
|
744
757
|
get translationurl() {
|
|
745
|
-
return this.$$.ctx[
|
|
758
|
+
return this.$$.ctx[20];
|
|
746
759
|
}
|
|
747
760
|
set translationurl(e) {
|
|
748
|
-
this.$$set({ translationurl: e }),
|
|
761
|
+
this.$$set({ translationurl: e }), b();
|
|
749
762
|
}
|
|
750
763
|
}
|
|
751
|
-
|
|
764
|
+
be(Ge, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
752
765
|
export {
|
|
753
|
-
|
|
766
|
+
Ge as default
|
|
754
767
|
};
|