@everymatrix/player-account-controller 1.72.1 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-BHj50gej.js} +8 -8
- package/components/{GeneralLogout-CYE3twI-.js → GeneralLogout-INWUDrak.js} +8 -8
- package/components/PlayerAccountBettingHistory-6bdMRw7b.js +311 -0
- package/components/PlayerAccountBettingHistory-BG5_gjSl.cjs +1 -0
- package/components/PlayerAccountBettingHistory-DVj3QpKW.js +310 -0
- package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-C5pUACUE.js} +1 -1
- package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-DkxwtpuF.js} +1 -1
- package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-D2ApiUXV.js} +1 -1
- package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-vPc-BArB.js} +1 -1
- package/components/{PlayerAccountController-CqAFUuWU.js → PlayerAccountController-2uMVXSSQ.js} +25 -25
- package/components/{PlayerAccountController-DOrj81a0.js → PlayerAccountController-COFCcEvV.js} +25 -25
- package/components/{PlayerAccountController-BoNq7g_6.cjs → PlayerAccountController-SUrzo8aT.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-B0QALjVi.js → PlayerAccountGamingLimits-BfrumTwY.js} +2 -2
- package/components/{PlayerAccountGamingLimits-C11On8aq.js → PlayerAccountGamingLimits-DlA29Y4p.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-Cg5ndunr.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-D5LstV9w.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js → PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js → PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-B8TPjC1F.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-GRu_2NJ0.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-blI001Nx.js → PlayerAccountGamingLimitsInfoCard-8Ea7IE2K.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js → PlayerAccountGamingLimitsInfoCard-BfD6DDSB.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js → PlayerAccountGamingLimitsPage2Gm16-B02A1fGD.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js → PlayerAccountGamingLimitsPage2Gm16-CnUGDYRk.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-BlVtbm__.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-DPu9x2H3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js → PlayerAccountGamingLimitsWrapper2-CqXn9yDd.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js → PlayerAccountGamingLimitsWrapper2-cJf0myiC.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-DbBEBukz.js → PlayerAccountGeneralConfirmationModal-BksqLS7V.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js → PlayerAccountGeneralConfirmationModal-eHfDDGZk.js} +1 -1
- package/components/{PlayerAccountMenu-_Qnpkznr.js → PlayerAccountMenu-CE6Ej_rV.js} +2 -2
- package/components/{PlayerAccountMenu-T7u8nYfI.js → PlayerAccountMenu-Cp7Edaq0.js} +2 -2
- package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-CrjAmgmN.js} +31 -31
- package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-DYSDyLvm.js} +31 -31
- package/components/PlayerAccountNotifications-Cyle3r2h.cjs +1 -0
- package/components/{PlayerAccountNotifications-BeabE333.js → PlayerAccountNotifications-OyZ1fIUi.js} +21 -21
- package/components/PlayerAccountNotifications-qIJQNyMm.js +363 -0
- package/components/{PlayerAccountProductRestriction-Vl7EIMfJ.js → PlayerAccountProductRestriction-BZ2Y4yzU.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DvqI77xo.js → PlayerAccountProductRestriction-L-vR790T.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-Dq7G7DeK.js → PlayerAccountSelfExclusion-7psd7i6U.js} +229 -230
- package/components/{PlayerAccountSelfExclusion-BUoFSg8L.js → PlayerAccountSelfExclusion-Bd8SgB7m.js} +256 -256
- package/components/{PlayerAccountSelfExclusion-CC2VhBEv.cjs → PlayerAccountSelfExclusion-Dq1gDgcx.cjs} +8 -8
- package/components/{PlayerAccountTimeout-BuNhODT0.cjs → PlayerAccountTimeout-CMLyedNs.cjs} +1 -1
- package/components/{PlayerAccountTimeout-o11NOFXb.js → PlayerAccountTimeout-Dby2FPrP.js} +3 -3
- package/components/{PlayerAccountTimeout-Brl7HCpJ.js → PlayerAccountTimeout-uyeQ1--8.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-Dm5dcrFj.js → PlayerAccountTransactionsHistory-B5-KRVvB.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DMr6unVm.js → PlayerAccountTransactionsHistory-BWsoBgd6.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-BBn9XxCH.cjs → PlayerAccountTransactionsHistory-Bn5gyj5f.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CaQNGq0m.js → PlayerActiveBonuses-C9i5xuOt.js} +2 -2
- package/components/{PlayerActiveBonuses-DX872Zcz.js → PlayerActiveBonuses-Cz3aqMcu.js} +2 -2
- package/components/{PlayerBonusCard-ZY8S04oT.js → PlayerBonusCard-DatoS2En.js} +2 -2
- package/components/{PlayerBonusCard-Cu5bJlh_.js → PlayerBonusCard-lMeM3LSx.js} +2 -2
- package/components/{PlayerBonusHistory-CNQrPTXb.js → PlayerBonusHistory-BUUBhu5n.js} +4 -4
- package/components/{PlayerBonusHistory-IbQagu8m.js → PlayerBonusHistory-BVbwQ0Zf.js} +4 -4
- package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-BUYrlClk.js} +1 -1
- package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-CGqqlwlb.js} +1 -1
- package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-CTxatYEW.js} +1 -1
- package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-DQObc_n_.js} +1 -1
- package/components/{PlayerGamingHistory-DI45HNlI.js → PlayerGamingHistory-BAeIZw2u.js} +4 -4
- package/components/{PlayerGamingHistory-BBZLzVSS.js → PlayerGamingHistory-xZ8szCQB.js} +4 -4
- package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-CuGt7dq1.js} +1 -1
- package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-Dek0JuV2.js} +1 -1
- package/components/{PlayerProfileInfo-C8q-cLYa.js → PlayerProfileInfo-BI4jNmXN.js} +1 -1
- package/components/{PlayerProfileInfo-bwbHpI6M.js → PlayerProfileInfo-C4dNo9s-.js} +1 -1
- package/components/{PlayerRealityCheck-C2w5S2fe.js → PlayerRealityCheck-8KkrG0sn.js} +1 -1
- package/components/{PlayerRealityCheck-BGNjgzIq.js → PlayerRealityCheck-CS9oAjTQ.js} +1 -1
- package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-Cw0GAF5l.js} +1 -1
- package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-D7aVTCre.js} +1 -1
- package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-BPfYoISW.js} +1 -1
- package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-C7mFHGlW.js} +1 -1
- 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/stencil/{checkbox-group-input_15-OwR3eXhS.js → checkbox-group-input_15-BXx2eI5U.js} +453 -453
- package/stencil/{checkbox-group-input_15-Vwz1wSzH.js → checkbox-group-input_15-C6LpSObs.js} +452 -452
- package/stencil/{checkbox-group-input_15-rrNwAy0j.cjs → checkbox-group-input_15-DadoyfRo.cjs} +4 -4
- package/stencil/{index-13661b98-CmRNR-rV.js → index-13661b98-6KjWiAei.js} +1 -1
- package/stencil/{index-13661b98-DhWvmFjk.js → index-13661b98-DMsw1Rqj.js} +1 -1
- package/stencil/{index-13661b98-D5aIg_pY.cjs → index-13661b98-e0g0ZJ4Q.cjs} +1 -1
- package/stencil/{index-1ef3a64c-uiTzpR-U.cjs → index-1ef3a64c-B7_EyQDJ.cjs} +1 -1
- package/stencil/{index-1ef3a64c-B5I86vac.js → index-1ef3a64c-BMK3b66v.js} +1 -1
- package/stencil/{index-1ef3a64c-DqUPq8OL.js → index-1ef3a64c-Cs1oM3tK.js} +1 -1
- package/stencil/{index-9c0f6c58-DmOKHEVq.cjs → index-9c0f6c58-CtHWkW4O.cjs} +1 -1
- package/stencil/{index-9c0f6c58-bxjYqwOi.js → index-9c0f6c58-DxzXe6Kn.js} +1 -1
- package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-Hy2JqCeP.js} +1 -1
- package/stencil/{pam-change-password-dEbTDKG0.js → pam-change-password-CIhfcFNO.js} +1 -1
- package/stencil/{pam-change-password-CV0uMtXO.cjs → pam-change-password-CQIieVFW.cjs} +1 -1
- package/stencil/{pam-change-password-B4zuIndQ.js → pam-change-password-L1xQARTQ.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DAXvLl_6.cjs → pam-change-password-f4a1e7e7-B5NzEtGA.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CNFdEoO5.js → pam-change-password-f4a1e7e7-Br0FC_GU.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BdbrsvWx.js → pam-change-password-f4a1e7e7-bArCapa-.js} +1 -1
- package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BVPPMf62.cjs} +3 -2
- package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BX-zXzBh.js} +2 -1
- package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-CvOTQFbs.js} +2 -1
- package/stencil/user-deposit-withdrawal-B5PikBDs.cjs +72 -0
- package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-BftWiELv.js} +14 -8
- package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-mAQqyXGF.js} +14 -8
- package/components/PlayerAccountBettingHistory-B0IsJ01N.js +0 -328
- package/components/PlayerAccountBettingHistory-BXBMy618.js +0 -329
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountNotifications-B0Nsdovh.js +0 -363
- package/components/PlayerAccountNotifications-aQgcZXcD.cjs +0 -1
- package/stencil/user-deposit-withdrawal-Du59X_-y.cjs +0 -68
package/components/{PlayerAccountSelfExclusion-BUoFSg8L.js → PlayerAccountSelfExclusion-Bd8SgB7m.js}
RENAMED
|
@@ -2,14 +2,14 @@ var Br = Object.defineProperty, Hr = Object.defineProperties;
|
|
|
2
2
|
var $r = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var uo = Object.getOwnPropertySymbols;
|
|
4
4
|
var Yr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var ho = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e,
|
|
5
|
+
var ho = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, kt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
Yr.call(t, e) && ho(o, e, t[e]);
|
|
8
8
|
if (uo)
|
|
9
9
|
for (var e of uo(t))
|
|
10
10
|
jr.call(t, e) && ho(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
12
|
+
}, Pt = (o, t) => Hr(o, $r(t));
|
|
13
13
|
var rt = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
@@ -26,10 +26,10 @@ var rt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a4 as Vr, a5 as Ur, a as Wr, $ as qr, S as Kr, i as Gr, s as Jr, f as
|
|
30
|
-
import { d as xe } from "./PlayerAccountProductRestriction-
|
|
29
|
+
import { a4 as Vr, a5 as Ur, a as Wr, $ as qr, S as Kr, i as Gr, s as Jr, f as ie, b as Xr, n as _i, d as de, h as he, k as w, p as Zr, q as Qr, u as en, w as po, j as f, m as O, g as S, Z as Xt, e as E, O as fo, P as tn, r as on, c as ue, o as We, l as zt, t as ne, v as Ee, x as sn, y as rn, z as nn, A as an, B as ln } from "./GeneralLogout-INWUDrak.js";
|
|
30
|
+
import { d as xe } from "./PlayerAccountProductRestriction-L-vR790T.js";
|
|
31
31
|
import "../stencil/ui-skeleton-C_FDz0NJ.js";
|
|
32
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
32
|
+
import "./PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js";
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -87,7 +87,7 @@ let Yi = class {
|
|
|
87
87
|
return this.cssText;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const un = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, $i),
|
|
90
|
+
const un = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, $i), k = (o, ...t) => {
|
|
91
91
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
92
92
|
if (n._$cssResult$ === !0)
|
|
93
93
|
return n.cssText;
|
|
@@ -667,7 +667,7 @@ var ds;
|
|
|
667
667
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
668
668
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
669
669
|
*/
|
|
670
|
-
const
|
|
670
|
+
const kn = (o) => class extends o {
|
|
671
671
|
static get properties() {
|
|
672
672
|
return {
|
|
673
673
|
/**
|
|
@@ -710,7 +710,7 @@ const bs = [], bi = /* @__PURE__ */ new Set(), Vi = /* @__PURE__ */ new Set();
|
|
|
710
710
|
function vs(o) {
|
|
711
711
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Pn(o) {
|
|
714
714
|
return vs(customElements.get(o));
|
|
715
715
|
}
|
|
716
716
|
function Dn(o = []) {
|
|
@@ -770,7 +770,7 @@ function L(o, t, e = {}) {
|
|
|
770
770
|
include: e.include,
|
|
771
771
|
moduleId: e.moduleId
|
|
772
772
|
}), o && Vi.forEach((i) => {
|
|
773
|
-
if (ys(o, i) &&
|
|
773
|
+
if (ys(o, i) && Pn(i)) {
|
|
774
774
|
const s = customElements.get(i);
|
|
775
775
|
In(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
776
776
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
@@ -793,7 +793,7 @@ function Es(o) {
|
|
|
793
793
|
}, o.styles), t;
|
|
794
794
|
}
|
|
795
795
|
function Nn(o) {
|
|
796
|
-
const t = `${o}-default-theme`, e = vi().filter((i) => i.moduleId !== t && ys(i.themeFor, o)).map((i) => kt(
|
|
796
|
+
const t = `${o}-default-theme`, e = vi().filter((i) => i.moduleId !== t && ys(i.themeFor, o)).map((i) => Pt(kt({}, i), {
|
|
797
797
|
// Prepend styles from included themes
|
|
798
798
|
styles: [...Es(i), ...i.styles],
|
|
799
799
|
// Map moduleId to includePriority
|
|
@@ -801,7 +801,7 @@ function Nn(o) {
|
|
|
801
801
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
802
802
|
return e.length > 0 ? e : vi().filter((i) => i.moduleId === t);
|
|
803
803
|
}
|
|
804
|
-
const je = (o) => class extends
|
|
804
|
+
const je = (o) => class extends kn(o) {
|
|
805
805
|
constructor() {
|
|
806
806
|
super(), bi.add(new WeakRef(this));
|
|
807
807
|
}
|
|
@@ -853,7 +853,7 @@ const zn = (o, ...t) => {
|
|
|
853
853
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
854
854
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
855
855
|
*/
|
|
856
|
-
const Ln =
|
|
856
|
+
const Ln = k`
|
|
857
857
|
:host {
|
|
858
858
|
--lumo-size-xs: 1.625rem;
|
|
859
859
|
--lumo-size-s: 1.875rem;
|
|
@@ -875,7 +875,7 @@ ot("sizing-props", Ln);
|
|
|
875
875
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
876
876
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
877
877
|
*/
|
|
878
|
-
const Rn =
|
|
878
|
+
const Rn = k`
|
|
879
879
|
:host {
|
|
880
880
|
/* Square */
|
|
881
881
|
--lumo-space-xs: 0.25rem;
|
|
@@ -905,7 +905,7 @@ ot("spacing-props", Rn);
|
|
|
905
905
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
906
906
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
907
907
|
*/
|
|
908
|
-
const Bn =
|
|
908
|
+
const Bn = k`
|
|
909
909
|
:host {
|
|
910
910
|
/* Border radius */
|
|
911
911
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -923,7 +923,7 @@ const Bn = P`
|
|
|
923
923
|
--lumo-clickable-cursor: default;
|
|
924
924
|
}
|
|
925
925
|
`;
|
|
926
|
-
|
|
926
|
+
k`
|
|
927
927
|
html {
|
|
928
928
|
/* Button */
|
|
929
929
|
--vaadin-button-background: var(--lumo-contrast-5pct);
|
|
@@ -1013,7 +1013,7 @@ ot("style-props", Bn);
|
|
|
1013
1013
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1014
1014
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1015
1015
|
*/
|
|
1016
|
-
const Hn =
|
|
1016
|
+
const Hn = k`
|
|
1017
1017
|
:host {
|
|
1018
1018
|
/* Base (background) */
|
|
1019
1019
|
--lumo-base-color: #fff;
|
|
@@ -1100,7 +1100,7 @@ const Hn = P`
|
|
|
1100
1100
|
}
|
|
1101
1101
|
`;
|
|
1102
1102
|
ot("color-props", Hn);
|
|
1103
|
-
const $n =
|
|
1103
|
+
const $n = k`
|
|
1104
1104
|
[theme~='dark'] {
|
|
1105
1105
|
/* Base (background) */
|
|
1106
1106
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1225,7 +1225,7 @@ L("", $n, { moduleId: "lumo-color" });
|
|
|
1225
1225
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1226
1226
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1227
1227
|
*/
|
|
1228
|
-
const Yn =
|
|
1228
|
+
const Yn = k`
|
|
1229
1229
|
:host {
|
|
1230
1230
|
/* prettier-ignore */
|
|
1231
1231
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1245,7 +1245,7 @@ const Yn = P`
|
|
|
1245
1245
|
--lumo-line-height-s: 1.375;
|
|
1246
1246
|
--lumo-line-height-m: 1.625;
|
|
1247
1247
|
}
|
|
1248
|
-
`, jn =
|
|
1248
|
+
`, jn = k`
|
|
1249
1249
|
body,
|
|
1250
1250
|
:host {
|
|
1251
1251
|
font-family: var(--lumo-font-family);
|
|
@@ -1345,7 +1345,7 @@ ot("typography-props", Yn);
|
|
|
1345
1345
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1346
1346
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1347
1347
|
*/
|
|
1348
|
-
const Ss =
|
|
1348
|
+
const Ss = k`
|
|
1349
1349
|
:host {
|
|
1350
1350
|
top: var(--lumo-space-m);
|
|
1351
1351
|
right: var(--lumo-space-m);
|
|
@@ -1417,7 +1417,7 @@ L("", Ss, { moduleId: "lumo-overlay" });
|
|
|
1417
1417
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1418
1418
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1419
1419
|
*/
|
|
1420
|
-
const As =
|
|
1420
|
+
const As = k`
|
|
1421
1421
|
:host([opening]),
|
|
1422
1422
|
:host([closing]) {
|
|
1423
1423
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1449,7 +1449,7 @@ const As = P`
|
|
|
1449
1449
|
}
|
|
1450
1450
|
`;
|
|
1451
1451
|
L("", As, { moduleId: "lumo-menu-overlay-core" });
|
|
1452
|
-
const Vn =
|
|
1452
|
+
const Vn = k`
|
|
1453
1453
|
/* Small viewport (bottom sheet) styles */
|
|
1454
1454
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1455
1455
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1513,7 +1513,7 @@ const Vn = P`
|
|
|
1513
1513
|
}
|
|
1514
1514
|
`, Cs = [Ss, As, Vn];
|
|
1515
1515
|
L("", Cs, { moduleId: "lumo-menu-overlay" });
|
|
1516
|
-
const Un =
|
|
1516
|
+
const Un = k`
|
|
1517
1517
|
[part='overlay'] {
|
|
1518
1518
|
/*
|
|
1519
1519
|
Width:
|
|
@@ -1562,7 +1562,7 @@ const Un = P`
|
|
|
1562
1562
|
L("vaadin-date-picker-overlay", [Cs, Un], {
|
|
1563
1563
|
moduleId: "lumo-date-picker-overlay"
|
|
1564
1564
|
});
|
|
1565
|
-
const Wn =
|
|
1565
|
+
const Wn = k`
|
|
1566
1566
|
:host {
|
|
1567
1567
|
/* Sizing */
|
|
1568
1568
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1842,7 +1842,7 @@ const Wn = P`
|
|
|
1842
1842
|
L("vaadin-button", Wn, { moduleId: "lumo-button" });
|
|
1843
1843
|
L(
|
|
1844
1844
|
"vaadin-date-picker-year",
|
|
1845
|
-
|
|
1845
|
+
k`
|
|
1846
1846
|
:host([current]) [part='year-number'] {
|
|
1847
1847
|
color: var(--lumo-primary-text-color);
|
|
1848
1848
|
}
|
|
@@ -1871,7 +1871,7 @@ L(
|
|
|
1871
1871
|
);
|
|
1872
1872
|
L(
|
|
1873
1873
|
"vaadin-date-picker-overlay-content",
|
|
1874
|
-
|
|
1874
|
+
k`
|
|
1875
1875
|
:host {
|
|
1876
1876
|
position: relative;
|
|
1877
1877
|
/* Background for the year scroller, placed here as we are using a mask image on the actual years part */
|
|
@@ -2026,7 +2026,7 @@ L(
|
|
|
2026
2026
|
);
|
|
2027
2027
|
L(
|
|
2028
2028
|
"vaadin-month-calendar",
|
|
2029
|
-
|
|
2029
|
+
k`
|
|
2030
2030
|
:host {
|
|
2031
2031
|
-moz-user-select: none;
|
|
2032
2032
|
-webkit-user-select: none;
|
|
@@ -2178,7 +2178,7 @@ L(
|
|
|
2178
2178
|
);
|
|
2179
2179
|
L(
|
|
2180
2180
|
"vaadin-input-container",
|
|
2181
|
-
|
|
2181
|
+
k`
|
|
2182
2182
|
:host {
|
|
2183
2183
|
background: var(--_background);
|
|
2184
2184
|
padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
|
|
@@ -2364,7 +2364,7 @@ L(
|
|
|
2364
2364
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2365
2365
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2366
2366
|
*/
|
|
2367
|
-
const qn =
|
|
2367
|
+
const qn = k`
|
|
2368
2368
|
@font-face {
|
|
2369
2369
|
font-family: 'lumo-icons';
|
|
2370
2370
|
src: url(data:application/font-woff;charset=utf-8;base64,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)
|
|
@@ -2424,7 +2424,7 @@ ot("font-icons", qn);
|
|
|
2424
2424
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2425
2425
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2426
2426
|
*/
|
|
2427
|
-
const
|
|
2427
|
+
const ks = k`
|
|
2428
2428
|
[part$='button'] {
|
|
2429
2429
|
flex: none;
|
|
2430
2430
|
width: 1em;
|
|
@@ -2452,13 +2452,13 @@ const Ps = P`
|
|
|
2452
2452
|
display: block;
|
|
2453
2453
|
}
|
|
2454
2454
|
`;
|
|
2455
|
-
L("",
|
|
2455
|
+
L("", ks, { moduleId: "lumo-field-button" });
|
|
2456
2456
|
/**
|
|
2457
2457
|
* @license
|
|
2458
2458
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2459
2459
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2460
2460
|
*/
|
|
2461
|
-
const Kn =
|
|
2461
|
+
const Kn = k`
|
|
2462
2462
|
:host {
|
|
2463
2463
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2464
2464
|
}
|
|
@@ -2520,7 +2520,7 @@ const Kn = P`
|
|
|
2520
2520
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2521
2521
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2522
2522
|
*/
|
|
2523
|
-
const
|
|
2523
|
+
const Ps = k`
|
|
2524
2524
|
[part='label'] {
|
|
2525
2525
|
align-self: flex-start;
|
|
2526
2526
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2633,13 +2633,13 @@ const ks = P`
|
|
|
2633
2633
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2634
2634
|
}
|
|
2635
2635
|
`;
|
|
2636
|
-
L("",
|
|
2636
|
+
L("", Ps, { moduleId: "lumo-required-field" });
|
|
2637
2637
|
/**
|
|
2638
2638
|
* @license
|
|
2639
2639
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2640
2640
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2641
2641
|
*/
|
|
2642
|
-
const Gn =
|
|
2642
|
+
const Gn = k`
|
|
2643
2643
|
:host {
|
|
2644
2644
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2645
2645
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2770,11 +2770,11 @@ const Gn = P`
|
|
|
2770
2770
|
[part='clear-button']::before {
|
|
2771
2771
|
content: var(--lumo-icons-cross);
|
|
2772
2772
|
}
|
|
2773
|
-
`, Ds = [
|
|
2773
|
+
`, Ds = [Ps, ks, Kn, Gn];
|
|
2774
2774
|
L("", Ds, {
|
|
2775
2775
|
moduleId: "lumo-input-field-shared-styles"
|
|
2776
2776
|
});
|
|
2777
|
-
const Jn =
|
|
2777
|
+
const Jn = k`
|
|
2778
2778
|
[part='toggle-button']::before {
|
|
2779
2779
|
content: var(--lumo-icons-calendar);
|
|
2780
2780
|
}
|
|
@@ -2922,10 +2922,10 @@ Code distributed by Google as part of the polymer project is also
|
|
|
2922
2922
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2923
2923
|
*/
|
|
2924
2924
|
let qi = {}, Is = {};
|
|
2925
|
-
function
|
|
2925
|
+
function ko(o, t) {
|
|
2926
2926
|
qi[o] = Is[o.toLowerCase()] = t;
|
|
2927
2927
|
}
|
|
2928
|
-
function
|
|
2928
|
+
function Po(o) {
|
|
2929
2929
|
return qi[o] || Is[o.toLowerCase()];
|
|
2930
2930
|
}
|
|
2931
2931
|
function aa(o) {
|
|
@@ -2949,7 +2949,7 @@ class vt extends HTMLElement {
|
|
|
2949
2949
|
*/
|
|
2950
2950
|
static import(t, e) {
|
|
2951
2951
|
if (t) {
|
|
2952
|
-
let i =
|
|
2952
|
+
let i = Po(t);
|
|
2953
2953
|
return i && e ? i.querySelector(e) : i;
|
|
2954
2954
|
}
|
|
2955
2955
|
return null;
|
|
@@ -2997,9 +2997,9 @@ class vt extends HTMLElement {
|
|
|
2997
2997
|
*/
|
|
2998
2998
|
register(t) {
|
|
2999
2999
|
if (t = t || this.id, t) {
|
|
3000
|
-
if (Ht &&
|
|
3001
|
-
throw
|
|
3002
|
-
this.id = t,
|
|
3000
|
+
if (Ht && Po(t) !== void 0)
|
|
3001
|
+
throw ko(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3002
|
+
this.id = t, ko(t, this), aa(this);
|
|
3003
3003
|
}
|
|
3004
3004
|
}
|
|
3005
3005
|
}
|
|
@@ -3100,7 +3100,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3100
3100
|
Code distributed by Google as part of the polymer project is also
|
|
3101
3101
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3102
3102
|
*/
|
|
3103
|
-
const
|
|
3103
|
+
const J = window.ShadyDOM && window.ShadyDOM.noPatch && window.ShadyDOM.wrap ? window.ShadyDOM.wrap : window.ShadyDOM ? (o) => ShadyDOM.patch(o) : (o) => o;
|
|
3104
3104
|
/**
|
|
3105
3105
|
@license
|
|
3106
3106
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3144,7 +3144,7 @@ function dt(o) {
|
|
|
3144
3144
|
function Rs(o) {
|
|
3145
3145
|
return Array.isArray(o) ? dt(o).split(".") : o.toString().split(".");
|
|
3146
3146
|
}
|
|
3147
|
-
function
|
|
3147
|
+
function re(o, t, e) {
|
|
3148
3148
|
let i = o, s = Rs(t);
|
|
3149
3149
|
for (let r = 0; r < s.length; r++) {
|
|
3150
3150
|
if (!i)
|
|
@@ -3659,7 +3659,7 @@ const ya = Ys, js = U(
|
|
|
3659
3659
|
_valueToNodeAttribute(i, s, r) {
|
|
3660
3660
|
const n = this._serializeValue(s);
|
|
3661
3661
|
(r === "class" || r === "name" || r === "slot") && (i = /** @type {?Element} */
|
|
3662
|
-
|
|
3662
|
+
J(i)), n === void 0 ? i.removeAttribute(r) : i.setAttribute(
|
|
3663
3663
|
r,
|
|
3664
3664
|
// Closure's type for `setAttribute`'s second parameter incorrectly
|
|
3665
3665
|
// excludes `TrustedScript`.
|
|
@@ -3968,7 +3968,7 @@ function Aa() {
|
|
|
3968
3968
|
function Ca(o) {
|
|
3969
3969
|
Aa() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3970
3970
|
}
|
|
3971
|
-
const
|
|
3971
|
+
const ka = (() => {
|
|
3972
3972
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3973
3973
|
"polymer-template-event-attribute-policy",
|
|
3974
3974
|
{
|
|
@@ -3987,13 +3987,13 @@ const Pa = (() => {
|
|
|
3987
3987
|
t.setAttribute(i, s);
|
|
3988
3988
|
};
|
|
3989
3989
|
})();
|
|
3990
|
-
function
|
|
3990
|
+
function Pa(o) {
|
|
3991
3991
|
let t = o.getAttribute("is");
|
|
3992
3992
|
if (t && Sa[t]) {
|
|
3993
3993
|
let e = o;
|
|
3994
3994
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3995
3995
|
const { name: i } = e.attributes[0];
|
|
3996
|
-
|
|
3996
|
+
ka(o, e, i), e.removeAttribute(i);
|
|
3997
3997
|
}
|
|
3998
3998
|
}
|
|
3999
3999
|
return o;
|
|
@@ -4168,7 +4168,7 @@ const Ia = U(
|
|
|
4168
4168
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4169
4169
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4170
4170
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4171
|
-
if (n.localName == "template" && (n =
|
|
4171
|
+
if (n.localName == "template" && (n = Pa(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4172
4172
|
let u = l;
|
|
4173
4173
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4174
4174
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4368,7 +4368,7 @@ const Ia = U(
|
|
|
4368
4368
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4369
4369
|
*/
|
|
4370
4370
|
let wt = 0;
|
|
4371
|
-
const Et = [],
|
|
4371
|
+
const Et = [], P = {
|
|
4372
4372
|
COMPUTE: "__computeEffects",
|
|
4373
4373
|
REFLECT: "__reflectEffects",
|
|
4374
4374
|
NOTIFY: "__notifyEffects",
|
|
@@ -4424,7 +4424,7 @@ function Fo(o, t, e, i, s) {
|
|
|
4424
4424
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4425
4425
|
}
|
|
4426
4426
|
function za(o, t, e, i, s) {
|
|
4427
|
-
let r = o[
|
|
4427
|
+
let r = o[P.NOTIFY], n, a = wt++;
|
|
4428
4428
|
for (let c in t)
|
|
4429
4429
|
t[c] && (r && Na(o, r, a, c, e, i, s) || s && La(o, c, e)) && (n = !0);
|
|
4430
4430
|
let l;
|
|
@@ -4443,13 +4443,13 @@ function qs(o, t, e, i) {
|
|
|
4443
4443
|
value: e,
|
|
4444
4444
|
queueProperty: !0
|
|
4445
4445
|
};
|
|
4446
|
-
i && (s.path = i),
|
|
4446
|
+
i && (s.path = i), J(
|
|
4447
4447
|
/** @type {!HTMLElement} */
|
|
4448
4448
|
o
|
|
4449
4449
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4450
4450
|
}
|
|
4451
4451
|
function Ra(o, t, e, i, s, r) {
|
|
4452
|
-
let a = (r ? Ve(t) : t) != t ? t : null, l = a ?
|
|
4452
|
+
let a = (r ? Ve(t) : t) != t ? t : null, l = a ? re(o, a) : o.__data[t];
|
|
4453
4453
|
a && l === void 0 && (l = e[t]), qs(o, s.eventName, l, a);
|
|
4454
4454
|
}
|
|
4455
4455
|
function Ba(o, t, e, i, s) {
|
|
@@ -4457,7 +4457,7 @@ function Ba(o, t, e, i, s) {
|
|
|
4457
4457
|
/** @type {Object} */
|
|
4458
4458
|
o.detail
|
|
4459
4459
|
), a = n && n.path;
|
|
4460
|
-
a ? (i = xt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[
|
|
4460
|
+
a ? (i = xt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[P.READ_ONLY] || !t[P.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4461
4461
|
}
|
|
4462
4462
|
function Ha(o, t, e, i, s) {
|
|
4463
4463
|
let r = o.__data[t];
|
|
@@ -4470,7 +4470,7 @@ function Ha(o, t, e, i, s) {
|
|
|
4470
4470
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4471
4471
|
}
|
|
4472
4472
|
function $a(o, t, e, i) {
|
|
4473
|
-
let s = o[
|
|
4473
|
+
let s = o[P.COMPUTE];
|
|
4474
4474
|
if (s)
|
|
4475
4475
|
if (oa) {
|
|
4476
4476
|
wt++;
|
|
@@ -4529,7 +4529,7 @@ function ja(o) {
|
|
|
4529
4529
|
let t = o.constructor.__orderedComputedDeps;
|
|
4530
4530
|
if (!t) {
|
|
4531
4531
|
t = /* @__PURE__ */ new Map();
|
|
4532
|
-
const e = o[
|
|
4532
|
+
const e = o[P.COMPUTE];
|
|
4533
4533
|
let { counts: i, ready: s, total: r } = Va(o), n;
|
|
4534
4534
|
for (; n = s.shift(); ) {
|
|
4535
4535
|
t.set(n, t.size);
|
|
@@ -4545,7 +4545,7 @@ function ja(o) {
|
|
|
4545
4545
|
return t;
|
|
4546
4546
|
}
|
|
4547
4547
|
function Va(o) {
|
|
4548
|
-
const t = o[Ws], e = {}, i = o[
|
|
4548
|
+
const t = o[Ws], e = {}, i = o[P.COMPUTE], s = [];
|
|
4549
4549
|
let r = 0;
|
|
4550
4550
|
for (let n in t) {
|
|
4551
4551
|
const a = t[n];
|
|
@@ -4621,7 +4621,7 @@ function Ka(o, t, e, i, s) {
|
|
|
4621
4621
|
);
|
|
4622
4622
|
else {
|
|
4623
4623
|
let r = e.target;
|
|
4624
|
-
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[
|
|
4624
|
+
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[P.READ_ONLY] || !t[P.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4625
4625
|
}
|
|
4626
4626
|
}
|
|
4627
4627
|
function Ga(o, t, e, i) {
|
|
@@ -4653,7 +4653,7 @@ function Za(o, t) {
|
|
|
4653
4653
|
for (let n = 0; n < i.length; n++)
|
|
4654
4654
|
s[n] = i[n].literal;
|
|
4655
4655
|
let r = t.target;
|
|
4656
|
-
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o =
|
|
4656
|
+
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = J(o)), o[r] = t.literal);
|
|
4657
4657
|
}
|
|
4658
4658
|
}
|
|
4659
4659
|
function Qa(o, t, e) {
|
|
@@ -4736,7 +4736,7 @@ function Js(o) {
|
|
|
4736
4736
|
return e.literal || (e.rootProperty = Ve(t), e.structured = xi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4737
4737
|
}
|
|
4738
4738
|
function Ho(o, t, e) {
|
|
4739
|
-
let i =
|
|
4739
|
+
let i = re(o, e);
|
|
4740
4740
|
return i === void 0 && (i = t[e]), i;
|
|
4741
4741
|
}
|
|
4742
4742
|
function Xs(o, t, e, i) {
|
|
@@ -4762,7 +4762,7 @@ const Gi = U((o) => {
|
|
|
4762
4762
|
super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
|
|
4763
4763
|
}
|
|
4764
4764
|
get PROPERTY_EFFECT_TYPES() {
|
|
4765
|
-
return
|
|
4765
|
+
return P;
|
|
4766
4766
|
}
|
|
4767
4767
|
/**
|
|
4768
4768
|
* @override
|
|
@@ -4798,7 +4798,7 @@ const Gi = U((o) => {
|
|
|
4798
4798
|
* @return {void}
|
|
4799
4799
|
*/
|
|
4800
4800
|
_initializeInstanceProperties(s) {
|
|
4801
|
-
let r = this[
|
|
4801
|
+
let r = this[P.READ_ONLY];
|
|
4802
4802
|
for (let n in s)
|
|
4803
4803
|
(!r || !r[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = s[n]);
|
|
4804
4804
|
}
|
|
@@ -4816,7 +4816,7 @@ const Gi = U((o) => {
|
|
|
4816
4816
|
* @protected
|
|
4817
4817
|
*/
|
|
4818
4818
|
_addPropertyEffect(s, r, n) {
|
|
4819
|
-
this._createPropertyAccessor(s, r ==
|
|
4819
|
+
this._createPropertyAccessor(s, r == P.READ_ONLY);
|
|
4820
4820
|
let a = ii(this, r, !0)[s];
|
|
4821
4821
|
a || (a = this[r][s] = []), a.push(n);
|
|
4822
4822
|
}
|
|
@@ -4859,7 +4859,7 @@ const Gi = U((o) => {
|
|
|
4859
4859
|
* @protected
|
|
4860
4860
|
*/
|
|
4861
4861
|
_hasReadOnlyEffect(s) {
|
|
4862
|
-
return this._hasPropertyEffect(s,
|
|
4862
|
+
return this._hasPropertyEffect(s, P.READ_ONLY);
|
|
4863
4863
|
}
|
|
4864
4864
|
/**
|
|
4865
4865
|
* Returns whether the current prototype/instance has a "notify"
|
|
@@ -4872,7 +4872,7 @@ const Gi = U((o) => {
|
|
|
4872
4872
|
* @protected
|
|
4873
4873
|
*/
|
|
4874
4874
|
_hasNotifyEffect(s) {
|
|
4875
|
-
return this._hasPropertyEffect(s,
|
|
4875
|
+
return this._hasPropertyEffect(s, P.NOTIFY);
|
|
4876
4876
|
}
|
|
4877
4877
|
/**
|
|
4878
4878
|
* Returns whether the current prototype/instance has a "reflect to
|
|
@@ -4885,7 +4885,7 @@ const Gi = U((o) => {
|
|
|
4885
4885
|
* @protected
|
|
4886
4886
|
*/
|
|
4887
4887
|
_hasReflectEffect(s) {
|
|
4888
|
-
return this._hasPropertyEffect(s,
|
|
4888
|
+
return this._hasPropertyEffect(s, P.REFLECT);
|
|
4889
4889
|
}
|
|
4890
4890
|
/**
|
|
4891
4891
|
* Returns whether the current prototype/instance has a "computed"
|
|
@@ -4898,7 +4898,7 @@ const Gi = U((o) => {
|
|
|
4898
4898
|
* @protected
|
|
4899
4899
|
*/
|
|
4900
4900
|
_hasComputedEffect(s) {
|
|
4901
|
-
return this._hasPropertyEffect(s,
|
|
4901
|
+
return this._hasPropertyEffect(s, P.COMPUTE);
|
|
4902
4902
|
}
|
|
4903
4903
|
// Runtime ----------------------------------------
|
|
4904
4904
|
/**
|
|
@@ -4933,7 +4933,7 @@ const Gi = U((o) => {
|
|
|
4933
4933
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
4934
4934
|
if (a || Ve(Array.isArray(s) ? s[0] : s) !== s) {
|
|
4935
4935
|
if (!a) {
|
|
4936
|
-
let l =
|
|
4936
|
+
let l = re(this, s);
|
|
4937
4937
|
if (s = /** @type {string} */
|
|
4938
4938
|
Mo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4939
4939
|
return !1;
|
|
@@ -4986,7 +4986,7 @@ const Gi = U((o) => {
|
|
|
4986
4986
|
*/
|
|
4987
4987
|
_setUnmanagedPropertyToNode(s, r, n) {
|
|
4988
4988
|
(n !== s[r] || typeof n == "object") && (r === "className" && (s = /** @type {!Node} */
|
|
4989
|
-
|
|
4989
|
+
J(s)), s[r] = n);
|
|
4990
4990
|
}
|
|
4991
4991
|
/**
|
|
4992
4992
|
* Overrides the `PropertiesChanged` implementation to introduce special
|
|
@@ -5025,7 +5025,7 @@ const Gi = U((o) => {
|
|
|
5025
5025
|
*/
|
|
5026
5026
|
_setPendingProperty(s, r, n) {
|
|
5027
5027
|
let a = this.__dataHasPaths && xi(s), l = a ? this.__dataTemp : this.__data;
|
|
5028
|
-
return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[
|
|
5028
|
+
return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[P.NOTIFY] && this[P.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5029
5029
|
}
|
|
5030
5030
|
/**
|
|
5031
5031
|
* Overrides base implementation to ensure all accessors set `shouldNotify`
|
|
@@ -5127,7 +5127,7 @@ const Gi = U((o) => {
|
|
|
5127
5127
|
*/
|
|
5128
5128
|
setProperties(s, r) {
|
|
5129
5129
|
for (let n in s)
|
|
5130
|
-
(r || !this[
|
|
5130
|
+
(r || !this[P.READ_ONLY] || !this[P.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, s[n], !0);
|
|
5131
5131
|
this._invalidateProperties();
|
|
5132
5132
|
}
|
|
5133
5133
|
/**
|
|
@@ -5160,7 +5160,7 @@ const Gi = U((o) => {
|
|
|
5160
5160
|
let a = this.__dataHasPaths;
|
|
5161
5161
|
this.__dataHasPaths = !1;
|
|
5162
5162
|
let l;
|
|
5163
|
-
$a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ht(this, this[
|
|
5163
|
+
$a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ht(this, this[P.REFLECT], r, n, a), ht(this, this[P.OBSERVE], r, n, a), l && za(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5164
5164
|
}
|
|
5165
5165
|
/**
|
|
5166
5166
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5174,7 +5174,7 @@ const Gi = U((o) => {
|
|
|
5174
5174
|
* @protected
|
|
5175
5175
|
*/
|
|
5176
5176
|
_propagatePropertyChanges(s, r, n) {
|
|
5177
|
-
this[
|
|
5177
|
+
this[P.PROPAGATE] && ht(this, this[P.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5178
5178
|
}
|
|
5179
5179
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5180
5180
|
const l = (c, u) => {
|
|
@@ -5255,7 +5255,7 @@ const Gi = U((o) => {
|
|
|
5255
5255
|
notifySplices(s, r) {
|
|
5256
5256
|
let n = { path: "" }, a = (
|
|
5257
5257
|
/** @type {Array} */
|
|
5258
|
-
|
|
5258
|
+
re(this, s, n)
|
|
5259
5259
|
);
|
|
5260
5260
|
Xs(this, a, n.path, r);
|
|
5261
5261
|
}
|
|
@@ -5280,7 +5280,7 @@ const Gi = U((o) => {
|
|
|
5280
5280
|
* @public
|
|
5281
5281
|
*/
|
|
5282
5282
|
get(s, r) {
|
|
5283
|
-
return
|
|
5283
|
+
return re(r || this, s);
|
|
5284
5284
|
}
|
|
5285
5285
|
/**
|
|
5286
5286
|
* Convenience method for setting a value to a path and notifying any
|
|
@@ -5305,7 +5305,7 @@ const Gi = U((o) => {
|
|
|
5305
5305
|
* @public
|
|
5306
5306
|
*/
|
|
5307
5307
|
set(s, r, n) {
|
|
5308
|
-
n ? Mo(n, s, r) : (!this[
|
|
5308
|
+
n ? Mo(n, s, r) : (!this[P.READ_ONLY] || !this[P.READ_ONLY][
|
|
5309
5309
|
/** @type {string} */
|
|
5310
5310
|
s
|
|
5311
5311
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5328,7 +5328,7 @@ const Gi = U((o) => {
|
|
|
5328
5328
|
push(s, ...r) {
|
|
5329
5329
|
let n = { path: "" }, a = (
|
|
5330
5330
|
/** @type {Array}*/
|
|
5331
|
-
|
|
5331
|
+
re(this, s, n)
|
|
5332
5332
|
), l = a.length, c = a.push(...r);
|
|
5333
5333
|
return r.length && at(this, a, n.path, l, r.length, []), c;
|
|
5334
5334
|
}
|
|
@@ -5349,7 +5349,7 @@ const Gi = U((o) => {
|
|
|
5349
5349
|
pop(s) {
|
|
5350
5350
|
let r = { path: "" }, n = (
|
|
5351
5351
|
/** @type {Array} */
|
|
5352
|
-
|
|
5352
|
+
re(this, s, r)
|
|
5353
5353
|
), a = !!n.length, l = n.pop();
|
|
5354
5354
|
return a && at(this, n, r.path, n.length, 0, [l]), l;
|
|
5355
5355
|
}
|
|
@@ -5374,7 +5374,7 @@ const Gi = U((o) => {
|
|
|
5374
5374
|
splice(s, r, n, ...a) {
|
|
5375
5375
|
let l = { path: "" }, c = (
|
|
5376
5376
|
/** @type {Array} */
|
|
5377
|
-
|
|
5377
|
+
re(this, s, l)
|
|
5378
5378
|
);
|
|
5379
5379
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5380
5380
|
let u;
|
|
@@ -5397,7 +5397,7 @@ const Gi = U((o) => {
|
|
|
5397
5397
|
shift(s) {
|
|
5398
5398
|
let r = { path: "" }, n = (
|
|
5399
5399
|
/** @type {Array} */
|
|
5400
|
-
|
|
5400
|
+
re(this, s, r)
|
|
5401
5401
|
), a = !!n.length, l = n.shift();
|
|
5402
5402
|
return a && at(this, n, r.path, 0, 0, [l]), l;
|
|
5403
5403
|
}
|
|
@@ -5419,7 +5419,7 @@ const Gi = U((o) => {
|
|
|
5419
5419
|
unshift(s, ...r) {
|
|
5420
5420
|
let n = { path: "" }, a = (
|
|
5421
5421
|
/** @type {Array} */
|
|
5422
|
-
|
|
5422
|
+
re(this, s, n)
|
|
5423
5423
|
), l = a.unshift(...r);
|
|
5424
5424
|
return r.length && at(this, a, n.path, 0, r.length, []), l;
|
|
5425
5425
|
}
|
|
@@ -5441,7 +5441,7 @@ const Gi = U((o) => {
|
|
|
5441
5441
|
let n;
|
|
5442
5442
|
if (arguments.length == 1) {
|
|
5443
5443
|
let a = { path: "" };
|
|
5444
|
-
r =
|
|
5444
|
+
r = re(this, s, a), n = a.path;
|
|
5445
5445
|
} else
|
|
5446
5446
|
Array.isArray(s) ? n = dt(s) : n = /** @type{string} */
|
|
5447
5447
|
s;
|
|
@@ -5460,7 +5460,7 @@ const Gi = U((o) => {
|
|
|
5460
5460
|
* @protected
|
|
5461
5461
|
*/
|
|
5462
5462
|
_createReadOnlyProperty(s, r) {
|
|
5463
|
-
this._addPropertyEffect(s,
|
|
5463
|
+
this._addPropertyEffect(s, P.READ_ONLY), r && (this["_set" + pl(s)] = /** @this {PropertyEffects} */
|
|
5464
5464
|
function(n) {
|
|
5465
5465
|
this._setProperty(s, n);
|
|
5466
5466
|
});
|
|
@@ -5481,14 +5481,14 @@ const Gi = U((o) => {
|
|
|
5481
5481
|
*/
|
|
5482
5482
|
_createPropertyObserver(s, r, n) {
|
|
5483
5483
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5484
|
-
this._addPropertyEffect(s,
|
|
5484
|
+
this._addPropertyEffect(s, P.OBSERVE, {
|
|
5485
5485
|
fn: Fo,
|
|
5486
5486
|
info: a,
|
|
5487
5487
|
trigger: { name: s }
|
|
5488
5488
|
}), n && this._addPropertyEffect(
|
|
5489
5489
|
/** @type {string} */
|
|
5490
5490
|
r,
|
|
5491
|
-
|
|
5491
|
+
P.OBSERVE,
|
|
5492
5492
|
{
|
|
5493
5493
|
fn: Fo,
|
|
5494
5494
|
info: a,
|
|
@@ -5512,7 +5512,7 @@ const Gi = U((o) => {
|
|
|
5512
5512
|
let n = si(s);
|
|
5513
5513
|
if (!n)
|
|
5514
5514
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5515
|
-
zo(this, n,
|
|
5515
|
+
zo(this, n, P.OBSERVE, Ei, null, r);
|
|
5516
5516
|
}
|
|
5517
5517
|
/**
|
|
5518
5518
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5525,7 +5525,7 @@ const Gi = U((o) => {
|
|
|
5525
5525
|
* @protected
|
|
5526
5526
|
*/
|
|
5527
5527
|
_createNotifyingProperty(s) {
|
|
5528
|
-
this._addPropertyEffect(s,
|
|
5528
|
+
this._addPropertyEffect(s, P.NOTIFY, {
|
|
5529
5529
|
fn: Ra,
|
|
5530
5530
|
info: {
|
|
5531
5531
|
eventName: Wt(s) + "-changed",
|
|
@@ -5546,7 +5546,7 @@ const Gi = U((o) => {
|
|
|
5546
5546
|
*/
|
|
5547
5547
|
_createReflectedProperty(s) {
|
|
5548
5548
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5549
|
-
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s,
|
|
5549
|
+
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, P.REFLECT, {
|
|
5550
5550
|
fn: Ha,
|
|
5551
5551
|
info: {
|
|
5552
5552
|
attrName: r
|
|
@@ -5570,7 +5570,7 @@ const Gi = U((o) => {
|
|
|
5570
5570
|
let a = si(r);
|
|
5571
5571
|
if (!a)
|
|
5572
5572
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5573
|
-
const l = zo(this, a,
|
|
5573
|
+
const l = zo(this, a, P.COMPUTE, Ks, s, n);
|
|
5574
5574
|
ii(this, Ws)[s] = l;
|
|
5575
5575
|
}
|
|
5576
5576
|
/**
|
|
@@ -5596,7 +5596,7 @@ const Gi = U((o) => {
|
|
|
5596
5596
|
g = {
|
|
5597
5597
|
path: _ ? r : d,
|
|
5598
5598
|
value: y,
|
|
5599
|
-
base: _ ?
|
|
5599
|
+
base: _ ? re(a, d) : y
|
|
5600
5600
|
};
|
|
5601
5601
|
} else
|
|
5602
5602
|
g = h ? Ho(a, n, d) : a[d];
|
|
@@ -5900,7 +5900,7 @@ const Gi = U((o) => {
|
|
|
5900
5900
|
let c = r.childNodes;
|
|
5901
5901
|
for (let u = 0; u < c.length; u++) {
|
|
5902
5902
|
let d = c[u];
|
|
5903
|
-
|
|
5903
|
+
J(J(d).parentNode).removeChild(d);
|
|
5904
5904
|
}
|
|
5905
5905
|
}
|
|
5906
5906
|
/**
|
|
@@ -6101,7 +6101,7 @@ const Gi = U((o) => {
|
|
|
6101
6101
|
*/
|
|
6102
6102
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6103
6103
|
let u;
|
|
6104
|
-
return r.signature ? u = Ei(s, n, a, l, r.signature) : n != r.source ? u =
|
|
6104
|
+
return r.signature ? u = Ei(s, n, a, l, r.signature) : n != r.source ? u = re(s, r.source) : c && xi(n) ? u = re(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6105
6105
|
}
|
|
6106
6106
|
}
|
|
6107
6107
|
return e;
|
|
@@ -6648,7 +6648,7 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6648
6648
|
* @return {ShadowRoot} node to which the dom has been attached.
|
|
6649
6649
|
*/
|
|
6650
6650
|
_attachDom(c) {
|
|
6651
|
-
const u =
|
|
6651
|
+
const u = J(this);
|
|
6652
6652
|
if (u.attachShadow)
|
|
6653
6653
|
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), ia && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6654
6654
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
@@ -6950,7 +6950,7 @@ const xl = (o) => class extends o {
|
|
|
6950
6950
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6951
6951
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6952
6952
|
*/
|
|
6953
|
-
const wl =
|
|
6953
|
+
const wl = k`
|
|
6954
6954
|
:host {
|
|
6955
6955
|
display: flex;
|
|
6956
6956
|
align-items: center;
|
|
@@ -7040,7 +7040,7 @@ be(El);
|
|
|
7040
7040
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7041
7041
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7042
7042
|
*/
|
|
7043
|
-
const Sl =
|
|
7043
|
+
const Sl = k`
|
|
7044
7044
|
:host {
|
|
7045
7045
|
z-index: 200;
|
|
7046
7046
|
position: fixed;
|
|
@@ -7140,23 +7140,23 @@ function Cl(o, t) {
|
|
|
7140
7140
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7141
7141
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7142
7142
|
}
|
|
7143
|
-
function
|
|
7143
|
+
function kl(o, t) {
|
|
7144
7144
|
const e = [];
|
|
7145
7145
|
for (; o.length > 0 && t.length > 0; )
|
|
7146
7146
|
Cl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7147
7147
|
return e.concat(o, t);
|
|
7148
7148
|
}
|
|
7149
|
-
function
|
|
7149
|
+
function ki(o) {
|
|
7150
7150
|
const t = o.length;
|
|
7151
7151
|
if (t < 2)
|
|
7152
7152
|
return o;
|
|
7153
|
-
const e = Math.ceil(t / 2), i =
|
|
7154
|
-
return
|
|
7153
|
+
const e = Math.ceil(t / 2), i = ki(o.slice(0, e)), s = ki(o.slice(e));
|
|
7154
|
+
return kl(i, s);
|
|
7155
7155
|
}
|
|
7156
7156
|
function tr(o) {
|
|
7157
7157
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7158
7158
|
}
|
|
7159
|
-
function
|
|
7159
|
+
function Pl(o) {
|
|
7160
7160
|
return o.getRootNode().activeElement === o;
|
|
7161
7161
|
}
|
|
7162
7162
|
function Dl(o) {
|
|
@@ -7181,7 +7181,7 @@ function ir(o, t) {
|
|
|
7181
7181
|
}
|
|
7182
7182
|
function Tl(o) {
|
|
7183
7183
|
const t = [];
|
|
7184
|
-
return ir(o, t) ?
|
|
7184
|
+
return ir(o, t) ? ki(t) : t;
|
|
7185
7185
|
}
|
|
7186
7186
|
/**
|
|
7187
7187
|
@license
|
|
@@ -7192,10 +7192,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7192
7192
|
Code distributed by Google as part of the polymer project is also
|
|
7193
7193
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7194
7194
|
*/
|
|
7195
|
-
let
|
|
7195
|
+
let Pi = !1, Ml = [], or = [];
|
|
7196
7196
|
function Ol() {
|
|
7197
|
-
|
|
7198
|
-
|
|
7197
|
+
Pi = !0, requestAnimationFrame(function() {
|
|
7198
|
+
Pi = !1, Il(Ml), setTimeout(function() {
|
|
7199
7199
|
Fl(or);
|
|
7200
7200
|
});
|
|
7201
7201
|
});
|
|
@@ -7219,7 +7219,7 @@ function sr(o) {
|
|
|
7219
7219
|
}
|
|
7220
7220
|
}
|
|
7221
7221
|
function rr(o, t, e) {
|
|
7222
|
-
|
|
7222
|
+
Pi || Ol(), or.push([o, t, e]);
|
|
7223
7223
|
}
|
|
7224
7224
|
/**
|
|
7225
7225
|
* @license
|
|
@@ -7380,7 +7380,7 @@ class jl {
|
|
|
7380
7380
|
*/
|
|
7381
7381
|
get __focusedElementIndex() {
|
|
7382
7382
|
const t = this.__focusableElements;
|
|
7383
|
-
return t.indexOf(t.filter(
|
|
7383
|
+
return t.indexOf(t.filter(Pl).pop());
|
|
7384
7384
|
}
|
|
7385
7385
|
hostConnected() {
|
|
7386
7386
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -8253,7 +8253,7 @@ const Ql = (o) => class extends Zl(ql(o)) {
|
|
|
8253
8253
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8254
8254
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8255
8255
|
*/
|
|
8256
|
-
const ec =
|
|
8256
|
+
const ec = k`
|
|
8257
8257
|
[part='overlay'] {
|
|
8258
8258
|
display: flex;
|
|
8259
8259
|
flex: auto;
|
|
@@ -9371,7 +9371,7 @@ class fr extends Re {
|
|
|
9371
9371
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9372
9372
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9373
9373
|
*/
|
|
9374
|
-
const gc =
|
|
9374
|
+
const gc = k`
|
|
9375
9375
|
:host {
|
|
9376
9376
|
display: inline-block;
|
|
9377
9377
|
position: relative;
|
|
@@ -9480,7 +9480,7 @@ let Sc = !1;
|
|
|
9480
9480
|
function Ac(o) {
|
|
9481
9481
|
Qi(o);
|
|
9482
9482
|
}
|
|
9483
|
-
const Cc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),
|
|
9483
|
+
const Cc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), kc = {
|
|
9484
9484
|
button: !0,
|
|
9485
9485
|
command: !0,
|
|
9486
9486
|
fieldset: !0,
|
|
@@ -9501,7 +9501,7 @@ function $e(o) {
|
|
|
9501
9501
|
}
|
|
9502
9502
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9503
9503
|
}
|
|
9504
|
-
function
|
|
9504
|
+
function Pc(o) {
|
|
9505
9505
|
if (o.type === "click") {
|
|
9506
9506
|
if (o.detail === 0)
|
|
9507
9507
|
return !0;
|
|
@@ -9857,10 +9857,10 @@ to({
|
|
|
9857
9857
|
});
|
|
9858
9858
|
function Xo(o, t, e) {
|
|
9859
9859
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Me(e || t);
|
|
9860
|
-
!r ||
|
|
9860
|
+
!r || kc[
|
|
9861
9861
|
/** @type {!HTMLElement} */
|
|
9862
9862
|
r.localName
|
|
9863
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Ko && s <= Ko ||
|
|
9863
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Ko && s <= Ko || Pc(t)) && (o.prevent || io(r, "tap", {
|
|
9864
9864
|
x: t.clientX,
|
|
9865
9865
|
y: t.clientY,
|
|
9866
9866
|
sourceEvent: t,
|
|
@@ -10898,7 +10898,7 @@ Ri.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10898
10898
|
writable: !0
|
|
10899
10899
|
}
|
|
10900
10900
|
});
|
|
10901
|
-
const
|
|
10901
|
+
const kr = Gi(Ri), Gc = ao(kr);
|
|
10902
10902
|
function Jc(o, t) {
|
|
10903
10903
|
Li = o, Object.setPrototypeOf(o, t.prototype), new t(), Li = null;
|
|
10904
10904
|
}
|
|
@@ -10912,10 +10912,10 @@ function Zc(o, t) {
|
|
|
10912
10912
|
o ? (i.__polymerTextContent__ = i.textContent, i.textContent = "") : i.textContent = i.__polymerTextContent__;
|
|
10913
10913
|
else if (i.localName === "slot")
|
|
10914
10914
|
if (o)
|
|
10915
|
-
i.__polymerReplaced__ = document.createComment("hidden-slot"),
|
|
10915
|
+
i.__polymerReplaced__ = document.createComment("hidden-slot"), J(J(i).parentNode).replaceChild(i.__polymerReplaced__, i);
|
|
10916
10916
|
else {
|
|
10917
10917
|
const s = i.__polymerReplaced__;
|
|
10918
|
-
s &&
|
|
10918
|
+
s && J(J(s).parentNode).replaceChild(i, s);
|
|
10919
10919
|
}
|
|
10920
10920
|
else
|
|
10921
10921
|
i.style && (o ? (i.__polymerDisplay__ = i.style.display, i.style.display = "none") : i.style.display = i.__polymerDisplay__);
|
|
@@ -11068,7 +11068,7 @@ function tu(o, t, e, i) {
|
|
|
11068
11068
|
let n = t.templatizeTemplateClass;
|
|
11069
11069
|
if (!n) {
|
|
11070
11070
|
if (r) {
|
|
11071
|
-
let l = e.mutableData ? Gc :
|
|
11071
|
+
let l = e.mutableData ? Gc : kr;
|
|
11072
11072
|
class c extends l {
|
|
11073
11073
|
}
|
|
11074
11074
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11184,7 +11184,7 @@ function au(o, t) {
|
|
|
11184
11184
|
else
|
|
11185
11185
|
return e;
|
|
11186
11186
|
else
|
|
11187
|
-
t =
|
|
11187
|
+
t = J(t).parentNode;
|
|
11188
11188
|
return null;
|
|
11189
11189
|
}
|
|
11190
11190
|
/**
|
|
@@ -11398,7 +11398,7 @@ class es extends cu {
|
|
|
11398
11398
|
connectedCallback() {
|
|
11399
11399
|
if (super.connectedCallback(), lu() || (this.style.display = "none"), this.__isDetached) {
|
|
11400
11400
|
this.__isDetached = !1;
|
|
11401
|
-
let t =
|
|
11401
|
+
let t = J(J(this).parentNode);
|
|
11402
11402
|
for (let e = 0; e < this.__instances.length; e++)
|
|
11403
11403
|
this.__attachInstance(e, t);
|
|
11404
11404
|
this.__chunkingId && this.__render();
|
|
@@ -11566,7 +11566,7 @@ class es extends cu {
|
|
|
11566
11566
|
}
|
|
11567
11567
|
__detachInstance(t) {
|
|
11568
11568
|
let e = this.__instances[t];
|
|
11569
|
-
const i =
|
|
11569
|
+
const i = J(e.root);
|
|
11570
11570
|
for (let s = 0; s < e.children.length; s++) {
|
|
11571
11571
|
let r = e.children[s];
|
|
11572
11572
|
i.appendChild(r);
|
|
@@ -11587,7 +11587,7 @@ class es extends cu {
|
|
|
11587
11587
|
__insertInstance(t, e, i) {
|
|
11588
11588
|
const s = this.__stampInstance(t, e, i);
|
|
11589
11589
|
let r = this.__instances[e + 1], n = r ? r.children[0] : this;
|
|
11590
|
-
return
|
|
11590
|
+
return J(J(this).parentNode).insertBefore(s.root, n), this.__instances[e] = s, s;
|
|
11591
11591
|
}
|
|
11592
11592
|
// Implements extension point from Templatize mixin
|
|
11593
11593
|
/**
|
|
@@ -11871,7 +11871,7 @@ const uu = (o) => class extends oo(o) {
|
|
|
11871
11871
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11872
11872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11873
11873
|
*/
|
|
11874
|
-
const du =
|
|
11874
|
+
const du = k`
|
|
11875
11875
|
:host {
|
|
11876
11876
|
display: block;
|
|
11877
11877
|
}
|
|
@@ -12050,7 +12050,7 @@ be(hu);
|
|
|
12050
12050
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12051
12051
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12052
12052
|
*/
|
|
12053
|
-
class
|
|
12053
|
+
class Pr {
|
|
12054
12054
|
constructor(t, e) {
|
|
12055
12055
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12056
12056
|
}
|
|
@@ -12215,7 +12215,7 @@ const pu = (o) => class extends o {
|
|
|
12215
12215
|
/** @protected */
|
|
12216
12216
|
_initControllers() {
|
|
12217
12217
|
this.addController(
|
|
12218
|
-
new
|
|
12218
|
+
new Pr(this._desktopMediaQuery, (e) => {
|
|
12219
12219
|
this._desktopMode = e;
|
|
12220
12220
|
})
|
|
12221
12221
|
), this.addController(
|
|
@@ -12691,7 +12691,7 @@ const pu = (o) => class extends o {
|
|
|
12691
12691
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12692
12692
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12693
12693
|
*/
|
|
12694
|
-
const fu =
|
|
12694
|
+
const fu = k`
|
|
12695
12695
|
:host {
|
|
12696
12696
|
display: flex;
|
|
12697
12697
|
flex-direction: column;
|
|
@@ -13447,7 +13447,7 @@ function Eu(o, t = {}) {
|
|
|
13447
13447
|
*/
|
|
13448
13448
|
class co extends Re {
|
|
13449
13449
|
constructor(t, e, i, s = {}) {
|
|
13450
|
-
super(t, e, i, kt(
|
|
13450
|
+
super(t, e, i, Pt(kt({}, s), { useUniqueId: !0 }));
|
|
13451
13451
|
}
|
|
13452
13452
|
/**
|
|
13453
13453
|
* Override to initialize the newly added custom node.
|
|
@@ -13750,7 +13750,7 @@ class Cu extends co {
|
|
|
13750
13750
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13751
13751
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13752
13752
|
*/
|
|
13753
|
-
const
|
|
13753
|
+
const ku = U(
|
|
13754
13754
|
(o) => class extends st(o) {
|
|
13755
13755
|
static get properties() {
|
|
13756
13756
|
return {
|
|
@@ -13865,7 +13865,7 @@ const Ir = U(
|
|
|
13865
13865
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13866
13866
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13867
13867
|
*/
|
|
13868
|
-
const
|
|
13868
|
+
const Pu = (o) => class extends Ir(ku(st(o))) {
|
|
13869
13869
|
static get properties() {
|
|
13870
13870
|
return {
|
|
13871
13871
|
/**
|
|
@@ -14173,7 +14173,7 @@ const Fr = U(
|
|
|
14173
14173
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14174
14174
|
*/
|
|
14175
14175
|
const Tu = (o) => class extends bu(
|
|
14176
|
-
Dr(Fr(
|
|
14176
|
+
Dr(Fr(Pu(vu(Jt(o)))))
|
|
14177
14177
|
) {
|
|
14178
14178
|
static get properties() {
|
|
14179
14179
|
return {
|
|
@@ -14409,7 +14409,7 @@ class Ou {
|
|
|
14409
14409
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14410
14410
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14411
14411
|
*/
|
|
14412
|
-
const Iu =
|
|
14412
|
+
const Iu = k`
|
|
14413
14413
|
[part='clear-button'] {
|
|
14414
14414
|
display: none;
|
|
14415
14415
|
cursor: default;
|
|
@@ -14428,7 +14428,7 @@ const Iu = P`
|
|
|
14428
14428
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14429
14429
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14430
14430
|
*/
|
|
14431
|
-
const Fu =
|
|
14431
|
+
const Fu = k`
|
|
14432
14432
|
:host {
|
|
14433
14433
|
display: inline-flex;
|
|
14434
14434
|
outline: none;
|
|
@@ -14468,7 +14468,7 @@ const Fu = P`
|
|
|
14468
14468
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14469
14469
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14470
14470
|
*/
|
|
14471
|
-
const Nu =
|
|
14471
|
+
const Nu = k`
|
|
14472
14472
|
[class$='container'] {
|
|
14473
14473
|
display: flex;
|
|
14474
14474
|
flex-direction: column;
|
|
@@ -14934,7 +14934,7 @@ const Bu = (o) => class extends Lu(
|
|
|
14934
14934
|
/** @protected */
|
|
14935
14935
|
ready() {
|
|
14936
14936
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14937
|
-
new
|
|
14937
|
+
new Pr(this._fullscreenMediaQuery, (i) => {
|
|
14938
14938
|
this._fullscreen = i;
|
|
14939
14939
|
})
|
|
14940
14940
|
), this.addController(new Ru(this));
|
|
@@ -15327,7 +15327,7 @@ const Bu = (o) => class extends Lu(
|
|
|
15327
15327
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15328
15328
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15329
15329
|
*/
|
|
15330
|
-
const Hu =
|
|
15330
|
+
const Hu = k`
|
|
15331
15331
|
:host([opened]) {
|
|
15332
15332
|
pointer-events: auto;
|
|
15333
15333
|
}
|
|
@@ -15503,28 +15503,28 @@ var Nr = { exports: {} };
|
|
|
15503
15503
|
_ = p, y = a && a.formats;
|
|
15504
15504
|
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(B, T, I) {
|
|
15505
15505
|
var F = I && I.toUpperCase();
|
|
15506
|
-
return T || y[I] || e[I] || y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(
|
|
15507
|
-
return H ||
|
|
15506
|
+
return T || y[I] || e[I] || y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(Q, H, ae) {
|
|
15507
|
+
return H || ae.slice(1);
|
|
15508
15508
|
});
|
|
15509
15509
|
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15510
|
-
var D = v[A],
|
|
15510
|
+
var D = v[A], X = m[D], R = X && X[0], Y = X && X[1];
|
|
15511
15511
|
v[A] = Y ? { regex: R, parser: Y } : D.replace(/^\[|\]$/g, "");
|
|
15512
15512
|
}
|
|
15513
15513
|
return function(B) {
|
|
15514
15514
|
for (var T = {}, I = 0, F = 0; I < C; I += 1) {
|
|
15515
|
-
var
|
|
15516
|
-
if (typeof
|
|
15517
|
-
F +=
|
|
15515
|
+
var Q = v[I];
|
|
15516
|
+
if (typeof Q == "string")
|
|
15517
|
+
F += Q.length;
|
|
15518
15518
|
else {
|
|
15519
|
-
var H =
|
|
15520
|
-
|
|
15519
|
+
var H = Q.regex, ae = Q.parser, pe = B.slice(F), q = H.exec(pe)[0];
|
|
15520
|
+
ae.call(T, q), B = B.replace(q, "");
|
|
15521
15521
|
}
|
|
15522
15522
|
}
|
|
15523
|
-
return function(
|
|
15524
|
-
var j =
|
|
15523
|
+
return function(ee) {
|
|
15524
|
+
var j = ee.afternoon;
|
|
15525
15525
|
if (j !== void 0) {
|
|
15526
|
-
var $ =
|
|
15527
|
-
j ? $ < 12 && (
|
|
15526
|
+
var $ = ee.hours;
|
|
15527
|
+
j ? $ < 12 && (ee.hours += 12) : $ === 12 && (ee.hours = 0), delete ee.afternoon;
|
|
15528
15528
|
}
|
|
15529
15529
|
}(T), T;
|
|
15530
15530
|
};
|
|
@@ -15533,32 +15533,32 @@ var Nr = { exports: {} };
|
|
|
15533
15533
|
y.p.customParseFormat = !0, p && p.parseTwoDigitYear && (l = p.parseTwoDigitYear);
|
|
15534
15534
|
var v = _.prototype, C = v.parse;
|
|
15535
15535
|
v.parse = function(A) {
|
|
15536
|
-
var D = A.date,
|
|
15537
|
-
this.$u =
|
|
15536
|
+
var D = A.date, X = A.utc, R = A.args;
|
|
15537
|
+
this.$u = X;
|
|
15538
15538
|
var Y = R[1];
|
|
15539
15539
|
if (typeof Y == "string") {
|
|
15540
15540
|
var B = R[2] === !0, T = R[3] === !0, I = B || T, F = R[2];
|
|
15541
|
-
T && (F = R[2]), a = this.$locale(), !B && F && (a = y.Ls[F]), this.$d = function(pe, q,
|
|
15541
|
+
T && (F = R[2]), a = this.$locale(), !B && F && (a = y.Ls[F]), this.$d = function(pe, q, ee) {
|
|
15542
15542
|
try {
|
|
15543
15543
|
if (["x", "X"].indexOf(q) > -1)
|
|
15544
15544
|
return new Date((q === "X" ? 1e3 : 1) * pe);
|
|
15545
|
-
var j = g(q)(pe), $ = j.year,
|
|
15546
|
-
$ && !
|
|
15547
|
-
var ve = Ae || 0, fe = Ce || 0,
|
|
15548
|
-
return
|
|
15545
|
+
var j = g(q)(pe), $ = j.year, te = j.month, _e = j.day, Ae = j.hours, Ce = j.minutes, Fe = j.seconds, ke = j.milliseconds, Pe = j.zone, oe = /* @__PURE__ */ new Date(), se = _e || ($ || te ? 1 : oe.getDate()), N = $ || oe.getFullYear(), z = 0;
|
|
15546
|
+
$ && !te || (z = te > 0 ? te - 1 : oe.getMonth());
|
|
15547
|
+
var ve = Ae || 0, fe = Ce || 0, Z = Fe || 0, le = ke || 0;
|
|
15548
|
+
return Pe ? new Date(Date.UTC(N, z, se, ve, fe, Z, le + 60 * Pe.offset * 1e3)) : ee ? new Date(Date.UTC(N, z, se, ve, fe, Z, le)) : new Date(N, z, se, ve, fe, Z, le);
|
|
15549
15549
|
} catch (x) {
|
|
15550
15550
|
return /* @__PURE__ */ new Date("");
|
|
15551
15551
|
}
|
|
15552
|
-
}(D, Y,
|
|
15552
|
+
}(D, Y, X), this.init(), F && F !== !0 && (this.$L = this.locale(F).$L), I && D != this.format(Y) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15553
15553
|
} else if (Y instanceof Array)
|
|
15554
|
-
for (var
|
|
15554
|
+
for (var Q = Y.length, H = 1; H <= Q; H += 1) {
|
|
15555
15555
|
R[1] = Y[H - 1];
|
|
15556
|
-
var
|
|
15557
|
-
if (
|
|
15558
|
-
this.$d =
|
|
15556
|
+
var ae = y.apply(this, R);
|
|
15557
|
+
if (ae.isValid()) {
|
|
15558
|
+
this.$d = ae.$d, this.$L = ae.$L, this.init();
|
|
15559
15559
|
break;
|
|
15560
15560
|
}
|
|
15561
|
-
H ===
|
|
15561
|
+
H === Q && (this.$d = /* @__PURE__ */ new Date(""));
|
|
15562
15562
|
}
|
|
15563
15563
|
else
|
|
15564
15564
|
C.call(this, A);
|
|
@@ -15982,22 +15982,22 @@ function Wu(o) {
|
|
|
15982
15982
|
), d, h, m = (
|
|
15983
15983
|
/*$_*/
|
|
15984
15984
|
o[20]("selfExclusionEmailText") + ""
|
|
15985
|
-
), g, p, _, y, v, C, A, D,
|
|
15985
|
+
), g, p, _, y, v, C, A, D, X, R = (
|
|
15986
15986
|
/*$_*/
|
|
15987
15987
|
o[20](`${/*selectedPeriodKey*/
|
|
15988
15988
|
o[13]}`) + ""
|
|
15989
|
-
), Y, B, T, I, F,
|
|
15989
|
+
), Y, B, T, I, F, Q, H, ae, pe, q, ee, j, $, te = (
|
|
15990
15990
|
/*$_*/
|
|
15991
15991
|
o[20]("save") + ""
|
|
15992
|
-
), _e, Ae, Ce, Fe,
|
|
15992
|
+
), _e, Ae, Ce, Fe, ke, Pe, oe = (
|
|
15993
15993
|
/*isMobile*/
|
|
15994
15994
|
o[22] && Ku(o)
|
|
15995
|
-
),
|
|
15995
|
+
), se = fo(
|
|
15996
15996
|
/*selfExclusionPeriods*/
|
|
15997
15997
|
o[9]
|
|
15998
15998
|
), N = [];
|
|
15999
|
-
for (let x = 0; x <
|
|
16000
|
-
N[x] = ss(os(o,
|
|
15999
|
+
for (let x = 0; x < se.length; x += 1)
|
|
16000
|
+
N[x] = ss(os(o, se, x));
|
|
16001
16001
|
let z = (
|
|
16002
16002
|
/*isUntilDate*/
|
|
16003
16003
|
o[16] && rs(o)
|
|
@@ -16011,19 +16011,19 @@ function Wu(o) {
|
|
|
16011
16011
|
)
|
|
16012
16012
|
);
|
|
16013
16013
|
}
|
|
16014
|
-
let fe = ve(o),
|
|
16014
|
+
let fe = ve(o), Z = fe(o), le = (
|
|
16015
16015
|
/*showConfirmationModal*/
|
|
16016
16016
|
o[23] && Zu(o)
|
|
16017
16017
|
);
|
|
16018
16018
|
return {
|
|
16019
16019
|
c() {
|
|
16020
|
-
t = w("div"), e = w("form"),
|
|
16020
|
+
t = w("div"), e = w("form"), oe && oe.c(), i = O(), s = w("h2"), n = ne(r), a = O(), l = w("div"), c = w("p"), d = O(), h = w("p"), g = ne(m), p = O(), _ = w("a"), y = ne(
|
|
16021
16021
|
/*supportemail*/
|
|
16022
16022
|
o[2]
|
|
16023
|
-
), C = O(), A = w("div"), D = w("div"),
|
|
16023
|
+
), C = O(), A = w("div"), D = w("div"), X = w("p"), Y = ne(R), B = O(), T = Ee("svg"), I = Ee("g"), F = Ee("path"), Q = O(), H = w("div");
|
|
16024
16024
|
for (let x = 0; x < N.length; x += 1)
|
|
16025
16025
|
N[x].c();
|
|
16026
|
-
|
|
16026
|
+
ae = O(), z && z.c(), pe = O(), q = w("div"), Z.c(), ee = O(), j = w("div"), $ = w("button"), _e = ne(te), Fe = O(), le && le.c(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16027
16027
|
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(_, "href", v = "mailto:" + /*supportemail*/
|
|
16028
16028
|
o[2]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16029
16029
|
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(F, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), E(F, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), We(
|
|
@@ -16050,10 +16050,10 @@ function Wu(o) {
|
|
|
16050
16050
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16051
16051
|
},
|
|
16052
16052
|
m(x, M) {
|
|
16053
|
-
he(x, t, M), f(t, e),
|
|
16053
|
+
he(x, t, M), f(t, e), oe && oe.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, g), f(h, p), f(h, _), f(_, y), f(e, C), f(e, A), f(A, D), f(D, X), f(X, Y), f(D, B), f(D, T), f(T, I), f(I, F), f(A, Q), f(A, H);
|
|
16054
16054
|
for (let V = 0; V < N.length; V += 1)
|
|
16055
16055
|
N[V] && N[V].m(H, null);
|
|
16056
|
-
f(e,
|
|
16056
|
+
f(e, ae), z && z.m(e, null), f(e, pe), f(e, q), Z.m(q, null), f(e, ee), f(e, j), f(j, $), f($, _e), f(t, Fe), le && le.m(t, null), ke || (Pe = [
|
|
16057
16057
|
zt(
|
|
16058
16058
|
D,
|
|
16059
16059
|
"click",
|
|
@@ -16066,12 +16066,12 @@ function Wu(o) {
|
|
|
16066
16066
|
/*click_handler_3*/
|
|
16067
16067
|
o[40]
|
|
16068
16068
|
)
|
|
16069
|
-
],
|
|
16069
|
+
], ke = !0);
|
|
16070
16070
|
},
|
|
16071
16071
|
p(x, M) {
|
|
16072
16072
|
if (
|
|
16073
16073
|
/*isMobile*/
|
|
16074
|
-
x[22] &&
|
|
16074
|
+
x[22] && oe.p(x, M), M[0] & /*$_*/
|
|
16075
16075
|
1048576 && r !== (r = /*$_*/
|
|
16076
16076
|
x[20]("titleSelfExclusion") + "") && ue(n, r), M[0] & /*$_, operator, baseurl, lang*/
|
|
16077
16077
|
1048587 && u !== (u = /*$_*/
|
|
@@ -16111,18 +16111,18 @@ function Wu(o) {
|
|
|
16111
16111
|
), M[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16112
16112
|
34603520
|
|
16113
16113
|
) {
|
|
16114
|
-
|
|
16114
|
+
se = fo(
|
|
16115
16115
|
/*selfExclusionPeriods*/
|
|
16116
16116
|
x[9]
|
|
16117
16117
|
);
|
|
16118
16118
|
let V;
|
|
16119
|
-
for (V = 0; V <
|
|
16120
|
-
const Ct = os(x,
|
|
16119
|
+
for (V = 0; V < se.length; V += 1) {
|
|
16120
|
+
const Ct = os(x, se, V);
|
|
16121
16121
|
N[V] ? N[V].p(Ct, M) : (N[V] = ss(Ct), N[V].c(), N[V].m(H, null));
|
|
16122
16122
|
}
|
|
16123
16123
|
for (; V < N.length; V += 1)
|
|
16124
16124
|
N[V].d(1);
|
|
16125
|
-
N.length =
|
|
16125
|
+
N.length = se.length;
|
|
16126
16126
|
}
|
|
16127
16127
|
M[0] & /*isPeriodDropDownToggled*/
|
|
16128
16128
|
262144 && We(
|
|
@@ -16137,9 +16137,9 @@ function Wu(o) {
|
|
|
16137
16137
|
/*isPeriodDropDownToggled*/
|
|
16138
16138
|
x[18]
|
|
16139
16139
|
), /*isUntilDate*/
|
|
16140
|
-
x[16] ? z ? z.p(x, M) : (z = rs(x), z.c(), z.m(e, pe)) : z && (z.d(1), z = null), fe === (fe = ve(x)) &&
|
|
16141
|
-
1048576 &&
|
|
16142
|
-
x[20]("save") + "") && ue(_e,
|
|
16140
|
+
x[16] ? z ? z.p(x, M) : (z = rs(x), z.c(), z.m(e, pe)) : z && (z.d(1), z = null), fe === (fe = ve(x)) && Z ? Z.p(x, M) : (Z.d(1), Z = fe(x), Z && (Z.c(), Z.m(q, null))), M[0] & /*$_*/
|
|
16141
|
+
1048576 && te !== (te = /*$_*/
|
|
16142
|
+
x[20]("save") + "") && ue(_e, te), M[0] & /*isDateSelected*/
|
|
16143
16143
|
131072 && Ae !== (Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
16144
16144
|
(x[17] ? "active" : "")) && E($, "class", Ae), M[0] & /*isDateSelected*/
|
|
16145
16145
|
131072 && Ce !== (Ce = !/*isDateSelected*/
|
|
@@ -16147,19 +16147,19 @@ function Wu(o) {
|
|
|
16147
16147
|
x[23] && le.p(x, M);
|
|
16148
16148
|
},
|
|
16149
16149
|
d(x) {
|
|
16150
|
-
x && de(t),
|
|
16150
|
+
x && de(t), oe && oe.d(), tn(N, x), z && z.d(), Z.d(), le && le.d(), ke = !1, on(Pe);
|
|
16151
16151
|
}
|
|
16152
16152
|
};
|
|
16153
16153
|
}
|
|
16154
16154
|
function qu(o) {
|
|
16155
16155
|
let t, e, i, s, r, n, a, l, c, u, d, h, m, g, p, _, y, v, C, A, D;
|
|
16156
|
-
function
|
|
16156
|
+
function X(B, T) {
|
|
16157
16157
|
return (
|
|
16158
16158
|
/*isMobile*/
|
|
16159
16159
|
B[22] ? ed : Qu
|
|
16160
16160
|
);
|
|
16161
16161
|
}
|
|
16162
|
-
let Y =
|
|
16162
|
+
let Y = X(o)(o);
|
|
16163
16163
|
return {
|
|
16164
16164
|
c() {
|
|
16165
16165
|
t = w("div"), e = w("div"), Y.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"), u = O(), d = w("div"), h = O(), m = w("div"), g = w("ui-skeleton"), p = O(), _ = w("div"), y = O(), v = w("ui-skeleton"), C = O(), A = w("div"), D = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
@@ -16222,7 +16222,7 @@ function Ku(o) {
|
|
|
16222
16222
|
), h, m, g;
|
|
16223
16223
|
return {
|
|
16224
16224
|
c() {
|
|
16225
|
-
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r =
|
|
16225
|
+
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r = ne(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ee("g"), a = Ee("g"), l = Ee("path"), c = O(), u = w("h2"), h = ne(d), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(n, "transform", "translate(-20 -158)"), E(e, "xmlns", "http://www.w3.org/2000/svg"), E(e, "width", "15"), E(e, "height", "15"), E(e, "viewBox", "0 0 15 15"), E(u, "class", "PlayerSelfExclusionTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
16226
16226
|
},
|
|
16227
16227
|
m(p, _) {
|
|
16228
16228
|
he(p, t, _), f(t, e), f(e, i), f(i, s), f(s, r), f(e, n), f(n, a), f(a, l), f(t, c), f(t, u), f(u, h), m || (g = zt(
|
|
@@ -16259,7 +16259,7 @@ function ss(o) {
|
|
|
16259
16259
|
}
|
|
16260
16260
|
return {
|
|
16261
16261
|
c() {
|
|
16262
|
-
t = w("div"), i =
|
|
16262
|
+
t = w("div"), i = ne(e);
|
|
16263
16263
|
},
|
|
16264
16264
|
m(a, l) {
|
|
16265
16265
|
he(a, t, l), f(t, i), s || (r = zt(t, "click", n), s = !0);
|
|
@@ -16285,7 +16285,7 @@ function rs(o) {
|
|
|
16285
16285
|
), l, c, u, d, h, m, g;
|
|
16286
16286
|
return {
|
|
16287
16287
|
c() {
|
|
16288
|
-
t = w("div"), e = w("label"), s =
|
|
16288
|
+
t = w("div"), e = w("label"), s = ne(i), r = O(), n = w("span"), l = ne(a), c = O(), u = w("strong"), d = ne(
|
|
16289
16289
|
/*validDateformat*/
|
|
16290
16290
|
o[21]
|
|
16291
16291
|
), h = w("strong"), m = O(), g = w("vaadin-date-picker"), E(e, "for", "SelfExclusionDate"), E(n, "class", "SelfExclusionDateInstructions"), S(
|
|
@@ -16356,7 +16356,7 @@ function Gu(o) {
|
|
|
16356
16356
|
), s;
|
|
16357
16357
|
return {
|
|
16358
16358
|
c() {
|
|
16359
|
-
t = w("p"), e = w("strong"), s =
|
|
16359
|
+
t = w("p"), e = w("strong"), s = ne(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16360
16360
|
},
|
|
16361
16361
|
m(r, n) {
|
|
16362
16362
|
he(r, t, n), f(t, e), f(e, s);
|
|
@@ -16388,7 +16388,7 @@ function Ju(o) {
|
|
|
16388
16388
|
), s;
|
|
16389
16389
|
return {
|
|
16390
16390
|
c() {
|
|
16391
|
-
t = w("p"), e = w("strong"), s =
|
|
16391
|
+
t = w("p"), e = w("strong"), s = ne(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16392
16392
|
},
|
|
16393
16393
|
m(r, n) {
|
|
16394
16394
|
he(r, t, n), f(t, e), f(e, s);
|
|
@@ -16410,7 +16410,7 @@ function Xu(o) {
|
|
|
16410
16410
|
), s;
|
|
16411
16411
|
return {
|
|
16412
16412
|
c() {
|
|
16413
|
-
t = w("p"), e = w("strong"), s =
|
|
16413
|
+
t = w("p"), e = w("strong"), s = ne(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16414
16414
|
},
|
|
16415
16415
|
m(r, n) {
|
|
16416
16416
|
he(r, t, n), f(t, e), f(e, s);
|
|
@@ -16568,14 +16568,14 @@ function td(o) {
|
|
|
16568
16568
|
function id(o, t, e) {
|
|
16569
16569
|
let i;
|
|
16570
16570
|
Zr(o, ln, (b) => e(20, i = b)), xe.extend(ju);
|
|
16571
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [],
|
|
16571
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [], X = {}, R = y.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", F = "", Q = "selectAPeriod", H = "", ae = "", pe = Qr(Y) !== "PC", q = !1, ee = !1, j = !1, $ = !1, te = _ === "true", _e = !0;
|
|
16572
16572
|
const Ae = () => {
|
|
16573
|
-
fetch(p).then((
|
|
16574
|
-
Object.keys(
|
|
16575
|
-
ts(
|
|
16573
|
+
fetch(p).then((K) => K.json()).then((K) => {
|
|
16574
|
+
Object.keys(K).forEach((G) => {
|
|
16575
|
+
ts(G, K[G]);
|
|
16576
16576
|
});
|
|
16577
|
-
}).catch((
|
|
16578
|
-
console.log(
|
|
16577
|
+
}).catch((K) => {
|
|
16578
|
+
console.log(K);
|
|
16579
16579
|
});
|
|
16580
16580
|
};
|
|
16581
16581
|
Object.keys(is).forEach((b) => {
|
|
@@ -16589,59 +16589,59 @@ function id(o, t, e) {
|
|
|
16589
16589
|
"Content-Type": "application/json",
|
|
16590
16590
|
Accept: "application/json"
|
|
16591
16591
|
}
|
|
16592
|
-
}).then((
|
|
16593
|
-
e(9, D =
|
|
16594
|
-
}).catch((
|
|
16595
|
-
console.log(
|
|
16596
|
-
}).finally(() => {
|
|
16597
|
-
e(19, _e = !1);
|
|
16598
|
-
});
|
|
16599
|
-
}, Fe = (b) => {
|
|
16600
|
-
b.data.type === "setSelfExclusion" && z();
|
|
16601
|
-
}, Pe = (b) => rt(this, null, function* () {
|
|
16602
|
-
if (b.status >= 300)
|
|
16603
|
-
G = yield b.json(), te = G.thirdPartyResponse.errorCode, console.error(i(te || "generalError")), window.postMessage(
|
|
16592
|
+
}).then((G) => ke(G)).then((G) => {
|
|
16593
|
+
e(9, D = G.periods);
|
|
16594
|
+
}).catch((G) => {
|
|
16595
|
+
console.log(G), window.postMessage(
|
|
16604
16596
|
{
|
|
16605
16597
|
type: "WidgetNotification",
|
|
16606
|
-
data: {
|
|
16607
|
-
type: "error",
|
|
16608
|
-
message: i(te || "generalError")
|
|
16609
|
-
}
|
|
16598
|
+
data: { type: "error", message: G.message }
|
|
16610
16599
|
},
|
|
16611
16600
|
window.location.href
|
|
16612
16601
|
);
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
|
|
16602
|
+
}).finally(() => {
|
|
16603
|
+
e(19, _e = !1);
|
|
16604
|
+
});
|
|
16605
|
+
}, Fe = (b) => {
|
|
16606
|
+
b.data.type === "setSelfExclusion" && z();
|
|
16607
|
+
}, ke = (b) => rt(this, null, function* () {
|
|
16608
|
+
var K;
|
|
16609
|
+
if (!b.ok) {
|
|
16610
|
+
X = yield b.json(), ae = (K = X.thirdPartyResponse) == null ? void 0 : K.errorCode;
|
|
16611
|
+
const G = i(ae || "generalError");
|
|
16612
|
+
throw new Error(G);
|
|
16613
|
+
}
|
|
16614
|
+
return b.json();
|
|
16615
|
+
}), Pe = () => {
|
|
16616
16616
|
e(18, $ = !$);
|
|
16617
|
-
},
|
|
16618
|
-
switch (F = b.text, e(13,
|
|
16617
|
+
}, oe = (b) => {
|
|
16618
|
+
switch (F = b.text, e(13, Q = b.key), e(17, j = !0), e(18, $ = !1), e(15, q = !1), e(16, ee = !1), F) {
|
|
16619
16619
|
case "Until":
|
|
16620
|
-
e(16,
|
|
16620
|
+
e(16, ee = !0), e(10, B = xe().add(6, "months").format("YYYY-MM-DD")), e(11, T = xe().add(5, "years").format("YYYY-MM-DD")), e(12, I = B);
|
|
16621
16621
|
break;
|
|
16622
16622
|
case "Permanent":
|
|
16623
16623
|
e(15, q = !q);
|
|
16624
16624
|
break;
|
|
16625
16625
|
default:
|
|
16626
|
-
const [
|
|
16626
|
+
const [K, G] = F.split(" "), Ne = G.includes("Day") ? "days" : G.includes("Month") ? "months" : G.includes("Year") ? "years" : null;
|
|
16627
16627
|
if (!Ne)
|
|
16628
16628
|
return;
|
|
16629
|
-
e(12, I = xe().add(Number(
|
|
16629
|
+
e(12, I = xe().add(Number(K), Ne).format("YYYY-MM-DD"));
|
|
16630
16630
|
break;
|
|
16631
16631
|
}
|
|
16632
|
-
|
|
16633
|
-
},
|
|
16634
|
-
if (!
|
|
16632
|
+
te && se();
|
|
16633
|
+
}, se = () => {
|
|
16634
|
+
if (!te || !F || !I) {
|
|
16635
16635
|
e(14, H = "");
|
|
16636
16636
|
return;
|
|
16637
16637
|
}
|
|
16638
|
-
e(14, H =
|
|
16638
|
+
e(14, H = ee ? i("confirmationModalTextUntilSelfExclusion", {
|
|
16639
16639
|
values: {
|
|
16640
16640
|
date: xe(I).format(R)
|
|
16641
16641
|
}
|
|
16642
16642
|
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(F) } }));
|
|
16643
16643
|
}, N = (b) => {
|
|
16644
|
-
b.preventDefault(),
|
|
16644
|
+
b.preventDefault(), te ? (se(), window.postMessage(
|
|
16645
16645
|
{
|
|
16646
16646
|
type: "ShowSelfExclusionConfirmationModal"
|
|
16647
16647
|
},
|
|
@@ -16649,7 +16649,7 @@ function id(o, t, e) {
|
|
|
16649
16649
|
)) : z();
|
|
16650
16650
|
}, z = () => {
|
|
16651
16651
|
e(19, _e = !0);
|
|
16652
|
-
const b = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s),
|
|
16652
|
+
const b = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s), G = {
|
|
16653
16653
|
method: "PUT",
|
|
16654
16654
|
headers: {
|
|
16655
16655
|
"X-SessionID": r,
|
|
@@ -16658,14 +16658,14 @@ function id(o, t, e) {
|
|
|
16658
16658
|
},
|
|
16659
16659
|
body: JSON.stringify({
|
|
16660
16660
|
selfExclusion: {
|
|
16661
|
-
period:
|
|
16661
|
+
period: Q,
|
|
16662
16662
|
expiryDate: I,
|
|
16663
16663
|
selfExclusionReason: "UserRequest",
|
|
16664
16664
|
sendNotificationEmail: v === "true"
|
|
16665
16665
|
}
|
|
16666
16666
|
})
|
|
16667
16667
|
};
|
|
16668
|
-
fetch(b.href,
|
|
16668
|
+
fetch(b.href, G).then((Ne) => ke(Ne)).then((Ne) => {
|
|
16669
16669
|
window.postMessage(
|
|
16670
16670
|
{
|
|
16671
16671
|
type: "WidgetNotification",
|
|
@@ -16700,17 +16700,17 @@ function id(o, t, e) {
|
|
|
16700
16700
|
);
|
|
16701
16701
|
}, fe = (b) => {
|
|
16702
16702
|
e(12, I = b.target.value);
|
|
16703
|
-
},
|
|
16703
|
+
}, Z = () => {
|
|
16704
16704
|
A.addEventListener("change", fe, !1), e(
|
|
16705
16705
|
8,
|
|
16706
|
-
A.i18n = kt(
|
|
16706
|
+
A.i18n = Pt(kt({}, A.i18n), {
|
|
16707
16707
|
formatDate: (b) => xe(new Date(b.year, b.month, b.day)).format(R),
|
|
16708
16708
|
parseDate: (b) => {
|
|
16709
|
-
const
|
|
16709
|
+
const K = xe(b, R);
|
|
16710
16710
|
return {
|
|
16711
|
-
year:
|
|
16712
|
-
month:
|
|
16713
|
-
day:
|
|
16711
|
+
year: K.year(),
|
|
16712
|
+
month: K.month(),
|
|
16713
|
+
day: K.date()
|
|
16714
16714
|
};
|
|
16715
16715
|
}
|
|
16716
16716
|
}),
|
|
@@ -16722,7 +16722,7 @@ function id(o, t, e) {
|
|
|
16722
16722
|
}));
|
|
16723
16723
|
const le = () => {
|
|
16724
16724
|
Vu(a);
|
|
16725
|
-
}, x = () => ve(), M = () =>
|
|
16725
|
+
}, x = () => ve(), M = () => Pe(), V = (b) => oe(b);
|
|
16726
16726
|
function Ct(b) {
|
|
16727
16727
|
po[b ? "unshift" : "push"](() => {
|
|
16728
16728
|
A = b, e(8, A);
|
|
@@ -16741,12 +16741,12 @@ function id(o, t, e) {
|
|
|
16741
16741
|
1 && a && le(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16742
16742
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
16743
16743
|
1 && s && r && n && l && Ce(), o.$$.dirty[0] & /*calendar*/
|
|
16744
|
-
256 && A &&
|
|
16744
|
+
256 && A && Z(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16745
16745
|
144 && h && C && sn(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16746
16746
|
160 && m && C && rn(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16747
16747
|
192 && g && C && nn(C, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16748
16748
|
2 && p && Ae();
|
|
16749
|
-
},
|
|
16749
|
+
}, te && se(), [
|
|
16750
16750
|
a,
|
|
16751
16751
|
c,
|
|
16752
16752
|
u,
|
|
@@ -16760,19 +16760,19 @@ function id(o, t, e) {
|
|
|
16760
16760
|
B,
|
|
16761
16761
|
T,
|
|
16762
16762
|
I,
|
|
16763
|
-
|
|
16763
|
+
Q,
|
|
16764
16764
|
H,
|
|
16765
16765
|
q,
|
|
16766
|
-
|
|
16766
|
+
ee,
|
|
16767
16767
|
j,
|
|
16768
16768
|
$,
|
|
16769
16769
|
_e,
|
|
16770
16770
|
i,
|
|
16771
16771
|
R,
|
|
16772
16772
|
pe,
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
|
|
16773
|
+
te,
|
|
16774
|
+
Pe,
|
|
16775
|
+
oe,
|
|
16776
16776
|
N,
|
|
16777
16777
|
ve,
|
|
16778
16778
|
s,
|
|
@@ -16824,91 +16824,91 @@ class zr extends Kr {
|
|
|
16824
16824
|
return this.$$.ctx[28];
|
|
16825
16825
|
}
|
|
16826
16826
|
set endpoint(t) {
|
|
16827
|
-
this.$$set({ endpoint: t }),
|
|
16827
|
+
this.$$set({ endpoint: t }), ie();
|
|
16828
16828
|
}
|
|
16829
16829
|
get session() {
|
|
16830
16830
|
return this.$$.ctx[29];
|
|
16831
16831
|
}
|
|
16832
16832
|
set session(t) {
|
|
16833
|
-
this.$$set({ session: t }),
|
|
16833
|
+
this.$$set({ session: t }), ie();
|
|
16834
16834
|
}
|
|
16835
16835
|
get userid() {
|
|
16836
16836
|
return this.$$.ctx[30];
|
|
16837
16837
|
}
|
|
16838
16838
|
set userid(t) {
|
|
16839
|
-
this.$$set({ userid: t }),
|
|
16839
|
+
this.$$set({ userid: t }), ie();
|
|
16840
16840
|
}
|
|
16841
16841
|
get lang() {
|
|
16842
16842
|
return this.$$.ctx[0];
|
|
16843
16843
|
}
|
|
16844
16844
|
set lang(t) {
|
|
16845
|
-
this.$$set({ lang: t }),
|
|
16845
|
+
this.$$set({ lang: t }), ie();
|
|
16846
16846
|
}
|
|
16847
16847
|
get gmversion() {
|
|
16848
16848
|
return this.$$.ctx[31];
|
|
16849
16849
|
}
|
|
16850
16850
|
set gmversion(t) {
|
|
16851
|
-
this.$$set({ gmversion: t }),
|
|
16851
|
+
this.$$set({ gmversion: t }), ie();
|
|
16852
16852
|
}
|
|
16853
16853
|
get operator() {
|
|
16854
16854
|
return this.$$.ctx[1];
|
|
16855
16855
|
}
|
|
16856
16856
|
set operator(t) {
|
|
16857
|
-
this.$$set({ operator: t }),
|
|
16857
|
+
this.$$set({ operator: t }), ie();
|
|
16858
16858
|
}
|
|
16859
16859
|
get supportemail() {
|
|
16860
16860
|
return this.$$.ctx[2];
|
|
16861
16861
|
}
|
|
16862
16862
|
set supportemail(t) {
|
|
16863
|
-
this.$$set({ supportemail: t }),
|
|
16863
|
+
this.$$set({ supportemail: t }), ie();
|
|
16864
16864
|
}
|
|
16865
16865
|
get baseurl() {
|
|
16866
16866
|
return this.$$.ctx[3];
|
|
16867
16867
|
}
|
|
16868
16868
|
set baseurl(t) {
|
|
16869
|
-
this.$$set({ baseurl: t }),
|
|
16869
|
+
this.$$set({ baseurl: t }), ie();
|
|
16870
16870
|
}
|
|
16871
16871
|
get clientstyling() {
|
|
16872
16872
|
return this.$$.ctx[4];
|
|
16873
16873
|
}
|
|
16874
16874
|
set clientstyling(t) {
|
|
16875
|
-
this.$$set({ clientstyling: t }),
|
|
16875
|
+
this.$$set({ clientstyling: t }), ie();
|
|
16876
16876
|
}
|
|
16877
16877
|
get clientstylingurl() {
|
|
16878
16878
|
return this.$$.ctx[5];
|
|
16879
16879
|
}
|
|
16880
16880
|
set clientstylingurl(t) {
|
|
16881
|
-
this.$$set({ clientstylingurl: t }),
|
|
16881
|
+
this.$$set({ clientstylingurl: t }), ie();
|
|
16882
16882
|
}
|
|
16883
16883
|
get mbsource() {
|
|
16884
16884
|
return this.$$.ctx[6];
|
|
16885
16885
|
}
|
|
16886
16886
|
set mbsource(t) {
|
|
16887
|
-
this.$$set({ mbsource: t }),
|
|
16887
|
+
this.$$set({ mbsource: t }), ie();
|
|
16888
16888
|
}
|
|
16889
16889
|
get translationurl() {
|
|
16890
16890
|
return this.$$.ctx[32];
|
|
16891
16891
|
}
|
|
16892
16892
|
set translationurl(t) {
|
|
16893
|
-
this.$$set({ translationurl: t }),
|
|
16893
|
+
this.$$set({ translationurl: t }), ie();
|
|
16894
16894
|
}
|
|
16895
16895
|
get hasconfirmationmodal() {
|
|
16896
16896
|
return this.$$.ctx[33];
|
|
16897
16897
|
}
|
|
16898
16898
|
set hasconfirmationmodal(t) {
|
|
16899
|
-
this.$$set({ hasconfirmationmodal: t }),
|
|
16899
|
+
this.$$set({ hasconfirmationmodal: t }), ie();
|
|
16900
16900
|
}
|
|
16901
16901
|
get dateformat() {
|
|
16902
16902
|
return this.$$.ctx[34];
|
|
16903
16903
|
}
|
|
16904
16904
|
set dateformat(t) {
|
|
16905
|
-
this.$$set({ dateformat: t }),
|
|
16905
|
+
this.$$set({ dateformat: t }), ie();
|
|
16906
16906
|
}
|
|
16907
16907
|
get sendnotificationemail() {
|
|
16908
16908
|
return this.$$.ctx[35];
|
|
16909
16909
|
}
|
|
16910
16910
|
set sendnotificationemail(t) {
|
|
16911
|
-
this.$$set({ sendnotificationemail: t }),
|
|
16911
|
+
this.$$set({ sendnotificationemail: t }), ie();
|
|
16912
16912
|
}
|
|
16913
16913
|
}
|
|
16914
16914
|
an(zr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|