@everymatrix/player-account-controller 1.86.29 → 1.86.30

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