@everymatrix/player-account-controller 1.86.28 → 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.
- package/components/{PlayerAccountController-CAYFIoUH.js → PlayerAccountController-B6ufu0A4.js} +1 -1
- package/components/{PlayerAccountController-CJ_MmKAa.js → PlayerAccountController-BuVHdKta.js} +1 -1
- package/components/{PlayerAccountController-DmGmIzjU.cjs → PlayerAccountController-DxCNQgkW.cjs} +1 -1
- package/components/{PlayerAccountTimeout-DML3GL0q.js → PlayerAccountTimeout-C9O4NioS.js} +178 -171
- package/components/{PlayerAccountTimeout-B3nTHnGv.js → PlayerAccountTimeout-D4YrWozr.js} +178 -171
- package/components/PlayerAccountTimeout-aMjGDBOS.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountTimeout-DlmuOZH4.cjs +0 -1
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import {
|
|
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
|
|
3
|
+
import { d as se } from "./PlayerAccountProductRestriction-D5TZl8TF.js";
|
|
4
4
|
import "../stencil/ui-skeleton-CTFP1U_H.js";
|
|
5
|
-
function
|
|
6
|
-
|
|
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
|
|
9
|
-
|
|
13
|
+
function Be(o) {
|
|
14
|
+
ee.set(o);
|
|
10
15
|
}
|
|
11
|
-
const
|
|
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
|
|
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
|
|
226
|
-
const
|
|
227
|
-
return
|
|
230
|
+
function ce(o, e, t) {
|
|
231
|
+
const n = o.slice();
|
|
232
|
+
return n[43] = e[t].value, n;
|
|
228
233
|
}
|
|
229
|
-
function
|
|
230
|
-
let e, t,
|
|
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,
|
|
274
|
+
), h, d, f, D, I, P, w, x = (
|
|
270
275
|
/*$_*/
|
|
271
276
|
o[18]("save") + ""
|
|
272
|
-
), j, Y, z, F, W, J,
|
|
277
|
+
), j, Y, z, F, W, J, E, V, U = (
|
|
273
278
|
/*isMobile*/
|
|
274
|
-
o[19] &&
|
|
275
|
-
), B =
|
|
279
|
+
o[19] && Ye(o)
|
|
280
|
+
), B = ne(
|
|
276
281
|
/*timeoutOptions*/
|
|
277
282
|
o[10]
|
|
278
|
-
),
|
|
279
|
-
for (let
|
|
280
|
-
|
|
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] &&
|
|
288
|
+
o[12] && de(o)
|
|
284
289
|
);
|
|
285
290
|
return {
|
|
286
291
|
c() {
|
|
287
|
-
e = c("form"), U && U.c(), t = S(),
|
|
288
|
-
for (let
|
|
289
|
-
|
|
290
|
-
D = S(), O && O.c(), I = S(), P = c("div"),
|
|
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 &&
|
|
299
|
+
o[11] === void 0 && Pe(() => (
|
|
295
300
|
/*select_change_handler*/
|
|
296
301
|
o[27].call(f)
|
|
297
|
-
)), p(d, "class", "TimeoutSelectWrapper"), p(
|
|
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(
|
|
342
|
-
q(
|
|
343
|
-
for (let C = 0; C <
|
|
344
|
-
|
|
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,
|
|
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
|
-
|
|
369
|
+
w,
|
|
365
370
|
"click",
|
|
366
371
|
/*click_handler_1*/
|
|
367
372
|
o[29]
|
|
368
373
|
)
|
|
369
|
-
],
|
|
374
|
+
], E = !0);
|
|
370
375
|
},
|
|
371
|
-
p(
|
|
376
|
+
p(r, v) {
|
|
372
377
|
if (
|
|
373
378
|
/*isMobile*/
|
|
374
|
-
|
|
379
|
+
r[19] && U.p(r, v), v[0] & /*$_*/
|
|
375
380
|
262144 && s !== (s = /*$_*/
|
|
376
|
-
|
|
381
|
+
r[18]("titleTimeout") + "") && N(u, s), v[0] & /*$_, operator, baseurl, lang*/
|
|
377
382
|
262211 && k !== (k = /*$_*/
|
|
378
|
-
|
|
383
|
+
r[18]("timeoutTextFirst", {
|
|
379
384
|
values: {
|
|
380
385
|
operatorname: (
|
|
381
386
|
/*operator*/
|
|
382
|
-
|
|
387
|
+
r[0]
|
|
383
388
|
),
|
|
384
389
|
baseurl: (
|
|
385
390
|
/*baseurl*/
|
|
386
|
-
|
|
391
|
+
r[6]
|
|
387
392
|
),
|
|
388
393
|
lang: (
|
|
389
394
|
/*lang*/
|
|
390
|
-
|
|
395
|
+
r[1]
|
|
391
396
|
)
|
|
392
397
|
}
|
|
393
398
|
}) + "") && (g.innerHTML = k), v[0] & /*$_, supportemail, baseurl, lang*/
|
|
394
399
|
262242 && T !== (T = /*$_*/
|
|
395
|
-
|
|
400
|
+
r[18]("timeoutTextSecondary", {
|
|
396
401
|
values: {
|
|
397
402
|
supportemail: (
|
|
398
403
|
/*supportemail*/
|
|
399
|
-
|
|
404
|
+
r[5]
|
|
400
405
|
),
|
|
401
406
|
baseurl: (
|
|
402
407
|
/*baseurl*/
|
|
403
|
-
|
|
408
|
+
r[6]
|
|
404
409
|
),
|
|
405
410
|
lang: (
|
|
406
411
|
/*lang*/
|
|
407
|
-
|
|
412
|
+
r[1]
|
|
408
413
|
)
|
|
409
414
|
}
|
|
410
415
|
}) + "") && (_.innerHTML = T), v[0] & /*timeoutOptions, $_*/
|
|
411
416
|
263168
|
|
412
417
|
) {
|
|
413
|
-
B =
|
|
418
|
+
B = ne(
|
|
414
419
|
/*timeoutOptions*/
|
|
415
|
-
|
|
420
|
+
r[10]
|
|
416
421
|
);
|
|
417
422
|
let C;
|
|
418
423
|
for (C = 0; C < B.length; C += 1) {
|
|
419
|
-
const Z =
|
|
420
|
-
|
|
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 <
|
|
423
|
-
|
|
424
|
-
|
|
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
|
-
|
|
435
|
+
r[11]
|
|
431
436
|
), /*isUntilDate*/
|
|
432
|
-
|
|
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
|
-
|
|
439
|
+
r[18]("save") + "") && N(j, x), v[0] & /*$_*/
|
|
435
440
|
262144 && W !== (W = /*$_*/
|
|
436
|
-
|
|
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
|
-
|
|
446
|
+
r[16]
|
|
442
447
|
), v[0] & /*timeoutSelected, timeoutExpiryDate, timeoutOptions*/
|
|
443
448
|
11264 && J !== (J = {
|
|
444
449
|
timeoutSelected: (
|
|
445
450
|
/*timeoutSelected*/
|
|
446
|
-
|
|
451
|
+
r[11]
|
|
447
452
|
),
|
|
448
453
|
timeoutExpiryDate: (
|
|
449
454
|
/*timeoutExpiryDate*/
|
|
450
|
-
|
|
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
|
-
|
|
462
|
+
r[4]
|
|
458
463
|
), v[0] & /*lang*/
|
|
459
464
|
2 && l(
|
|
460
465
|
F,
|
|
461
466
|
"lang",
|
|
462
467
|
/*lang*/
|
|
463
|
-
|
|
468
|
+
r[1]
|
|
464
469
|
), v[0] & /*clientstyling*/
|
|
465
470
|
4 && l(
|
|
466
471
|
z,
|
|
467
472
|
"clientstyling",
|
|
468
473
|
/*clientstyling*/
|
|
469
|
-
|
|
474
|
+
r[2]
|
|
470
475
|
), v[0] & /*clientstylingurl*/
|
|
471
476
|
8 && l(
|
|
472
477
|
z,
|
|
473
478
|
"clientstylingurl",
|
|
474
479
|
/*clientstylingurl*/
|
|
475
|
-
|
|
480
|
+
r[3]
|
|
476
481
|
), v[0] & /*mbsource*/
|
|
477
482
|
16 && l(
|
|
478
483
|
z,
|
|
479
484
|
"mbsource",
|
|
480
485
|
/*mbsource*/
|
|
481
|
-
|
|
486
|
+
r[4]
|
|
482
487
|
);
|
|
483
488
|
},
|
|
484
|
-
d(
|
|
485
|
-
|
|
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
|
|
490
|
-
let e, t,
|
|
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] ?
|
|
499
|
+
x[19] ? Ge : Je
|
|
495
500
|
);
|
|
496
501
|
}
|
|
497
|
-
let
|
|
502
|
+
let w = I(o)(o);
|
|
498
503
|
return {
|
|
499
504
|
c() {
|
|
500
|
-
e = c("div"),
|
|
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%"),
|
|
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%"),
|
|
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(
|
|
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),
|
|
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:
|
|
547
|
+
p: oe,
|
|
543
548
|
d(x) {
|
|
544
|
-
x &&
|
|
549
|
+
x && A(e), w.d();
|
|
545
550
|
}
|
|
546
551
|
};
|
|
547
552
|
}
|
|
548
|
-
function
|
|
549
|
-
let e, t,
|
|
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"),
|
|
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,
|
|
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 &&
|
|
576
|
+
f && A(e), h = !1, d();
|
|
572
577
|
}
|
|
573
578
|
};
|
|
574
579
|
}
|
|
575
|
-
function
|
|
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
|
-
),
|
|
587
|
+
), n, s;
|
|
583
588
|
return {
|
|
584
589
|
c() {
|
|
585
|
-
e = c("option"),
|
|
586
|
-
o[43],
|
|
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,
|
|
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(
|
|
602
|
+
) + "") && N(n, t), m[0] & /*timeoutOptions*/
|
|
598
603
|
1024 && s !== (s = /*value*/
|
|
599
|
-
u[43]) && (e.__value = s,
|
|
604
|
+
u[43]) && (e.__value = s, le(e, e.__value));
|
|
600
605
|
},
|
|
601
606
|
d(u) {
|
|
602
|
-
u &&
|
|
607
|
+
u && A(e);
|
|
603
608
|
}
|
|
604
609
|
};
|
|
605
610
|
}
|
|
606
|
-
function
|
|
607
|
-
let e, t,
|
|
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(
|
|
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 &&
|
|
640
|
-
h[18]("duration") + "") && N(s,
|
|
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 &&
|
|
668
|
+
h && A(e), o[28](null);
|
|
664
669
|
}
|
|
665
670
|
};
|
|
666
671
|
}
|
|
667
|
-
function
|
|
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,
|
|
674
|
-
q(t, e,
|
|
678
|
+
m(t, n) {
|
|
679
|
+
q(t, e, n);
|
|
675
680
|
},
|
|
676
681
|
d(t) {
|
|
677
|
-
t &&
|
|
682
|
+
t && A(e);
|
|
678
683
|
}
|
|
679
684
|
};
|
|
680
685
|
}
|
|
681
|
-
function
|
|
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,
|
|
688
|
-
q(t, e,
|
|
692
|
+
m(t, n) {
|
|
693
|
+
q(t, e, n);
|
|
689
694
|
},
|
|
690
695
|
d(t) {
|
|
691
|
-
t &&
|
|
696
|
+
t && A(e);
|
|
692
697
|
}
|
|
693
698
|
};
|
|
694
699
|
}
|
|
695
|
-
function
|
|
700
|
+
function Ke(o) {
|
|
696
701
|
let e;
|
|
697
702
|
function t(u, m) {
|
|
698
703
|
return (
|
|
699
704
|
/*skeletonLoading*/
|
|
700
|
-
u[17] ?
|
|
705
|
+
u[17] ? Re : Le
|
|
701
706
|
);
|
|
702
707
|
}
|
|
703
|
-
let
|
|
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
|
-
|
|
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:
|
|
715
|
-
o:
|
|
719
|
+
i: oe,
|
|
720
|
+
o: oe,
|
|
716
721
|
d(u) {
|
|
717
|
-
u &&
|
|
722
|
+
u && A(e), s.d(), o[31](null);
|
|
718
723
|
}
|
|
719
724
|
};
|
|
720
725
|
}
|
|
721
|
-
function
|
|
722
|
-
let
|
|
723
|
-
|
|
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
|
|
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
|
-
],
|
|
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
|
-
|
|
752
|
+
ue(L, i[L]);
|
|
746
753
|
});
|
|
747
754
|
}).catch((i) => {
|
|
748
755
|
console.log(i);
|
|
749
756
|
});
|
|
750
757
|
};
|
|
751
|
-
Object.keys(
|
|
752
|
-
|
|
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:
|
|
762
|
-
|
|
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,
|
|
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 ?
|
|
778
|
-
},
|
|
779
|
-
i.preventDefault(), W ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) :
|
|
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,
|
|
783
|
-
},
|
|
789
|
+
t(11, w = L), t(13, j = R), r();
|
|
790
|
+
}, r = () => {
|
|
784
791
|
window.postMessage(
|
|
785
792
|
{
|
|
786
793
|
type: "SetPlayerAccountTimeout",
|
|
787
|
-
timeoutSelected:
|
|
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
|
-
|
|
808
|
+
Be(u), U();
|
|
802
809
|
}, Z = () => {
|
|
803
|
-
const i = P.find((L) => L.value ===
|
|
804
|
-
t(12, x = !1), i.dateSelector && (t(12, x = !0), t(14, Y =
|
|
805
|
-
},
|
|
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
|
-
},
|
|
808
|
-
f.addEventListener("change",
|
|
814
|
+
}, pe = () => {
|
|
815
|
+
f.addEventListener("change", te, !1);
|
|
809
816
|
};
|
|
810
|
-
|
|
811
|
-
|
|
817
|
+
xe(() => {
|
|
818
|
+
E && E.removeEventListener("SetPlayerAccountTimeout", O), f && f.removeEventListener("change", te);
|
|
812
819
|
});
|
|
813
|
-
const
|
|
814
|
-
function
|
|
815
|
-
|
|
820
|
+
const he = () => v();
|
|
821
|
+
function ge() {
|
|
822
|
+
w = De(this), t(11, w), t(10, P);
|
|
816
823
|
}
|
|
817
|
-
function
|
|
824
|
+
function Te(i) {
|
|
818
825
|
$[i ? "unshift" : "push"](() => {
|
|
819
826
|
f = i, t(8, f);
|
|
820
827
|
});
|
|
821
828
|
}
|
|
822
|
-
const
|
|
823
|
-
function
|
|
829
|
+
const ye = (i) => M(i);
|
|
830
|
+
function ve(i) {
|
|
824
831
|
$[i ? "unshift" : "push"](() => {
|
|
825
|
-
|
|
832
|
+
E = i, t(9, E);
|
|
826
833
|
});
|
|
827
834
|
}
|
|
828
|
-
function
|
|
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 &&
|
|
844
|
+
256 && f && pe(), o.$$.dirty[0] & /*lang*/
|
|
838
845
|
2 && u && C(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
839
|
-
132 && m && d &&
|
|
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 &&
|
|
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
|
-
|
|
861
|
+
E,
|
|
855
862
|
P,
|
|
856
|
-
|
|
863
|
+
w,
|
|
857
864
|
x,
|
|
858
865
|
j,
|
|
859
866
|
Y,
|
|
860
867
|
z,
|
|
861
868
|
F,
|
|
862
869
|
J,
|
|
863
|
-
|
|
870
|
+
n,
|
|
864
871
|
I,
|
|
865
|
-
|
|
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
|
|
886
|
+
class Ve extends Ce {
|
|
880
887
|
constructor(e) {
|
|
881
|
-
super(),
|
|
888
|
+
super(), ke(
|
|
882
889
|
this,
|
|
883
890
|
e,
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
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
|
-
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
968
|
+
this.$$set({ hasconfirmationmodal: e }), H();
|
|
962
969
|
}
|
|
963
970
|
}
|
|
964
|
-
|
|
971
|
+
qe(Ve, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
965
972
|
export {
|
|
966
|
-
|
|
973
|
+
Ve as default
|
|
967
974
|
};
|