@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.94.3 → 1.94.5

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.
@@ -1,11 +1,11 @@
1
- import { a as hi, $ as Li, S as fi, i as vi, s as wi, f as P, b as Ti, y as D, d as z, j as R, l as b, r as d, n as bi, o as Si, p as _i, I as J, C as x, k as g, G as E, z as Z, A as Pi, N as M, F as Ai, m as q, O as X, M as Ci, W as $, T as ki, U as xi, V as Ei, c as Di, R as zi } from "./PlayerAccountGamingLimitsWrapper2Nd-BdQR1LhR.js";
2
- function ii(e, i) {
3
- hi(e, i);
1
+ import { b as he, a as Le, S as fe, v as ve, D as we, r as P, e as Te, z as E, n as z, w as j, o as b, f as d, i as be, x as Se, B as _e, g as J, J as x, d as g, O as D, q as Z, m as Pe, T as M, y as Ae, M as Y, N as V, L as Ce, A as $, G as ke, H as xe, I as De, j as Ee, $ as ze } from "./PlayerAccountGamingLimitsWrapper2Nd-B4-lkgQZ.js";
2
+ function ee(i, e) {
3
+ he(i, e);
4
4
  }
5
- function Ri(e) {
6
- Li.set(e);
5
+ function je(i) {
6
+ Le.set(i);
7
7
  }
8
- const Y = {
8
+ const X = {
9
9
  en: {
10
10
  expandLimits: "Limit history",
11
11
  daily: "per day",
@@ -236,53 +236,53 @@ const Y = {
236
236
  historyLimitTypeLoss: "Kayıp Limiti"
237
237
  }
238
238
  };
239
- function ji(e) {
240
- Ti(e, "svelte-1wi0iai", ':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-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::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-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{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-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
239
+ function Re(i) {
240
+ Te(i, "svelte-1wi0iai", ':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-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::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-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{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-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
241
241
  }
242
- function ei(e, i, t) {
243
- const r = e.slice();
244
- return r[37] = i[t], r[38] = i, r[39] = t, r;
242
+ function ie(i, e, t) {
243
+ const r = i.slice();
244
+ return r[37] = e[t], r[38] = e, r[39] = t, r;
245
245
  }
246
- function Wi(e) {
247
- let i, t, r, o = (
246
+ function We(i) {
247
+ let e, t, r, o = (
248
248
  /*$_*/
249
- e[9]("expandLimits") + ""
250
- ), n, l, a, v, L, p, y, c, f, A = Z(
249
+ i[9]("expandLimits") + ""
250
+ ), n, l, a, v, L, p, y, u, f, A = Z(
251
251
  /*lazyShowedHistoryArray*/
252
- e[7]
252
+ i[7]
253
253
  ), w = [];
254
254
  for (let h = 0; h < A.length; h += 1)
255
- w[h] = ti(ei(e, A, h));
255
+ w[h] = te(ie(i, A, h));
256
256
  return {
257
257
  c() {
258
- i = b("div"), t = b("div"), r = b("button"), n = E(o), l = q(), a = X("svg"), v = X("path"), L = X("path"), p = q(), y = b("div");
258
+ e = b("div"), t = b("div"), r = b("button"), n = D(o), l = Y(), a = V("svg"), v = V("path"), L = V("path"), p = Y(), y = b("div");
259
259
  for (let h = 0; h < w.length; h += 1)
260
260
  w[h].c();
261
261
  d(v, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), d(v, "class", "svelte-1wi0iai"), d(L, "d", "M0 0h36v36h-36z"), d(L, "fill", "none"), d(L, "class", "svelte-1wi0iai"), d(a, "class", "ExpandArrow " + (/*isDesktop*/
262
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(a, "width", "36"), d(a, "height", "36"), d(a, "viewBox", "0 0 36 36"), Ci(a, "fill", "var(--emw--color-primary, #22B04E)"), M(
262
+ i[10] ? "" : "Mobile") + " svelte-1wi0iai"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(a, "width", "36"), d(a, "height", "36"), d(a, "viewBox", "0 0 36 36"), Ce(a, "fill", "var(--emw--color-primary, #22B04E)"), M(
263
263
  a,
264
264
  "extended",
265
265
  /*extended*/
266
- e[8]
266
+ i[8]
267
267
  ), d(r, "class", "ExpandButton " + (/*isDesktop*/
268
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), d(y, "class", "HistoryDisplayArea " + (/*isDesktop*/
269
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), M(
268
+ i[10] ? "" : "Mobile") + " svelte-1wi0iai"), d(y, "class", "HistoryDisplayArea " + (/*isDesktop*/
269
+ i[10] ? "" : "Mobile") + " svelte-1wi0iai"), M(
270
270
  y,
271
271
  "hidden",
272
272
  /*hidden*/
273
- e[5]
274
- ), d(t, "class", "HistoryWrapper svelte-1wi0iai"), d(i, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
273
+ i[5]
274
+ ), d(t, "class", "HistoryWrapper svelte-1wi0iai"), d(e, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
275
275
  },
276
276
  m(h, S) {
277
- R(h, i, S), g(i, t), g(t, r), g(r, n), g(r, l), g(r, a), g(a, v), g(a, L), g(t, p), g(t, y);
277
+ j(h, e, S), g(e, t), g(t, r), g(r, n), g(r, l), g(r, a), g(a, v), g(a, L), g(t, p), g(t, y);
278
278
  for (let m = 0; m < w.length; m += 1)
279
279
  w[m] && w[m].m(y, null);
280
- c || (f = Ai(
280
+ u || (f = Ae(
281
281
  r,
282
282
  "click",
283
283
  /*toggleHistoryDisplayArea*/
284
- e[11]
285
- ), c = !0);
284
+ i[11]
285
+ ), u = !0);
286
286
  },
287
287
  p(h, S) {
288
288
  if (S[0] & /*$_*/
@@ -301,8 +301,8 @@ function Wi(e) {
301
301
  );
302
302
  let m;
303
303
  for (m = 0; m < A.length; m += 1) {
304
- const W = ei(h, A, m);
305
- w[m] ? w[m].p(W, S) : (w[m] = ti(W), w[m].c(), w[m].m(y, null));
304
+ const W = ie(h, A, m);
305
+ w[m] ? w[m].p(W, S) : (w[m] = te(W), w[m].c(), w[m].m(y, null));
306
306
  }
307
307
  for (; m < w.length; m += 1)
308
308
  w[m].d(1);
@@ -317,27 +317,27 @@ function Wi(e) {
317
317
  );
318
318
  },
319
319
  d(h) {
320
- h && z(i), Pi(w, h), c = !1, f();
320
+ h && z(e), Pe(w, h), u = !1, f();
321
321
  }
322
322
  };
323
323
  }
324
- function Hi(e) {
325
- return { c: D, m: D, p: D, d: D };
324
+ function He(i) {
325
+ return { c: E, m: E, p: E, d: E };
326
326
  }
327
- function Ii(e) {
328
- let i, t = (
327
+ function Ie(i) {
328
+ let e, t = (
329
329
  /*lang*/
330
- (e[0] ? (
330
+ (i[0] ? (
331
331
  /*$_*/
332
- e[9]("error")
332
+ i[9]("error")
333
333
  ) : "500 Server Error") + ""
334
334
  ), r;
335
335
  return {
336
336
  c() {
337
- i = b("p"), r = E(t), d(i, "class", "svelte-1wi0iai");
337
+ e = b("p"), r = D(t), d(e, "class", "svelte-1wi0iai");
338
338
  },
339
339
  m(o, n) {
340
- R(o, i, n), g(i, r);
340
+ j(o, e, n), g(e, r);
341
341
  },
342
342
  p(o, n) {
343
343
  n[0] & /*lang, $_*/
@@ -348,185 +348,185 @@ function Ii(e) {
348
348
  ) : "500 Server Error") + "") && x(r, t);
349
349
  },
350
350
  d(o) {
351
- o && z(i);
351
+ o && z(e);
352
352
  }
353
353
  };
354
354
  }
355
- function Fi(e) {
356
- let i, t, r, o = (
355
+ function Oe(i) {
356
+ let e, t, r, o = (
357
357
  /*history*/
358
- e[37].type + ""
358
+ i[37].type + ""
359
359
  ), n, l, a = (
360
360
  /*history*/
361
- e[37].amount + ""
361
+ i[37].amount + ""
362
362
  ), v, L, p = (
363
363
  /*history*/
364
- e[37].date + ""
364
+ i[37].date + ""
365
365
  ), y;
366
366
  return {
367
367
  c() {
368
- i = b("div"), t = b("span"), r = b("span"), n = E(o), l = b("span"), v = E(a), L = b("span"), y = E(p), d(r, "class", "LimitType svelte-1wi0iai"), d(l, "class", "LimitAmountPeriod svelte-1wi0iai"), d(t, "class", "GeneralLimitInformation svelte-1wi0iai"), d(L, "class", "DateLimitInformation svelte-1wi0iai"), d(i, "class", "HistoryRow svelte-1wi0iai");
368
+ e = b("div"), t = b("span"), r = b("span"), n = D(o), l = b("span"), v = D(a), L = b("span"), y = D(p), d(r, "class", "LimitType svelte-1wi0iai"), d(l, "class", "LimitAmountPeriod svelte-1wi0iai"), d(t, "class", "GeneralLimitInformation svelte-1wi0iai"), d(L, "class", "DateLimitInformation svelte-1wi0iai"), d(e, "class", "HistoryRow svelte-1wi0iai");
369
369
  },
370
- m(c, f) {
371
- R(c, i, f), g(i, t), g(t, r), g(r, n), g(t, l), g(l, v), g(i, L), g(L, y);
370
+ m(u, f) {
371
+ j(u, e, f), g(e, t), g(t, r), g(r, n), g(t, l), g(l, v), g(e, L), g(L, y);
372
372
  },
373
- p(c, f) {
373
+ p(u, f) {
374
374
  f[0] & /*lazyShowedHistoryArray*/
375
375
  128 && o !== (o = /*history*/
376
- c[37].type + "") && x(n, o), f[0] & /*lazyShowedHistoryArray*/
376
+ u[37].type + "") && x(n, o), f[0] & /*lazyShowedHistoryArray*/
377
377
  128 && a !== (a = /*history*/
378
- c[37].amount + "") && x(v, a), f[0] & /*lazyShowedHistoryArray*/
378
+ u[37].amount + "") && x(v, a), f[0] & /*lazyShowedHistoryArray*/
379
379
  128 && p !== (p = /*history*/
380
- c[37].date + "") && x(y, p);
380
+ u[37].date + "") && x(y, p);
381
381
  },
382
- d(c) {
383
- c && z(i);
382
+ d(u) {
383
+ u && z(e);
384
384
  }
385
385
  };
386
386
  }
387
- function Oi(e) {
388
- let i, t, r, o = (
387
+ function Fe(i) {
388
+ let e, t, r, o = (
389
389
  /*history*/
390
- e[37].type + ""
390
+ i[37].type + ""
391
391
  ), n, l, a = (
392
392
  /*$_*/
393
- e[9]("limitRemoved") + ""
393
+ i[9]("limitRemoved") + ""
394
394
  ), v, L, p = (
395
395
  /*history*/
396
- e[37].date + ""
396
+ i[37].date + ""
397
397
  ), y;
398
398
  return {
399
399
  c() {
400
- i = b("div"), t = b("span"), r = b("span"), n = E(o), l = b("span"), v = E(a), L = b("span"), y = E(p), d(r, "class", "LimitType svelte-1wi0iai"), d(l, "class", "LimitAmountPeriod svelte-1wi0iai"), d(t, "class", "GeneralLimitInformation svelte-1wi0iai"), d(L, "class", "DateLimitInformation svelte-1wi0iai"), d(i, "class", "HistoryRow svelte-1wi0iai");
400
+ e = b("div"), t = b("span"), r = b("span"), n = D(o), l = b("span"), v = D(a), L = b("span"), y = D(p), d(r, "class", "LimitType svelte-1wi0iai"), d(l, "class", "LimitAmountPeriod svelte-1wi0iai"), d(t, "class", "GeneralLimitInformation svelte-1wi0iai"), d(L, "class", "DateLimitInformation svelte-1wi0iai"), d(e, "class", "HistoryRow svelte-1wi0iai");
401
401
  },
402
- m(c, f) {
403
- R(c, i, f), g(i, t), g(t, r), g(r, n), g(t, l), g(l, v), g(i, L), g(L, y);
402
+ m(u, f) {
403
+ j(u, e, f), g(e, t), g(t, r), g(r, n), g(t, l), g(l, v), g(e, L), g(L, y);
404
404
  },
405
- p(c, f) {
405
+ p(u, f) {
406
406
  f[0] & /*lazyShowedHistoryArray*/
407
407
  128 && o !== (o = /*history*/
408
- c[37].type + "") && x(n, o), f[0] & /*$_*/
408
+ u[37].type + "") && x(n, o), f[0] & /*$_*/
409
409
  512 && a !== (a = /*$_*/
410
- c[9]("limitRemoved") + "") && x(v, a), f[0] & /*lazyShowedHistoryArray*/
410
+ u[9]("limitRemoved") + "") && x(v, a), f[0] & /*lazyShowedHistoryArray*/
411
411
  128 && p !== (p = /*history*/
412
- c[37].date + "") && x(y, p);
412
+ u[37].date + "") && x(y, p);
413
413
  },
414
- d(c) {
415
- c && z(i);
414
+ d(u) {
415
+ u && z(e);
416
416
  }
417
417
  };
418
418
  }
419
- function ti(e) {
420
- let i, t, r, o = (
419
+ function te(i) {
420
+ let e, t, r, o = (
421
421
  /*index*/
422
- e[39]
422
+ i[39]
423
423
  );
424
424
  function n(p, y) {
425
425
  return (
426
426
  /*history*/
427
- p[37].removed ? Oi : Fi
427
+ p[37].removed ? Fe : Oe
428
428
  );
429
429
  }
430
- let l = n(e), a = l(e);
430
+ let l = n(i), a = l(i);
431
431
  const v = () => (
432
432
  /*div_binding*/
433
- e[22](i, o)
433
+ i[22](e, o)
434
434
  ), L = () => (
435
435
  /*div_binding*/
436
- e[22](null, o)
436
+ i[22](null, o)
437
437
  );
438
438
  return {
439
439
  c() {
440
- i = b("div"), a.c(), t = q(), d(i, "class", r = $(
440
+ e = b("div"), a.c(), t = Y(), d(e, "class", r = $(
441
441
  /*index*/
442
- e[39] > +/*numberofentries*/
443
- e[1] ? "LimitContainer" : ""
442
+ i[39] > +/*numberofentries*/
443
+ i[1] ? "LimitContainer" : ""
444
444
  ) + " svelte-1wi0iai");
445
445
  },
446
446
  m(p, y) {
447
- R(p, i, y), a.m(i, null), g(i, t), v();
447
+ j(p, e, y), a.m(e, null), g(e, t), v();
448
448
  },
449
449
  p(p, y) {
450
- e = p, l === (l = n(e)) && a ? a.p(e, y) : (a.d(1), a = l(e), a && (a.c(), a.m(i, t))), y[0] & /*numberofentries*/
450
+ i = p, l === (l = n(i)) && a ? a.p(i, y) : (a.d(1), a = l(i), a && (a.c(), a.m(e, t))), y[0] & /*numberofentries*/
451
451
  2 && r !== (r = $(
452
452
  /*index*/
453
- e[39] > +/*numberofentries*/
454
- e[1] ? "LimitContainer" : ""
455
- ) + " svelte-1wi0iai") && d(i, "class", r), o !== /*index*/
456
- e[39] && (L(), o = /*index*/
457
- e[39], v());
453
+ i[39] > +/*numberofentries*/
454
+ i[1] ? "LimitContainer" : ""
455
+ ) + " svelte-1wi0iai") && d(e, "class", r), o !== /*index*/
456
+ i[39] && (L(), o = /*index*/
457
+ i[39], v());
458
458
  },
459
459
  d(p) {
460
- p && z(i), a.d(), L();
460
+ p && z(e), a.d(), L();
461
461
  }
462
462
  };
463
463
  }
464
- function Bi(e) {
465
- let i;
464
+ function Be(i) {
465
+ let e;
466
466
  function t(n, l) {
467
467
  return (
468
468
  /*hasErrors*/
469
- n[6] ? Ii : (
469
+ n[6] ? Ie : (
470
470
  /*isLoading*/
471
- n[4] ? Hi : Wi
471
+ n[4] ? He : We
472
472
  )
473
473
  );
474
474
  }
475
- let r = t(e), o = r(e);
475
+ let r = t(i), o = r(i);
476
476
  return {
477
477
  c() {
478
- i = b("div"), o.c(), d(i, "class", "svelte-1wi0iai");
478
+ e = b("div"), o.c(), d(e, "class", "svelte-1wi0iai");
479
479
  },
480
480
  m(n, l) {
481
- R(n, i, l), o.m(i, null), e[23](i);
481
+ j(n, e, l), o.m(e, null), i[23](e);
482
482
  },
483
483
  p(n, l) {
484
- r === (r = t(n)) && o ? o.p(n, l) : (o.d(1), o = r(n), o && (o.c(), o.m(i, null)));
484
+ r === (r = t(n)) && o ? o.p(n, l) : (o.d(1), o = r(n), o && (o.c(), o.m(e, null)));
485
485
  },
486
- i: D,
487
- o: D,
486
+ i: E,
487
+ o: E,
488
488
  d(n) {
489
- n && z(i), o.d(), e[23](null);
489
+ n && z(e), o.d(), i[23](null);
490
490
  }
491
491
  };
492
492
  }
493
- function Mi(e, i, t) {
493
+ function Me(i, e, t) {
494
494
  let r;
495
- bi(e, zi, (s) => t(9, r = s));
496
- let o = window.navigator.userAgent, n = !Si(o), { lang: l = "" } = i, { userid: a = "" } = i, { session: v = "" } = i, { endpoint: L = "" } = i, { apiversion: p = "" } = i, { numberofentries: y = "10" } = i, { customcurrencysymbols: c = "" } = i, { limitformat: f = "" } = i, { clientstyling: A = "" } = i, { clientstylingurl: w = "" } = i, { mbsource: h } = i, { translationurl: S = "" } = i, m, W, k = new Array(), N = parseInt(y, 10), U = !1, H = !0, I = [], F = [], O = !0, G = !1, j = { EUR: "€", RON: "lei", TRY: "₺" };
497
- const si = () => {
498
- fetch(S).then((u) => u.json()).then((u) => {
499
- Object.keys(u).forEach((_) => {
500
- ii(_, u[_]);
495
+ be(i, ze, (s) => t(9, r = s));
496
+ let o = window.navigator.userAgent, n = !Se(o), { lang: l = "" } = e, { userid: a = "" } = e, { session: v = "" } = e, { endpoint: L = "" } = e, { apiversion: p = "" } = e, { numberofentries: y = "10" } = e, { customcurrencysymbols: u = "" } = e, { limitformat: f = "" } = e, { clientstyling: A = "" } = e, { clientstylingurl: w = "" } = e, { mbsource: h } = e, { translationurl: S = "" } = e, m, W, k = new Array(), N = parseInt(y, 10), U = !1, H = !0, I = [], O = [], F = !0, G = !1, R = { EUR: "€", RON: "lei", TRY: "₺" };
497
+ const se = () => {
498
+ fetch(S).then((c) => c.json()).then((c) => {
499
+ Object.keys(c).forEach((_) => {
500
+ ee(_, c[_]);
501
501
  });
502
- }).catch((u) => {
503
- console.log(u);
502
+ }).catch((c) => {
503
+ console.log(c);
504
504
  });
505
505
  };
506
- Object.keys(Y).forEach((s) => {
507
- ii(s, Y[s]);
506
+ Object.keys(X).forEach((s) => {
507
+ ee(s, X[s]);
508
508
  });
509
- const ri = () => {
510
- let s = p === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, u = new URL(`${L}${s}`);
511
- u.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), u.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), u.searchParams.append("limit", "10000");
509
+ const re = () => {
510
+ let s = p === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, c = new URL(`${L}${s}`);
511
+ c.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), c.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), c.searchParams.append("limit", "10000");
512
512
  let _ = {
513
513
  method: "GET",
514
514
  headers: { "X-SessionID": v }
515
515
  };
516
- fetch(u.href, _).then((T) => {
516
+ fetch(c.href, _).then((T) => {
517
517
  if (T.status >= 300)
518
518
  throw t(4, H = !1), t(6, U = !0), new Error("There was an error fetching the limits");
519
519
  return T.json();
520
520
  }).then(
521
521
  (T) => {
522
- T.length && (I = oi(T), t(7, F = I.slice(0, N))), t(4, H = !1);
522
+ T.length && (I = oe(T), t(7, O = I.slice(0, N))), t(4, H = !1);
523
523
  },
524
524
  (T) => {
525
525
  console.error("There was an error", T), t(6, U = !0);
526
526
  }
527
527
  );
528
- }, oi = (s) => {
529
- const u = !!Y[l];
528
+ }, oe = (s) => {
529
+ const c = !!X[l];
530
530
  return s.map((T) => {
531
531
  let C = {
532
532
  amount: "",
@@ -536,104 +536,104 @@ function Mi(e, i, t) {
536
536
  type: "",
537
537
  removed: !1
538
538
  };
539
- return C.amount = ai(T), C.currency = u ? j[T.limitCurrencyCode] : T.limitCurrencyCode, C.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(T.limitDate)), C.period = r(`${T.limitPeriod.toLowerCase()}`), C.type = p === "gmcore" ? r(`historyLimitType${T.limitType.split(" ")[0]}`) : r(`historyLimitType${T.limitType.split(" ")[0]}`) + " " + r(`historyProductType${T.limitProductType}`), C.removed = T.limitAmount === -1, C;
539
+ return C.amount = ae(T), C.currency = c ? R[T.limitCurrencyCode] : T.limitCurrencyCode, C.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(T.limitDate)), C.period = r(`${T.limitPeriod.toLowerCase()}`), C.type = p === "gmcore" ? r(`historyLimitType${T.limitType.split(" ")[0]}`) : r(`historyLimitType${T.limitType.split(" ")[0]}`) + " " + r(`historyProductType${T.limitProductType}`), C.removed = T.limitAmount === -1, C;
540
540
  });
541
- }, ai = (s) => {
542
- let u = f || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(s.limitAmount);
541
+ }, ae = (s) => {
542
+ let c = f || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(s.limitAmount);
543
543
  if (!f) {
544
- let gi = j[s.limitCurrencyCode] || s.limitCurrencyCode;
545
- return `${u}${gi}`;
544
+ let ge = R[s.limitCurrencyCode] || s.limitCurrencyCode;
545
+ return `${c}${ge}`;
546
546
  }
547
547
  typeof s.limitAmount == "string" && s.limitAmount.includes(",") && (s.limitAmount = s.limitAmount.replaceAll(",", ""));
548
- const _ = u.match(/\{(\d+)decimals\}/), T = _ ? parseInt(_[1], 10) : 2, C = _ ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
548
+ const _ = c.match(/\{(\d+)decimals\}/), T = _ ? parseInt(_[1], 10) : 2, C = _ ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
549
549
  let B = parseFloat(s.limitAmount).toFixed(T);
550
- const [ci, V] = f.includes(".") ? [",", "."] : [".", ","];
551
- let [K, ui] = B.split(".");
552
- return K = K.replace(/\B(?=(\d{3})+(?!\d))/g, ci), B = `${K}${V}${ui}`, u = u.replace("{currency}", j[s.limitCurrencyCode] || s.limitCurrencyCode).replace("{amount}", B.split(V)[0]).replace(
550
+ const [ue, q] = f.includes(".") ? [",", "."] : [".", ","];
551
+ let [K, ce] = B.split(".");
552
+ return K = K.replace(/\B(?=(\d{3})+(?!\d))/g, ue), B = `${K}${q}${ce}`, c = c.replace("{currency}", R[s.limitCurrencyCode] || s.limitCurrencyCode).replace("{amount}", B.split(q)[0]).replace(
553
553
  C,
554
- B.split(V)[1]
555
- ), u;
556
- }, ni = () => {
557
- t(5, O = !O), t(8, G = !G);
554
+ B.split(q)[1]
555
+ ), c;
556
+ }, ne = () => {
557
+ t(5, F = !F), t(8, G = !G);
558
558
  };
559
559
  let Q = new IntersectionObserver((s) => {
560
- s.forEach((u) => {
561
- u.isIntersecting && (N += parseInt(y, 10) || 10, F.length < I.length && t(7, F = I.slice(0, N)));
560
+ s.forEach((c) => {
561
+ c.isIntersecting && (N += parseInt(y, 10) || 10, O.length < I.length && t(7, O = I.slice(0, N)));
562
562
  });
563
563
  });
564
- const li = () => {
564
+ const le = () => {
565
565
  Q.observe(k[k.length - 1]);
566
- }, mi = () => {
567
- if (!c)
566
+ }, me = () => {
567
+ if (!u)
568
568
  return;
569
569
  let s = {};
570
- c.split(",").forEach((u) => {
571
- let _ = u.split(":");
570
+ u.split(",").forEach((c) => {
571
+ let _ = c.split(":");
572
572
  s[_[0].trim()] = _[1].trim();
573
- }), j = { ...j, ...s };
574
- }, di = () => {
575
- Ri(l);
573
+ }), R = { ...R, ...s };
574
+ }, de = () => {
575
+ je(l);
576
576
  };
577
- _i(() => () => {
577
+ _e(() => () => {
578
578
  Q.unobserve(k[k.length - 1]);
579
579
  });
580
- function pi(s, u) {
580
+ function pe(s, c) {
581
581
  J[s ? "unshift" : "push"](() => {
582
- k[u] = s, t(3, k);
582
+ k[c] = s, t(3, k);
583
583
  });
584
584
  }
585
- function yi(s) {
585
+ function ye(s) {
586
586
  J[s ? "unshift" : "push"](() => {
587
587
  m = s, t(2, m);
588
588
  });
589
589
  }
590
- return e.$$set = (s) => {
591
- "lang" in s && t(0, l = s.lang), "userid" in s && t(12, a = s.userid), "session" in s && t(13, v = s.session), "endpoint" in s && t(14, L = s.endpoint), "apiversion" in s && t(15, p = s.apiversion), "numberofentries" in s && t(1, y = s.numberofentries), "customcurrencysymbols" in s && t(16, c = s.customcurrencysymbols), "limitformat" in s && t(17, f = s.limitformat), "clientstyling" in s && t(18, A = s.clientstyling), "clientstylingurl" in s && t(19, w = s.clientstylingurl), "mbsource" in s && t(20, h = s.mbsource), "translationurl" in s && t(21, S = s.translationurl);
592
- }, e.$$.update = () => {
593
- e.$$.dirty[0] & /*customcurrencysymbols*/
594
- 65536 && c && mi(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
595
- 61440 && L && a && v && p && ri(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
596
- 56 && k[0] && !H && !O && li(), e.$$.dirty[0] & /*lang*/
597
- 1 && l && di(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
598
- 262148 && A && m && ki(m, A), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
599
- 524292 && w && m && xi(m, w), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
600
- 1048580 && h && m && Ei(m, `${h}.Style`, W), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
601
- 2097156 && S && m && si();
590
+ return i.$$set = (s) => {
591
+ "lang" in s && t(0, l = s.lang), "userid" in s && t(12, a = s.userid), "session" in s && t(13, v = s.session), "endpoint" in s && t(14, L = s.endpoint), "apiversion" in s && t(15, p = s.apiversion), "numberofentries" in s && t(1, y = s.numberofentries), "customcurrencysymbols" in s && t(16, u = s.customcurrencysymbols), "limitformat" in s && t(17, f = s.limitformat), "clientstyling" in s && t(18, A = s.clientstyling), "clientstylingurl" in s && t(19, w = s.clientstylingurl), "mbsource" in s && t(20, h = s.mbsource), "translationurl" in s && t(21, S = s.translationurl);
592
+ }, i.$$.update = () => {
593
+ i.$$.dirty[0] & /*customcurrencysymbols*/
594
+ 65536 && u && me(), i.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
595
+ 61440 && L && a && v && p && re(), i.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
596
+ 56 && k[0] && !H && !F && le(), i.$$.dirty[0] & /*lang*/
597
+ 1 && l && de(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
598
+ 262148 && A && m && ke(m, A), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
599
+ 524292 && w && m && xe(m, w), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
600
+ 1048580 && h && m && De(m, `${h}.Style`, W), i.$$.dirty[0] & /*translationurl, customStylingContainer*/
601
+ 2097156 && S && m && se();
602
602
  }, [
603
603
  l,
604
604
  y,
605
605
  m,
606
606
  k,
607
607
  H,
608
- O,
609
- U,
610
608
  F,
609
+ U,
610
+ O,
611
611
  G,
612
612
  r,
613
613
  n,
614
- ni,
614
+ ne,
615
615
  a,
616
616
  v,
617
617
  L,
618
618
  p,
619
- c,
619
+ u,
620
620
  f,
621
621
  A,
622
622
  w,
623
623
  h,
624
624
  S,
625
- pi,
626
- yi
625
+ pe,
626
+ ye
627
627
  ];
628
628
  }
629
- class Ni extends fi {
630
- constructor(i) {
631
- super(), vi(
629
+ class Ne extends fe {
630
+ constructor(e) {
631
+ super(), ve(
632
632
  this,
633
- i,
634
- Mi,
635
- Bi,
636
- wi,
633
+ e,
634
+ Me,
635
+ Be,
636
+ we,
637
637
  {
638
638
  lang: 0,
639
639
  userid: 12,
@@ -648,84 +648,84 @@ class Ni extends fi {
648
648
  mbsource: 20,
649
649
  translationurl: 21
650
650
  },
651
- ji,
651
+ Re,
652
652
  [-1, -1]
653
653
  );
654
654
  }
655
655
  get lang() {
656
656
  return this.$$.ctx[0];
657
657
  }
658
- set lang(i) {
659
- this.$$set({ lang: i }), P();
658
+ set lang(e) {
659
+ this.$$set({ lang: e }), P();
660
660
  }
661
661
  get userid() {
662
662
  return this.$$.ctx[12];
663
663
  }
664
- set userid(i) {
665
- this.$$set({ userid: i }), P();
664
+ set userid(e) {
665
+ this.$$set({ userid: e }), P();
666
666
  }
667
667
  get session() {
668
668
  return this.$$.ctx[13];
669
669
  }
670
- set session(i) {
671
- this.$$set({ session: i }), P();
670
+ set session(e) {
671
+ this.$$set({ session: e }), P();
672
672
  }
673
673
  get endpoint() {
674
674
  return this.$$.ctx[14];
675
675
  }
676
- set endpoint(i) {
677
- this.$$set({ endpoint: i }), P();
676
+ set endpoint(e) {
677
+ this.$$set({ endpoint: e }), P();
678
678
  }
679
679
  get apiversion() {
680
680
  return this.$$.ctx[15];
681
681
  }
682
- set apiversion(i) {
683
- this.$$set({ apiversion: i }), P();
682
+ set apiversion(e) {
683
+ this.$$set({ apiversion: e }), P();
684
684
  }
685
685
  get numberofentries() {
686
686
  return this.$$.ctx[1];
687
687
  }
688
- set numberofentries(i) {
689
- this.$$set({ numberofentries: i }), P();
688
+ set numberofentries(e) {
689
+ this.$$set({ numberofentries: e }), P();
690
690
  }
691
691
  get customcurrencysymbols() {
692
692
  return this.$$.ctx[16];
693
693
  }
694
- set customcurrencysymbols(i) {
695
- this.$$set({ customcurrencysymbols: i }), P();
694
+ set customcurrencysymbols(e) {
695
+ this.$$set({ customcurrencysymbols: e }), P();
696
696
  }
697
697
  get limitformat() {
698
698
  return this.$$.ctx[17];
699
699
  }
700
- set limitformat(i) {
701
- this.$$set({ limitformat: i }), P();
700
+ set limitformat(e) {
701
+ this.$$set({ limitformat: e }), P();
702
702
  }
703
703
  get clientstyling() {
704
704
  return this.$$.ctx[18];
705
705
  }
706
- set clientstyling(i) {
707
- this.$$set({ clientstyling: i }), P();
706
+ set clientstyling(e) {
707
+ this.$$set({ clientstyling: e }), P();
708
708
  }
709
709
  get clientstylingurl() {
710
710
  return this.$$.ctx[19];
711
711
  }
712
- set clientstylingurl(i) {
713
- this.$$set({ clientstylingurl: i }), P();
712
+ set clientstylingurl(e) {
713
+ this.$$set({ clientstylingurl: e }), P();
714
714
  }
715
715
  get mbsource() {
716
716
  return this.$$.ctx[20];
717
717
  }
718
- set mbsource(i) {
719
- this.$$set({ mbsource: i }), P();
718
+ set mbsource(e) {
719
+ this.$$set({ mbsource: e }), P();
720
720
  }
721
721
  get translationurl() {
722
722
  return this.$$.ctx[21];
723
723
  }
724
- set translationurl(i) {
725
- this.$$set({ translationurl: i }), P();
724
+ set translationurl(e) {
725
+ this.$$set({ translationurl: e }), P();
726
726
  }
727
727
  }
728
- Di(Ni, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
728
+ Ee(Ne, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
729
729
  export {
730
- Ni as default
730
+ Ne as default
731
731
  };