@everymatrix/player-account-controller-nd 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-3tCkYOBy.js → GeneralLogout-BtWyed39.js} +1131 -1094
- package/components/GeneralLogout-DfI2_eQe.cjs +8 -0
- package/components/{PlayerAccountBettingHistory-DAOgOPGf.js → PlayerAccountBettingHistory-jlr-NObV.js} +35 -34
- package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +1 -0
- package/components/{PlayerAccountBiometrics-sCg1trpD.js → PlayerAccountBiometrics-C54a7r-9.js} +1 -1
- package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +1 -0
- package/components/{PlayerAccountClosureNd-De5JqWgf.js → PlayerAccountClosureNd-BDFuLumd.js} +1 -1
- package/components/PlayerAccountClosureNd-BOdzF3ZS.cjs +1 -0
- package/components/PlayerAccountControllerNd-BZinIfCX.cjs +1 -0
- package/components/{PlayerAccountControllerNd-COEYGY9w.js → PlayerAccountControllerNd-C-2tav1W.js} +417 -400
- package/components/{PlayerAccountGamingLimits-CqTz7Ici.js → PlayerAccountGamingLimits-11hMW47h.js} +3 -3
- package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BjoIf8Bc.js → PlayerAccountGamingLimitsConfirmationModal-D-CsaFkg.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DAdNIZpE.js → PlayerAccountGamingLimitsGroupEdit-CGnoaPKg.js} +16 -16
- package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DhHA1RpB.js → PlayerAccountGamingLimitsHistory2Nd-BEobV_rb.js} +133 -122
- package/components/PlayerAccountGamingLimitsHistory2Nd-ieMEHssX.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-Dm4s5EwR.js → PlayerAccountGamingLimitsInfoCard-BKjqkeZR.js} +4 -4
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-C_v3NfIe.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DKULeWa-.js → PlayerAccountGamingLimitsPage2Gm16Nd-S0iDe8or.js} +874 -843
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPopup-Df_x-yrG.js → PlayerAccountGamingLimitsPopup-gmuszZSb.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DQ3dr7To.js → PlayerAccountGamingLimitsWrapper2Nd-DLlx2k_P.js} +117 -111
- package/components/PlayerAccountGamingLimitsWrapper2Nd-_Ze6bW4r.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-Nvr-pqYF.js → PlayerAccountGeneralConfirmationModal-B_nnNCCl.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +1 -0
- package/components/PlayerAccountMenuNd-B8H3so10.cjs +1 -0
- package/components/{PlayerAccountMenuNd-z4P33Khe.js → PlayerAccountMenuNd-t6hDlobb.js} +69 -68
- package/components/{PlayerAccountModal-BvKEdvD_.js → PlayerAccountModal-0zGW_PaL.js} +1 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +1 -0
- package/components/{PlayerAccountNotifications-BFv2Nw_e.js → PlayerAccountNotifications-CnakmgwG.js} +1 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +1 -0
- package/components/PlayerAccountSelfExclusionNd-B5wR57a_.cjs +3828 -0
- package/components/{PlayerAccountSelfExclusionNd-D0XYPrl9.js → PlayerAccountSelfExclusionNd-D1bSwsQ2.js} +1572 -1488
- package/components/{PlayerAccountTimeout-rttX6IYz.js → PlayerAccountTimeout-BrmadDVi.js} +4 -4
- package/components/PlayerAccountTimeout-E-jDJfAE.cjs +1 -0
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +1 -0
- package/components/{PlayerActiveBonuses-LfCU2WnE.js → PlayerActiveBonuses-DuRJuBww.js} +120 -119
- package/components/{PlayerBonusCard-CbzYE1Iz.js → PlayerBonusCard-Cs7krVbC.js} +2 -2
- package/components/PlayerBonusCard-UTTIEBwb.cjs +1 -0
- package/components/PlayerBonusHistory-DDWO5PPl.cjs +1 -0
- package/components/{PlayerBonusHistory-D61Y7LPQ.js → PlayerBonusHistory-Dw5CWQDm.js} +53 -53
- package/components/{PlayerChangePassword-CtlTmVcf.js → PlayerChangePassword-BkjAcj4x.js} +1 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +3 -0
- package/components/{PlayerDeposit-_rTfbSEr.js → PlayerDeposit-D5fEWazq.js} +1 -1
- package/components/PlayerDeposit-Do7vb_4b.cjs +1 -0
- package/components/PlayerGamingHistory-CJOG_M6n.cjs +1 -0
- package/components/{PlayerGamingHistory-szc4XDy6.js → PlayerGamingHistory-DaDCBXVi.js} +388 -375
- package/components/{PlayerPendingWithdrawals-BhEz708_.js → PlayerPendingWithdrawals--vyYysmT.js} +1 -1
- package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +1 -0
- package/components/{PlayerProfileInfo-BbyV3TvC.js → PlayerProfileInfo-CjhfS-zh.js} +549 -532
- package/components/PlayerProfileInfo-lMeb2jBi.cjs +1 -0
- package/components/{PlayerRealityCheck-DMRjX5t_.js → PlayerRealityCheck-BVS-ZwGk.js} +191 -175
- package/components/PlayerRealityCheck-CA0P_3BC.cjs +1 -0
- package/components/PlayerTransactionHistory-CvZcvyBx.cjs +1 -0
- package/components/{PlayerTransactionHistory-C4ne-FLe.js → PlayerTransactionHistory-Dd5Xk8dK.js} +1 -1
- package/components/PlayerWithdrawal-DxLwjX7x.cjs +1 -0
- package/components/{PlayerWithdrawal-Bn5jvB2N.js → PlayerWithdrawal-ZUk_jlsP.js} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -0
- package/es2015/player-account-controller-nd.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-sCt45RkC.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-Dyvby5gX.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-Cer2RaBb.cjs +1 -0
- package/stencil/player-change-password-gm2-Do4_2F3u.js +25 -0
- 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/esnext/player-account-controller-nd.js +0 -14
- package/stencil/player-change-password-gm2-sVfmFhoT.js +0 -7
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
+
for (var i in e || (e = {}))
|
|
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
|
+
return t;
|
|
11
|
+
};
|
|
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-BtWyed39.js";
|
|
13
|
+
function te(t, e) {
|
|
14
|
+
Te(t, e);
|
|
4
15
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
16
|
+
function He(t) {
|
|
17
|
+
we.set(t);
|
|
7
18
|
}
|
|
8
|
-
const
|
|
19
|
+
const q = {
|
|
9
20
|
en: {
|
|
10
21
|
expandLimits: "Limit history",
|
|
11
22
|
daily: "per day",
|
|
@@ -236,30 +247,30 @@ const V = {
|
|
|
236
247
|
historyLimitTypeLoss: "Kayıp Limiti"
|
|
237
248
|
}
|
|
238
249
|
};
|
|
239
|
-
function
|
|
240
|
-
|
|
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)}}');
|
|
241
252
|
}
|
|
242
|
-
function
|
|
253
|
+
function ie(t, e, i) {
|
|
243
254
|
const r = t.slice();
|
|
244
|
-
return r[38] = e[
|
|
255
|
+
return r[38] = e[i], r[39] = e, r[40] = i, r;
|
|
245
256
|
}
|
|
246
|
-
function
|
|
247
|
-
let e,
|
|
257
|
+
function Fe(t) {
|
|
258
|
+
let e, i, r, o = (
|
|
248
259
|
/*$_*/
|
|
249
260
|
t[9]("expandLimits") + ""
|
|
250
|
-
), l, a, n, f, v, p, y, u, L, S =
|
|
261
|
+
), l, a, n, f, v, p, y, u, L, S = $(
|
|
251
262
|
/*lazyShowedHistoryArray*/
|
|
252
263
|
t[7]
|
|
253
264
|
), z = [];
|
|
254
265
|
for (let h = 0; h < S.length; h += 1)
|
|
255
|
-
z[h] =
|
|
266
|
+
z[h] = se(ie(t, S, h));
|
|
256
267
|
return {
|
|
257
268
|
c() {
|
|
258
|
-
e = T("div"),
|
|
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");
|
|
259
270
|
for (let h = 0; h < z.length; h += 1)
|
|
260
271
|
z[h].c();
|
|
261
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*/
|
|
262
|
-
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"),
|
|
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(
|
|
263
274
|
n,
|
|
264
275
|
"extended",
|
|
265
276
|
/*extended*/
|
|
@@ -271,13 +282,13 @@ function De(t) {
|
|
|
271
282
|
"hidden",
|
|
272
283
|
/*hidden*/
|
|
273
284
|
t[5]
|
|
274
|
-
), d(
|
|
285
|
+
), d(i, "class", "HistoryWrapper svelte-16zv8bz"), d(e, "class", "player-account-gaming-limits-history-2 svelte-16zv8bz");
|
|
275
286
|
},
|
|
276
287
|
m(h, w) {
|
|
277
|
-
D(h, e, w), g(e,
|
|
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);
|
|
278
289
|
for (let c = 0; c < z.length; c += 1)
|
|
279
290
|
z[c] && z[c].m(y, null);
|
|
280
|
-
u || (L =
|
|
291
|
+
u || (L = Re(
|
|
281
292
|
r,
|
|
282
293
|
"click",
|
|
283
294
|
/*toggleHistoryDisplayArea*/
|
|
@@ -295,14 +306,14 @@ function De(t) {
|
|
|
295
306
|
h[8]
|
|
296
307
|
), w[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
297
308
|
650) {
|
|
298
|
-
S =
|
|
309
|
+
S = $(
|
|
299
310
|
/*lazyShowedHistoryArray*/
|
|
300
311
|
h[7]
|
|
301
312
|
);
|
|
302
313
|
let c;
|
|
303
314
|
for (c = 0; c < S.length; c += 1) {
|
|
304
|
-
const x =
|
|
305
|
-
z[c] ? z[c].p(x, w) : (z[c] =
|
|
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));
|
|
306
317
|
}
|
|
307
318
|
for (; c < z.length; c += 1)
|
|
308
319
|
z[c].d(1);
|
|
@@ -317,15 +328,15 @@ function De(t) {
|
|
|
317
328
|
);
|
|
318
329
|
},
|
|
319
330
|
d(h) {
|
|
320
|
-
h && R(e),
|
|
331
|
+
h && R(e), je(z, h), u = !1, L();
|
|
321
332
|
}
|
|
322
333
|
};
|
|
323
334
|
}
|
|
324
|
-
function
|
|
335
|
+
function Oe(t) {
|
|
325
336
|
return { c: E, m: E, p: E, d: E };
|
|
326
337
|
}
|
|
327
|
-
function
|
|
328
|
-
let e,
|
|
338
|
+
function Me(t) {
|
|
339
|
+
let e, i = (
|
|
329
340
|
/*lang*/
|
|
330
341
|
(t[0] ? (
|
|
331
342
|
/*$_*/
|
|
@@ -334,26 +345,26 @@ function je(t) {
|
|
|
334
345
|
), r;
|
|
335
346
|
return {
|
|
336
347
|
c() {
|
|
337
|
-
e = T("p"), r = C(
|
|
348
|
+
e = T("p"), r = C(i), d(e, "class", "svelte-16zv8bz");
|
|
338
349
|
},
|
|
339
350
|
m(o, l) {
|
|
340
351
|
D(o, e, l), g(e, r);
|
|
341
352
|
},
|
|
342
353
|
p(o, l) {
|
|
343
354
|
l[0] & /*lang, $_*/
|
|
344
|
-
513 &&
|
|
355
|
+
513 && i !== (i = /*lang*/
|
|
345
356
|
(o[0] ? (
|
|
346
357
|
/*$_*/
|
|
347
358
|
o[9]("error")
|
|
348
|
-
) : "500 Server Error") + "") && k(r,
|
|
359
|
+
) : "500 Server Error") + "") && k(r, i);
|
|
349
360
|
},
|
|
350
361
|
d(o) {
|
|
351
362
|
o && R(e);
|
|
352
363
|
}
|
|
353
364
|
};
|
|
354
365
|
}
|
|
355
|
-
function
|
|
356
|
-
let e,
|
|
366
|
+
function Be(t) {
|
|
367
|
+
let e, i, r, o = (
|
|
357
368
|
/*history*/
|
|
358
369
|
t[38].type + ""
|
|
359
370
|
), l, a, n = (
|
|
@@ -365,10 +376,10 @@ function We(t) {
|
|
|
365
376
|
), y;
|
|
366
377
|
return {
|
|
367
378
|
c() {
|
|
368
|
-
e = T("div"),
|
|
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");
|
|
369
380
|
},
|
|
370
381
|
m(u, L) {
|
|
371
|
-
D(u, e, L), g(e,
|
|
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);
|
|
372
383
|
},
|
|
373
384
|
p(u, L) {
|
|
374
385
|
L[0] & /*lazyShowedHistoryArray*/
|
|
@@ -384,8 +395,8 @@ function We(t) {
|
|
|
384
395
|
}
|
|
385
396
|
};
|
|
386
397
|
}
|
|
387
|
-
function
|
|
388
|
-
let e,
|
|
398
|
+
function Ue(t) {
|
|
399
|
+
let e, i, r, o = (
|
|
389
400
|
/*history*/
|
|
390
401
|
t[38].type + ""
|
|
391
402
|
), l, a, n = (
|
|
@@ -397,10 +408,10 @@ function He(t) {
|
|
|
397
408
|
), y;
|
|
398
409
|
return {
|
|
399
410
|
c() {
|
|
400
|
-
e = T("div"),
|
|
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");
|
|
401
412
|
},
|
|
402
413
|
m(u, L) {
|
|
403
|
-
D(u, e, L), g(e,
|
|
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);
|
|
404
415
|
},
|
|
405
416
|
p(u, L) {
|
|
406
417
|
L[0] & /*lazyShowedHistoryArray*/
|
|
@@ -416,15 +427,15 @@ function He(t) {
|
|
|
416
427
|
}
|
|
417
428
|
};
|
|
418
429
|
}
|
|
419
|
-
function
|
|
420
|
-
let e,
|
|
430
|
+
function se(t) {
|
|
431
|
+
let e, i, r, o = (
|
|
421
432
|
/*index*/
|
|
422
433
|
t[40]
|
|
423
434
|
);
|
|
424
435
|
function l(p, y) {
|
|
425
436
|
return (
|
|
426
437
|
/*history*/
|
|
427
|
-
p[38].removed ?
|
|
438
|
+
p[38].removed ? Ue : Be
|
|
428
439
|
);
|
|
429
440
|
}
|
|
430
441
|
let a = l(t), n = a(t);
|
|
@@ -437,18 +448,18 @@ function ee(t) {
|
|
|
437
448
|
);
|
|
438
449
|
return {
|
|
439
450
|
c() {
|
|
440
|
-
e = T("div"), n.c(),
|
|
451
|
+
e = T("div"), n.c(), i = X(), d(e, "class", r = ee(
|
|
441
452
|
/*index*/
|
|
442
453
|
t[40] > +/*numberofentries*/
|
|
443
454
|
t[1] ? "LimitContainer" : ""
|
|
444
455
|
) + " svelte-16zv8bz");
|
|
445
456
|
},
|
|
446
457
|
m(p, y) {
|
|
447
|
-
D(p, e, y), n.m(e, null), g(e,
|
|
458
|
+
D(p, e, y), n.m(e, null), g(e, i), f();
|
|
448
459
|
},
|
|
449
460
|
p(p, y) {
|
|
450
|
-
t = p, a === (a = l(t)) && n ? n.p(t, y) : (n.d(1), n = a(t), n && (n.c(), n.m(e,
|
|
451
|
-
2 && r !== (r =
|
|
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(
|
|
452
463
|
/*index*/
|
|
453
464
|
t[40] > +/*numberofentries*/
|
|
454
465
|
t[1] ? "LimitContainer" : ""
|
|
@@ -461,18 +472,18 @@ function ee(t) {
|
|
|
461
472
|
}
|
|
462
473
|
};
|
|
463
474
|
}
|
|
464
|
-
function
|
|
475
|
+
function Ne(t) {
|
|
465
476
|
let e;
|
|
466
|
-
function
|
|
477
|
+
function i(l, a) {
|
|
467
478
|
return (
|
|
468
479
|
/*hasErrors*/
|
|
469
|
-
l[6] ?
|
|
480
|
+
l[6] ? Me : (
|
|
470
481
|
/*isLoading*/
|
|
471
|
-
l[4] ?
|
|
482
|
+
l[4] ? Oe : Fe
|
|
472
483
|
)
|
|
473
484
|
);
|
|
474
485
|
}
|
|
475
|
-
let r =
|
|
486
|
+
let r = i(t), o = r(t);
|
|
476
487
|
return {
|
|
477
488
|
c() {
|
|
478
489
|
e = T("div"), o.c(), d(e, "class", "svelte-16zv8bz");
|
|
@@ -481,7 +492,7 @@ function Ie(t) {
|
|
|
481
492
|
D(l, e, a), o.m(e, null), t[22](e);
|
|
482
493
|
},
|
|
483
494
|
p(l, a) {
|
|
484
|
-
r === (r =
|
|
495
|
+
r === (r = i(l)) && o ? o.p(l, a) : (o.d(1), o = r(l), o && (o.c(), o.m(e, null)));
|
|
485
496
|
},
|
|
486
497
|
i: E,
|
|
487
498
|
o: E,
|
|
@@ -490,24 +501,24 @@ function Ie(t) {
|
|
|
490
501
|
}
|
|
491
502
|
};
|
|
492
503
|
}
|
|
493
|
-
function
|
|
504
|
+
function Ge(t, e, i) {
|
|
494
505
|
let r;
|
|
495
|
-
|
|
496
|
-
let o = window.navigator.userAgent, l = !
|
|
497
|
-
const
|
|
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 = () => {
|
|
498
509
|
fetch(h).then((m) => m.json()).then((m) => {
|
|
499
510
|
Object.keys(m).forEach((_) => {
|
|
500
|
-
|
|
511
|
+
te(_, m[_]);
|
|
501
512
|
});
|
|
502
513
|
}).catch((m) => {
|
|
503
514
|
console.log(m);
|
|
504
515
|
});
|
|
505
516
|
};
|
|
506
|
-
Object.keys(
|
|
507
|
-
|
|
517
|
+
Object.keys(q).forEach((s) => {
|
|
518
|
+
te(s, q[s]);
|
|
508
519
|
});
|
|
509
|
-
const
|
|
510
|
-
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);
|
|
511
522
|
m.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), m.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), m.searchParams.append("limit", "10000");
|
|
512
523
|
let _ = {
|
|
513
524
|
method: "GET",
|
|
@@ -515,19 +526,19 @@ function Fe(t, e, s) {
|
|
|
515
526
|
};
|
|
516
527
|
fetch(m.href, _).then((b) => {
|
|
517
528
|
if (b.status >= 300)
|
|
518
|
-
throw
|
|
529
|
+
throw i(4, W = !1), i(6, B = !0), new Error("There was an error fetching the limits");
|
|
519
530
|
return b.json();
|
|
520
531
|
}).then(
|
|
521
532
|
(b) => {
|
|
522
|
-
b.length && (H =
|
|
533
|
+
b.length && (H = ne(b), i(7, I = H.slice(0, x))), i(4, W = !1);
|
|
523
534
|
},
|
|
524
535
|
(b) => {
|
|
525
|
-
console.error("There was an error", b),
|
|
536
|
+
console.error("There was an error", b), i(6, B = !0);
|
|
526
537
|
}
|
|
527
538
|
);
|
|
528
|
-
},
|
|
529
|
-
const m = !!
|
|
530
|
-
return
|
|
539
|
+
}, ne = (s) => {
|
|
540
|
+
const m = !!q[a];
|
|
541
|
+
return s.map((b) => {
|
|
531
542
|
let A = {
|
|
532
543
|
amount: "",
|
|
533
544
|
currency: "",
|
|
@@ -536,46 +547,46 @@ function Fe(t, e, s) {
|
|
|
536
547
|
type: "",
|
|
537
548
|
removed: !1
|
|
538
549
|
};
|
|
539
|
-
return A.amount =
|
|
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;
|
|
540
551
|
});
|
|
541
|
-
},
|
|
542
|
-
let m = L || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
552
|
+
}, le = (s) => {
|
|
553
|
+
let m = L || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(s.limitAmount);
|
|
543
554
|
if (!L) {
|
|
544
|
-
let
|
|
545
|
-
return `${m}${
|
|
555
|
+
let Le = j[s.limitCurrencyCode] || s.limitCurrencyCode;
|
|
556
|
+
return `${m}${Le}`;
|
|
546
557
|
}
|
|
547
|
-
typeof
|
|
558
|
+
typeof s.limitAmount == "string" && s.limitAmount.includes(",") && (s.limitAmount = s.limitAmount.replaceAll(",", ""));
|
|
548
559
|
const _ = m.match(/\{(\d+)decimals\}/), b = _ ? parseInt(_[1], 10) : 2, A = _ ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
549
|
-
let O = parseFloat(
|
|
550
|
-
const [
|
|
551
|
-
let [G,
|
|
552
|
-
return G = G.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
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(
|
|
553
564
|
A,
|
|
554
565
|
O.split(N)[1]
|
|
555
566
|
), m;
|
|
556
|
-
},
|
|
557
|
-
|
|
567
|
+
}, ae = () => {
|
|
568
|
+
i(5, F = !F), i(8, U = !U);
|
|
558
569
|
};
|
|
559
|
-
let
|
|
560
|
-
|
|
561
|
-
m.isIntersecting && (x += parseInt(y, 10) || 10, I.length < H.length &&
|
|
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)));
|
|
562
573
|
});
|
|
563
574
|
});
|
|
564
|
-
const
|
|
565
|
-
|
|
566
|
-
},
|
|
575
|
+
const me = () => {
|
|
576
|
+
Y.observe(c[c.length - 1]);
|
|
577
|
+
}, de = () => {
|
|
567
578
|
if (!u) return;
|
|
568
|
-
let
|
|
579
|
+
let s = {};
|
|
569
580
|
u.split(",").forEach((m) => {
|
|
570
581
|
let _ = m.split(":");
|
|
571
|
-
|
|
572
|
-
}), j = {
|
|
573
|
-
},
|
|
574
|
-
let
|
|
575
|
-
|
|
576
|
-
},
|
|
577
|
-
let
|
|
578
|
-
fetch(
|
|
582
|
+
s[_[0].trim()] = _[1].trim();
|
|
583
|
+
}), j = K(K({}, j), s);
|
|
584
|
+
}, pe = () => {
|
|
585
|
+
let s = document.createElement("style");
|
|
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((_) => {
|
|
579
590
|
m.innerHTML = _, w && (setTimeout(
|
|
580
591
|
() => {
|
|
581
592
|
w.appendChild(m);
|
|
@@ -587,33 +598,33 @@ function Fe(t, e, s) {
|
|
|
587
598
|
500
|
|
588
599
|
));
|
|
589
600
|
});
|
|
590
|
-
},
|
|
591
|
-
|
|
601
|
+
}, ce = () => {
|
|
602
|
+
He(a);
|
|
592
603
|
};
|
|
593
|
-
|
|
594
|
-
|
|
604
|
+
Ee(() => () => {
|
|
605
|
+
Y.unobserve(c[c.length - 1]);
|
|
595
606
|
});
|
|
596
|
-
function
|
|
597
|
-
|
|
598
|
-
c[m] =
|
|
607
|
+
function ue(s, m) {
|
|
608
|
+
Z[s ? "unshift" : "push"](() => {
|
|
609
|
+
c[m] = s, i(3, c);
|
|
599
610
|
});
|
|
600
611
|
}
|
|
601
|
-
function
|
|
602
|
-
|
|
603
|
-
w =
|
|
612
|
+
function ge(s) {
|
|
613
|
+
Z[s ? "unshift" : "push"](() => {
|
|
614
|
+
w = s, i(2, w);
|
|
604
615
|
});
|
|
605
616
|
}
|
|
606
|
-
return t.$$set = (
|
|
607
|
-
"lang" in
|
|
617
|
+
return t.$$set = (s) => {
|
|
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);
|
|
608
619
|
}, t.$$.update = () => {
|
|
609
620
|
t.$$.dirty[0] & /*customcurrencysymbols*/
|
|
610
|
-
65536 && u &&
|
|
611
|
-
61440 && v && n && f && p &&
|
|
612
|
-
56 && c[0] && !W && !F &&
|
|
613
|
-
1 && a &&
|
|
614
|
-
524288 && z &&
|
|
615
|
-
262148 && S && w &&
|
|
616
|
-
1048580 && h && w &&
|
|
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();
|
|
617
628
|
}, [
|
|
618
629
|
a,
|
|
619
630
|
y,
|
|
@@ -626,7 +637,7 @@ function Fe(t, e, s) {
|
|
|
626
637
|
U,
|
|
627
638
|
r,
|
|
628
639
|
l,
|
|
629
|
-
|
|
640
|
+
ae,
|
|
630
641
|
n,
|
|
631
642
|
f,
|
|
632
643
|
v,
|
|
@@ -636,18 +647,18 @@ function Fe(t, e, s) {
|
|
|
636
647
|
S,
|
|
637
648
|
z,
|
|
638
649
|
h,
|
|
639
|
-
|
|
640
|
-
|
|
650
|
+
ue,
|
|
651
|
+
ge
|
|
641
652
|
];
|
|
642
653
|
}
|
|
643
|
-
class
|
|
654
|
+
class Ke extends _e {
|
|
644
655
|
constructor(e) {
|
|
645
|
-
super(),
|
|
656
|
+
super(), Se(
|
|
646
657
|
this,
|
|
647
658
|
e,
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
659
|
+
Ge,
|
|
660
|
+
Ne,
|
|
661
|
+
Ae,
|
|
651
662
|
{
|
|
652
663
|
lang: 0,
|
|
653
664
|
userid: 12,
|
|
@@ -661,7 +672,7 @@ class Oe extends Le {
|
|
|
661
672
|
clientstylingurl: 19,
|
|
662
673
|
translationurl: 20
|
|
663
674
|
},
|
|
664
|
-
|
|
675
|
+
Ie,
|
|
665
676
|
[-1, -1]
|
|
666
677
|
);
|
|
667
678
|
}
|
|
@@ -732,7 +743,7 @@ class Oe extends Le {
|
|
|
732
743
|
this.$$set({ translationurl: e }), P();
|
|
733
744
|
}
|
|
734
745
|
}
|
|
735
|
-
|
|
746
|
+
Pe(Ke, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
736
747
|
export {
|
|
737
|
-
|
|
748
|
+
Ke as default
|
|
738
749
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var ne=Object.defineProperty;var O=Object.getOwnPropertySymbols;var ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var M=(i,t,r)=>t in i?ne(i,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[t]=r,H=(i,t)=>{for(var r in t||(t={}))ae.call(t,r)&&M(i,r,t[r]);if(O)for(var r of O(t))le.call(t,r)&&M(i,r,t[r]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DfI2_eQe.cjs");function B(i,t){e.addMessages(i,t)}function me(i){e.$locale.set(i)}const I={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"}};function de(i){e.append_styles(i,"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)}}')}function N(i,t,r){const o=i.slice();return o[38]=t[r],o[39]=t,o[40]=r,o}function pe(i){let t,r,o,n=i[9]("expandLimits")+"",l,m,a,L,h,p,y,u,v,w=e.ensure_array_like(i[7]),f=[];for(let g=0;g<w.length;g+=1)f[g]=U(N(i,w,g));return{c(){t=e.element("div"),r=e.element("div"),o=e.element("button"),l=e.text(n),m=e.space(),a=e.svg_element("svg"),L=e.svg_element("path"),h=e.svg_element("path"),p=e.space(),y=e.element("div");for(let g=0;g<f.length;g+=1)f[g].c();e.attr(L,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(L,"class","svelte-16zv8bz"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-16zv8bz"),e.attr(a,"class","ExpandArrow "+(i[10]?"":"Mobile")+" svelte-16zv8bz"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","36"),e.attr(a,"height","36"),e.attr(a,"viewBox","0 0 36 36"),e.set_style(a,"fill","var(--emw--color-primary, #22B04E)"),e.toggle_class(a,"extended",i[8]),e.attr(o,"class","ExpandButton "+(i[10]?"":"Mobile")+" svelte-16zv8bz"),e.attr(y,"class","HistoryDisplayArea "+(i[10]?"":"Mobile")+" svelte-16zv8bz"),e.toggle_class(y,"hidden",i[5]),e.attr(r,"class","HistoryWrapper svelte-16zv8bz"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-16zv8bz")},m(g,b){e.insert(g,t,b),e.append(t,r),e.append(r,o),e.append(o,l),e.append(o,m),e.append(o,a),e.append(a,L),e.append(a,h),e.append(r,p),e.append(r,y);for(let c=0;c<f.length;c+=1)f[c]&&f[c].m(y,null);u||(v=e.listen(o,"click",i[11]),u=!0)},p(g,b){if(b[0]&512&&n!==(n=g[9]("expandLimits")+"")&&e.set_data(l,n),b[0]&256&&e.toggle_class(a,"extended",g[8]),b[0]&650){w=e.ensure_array_like(g[7]);let c;for(c=0;c<w.length;c+=1){const S=N(g,w,c);f[c]?f[c].p(S,b):(f[c]=U(S),f[c].c(),f[c].m(y,null))}for(;c<f.length;c+=1)f[c].d(1);f.length=w.length}b[0]&32&&e.toggle_class(y,"hidden",g[5])},d(g){g&&e.detach(t),e.destroy_each(f,g),u=!1,v()}}}function ye(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function ce(i){let t,r=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(r),e.attr(t,"class","svelte-16zv8bz")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&513&&r!==(r=(n[0]?n[9]("error"):"500 Server Error")+"")&&e.set_data(o,r)},d(n){n&&e.detach(t)}}}function ue(i){let t,r,o,n=i[38].type+"",l,m,a=i[38].amount+"",L,h,p=i[38].date+"",y;return{c(){t=e.element("div"),r=e.element("span"),o=e.element("span"),l=e.text(n),m=e.element("span"),L=e.text(a),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-16zv8bz"),e.attr(m,"class","LimitAmountPeriod svelte-16zv8bz"),e.attr(r,"class","GeneralLimitInformation svelte-16zv8bz"),e.attr(h,"class","DateLimitInformation svelte-16zv8bz"),e.attr(t,"class","HistoryRow svelte-16zv8bz")},m(u,v){e.insert(u,t,v),e.append(t,r),e.append(r,o),e.append(o,l),e.append(r,m),e.append(m,L),e.append(t,h),e.append(h,y)},p(u,v){v[0]&128&&n!==(n=u[38].type+"")&&e.set_data(l,n),v[0]&128&&a!==(a=u[38].amount+"")&&e.set_data(L,a),v[0]&128&&p!==(p=u[38].date+"")&&e.set_data(y,p)},d(u){u&&e.detach(t)}}}function ge(i){let t,r,o,n=i[38].type+"",l,m,a=i[9]("limitRemoved")+"",L,h,p=i[38].date+"",y;return{c(){t=e.element("div"),r=e.element("span"),o=e.element("span"),l=e.text(n),m=e.element("span"),L=e.text(a),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-16zv8bz"),e.attr(m,"class","LimitAmountPeriod svelte-16zv8bz"),e.attr(r,"class","GeneralLimitInformation svelte-16zv8bz"),e.attr(h,"class","DateLimitInformation svelte-16zv8bz"),e.attr(t,"class","HistoryRow svelte-16zv8bz")},m(u,v){e.insert(u,t,v),e.append(t,r),e.append(r,o),e.append(o,l),e.append(r,m),e.append(m,L),e.append(t,h),e.append(h,y)},p(u,v){v[0]&128&&n!==(n=u[38].type+"")&&e.set_data(l,n),v[0]&512&&a!==(a=u[9]("limitRemoved")+"")&&e.set_data(L,a),v[0]&128&&p!==(p=u[38].date+"")&&e.set_data(y,p)},d(u){u&&e.detach(t)}}}function U(i){let t,r,o,n=i[40];function l(p,y){return p[38].removed?ge:ue}let m=l(i),a=m(i);const L=()=>i[21](t,n),h=()=>i[21](null,n);return{c(){t=e.element("div"),a.c(),r=e.space(),e.attr(t,"class",o=e.null_to_empty(i[40]>+i[1]?"LimitContainer":"")+" svelte-16zv8bz")},m(p,y){e.insert(p,t,y),a.m(t,null),e.append(t,r),L()},p(p,y){i=p,m===(m=l(i))&&a?a.p(i,y):(a.d(1),a=m(i),a&&(a.c(),a.m(t,r))),y[0]&2&&o!==(o=e.null_to_empty(i[40]>+i[1]?"LimitContainer":"")+" svelte-16zv8bz")&&e.attr(t,"class",o),n!==i[40]&&(h(),n=i[40],L())},d(p){p&&e.detach(t),a.d(),h()}}}function he(i){let t;function r(l,m){return l[6]?ce:l[4]?ye:pe}let o=r(i),n=o(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-16zv8bz")},m(l,m){e.insert(l,t,m),n.m(t,null),i[22](t)},p(l,m){o===(o=r(l))&&n?n.p(l,m):(n.d(1),n=o(l),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),n.d(),i[22](null)}}}function ve(i,t,r){let o;e.component_subscribe(i,e.$format,s=>r(9,o=s));let n=window.navigator.userAgent,l=!e.isMobile(n),{lang:m=""}=t,{userid:a=""}=t,{session:L=""}=t,{endpoint:h=""}=t,{apiversion:p=""}=t,{numberofentries:y="10"}=t,{customcurrencysymbols:u=""}=t,{limitformat:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:f=""}=t,{translationurl:g=""}=t,b,c=new Array,S=parseInt(y,10),D=!1,x=!0,A=[],C=[],k=!0,R=!1,P={EUR:"€",RON:"lei",TRY:"₺"};const q=()=>{fetch(g).then(d=>d.json()).then(d=>{Object.keys(d).forEach(T=>{B(T,d[T])})}).catch(d=>{console.log(d)})};Object.keys(I).forEach(s=>{B(s,I[s])});const K=()=>{let s=p==="gmcore"?`/v2/player/${a}/transactions/limit`:`/v1/player/${a}/limits/monetary/history`,d=new URL(s,h);d.searchParams.append("startDate",`${new Date("2022").toISOString()}`),d.searchParams.append("endDate",`${new Date("2099").toISOString()}`),d.searchParams.append("limit","10000");let T={method:"GET",headers:{"X-SessionID":L}};fetch(d.href,T).then(z=>{if(z.status>=300)throw r(4,x=!1),r(6,D=!0),new Error("There was an error fetching the limits");return z.json()}).then(z=>{z.length&&(A=V(z),r(7,C=A.slice(0,S))),r(4,x=!1)},z=>{console.error("There was an error",z),r(6,D=!0)})},V=s=>{const d=!!I[m];return s.map(z=>{let _={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return _.amount=X(z),_.currency=d?P[z.limitCurrencyCode]:z.limitCurrencyCode,_.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(z.limitDate)),_.period=o(`${z.limitPeriod.toLowerCase()}`),_.type=p==="gmcore"?o(`historyLimitType${z.limitType.split(" ")[0]}`):o(`historyLimitType${z.limitType.split(" ")[0]}`)+" "+o(`historyProductType${z.limitProductType}`),_.removed=z.limitAmount===-1,_})},X=s=>{let d=v||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.limitAmount);if(!v){let oe=P[s.limitCurrencyCode]||s.limitCurrencyCode;return`${d}${oe}`}typeof s.limitAmount=="string"&&s.limitAmount.includes(",")&&(s.limitAmount=s.limitAmount.replaceAll(",",""));const T=d.match(/\{(\d+)decimals\}/),z=T?parseInt(T[1],10):2,_=T?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let E=parseFloat(s.limitAmount).toFixed(z);const[re,j]=v.includes(".")?[",","."]:[".",","];let[W,se]=E.split(".");return W=W.replace(/\B(?=(\d{3})+(?!\d))/g,re),E=`${W}${j}${se}`,d=d.replace("{currency}",P[s.limitCurrencyCode]||s.limitCurrencyCode).replace("{amount}",E.split(j)[0]).replace(_,E.split(j)[1]),d},Y=()=>{r(5,k=!k),r(8,R=!R)};let F=new IntersectionObserver(s=>{s.forEach(d=>{d.isIntersecting&&(S+=parseInt(y,10)||10,C.length<A.length&&r(7,C=A.slice(0,S)))})});const Q=()=>{F.observe(c[c.length-1])},J=()=>{if(!u)return;let s={};u.split(",").forEach(d=>{let T=d.split(":");s[T[0].trim()]=T[1].trim()}),P=H(H({},P),s)},Z=()=>{let s=document.createElement("style");s.innerHTML=w,b.appendChild(s)},$=()=>{let s=new URL(f),d=document.createElement("style");fetch(s.href).then(T=>T.text()).then(T=>{d.innerHTML=T,b&&(setTimeout(()=>{b.appendChild(d)},1),setTimeout(()=>{},500))})},ee=()=>{me(m)};e.onMount(()=>()=>{F.unobserve(c[c.length-1])});function te(s,d){e.binding_callbacks[s?"unshift":"push"](()=>{c[d]=s,r(3,c)})}function ie(s){e.binding_callbacks[s?"unshift":"push"](()=>{b=s,r(2,b)})}return i.$$set=s=>{"lang"in s&&r(0,m=s.lang),"userid"in s&&r(12,a=s.userid),"session"in s&&r(13,L=s.session),"endpoint"in s&&r(14,h=s.endpoint),"apiversion"in s&&r(15,p=s.apiversion),"numberofentries"in s&&r(1,y=s.numberofentries),"customcurrencysymbols"in s&&r(16,u=s.customcurrencysymbols),"limitformat"in s&&r(17,v=s.limitformat),"clientstyling"in s&&r(18,w=s.clientstyling),"clientstylingurl"in s&&r(19,f=s.clientstylingurl),"translationurl"in s&&r(20,g=s.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&u&&J(),i.$$.dirty[0]&61440&&h&&a&&L&&p&&K(),i.$$.dirty[0]&56&&c[0]&&!x&&!k&&Q(),i.$$.dirty[0]&1&&m&&ee(),i.$$.dirty[0]&524288&&f&&$(),i.$$.dirty[0]&262148&&w&&b&&Z(),i.$$.dirty[0]&1048580&&g&&b&&q()},[m,y,b,c,x,k,D,C,R,o,l,Y,a,L,h,p,u,v,w,f,g,te,ie]}class G extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ve,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;
|