@everymatrix/player-account-controller-nd 1.51.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/{PlayerAccountControllerNd-DR83R7-J.js → PlayerAccountControllerNd-CKb_sN38.js} +50 -26
- package/components/PlayerAccountControllerNd-CnCL-6-Y.cjs +1 -0
- package/components/PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DXRuQv1n.js → PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js} +265 -252
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-TSh0wb3T.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B8qQXVFH.js → PlayerAccountGamingLimitsPage2Gm16Nd-qfL5QXeR.js} +653 -645
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CGOmn6XK.cjs → PlayerAccountGamingLimitsWrapper2Nd-B9Q7iGIP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-D5yyp7TU.js → PlayerAccountGamingLimitsWrapper2Nd-C2l4GKfA.js} +2 -2
- package/components/{PlayerAccountSelfExclusionNd-ws9NCp9W.js → PlayerAccountSelfExclusionNd-CcWfUeeq.js} +1350 -1345
- package/components/{PlayerAccountSelfExclusionNd-DLM2y_E4.cjs → PlayerAccountSelfExclusionNd-y8YlFTpW.cjs} +175 -175
- package/components/PlayerAccountTimeout-B0g85-4A.js +659 -0
- package/components/PlayerAccountTimeout-C0lXekrR.cjs +1 -0
- package/components/PlayerBonusHistory-Bq7IPMXk.cjs +1 -0
- package/components/{PlayerBonusHistory-BjLH5Cpv.js → PlayerBonusHistory-DG8zGNVv.js} +2 -2
- package/components/{PlayerChangePassword-CUN1sG6C.js → PlayerChangePassword-Cqg33tmy.js} +1 -1
- package/components/{PlayerChangePassword-BmuIKvz7.cjs → PlayerChangePassword-Cxyo6bYd.cjs} +1 -1
- package/components/{PlayerDeposit-B_VzcGon.cjs → PlayerDeposit-3qNMb75V.cjs} +1 -1
- package/components/{PlayerDeposit-B5nfKU2d.js → PlayerDeposit-BjBByisT.js} +6 -6
- package/components/PlayerGamingHistory-CxUirJqc.cjs +1 -0
- package/components/{PlayerGamingHistory-qknrLcKD.js → PlayerGamingHistory-CyH6YJA_.js} +43 -43
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-CGwIbpUn.js → PlayerPendingWithdrawals-wMhZTLpq.js} +1 -1
- package/components/PlayerProfileInfo-BX32t6wz.cjs +1 -0
- package/components/{PlayerProfileInfo-ekifq0vv.js → PlayerProfileInfo-DTypEbEs.js} +1 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +1 -0
- package/components/{PlayerTransactionHistory-CYZHUA0I.js → PlayerTransactionHistory-CvBbrQn6.js} +11 -11
- package/components/{PlayerWithdrawal-dZ0Dfd2u.cjs → PlayerWithdrawal-GDc_7hZX.cjs} +1 -1
- package/components/{PlayerWithdrawal-Ch_UQ-Zg.js → PlayerWithdrawal-jGmMHcUX.js} +13 -13
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountControllerNd-CMFoPhqm.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2Nd-CwNQB2iO.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BeRUUVkE.cjs +0 -21
- package/components/PlayerAccountTimeout-7kn9WzaC.js +0 -458
- package/components/PlayerAccountTimeout-BtDp3SZn.cjs +0 -1
- package/components/PlayerBonusHistory-DSDZVDWl.cjs +0 -1
- package/components/PlayerGamingHistory-jj6bfNCU.cjs +0 -1
- package/components/PlayerPendingWithdrawals-JN84Pftx.cjs +0 -1
- package/components/PlayerProfileInfo-Bi_j5FDm.cjs +0 -1
- package/components/PlayerTransactionHistory-CFR4nRHc.cjs +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
var fe = Object.defineProperty;
|
|
2
|
+
var Q = Object.getOwnPropertySymbols;
|
|
3
|
+
var ze = Object.prototype.hasOwnProperty, be = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var J = (t, e, i) => e in t ? fe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, K = (t, e) => {
|
|
5
5
|
for (var i in e || (e = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var i of
|
|
9
|
-
|
|
6
|
+
ze.call(e, i) && J(t, i, e[i]);
|
|
7
|
+
if (Q)
|
|
8
|
+
for (var i of Q(e))
|
|
9
|
+
be.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 Te, $ as we, S as _e, i as Se, f as P, c as Pe, s as Ae, b as Ce, e as T, g as d, k as D, o as E, p as R, q as ke, T as xe, v as Ee, x as Z, K as $, t as C, d as X, w as V, U as De, h as M, l as g, m as Re, n as k, L as je, V as ee, y as We } from "./GeneralLogout-BZhvD1EQ.js";
|
|
13
|
+
function te(t, e) {
|
|
14
|
+
Te(t, e);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
16
|
+
function He(t) {
|
|
17
|
+
we.set(t);
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const q = {
|
|
20
20
|
en: {
|
|
21
21
|
expandLimits: "Limit history",
|
|
22
22
|
daily: "per day",
|
|
@@ -247,95 +247,95 @@ const G = {
|
|
|
247
247
|
historyLimitTypeLoss: "Kayıp Limiti"
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
-
function
|
|
251
|
-
|
|
250
|
+
function Ie(t) {
|
|
251
|
+
Ce(t, "svelte-16zv8bz", ':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-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function ie(t, e, i) {
|
|
254
254
|
const r = t.slice();
|
|
255
|
-
return r[
|
|
255
|
+
return r[38] = e[i], r[39] = e, r[40] = i, r;
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function Fe(t) {
|
|
258
258
|
let e, i, r, o = (
|
|
259
259
|
/*$_*/
|
|
260
260
|
t[9]("expandLimits") + ""
|
|
261
|
-
),
|
|
261
|
+
), l, a, n, f, v, p, y, u, L, S = $(
|
|
262
262
|
/*lazyShowedHistoryArray*/
|
|
263
263
|
t[7]
|
|
264
|
-
),
|
|
265
|
-
for (let
|
|
266
|
-
|
|
264
|
+
), z = [];
|
|
265
|
+
for (let h = 0; h < S.length; h += 1)
|
|
266
|
+
z[h] = se(ie(t, S, h));
|
|
267
267
|
return {
|
|
268
268
|
c() {
|
|
269
|
-
e =
|
|
270
|
-
for (let
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
t[10] ? "" : "Mobile") + " svelte-16zv8bz"),
|
|
269
|
+
e = T("div"), i = T("div"), r = T("button"), l = C(o), a = X(), n = V("svg"), f = V("path"), v = V("path"), p = X(), y = T("div");
|
|
270
|
+
for (let h = 0; h < z.length; h += 1)
|
|
271
|
+
z[h].c();
|
|
272
|
+
d(f, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), d(f, "class", "svelte-16zv8bz"), d(v, "d", "M0 0h36v36h-36z"), d(v, "fill", "none"), d(v, "class", "svelte-16zv8bz"), d(n, "class", "ExpandArrow " + (/*isDesktop*/
|
|
273
|
+
t[10] ? "" : "Mobile") + " svelte-16zv8bz"), d(n, "xmlns", "http://www.w3.org/2000/svg"), d(n, "width", "36"), d(n, "height", "36"), d(n, "viewBox", "0 0 36 36"), De(n, "fill", "var(--emw--color-primary, #22B04E)"), M(
|
|
274
274
|
n,
|
|
275
275
|
"extended",
|
|
276
276
|
/*extended*/
|
|
277
277
|
t[8]
|
|
278
|
-
),
|
|
279
|
-
t[10] ? "" : "Mobile") + " svelte-16zv8bz"), y
|
|
280
|
-
t[10] ? "" : "Mobile") + " svelte-16zv8bz"),
|
|
281
|
-
|
|
278
|
+
), d(r, "class", "ExpandButton " + (/*isDesktop*/
|
|
279
|
+
t[10] ? "" : "Mobile") + " svelte-16zv8bz"), d(y, "class", "HistoryDisplayArea " + (/*isDesktop*/
|
|
280
|
+
t[10] ? "" : "Mobile") + " svelte-16zv8bz"), M(
|
|
281
|
+
y,
|
|
282
282
|
"hidden",
|
|
283
283
|
/*hidden*/
|
|
284
284
|
t[5]
|
|
285
|
-
),
|
|
285
|
+
), d(i, "class", "HistoryWrapper svelte-16zv8bz"), d(e, "class", "player-account-gaming-limits-history-2 svelte-16zv8bz");
|
|
286
286
|
},
|
|
287
|
-
m(
|
|
288
|
-
D(
|
|
289
|
-
for (let
|
|
290
|
-
|
|
291
|
-
|
|
287
|
+
m(h, w) {
|
|
288
|
+
D(h, e, w), g(e, i), g(i, r), g(r, l), g(r, a), g(r, n), g(n, f), g(n, v), g(i, p), g(i, y);
|
|
289
|
+
for (let c = 0; c < z.length; c += 1)
|
|
290
|
+
z[c] && z[c].m(y, null);
|
|
291
|
+
u || (L = Re(
|
|
292
292
|
r,
|
|
293
293
|
"click",
|
|
294
294
|
/*toggleHistoryDisplayArea*/
|
|
295
295
|
t[11]
|
|
296
|
-
),
|
|
296
|
+
), u = !0);
|
|
297
297
|
},
|
|
298
|
-
p(
|
|
299
|
-
if (
|
|
298
|
+
p(h, w) {
|
|
299
|
+
if (w[0] & /*$_*/
|
|
300
300
|
512 && o !== (o = /*$_*/
|
|
301
|
-
|
|
302
|
-
256 &&
|
|
301
|
+
h[9]("expandLimits") + "") && k(l, o), w[0] & /*extended*/
|
|
302
|
+
256 && M(
|
|
303
303
|
n,
|
|
304
304
|
"extended",
|
|
305
305
|
/*extended*/
|
|
306
|
-
|
|
307
|
-
),
|
|
306
|
+
h[8]
|
|
307
|
+
), w[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
308
308
|
650) {
|
|
309
|
-
|
|
309
|
+
S = $(
|
|
310
310
|
/*lazyShowedHistoryArray*/
|
|
311
|
-
|
|
311
|
+
h[7]
|
|
312
312
|
);
|
|
313
|
-
let
|
|
314
|
-
for (
|
|
315
|
-
const
|
|
316
|
-
|
|
313
|
+
let c;
|
|
314
|
+
for (c = 0; c < S.length; c += 1) {
|
|
315
|
+
const x = ie(h, S, c);
|
|
316
|
+
z[c] ? z[c].p(x, w) : (z[c] = se(x), z[c].c(), z[c].m(y, null));
|
|
317
317
|
}
|
|
318
|
-
for (;
|
|
319
|
-
|
|
320
|
-
|
|
318
|
+
for (; c < z.length; c += 1)
|
|
319
|
+
z[c].d(1);
|
|
320
|
+
z.length = S.length;
|
|
321
321
|
}
|
|
322
|
-
|
|
323
|
-
32 &&
|
|
324
|
-
|
|
322
|
+
w[0] & /*hidden*/
|
|
323
|
+
32 && M(
|
|
324
|
+
y,
|
|
325
325
|
"hidden",
|
|
326
326
|
/*hidden*/
|
|
327
|
-
|
|
327
|
+
h[5]
|
|
328
328
|
);
|
|
329
329
|
},
|
|
330
|
-
d(
|
|
331
|
-
|
|
330
|
+
d(h) {
|
|
331
|
+
h && R(e), je(z, h), u = !1, L();
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function Oe(t) {
|
|
336
336
|
return { c: E, m: E, p: E, d: E };
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function Me(t) {
|
|
339
339
|
let e, i = (
|
|
340
340
|
/*lang*/
|
|
341
341
|
(t[0] ? (
|
|
@@ -345,211 +345,201 @@ function De(t) {
|
|
|
345
345
|
), r;
|
|
346
346
|
return {
|
|
347
347
|
c() {
|
|
348
|
-
e =
|
|
348
|
+
e = T("p"), r = C(i), d(e, "class", "svelte-16zv8bz");
|
|
349
349
|
},
|
|
350
|
-
m(o,
|
|
351
|
-
D(o, e,
|
|
350
|
+
m(o, l) {
|
|
351
|
+
D(o, e, l), g(e, r);
|
|
352
352
|
},
|
|
353
|
-
p(o,
|
|
354
|
-
|
|
353
|
+
p(o, l) {
|
|
354
|
+
l[0] & /*lang, $_*/
|
|
355
355
|
513 && i !== (i = /*lang*/
|
|
356
356
|
(o[0] ? (
|
|
357
357
|
/*$_*/
|
|
358
358
|
o[9]("error")
|
|
359
|
-
) : "500 Server Error") + "") &&
|
|
359
|
+
) : "500 Server Error") + "") && k(r, i);
|
|
360
360
|
},
|
|
361
361
|
d(o) {
|
|
362
|
-
o &&
|
|
362
|
+
o && R(e);
|
|
363
363
|
}
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function Be(t) {
|
|
367
367
|
let e, i, r, o = (
|
|
368
368
|
/*history*/
|
|
369
|
-
t[
|
|
370
|
-
),
|
|
369
|
+
t[38].type + ""
|
|
370
|
+
), l, a, n = (
|
|
371
371
|
/*history*/
|
|
372
|
-
t[
|
|
373
|
-
),
|
|
372
|
+
t[38].amount + ""
|
|
373
|
+
), f, v, p = (
|
|
374
374
|
/*history*/
|
|
375
|
-
t[
|
|
376
|
-
),
|
|
377
|
-
/*history*/
|
|
378
|
-
t[36].period + ""
|
|
379
|
-
), _, g, a = (
|
|
380
|
-
/*history*/
|
|
381
|
-
t[36].date + ""
|
|
382
|
-
), z;
|
|
375
|
+
t[38].date + ""
|
|
376
|
+
), y;
|
|
383
377
|
return {
|
|
384
378
|
c() {
|
|
385
|
-
e =
|
|
379
|
+
e = T("div"), i = T("span"), r = T("span"), l = C(o), a = T("span"), f = C(n), v = T("span"), y = C(p), d(r, "class", "LimitType svelte-16zv8bz"), d(a, "class", "LimitAmountPeriod svelte-16zv8bz"), d(i, "class", "GeneralLimitInformation svelte-16zv8bz"), d(v, "class", "DateLimitInformation svelte-16zv8bz"), d(e, "class", "HistoryRow svelte-16zv8bz");
|
|
386
380
|
},
|
|
387
|
-
m(
|
|
388
|
-
D(
|
|
381
|
+
m(u, L) {
|
|
382
|
+
D(u, e, L), g(e, i), g(i, r), g(r, l), g(i, a), g(a, f), g(e, v), g(v, y);
|
|
389
383
|
},
|
|
390
|
-
p(
|
|
391
|
-
|
|
384
|
+
p(u, L) {
|
|
385
|
+
L[0] & /*lazyShowedHistoryArray*/
|
|
392
386
|
128 && o !== (o = /*history*/
|
|
393
|
-
|
|
387
|
+
u[38].type + "") && k(l, o), L[0] & /*lazyShowedHistoryArray*/
|
|
394
388
|
128 && n !== (n = /*history*/
|
|
395
|
-
|
|
396
|
-
128 &&
|
|
397
|
-
|
|
398
|
-
128 && b !== (b = /*history*/
|
|
399
|
-
d[36].period + "") && C(_, b), S[0] & /*lazyShowedHistoryArray*/
|
|
400
|
-
128 && a !== (a = /*history*/
|
|
401
|
-
d[36].date + "") && C(z, a);
|
|
389
|
+
u[38].amount + "") && k(f, n), L[0] & /*lazyShowedHistoryArray*/
|
|
390
|
+
128 && p !== (p = /*history*/
|
|
391
|
+
u[38].date + "") && k(y, p);
|
|
402
392
|
},
|
|
403
|
-
d(
|
|
404
|
-
|
|
393
|
+
d(u) {
|
|
394
|
+
u && R(e);
|
|
405
395
|
}
|
|
406
396
|
};
|
|
407
397
|
}
|
|
408
|
-
function
|
|
398
|
+
function Ue(t) {
|
|
409
399
|
let e, i, r, o = (
|
|
410
400
|
/*history*/
|
|
411
|
-
t[
|
|
412
|
-
),
|
|
401
|
+
t[38].type + ""
|
|
402
|
+
), l, a, n = (
|
|
413
403
|
/*$_*/
|
|
414
404
|
t[9]("limitRemoved") + ""
|
|
415
|
-
),
|
|
405
|
+
), f, v, p = (
|
|
416
406
|
/*history*/
|
|
417
|
-
t[
|
|
418
|
-
),
|
|
407
|
+
t[38].date + ""
|
|
408
|
+
), y;
|
|
419
409
|
return {
|
|
420
410
|
c() {
|
|
421
|
-
e =
|
|
411
|
+
e = T("div"), i = T("span"), r = T("span"), l = C(o), a = T("span"), f = C(n), v = T("span"), y = C(p), d(r, "class", "LimitType svelte-16zv8bz"), d(a, "class", "LimitAmountPeriod svelte-16zv8bz"), d(i, "class", "GeneralLimitInformation svelte-16zv8bz"), d(v, "class", "DateLimitInformation svelte-16zv8bz"), d(e, "class", "HistoryRow svelte-16zv8bz");
|
|
422
412
|
},
|
|
423
|
-
m(
|
|
424
|
-
D(
|
|
413
|
+
m(u, L) {
|
|
414
|
+
D(u, e, L), g(e, i), g(i, r), g(r, l), g(i, a), g(a, f), g(e, v), g(v, y);
|
|
425
415
|
},
|
|
426
|
-
p(
|
|
427
|
-
|
|
416
|
+
p(u, L) {
|
|
417
|
+
L[0] & /*lazyShowedHistoryArray*/
|
|
428
418
|
128 && o !== (o = /*history*/
|
|
429
|
-
|
|
419
|
+
u[38].type + "") && k(l, o), L[0] & /*$_*/
|
|
430
420
|
512 && n !== (n = /*$_*/
|
|
431
|
-
|
|
432
|
-
128 &&
|
|
433
|
-
|
|
421
|
+
u[9]("limitRemoved") + "") && k(f, n), L[0] & /*lazyShowedHistoryArray*/
|
|
422
|
+
128 && p !== (p = /*history*/
|
|
423
|
+
u[38].date + "") && k(y, p);
|
|
434
424
|
},
|
|
435
|
-
d(
|
|
436
|
-
|
|
425
|
+
d(u) {
|
|
426
|
+
u && R(e);
|
|
437
427
|
}
|
|
438
428
|
};
|
|
439
429
|
}
|
|
440
|
-
function
|
|
430
|
+
function se(t) {
|
|
441
431
|
let e, i, r, o = (
|
|
442
432
|
/*index*/
|
|
443
|
-
t[
|
|
433
|
+
t[40]
|
|
444
434
|
);
|
|
445
|
-
function
|
|
435
|
+
function l(p, y) {
|
|
446
436
|
return (
|
|
447
437
|
/*history*/
|
|
448
|
-
|
|
438
|
+
p[38].removed ? Ue : Be
|
|
449
439
|
);
|
|
450
440
|
}
|
|
451
|
-
let
|
|
452
|
-
const
|
|
441
|
+
let a = l(t), n = a(t);
|
|
442
|
+
const f = () => (
|
|
453
443
|
/*div_binding*/
|
|
454
|
-
t[
|
|
444
|
+
t[21](e, o)
|
|
455
445
|
), v = () => (
|
|
456
446
|
/*div_binding*/
|
|
457
|
-
t[
|
|
447
|
+
t[21](null, o)
|
|
458
448
|
);
|
|
459
449
|
return {
|
|
460
450
|
c() {
|
|
461
|
-
e =
|
|
451
|
+
e = T("div"), n.c(), i = X(), d(e, "class", r = ee(
|
|
462
452
|
/*index*/
|
|
463
|
-
t[
|
|
453
|
+
t[40] > +/*numberofentries*/
|
|
464
454
|
t[1] ? "LimitContainer" : ""
|
|
465
455
|
) + " svelte-16zv8bz");
|
|
466
456
|
},
|
|
467
|
-
m(
|
|
468
|
-
D(
|
|
457
|
+
m(p, y) {
|
|
458
|
+
D(p, e, y), n.m(e, null), g(e, i), f();
|
|
469
459
|
},
|
|
470
|
-
p(
|
|
471
|
-
t =
|
|
472
|
-
2 && r !== (r =
|
|
460
|
+
p(p, y) {
|
|
461
|
+
t = p, a === (a = l(t)) && n ? n.p(t, y) : (n.d(1), n = a(t), n && (n.c(), n.m(e, i))), y[0] & /*numberofentries*/
|
|
462
|
+
2 && r !== (r = ee(
|
|
473
463
|
/*index*/
|
|
474
|
-
t[
|
|
464
|
+
t[40] > +/*numberofentries*/
|
|
475
465
|
t[1] ? "LimitContainer" : ""
|
|
476
|
-
) + " svelte-16zv8bz") &&
|
|
477
|
-
t[
|
|
478
|
-
t[
|
|
466
|
+
) + " svelte-16zv8bz") && d(e, "class", r), o !== /*index*/
|
|
467
|
+
t[40] && (v(), o = /*index*/
|
|
468
|
+
t[40], f());
|
|
479
469
|
},
|
|
480
|
-
d(
|
|
481
|
-
|
|
470
|
+
d(p) {
|
|
471
|
+
p && R(e), n.d(), v();
|
|
482
472
|
}
|
|
483
473
|
};
|
|
484
474
|
}
|
|
485
|
-
function
|
|
475
|
+
function Ne(t) {
|
|
486
476
|
let e;
|
|
487
|
-
function i(
|
|
477
|
+
function i(l, a) {
|
|
488
478
|
return (
|
|
489
479
|
/*hasErrors*/
|
|
490
|
-
|
|
480
|
+
l[6] ? Me : (
|
|
491
481
|
/*isLoading*/
|
|
492
|
-
|
|
482
|
+
l[4] ? Oe : Fe
|
|
493
483
|
)
|
|
494
484
|
);
|
|
495
485
|
}
|
|
496
486
|
let r = i(t), o = r(t);
|
|
497
487
|
return {
|
|
498
488
|
c() {
|
|
499
|
-
e =
|
|
489
|
+
e = T("div"), o.c(), d(e, "class", "svelte-16zv8bz");
|
|
500
490
|
},
|
|
501
|
-
m(
|
|
502
|
-
D(
|
|
491
|
+
m(l, a) {
|
|
492
|
+
D(l, e, a), o.m(e, null), t[22](e);
|
|
503
493
|
},
|
|
504
|
-
p(
|
|
505
|
-
r === (r = i(
|
|
494
|
+
p(l, a) {
|
|
495
|
+
r === (r = i(l)) && o ? o.p(l, a) : (o.d(1), o = r(l), o && (o.c(), o.m(e, null)));
|
|
506
496
|
},
|
|
507
497
|
i: E,
|
|
508
498
|
o: E,
|
|
509
|
-
d(
|
|
510
|
-
|
|
499
|
+
d(l) {
|
|
500
|
+
l && R(e), o.d(), t[22](null);
|
|
511
501
|
}
|
|
512
502
|
};
|
|
513
503
|
}
|
|
514
|
-
function
|
|
504
|
+
function Ge(t, e, i) {
|
|
515
505
|
let r;
|
|
516
|
-
|
|
517
|
-
let o = window.navigator.userAgent,
|
|
518
|
-
const
|
|
519
|
-
fetch(
|
|
520
|
-
Object.keys(
|
|
521
|
-
|
|
506
|
+
ke(t, We, (s) => i(9, r = s));
|
|
507
|
+
let o = window.navigator.userAgent, l = !xe(o), { lang: a = "" } = e, { userid: n = "" } = e, { session: f = "" } = e, { endpoint: v = "" } = e, { apiversion: p = "" } = e, { numberofentries: y = "10" } = e, { customcurrencysymbols: u = "" } = e, { limitformat: L = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: z = "" } = e, { translationurl: h = "" } = e, w, c = new Array(), x = parseInt(y, 10), B = !1, W = !0, H = [], I = [], F = !0, U = !1, j = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
508
|
+
const re = () => {
|
|
509
|
+
fetch(h).then((m) => m.json()).then((m) => {
|
|
510
|
+
Object.keys(m).forEach((_) => {
|
|
511
|
+
te(_, m[_]);
|
|
522
512
|
});
|
|
523
|
-
}).catch((
|
|
524
|
-
console.log(
|
|
513
|
+
}).catch((m) => {
|
|
514
|
+
console.log(m);
|
|
525
515
|
});
|
|
526
516
|
};
|
|
527
|
-
Object.keys(
|
|
528
|
-
|
|
517
|
+
Object.keys(q).forEach((s) => {
|
|
518
|
+
te(s, q[s]);
|
|
529
519
|
});
|
|
530
|
-
const
|
|
531
|
-
let s =
|
|
532
|
-
|
|
533
|
-
let
|
|
520
|
+
const oe = () => {
|
|
521
|
+
let s = p === "gmcore" ? `/v2/player/${n}/transactions/limit` : `/v1/player/${n}/limits/monetary/history`, m = new URL(s, v);
|
|
522
|
+
m.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), m.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), m.searchParams.append("limit", "10000");
|
|
523
|
+
let _ = {
|
|
534
524
|
method: "GET",
|
|
535
|
-
headers: { "X-SessionID":
|
|
525
|
+
headers: { "X-SessionID": f }
|
|
536
526
|
};
|
|
537
|
-
fetch(
|
|
538
|
-
if (
|
|
539
|
-
throw i(4, W = !1), i(6,
|
|
540
|
-
return
|
|
527
|
+
fetch(m.href, _).then((b) => {
|
|
528
|
+
if (b.status >= 300)
|
|
529
|
+
throw i(4, W = !1), i(6, B = !0), new Error("There was an error fetching the limits");
|
|
530
|
+
return b.json();
|
|
541
531
|
}).then(
|
|
542
|
-
(
|
|
543
|
-
|
|
532
|
+
(b) => {
|
|
533
|
+
b.length && (H = ne(b), i(7, I = H.slice(0, x))), i(4, W = !1);
|
|
544
534
|
},
|
|
545
|
-
(
|
|
546
|
-
console.error("There was an error",
|
|
535
|
+
(b) => {
|
|
536
|
+
console.error("There was an error", b), i(6, B = !0);
|
|
547
537
|
}
|
|
548
538
|
);
|
|
549
|
-
},
|
|
550
|
-
const
|
|
551
|
-
return s.map((
|
|
552
|
-
let
|
|
539
|
+
}, ne = (s) => {
|
|
540
|
+
const m = !!q[a];
|
|
541
|
+
return s.map((b) => {
|
|
542
|
+
let A = {
|
|
553
543
|
amount: "",
|
|
554
544
|
currency: "",
|
|
555
545
|
date: "",
|
|
@@ -557,34 +547,49 @@ function He(t, e, i) {
|
|
|
557
547
|
type: "",
|
|
558
548
|
removed: !1
|
|
559
549
|
};
|
|
560
|
-
return
|
|
550
|
+
return A.amount = le(b), A.currency = m ? j[b.limitCurrencyCode] : b.limitCurrencyCode, A.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(b.limitDate)), A.period = r(`${b.limitPeriod.toLowerCase()}`), A.type = p === "gmcore" ? r(`historyLimitType${b.limitType.split(" ")[0]}`) : r(`historyLimitType${b.limitType.split(" ")[0]}`) + " " + r(`historyProductType${b.limitProductType}`), A.removed = b.limitAmount === -1, A;
|
|
561
551
|
});
|
|
562
|
-
},
|
|
563
|
-
|
|
552
|
+
}, le = (s) => {
|
|
553
|
+
let m = L || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(s.limitAmount);
|
|
554
|
+
if (!L) {
|
|
555
|
+
let Le = j[s.limitCurrencyCode] || s.limitCurrencyCode;
|
|
556
|
+
return `${m}${Le}`;
|
|
557
|
+
}
|
|
558
|
+
typeof s.limitAmount == "string" && s.limitAmount.includes(",") && (s.limitAmount = s.limitAmount.replaceAll(",", ""));
|
|
559
|
+
const _ = m.match(/\{(\d+)decimals\}/), b = _ ? parseInt(_[1], 10) : 2, A = _ ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
560
|
+
let O = parseFloat(s.limitAmount).toFixed(b);
|
|
561
|
+
const [he, N] = L.includes(".") ? [",", "."] : [".", ","];
|
|
562
|
+
let [G, ve] = O.split(".");
|
|
563
|
+
return G = G.replace(/\B(?=(\d{3})+(?!\d))/g, he), O = `${G}${N}${ve}`, m = m.replace("{currency}", j[s.limitCurrencyCode] || s.limitCurrencyCode).replace("{amount}", O.split(N)[0]).replace(
|
|
564
|
+
A,
|
|
565
|
+
O.split(N)[1]
|
|
566
|
+
), m;
|
|
567
|
+
}, ae = () => {
|
|
568
|
+
i(5, F = !F), i(8, U = !U);
|
|
564
569
|
};
|
|
565
|
-
let
|
|
566
|
-
s.forEach((
|
|
567
|
-
|
|
570
|
+
let Y = new IntersectionObserver((s) => {
|
|
571
|
+
s.forEach((m) => {
|
|
572
|
+
m.isIntersecting && (x += parseInt(y, 10) || 10, I.length < H.length && i(7, I = H.slice(0, x)));
|
|
568
573
|
});
|
|
569
574
|
});
|
|
570
|
-
const
|
|
571
|
-
|
|
572
|
-
},
|
|
573
|
-
if (!
|
|
575
|
+
const me = () => {
|
|
576
|
+
Y.observe(c[c.length - 1]);
|
|
577
|
+
}, de = () => {
|
|
578
|
+
if (!u) return;
|
|
574
579
|
let s = {};
|
|
575
|
-
|
|
576
|
-
let
|
|
577
|
-
s[
|
|
578
|
-
}),
|
|
579
|
-
},
|
|
580
|
+
u.split(",").forEach((m) => {
|
|
581
|
+
let _ = m.split(":");
|
|
582
|
+
s[_[0].trim()] = _[1].trim();
|
|
583
|
+
}), j = K(K({}, j), s);
|
|
584
|
+
}, pe = () => {
|
|
580
585
|
let s = document.createElement("style");
|
|
581
|
-
s.innerHTML =
|
|
582
|
-
},
|
|
583
|
-
let s = new URL(
|
|
584
|
-
fetch(s.href).then((
|
|
585
|
-
|
|
586
|
+
s.innerHTML = S, w.appendChild(s);
|
|
587
|
+
}, ye = () => {
|
|
588
|
+
let s = new URL(z), m = document.createElement("style");
|
|
589
|
+
fetch(s.href).then((_) => _.text()).then((_) => {
|
|
590
|
+
m.innerHTML = _, w && (setTimeout(
|
|
586
591
|
() => {
|
|
587
|
-
|
|
592
|
+
w.appendChild(m);
|
|
588
593
|
},
|
|
589
594
|
1
|
|
590
595
|
), setTimeout(
|
|
@@ -593,66 +598,67 @@ function He(t, e, i) {
|
|
|
593
598
|
500
|
|
594
599
|
));
|
|
595
600
|
});
|
|
596
|
-
},
|
|
597
|
-
|
|
601
|
+
}, ce = () => {
|
|
602
|
+
He(a);
|
|
598
603
|
};
|
|
599
|
-
|
|
600
|
-
|
|
604
|
+
Ee(() => () => {
|
|
605
|
+
Y.unobserve(c[c.length - 1]);
|
|
601
606
|
});
|
|
602
|
-
function
|
|
603
|
-
|
|
604
|
-
|
|
607
|
+
function ue(s, m) {
|
|
608
|
+
Z[s ? "unshift" : "push"](() => {
|
|
609
|
+
c[m] = s, i(3, c);
|
|
605
610
|
});
|
|
606
611
|
}
|
|
607
|
-
function
|
|
608
|
-
|
|
609
|
-
|
|
612
|
+
function ge(s) {
|
|
613
|
+
Z[s ? "unshift" : "push"](() => {
|
|
614
|
+
w = s, i(2, w);
|
|
610
615
|
});
|
|
611
616
|
}
|
|
612
617
|
return t.$$set = (s) => {
|
|
613
|
-
"lang" in s && i(0,
|
|
618
|
+
"lang" in s && i(0, a = s.lang), "userid" in s && i(12, n = s.userid), "session" in s && i(13, f = s.session), "endpoint" in s && i(14, v = s.endpoint), "apiversion" in s && i(15, p = s.apiversion), "numberofentries" in s && i(1, y = s.numberofentries), "customcurrencysymbols" in s && i(16, u = s.customcurrencysymbols), "limitformat" in s && i(17, L = s.limitformat), "clientstyling" in s && i(18, S = s.clientstyling), "clientstylingurl" in s && i(19, z = s.clientstylingurl), "translationurl" in s && i(20, h = s.translationurl);
|
|
614
619
|
}, t.$$.update = () => {
|
|
615
620
|
t.$$.dirty[0] & /*customcurrencysymbols*/
|
|
616
|
-
65536 &&
|
|
617
|
-
61440 && v && n &&
|
|
618
|
-
56 &&
|
|
619
|
-
1 &&
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
621
|
+
65536 && u && de(), t.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
622
|
+
61440 && v && n && f && p && oe(), t.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
623
|
+
56 && c[0] && !W && !F && me(), t.$$.dirty[0] & /*lang*/
|
|
624
|
+
1 && a && ce(), t.$$.dirty[0] & /*clientstylingurl*/
|
|
625
|
+
524288 && z && ye(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
626
|
+
262148 && S && w && pe(), t.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
627
|
+
1048580 && h && w && re();
|
|
623
628
|
}, [
|
|
624
|
-
l,
|
|
625
|
-
c,
|
|
626
629
|
a,
|
|
627
|
-
|
|
630
|
+
y,
|
|
631
|
+
w,
|
|
632
|
+
c,
|
|
628
633
|
W,
|
|
629
|
-
|
|
630
|
-
|
|
634
|
+
F,
|
|
635
|
+
B,
|
|
631
636
|
I,
|
|
632
|
-
|
|
637
|
+
U,
|
|
633
638
|
r,
|
|
634
|
-
|
|
635
|
-
|
|
639
|
+
l,
|
|
640
|
+
ae,
|
|
636
641
|
n,
|
|
637
|
-
|
|
642
|
+
f,
|
|
638
643
|
v,
|
|
644
|
+
p,
|
|
639
645
|
u,
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
+
L,
|
|
647
|
+
S,
|
|
648
|
+
z,
|
|
649
|
+
h,
|
|
650
|
+
ue,
|
|
651
|
+
ge
|
|
646
652
|
];
|
|
647
653
|
}
|
|
648
|
-
class
|
|
654
|
+
class Ke extends _e {
|
|
649
655
|
constructor(e) {
|
|
650
|
-
super(),
|
|
656
|
+
super(), Se(
|
|
651
657
|
this,
|
|
652
658
|
e,
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
659
|
+
Ge,
|
|
660
|
+
Ne,
|
|
661
|
+
Ae,
|
|
656
662
|
{
|
|
657
663
|
lang: 0,
|
|
658
664
|
userid: 12,
|
|
@@ -661,11 +667,12 @@ class Ie extends he {
|
|
|
661
667
|
apiversion: 15,
|
|
662
668
|
numberofentries: 1,
|
|
663
669
|
customcurrencysymbols: 16,
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
670
|
+
limitformat: 17,
|
|
671
|
+
clientstyling: 18,
|
|
672
|
+
clientstylingurl: 19,
|
|
673
|
+
translationurl: 20
|
|
667
674
|
},
|
|
668
|
-
|
|
675
|
+
Ie,
|
|
669
676
|
[-1, -1]
|
|
670
677
|
);
|
|
671
678
|
}
|
|
@@ -673,64 +680,70 @@ class Ie extends he {
|
|
|
673
680
|
return this.$$.ctx[0];
|
|
674
681
|
}
|
|
675
682
|
set lang(e) {
|
|
676
|
-
this.$$set({ lang: e }),
|
|
683
|
+
this.$$set({ lang: e }), P();
|
|
677
684
|
}
|
|
678
685
|
get userid() {
|
|
679
686
|
return this.$$.ctx[12];
|
|
680
687
|
}
|
|
681
688
|
set userid(e) {
|
|
682
|
-
this.$$set({ userid: e }),
|
|
689
|
+
this.$$set({ userid: e }), P();
|
|
683
690
|
}
|
|
684
691
|
get session() {
|
|
685
692
|
return this.$$.ctx[13];
|
|
686
693
|
}
|
|
687
694
|
set session(e) {
|
|
688
|
-
this.$$set({ session: e }),
|
|
695
|
+
this.$$set({ session: e }), P();
|
|
689
696
|
}
|
|
690
697
|
get endpoint() {
|
|
691
698
|
return this.$$.ctx[14];
|
|
692
699
|
}
|
|
693
700
|
set endpoint(e) {
|
|
694
|
-
this.$$set({ endpoint: e }),
|
|
701
|
+
this.$$set({ endpoint: e }), P();
|
|
695
702
|
}
|
|
696
703
|
get apiversion() {
|
|
697
704
|
return this.$$.ctx[15];
|
|
698
705
|
}
|
|
699
706
|
set apiversion(e) {
|
|
700
|
-
this.$$set({ apiversion: e }),
|
|
707
|
+
this.$$set({ apiversion: e }), P();
|
|
701
708
|
}
|
|
702
709
|
get numberofentries() {
|
|
703
710
|
return this.$$.ctx[1];
|
|
704
711
|
}
|
|
705
712
|
set numberofentries(e) {
|
|
706
|
-
this.$$set({ numberofentries: e }),
|
|
713
|
+
this.$$set({ numberofentries: e }), P();
|
|
707
714
|
}
|
|
708
715
|
get customcurrencysymbols() {
|
|
709
716
|
return this.$$.ctx[16];
|
|
710
717
|
}
|
|
711
718
|
set customcurrencysymbols(e) {
|
|
712
|
-
this.$$set({ customcurrencysymbols: e }),
|
|
719
|
+
this.$$set({ customcurrencysymbols: e }), P();
|
|
713
720
|
}
|
|
714
|
-
get
|
|
721
|
+
get limitformat() {
|
|
715
722
|
return this.$$.ctx[17];
|
|
716
723
|
}
|
|
724
|
+
set limitformat(e) {
|
|
725
|
+
this.$$set({ limitformat: e }), P();
|
|
726
|
+
}
|
|
727
|
+
get clientstyling() {
|
|
728
|
+
return this.$$.ctx[18];
|
|
729
|
+
}
|
|
717
730
|
set clientstyling(e) {
|
|
718
|
-
this.$$set({ clientstyling: e }),
|
|
731
|
+
this.$$set({ clientstyling: e }), P();
|
|
719
732
|
}
|
|
720
733
|
get clientstylingurl() {
|
|
721
|
-
return this.$$.ctx[
|
|
734
|
+
return this.$$.ctx[19];
|
|
722
735
|
}
|
|
723
736
|
set clientstylingurl(e) {
|
|
724
|
-
this.$$set({ clientstylingurl: e }),
|
|
737
|
+
this.$$set({ clientstylingurl: e }), P();
|
|
725
738
|
}
|
|
726
739
|
get translationurl() {
|
|
727
|
-
return this.$$.ctx[
|
|
740
|
+
return this.$$.ctx[20];
|
|
728
741
|
}
|
|
729
742
|
set translationurl(e) {
|
|
730
|
-
this.$$set({ translationurl: e }),
|
|
743
|
+
this.$$set({ translationurl: e }), P();
|
|
731
744
|
}
|
|
732
745
|
}
|
|
733
|
-
|
|
746
|
+
Pe(Ke, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
734
747
|
export {
|
|
735
|
-
|
|
748
|
+
Ke as default
|
|
736
749
|
};
|