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