@everymatrix/player-account-controller 1.86.29 → 1.87.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.
@@ -1,14 +1,20 @@
1
- import { a as be, $ as _e, S as Fe, i as Ce, s as ke, f as A, b as Me, n as ee, d as E, h as q, k as c, p as we, q as Oe, a8 as Se, Q as xe, w as $, j as a, m as S, g as l, Z as ie, e as p, C as ae, D as De, r as ze, c as N, T as re, l as Q, t as G, W as je, v as K, V as ne, x as Pe, y as He, z as Ae, A as Ee, B as qe } from "./GeneralLogout-B7wytw3i.js";
1
+ import { $ as ee, E as _e, a as Fe, S as Ce, i as ke, s as we, f as H, b as Me, n as oe, d as A, h as q, k as c, p as Oe, q as Se, a8 as xe, Q as De, w as $, j as a, m as S, g as l, Z as ae, e as p, C as ne, D as ze, r as je, c as N, T as re, l as Q, t as G, W as Pe, v as K, V as le, x as Ee, y as He, z as Ae, A as qe, B as We } from "./GeneralLogout-B7wytw3i.js";
2
2
  import "./PlayerAccountSelfExclusion-CySbO2r9.js";
3
- import { d as le } from "./PlayerAccountProductRestriction-D5TZl8TF.js";
3
+ import "./PlayerAccountGamingLimitsGroupEdit-DBQ3mbbn.js";
4
+ import { d as se } from "./PlayerAccountProductRestriction-D5TZl8TF.js";
4
5
  import "../stencil/ui-skeleton-CTFP1U_H.js";
5
- function se(o, e) {
6
- be(o, e);
6
+ function Ue({ withLocale: o, translations: e }) {
7
+ ee.subscribe((t) => {
8
+ t == null && (_e.set(e), ee.set(o));
9
+ });
10
+ }
11
+ function ue(o, e) {
12
+ Fe(o, e);
7
13
  }
8
- function We(o) {
9
- _e.set(o);
14
+ function Be(o) {
15
+ ee.set(o);
10
16
  }
11
- const ue = {
17
+ const me = {
12
18
  en: {
13
19
  titleTimeout: "Timeout",
14
20
  timeoutTextFirst: "{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",
@@ -219,15 +225,15 @@ const ue = {
219
225
  confirmationModalTextUntilTimeout: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
220
226
  }
221
227
  };
222
- function Ue(o) {
228
+ function Ie(o) {
223
229
  Me(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}}`);
224
230
  }
225
- function me(o, e, t) {
226
- const r = o.slice();
227
- return r[43] = e[t].value, r;
231
+ function ce(o, e, t) {
232
+ const n = o.slice();
233
+ return n[43] = e[t].value, n;
228
234
  }
229
- function Be(o) {
230
- let e, t, r, s = (
235
+ function Le(o) {
236
+ let e, t, n, s = (
231
237
  /*$_*/
232
238
  o[18]("titleTimeout") + ""
233
239
  ), u, m, y, g, k = (
@@ -266,35 +272,35 @@ function Be(o) {
266
272
  )
267
273
  }
268
274
  }) + ""
269
- ), h, d, f, D, I, P, M, x = (
275
+ ), h, d, f, D, I, P, w, x = (
270
276
  /*$_*/
271
277
  o[18]("save") + ""
272
- ), j, Y, z, F, W, J, H, V, U = (
278
+ ), j, Y, z, F, W, J, E, V, U = (
273
279
  /*isMobile*/
274
- o[19] && Le(o)
275
- ), B = ae(
280
+ o[19] && Ye(o)
281
+ ), B = ne(
276
282
  /*timeoutOptions*/
277
283
  o[10]
278
- ), w = [];
279
- for (let n = 0; n < B.length; n += 1)
280
- w[n] = ce(me(o, B, n));
284
+ ), M = [];
285
+ for (let r = 0; r < B.length; r += 1)
286
+ M[r] = fe(ce(o, B, r));
281
287
  let O = (
282
288
  /*isUntilDate*/
283
- o[12] && fe(o)
289
+ o[12] && de(o)
284
290
  );
285
291
  return {
286
292
  c() {
287
- e = c("form"), U && U.c(), t = S(), r = c("h2"), u = G(s), m = S(), y = c("div"), g = c("p"), b = S(), _ = c("p"), h = S(), d = c("div"), f = c("select");
288
- for (let n = 0; n < w.length; n += 1)
289
- w[n].c();
290
- D = S(), O && O.c(), I = S(), P = c("div"), M = c("button"), j = G(x), Y = S(), z = c("player-account-modal"), F = c("player-account-general-confirmation-modal"), p(r, "class", "TimeoutTitle " + /*isMobile*/
293
+ e = c("form"), U && U.c(), t = S(), n = c("h2"), u = G(s), m = S(), y = c("div"), g = c("p"), b = S(), _ = c("p"), h = S(), d = c("div"), f = c("select");
294
+ for (let r = 0; r < M.length; r += 1)
295
+ M[r].c();
296
+ D = S(), O && O.c(), I = S(), P = c("div"), w = c("button"), j = G(x), Y = S(), z = c("player-account-modal"), F = c("player-account-general-confirmation-modal"), p(n, "class", "TimeoutTitle " + /*isMobile*/
291
297
  (o[19] ? "TimeoutTitleNone" : "")), p(y, "class", "TimeoutDescription " + /*isMobile*/
292
298
  (o[19] ? "TimeoutDescriptionMobile" : "")), p(f, "class", "TimeoutSelect " + /*isMobile*/
293
299
  (o[19] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
294
- o[11] === void 0 && je(() => (
300
+ o[11] === void 0 && Pe(() => (
295
301
  /*select_change_handler*/
296
302
  o[27].call(f)
297
- )), p(d, "class", "TimeoutSelectWrapper"), p(M, "class", "TimeoutSave"), p(P, "class", "TimeoutActionButtons " + /*isMobile*/
303
+ )), p(d, "class", "TimeoutSelectWrapper"), p(w, "class", "TimeoutSave"), p(P, "class", "TimeoutActionButtons " + /*isMobile*/
298
304
  (o[19] ? "TimeoutActionButtonsMobile" : "")), p(e, "class", "TimeoutWrapper " + /*isMobile*/
299
305
  (o[19] ? "TimeoutWrapperMobile" : "")), l(F, "modalTitle", W = /*$_*/
300
306
  o[18]("confirmationModalTitle")), l(
@@ -338,16 +344,16 @@ function Be(o) {
338
344
  o[4]
339
345
  ), l(z, "showmodaleventname", "ShowTimeoutConfirmationModal");
340
346
  },
341
- m(n, v) {
342
- q(n, e, v), U && U.m(e, null), a(e, t), a(e, r), a(r, u), a(e, m), a(e, y), a(y, g), g.innerHTML = k, a(y, b), a(y, _), _.innerHTML = T, a(e, h), a(e, d), a(d, f);
343
- for (let C = 0; C < w.length; C += 1)
344
- w[C] && w[C].m(f, null);
347
+ m(r, v) {
348
+ q(r, e, v), U && U.m(e, null), a(e, t), a(e, n), a(n, u), a(e, m), a(e, y), a(y, g), g.innerHTML = k, a(y, b), a(y, _), _.innerHTML = T, a(e, h), a(e, d), a(d, f);
349
+ for (let C = 0; C < M.length; C += 1)
350
+ M[C] && M[C].m(f, null);
345
351
  re(
346
352
  f,
347
353
  /*timeoutSelected*/
348
354
  o[11],
349
355
  !0
350
- ), a(e, D), O && O.m(e, null), a(e, I), a(e, P), a(P, M), a(M, j), q(n, Y, v), q(n, z, v), a(z, F), o[30](F), H || (V = [
356
+ ), a(e, D), O && O.m(e, null), a(e, I), a(e, P), a(P, w), a(w, j), q(r, Y, v), q(r, z, v), a(z, F), o[30](F), E || (V = [
351
357
  Q(
352
358
  f,
353
359
  "change",
@@ -361,148 +367,148 @@ function Be(o) {
361
367
  o[22]
362
368
  ),
363
369
  Q(
364
- M,
370
+ w,
365
371
  "click",
366
372
  /*click_handler_1*/
367
373
  o[29]
368
374
  )
369
- ], H = !0);
375
+ ], E = !0);
370
376
  },
371
- p(n, v) {
377
+ p(r, v) {
372
378
  if (
373
379
  /*isMobile*/
374
- n[19] && U.p(n, v), v[0] & /*$_*/
380
+ r[19] && U.p(r, v), v[0] & /*$_*/
375
381
  262144 && s !== (s = /*$_*/
376
- n[18]("titleTimeout") + "") && N(u, s), v[0] & /*$_, operator, baseurl, lang*/
382
+ r[18]("titleTimeout") + "") && N(u, s), v[0] & /*$_, operator, baseurl, lang*/
377
383
  262211 && k !== (k = /*$_*/
378
- n[18]("timeoutTextFirst", {
384
+ r[18]("timeoutTextFirst", {
379
385
  values: {
380
386
  operatorname: (
381
387
  /*operator*/
382
- n[0]
388
+ r[0]
383
389
  ),
384
390
  baseurl: (
385
391
  /*baseurl*/
386
- n[6]
392
+ r[6]
387
393
  ),
388
394
  lang: (
389
395
  /*lang*/
390
- n[1]
396
+ r[1]
391
397
  )
392
398
  }
393
399
  }) + "") && (g.innerHTML = k), v[0] & /*$_, supportemail, baseurl, lang*/
394
400
  262242 && T !== (T = /*$_*/
395
- n[18]("timeoutTextSecondary", {
401
+ r[18]("timeoutTextSecondary", {
396
402
  values: {
397
403
  supportemail: (
398
404
  /*supportemail*/
399
- n[5]
405
+ r[5]
400
406
  ),
401
407
  baseurl: (
402
408
  /*baseurl*/
403
- n[6]
409
+ r[6]
404
410
  ),
405
411
  lang: (
406
412
  /*lang*/
407
- n[1]
413
+ r[1]
408
414
  )
409
415
  }
410
416
  }) + "") && (_.innerHTML = T), v[0] & /*timeoutOptions, $_*/
411
417
  263168
412
418
  ) {
413
- B = ae(
419
+ B = ne(
414
420
  /*timeoutOptions*/
415
- n[10]
421
+ r[10]
416
422
  );
417
423
  let C;
418
424
  for (C = 0; C < B.length; C += 1) {
419
- const Z = me(n, B, C);
420
- w[C] ? w[C].p(Z, v) : (w[C] = ce(Z), w[C].c(), w[C].m(f, null));
425
+ const Z = ce(r, B, C);
426
+ M[C] ? M[C].p(Z, v) : (M[C] = fe(Z), M[C].c(), M[C].m(f, null));
421
427
  }
422
- for (; C < w.length; C += 1)
423
- w[C].d(1);
424
- w.length = B.length;
428
+ for (; C < M.length; C += 1)
429
+ M[C].d(1);
430
+ M.length = B.length;
425
431
  }
426
432
  v[0] & /*timeoutSelected, timeoutOptions*/
427
433
  3072 && re(
428
434
  f,
429
435
  /*timeoutSelected*/
430
- n[11]
436
+ r[11]
431
437
  ), /*isUntilDate*/
432
- n[12] ? O ? O.p(n, v) : (O = fe(n), O.c(), O.m(e, I)) : O && (O.d(1), O = null), v[0] & /*$_*/
438
+ r[12] ? O ? O.p(r, v) : (O = de(r), O.c(), O.m(e, I)) : O && (O.d(1), O = null), v[0] & /*$_*/
433
439
  262144 && x !== (x = /*$_*/
434
- n[18]("save") + "") && N(j, x), v[0] & /*$_*/
440
+ r[18]("save") + "") && N(j, x), v[0] & /*$_*/
435
441
  262144 && W !== (W = /*$_*/
436
- n[18]("confirmationModalTitle")) && l(F, "modalTitle", W), v[0] & /*confirmationModalText*/
442
+ r[18]("confirmationModalTitle")) && l(F, "modalTitle", W), v[0] & /*confirmationModalText*/
437
443
  65536 && l(
438
444
  F,
439
445
  "modalText",
440
446
  /*confirmationModalText*/
441
- n[16]
447
+ r[16]
442
448
  ), v[0] & /*timeoutSelected, timeoutExpiryDate, timeoutOptions*/
443
449
  11264 && J !== (J = {
444
450
  timeoutSelected: (
445
451
  /*timeoutSelected*/
446
- n[11]
452
+ r[11]
447
453
  ),
448
454
  timeoutExpiryDate: (
449
455
  /*timeoutExpiryDate*/
450
- n[13]
456
+ r[13]
451
457
  )
452
458
  }) && l(F, "modalconfirmdata", J), v[0] & /*mbsource*/
453
459
  16 && l(
454
460
  F,
455
461
  "mbsource",
456
462
  /*mbsource*/
457
- n[4]
463
+ r[4]
458
464
  ), v[0] & /*lang*/
459
465
  2 && l(
460
466
  F,
461
467
  "lang",
462
468
  /*lang*/
463
- n[1]
469
+ r[1]
464
470
  ), v[0] & /*clientstyling*/
465
471
  4 && l(
466
472
  z,
467
473
  "clientstyling",
468
474
  /*clientstyling*/
469
- n[2]
475
+ r[2]
470
476
  ), v[0] & /*clientstylingurl*/
471
477
  8 && l(
472
478
  z,
473
479
  "clientstylingurl",
474
480
  /*clientstylingurl*/
475
- n[3]
481
+ r[3]
476
482
  ), v[0] & /*mbsource*/
477
483
  16 && l(
478
484
  z,
479
485
  "mbsource",
480
486
  /*mbsource*/
481
- n[4]
487
+ r[4]
482
488
  );
483
489
  },
484
- d(n) {
485
- n && (E(e), E(Y), E(z)), U && U.d(), De(w, n), O && O.d(), o[30](null), H = !1, ze(V);
490
+ d(r) {
491
+ r && (A(e), A(Y), A(z)), U && U.d(), ze(M, r), O && O.d(), o[30](null), E = !1, je(V);
486
492
  }
487
493
  };
488
494
  }
489
- function Ie(o) {
490
- let e, t, r, s, u, m, y, g, k, b, _, T, h, d, f, D;
495
+ function Re(o) {
496
+ let e, t, n, s, u, m, y, g, k, b, _, T, h, d, f, D;
491
497
  function I(x, j) {
492
498
  return (
493
499
  /*isMobile*/
494
- x[19] ? Ye : Re
500
+ x[19] ? Ge : Je
495
501
  );
496
502
  }
497
- let M = I(o)(o);
503
+ let w = I(o)(o);
498
504
  return {
499
505
  c() {
500
- e = c("div"), M.c(), t = S(), r = c("div"), s = c("ui-skeleton"), u = S(), m = c("div"), y = S(), g = c("ui-skeleton"), k = S(), b = c("div"), _ = S(), T = c("div"), h = c("ui-skeleton"), d = S(), f = c("div"), D = c("ui-skeleton"), l(s, "structure", "text"), l(
506
+ e = c("div"), w.c(), t = S(), n = c("div"), s = c("ui-skeleton"), u = S(), m = c("div"), y = S(), g = c("ui-skeleton"), k = S(), b = c("div"), _ = S(), T = c("div"), h = c("ui-skeleton"), d = S(), f = c("div"), D = c("ui-skeleton"), l(s, "structure", "text"), l(
501
507
  s,
502
508
  "height",
503
509
  /*isMobile*/
504
510
  o[19] ? "15px" : "20px"
505
- ), l(s, "rows", "3"), l(s, "width", "100%"), ie(
511
+ ), l(s, "rows", "3"), l(s, "width", "100%"), ae(
506
512
  m,
507
513
  "height",
508
514
  /*isMobile*/
@@ -512,12 +518,12 @@ function Ie(o) {
512
518
  "height",
513
519
  /*isMobile*/
514
520
  o[19] ? "15px" : "20px"
515
- ), l(g, "rows", "3"), l(g, "width", "100%"), ie(
521
+ ), l(g, "rows", "3"), l(g, "width", "100%"), ae(
516
522
  b,
517
523
  "height",
518
524
  /*isMobile*/
519
525
  o[19] ? "10px" : "30px"
520
- ), p(r, "class", "TimeoutDescription"), l(h, "structure", "rectangle"), l(
526
+ ), p(n, "class", "TimeoutDescription"), l(h, "structure", "rectangle"), l(
521
527
  h,
522
528
  "width",
523
529
  /*isMobile*/
@@ -537,25 +543,25 @@ function Ie(o) {
537
543
  (o[19] ? "TimeoutWrapperMobile" : ""));
538
544
  },
539
545
  m(x, j) {
540
- q(x, e, j), M.m(e, null), a(e, t), a(e, r), a(r, s), a(r, u), a(r, m), a(r, y), a(r, g), a(r, k), a(r, b), a(e, _), a(e, T), a(T, h), a(e, d), a(e, f), a(f, D);
546
+ q(x, e, j), w.m(e, null), a(e, t), a(e, n), a(n, s), a(n, u), a(n, m), a(n, y), a(n, g), a(n, k), a(n, b), a(e, _), a(e, T), a(T, h), a(e, d), a(e, f), a(f, D);
541
547
  },
542
- p: ee,
548
+ p: oe,
543
549
  d(x) {
544
- x && E(e), M.d();
550
+ x && A(e), w.d();
545
551
  }
546
552
  };
547
553
  }
548
- function Le(o) {
549
- let e, t, r, s, u, m, y, g, k, b, _ = (
554
+ function Ye(o) {
555
+ let e, t, n, s, u, m, y, g, k, b, _ = (
550
556
  /*$_*/
551
557
  o[18]("titleTimeout") + ""
552
558
  ), T, h, d;
553
559
  return {
554
560
  c() {
555
- e = c("div"), t = K("svg"), r = K("defs"), s = K("style"), u = G(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = K("g"), y = K("g"), g = K("path"), k = S(), b = c("h2"), T = G(_), p(g, "class", "aaa"), p(g, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(g, "transform", "translate(15 15) rotate(180)"), p(y, "transform", "translate(20 158)"), p(m, "transform", "translate(-20 -158)"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "width", "15"), p(t, "height", "15"), p(t, "viewBox", "0 0 15 15"), p(b, "class", "TimeoutTitleMobile"), p(b, "part", "TimeoutTitleMobile"), p(e, "class", "MenuReturnButton"), p(e, "part", "MenuReturnButton");
561
+ e = c("div"), t = K("svg"), n = K("defs"), s = K("style"), u = G(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = K("g"), y = K("g"), g = K("path"), k = S(), b = c("h2"), T = G(_), p(g, "class", "aaa"), p(g, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(g, "transform", "translate(15 15) rotate(180)"), p(y, "transform", "translate(20 158)"), p(m, "transform", "translate(-20 -158)"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "width", "15"), p(t, "height", "15"), p(t, "viewBox", "0 0 15 15"), p(b, "class", "TimeoutTitleMobile"), p(b, "part", "TimeoutTitleMobile"), p(e, "class", "MenuReturnButton"), p(e, "part", "MenuReturnButton");
556
562
  },
557
563
  m(f, D) {
558
- q(f, e, D), a(e, t), a(t, r), a(r, s), a(s, u), a(t, m), a(m, y), a(y, g), a(e, k), a(e, b), a(b, T), h || (d = Q(
564
+ q(f, e, D), a(e, t), a(t, n), a(n, s), a(s, u), a(t, m), a(m, y), a(y, g), a(e, k), a(e, b), a(b, T), h || (d = Q(
559
565
  e,
560
566
  "click",
561
567
  /*click_handler*/
@@ -568,25 +574,25 @@ function Le(o) {
568
574
  f[18]("titleTimeout") + "") && N(T, _);
569
575
  },
570
576
  d(f) {
571
- f && E(e), h = !1, d();
577
+ f && A(e), h = !1, d();
572
578
  }
573
579
  };
574
580
  }
575
- function ce(o) {
581
+ function fe(o) {
576
582
  let e, t = (
577
583
  /*$_*/
578
584
  o[18](
579
585
  /*value*/
580
586
  o[43]
581
587
  ) + ""
582
- ), r, s;
588
+ ), n, s;
583
589
  return {
584
590
  c() {
585
- e = c("option"), r = G(t), e.__value = s = /*value*/
586
- o[43], ne(e, e.__value);
591
+ e = c("option"), n = G(t), e.__value = s = /*value*/
592
+ o[43], le(e, e.__value);
587
593
  },
588
594
  m(u, m) {
589
- q(u, e, m), a(e, r);
595
+ q(u, e, m), a(e, n);
590
596
  },
591
597
  p(u, m) {
592
598
  m[0] & /*$_, timeoutOptions*/
@@ -594,17 +600,17 @@ function ce(o) {
594
600
  u[18](
595
601
  /*value*/
596
602
  u[43]
597
- ) + "") && N(r, t), m[0] & /*timeoutOptions*/
603
+ ) + "") && N(n, t), m[0] & /*timeoutOptions*/
598
604
  1024 && s !== (s = /*value*/
599
- u[43]) && (e.__value = s, ne(e, e.__value));
605
+ u[43]) && (e.__value = s, le(e, e.__value));
600
606
  },
601
607
  d(u) {
602
- u && E(e);
608
+ u && A(e);
603
609
  }
604
610
  };
605
611
  }
606
- function fe(o) {
607
- let e, t, r = (
612
+ function de(o) {
613
+ let e, t, n = (
608
614
  /*$_*/
609
615
  o[18]("duration") + ""
610
616
  ), s, u, m, y = (
@@ -613,7 +619,7 @@ function fe(o) {
613
619
  ), g, k, b, _, T;
614
620
  return {
615
621
  c() {
616
- e = c("div"), t = c("label"), s = G(r), u = S(), m = c("span"), g = G(y), k = S(), b = c("strong"), b.innerHTML = "MM/DD/YYYY<strong></strong>", _ = S(), T = c("vaadin-date-picker"), p(t, "for", "TimeoutDate"), p(m, "class", "TimeoutDateInstructions"), l(
622
+ e = c("div"), t = c("label"), s = G(n), u = S(), m = c("span"), g = G(y), k = S(), b = c("strong"), b.innerHTML = "MM/DD/YYYY<strong></strong>", _ = S(), T = c("vaadin-date-picker"), p(t, "for", "TimeoutDate"), p(m, "class", "TimeoutDateInstructions"), l(
617
623
  T,
618
624
  "min",
619
625
  /*minDate*/
@@ -636,8 +642,8 @@ function fe(o) {
636
642
  },
637
643
  p(h, d) {
638
644
  d[0] & /*$_*/
639
- 262144 && r !== (r = /*$_*/
640
- h[18]("duration") + "") && N(s, r), d[0] & /*$_*/
645
+ 262144 && n !== (n = /*$_*/
646
+ h[18]("duration") + "") && N(s, n), d[0] & /*$_*/
641
647
  262144 && y !== (y = /*$_*/
642
648
  h[18]("dateInstructions") + "") && N(g, y), d[0] & /*minDate*/
643
649
  16384 && l(
@@ -660,47 +666,47 @@ function fe(o) {
660
666
  );
661
667
  },
662
668
  d(h) {
663
- h && E(e), o[28](null);
669
+ h && A(e), o[28](null);
664
670
  }
665
671
  };
666
672
  }
667
- function Re(o) {
673
+ function Je(o) {
668
674
  let e;
669
675
  return {
670
676
  c() {
671
677
  e = c("ui-skeleton"), l(e, "structure", "title"), l(e, "width", "100px"), l(e, "margin-top", "20px"), l(e, "margin-bottom", "20px");
672
678
  },
673
- m(t, r) {
674
- q(t, e, r);
679
+ m(t, n) {
680
+ q(t, e, n);
675
681
  },
676
682
  d(t) {
677
- t && E(e);
683
+ t && A(e);
678
684
  }
679
685
  };
680
686
  }
681
- function Ye(o) {
687
+ function Ge(o) {
682
688
  let e;
683
689
  return {
684
690
  c() {
685
691
  e = c("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>', p(e, "class", "MenuReturnButton");
686
692
  },
687
- m(t, r) {
688
- q(t, e, r);
693
+ m(t, n) {
694
+ q(t, e, n);
689
695
  },
690
696
  d(t) {
691
- t && E(e);
697
+ t && A(e);
692
698
  }
693
699
  };
694
700
  }
695
- function Je(o) {
701
+ function Ke(o) {
696
702
  let e;
697
703
  function t(u, m) {
698
704
  return (
699
705
  /*skeletonLoading*/
700
- u[17] ? Ie : Be
706
+ u[17] ? Re : Le
701
707
  );
702
708
  }
703
- let r = t(o), s = r(o);
709
+ let n = t(o), s = n(o);
704
710
  return {
705
711
  c() {
706
712
  e = c("div"), s.c();
@@ -709,19 +715,21 @@ function Je(o) {
709
715
  q(u, e, m), s.m(e, null), o[31](e);
710
716
  },
711
717
  p(u, m) {
712
- r === (r = t(u)) && s ? s.p(u, m) : (s.d(1), s = r(u), s && (s.c(), s.m(e, null)));
718
+ n === (n = t(u)) && s ? s.p(u, m) : (s.d(1), s = n(u), s && (s.c(), s.m(e, null)));
713
719
  },
714
- i: ee,
715
- o: ee,
720
+ i: oe,
721
+ o: oe,
716
722
  d(u) {
717
- u && E(e), s.d(), o[31](null);
723
+ u && A(e), s.d(), o[31](null);
718
724
  }
719
725
  };
720
726
  }
721
- function Ge(o, e, t) {
722
- let r;
723
- we(o, qe, (i) => t(18, r = i));
724
- let { operator: s = "Everymatrix" } = e, { lang: u = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: g } = e, { translationurl: k = "" } = e, { supportemail: b = "" } = e, { endpoint: _ = "" } = e, { baseurl: T = "" } = e, { hasconfirmationmodal: h = "false" } = e, d, f, D = window.navigator.userAgent, I = Oe(D) !== "PC", P = [
727
+ function Ne(o, e, t) {
728
+ let n;
729
+ Oe(o, We, (i) => t(18, n = i));
730
+ let { operator: s = "Everymatrix" } = e, { lang: u = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: g } = e, { translationurl: k = "" } = e, { supportemail: b = "" } = e, { endpoint: _ = "" } = e, { baseurl: T = "" } = e, { hasconfirmationmodal: h = "false" } = e;
731
+ Ue({ withLocale: "en", translations: {} });
732
+ let d, f, D = window.navigator.userAgent, I = Se(D) !== "PC", P = [
725
733
  {
726
734
  value: "CoolOffFor24Hours",
727
735
  dateSelector: !1
@@ -738,18 +746,18 @@ function Ge(o, e, t) {
738
746
  value: "CoolOffFor3Months",
739
747
  dateSelector: !1
740
748
  }
741
- ], M = P[0].value, x = !1, j = "", Y, z, F = "", W = h === "true", J = !0, H;
749
+ ], w = P[0].value, x = !1, j = "", Y, z, F = "", W = h === "true", J = !0, E;
742
750
  const V = () => {
743
751
  fetch(k).then((i) => i.json()).then((i) => {
744
752
  Object.keys(i).forEach((L) => {
745
- se(L, i[L]);
753
+ ue(L, i[L]);
746
754
  });
747
755
  }).catch((i) => {
748
756
  console.log(i);
749
757
  });
750
758
  };
751
- Object.keys(ue).forEach((i) => {
752
- se(i, ue[i]);
759
+ Object.keys(me).forEach((i) => {
760
+ ue(i, me[i]);
753
761
  });
754
762
  const U = () => {
755
763
  const i = new URL("/v1/player/coolOffSettings", _), L = { method: "GET" };
@@ -758,8 +766,8 @@ function Ge(o, e, t) {
758
766
  throw new Error("There was an error while fetching the configuration");
759
767
  return R.json();
760
768
  }).then((R) => {
761
- const { periods: te } = R;
762
- te && t(10, P = te.map((X) => ({
769
+ const { periods: ie } = R;
770
+ ie && t(10, P = ie.map((X) => ({
763
771
  value: X.key,
764
772
  text: X.text,
765
773
  dateSelector: X.dateSelector
@@ -767,24 +775,24 @@ function Ge(o, e, t) {
767
775
  }).catch((R) => {
768
776
  console.log(R);
769
777
  }).finally(() => {
770
- t(17, J = !1), t(11, M = P[0].value);
778
+ t(17, J = !1), t(11, w = P[0].value);
771
779
  });
772
780
  }, B = () => {
773
781
  if (!W) {
774
782
  t(16, F = "");
775
783
  return;
776
784
  }
777
- t(16, F = x ? r("confirmationModalTextUntilTimeout", { values: { date: j } }) : r("confirmationModalTextPeriodTimeout", { values: { period: r(M) } }));
778
- }, w = (i) => {
779
- i.preventDefault(), W ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : n();
785
+ t(16, F = x ? n("confirmationModalTextUntilTimeout", { values: { date: j } }) : n("confirmationModalTextPeriodTimeout", { values: { period: n(w) } }));
786
+ }, M = (i) => {
787
+ i.preventDefault(), W ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : r();
780
788
  }, O = (i) => {
781
789
  const { timeoutSelected: L, timeoutExpiryDate: R } = i.detail;
782
- t(11, M = L), t(13, j = R), n();
783
- }, n = () => {
790
+ t(11, w = L), t(13, j = R), r();
791
+ }, r = () => {
784
792
  window.postMessage(
785
793
  {
786
794
  type: "SetPlayerAccountTimeout",
787
- timeoutSelected: M,
795
+ timeoutSelected: w,
788
796
  timeoutExpiryDate: j
789
797
  },
790
798
  window.location.href
@@ -798,34 +806,34 @@ function Ge(o, e, t) {
798
806
  window.location.href
799
807
  );
800
808
  }, C = () => {
801
- We(u), U();
809
+ Be(u), U();
802
810
  }, Z = () => {
803
- const i = P.find((L) => L.value === M);
804
- t(12, x = !1), i.dateSelector && (t(12, x = !0), t(14, Y = le().format("YYYY-MM-DD")), t(15, z = le().add(6, "months").format("YYYY-MM-DD")), t(13, j = Y)), W && B();
805
- }, oe = (i) => {
811
+ const i = P.find((L) => L.value === w);
812
+ t(12, x = !1), i.dateSelector && (t(12, x = !0), t(14, Y = se().format("YYYY-MM-DD")), t(15, z = se().add(6, "months").format("YYYY-MM-DD")), t(13, j = Y)), W && B();
813
+ }, te = (i) => {
806
814
  t(13, j = i.target.value);
807
- }, de = () => {
808
- f.addEventListener("change", oe, !1);
815
+ }, pe = () => {
816
+ f.addEventListener("change", te, !1);
809
817
  };
810
- Se(() => {
811
- H && H.removeEventListener("SetPlayerAccountTimeout", O), f && f.removeEventListener("change", oe);
818
+ xe(() => {
819
+ E && E.removeEventListener("SetPlayerAccountTimeout", O), f && f.removeEventListener("change", te);
812
820
  });
813
- const pe = () => v();
814
- function he() {
815
- M = xe(this), t(11, M), t(10, P);
821
+ const he = () => v();
822
+ function ge() {
823
+ w = De(this), t(11, w), t(10, P);
816
824
  }
817
- function ge(i) {
825
+ function Te(i) {
818
826
  $[i ? "unshift" : "push"](() => {
819
827
  f = i, t(8, f);
820
828
  });
821
829
  }
822
- const Te = (i) => w(i);
823
- function ye(i) {
830
+ const ye = (i) => M(i);
831
+ function ve(i) {
824
832
  $[i ? "unshift" : "push"](() => {
825
- H = i, t(9, H);
833
+ E = i, t(9, E);
826
834
  });
827
835
  }
828
- function ve(i) {
836
+ function be(i) {
829
837
  $[i ? "unshift" : "push"](() => {
830
838
  d = i, t(7, d);
831
839
  });
@@ -834,13 +842,13 @@ function Ge(o, e, t) {
834
842
  "operator" in i && t(0, s = i.operator), "lang" in i && t(1, u = i.lang), "clientstyling" in i && t(2, m = i.clientstyling), "clientstylingurl" in i && t(3, y = i.clientstylingurl), "mbsource" in i && t(4, g = i.mbsource), "translationurl" in i && t(23, k = i.translationurl), "supportemail" in i && t(5, b = i.supportemail), "endpoint" in i && t(24, _ = i.endpoint), "baseurl" in i && t(6, T = i.baseurl), "hasconfirmationmodal" in i && t(25, h = i.hasconfirmationmodal);
835
843
  }, o.$$.update = () => {
836
844
  o.$$.dirty[0] & /*calendar*/
837
- 256 && f && de(), o.$$.dirty[0] & /*lang*/
845
+ 256 && f && pe(), o.$$.dirty[0] & /*lang*/
838
846
  2 && u && C(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
839
- 132 && m && d && Pe(d, m), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
847
+ 132 && m && d && Ee(d, m), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
840
848
  136 && y && d && He(d, y), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
841
849
  144 && g && d && Ae(d, `${g}.Style`), o.$$.dirty[0] & /*translationurl*/
842
850
  8388608 && k && V(), o.$$.dirty[0] & /*modalEl*/
843
- 512 && H && H.addEventListener("SetPlayerAccountTimeout", O);
851
+ 512 && E && E.addEventListener("SetPlayerAccountTimeout", O);
844
852
  }, W && B(), [
845
853
  s,
846
854
  u,
@@ -851,39 +859,39 @@ function Ge(o, e, t) {
851
859
  T,
852
860
  d,
853
861
  f,
854
- H,
862
+ E,
855
863
  P,
856
- M,
864
+ w,
857
865
  x,
858
866
  j,
859
867
  Y,
860
868
  z,
861
869
  F,
862
870
  J,
863
- r,
871
+ n,
864
872
  I,
865
- w,
873
+ M,
866
874
  v,
867
875
  Z,
868
876
  k,
869
877
  _,
870
878
  h,
871
- pe,
872
879
  he,
873
880
  ge,
874
881
  Te,
875
882
  ye,
876
- ve
883
+ ve,
884
+ be
877
885
  ];
878
886
  }
879
- class Ke extends Fe {
887
+ class Ve extends Ce {
880
888
  constructor(e) {
881
- super(), Ce(
889
+ super(), ke(
882
890
  this,
883
891
  e,
884
- Ge,
885
- Je,
886
- ke,
892
+ Ne,
893
+ Ke,
894
+ we,
887
895
  {
888
896
  operator: 0,
889
897
  lang: 1,
@@ -896,7 +904,7 @@ class Ke extends Fe {
896
904
  baseurl: 6,
897
905
  hasconfirmationmodal: 25
898
906
  },
899
- Ue,
907
+ Ie,
900
908
  [-1, -1]
901
909
  );
902
910
  }
@@ -904,64 +912,64 @@ class Ke extends Fe {
904
912
  return this.$$.ctx[0];
905
913
  }
906
914
  set operator(e) {
907
- this.$$set({ operator: e }), A();
915
+ this.$$set({ operator: e }), H();
908
916
  }
909
917
  get lang() {
910
918
  return this.$$.ctx[1];
911
919
  }
912
920
  set lang(e) {
913
- this.$$set({ lang: e }), A();
921
+ this.$$set({ lang: e }), H();
914
922
  }
915
923
  get clientstyling() {
916
924
  return this.$$.ctx[2];
917
925
  }
918
926
  set clientstyling(e) {
919
- this.$$set({ clientstyling: e }), A();
927
+ this.$$set({ clientstyling: e }), H();
920
928
  }
921
929
  get clientstylingurl() {
922
930
  return this.$$.ctx[3];
923
931
  }
924
932
  set clientstylingurl(e) {
925
- this.$$set({ clientstylingurl: e }), A();
933
+ this.$$set({ clientstylingurl: e }), H();
926
934
  }
927
935
  get mbsource() {
928
936
  return this.$$.ctx[4];
929
937
  }
930
938
  set mbsource(e) {
931
- this.$$set({ mbsource: e }), A();
939
+ this.$$set({ mbsource: e }), H();
932
940
  }
933
941
  get translationurl() {
934
942
  return this.$$.ctx[23];
935
943
  }
936
944
  set translationurl(e) {
937
- this.$$set({ translationurl: e }), A();
945
+ this.$$set({ translationurl: e }), H();
938
946
  }
939
947
  get supportemail() {
940
948
  return this.$$.ctx[5];
941
949
  }
942
950
  set supportemail(e) {
943
- this.$$set({ supportemail: e }), A();
951
+ this.$$set({ supportemail: e }), H();
944
952
  }
945
953
  get endpoint() {
946
954
  return this.$$.ctx[24];
947
955
  }
948
956
  set endpoint(e) {
949
- this.$$set({ endpoint: e }), A();
957
+ this.$$set({ endpoint: e }), H();
950
958
  }
951
959
  get baseurl() {
952
960
  return this.$$.ctx[6];
953
961
  }
954
962
  set baseurl(e) {
955
- this.$$set({ baseurl: e }), A();
963
+ this.$$set({ baseurl: e }), H();
956
964
  }
957
965
  get hasconfirmationmodal() {
958
966
  return this.$$.ctx[25];
959
967
  }
960
968
  set hasconfirmationmodal(e) {
961
- this.$$set({ hasconfirmationmodal: e }), A();
969
+ this.$$set({ hasconfirmationmodal: e }), H();
962
970
  }
963
971
  }
964
- Ee(Ke, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
972
+ qe(Ve, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
965
973
  export {
966
- Ke as default
974
+ Ve as default
967
975
  };