@everymatrix/player-account-controller-nd 1.64.7 → 1.64.10

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.
Files changed (51) hide show
  1. package/components/{PlayerAccountControllerNd-CyelNs9q.js → PlayerAccountControllerNd-CkaH6zDU.js} +7 -7
  2. package/components/{PlayerAccountControllerNd-BGt2cPNV.cjs → PlayerAccountControllerNd-DQvMmT61.cjs} +1 -1
  3. package/components/{PlayerAccountControllerNd-fATHp03S.js → PlayerAccountControllerNd-Dt5l8jYU.js} +7 -7
  4. package/components/{PlayerAccountGamingLimits-CADFb6Zk.js → PlayerAccountGamingLimits-BwempsG_.js} +1 -1
  5. package/components/{PlayerAccountGamingLimits-CIAwGTQF.js → PlayerAccountGamingLimits-C5fcaaR5.js} +1 -1
  6. package/components/{PlayerAccountGamingLimits-CECZHZhj.cjs → PlayerAccountGamingLimits-DZBzKFyv.cjs} +1 -1
  7. package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +1 -0
  8. package/components/{PlayerAccountGamingLimitsInfoCard-DMvgJbMq.js → PlayerAccountGamingLimitsInfoCard-BiYcxWjN.js} +2 -2
  9. package/components/{PlayerAccountGamingLimitsInfoCard-BU4O8oYP.cjs → PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs} +1 -1
  10. package/components/{PlayerAccountGamingLimitsInfoCard-DOl56_Az.js → PlayerAccountGamingLimitsInfoCard-dUq3DIBx.js} +2 -2
  11. package/components/{PlayerAccountSelfExclusionNd-3OSV7Drs.cjs → PlayerAccountSelfExclusionNd-C-u2Wwb1.cjs} +161 -161
  12. package/components/{PlayerAccountSelfExclusionNd-C3uFkzhO.js → PlayerAccountSelfExclusionNd-C9MFg2CR.js} +2676 -2482
  13. package/components/{PlayerAccountSelfExclusionNd-B0Q-eCq2.js → PlayerAccountSelfExclusionNd-DWCVjwD1.js} +2725 -2532
  14. package/components/{PlayerAccountTimeout-CflY0JwE.js → PlayerAccountTimeout-BziMrEG5.js} +164 -185
  15. package/components/{PlayerAccountTimeout-CTI9lsq2.js → PlayerAccountTimeout-D_K9f07W.js} +164 -185
  16. package/components/PlayerAccountTimeout-iL8gGlkS.cjs +1 -0
  17. package/components/PlayerActiveBonuses-CVhSMdRf.cjs +1 -0
  18. package/components/PlayerActiveBonuses-DbYy8R7L.js +1110 -0
  19. package/components/{PlayerActiveBonuses-CBtuWP9k.js → PlayerActiveBonuses-ednos3wt.js} +479 -448
  20. package/components/PlayerBonusCard-BNNcjGWn.cjs +1 -0
  21. package/components/{PlayerBonusCard-cejKhzym.js → PlayerBonusCard-C0Z6YeQL.js} +255 -238
  22. package/components/{PlayerBonusCard-DlAco387.js → PlayerBonusCard-CYnvLBMF.js} +255 -238
  23. package/components/PlayerBonusHistory-CGJcFkrW.js +986 -0
  24. package/components/PlayerBonusHistory-CWchCQIB.cjs +1 -0
  25. package/components/PlayerBonusHistory-lCwwt2xD.js +985 -0
  26. package/components/PlayerGamingHistory-B3Q9IQhr.js +988 -0
  27. package/components/PlayerGamingHistory-BwvEFKUk.cjs +1 -0
  28. package/components/PlayerGamingHistory-ByhAaRpD.js +975 -0
  29. package/components/PlayerProfileInfo-8ER8t_W6.js +2383 -0
  30. package/components/PlayerProfileInfo-D5YZWH2T.cjs +4 -0
  31. package/components/PlayerProfileInfo-D6LqZyUL.js +2419 -0
  32. package/es2015/player-account-controller-nd.cjs +1 -1
  33. package/es2015/player-account-controller-nd.js +1 -1
  34. package/esnext/player-account-controller-nd.js +1 -1
  35. package/package.json +1 -1
  36. package/components/PlayerAccountGamingLimitsGroupEdit-DEf_qyUJ.cjs +0 -1
  37. package/components/PlayerAccountTimeout-Cr-iejKj.cjs +0 -1
  38. package/components/PlayerActiveBonuses-BMNFopKN.js +0 -1077
  39. package/components/PlayerActiveBonuses-CUk_4d3L.cjs +0 -1
  40. package/components/PlayerBonusCard-Dtncif7M.cjs +0 -1
  41. package/components/PlayerBonusHistory-B0_pPWDM.cjs +0 -1
  42. package/components/PlayerBonusHistory-BkBsAUpn.js +0 -937
  43. package/components/PlayerBonusHistory-DncAG4ke.js +0 -938
  44. package/components/PlayerGamingHistory-BJAbDjSA.js +0 -966
  45. package/components/PlayerGamingHistory-CouvBfWt.js +0 -979
  46. package/components/PlayerGamingHistory-DegmmHCF.cjs +0 -1
  47. package/components/PlayerProfileInfo-BNNblETP.js +0 -2058
  48. package/components/PlayerProfileInfo-Cc6HVNlU.cjs +0 -1
  49. package/components/PlayerProfileInfo-CgjgB8YL.js +0 -2086
  50. package/components/{PlayerAccountGamingLimitsGroupEdit-bap-6gHN.js → PlayerAccountGamingLimitsGroupEdit-D0hqXEY4.js} +16 -16
  51. package/components/{PlayerAccountGamingLimitsGroupEdit-CYLHl_Dl.js → PlayerAccountGamingLimitsGroupEdit-DVvwhjK6.js} +16 -16
@@ -1,31 +1,10 @@
1
- import { a as he, $ as ge, S as ye, i as Te, s as ve, f as U, b as be, n as $, d as P, g as E, j as f, p as _e, q as Fe, u as ke, Q as Ce, w as oe, h as i, k as M, e as u, Y as te, o as d, O as ae, P as we, r as Me, c as I, T as ie, l as Q, m as B, F as Oe, W as xe, v as K, V as ne, x as Se, y as De, z as ze, A as je, B as Pe } from "./GeneralLogout-PryurO1h.js";
2
- import { d as re } from "./PlayerAccountSelfExclusionNd-B0Q-eCq2.js";
1
+ import { a as he, $ as ge, S as Te, i as ve, s as ye, f as U, b as be, n as $, d as P, g as A, j as f, p as _e, q as Fe, u as ke, Q as Ce, w as oe, h as a, k as w, e as u, Y as te, o as d, O as ae, P as Me, r as we, c as I, T as ie, l as Q, m as B, F as Oe, W as xe, v as K, V as re, x as Se, y as De, z as ze, A as je, B as Pe } from "./GeneralLogout-PryurO1h.js";
2
+ import { d as ne } from "./PlayerAccountSelfExclusionNd-DWCVjwD1.js";
3
3
  import "../stencil/ui-skeleton-DoX-UmRU.js";
4
- if (typeof window != "undefined") {
5
- let o = function(e) {
6
- return function(...t) {
7
- try {
8
- return e.apply(this, t);
9
- } catch (a) {
10
- if (a instanceof DOMException && a.message.includes("has already been used with this registry") || a.message.includes("Cannot define multiple custom elements with the same tag name"))
11
- return !1;
12
- throw a;
13
- }
14
- };
15
- };
16
- customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-Byd2u6b9.js").then(
17
- ({ default: e }) => {
18
- !customElements.get("player-account-general-confirmation-modal") && customElements.define(
19
- "player-account-general-confirmation-modal",
20
- e.element
21
- );
22
- }
23
- );
24
- }
25
4
  function le(o, e) {
26
5
  he(o, e);
27
6
  }
28
- function Ee(o) {
7
+ function Ae(o) {
29
8
  ge.set(o);
30
9
  }
31
10
  const se = {
@@ -239,18 +218,18 @@ const se = {
239
218
  confirmationModalTextUntil: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
240
219
  }
241
220
  };
242
- function Ae(o) {
221
+ function qe(o) {
243
222
  be(o, "svelte-u6jylo", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`);
244
223
  }
245
224
  function ue(o, e, t) {
246
- const a = o.slice();
247
- return a[38] = e[t].value, a;
225
+ const i = o.slice();
226
+ return i[38] = e[t].value, i;
248
227
  }
249
- function qe(o) {
250
- let e, t, a, s = (
228
+ function We(o) {
229
+ let e, t, i, s = (
251
230
  /*$_*/
252
231
  o[16]("titleTimeout") + ""
253
- ), n, l, g, h, _ = (
232
+ ), r, l, g, h, _ = (
254
233
  /*$_*/
255
234
  o[16]("timeoutTextFirst", {
256
235
  values: { operatorname: (
@@ -258,7 +237,7 @@ function qe(o) {
258
237
  o[0]
259
238
  ) }
260
239
  }) + ""
261
- ), T, k, p, c = (
240
+ ), v, k, p, c = (
262
241
  /*$_*/
263
242
  o[16]("timeoutTextSecondary", {
264
243
  values: { supportemail: (
@@ -266,59 +245,59 @@ function qe(o) {
266
245
  o[5]
267
246
  ) }
268
247
  }) + ""
269
- ), y, S, C, v, j, D, O, z, Y = (
248
+ ), T, S, C, y, j, D, O, z, Y = (
270
249
  /*$_*/
271
250
  o[16]("save") + ""
272
- ), R, q, L, N, V, A = (
251
+ ), R, W, L, N, V, q = (
273
252
  /*isMobile*/
274
- o[17] && He(o)
275
- ), W = ae(
253
+ o[17] && Ee(o)
254
+ ), H = ae(
276
255
  /*timeoutOptions*/
277
256
  o[8]
278
257
  ), F = [];
279
- for (let m = 0; m < W.length; m += 1)
280
- F[m] = me(ue(o, W, m));
258
+ for (let m = 0; m < H.length; m += 1)
259
+ F[m] = me(ue(o, H, m));
281
260
  let x = (
282
261
  /*isUntilDate*/
283
262
  o[10] && ce(o)
284
- ), H = (
263
+ ), E = (
285
264
  /*showConfirmationModal*/
286
265
  o[18] && Ue(o)
287
266
  );
288
267
  return {
289
268
  c() {
290
- e = f("form"), A && A.c(), t = M(), a = f("h2"), n = B(s), l = M(), g = f("div"), h = f("p"), T = B(_), k = M(), p = f("p"), y = B(c), S = M(), C = f("div"), v = f("select");
269
+ e = f("form"), q && q.c(), t = w(), i = f("h2"), r = B(s), l = w(), g = f("div"), h = f("p"), v = B(_), k = w(), p = f("p"), T = B(c), S = w(), C = f("div"), y = f("select");
291
270
  for (let m = 0; m < F.length; m += 1)
292
271
  F[m].c();
293
- j = M(), x && x.c(), D = M(), O = f("div"), z = f("button"), R = B(Y), q = M(), H && H.c(), L = Oe(), d(a, "class", "TimeoutTitle " + /*isMobile*/
272
+ j = w(), x && x.c(), D = w(), O = f("div"), z = f("button"), R = B(Y), W = w(), E && E.c(), L = Oe(), d(i, "class", "TimeoutTitle " + /*isMobile*/
294
273
  (o[17] ? "TimeoutTitleNone" : "")), d(g, "class", "TimeoutDescription " + /*isMobile*/
295
- (o[17] ? "TimeoutDescriptionMobile" : "")), d(v, "class", "TimeoutSelect " + /*isMobile*/
274
+ (o[17] ? "TimeoutDescriptionMobile" : "")), d(y, "class", "TimeoutSelect " + /*isMobile*/
296
275
  (o[17] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
297
276
  o[9] === void 0 && xe(() => (
298
277
  /*select_change_handler*/
299
- o[26].call(v)
278
+ o[26].call(y)
300
279
  )), d(C, "class", "TimeoutSelectWrapper"), d(z, "class", "TimeoutSave"), d(O, "class", "TimeoutActionButtons " + /*isMobile*/
301
280
  (o[17] ? "TimeoutActionButtonsMobile" : "")), d(e, "class", "TimeoutWrapper " + /*isMobile*/
302
281
  (o[17] ? "TimeoutWrapperMobile" : ""));
303
282
  },
304
- m(m, w) {
305
- E(m, e, w), A && A.m(e, null), i(e, t), i(e, a), i(a, n), i(e, l), i(e, g), i(g, h), i(h, T), i(g, k), i(g, p), i(p, y), i(e, S), i(e, C), i(C, v);
283
+ m(m, M) {
284
+ A(m, e, M), q && q.m(e, null), a(e, t), a(e, i), a(i, r), a(e, l), a(e, g), a(g, h), a(h, v), a(g, k), a(g, p), a(p, T), a(e, S), a(e, C), a(C, y);
306
285
  for (let b = 0; b < F.length; b += 1)
307
- F[b] && F[b].m(v, null);
286
+ F[b] && F[b].m(y, null);
308
287
  ie(
309
- v,
288
+ y,
310
289
  /*timeoutSelected*/
311
290
  o[9],
312
291
  !0
313
- ), i(e, j), x && x.m(e, null), i(e, D), i(e, O), i(O, z), i(z, R), E(m, q, w), H && H.m(m, w), E(m, L, w), N || (V = [
292
+ ), a(e, j), x && x.m(e, null), a(e, D), a(e, O), a(O, z), a(z, R), A(m, W, M), E && E.m(m, M), A(m, L, M), N || (V = [
314
293
  Q(
315
- v,
294
+ y,
316
295
  "change",
317
296
  /*select_change_handler*/
318
297
  o[26]
319
298
  ),
320
299
  Q(
321
- v,
300
+ y,
322
301
  "change",
323
302
  /*selectPeriod*/
324
303
  o[21]
@@ -331,69 +310,69 @@ function qe(o) {
331
310
  )
332
311
  ], N = !0);
333
312
  },
334
- p(m, w) {
313
+ p(m, M) {
335
314
  if (
336
315
  /*isMobile*/
337
- m[17] && A.p(m, w), w[0] & /*$_*/
316
+ m[17] && q.p(m, M), M[0] & /*$_*/
338
317
  65536 && s !== (s = /*$_*/
339
- m[16]("titleTimeout") + "") && I(n, s), w[0] & /*$_, operator*/
318
+ m[16]("titleTimeout") + "") && I(r, s), M[0] & /*$_, operator*/
340
319
  65537 && _ !== (_ = /*$_*/
341
320
  m[16]("timeoutTextFirst", {
342
321
  values: { operatorname: (
343
322
  /*operator*/
344
323
  m[0]
345
324
  ) }
346
- }) + "") && I(T, _), w[0] & /*$_, supportemail*/
325
+ }) + "") && I(v, _), M[0] & /*$_, supportemail*/
347
326
  65568 && c !== (c = /*$_*/
348
327
  m[16]("timeoutTextSecondary", {
349
328
  values: { supportemail: (
350
329
  /*supportemail*/
351
330
  m[5]
352
331
  ) }
353
- }) + "") && I(y, c), w[0] & /*timeoutOptions, $_*/
332
+ }) + "") && I(T, c), M[0] & /*timeoutOptions, $_*/
354
333
  65792
355
334
  ) {
356
- W = ae(
335
+ H = ae(
357
336
  /*timeoutOptions*/
358
337
  m[8]
359
338
  );
360
339
  let b;
361
- for (b = 0; b < W.length; b += 1) {
362
- const Z = ue(m, W, b);
363
- F[b] ? F[b].p(Z, w) : (F[b] = me(Z), F[b].c(), F[b].m(v, null));
340
+ for (b = 0; b < H.length; b += 1) {
341
+ const Z = ue(m, H, b);
342
+ F[b] ? F[b].p(Z, M) : (F[b] = me(Z), F[b].c(), F[b].m(y, null));
364
343
  }
365
344
  for (; b < F.length; b += 1)
366
345
  F[b].d(1);
367
- F.length = W.length;
346
+ F.length = H.length;
368
347
  }
369
- w[0] & /*timeoutSelected, timeoutOptions*/
348
+ M[0] & /*timeoutSelected, timeoutOptions*/
370
349
  768 && ie(
371
- v,
350
+ y,
372
351
  /*timeoutSelected*/
373
352
  m[9]
374
353
  ), /*isUntilDate*/
375
- m[10] ? x ? x.p(m, w) : (x = ce(m), x.c(), x.m(e, D)) : x && (x.d(1), x = null), w[0] & /*$_*/
354
+ m[10] ? x ? x.p(m, M) : (x = ce(m), x.c(), x.m(e, D)) : x && (x.d(1), x = null), M[0] & /*$_*/
376
355
  65536 && Y !== (Y = /*$_*/
377
356
  m[16]("save") + "") && I(R, Y), /*showConfirmationModal*/
378
- m[18] && H.p(m, w);
357
+ m[18] && E.p(m, M);
379
358
  },
380
359
  d(m) {
381
- m && (P(e), P(q), P(L)), A && A.d(), we(F, m), x && x.d(), H && H.d(m), N = !1, Me(V);
360
+ m && (P(e), P(W), P(L)), q && q.d(), Me(F, m), x && x.d(), E && E.d(m), N = !1, we(V);
382
361
  }
383
362
  };
384
363
  }
385
- function We(o) {
386
- let e, t, a, s, n, l, g, h, _, T, k, p, c, y, S, C;
387
- function v(O, z) {
364
+ function He(o) {
365
+ let e, t, i, s, r, l, g, h, _, v, k, p, c, T, S, C;
366
+ function y(O, z) {
388
367
  return (
389
368
  /*isMobile*/
390
369
  O[17] ? Ie : Be
391
370
  );
392
371
  }
393
- let D = v(o)(o);
372
+ let D = y(o)(o);
394
373
  return {
395
374
  c() {
396
- e = f("div"), D.c(), t = M(), a = f("div"), s = f("ui-skeleton"), n = M(), l = f("div"), g = M(), h = f("ui-skeleton"), _ = M(), T = f("div"), k = M(), p = f("div"), c = f("ui-skeleton"), y = M(), S = f("div"), C = f("ui-skeleton"), u(s, "structure", "text"), u(
375
+ e = f("div"), D.c(), t = w(), i = f("div"), s = f("ui-skeleton"), r = w(), l = f("div"), g = w(), h = f("ui-skeleton"), _ = w(), v = f("div"), k = w(), p = f("div"), c = f("ui-skeleton"), T = w(), S = f("div"), C = f("ui-skeleton"), u(s, "structure", "text"), u(
397
376
  s,
398
377
  "height",
399
378
  /*isMobile*/
@@ -409,11 +388,11 @@ function We(o) {
409
388
  /*isMobile*/
410
389
  o[17] ? "15px" : "20px"
411
390
  ), u(h, "rows", "3"), u(h, "width", "100%"), te(
412
- T,
391
+ v,
413
392
  "height",
414
393
  /*isMobile*/
415
394
  o[17] ? "10px" : "30px"
416
- ), d(a, "class", "TimeoutDescription"), u(c, "structure", "rectangle"), u(
395
+ ), d(i, "class", "TimeoutDescription"), u(c, "structure", "rectangle"), u(
417
396
  c,
418
397
  "width",
419
398
  /*isMobile*/
@@ -433,7 +412,7 @@ function We(o) {
433
412
  (o[17] ? "TimeoutWrapperMobile" : ""));
434
413
  },
435
414
  m(O, z) {
436
- E(O, e, z), D.m(e, null), i(e, t), i(e, a), i(a, s), i(a, n), i(a, l), i(a, g), i(a, h), i(a, _), i(a, T), i(e, k), i(e, p), i(p, c), i(e, y), i(e, S), i(S, C);
415
+ A(O, e, z), D.m(e, null), a(e, t), a(e, i), a(i, s), a(i, r), a(i, l), a(i, g), a(i, h), a(i, _), a(i, v), a(e, k), a(e, p), a(p, c), a(e, T), a(e, S), a(S, C);
437
416
  },
438
417
  p: $,
439
418
  d(O) {
@@ -441,17 +420,17 @@ function We(o) {
441
420
  }
442
421
  };
443
422
  }
444
- function He(o) {
445
- let e, t, a, s, n, l, g, h, _, T, k = (
423
+ function Ee(o) {
424
+ let e, t, i, s, r, l, g, h, _, v, k = (
446
425
  /*$_*/
447
426
  o[16]("titleTimeout") + ""
448
- ), p, c, y;
427
+ ), p, c, T;
449
428
  return {
450
429
  c() {
451
- e = f("div"), t = K("svg"), a = K("defs"), s = K("style"), n = B(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), l = K("g"), g = K("g"), h = K("path"), _ = M(), T = f("h2"), p = B(k), d(h, "class", "aaa"), d(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(h, "transform", "translate(15 15) rotate(180)"), d(g, "transform", "translate(20 158)"), d(l, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(T, "class", "TimeoutTitleMobile"), d(T, "part", "TimeoutTitleMobile"), d(e, "class", "MenuReturnButton"), d(e, "part", "MenuReturnButton");
430
+ e = f("div"), t = K("svg"), i = K("defs"), s = K("style"), r = B(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), l = K("g"), g = K("g"), h = K("path"), _ = w(), v = f("h2"), p = B(k), d(h, "class", "aaa"), d(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(h, "transform", "translate(15 15) rotate(180)"), d(g, "transform", "translate(20 158)"), d(l, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(v, "class", "TimeoutTitleMobile"), d(v, "part", "TimeoutTitleMobile"), d(e, "class", "MenuReturnButton"), d(e, "part", "MenuReturnButton");
452
431
  },
453
432
  m(S, C) {
454
- E(S, e, C), i(e, t), i(t, a), i(a, s), i(s, n), i(t, l), i(l, g), i(g, h), i(e, _), i(e, T), i(T, p), c || (y = Q(
433
+ A(S, e, C), a(e, t), a(t, i), a(i, s), a(s, r), a(t, l), a(l, g), a(g, h), a(e, _), a(e, v), a(v, p), c || (T = Q(
455
434
  e,
456
435
  "click",
457
436
  /*click_handler*/
@@ -464,7 +443,7 @@ function He(o) {
464
443
  S[16]("titleTimeout") + "") && I(p, k);
465
444
  },
466
445
  d(S) {
467
- S && P(e), c = !1, y();
446
+ S && P(e), c = !1, T();
468
447
  }
469
448
  };
470
449
  }
@@ -475,41 +454,41 @@ function me(o) {
475
454
  /*value*/
476
455
  o[38]
477
456
  ) + ""
478
- ), a, s;
457
+ ), i, s;
479
458
  return {
480
459
  c() {
481
- e = f("option"), a = B(t), e.__value = s = /*value*/
482
- o[38], ne(e, e.__value);
460
+ e = f("option"), i = B(t), e.__value = s = /*value*/
461
+ o[38], re(e, e.__value);
483
462
  },
484
- m(n, l) {
485
- E(n, e, l), i(e, a);
463
+ m(r, l) {
464
+ A(r, e, l), a(e, i);
486
465
  },
487
- p(n, l) {
466
+ p(r, l) {
488
467
  l[0] & /*$_, timeoutOptions*/
489
468
  65792 && t !== (t = /*$_*/
490
- n[16](
469
+ r[16](
491
470
  /*value*/
492
- n[38]
493
- ) + "") && I(a, t), l[0] & /*timeoutOptions*/
471
+ r[38]
472
+ ) + "") && I(i, t), l[0] & /*timeoutOptions*/
494
473
  256 && s !== (s = /*value*/
495
- n[38]) && (e.__value = s, ne(e, e.__value));
474
+ r[38]) && (e.__value = s, re(e, e.__value));
496
475
  },
497
- d(n) {
498
- n && P(e);
476
+ d(r) {
477
+ r && P(e);
499
478
  }
500
479
  };
501
480
  }
502
481
  function ce(o) {
503
- let e, t, a = (
482
+ let e, t, i = (
504
483
  /*$_*/
505
484
  o[16]("duration") + ""
506
- ), s, n, l, g = (
485
+ ), s, r, l, g = (
507
486
  /*$_*/
508
487
  o[16]("dateInstructions") + ""
509
- ), h, _, T, k, p;
488
+ ), h, _, v, k, p;
510
489
  return {
511
490
  c() {
512
- e = f("div"), t = f("label"), s = B(a), n = M(), l = f("span"), h = B(g), _ = M(), T = f("strong"), T.innerHTML = "MM/DD/YYYY<strong></strong>", k = M(), p = f("vaadin-date-picker"), d(t, "for", "TimeoutDate"), d(l, "class", "TimeoutDateInstructions"), u(
491
+ e = f("div"), t = f("label"), s = B(i), r = w(), l = f("span"), h = B(g), _ = w(), v = f("strong"), v.innerHTML = "MM/DD/YYYY<strong></strong>", k = w(), p = f("vaadin-date-picker"), d(t, "for", "TimeoutDate"), d(l, "class", "TimeoutDateInstructions"), u(
513
492
  p,
514
493
  "min",
515
494
  /*minDate*/
@@ -527,27 +506,27 @@ function ce(o) {
527
506
  ), d(e, "class", "TimeoutDateWrapper " + /*isMobile*/
528
507
  (o[17] ? "TimeoutDateWrapperMobile" : ""));
529
508
  },
530
- m(c, y) {
531
- E(c, e, y), i(e, t), i(t, s), i(e, n), i(e, l), i(l, h), i(l, _), i(l, T), i(e, k), i(e, p), o[27](p);
509
+ m(c, T) {
510
+ A(c, e, T), a(e, t), a(t, s), a(e, r), a(e, l), a(l, h), a(l, _), a(l, v), a(e, k), a(e, p), o[27](p);
532
511
  },
533
- p(c, y) {
534
- y[0] & /*$_*/
535
- 65536 && a !== (a = /*$_*/
536
- c[16]("duration") + "") && I(s, a), y[0] & /*$_*/
512
+ p(c, T) {
513
+ T[0] & /*$_*/
514
+ 65536 && i !== (i = /*$_*/
515
+ c[16]("duration") + "") && I(s, i), T[0] & /*$_*/
537
516
  65536 && g !== (g = /*$_*/
538
- c[16]("dateInstructions") + "") && I(h, g), y[0] & /*minDate*/
517
+ c[16]("dateInstructions") + "") && I(h, g), T[0] & /*minDate*/
539
518
  4096 && u(
540
519
  p,
541
520
  "min",
542
521
  /*minDate*/
543
522
  c[12]
544
- ), y[0] & /*maxDate*/
523
+ ), T[0] & /*maxDate*/
545
524
  8192 && u(
546
525
  p,
547
526
  "max",
548
527
  /*maxDate*/
549
528
  c[13]
550
- ), y[0] & /*minDate*/
529
+ ), T[0] & /*minDate*/
551
530
  4096 && u(
552
531
  p,
553
532
  "value",
@@ -561,10 +540,10 @@ function ce(o) {
561
540
  };
562
541
  }
563
542
  function Ue(o) {
564
- let e, t, a, s;
543
+ let e, t, i, s;
565
544
  return {
566
545
  c() {
567
- e = f("player-account-modal"), t = f("player-account-general-confirmation-modal"), u(t, "modalTitle", a = /*$_*/
546
+ e = f("player-account-modal"), t = f("player-account-general-confirmation-modal"), u(t, "modalTitle", i = /*$_*/
568
547
  o[16]("confirmationModalTitle")), u(
569
548
  t,
570
549
  "modalText",
@@ -607,63 +586,63 @@ function Ue(o) {
607
586
  o[4]
608
587
  ), u(e, "showmodaleventname", "ShowTimeoutConfirmationModal");
609
588
  },
610
- m(n, l) {
611
- E(n, e, l), i(e, t);
589
+ m(r, l) {
590
+ A(r, e, l), a(e, t);
612
591
  },
613
- p(n, l) {
592
+ p(r, l) {
614
593
  l[0] & /*$_*/
615
- 65536 && a !== (a = /*$_*/
616
- n[16]("confirmationModalTitle")) && u(t, "modalTitle", a), l[0] & /*confirmationModalText*/
594
+ 65536 && i !== (i = /*$_*/
595
+ r[16]("confirmationModalTitle")) && u(t, "modalTitle", i), l[0] & /*confirmationModalText*/
617
596
  16384 && u(
618
597
  t,
619
598
  "modalText",
620
599
  /*confirmationModalText*/
621
- n[14]
600
+ r[14]
622
601
  ), l[0] & /*timeoutSelected, timeoutExpiryDate, timeoutOptions*/
623
602
  2816 && s !== (s = {
624
603
  type: "SetPlayerAccountTimeout",
625
604
  timeoutSelected: (
626
605
  /*timeoutSelected*/
627
- n[9]
606
+ r[9]
628
607
  ),
629
608
  timeoutExpiryDate: (
630
609
  /*timeoutExpiryDate*/
631
- n[11]
610
+ r[11]
632
611
  )
633
612
  }) && u(t, "modalconfirmevent", s), l[0] & /*mbsource*/
634
613
  16 && u(
635
614
  t,
636
615
  "mbsource",
637
616
  /*mbsource*/
638
- n[4]
617
+ r[4]
639
618
  ), l[0] & /*lang*/
640
619
  2 && u(
641
620
  t,
642
621
  "lang",
643
622
  /*lang*/
644
- n[1]
623
+ r[1]
645
624
  ), l[0] & /*clientstyling*/
646
625
  4 && u(
647
626
  e,
648
627
  "clientstyling",
649
628
  /*clientstyling*/
650
- n[2]
629
+ r[2]
651
630
  ), l[0] & /*clientstylingurl*/
652
631
  8 && u(
653
632
  e,
654
633
  "clientstylingurl",
655
634
  /*clientstylingurl*/
656
- n[3]
635
+ r[3]
657
636
  ), l[0] & /*mbsource*/
658
637
  16 && u(
659
638
  e,
660
639
  "mbsource",
661
640
  /*mbsource*/
662
- n[4]
641
+ r[4]
663
642
  );
664
643
  },
665
- d(n) {
666
- n && P(e);
644
+ d(r) {
645
+ r && P(e);
667
646
  }
668
647
  };
669
648
  }
@@ -673,8 +652,8 @@ function Be(o) {
673
652
  c() {
674
653
  e = f("ui-skeleton"), u(e, "structure", "title"), u(e, "width", "100px"), u(e, "margin-top", "20px"), u(e, "margin-bottom", "20px");
675
654
  },
676
- m(t, a) {
677
- E(t, e, a);
655
+ m(t, i) {
656
+ A(t, e, i);
678
657
  },
679
658
  d(t) {
680
659
  t && P(e);
@@ -687,8 +666,8 @@ function Ie(o) {
687
666
  c() {
688
667
  e = f("div"), e.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', d(e, "class", "MenuReturnButton");
689
668
  },
690
- m(t, a) {
691
- E(t, e, a);
669
+ m(t, i) {
670
+ A(t, e, i);
692
671
  },
693
672
  d(t) {
694
673
  t && P(e);
@@ -697,34 +676,34 @@ function Ie(o) {
697
676
  }
698
677
  function Ye(o) {
699
678
  let e;
700
- function t(n, l) {
679
+ function t(r, l) {
701
680
  return (
702
681
  /*skeletonLoading*/
703
- n[15] ? We : qe
682
+ r[15] ? He : We
704
683
  );
705
684
  }
706
- let a = t(o), s = a(o);
685
+ let i = t(o), s = i(o);
707
686
  return {
708
687
  c() {
709
688
  e = f("div"), s.c();
710
689
  },
711
- m(n, l) {
712
- E(n, e, l), s.m(e, null), o[29](e);
690
+ m(r, l) {
691
+ A(r, e, l), s.m(e, null), o[29](e);
713
692
  },
714
- p(n, l) {
715
- a === (a = t(n)) && s ? s.p(n, l) : (s.d(1), s = a(n), s && (s.c(), s.m(e, null)));
693
+ p(r, l) {
694
+ i === (i = t(r)) && s ? s.p(r, l) : (s.d(1), s = i(r), s && (s.c(), s.m(e, null)));
716
695
  },
717
696
  i: $,
718
697
  o: $,
719
- d(n) {
720
- n && P(e), s.d(), o[29](null);
698
+ d(r) {
699
+ r && P(e), s.d(), o[29](null);
721
700
  }
722
701
  };
723
702
  }
724
703
  function Re(o, e, t) {
725
- let a;
726
- _e(o, Pe, (r) => t(16, a = r));
727
- let { operator: s = "Everymatrix" } = e, { lang: n = "en" } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { mbsource: h } = e, { translationurl: _ = "" } = e, { supportemail: T = "" } = e, { endpoint: k = "" } = e, { hasconfirmationmodal: p = "false" } = e, c, y, S = window.navigator.userAgent, C = Fe(S) !== "PC", v = [
704
+ let i;
705
+ _e(o, Pe, (n) => t(16, i = n));
706
+ let { operator: s = "Everymatrix" } = e, { lang: r = "en" } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { mbsource: h } = e, { translationurl: _ = "" } = e, { supportemail: v = "" } = e, { endpoint: k = "" } = e, { hasconfirmationmodal: p = "false" } = e, c, T, S = window.navigator.userAgent, C = Fe(S) !== "PC", y = [
728
707
  {
729
708
  value: "CoolOffFor24Hours",
730
709
  dateSelector: !1
@@ -741,28 +720,28 @@ function Re(o, e, t) {
741
720
  value: "CoolOffFor3Months",
742
721
  dateSelector: !1
743
722
  }
744
- ], j = v[0].value, D = !1, O = "", z, Y, R = "", q = p === "true", L = !0;
723
+ ], j = y[0].value, D = !1, O = "", z, Y, R = "", W = p === "true", L = !0;
745
724
  const N = () => {
746
- fetch(_).then((r) => r.json()).then((r) => {
747
- Object.keys(r).forEach((J) => {
748
- le(J, r[J]);
725
+ fetch(_).then((n) => n.json()).then((n) => {
726
+ Object.keys(n).forEach((J) => {
727
+ le(J, n[J]);
749
728
  });
750
- }).catch((r) => {
751
- console.log(r);
729
+ }).catch((n) => {
730
+ console.log(n);
752
731
  });
753
732
  };
754
- Object.keys(se).forEach((r) => {
755
- le(r, se[r]);
733
+ Object.keys(se).forEach((n) => {
734
+ le(n, se[n]);
756
735
  });
757
736
  const V = () => {
758
- const r = new URL("/v1/player/coolOffSettings", k), J = { method: "GET" };
759
- fetch(r.href, J).then((G) => {
737
+ const n = new URL("/v1/player/coolOffSettings", k), J = { method: "GET" };
738
+ fetch(n.href, J).then((G) => {
760
739
  if (!G.ok)
761
740
  throw new Error("There was an error while fetching the configuration");
762
741
  return G.json();
763
742
  }).then((G) => {
764
743
  const { periods: ee } = G;
765
- ee && t(8, v = ee.map((X) => ({
744
+ ee && t(8, y = ee.map((X) => ({
766
745
  value: X.key,
767
746
  text: X.text,
768
747
  dateSelector: X.dateSelector
@@ -770,16 +749,16 @@ function Re(o, e, t) {
770
749
  }).catch((G) => {
771
750
  console.log(G);
772
751
  }).finally(() => {
773
- t(15, L = !1), t(9, j = v[0].value);
752
+ t(15, L = !1), t(9, j = y[0].value);
774
753
  });
775
- }, A = () => {
776
- if (!q) {
754
+ }, q = () => {
755
+ if (!W) {
777
756
  t(14, R = "");
778
757
  return;
779
758
  }
780
- t(14, R = D ? a("confirmationModalTextUntil", { values: { date: O } }) : a("confirmationModalTextPeriod", { values: { period: a(j) } }));
781
- }, W = (r) => {
782
- r.preventDefault(), q ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : window.postMessage(
759
+ t(14, R = D ? i("confirmationModalTextUntil", { values: { date: O } }) : i("confirmationModalTextPeriod", { values: { period: i(j) } }));
760
+ }, H = (n) => {
761
+ n.preventDefault(), W ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : window.postMessage(
783
762
  {
784
763
  type: "SetPlayerAccountTimeout",
785
764
  timeoutSelected: j,
@@ -796,53 +775,53 @@ function Re(o, e, t) {
796
775
  window.location.href
797
776
  );
798
777
  }, x = () => {
799
- Ee(n), V();
800
- }, H = () => {
801
- const r = v.find((J) => J.value === j);
802
- t(10, D = !1), r.dateSelector && (t(10, D = !0), t(12, z = re().format("YYYY-MM-DD")), t(13, Y = re().add(6, "months").format("YYYY-MM-DD")), t(11, O = z)), q && A();
803
- }, m = (r) => {
804
- t(11, O = r.target.value);
805
- }, w = () => {
806
- y.addEventListener("change", m, !1);
778
+ Ae(r), V();
779
+ }, E = () => {
780
+ const n = y.find((J) => J.value === j);
781
+ t(10, D = !1), n.dateSelector && (t(10, D = !0), t(12, z = ne().format("YYYY-MM-DD")), t(13, Y = ne().add(6, "months").format("YYYY-MM-DD")), t(11, O = z)), W && q();
782
+ }, m = (n) => {
783
+ t(11, O = n.target.value);
784
+ }, M = () => {
785
+ T.addEventListener("change", m, !1);
807
786
  };
808
787
  ke(() => () => {
809
- y.removeEventListener("change", m);
788
+ T.removeEventListener("change", m);
810
789
  });
811
790
  const b = () => F();
812
791
  function Z() {
813
- j = Ce(this), t(9, j), t(8, v);
792
+ j = Ce(this), t(9, j), t(8, y);
814
793
  }
815
- function fe(r) {
816
- oe[r ? "unshift" : "push"](() => {
817
- y = r, t(7, y);
794
+ function fe(n) {
795
+ oe[n ? "unshift" : "push"](() => {
796
+ T = n, t(7, T);
818
797
  });
819
798
  }
820
- const de = (r) => W(r);
821
- function pe(r) {
822
- oe[r ? "unshift" : "push"](() => {
823
- c = r, t(6, c);
799
+ const de = (n) => H(n);
800
+ function pe(n) {
801
+ oe[n ? "unshift" : "push"](() => {
802
+ c = n, t(6, c);
824
803
  });
825
804
  }
826
- return o.$$set = (r) => {
827
- "operator" in r && t(0, s = r.operator), "lang" in r && t(1, n = r.lang), "clientstyling" in r && t(2, l = r.clientstyling), "clientstylingurl" in r && t(3, g = r.clientstylingurl), "mbsource" in r && t(4, h = r.mbsource), "translationurl" in r && t(22, _ = r.translationurl), "supportemail" in r && t(5, T = r.supportemail), "endpoint" in r && t(23, k = r.endpoint), "hasconfirmationmodal" in r && t(24, p = r.hasconfirmationmodal);
805
+ return o.$$set = (n) => {
806
+ "operator" in n && t(0, s = n.operator), "lang" in n && t(1, r = n.lang), "clientstyling" in n && t(2, l = n.clientstyling), "clientstylingurl" in n && t(3, g = n.clientstylingurl), "mbsource" in n && t(4, h = n.mbsource), "translationurl" in n && t(22, _ = n.translationurl), "supportemail" in n && t(5, v = n.supportemail), "endpoint" in n && t(23, k = n.endpoint), "hasconfirmationmodal" in n && t(24, p = n.hasconfirmationmodal);
828
807
  }, o.$$.update = () => {
829
808
  o.$$.dirty[0] & /*calendar*/
830
- 128 && y && w(), o.$$.dirty[0] & /*lang*/
831
- 2 && n && x(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
809
+ 128 && T && M(), o.$$.dirty[0] & /*lang*/
810
+ 2 && r && x(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
832
811
  68 && l && c && Se(c, l), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
833
812
  72 && g && c && De(c, g), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
834
813
  80 && h && c && ze(c, `${h}.Style`), o.$$.dirty[0] & /*translationurl*/
835
814
  4194304 && _ && N();
836
- }, q && A(), [
815
+ }, W && q(), [
837
816
  s,
838
- n,
817
+ r,
839
818
  l,
840
819
  g,
841
820
  h,
842
- T,
821
+ v,
843
822
  c,
823
+ T,
844
824
  y,
845
- v,
846
825
  j,
847
826
  D,
848
827
  O,
@@ -850,12 +829,12 @@ function Re(o, e, t) {
850
829
  Y,
851
830
  R,
852
831
  L,
853
- a,
832
+ i,
854
833
  C,
855
- q,
856
834
  W,
857
- F,
858
835
  H,
836
+ F,
837
+ E,
859
838
  _,
860
839
  k,
861
840
  p,
@@ -866,14 +845,14 @@ function Re(o, e, t) {
866
845
  pe
867
846
  ];
868
847
  }
869
- class Le extends ye {
848
+ class Le extends Te {
870
849
  constructor(e) {
871
- super(), Te(
850
+ super(), ve(
872
851
  this,
873
852
  e,
874
853
  Re,
875
854
  Ye,
876
- ve,
855
+ ye,
877
856
  {
878
857
  operator: 0,
879
858
  lang: 1,
@@ -885,7 +864,7 @@ class Le extends ye {
885
864
  endpoint: 23,
886
865
  hasconfirmationmodal: 24
887
866
  },
888
- Ae,
867
+ qe,
889
868
  [-1, -1]
890
869
  );
891
870
  }