@everymatrix/player-account-controller-nd 1.74.5 → 1.74.6
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-DqIgt_tx.js → GeneralLogout-BKUfd8BJ.js} +814 -793
- package/components/GeneralLogout-CuvnoUn1.cjs +21 -0
- package/components/{GeneralLogout-D030tuMl.js → GeneralLogout-oSYhP-Iy.js} +843 -822
- package/components/PlayerAccountBettingHistory-BgDQMawM.js +310 -0
- package/components/PlayerAccountBettingHistory-BlbdV8eE.js +311 -0
- package/components/PlayerAccountBettingHistory-Cb9zY2cj.cjs +1 -0
- package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-CSSQNl0K.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DsYJOGIk.js → PlayerAccountBiometrics-DG8PwDTf.js} +22 -22
- package/components/{PlayerAccountBiometrics-YcohloWe.js → PlayerAccountBiometrics-wy6pz2CT.js} +22 -22
- package/components/{PlayerAccountClosureNd-B9z8p3ie.js → PlayerAccountClosureNd-BMxbB-XD.js} +17 -17
- package/components/{PlayerAccountClosureNd-C5CrElCk.js → PlayerAccountClosureNd-Cp7kk_QC.js} +17 -17
- package/components/{PlayerAccountClosureNd-DFWHunWk.cjs → PlayerAccountClosureNd-zBlQJ0Iy.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-Dp8bKAPW.js → PlayerAccountControllerNd-BEASBQQm.js} +338 -338
- package/components/{PlayerAccountControllerNd-BQss9Dux.js → PlayerAccountControllerNd-CziA6I5A.js} +344 -344
- package/components/{PlayerAccountControllerNd-kfKBZ8NJ.cjs → PlayerAccountControllerNd-ZnasgXKx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DLyOkU8g.cjs → PlayerAccountGamingLimits-BPVpte4c.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CUtQADXZ.js → PlayerAccountGamingLimits-BgxS4Frr.js} +127 -127
- package/components/{PlayerAccountGamingLimits-CsAmDJwA.js → PlayerAccountGamingLimits-DxJATH5L.js} +127 -127
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CKwL1tb1.js → PlayerAccountGamingLimitsConfirmationModal-CFwNex1C.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs → PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DXqRhhmC.js → PlayerAccountGamingLimitsConfirmationModal-CvyHjYBX.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cj8Zh8WK.js → PlayerAccountGamingLimitsGroupEdit-8LGyrjL0.js} +127 -129
- package/components/{PlayerAccountGamingLimitsGroupEdit-DKNPRs3o.js → PlayerAccountGamingLimitsGroupEdit-KwKmUGcw.js} +127 -129
- package/components/PlayerAccountGamingLimitsGroupEdit-gUkWnHwu.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-OS3hwfOI.js → PlayerAccountGamingLimitsHistory2Nd-BgG_Z2P-.js} +77 -77
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CP6Lgi2e.cjs → PlayerAccountGamingLimitsHistory2Nd-CIrBCUa0.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BhLSHYdC.js → PlayerAccountGamingLimitsHistory2Nd-DwvRmspa.js} +77 -77
- package/components/{PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs → PlayerAccountGamingLimitsInfoCard-B1-rS3C8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CLe77Gl9.js → PlayerAccountGamingLimitsInfoCard-C5NKAWiQ.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DsRCdtpt.js → PlayerAccountGamingLimitsInfoCard-CSDRi3f-.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Cz0cDwzT.js → PlayerAccountGamingLimitsPage2Gm16Nd-8Tl2gEzE.js} +104 -104
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DXTbelGY.js → PlayerAccountGamingLimitsPage2Gm16Nd-BnrPT_ma.js} +104 -104
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BudPLEsD.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-DKqfFrBL.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B04Er6pi.js → PlayerAccountGamingLimitsPopup-DCN31S-r.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-oQNgmn2e.js → PlayerAccountGamingLimitsPopup-DrJTQvtg.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CRPQEiEy.js → PlayerAccountGamingLimitsWrapper2Nd-D3W2yda3.js} +37 -37
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CgXiJZri.cjs → PlayerAccountGamingLimitsWrapper2Nd-DZCQ0SS6.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DcUmwaPI.js → PlayerAccountGamingLimitsWrapper2Nd-H3XB_cfh.js} +37 -37
- package/components/{PlayerAccountGeneralConfirmationModal-CukB9VCO.js → PlayerAccountGeneralConfirmationModal-BVL5axI_.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-ESnfg5wk.js → PlayerAccountGeneralConfirmationModal-DiAHffly.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs → PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-Dz2t35yx.js → PlayerAccountMenuNd-Bu9ZxduC.js} +29 -29
- package/components/{PlayerAccountMenuNd-y2DyyHIy.cjs → PlayerAccountMenuNd-CizaV1PR.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-BIxULyK_.js → PlayerAccountMenuNd-CrAZDSaS.js} +32 -32
- package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-CzspHDhO.cjs} +1 -1
- package/components/{PlayerAccountModal-BUf_-0GM.js → PlayerAccountModal-DAf18_Du.js} +23 -23
- package/components/{PlayerAccountModal-BZ_7luqG.js → PlayerAccountModal-YdQXeL8A.js} +23 -23
- package/components/{PlayerAccountNotifications-CNm0Cac9.js → PlayerAccountNotifications-5zu1lBMx.js} +36 -36
- package/components/{PlayerAccountNotifications-BbvJAh0S.cjs → PlayerAccountNotifications-CGmkTd-y.cjs} +1 -1
- package/components/{PlayerAccountNotifications-qzx6Peu-.js → PlayerAccountNotifications-vIvTXRgY.js} +35 -35
- package/components/{PlayerAccountProductRestriction-Da-DR_H1.js → PlayerAccountProductRestriction-AOsdnbM_.js} +9103 -4037
- package/components/PlayerAccountProductRestriction-DEeKlh_w.cjs +7546 -0
- package/components/{PlayerAccountProductRestriction-CN53RWXW.js → PlayerAccountProductRestriction-DSzFvx9n.js} +9128 -4062
- package/components/{PlayerAccountSelfExclusionNd-yHby6KUf.js → PlayerAccountSelfExclusionNd-CFNwZkrj.js} +114 -117
- package/components/{PlayerAccountSelfExclusionNd-B7DjoHrS.cjs → PlayerAccountSelfExclusionNd-CPV8f17y.cjs} +77 -77
- package/components/{PlayerAccountSelfExclusionNd-B5yQ8mL0.js → PlayerAccountSelfExclusionNd-ChwwwmsK.js} +552 -555
- package/components/{PlayerAccountTimeout-CkKX0-D_.js → PlayerAccountTimeout-6FbQMwfk.js} +75 -75
- package/components/{PlayerAccountTimeout-G31ynBjD.js → PlayerAccountTimeout-DdzKOzJH.js} +75 -75
- package/components/{PlayerAccountTimeout-CohC33sI.cjs → PlayerAccountTimeout-YCVZHUxk.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory--O5i9HfY.cjs → PlayerAccountTransactionsHistory-1NPSXcRo.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-lEqFBIwn.js → PlayerAccountTransactionsHistory-Cn05xGU1.js} +87 -87
- package/components/{PlayerAccountTransactionsHistory-CGq9q7Ak.js → PlayerAccountTransactionsHistory-Dm9tbCow.js} +87 -87
- package/components/{PlayerActiveBonuses-CG3MShje.js → PlayerActiveBonuses-6D2NramZ.js} +48 -48
- package/components/{PlayerActiveBonuses-_5tMeqW1.js → PlayerActiveBonuses-CAXKzlCB.js} +55 -55
- package/components/{PlayerActiveBonuses-VMRnoY1_.cjs → PlayerActiveBonuses-_NK812L8.cjs} +1 -1
- package/components/{PlayerBonusCard-JxCswDEv.js → PlayerBonusCard-Bq3pVRnf.js} +81 -81
- package/components/{PlayerBonusCard-KehruUku.cjs → PlayerBonusCard-C6zYcpN6.cjs} +1 -1
- package/components/{PlayerBonusCard-PjFBuYOQ.js → PlayerBonusCard-DPmKzmhw.js} +81 -81
- package/components/{PlayerBonusHistory-DgZlf4DN.js → PlayerBonusHistory-B6m3XdCn.js} +33 -33
- package/components/{PlayerBonusHistory-l9JKc1SI.cjs → PlayerBonusHistory-BKhCBCOx.cjs} +1 -1
- package/components/{PlayerBonusHistory-B9GBjrhp.js → PlayerBonusHistory-DZffQDY0.js} +33 -33
- package/components/{PlayerChangePasswordNd-BNKqXdus.js → PlayerChangePasswordNd-BJdk4OhW.js} +71 -71
- package/components/{PlayerChangePasswordNd-DcgU3jc2.cjs → PlayerChangePasswordNd-BgLvdsST.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-DeLVgl-F.js → PlayerChangePasswordNd-CTV_CCcj.js} +71 -71
- package/components/PlayerDeposit-BsyYS9xx.cjs +1 -0
- package/components/{PlayerDeposit-CNQfct0C.js → PlayerDeposit-D5ykTYYS.js} +80 -80
- package/components/{PlayerDeposit-DGv0xh8z.js → PlayerDeposit-syo0F-Bg.js} +80 -80
- package/components/{PlayerGamingHistory-CUfMRa00.js → PlayerGamingHistory-BJ7hXILk.js} +63 -63
- package/components/{PlayerGamingHistory-DrygiT7t.cjs → PlayerGamingHistory-Dmiz_YoW.cjs} +1 -1
- package/components/{PlayerGamingHistory-D-rZL0d1.js → PlayerGamingHistory-VDMCXsSr.js} +72 -72
- package/components/{PlayerPendingWithdrawals-BizDJ0F9.js → PlayerPendingWithdrawals-C0wYmh2S.js} +26 -26
- package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-Dvq9lK8F.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BB2HoABl.js → PlayerPendingWithdrawals-i7OozfVP.js} +26 -26
- package/components/{PlayerProfileInfo-Cnl1XufF.js → PlayerProfileInfo-C8O_EaxV.js} +66 -66
- package/components/{PlayerProfileInfo-CKJNYYA8.cjs → PlayerProfileInfo-CYPlnEWJ.cjs} +1 -1
- package/components/{PlayerProfileInfo-C-g4XepU.js → PlayerProfileInfo-ClOk9nzX.js} +66 -66
- package/components/{PlayerRealityCheck-BBmsx1va.js → PlayerRealityCheck-BIebwdRX.js} +44 -44
- package/components/{PlayerRealityCheck-Cq2rIALW.cjs → PlayerRealityCheck-BynMsi1X.cjs} +1 -1
- package/components/{PlayerRealityCheck-P7wFyweE.js → PlayerRealityCheck-Cjp4DHJi.js} +43 -43
- package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-BU4_vLyx.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CqY9DKiK.js → PlayerTransactionHistory-DjQdwT5r.js} +19 -19
- package/components/{PlayerTransactionHistory-DN6FJ2lh.js → PlayerTransactionHistory-NAh_DclU.js} +19 -19
- package/components/{PlayerWithdrawal-lAVd0flG.js → PlayerWithdrawal-CIKlBfKQ.js} +19 -19
- package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-CkSCfQ4A.cjs} +1 -1
- package/components/{PlayerWithdrawal-oEAQeQgU.js → PlayerWithdrawal-DrYfLVwI.js} +19 -19
- 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/package.json +1 -1
- package/stencil/{checkbox-group-input_15-BzVCOEV7.js → checkbox-group-input_15-BGXmT91Q.js} +9684 -4622
- package/stencil/{checkbox-group-input_15-UyiNBEuH.js → checkbox-group-input_15-BtHEJGZE.js} +9681 -4619
- package/stencil/checkbox-group-input_15-C-vtCU5M.cjs +7790 -0
- package/stencil/index-13661b98-7CFh6KFg.cjs +1 -0
- package/stencil/index-13661b98-Bzi1anVk.js +595 -0
- package/stencil/index-13661b98-CxJhVa2n.js +611 -0
- package/stencil/index-1ef3a64c-DR7bpfUj.cjs +1 -0
- package/stencil/index-1ef3a64c-HE2lDlEL.js +572 -0
- package/stencil/index-1ef3a64c-zEGNB-u8.js +556 -0
- package/stencil/index-7c5e707a-C18Xb5u5.js +643 -0
- package/stencil/index-7c5e707a-CRg_NsyV.js +616 -0
- package/stencil/index-7c5e707a-Dz89ASxH.cjs +1 -0
- package/stencil/{index-9c0f6c58-DH5Ki39B.js → index-9c0f6c58-CWsaYxOT.js} +197 -197
- package/stencil/index-9c0f6c58-Cv5Mos03.cjs +1 -0
- package/stencil/index-9c0f6c58-ntq_iYNK.js +576 -0
- package/stencil/index-b2193545-DQUvHUpa.cjs +1 -0
- package/stencil/index-b2193545-DoYU_tL8.js +503 -0
- package/stencil/index-b2193545-_I2wisuY.js +519 -0
- package/stencil/{pam-change-password-iphXW9aC.js → pam-change-password-Cr1sJNHm.js} +1 -1
- package/stencil/{pam-change-password-NFSIJ7d0.js → pam-change-password-DPOrnnxc.js} +1 -1
- package/stencil/{pam-change-password-CnEeGd5H.cjs → pam-change-password-Dheql5Od.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CIk78u1F.js → pam-change-password-f4a1e7e7-Cljpv7z-.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CbbJR39E.cjs → pam-change-password-f4a1e7e7-Co15EwS1.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-rXcaCqmV.js → pam-change-password-f4a1e7e7-D3cLmowK.js} +1 -1
- package/stencil/{player-kyc-verification-DW2tWbg_.cjs → player-kyc-verification-BOxNJ6x_.cjs} +1 -1
- package/stencil/{player-kyc-verification-BJuBsd7A.js → player-kyc-verification-jOo_qPpq.js} +1 -1
- package/stencil/{player-kyc-verification-u-XUlDen.js → player-kyc-verification-sZ9OAQ8Z.js} +1 -1
- package/stencil/{ui-skeleton-CnxOhYAT.js → ui-skeleton-C_FDz0NJ.js} +2 -2
- package/stencil/{ui-skeleton-Bez-iF-R.cjs → ui-skeleton-GEqIXVxo.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Bl0_r9TX.js → ui-skeleton-ae35c6f2-BreM325l.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D37mmp9J.cjs → ui-skeleton-ae35c6f2-CeNpgiKf.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CXRVKjq-.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +1 -1
- package/stencil/{ui-skeleton-CScGJdv_.js → ui-skeleton-mkMdvWYI.js} +2 -2
- package/stencil/{user-deposit-withdrawal-KqJCF9Hl.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-ar8K3Kn7.js → user-deposit-withdrawal-Cr0-V-2c.js} +1 -1
- package/stencil/{user-deposit-withdrawal-B7dnuKq0.js → user-deposit-withdrawal-DdJYJeX1.js} +1 -1
- package/stencil/{user-transaction-history-o1zvVNkt.js → user-transaction-history-CE0g3u_y.js} +1 -3
- package/stencil/user-transaction-history-CadScrch.cjs +1 -0
- package/stencil/{user-transaction-history-D86WcqZY.js → user-transaction-history-Ck3DLEYJ.js} +1 -3
- package/components/GeneralLogout-TofSUXEw.cjs +0 -21
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +0 -1
- package/components/PlayerAccountBettingHistory-BspqrGzf.js +0 -310
- package/components/PlayerAccountBettingHistory-Dl1_SAM4.js +0 -311
- package/components/PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs +0 -2
- package/components/PlayerAccountProductRestriction-nQ_8_MV1.cjs +0 -5639
- package/components/PlayerDeposit-BLDWbMBK.cjs +0 -1
- package/stencil/checkbox-group-input_15-BR0ZwfUi.cjs +0 -5883
- package/stencil/index-13661b98-B9l_O4QH.js +0 -595
- package/stencil/index-13661b98-BWdlHLAA.cjs +0 -1
- package/stencil/index-13661b98-DQ52QmXa.js +0 -611
- package/stencil/index-1ef3a64c-BJwg6KZV.js +0 -572
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +0 -1
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +0 -556
- package/stencil/index-7c5e707a-BZ26MA7_.js +0 -616
- package/stencil/index-7c5e707a-CVVnpkZ1.js +0 -643
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +0 -1
- package/stencil/index-9c0f6c58-8sXzcKbt.js +0 -576
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +0 -1
- package/stencil/index-b2193545-BekNYO1T.js +0 -519
- package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
- package/stencil/index-b2193545-DfDFpDFs.js +0 -503
- package/stencil/user-transaction-history-xgpDQYWU.cjs +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var Br = Object.defineProperty, Hr = Object.defineProperties;
|
|
2
|
-
var
|
|
2
|
+
var $r = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ho = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var po = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e,
|
|
4
|
+
var Yr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var po = (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) && po(o, e, t[e]);
|
|
8
8
|
if (ho)
|
|
9
9
|
for (var e of ho(t))
|
|
10
10
|
jr.call(t, e) && po(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, Dt = (o, t) => Hr(o, $r(t));
|
|
13
|
+
var nt = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
16
16
|
a(e.next(l));
|
|
@@ -26,16 +26,16 @@ 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 { a5 as Vr, a6 as Ur, a as Wr, $ as qr, S as Kr, i as Gr,
|
|
30
|
-
import { d as Ee } from "./PlayerAccountProductRestriction-
|
|
31
|
-
import "../stencil/ui-skeleton-
|
|
32
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
29
|
+
import { a5 as Vr, a6 as Ur, a as Wr, $ as qr, S as Kr, i as Gr, s as Jr, f as oe, b as Xr, n as gi, d as ne, h as ae, k as w, p as Zr, q as Qr, u as en, w as fo, j as f, m as I, g as S, Y as Zt, e as E, O as mo, P as tn, r as on, c as de, o as qe, l as Lt, t as re, v as Ae, F as sn, x as rn, y as nn, z as an, A as ln, B as cn } from "./GeneralLogout-BKUfd8BJ.js";
|
|
30
|
+
import { d as Ee } from "./PlayerAccountProductRestriction-DSzFvx9n.js";
|
|
31
|
+
import "../stencil/ui-skeleton-C_FDz0NJ.js";
|
|
32
|
+
import "./PlayerAccountGamingLimitsGroupEdit-8LGyrjL0.js";
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
36
36
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
37
37
|
*/
|
|
38
|
-
function be(o, t = "24.5.
|
|
38
|
+
function be(o, t = "24.5.12") {
|
|
39
39
|
Object.defineProperty(o, "version", {
|
|
40
40
|
get() {
|
|
41
41
|
return t;
|
|
@@ -67,8 +67,8 @@ be(un);
|
|
|
67
67
|
* Copyright 2019 Google LLC
|
|
68
68
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
69
69
|
*/
|
|
70
|
-
const
|
|
71
|
-
let
|
|
70
|
+
const Nt = globalThis, $i = Nt.ShadowRoot && (Nt.ShadyCSS === void 0 || Nt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Yi = Symbol(), _o = /* @__PURE__ */ new WeakMap();
|
|
71
|
+
let ji = class {
|
|
72
72
|
constructor(t, e, i) {
|
|
73
73
|
if (this._$cssResult$ = !0, i !== Yi)
|
|
74
74
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -77,7 +77,7 @@ let $i = class {
|
|
|
77
77
|
get styleSheet() {
|
|
78
78
|
let t = this.o;
|
|
79
79
|
const e = this.t;
|
|
80
|
-
if (
|
|
80
|
+
if ($i && t === void 0) {
|
|
81
81
|
const i = e !== void 0 && e.length === 1;
|
|
82
82
|
i && (t = _o.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && _o.set(e, t));
|
|
83
83
|
}
|
|
@@ -87,7 +87,7 @@ let $i = class {
|
|
|
87
87
|
return this.cssText;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const dn = (o) => new
|
|
90
|
+
const dn = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), P = (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;
|
|
@@ -95,16 +95,16 @@ const dn = (o) => new $i(typeof o == "string" ? o : o + "", void 0, Yi), P = (o,
|
|
|
95
95
|
return n;
|
|
96
96
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
97
97
|
})(s) + o[r + 1], o[0]);
|
|
98
|
-
return new
|
|
98
|
+
return new ji(e, o, Yi);
|
|
99
99
|
}, ps = (o, t) => {
|
|
100
|
-
if (
|
|
100
|
+
if ($i)
|
|
101
101
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
102
102
|
else
|
|
103
103
|
for (const e of t) {
|
|
104
|
-
const i = document.createElement("style"), s =
|
|
104
|
+
const i = document.createElement("style"), s = Nt.litNonce;
|
|
105
105
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
106
106
|
}
|
|
107
|
-
}, go =
|
|
107
|
+
}, go = $i ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
108
108
|
let e = "";
|
|
109
109
|
for (const i of t.cssRules)
|
|
110
110
|
e += i.cssText;
|
|
@@ -115,7 +115,7 @@ const dn = (o) => new $i(typeof o == "string" ? o : o + "", void 0, Yi), P = (o,
|
|
|
115
115
|
* Copyright 2017 Google LLC
|
|
116
116
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
117
|
*/
|
|
118
|
-
const { is: hn, defineProperty: pn, getOwnPropertyDescriptor: fn, getOwnPropertyNames: mn, getOwnPropertySymbols: _n, getPrototypeOf: gn } = Object, Oe = globalThis, bo = Oe.trustedTypes, bn = bo ? bo.emptyScript : "",
|
|
118
|
+
const { is: hn, defineProperty: pn, getOwnPropertyDescriptor: fn, getOwnPropertyNames: mn, getOwnPropertySymbols: _n, getPrototypeOf: gn } = Object, Oe = globalThis, bo = Oe.trustedTypes, bn = bo ? bo.emptyScript : "", Qt = Oe.reactiveElementPolyfillSupport, ft = (o, t) => o, bi = { toAttribute(o, t) {
|
|
119
119
|
switch (t) {
|
|
120
120
|
case Boolean:
|
|
121
121
|
o = o ? bn : null;
|
|
@@ -143,10 +143,10 @@ const { is: hn, defineProperty: pn, getOwnPropertyDescriptor: fn, getOwnProperty
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
return e;
|
|
146
|
-
} }, fs = (o, t) => !hn(o, t), vo = { attribute: !0, type: String, converter:
|
|
146
|
+
} }, fs = (o, t) => !hn(o, t), vo = { attribute: !0, type: String, converter: bi, reflect: !1, useDefault: !1, hasChanged: fs };
|
|
147
147
|
var as, ls;
|
|
148
148
|
(as = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (ls = Oe.litPropertyMetadata) != null || (Oe.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
149
|
-
class
|
|
149
|
+
class Ge extends HTMLElement {
|
|
150
150
|
static addInitializer(t) {
|
|
151
151
|
var e;
|
|
152
152
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -155,7 +155,7 @@ class Ke extends HTMLElement {
|
|
|
155
155
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
156
156
|
}
|
|
157
157
|
static createProperty(t, e = vo) {
|
|
158
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
158
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
159
159
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
160
160
|
s !== void 0 && pn(this.prototype, t, s);
|
|
161
161
|
}
|
|
@@ -167,11 +167,9 @@ class Ke extends HTMLElement {
|
|
|
167
167
|
}, set(a) {
|
|
168
168
|
this[e] = a;
|
|
169
169
|
} };
|
|
170
|
-
return { get() {
|
|
171
|
-
return s == null ? void 0 : s.call(this);
|
|
172
|
-
}, set(a) {
|
|
170
|
+
return { get: s, set(a) {
|
|
173
171
|
const l = s == null ? void 0 : s.call(this);
|
|
174
|
-
r.call(this, a), this.requestUpdate(t, l, i);
|
|
172
|
+
r == null || r.call(this, a), this.requestUpdate(t, l, i);
|
|
175
173
|
}, configurable: !0, enumerable: !0 };
|
|
176
174
|
}
|
|
177
175
|
static getPropertyOptions(t) {
|
|
@@ -179,15 +177,15 @@ class Ke extends HTMLElement {
|
|
|
179
177
|
return (e = this.elementProperties.get(t)) != null ? e : vo;
|
|
180
178
|
}
|
|
181
179
|
static _$Ei() {
|
|
182
|
-
if (this.hasOwnProperty(
|
|
180
|
+
if (this.hasOwnProperty(ft("elementProperties")))
|
|
183
181
|
return;
|
|
184
182
|
const t = gn(this);
|
|
185
183
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
186
184
|
}
|
|
187
185
|
static finalize() {
|
|
188
|
-
if (this.hasOwnProperty(
|
|
186
|
+
if (this.hasOwnProperty(ft("finalized")))
|
|
189
187
|
return;
|
|
190
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
188
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ft("properties"))) {
|
|
191
189
|
const e = this.properties, i = [...mn(e), ..._n(e)];
|
|
192
190
|
for (const s of i)
|
|
193
191
|
this.createProperty(s, e[s]);
|
|
@@ -265,37 +263,38 @@ class Ke extends HTMLElement {
|
|
|
265
263
|
attributeChangedCallback(t, e, i) {
|
|
266
264
|
this._$AK(t, i);
|
|
267
265
|
}
|
|
268
|
-
_$
|
|
266
|
+
_$ET(t, e) {
|
|
269
267
|
var r;
|
|
270
268
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
271
269
|
if (s !== void 0 && i.reflect === !0) {
|
|
272
|
-
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter :
|
|
270
|
+
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : bi).toAttribute(e, i.type);
|
|
273
271
|
this._$Em = t, n == null ? this.removeAttribute(s) : this.setAttribute(s, n), this._$Em = null;
|
|
274
272
|
}
|
|
275
273
|
}
|
|
276
274
|
_$AK(t, e) {
|
|
277
|
-
var r;
|
|
275
|
+
var r, n, a, l;
|
|
278
276
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
279
277
|
if (s !== void 0 && this._$Em !== s) {
|
|
280
|
-
const
|
|
281
|
-
this._$Em = s, this[s] = a.fromAttribute(e,
|
|
278
|
+
const c = i.getPropertyOptions(s), u = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((r = c.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? c.converter : bi;
|
|
279
|
+
this._$Em = s, this[s] = (l = (a = u.fromAttribute(e, c.type)) != null ? a : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? l : null, this._$Em = null;
|
|
282
280
|
}
|
|
283
281
|
}
|
|
284
282
|
requestUpdate(t, e, i) {
|
|
285
|
-
var s;
|
|
283
|
+
var s, r;
|
|
286
284
|
if (t !== void 0) {
|
|
287
|
-
|
|
285
|
+
const n = this.constructor, a = this[t];
|
|
286
|
+
if (i != null || (i = n.getPropertyOptions(t)), !(((s = i.hasChanged) != null ? s : fs)(a, e) || i.useDefault && i.reflect && a === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i))))
|
|
288
287
|
return;
|
|
289
|
-
this.
|
|
288
|
+
this.C(t, e, i);
|
|
290
289
|
}
|
|
291
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
290
|
+
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
292
291
|
}
|
|
293
|
-
|
|
294
|
-
var
|
|
295
|
-
this._$AL.has(t) || this._$AL.set(t, e),
|
|
292
|
+
C(t, e, { useDefault: i, reflect: s, wrapped: r }, n) {
|
|
293
|
+
var a, l, c;
|
|
294
|
+
i && !((a = this._$Ej) != null ? a : this._$Ej = /* @__PURE__ */ new Map()).has(t) && (this._$Ej.set(t, (l = n != null ? n : e) != null ? l : this[t]), r !== !0 || n !== void 0) || (this._$AL.has(t) || (this.hasUpdated || i || (e = void 0), this._$AL.set(t, e)), s === !0 && this._$Em !== t && ((c = this._$Eq) != null ? c : this._$Eq = /* @__PURE__ */ new Set()).add(t));
|
|
296
295
|
}
|
|
297
|
-
_$
|
|
298
|
-
return
|
|
296
|
+
_$EP() {
|
|
297
|
+
return nt(this, null, function* () {
|
|
299
298
|
this.isUpdatePending = !0;
|
|
300
299
|
try {
|
|
301
300
|
yield this._$ES;
|
|
@@ -321,8 +320,10 @@ class Ke extends HTMLElement {
|
|
|
321
320
|
}
|
|
322
321
|
const r = this.constructor.elementProperties;
|
|
323
322
|
if (r.size > 0)
|
|
324
|
-
for (const [n, a] of r)
|
|
325
|
-
|
|
323
|
+
for (const [n, a] of r) {
|
|
324
|
+
const { wrapped: l } = a, c = this[n];
|
|
325
|
+
l !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, a, c);
|
|
326
|
+
}
|
|
326
327
|
}
|
|
327
328
|
let t = !1;
|
|
328
329
|
const e = this._$AL;
|
|
@@ -330,9 +331,9 @@ class Ke extends HTMLElement {
|
|
|
330
331
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
|
331
332
|
var n;
|
|
332
333
|
return (n = r.hostUpdate) == null ? void 0 : n.call(r);
|
|
333
|
-
}), this.update(e)) : this._$
|
|
334
|
+
}), this.update(e)) : this._$EM();
|
|
334
335
|
} catch (r) {
|
|
335
|
-
throw t = !1, this._$
|
|
336
|
+
throw t = !1, this._$EM(), r;
|
|
336
337
|
}
|
|
337
338
|
t && this._$AE(e);
|
|
338
339
|
}
|
|
@@ -345,7 +346,7 @@ class Ke extends HTMLElement {
|
|
|
345
346
|
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
346
347
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
347
348
|
}
|
|
348
|
-
_$
|
|
349
|
+
_$EM() {
|
|
349
350
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
350
351
|
}
|
|
351
352
|
get updateComplete() {
|
|
@@ -358,7 +359,7 @@ class Ke extends HTMLElement {
|
|
|
358
359
|
return !0;
|
|
359
360
|
}
|
|
360
361
|
update(t) {
|
|
361
|
-
this._$
|
|
362
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
|
|
362
363
|
}
|
|
363
364
|
updated(t) {
|
|
364
365
|
}
|
|
@@ -366,40 +367,40 @@ class Ke extends HTMLElement {
|
|
|
366
367
|
}
|
|
367
368
|
}
|
|
368
369
|
var cs;
|
|
369
|
-
|
|
370
|
+
Ge.elementStyles = [], Ge.shadowRootOptions = { mode: "open" }, Ge[ft("elementProperties")] = /* @__PURE__ */ new Map(), Ge[ft("finalized")] = /* @__PURE__ */ new Map(), Qt == null || Qt({ ReactiveElement: Ge }), ((cs = Oe.reactiveElementVersions) != null ? cs : Oe.reactiveElementVersions = []).push("2.1.0");
|
|
370
371
|
/**
|
|
371
372
|
* @license
|
|
372
373
|
* Copyright 2017 Google LLC
|
|
373
374
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
374
375
|
*/
|
|
375
|
-
const
|
|
376
|
-
\f\r]`,
|
|
377
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Eo = /'/g, So = /"/g, gs = /^(?:script|style|textarea|title)$/i,
|
|
376
|
+
const mt = globalThis, Rt = mt.trustedTypes, yo = Rt ? Rt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ms = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, _s = "?" + Me, vn = `<${_s}>`, je = document, gt = () => je.createComment(""), bt = (o) => o === null || typeof o != "object" && typeof o != "function", Vi = Array.isArray, yn = (o) => Vi(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", ei = `[
|
|
377
|
+
\f\r]`, at = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, xo = /-->/g, wo = />/g, Le = RegExp(`>|${ei}(?:([^\\s"'>=/]+)(${ei}*=${ei}*(?:[^
|
|
378
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Eo = /'/g, So = /"/g, gs = /^(?:script|style|textarea|title)$/i, et = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), Ao = /* @__PURE__ */ new WeakMap(), Re = je.createTreeWalker(je, 129);
|
|
378
379
|
function bs(o, t) {
|
|
379
|
-
if (!
|
|
380
|
+
if (!Vi(o) || !o.hasOwnProperty("raw"))
|
|
380
381
|
throw Error("invalid template strings array");
|
|
381
382
|
return yo !== void 0 ? yo.createHTML(t) : t;
|
|
382
383
|
}
|
|
383
384
|
const xn = (o, t) => {
|
|
384
385
|
const e = o.length - 1, i = [];
|
|
385
|
-
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
386
|
+
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = at;
|
|
386
387
|
for (let a = 0; a < e; a++) {
|
|
387
388
|
const l = o[a];
|
|
388
389
|
let c, u, d = -1, h = 0;
|
|
389
390
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
390
|
-
h = n.lastIndex, n ===
|
|
391
|
+
h = n.lastIndex, n === at ? u[1] === "!--" ? n = xo : u[1] !== void 0 ? n = wo : u[2] !== void 0 ? (gs.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = Le) : u[3] !== void 0 && (n = Le) : n === Le ? u[0] === ">" ? (n = s != null ? s : at, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Le : u[3] === '"' ? So : Eo) : n === So || n === Eo ? n = Le : n === xo || n === wo ? n = at : (n = Le, s = void 0);
|
|
391
392
|
const m = n === Le && o[a + 1].startsWith("/>") ? " " : "";
|
|
392
|
-
r += n ===
|
|
393
|
+
r += n === at ? l + vn : d >= 0 ? (i.push(c), l.slice(0, d) + ms + l.slice(d) + Me + m) : l + Me + (d === -2 ? a : m);
|
|
393
394
|
}
|
|
394
395
|
return [bs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
395
396
|
};
|
|
396
|
-
class
|
|
397
|
+
class vt {
|
|
397
398
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
398
399
|
let s;
|
|
399
400
|
this.parts = [];
|
|
400
401
|
let r = 0, n = 0;
|
|
401
402
|
const a = t.length - 1, l = this.parts, [c, u] = xn(t, e);
|
|
402
|
-
if (this.el =
|
|
403
|
+
if (this.el = vt.createElement(c, i), Re.currentNode = this.el.content, e === 2 || e === 3) {
|
|
403
404
|
const d = this.el.content.firstChild;
|
|
404
405
|
d.replaceWith(...d.childNodes);
|
|
405
406
|
}
|
|
@@ -409,16 +410,16 @@ class bt {
|
|
|
409
410
|
for (const d of s.getAttributeNames())
|
|
410
411
|
if (d.endsWith(ms)) {
|
|
411
412
|
const h = u[n++], m = s.getAttribute(d).split(Me), b = /([.?@])?(.*)/.exec(h);
|
|
412
|
-
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ? En : b[1] === "?" ? Sn : b[1] === "@" ? An :
|
|
413
|
+
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ? En : b[1] === "?" ? Sn : b[1] === "@" ? An : Wt }), s.removeAttribute(d);
|
|
413
414
|
} else
|
|
414
415
|
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
415
416
|
if (gs.test(s.tagName)) {
|
|
416
417
|
const d = s.textContent.split(Me), h = d.length - 1;
|
|
417
418
|
if (h > 0) {
|
|
418
|
-
s.textContent =
|
|
419
|
+
s.textContent = Rt ? Rt.emptyScript : "";
|
|
419
420
|
for (let m = 0; m < h; m++)
|
|
420
|
-
s.append(d[m],
|
|
421
|
-
s.append(d[h],
|
|
421
|
+
s.append(d[m], gt()), Re.nextNode(), l.push({ type: 2, index: ++r });
|
|
422
|
+
s.append(d[h], gt());
|
|
422
423
|
}
|
|
423
424
|
}
|
|
424
425
|
} else if (s.nodeType === 8)
|
|
@@ -433,17 +434,17 @@ class bt {
|
|
|
433
434
|
}
|
|
434
435
|
}
|
|
435
436
|
static createElement(t, e) {
|
|
436
|
-
const i =
|
|
437
|
+
const i = je.createElement("template");
|
|
437
438
|
return i.innerHTML = t, i;
|
|
438
439
|
}
|
|
439
440
|
}
|
|
440
|
-
function
|
|
441
|
+
function tt(o, t, e = o, i) {
|
|
441
442
|
var n, a, l;
|
|
442
|
-
if (t ===
|
|
443
|
+
if (t === et)
|
|
443
444
|
return t;
|
|
444
445
|
let s = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
|
|
445
|
-
const r =
|
|
446
|
-
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t =
|
|
446
|
+
const r = bt(t) ? void 0 : t._$litDirective$;
|
|
447
|
+
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t = tt(o, s._$AS(o, t.values), s, i)), t;
|
|
447
448
|
}
|
|
448
449
|
class wn {
|
|
449
450
|
constructor(t, e) {
|
|
@@ -457,17 +458,17 @@ class wn {
|
|
|
457
458
|
}
|
|
458
459
|
u(t) {
|
|
459
460
|
var c;
|
|
460
|
-
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c :
|
|
461
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c : je).importNode(e, !0);
|
|
461
462
|
Re.currentNode = s;
|
|
462
463
|
let r = Re.nextNode(), n = 0, a = 0, l = i[0];
|
|
463
464
|
for (; l !== void 0; ) {
|
|
464
465
|
if (n === l.index) {
|
|
465
466
|
let u;
|
|
466
|
-
l.type === 2 ? u = new
|
|
467
|
+
l.type === 2 ? u = new Ct(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new Cn(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
467
468
|
}
|
|
468
469
|
n !== (l == null ? void 0 : l.index) && (r = Re.nextNode(), n++);
|
|
469
470
|
}
|
|
470
|
-
return Re.currentNode =
|
|
471
|
+
return Re.currentNode = je, s;
|
|
471
472
|
}
|
|
472
473
|
p(t) {
|
|
473
474
|
let e = 0;
|
|
@@ -475,7 +476,7 @@ class wn {
|
|
|
475
476
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
476
477
|
}
|
|
477
478
|
}
|
|
478
|
-
class
|
|
479
|
+
class Ct {
|
|
479
480
|
get _$AU() {
|
|
480
481
|
var t, e;
|
|
481
482
|
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
@@ -496,7 +497,7 @@ class At {
|
|
|
496
497
|
return this._$AB;
|
|
497
498
|
}
|
|
498
499
|
_$AI(t, e = this) {
|
|
499
|
-
t =
|
|
500
|
+
t = tt(this, t, e), bt(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== et && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : yn(t) ? this.k(t) : this._(t);
|
|
500
501
|
}
|
|
501
502
|
O(t) {
|
|
502
503
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -505,11 +506,11 @@ class At {
|
|
|
505
506
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
506
507
|
}
|
|
507
508
|
_(t) {
|
|
508
|
-
this._$AH !== W &&
|
|
509
|
+
this._$AH !== W && bt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(je.createTextNode(t)), this._$AH = t;
|
|
509
510
|
}
|
|
510
511
|
$(t) {
|
|
511
512
|
var r;
|
|
512
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
513
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = vt.createElement(bs(i.h, i.h[0]), this.options)), i);
|
|
513
514
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
514
515
|
this._$AH.p(e);
|
|
515
516
|
else {
|
|
@@ -519,14 +520,14 @@ class At {
|
|
|
519
520
|
}
|
|
520
521
|
_$AC(t) {
|
|
521
522
|
let e = Ao.get(t.strings);
|
|
522
|
-
return e === void 0 && Ao.set(t.strings, e = new
|
|
523
|
+
return e === void 0 && Ao.set(t.strings, e = new vt(t)), e;
|
|
523
524
|
}
|
|
524
525
|
k(t) {
|
|
525
|
-
|
|
526
|
+
Vi(this._$AH) || (this._$AH = [], this._$AR());
|
|
526
527
|
const e = this._$AH;
|
|
527
528
|
let i, s = 0;
|
|
528
529
|
for (const r of t)
|
|
529
|
-
s === e.length ? e.push(i = new
|
|
530
|
+
s === e.length ? e.push(i = new Ct(this.O(gt()), this.O(gt()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
530
531
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
531
532
|
}
|
|
532
533
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -541,7 +542,7 @@ class At {
|
|
|
541
542
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
542
543
|
}
|
|
543
544
|
}
|
|
544
|
-
class
|
|
545
|
+
class Wt {
|
|
545
546
|
get tagName() {
|
|
546
547
|
return this.element.tagName;
|
|
547
548
|
}
|
|
@@ -555,12 +556,12 @@ class Ut {
|
|
|
555
556
|
const r = this.strings;
|
|
556
557
|
let n = !1;
|
|
557
558
|
if (r === void 0)
|
|
558
|
-
t =
|
|
559
|
+
t = tt(this, t, e, 0), n = !bt(t) || t !== this._$AH && t !== et, n && (this._$AH = t);
|
|
559
560
|
else {
|
|
560
561
|
const a = t;
|
|
561
562
|
let l, c;
|
|
562
563
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
563
|
-
c =
|
|
564
|
+
c = tt(this, a[i + l], e, l), c === et && (c = this._$AH[l]), n || (n = !bt(c) || c !== this._$AH[l]), c === W ? t = W : t !== W && (t += (c != null ? c : "") + r[l + 1]), this._$AH[l] = c;
|
|
564
565
|
}
|
|
565
566
|
n && !s && this.j(t);
|
|
566
567
|
}
|
|
@@ -568,7 +569,7 @@ class Ut {
|
|
|
568
569
|
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
569
570
|
}
|
|
570
571
|
}
|
|
571
|
-
class En extends
|
|
572
|
+
class En extends Wt {
|
|
572
573
|
constructor() {
|
|
573
574
|
super(...arguments), this.type = 3;
|
|
574
575
|
}
|
|
@@ -576,7 +577,7 @@ class En extends Ut {
|
|
|
576
577
|
this.element[this.name] = t === W ? void 0 : t;
|
|
577
578
|
}
|
|
578
579
|
}
|
|
579
|
-
class Sn extends
|
|
580
|
+
class Sn extends Wt {
|
|
580
581
|
constructor() {
|
|
581
582
|
super(...arguments), this.type = 4;
|
|
582
583
|
}
|
|
@@ -584,13 +585,13 @@ class Sn extends Ut {
|
|
|
584
585
|
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
585
586
|
}
|
|
586
587
|
}
|
|
587
|
-
class An extends
|
|
588
|
+
class An extends Wt {
|
|
588
589
|
constructor(t, e, i, s, r) {
|
|
589
590
|
super(t, e, i, s, r), this.type = 5;
|
|
590
591
|
}
|
|
591
592
|
_$AI(t, e = this) {
|
|
592
593
|
var n;
|
|
593
|
-
if ((t = (n =
|
|
594
|
+
if ((t = (n = tt(this, t, e, 0)) != null ? n : W) === et)
|
|
594
595
|
return;
|
|
595
596
|
const i = this._$AH, s = t === W && i !== W || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== W && (i === W || s);
|
|
596
597
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -608,19 +609,19 @@ class Cn {
|
|
|
608
609
|
return this._$AM._$AU;
|
|
609
610
|
}
|
|
610
611
|
_$AI(t) {
|
|
611
|
-
|
|
612
|
+
tt(this, t);
|
|
612
613
|
}
|
|
613
614
|
}
|
|
614
|
-
const
|
|
615
|
+
const ti = mt.litHtmlPolyfillSupport;
|
|
615
616
|
var us;
|
|
616
|
-
|
|
617
|
+
ti == null || ti(vt, Ct), ((us = mt.litHtmlVersions) != null ? us : mt.litHtmlVersions = []).push("3.3.0");
|
|
617
618
|
const Pn = (o, t, e) => {
|
|
618
619
|
var r, n;
|
|
619
620
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
620
621
|
let s = i._$litPart$;
|
|
621
622
|
if (s === void 0) {
|
|
622
623
|
const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
623
|
-
i._$litPart$ = s = new
|
|
624
|
+
i._$litPart$ = s = new Ct(t.insertBefore(gt(), a), a, void 0, e != null ? e : {});
|
|
624
625
|
}
|
|
625
626
|
return s._$AI(o), s;
|
|
626
627
|
};
|
|
@@ -629,7 +630,8 @@ const Pn = (o, t, e) => {
|
|
|
629
630
|
* Copyright 2017 Google LLC
|
|
630
631
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
631
632
|
*/
|
|
632
|
-
|
|
633
|
+
const $e = globalThis;
|
|
634
|
+
class Je extends Ge {
|
|
633
635
|
constructor() {
|
|
634
636
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
635
637
|
}
|
|
@@ -651,15 +653,15 @@ class Ge extends Ke {
|
|
|
651
653
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
652
654
|
}
|
|
653
655
|
render() {
|
|
654
|
-
return
|
|
656
|
+
return et;
|
|
655
657
|
}
|
|
656
658
|
}
|
|
657
659
|
var ds;
|
|
658
|
-
|
|
659
|
-
const
|
|
660
|
-
|
|
660
|
+
Je._$litElement$ = !0, Je.finalized = !0, (ds = $e.litElementHydrateSupport) == null || ds.call($e, { LitElement: Je });
|
|
661
|
+
const ii = $e.litElementPolyfillSupport;
|
|
662
|
+
ii == null || ii({ LitElement: Je });
|
|
661
663
|
var hs;
|
|
662
|
-
((hs =
|
|
664
|
+
((hs = $e.litElementVersions) != null ? hs : $e.litElementVersions = []).push("4.2.0");
|
|
663
665
|
/**
|
|
664
666
|
* @license
|
|
665
667
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -704,7 +706,7 @@ const kn = (o) => class extends o {
|
|
|
704
706
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
705
707
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
706
708
|
*/
|
|
707
|
-
const vs = [],
|
|
709
|
+
const vs = [], vi = /* @__PURE__ */ new Set(), Ui = /* @__PURE__ */ new Set();
|
|
708
710
|
function ys(o) {
|
|
709
711
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
710
712
|
}
|
|
@@ -712,7 +714,7 @@ function Dn(o) {
|
|
|
712
714
|
return ys(customElements.get(o));
|
|
713
715
|
}
|
|
714
716
|
function Tn(o = []) {
|
|
715
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
717
|
+
return [o].flat(1 / 0).filter((t) => t instanceof ji ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
716
718
|
}
|
|
717
719
|
function xs(o, t) {
|
|
718
720
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -721,36 +723,36 @@ function ws(o) {
|
|
|
721
723
|
return o.map((t) => t.cssText).join(`
|
|
722
724
|
`);
|
|
723
725
|
}
|
|
724
|
-
const
|
|
726
|
+
const Bt = "vaadin-themable-mixin-style";
|
|
725
727
|
function Mn(o, t) {
|
|
726
728
|
const e = document.createElement("style");
|
|
727
|
-
e.id =
|
|
729
|
+
e.id = Bt, e.textContent = ws(o), t.content.appendChild(e);
|
|
728
730
|
}
|
|
729
731
|
function On(o) {
|
|
730
732
|
if (!o.shadowRoot)
|
|
731
733
|
return;
|
|
732
734
|
const t = o.constructor;
|
|
733
|
-
if (o instanceof
|
|
735
|
+
if (o instanceof Je)
|
|
734
736
|
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), ps(o.shadowRoot, t.elementStyles);
|
|
735
737
|
else {
|
|
736
|
-
const e = o.shadowRoot.getElementById(
|
|
737
|
-
e.textContent = i.content.getElementById(
|
|
738
|
+
const e = o.shadowRoot.getElementById(Bt), i = t.prototype._template;
|
|
739
|
+
e.textContent = i.content.getElementById(Bt).textContent;
|
|
738
740
|
}
|
|
739
741
|
}
|
|
740
742
|
function In(o) {
|
|
741
|
-
|
|
743
|
+
vi.forEach((t) => {
|
|
742
744
|
const e = t.deref();
|
|
743
|
-
e instanceof o ? On(e) : e ||
|
|
745
|
+
e instanceof o ? On(e) : e || vi.delete(t);
|
|
744
746
|
});
|
|
745
747
|
}
|
|
746
748
|
function Es(o) {
|
|
747
|
-
if (o.prototype instanceof
|
|
749
|
+
if (o.prototype instanceof Je)
|
|
748
750
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
749
751
|
else {
|
|
750
752
|
const t = o.prototype._template;
|
|
751
|
-
t.content.getElementById(
|
|
753
|
+
t.content.getElementById(Bt).textContent = ws(o.getStylesForThis());
|
|
752
754
|
}
|
|
753
|
-
|
|
755
|
+
Ui.forEach((t) => {
|
|
754
756
|
const e = customElements.get(t);
|
|
755
757
|
e !== o && e.prototype instanceof o && Es(e);
|
|
756
758
|
});
|
|
@@ -767,7 +769,7 @@ function L(o, t, e = {}) {
|
|
|
767
769
|
styles: t,
|
|
768
770
|
include: e.include,
|
|
769
771
|
moduleId: e.moduleId
|
|
770
|
-
}), o &&
|
|
772
|
+
}), o && Ui.forEach((i) => {
|
|
771
773
|
if (xs(o, i) && Dn(i)) {
|
|
772
774
|
const s = customElements.get(i);
|
|
773
775
|
Fn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -776,7 +778,7 @@ function L(o, t, e = {}) {
|
|
|
776
778
|
}
|
|
777
779
|
});
|
|
778
780
|
}
|
|
779
|
-
function
|
|
781
|
+
function yi() {
|
|
780
782
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : vs;
|
|
781
783
|
}
|
|
782
784
|
function Nn(o = "") {
|
|
@@ -786,29 +788,29 @@ function Nn(o = "") {
|
|
|
786
788
|
function Ss(o) {
|
|
787
789
|
const t = [];
|
|
788
790
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
789
|
-
const i =
|
|
791
|
+
const i = yi().find((s) => s.moduleId === e);
|
|
790
792
|
i ? t.push(...Ss(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
791
793
|
}, o.styles), t;
|
|
792
794
|
}
|
|
793
795
|
function zn(o) {
|
|
794
|
-
const t = `${o}-default-theme`, e =
|
|
796
|
+
const t = `${o}-default-theme`, e = yi().filter((i) => i.moduleId !== t && xs(i.themeFor, o)).map((i) => Dt(kt({}, i), {
|
|
795
797
|
// Prepend styles from included themes
|
|
796
798
|
styles: [...Ss(i), ...i.styles],
|
|
797
799
|
// Map moduleId to includePriority
|
|
798
800
|
includePriority: Nn(i.moduleId)
|
|
799
801
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
800
|
-
return e.length > 0 ? e :
|
|
802
|
+
return e.length > 0 ? e : yi().filter((i) => i.moduleId === t);
|
|
801
803
|
}
|
|
802
|
-
const
|
|
804
|
+
const Ve = (o) => class extends kn(o) {
|
|
803
805
|
constructor() {
|
|
804
|
-
super(),
|
|
806
|
+
super(), vi.add(new WeakRef(this));
|
|
805
807
|
}
|
|
806
808
|
/**
|
|
807
809
|
* Covers PolymerElement based component styling
|
|
808
810
|
* @protected
|
|
809
811
|
*/
|
|
810
812
|
static finalize() {
|
|
811
|
-
if (super.finalize(), this.is &&
|
|
813
|
+
if (super.finalize(), this.is && Ui.add(this.is), this.elementStyles)
|
|
812
814
|
return;
|
|
813
815
|
const e = this.prototype._template;
|
|
814
816
|
!e || ys(this) || Mn(this.getStylesForThis(), e);
|
|
@@ -843,7 +845,7 @@ const Ln = (o, ...t) => {
|
|
|
843
845
|
const e = document.createElement("style");
|
|
844
846
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
845
847
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
846
|
-
},
|
|
848
|
+
}, st = (o, ...t) => {
|
|
847
849
|
Ln(`lumo-${o}`, t);
|
|
848
850
|
};
|
|
849
851
|
/**
|
|
@@ -867,7 +869,7 @@ const Rn = P`
|
|
|
867
869
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
868
870
|
}
|
|
869
871
|
`;
|
|
870
|
-
|
|
872
|
+
st("sizing-props", Rn);
|
|
871
873
|
/**
|
|
872
874
|
* @license
|
|
873
875
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -897,7 +899,7 @@ const Bn = P`
|
|
|
897
899
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
898
900
|
}
|
|
899
901
|
`;
|
|
900
|
-
|
|
902
|
+
st("spacing-props", Bn);
|
|
901
903
|
/**
|
|
902
904
|
* @license
|
|
903
905
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1005,13 +1007,13 @@ P`
|
|
|
1005
1007
|
--vaadin-input-field-value-font-weight: 500;
|
|
1006
1008
|
}
|
|
1007
1009
|
`;
|
|
1008
|
-
|
|
1010
|
+
st("style-props", Hn);
|
|
1009
1011
|
/**
|
|
1010
1012
|
* @license
|
|
1011
1013
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1012
1014
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1013
1015
|
*/
|
|
1014
|
-
const
|
|
1016
|
+
const $n = P`
|
|
1015
1017
|
:host {
|
|
1016
1018
|
/* Base (background) */
|
|
1017
1019
|
--lumo-base-color: #fff;
|
|
@@ -1097,8 +1099,8 @@ const Yn = P`
|
|
|
1097
1099
|
}
|
|
1098
1100
|
}
|
|
1099
1101
|
`;
|
|
1100
|
-
|
|
1101
|
-
const
|
|
1102
|
+
st("color-props", $n);
|
|
1103
|
+
const Yn = P`
|
|
1102
1104
|
[theme~='dark'] {
|
|
1103
1105
|
/* Base (background) */
|
|
1104
1106
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1217,7 +1219,7 @@ const $n = P`
|
|
|
1217
1219
|
background: transparent;
|
|
1218
1220
|
}
|
|
1219
1221
|
`;
|
|
1220
|
-
L("",
|
|
1222
|
+
L("", Yn, { moduleId: "lumo-color" });
|
|
1221
1223
|
/**
|
|
1222
1224
|
* @license
|
|
1223
1225
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1337,7 +1339,7 @@ const jn = P`
|
|
|
1337
1339
|
}
|
|
1338
1340
|
`;
|
|
1339
1341
|
L("", Vn, { moduleId: "lumo-typography" });
|
|
1340
|
-
|
|
1342
|
+
st("typography-props", jn);
|
|
1341
1343
|
/**
|
|
1342
1344
|
* @license
|
|
1343
1345
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2416,7 +2418,7 @@ const Kn = P`
|
|
|
2416
2418
|
--lumo-icons-user: '\\ea2a';
|
|
2417
2419
|
}
|
|
2418
2420
|
`;
|
|
2419
|
-
|
|
2421
|
+
st("font-icons", Kn);
|
|
2420
2422
|
/**
|
|
2421
2423
|
* @license
|
|
2422
2424
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2817,19 +2819,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2817
2819
|
Code distributed by Google as part of the polymer project is also
|
|
2818
2820
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2819
2821
|
*/
|
|
2820
|
-
let Zn = /(url\()([^)]*)(\))/g, Qn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
2821
|
-
function
|
|
2822
|
+
let Zn = /(url\()([^)]*)(\))/g, Qn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Tt, ue;
|
|
2823
|
+
function _t(o, t) {
|
|
2822
2824
|
if (o && Qn.test(o) || o === "//")
|
|
2823
2825
|
return o;
|
|
2824
|
-
if (
|
|
2825
|
-
|
|
2826
|
+
if (Tt === void 0) {
|
|
2827
|
+
Tt = !1;
|
|
2826
2828
|
try {
|
|
2827
2829
|
const e = new URL("b", "http://a");
|
|
2828
|
-
e.pathname = "c%20d",
|
|
2830
|
+
e.pathname = "c%20d", Tt = e.href === "http://a/c%20d";
|
|
2829
2831
|
} catch (e) {
|
|
2830
2832
|
}
|
|
2831
2833
|
}
|
|
2832
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
2834
|
+
if (t || (t = document.baseURI || window.location.href), Tt)
|
|
2833
2835
|
try {
|
|
2834
2836
|
return new URL(o, t).href;
|
|
2835
2837
|
} catch (e) {
|
|
@@ -2837,12 +2839,12 @@ function mt(o, t) {
|
|
|
2837
2839
|
}
|
|
2838
2840
|
return ue || (ue = document.implementation.createHTMLDocument("temp"), ue.base = ue.createElement("base"), ue.head.appendChild(ue.base), ue.anchor = ue.createElement("a"), ue.body.appendChild(ue.anchor)), ue.base.href = t, ue.anchor.href = o, ue.anchor.href || o;
|
|
2839
2841
|
}
|
|
2840
|
-
function
|
|
2842
|
+
function Wi(o, t) {
|
|
2841
2843
|
return o.replace(Zn, function(e, i, s, r) {
|
|
2842
|
-
return i + "'" +
|
|
2844
|
+
return i + "'" + _t(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2843
2845
|
});
|
|
2844
2846
|
}
|
|
2845
|
-
function
|
|
2847
|
+
function qi(o) {
|
|
2846
2848
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2847
2849
|
}
|
|
2848
2850
|
/**
|
|
@@ -2867,9 +2869,9 @@ const ea = Ms && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2867
2869
|
return !1;
|
|
2868
2870
|
}
|
|
2869
2871
|
})();
|
|
2870
|
-
let ta = window.Polymer && window.Polymer.rootPath ||
|
|
2872
|
+
let ta = window.Polymer && window.Polymer.rootPath || qi(document.baseURI || window.location.href), Ht = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2871
2873
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2872
|
-
let
|
|
2874
|
+
let $t = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ia = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Os = window.Polymer && window.Polymer.legacyOptimizations || !1, Is = window.Polymer && window.Polymer.legacyWarnings || !1, oa = window.Polymer && window.Polymer.syncInitialRender || !1, xi = window.Polymer && window.Polymer.legacyUndefined || !1, sa = window.Polymer && window.Polymer.orderedComputed || !1, Co = window.Polymer && window.Polymer.removeNestedTemplates || !1, ra = window.Polymer && window.Polymer.fastDomIf || !1, Po = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2873
2875
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2874
2876
|
let na = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2875
2877
|
/**
|
|
@@ -2919,17 +2921,17 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2919
2921
|
Code distributed by Google as part of the polymer project is also
|
|
2920
2922
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2921
2923
|
*/
|
|
2922
|
-
let
|
|
2924
|
+
let Ki = {}, Fs = {};
|
|
2923
2925
|
function ko(o, t) {
|
|
2924
|
-
|
|
2926
|
+
Ki[o] = Fs[o.toLowerCase()] = t;
|
|
2925
2927
|
}
|
|
2926
2928
|
function Do(o) {
|
|
2927
|
-
return
|
|
2929
|
+
return Ki[o] || Fs[o.toLowerCase()];
|
|
2928
2930
|
}
|
|
2929
2931
|
function la(o) {
|
|
2930
2932
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2931
2933
|
}
|
|
2932
|
-
class
|
|
2934
|
+
class yt extends HTMLElement {
|
|
2933
2935
|
/** @override */
|
|
2934
2936
|
static get observedAttributes() {
|
|
2935
2937
|
return ["id"];
|
|
@@ -2978,11 +2980,11 @@ class vt extends HTMLElement {
|
|
|
2978
2980
|
*/
|
|
2979
2981
|
get assetpath() {
|
|
2980
2982
|
if (!this.__assetpath) {
|
|
2981
|
-
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e =
|
|
2983
|
+
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e = _t(
|
|
2982
2984
|
this.getAttribute("assetpath") || "",
|
|
2983
2985
|
t.baseURI
|
|
2984
2986
|
);
|
|
2985
|
-
this.__assetpath =
|
|
2987
|
+
this.__assetpath = qi(e);
|
|
2986
2988
|
}
|
|
2987
2989
|
return this.__assetpath;
|
|
2988
2990
|
}
|
|
@@ -2995,14 +2997,14 @@ class vt extends HTMLElement {
|
|
|
2995
2997
|
*/
|
|
2996
2998
|
register(t) {
|
|
2997
2999
|
if (t = t || this.id, t) {
|
|
2998
|
-
if (
|
|
3000
|
+
if ($t && Do(t) !== void 0)
|
|
2999
3001
|
throw ko(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3000
3002
|
this.id = t, ko(t, this), la(this);
|
|
3001
3003
|
}
|
|
3002
3004
|
}
|
|
3003
3005
|
}
|
|
3004
|
-
|
|
3005
|
-
customElements.define("dom-module",
|
|
3006
|
+
yt.prototype.modules = Ki;
|
|
3007
|
+
customElements.define("dom-module", yt);
|
|
3006
3008
|
/**
|
|
3007
3009
|
@license
|
|
3008
3010
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3016,12 +3018,12 @@ const ca = "link[rel=import][type~=css]", ua = "include", To = "shady-unscoped";
|
|
|
3016
3018
|
function Ns(o) {
|
|
3017
3019
|
return (
|
|
3018
3020
|
/** @type {?DomModule} */
|
|
3019
|
-
|
|
3021
|
+
yt.import(o)
|
|
3020
3022
|
);
|
|
3021
3023
|
}
|
|
3022
3024
|
function Mo(o) {
|
|
3023
3025
|
let t = o.body ? o.body : o;
|
|
3024
|
-
const e =
|
|
3026
|
+
const e = Wi(
|
|
3025
3027
|
t.textContent,
|
|
3026
3028
|
o.baseURI
|
|
3027
3029
|
), i = document.createElement("style");
|
|
@@ -3059,7 +3061,7 @@ function zs(o, t) {
|
|
|
3059
3061
|
let r = i[s], n = r.getAttribute(ua);
|
|
3060
3062
|
n && e.push(...da(n).filter(function(a, l, c) {
|
|
3061
3063
|
return c.indexOf(a) === l;
|
|
3062
|
-
})), t && (r.textContent =
|
|
3064
|
+
})), t && (r.textContent = Wi(
|
|
3063
3065
|
r.textContent,
|
|
3064
3066
|
/** @type {string} */
|
|
3065
3067
|
t
|
|
@@ -3108,26 +3110,26 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3108
3110
|
Code distributed by Google as part of the polymer project is also
|
|
3109
3111
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3110
3112
|
*/
|
|
3111
|
-
function
|
|
3113
|
+
function wi(o) {
|
|
3112
3114
|
return o.indexOf(".") >= 0;
|
|
3113
3115
|
}
|
|
3114
|
-
function
|
|
3116
|
+
function Ue(o) {
|
|
3115
3117
|
let t = o.indexOf(".");
|
|
3116
3118
|
return t === -1 ? o : o.slice(0, t);
|
|
3117
3119
|
}
|
|
3118
3120
|
function Rs(o, t) {
|
|
3119
3121
|
return o.indexOf(t + ".") === 0;
|
|
3120
3122
|
}
|
|
3121
|
-
function
|
|
3123
|
+
function xt(o, t) {
|
|
3122
3124
|
return t.indexOf(o + ".") === 0;
|
|
3123
3125
|
}
|
|
3124
|
-
function
|
|
3126
|
+
function wt(o, t, e) {
|
|
3125
3127
|
return t + e.slice(o.length);
|
|
3126
3128
|
}
|
|
3127
3129
|
function fa(o, t) {
|
|
3128
|
-
return o === t || Rs(o, t) ||
|
|
3130
|
+
return o === t || Rs(o, t) || xt(o, t);
|
|
3129
3131
|
}
|
|
3130
|
-
function
|
|
3132
|
+
function ht(o) {
|
|
3131
3133
|
if (Array.isArray(o)) {
|
|
3132
3134
|
let t = [];
|
|
3133
3135
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -3140,7 +3142,7 @@ function dt(o) {
|
|
|
3140
3142
|
return o;
|
|
3141
3143
|
}
|
|
3142
3144
|
function Bs(o) {
|
|
3143
|
-
return Array.isArray(o) ?
|
|
3145
|
+
return Array.isArray(o) ? ht(o).split(".") : o.toString().split(".");
|
|
3144
3146
|
}
|
|
3145
3147
|
function se(o, t, e) {
|
|
3146
3148
|
let i = o, s = Bs(t);
|
|
@@ -3181,7 +3183,7 @@ function Hs(o) {
|
|
|
3181
3183
|
(t) => t[1].toUpperCase()
|
|
3182
3184
|
));
|
|
3183
3185
|
}
|
|
3184
|
-
function
|
|
3186
|
+
function qt(o) {
|
|
3185
3187
|
return Yt[o] || (Yt[o] = o.replace(_a, "-$1").toLowerCase());
|
|
3186
3188
|
}
|
|
3187
3189
|
/**
|
|
@@ -3193,13 +3195,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3193
3195
|
Code distributed by Google as part of the polymer project is also
|
|
3194
3196
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3195
3197
|
*/
|
|
3196
|
-
let ga = 0,
|
|
3197
|
-
new window.MutationObserver(va).observe(
|
|
3198
|
+
let ga = 0, $s = 0, Xe = [], ba = 0, Ei = !1, Ys = document.createTextNode("");
|
|
3199
|
+
new window.MutationObserver(va).observe(Ys, { characterData: !0 });
|
|
3198
3200
|
function va() {
|
|
3199
|
-
|
|
3200
|
-
const o =
|
|
3201
|
+
Ei = !1;
|
|
3202
|
+
const o = Xe.length;
|
|
3201
3203
|
for (let t = 0; t < o; t++) {
|
|
3202
|
-
let e =
|
|
3204
|
+
let e = Xe[t];
|
|
3203
3205
|
if (e)
|
|
3204
3206
|
try {
|
|
3205
3207
|
e();
|
|
@@ -3209,7 +3211,7 @@ function va() {
|
|
|
3209
3211
|
});
|
|
3210
3212
|
}
|
|
3211
3213
|
}
|
|
3212
|
-
|
|
3214
|
+
Xe.splice(0, o), $s += o;
|
|
3213
3215
|
}
|
|
3214
3216
|
const ya = {
|
|
3215
3217
|
/**
|
|
@@ -3260,7 +3262,7 @@ const ya = {
|
|
|
3260
3262
|
* @return {number} Handle used for canceling task
|
|
3261
3263
|
*/
|
|
3262
3264
|
run(o) {
|
|
3263
|
-
return
|
|
3265
|
+
return Ei || (Ei = !0, Ys.textContent = ba++), Xe.push(o), ga++;
|
|
3264
3266
|
},
|
|
3265
3267
|
/**
|
|
3266
3268
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3270,11 +3272,11 @@ const ya = {
|
|
|
3270
3272
|
* @return {void}
|
|
3271
3273
|
*/
|
|
3272
3274
|
cancel(o) {
|
|
3273
|
-
const t = o -
|
|
3275
|
+
const t = o - $s;
|
|
3274
3276
|
if (t >= 0) {
|
|
3275
|
-
if (!
|
|
3277
|
+
if (!Xe[t])
|
|
3276
3278
|
throw new Error("invalid async handle: " + o);
|
|
3277
|
-
|
|
3279
|
+
Xe[t] = null;
|
|
3278
3280
|
}
|
|
3279
3281
|
}
|
|
3280
3282
|
};
|
|
@@ -3724,12 +3726,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
3724
3726
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3725
3727
|
*/
|
|
3726
3728
|
const Us = {};
|
|
3727
|
-
let
|
|
3728
|
-
for (;
|
|
3729
|
-
let o = Object.getOwnPropertyNames(
|
|
3729
|
+
let Mt = HTMLElement.prototype;
|
|
3730
|
+
for (; Mt; ) {
|
|
3731
|
+
let o = Object.getOwnPropertyNames(Mt);
|
|
3730
3732
|
for (let t = 0; t < o.length; t++)
|
|
3731
3733
|
Us[o[t]] = !0;
|
|
3732
|
-
|
|
3734
|
+
Mt = Object.getPrototypeOf(Mt);
|
|
3733
3735
|
}
|
|
3734
3736
|
const wa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3735
3737
|
function Ea(o, t) {
|
|
@@ -3769,7 +3771,7 @@ const Sa = V((o) => {
|
|
|
3769
3771
|
* @nocollapse
|
|
3770
3772
|
*/
|
|
3771
3773
|
static attributeNameForProperty(s) {
|
|
3772
|
-
return
|
|
3774
|
+
return qt(s);
|
|
3773
3775
|
}
|
|
3774
3776
|
/**
|
|
3775
3777
|
* Overrides PropertiesChanged implementation to initialize values for
|
|
@@ -4365,8 +4367,8 @@ const Fa = V(
|
|
|
4365
4367
|
* Google as part of the polymer project is also subject to an additional IP
|
|
4366
4368
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4367
4369
|
*/
|
|
4368
|
-
let
|
|
4369
|
-
const
|
|
4370
|
+
let Et = 0;
|
|
4371
|
+
const St = [], D = {
|
|
4370
4372
|
COMPUTE: "__computeEffects",
|
|
4371
4373
|
REFLECT: "__reflectEffects",
|
|
4372
4374
|
NOTIFY: "__notifyEffects",
|
|
@@ -4374,7 +4376,7 @@ const Et = [], D = {
|
|
|
4374
4376
|
OBSERVE: "__observeEffects",
|
|
4375
4377
|
READ_ONLY: "__readOnly"
|
|
4376
4378
|
}, qs = "__computeInfo", Na = /[A-Z]/;
|
|
4377
|
-
function
|
|
4379
|
+
function oi(o, t, e) {
|
|
4378
4380
|
let i = o[t];
|
|
4379
4381
|
if (!i)
|
|
4380
4382
|
i = o[t] = {};
|
|
@@ -4386,34 +4388,34 @@ function ii(o, t, e) {
|
|
|
4386
4388
|
}
|
|
4387
4389
|
return i;
|
|
4388
4390
|
}
|
|
4389
|
-
function
|
|
4391
|
+
function pt(o, t, e, i, s, r) {
|
|
4390
4392
|
if (t) {
|
|
4391
4393
|
let n = !1;
|
|
4392
|
-
const a =
|
|
4394
|
+
const a = Et++;
|
|
4393
4395
|
for (let l in e) {
|
|
4394
|
-
let c = s ?
|
|
4396
|
+
let c = s ? Ue(l) : l, u = t[c];
|
|
4395
4397
|
if (u)
|
|
4396
4398
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4397
|
-
(!m.info || m.info.lastRun !== a) && (!s ||
|
|
4399
|
+
(!m.info || m.info.lastRun !== a) && (!s || Gi(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
|
|
4398
4400
|
}
|
|
4399
4401
|
return n;
|
|
4400
4402
|
}
|
|
4401
4403
|
return !1;
|
|
4402
4404
|
}
|
|
4403
4405
|
function za(o, t, e, i, s, r, n, a) {
|
|
4404
|
-
let l = !1, c = n ?
|
|
4406
|
+
let l = !1, c = n ? Ue(i) : i, u = t[c];
|
|
4405
4407
|
if (u)
|
|
4406
4408
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4407
|
-
(!m.info || m.info.lastRun !== e) && (!n ||
|
|
4409
|
+
(!m.info || m.info.lastRun !== e) && (!n || Gi(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
|
|
4408
4410
|
return l;
|
|
4409
4411
|
}
|
|
4410
|
-
function
|
|
4412
|
+
function Gi(o, t) {
|
|
4411
4413
|
if (t) {
|
|
4412
4414
|
let e = (
|
|
4413
4415
|
/** @type {string} */
|
|
4414
4416
|
t.name
|
|
4415
4417
|
);
|
|
4416
|
-
return e == o || !!(t.structured && Rs(e, o)) || !!(t.wildcard &&
|
|
4418
|
+
return e == o || !!(t.structured && Rs(e, o)) || !!(t.wildcard && xt(e, o));
|
|
4417
4419
|
} else
|
|
4418
4420
|
return !0;
|
|
4419
4421
|
}
|
|
@@ -4422,16 +4424,16 @@ function No(o, t, e, i, s) {
|
|
|
4422
4424
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4423
4425
|
}
|
|
4424
4426
|
function La(o, t, e, i, s) {
|
|
4425
|
-
let r = o[D.NOTIFY], n, a =
|
|
4427
|
+
let r = o[D.NOTIFY], n, a = Et++;
|
|
4426
4428
|
for (let c in t)
|
|
4427
4429
|
t[c] && (r && za(o, r, a, c, e, i, s) || s && Ra(o, c, e)) && (n = !0);
|
|
4428
4430
|
let l;
|
|
4429
4431
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4430
4432
|
}
|
|
4431
4433
|
function Ra(o, t, e) {
|
|
4432
|
-
let i =
|
|
4434
|
+
let i = Ue(t);
|
|
4433
4435
|
if (i !== t) {
|
|
4434
|
-
let s =
|
|
4436
|
+
let s = qt(i) + "-changed";
|
|
4435
4437
|
return Ks(o, s, e[t], t), !0;
|
|
4436
4438
|
}
|
|
4437
4439
|
return !1;
|
|
@@ -4447,7 +4449,7 @@ function Ks(o, t, e, i) {
|
|
|
4447
4449
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4448
4450
|
}
|
|
4449
4451
|
function Ba(o, t, e, i, s, r) {
|
|
4450
|
-
let a = (r ?
|
|
4452
|
+
let a = (r ? Ue(t) : t) != t ? t : null, l = a ? se(o, a) : o.__data[t];
|
|
4451
4453
|
a && l === void 0 && (l = e[t]), Ks(o, s.eventName, l, a);
|
|
4452
4454
|
}
|
|
4453
4455
|
function Ha(o, t, e, i, s) {
|
|
@@ -4455,11 +4457,11 @@ function Ha(o, t, e, i, s) {
|
|
|
4455
4457
|
/** @type {Object} */
|
|
4456
4458
|
o.detail
|
|
4457
4459
|
), a = n && n.path;
|
|
4458
|
-
a ? (i =
|
|
4460
|
+
a ? (i = wt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[D.READ_ONLY] || !t[D.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4459
4461
|
}
|
|
4460
|
-
function
|
|
4462
|
+
function $a(o, t, e, i, s) {
|
|
4461
4463
|
let r = o.__data[t];
|
|
4462
|
-
|
|
4464
|
+
Ht && (r = Ht(
|
|
4463
4465
|
r,
|
|
4464
4466
|
s.attrName,
|
|
4465
4467
|
"attribute",
|
|
@@ -4467,11 +4469,11 @@ function Ya(o, t, e, i, s) {
|
|
|
4467
4469
|
o
|
|
4468
4470
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4469
4471
|
}
|
|
4470
|
-
function
|
|
4472
|
+
function Ya(o, t, e, i) {
|
|
4471
4473
|
let s = o[D.COMPUTE];
|
|
4472
4474
|
if (s)
|
|
4473
4475
|
if (sa) {
|
|
4474
|
-
|
|
4476
|
+
Et++;
|
|
4475
4477
|
const r = Va(o), n = [];
|
|
4476
4478
|
for (let l in t)
|
|
4477
4479
|
zo(l, s, n, r, i);
|
|
@@ -4489,7 +4491,7 @@ function $a(o, t, e, i) {
|
|
|
4489
4491
|
), o.__dataPending = null;
|
|
4490
4492
|
} else {
|
|
4491
4493
|
let r = t;
|
|
4492
|
-
for (;
|
|
4494
|
+
for (; pt(o, s, r, e, i); )
|
|
4493
4495
|
Object.assign(
|
|
4494
4496
|
/** @type {!Object} */
|
|
4495
4497
|
e,
|
|
@@ -4516,11 +4518,11 @@ const ja = (o, t, e) => {
|
|
|
4516
4518
|
}
|
|
4517
4519
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4518
4520
|
}, zo = (o, t, e, i, s) => {
|
|
4519
|
-
const r = s ?
|
|
4521
|
+
const r = s ? Ue(o) : o, n = t[r];
|
|
4520
4522
|
if (n)
|
|
4521
4523
|
for (let a = 0; a < n.length; a++) {
|
|
4522
4524
|
const l = n[a];
|
|
4523
|
-
l.info.lastRun !==
|
|
4525
|
+
l.info.lastRun !== Et && (!s || Gi(o, l.trigger)) && (l.info.lastRun = Et, ja(l.info, e, i));
|
|
4524
4526
|
}
|
|
4525
4527
|
};
|
|
4526
4528
|
function Va(o) {
|
|
@@ -4554,8 +4556,8 @@ function Ua(o) {
|
|
|
4554
4556
|
return { counts: e, ready: s, total: r };
|
|
4555
4557
|
}
|
|
4556
4558
|
function Gs(o, t, e, i, s) {
|
|
4557
|
-
let r =
|
|
4558
|
-
if (r ===
|
|
4559
|
+
let r = Si(o, t, e, i, s);
|
|
4560
|
+
if (r === St)
|
|
4559
4561
|
return !1;
|
|
4560
4562
|
let n = s.methodInfo;
|
|
4561
4563
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
@@ -4566,16 +4568,16 @@ function Wa(o, t, e) {
|
|
|
4566
4568
|
let s;
|
|
4567
4569
|
for (let r in i) {
|
|
4568
4570
|
let n = i[r];
|
|
4569
|
-
|
|
4571
|
+
xt(r, t) ? (s = wt(r, n, t), o._setPendingPropertyOrPath(s, e, !0, !0)) : xt(n, t) && (s = wt(n, r, t), o._setPendingPropertyOrPath(s, e, !0, !0));
|
|
4570
4572
|
}
|
|
4571
4573
|
}
|
|
4572
4574
|
}
|
|
4573
|
-
function
|
|
4575
|
+
function si(o, t, e, i, s, r, n) {
|
|
4574
4576
|
e.bindings = e.bindings || [];
|
|
4575
4577
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4576
4578
|
if (e.bindings.push(a), Xa(a)) {
|
|
4577
4579
|
let { event: c, negate: u } = a.parts[0];
|
|
4578
|
-
a.listenerEvent = c ||
|
|
4580
|
+
a.listenerEvent = c || qt(s) + "-changed", a.listenerNegate = u;
|
|
4579
4581
|
}
|
|
4580
4582
|
let l = t.nodeInfoList.length;
|
|
4581
4583
|
for (let c = 0; c < a.parts.length; c++) {
|
|
@@ -4603,14 +4605,14 @@ function Ka(o, t, e, i, s, r, n) {
|
|
|
4603
4605
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4604
4606
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4605
4607
|
let u = e[t];
|
|
4606
|
-
t =
|
|
4608
|
+
t = wt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4607
4609
|
} else {
|
|
4608
4610
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4609
|
-
u !==
|
|
4611
|
+
u !== St && Ga(o, a, l, c, u);
|
|
4610
4612
|
}
|
|
4611
4613
|
}
|
|
4612
4614
|
function Ga(o, t, e, i, s) {
|
|
4613
|
-
if (s = Ja(t, s, e, i),
|
|
4615
|
+
if (s = Ja(t, s, e, i), Ht && (s = Ht(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4614
4616
|
o._valueToNodeAttribute(
|
|
4615
4617
|
/** @type {Element} */
|
|
4616
4618
|
t,
|
|
@@ -4681,11 +4683,11 @@ function Lo(o, t, e, i, s, r) {
|
|
|
4681
4683
|
info: n
|
|
4682
4684
|
}), n;
|
|
4683
4685
|
}
|
|
4684
|
-
function
|
|
4686
|
+
function Si(o, t, e, i, s) {
|
|
4685
4687
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
4686
4688
|
if (n) {
|
|
4687
4689
|
let a = o._marshalArgs(s.args, t, e);
|
|
4688
|
-
return a ===
|
|
4690
|
+
return a === St ? St : n.apply(r, a);
|
|
4689
4691
|
} else
|
|
4690
4692
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4691
4693
|
}
|
|
@@ -4698,7 +4700,7 @@ function Ho(o) {
|
|
|
4698
4700
|
}
|
|
4699
4701
|
return t;
|
|
4700
4702
|
}
|
|
4701
|
-
function
|
|
4703
|
+
function ri(o) {
|
|
4702
4704
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4703
4705
|
if (t) {
|
|
4704
4706
|
let i = { methodName: t[1], static: !0, args: tl };
|
|
@@ -4731,17 +4733,17 @@ function Xs(o) {
|
|
|
4731
4733
|
e.value = Number(t), e.literal = !0;
|
|
4732
4734
|
break;
|
|
4733
4735
|
}
|
|
4734
|
-
return e.literal || (e.rootProperty =
|
|
4736
|
+
return e.literal || (e.rootProperty = Ue(t), e.structured = wi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4735
4737
|
}
|
|
4736
|
-
function
|
|
4738
|
+
function $o(o, t, e) {
|
|
4737
4739
|
let i = se(o, e);
|
|
4738
4740
|
return i === void 0 && (i = t[e]), i;
|
|
4739
4741
|
}
|
|
4740
4742
|
function Zs(o, t, e, i) {
|
|
4741
4743
|
const s = { indexSplices: i };
|
|
4742
|
-
|
|
4744
|
+
xi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), xi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4743
4745
|
}
|
|
4744
|
-
function
|
|
4746
|
+
function lt(o, t, e, i, s, r) {
|
|
4745
4747
|
Zs(o, t, e, [{
|
|
4746
4748
|
index: i,
|
|
4747
4749
|
addedCount: s,
|
|
@@ -4753,7 +4755,7 @@ function at(o, t, e, i, s, r) {
|
|
|
4753
4755
|
function fl(o) {
|
|
4754
4756
|
return o[0].toUpperCase() + o.substring(1);
|
|
4755
4757
|
}
|
|
4756
|
-
const
|
|
4758
|
+
const Ji = V((o) => {
|
|
4757
4759
|
const t = Fa(Sa(o));
|
|
4758
4760
|
class e extends t {
|
|
4759
4761
|
constructor() {
|
|
@@ -4770,8 +4772,8 @@ const Gi = V((o) => {
|
|
|
4770
4772
|
super._initializeProperties(), this._registerHost(), this.__dataClientsReady = !1, this.__dataPendingClients = null, this.__dataToNotify = null, this.__dataLinkedPaths = null, this.__dataHasPaths = !1, this.__dataCompoundStorage = this.__dataCompoundStorage || null, this.__dataHost = this.__dataHost || null, this.__dataTemp = {}, this.__dataClientsInitialized = !1;
|
|
4771
4773
|
}
|
|
4772
4774
|
_registerHost() {
|
|
4773
|
-
if (
|
|
4774
|
-
let s =
|
|
4775
|
+
if (ct.length) {
|
|
4776
|
+
let s = ct[ct.length - 1];
|
|
4775
4777
|
s._enqueueClient(this), this.__dataHost = s;
|
|
4776
4778
|
}
|
|
4777
4779
|
}
|
|
@@ -4815,7 +4817,7 @@ const Gi = V((o) => {
|
|
|
4815
4817
|
*/
|
|
4816
4818
|
_addPropertyEffect(s, r, n) {
|
|
4817
4819
|
this._createPropertyAccessor(s, r == D.READ_ONLY);
|
|
4818
|
-
let a =
|
|
4820
|
+
let a = oi(this, r, !0)[s];
|
|
4819
4821
|
a || (a = this[r][s] = []), a.push(n);
|
|
4820
4822
|
}
|
|
4821
4823
|
/**
|
|
@@ -4828,7 +4830,7 @@ const Gi = V((o) => {
|
|
|
4828
4830
|
* @return {void}
|
|
4829
4831
|
*/
|
|
4830
4832
|
_removePropertyEffect(s, r, n) {
|
|
4831
|
-
let a =
|
|
4833
|
+
let a = oi(this, r, !0)[s], l = a.indexOf(n);
|
|
4832
4834
|
l >= 0 && a.splice(l, 1);
|
|
4833
4835
|
}
|
|
4834
4836
|
/**
|
|
@@ -4929,7 +4931,7 @@ const Gi = V((o) => {
|
|
|
4929
4931
|
* @protected
|
|
4930
4932
|
*/
|
|
4931
4933
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
4932
|
-
if (a ||
|
|
4934
|
+
if (a || Ue(Array.isArray(s) ? s[0] : s) !== s) {
|
|
4933
4935
|
if (!a) {
|
|
4934
4936
|
let l = se(this, s);
|
|
4935
4937
|
if (s = /** @type {string} */
|
|
@@ -5022,7 +5024,7 @@ const Gi = V((o) => {
|
|
|
5022
5024
|
* @return {boolean} Returns true if the property changed
|
|
5023
5025
|
*/
|
|
5024
5026
|
_setPendingProperty(s, r, n) {
|
|
5025
|
-
let a = this.__dataHasPaths &&
|
|
5027
|
+
let a = this.__dataHasPaths && wi(s), l = a ? this.__dataTemp : this.__data;
|
|
5026
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[D.NOTIFY] && this[D.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5027
5029
|
}
|
|
5028
5030
|
/**
|
|
@@ -5158,7 +5160,7 @@ const Gi = V((o) => {
|
|
|
5158
5160
|
let a = this.__dataHasPaths;
|
|
5159
5161
|
this.__dataHasPaths = !1;
|
|
5160
5162
|
let l;
|
|
5161
|
-
|
|
5163
|
+
Ya(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), pt(this, this[D.REFLECT], r, n, a), pt(this, this[D.OBSERVE], r, n, a), l && La(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5162
5164
|
}
|
|
5163
5165
|
/**
|
|
5164
5166
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5172,11 +5174,11 @@ const Gi = V((o) => {
|
|
|
5172
5174
|
* @protected
|
|
5173
5175
|
*/
|
|
5174
5176
|
_propagatePropertyChanges(s, r, n) {
|
|
5175
|
-
this[D.PROPAGATE] &&
|
|
5177
|
+
this[D.PROPAGATE] && pt(this, this[D.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5176
5178
|
}
|
|
5177
5179
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5178
5180
|
const l = (c, u) => {
|
|
5179
|
-
|
|
5181
|
+
pt(
|
|
5180
5182
|
this,
|
|
5181
5183
|
s.propertyEffects,
|
|
5182
5184
|
c,
|
|
@@ -5200,7 +5202,7 @@ const Gi = V((o) => {
|
|
|
5200
5202
|
* @public
|
|
5201
5203
|
*/
|
|
5202
5204
|
linkPaths(s, r) {
|
|
5203
|
-
s =
|
|
5205
|
+
s = ht(s), r = ht(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[s] = r;
|
|
5204
5206
|
}
|
|
5205
5207
|
/**
|
|
5206
5208
|
* Removes a data path alias previously established with `_linkPaths`.
|
|
@@ -5214,7 +5216,7 @@ const Gi = V((o) => {
|
|
|
5214
5216
|
* @public
|
|
5215
5217
|
*/
|
|
5216
5218
|
unlinkPaths(s) {
|
|
5217
|
-
s =
|
|
5219
|
+
s = ht(s), this.__dataLinkedPaths && delete this.__dataLinkedPaths[s];
|
|
5218
5220
|
}
|
|
5219
5221
|
/**
|
|
5220
5222
|
* Notify that an array has changed.
|
|
@@ -5328,7 +5330,7 @@ const Gi = V((o) => {
|
|
|
5328
5330
|
/** @type {Array}*/
|
|
5329
5331
|
se(this, s, n)
|
|
5330
5332
|
), l = a.length, c = a.push(...r);
|
|
5331
|
-
return r.length &&
|
|
5333
|
+
return r.length && lt(this, a, n.path, l, r.length, []), c;
|
|
5332
5334
|
}
|
|
5333
5335
|
/**
|
|
5334
5336
|
* Removes an item from the end of array at the path specified.
|
|
@@ -5349,7 +5351,7 @@ const Gi = V((o) => {
|
|
|
5349
5351
|
/** @type {Array} */
|
|
5350
5352
|
se(this, s, r)
|
|
5351
5353
|
), a = !!n.length, l = n.pop();
|
|
5352
|
-
return a &&
|
|
5354
|
+
return a && lt(this, n, r.path, n.length, 0, [l]), l;
|
|
5353
5355
|
}
|
|
5354
5356
|
/**
|
|
5355
5357
|
* Starting from the start index specified, removes 0 or more items
|
|
@@ -5376,7 +5378,7 @@ const Gi = V((o) => {
|
|
|
5376
5378
|
);
|
|
5377
5379
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5378
5380
|
let u;
|
|
5379
|
-
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) &&
|
|
5381
|
+
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) && lt(this, c, l.path, r, a.length, u), u;
|
|
5380
5382
|
}
|
|
5381
5383
|
/**
|
|
5382
5384
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -5397,7 +5399,7 @@ const Gi = V((o) => {
|
|
|
5397
5399
|
/** @type {Array} */
|
|
5398
5400
|
se(this, s, r)
|
|
5399
5401
|
), a = !!n.length, l = n.shift();
|
|
5400
|
-
return a &&
|
|
5402
|
+
return a && lt(this, n, r.path, 0, 0, [l]), l;
|
|
5401
5403
|
}
|
|
5402
5404
|
/**
|
|
5403
5405
|
* Adds items onto the beginning of the array at the path specified.
|
|
@@ -5419,7 +5421,7 @@ const Gi = V((o) => {
|
|
|
5419
5421
|
/** @type {Array} */
|
|
5420
5422
|
se(this, s, n)
|
|
5421
5423
|
), l = a.unshift(...r);
|
|
5422
|
-
return r.length &&
|
|
5424
|
+
return r.length && lt(this, a, n.path, 0, r.length, []), l;
|
|
5423
5425
|
}
|
|
5424
5426
|
/**
|
|
5425
5427
|
* Notify that a path has changed.
|
|
@@ -5441,7 +5443,7 @@ const Gi = V((o) => {
|
|
|
5441
5443
|
let a = { path: "" };
|
|
5442
5444
|
r = se(this, s, a), n = a.path;
|
|
5443
5445
|
} else
|
|
5444
|
-
Array.isArray(s) ? n =
|
|
5446
|
+
Array.isArray(s) ? n = ht(s) : n = /** @type{string} */
|
|
5445
5447
|
s;
|
|
5446
5448
|
this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
|
|
5447
5449
|
}
|
|
@@ -5507,10 +5509,10 @@ const Gi = V((o) => {
|
|
|
5507
5509
|
* @protected
|
|
5508
5510
|
*/
|
|
5509
5511
|
_createMethodObserver(s, r) {
|
|
5510
|
-
let n =
|
|
5512
|
+
let n = ri(s);
|
|
5511
5513
|
if (!n)
|
|
5512
5514
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5513
|
-
Lo(this, n, D.OBSERVE,
|
|
5515
|
+
Lo(this, n, D.OBSERVE, Si, null, r);
|
|
5514
5516
|
}
|
|
5515
5517
|
/**
|
|
5516
5518
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5526,7 +5528,7 @@ const Gi = V((o) => {
|
|
|
5526
5528
|
this._addPropertyEffect(s, D.NOTIFY, {
|
|
5527
5529
|
fn: Ba,
|
|
5528
5530
|
info: {
|
|
5529
|
-
eventName:
|
|
5531
|
+
eventName: qt(s) + "-changed",
|
|
5530
5532
|
property: s
|
|
5531
5533
|
}
|
|
5532
5534
|
});
|
|
@@ -5545,7 +5547,7 @@ const Gi = V((o) => {
|
|
|
5545
5547
|
_createReflectedProperty(s) {
|
|
5546
5548
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5547
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, D.REFLECT, {
|
|
5548
|
-
fn:
|
|
5550
|
+
fn: $a,
|
|
5549
5551
|
info: {
|
|
5550
5552
|
attrName: r
|
|
5551
5553
|
}
|
|
@@ -5565,11 +5567,11 @@ const Gi = V((o) => {
|
|
|
5565
5567
|
* @protected
|
|
5566
5568
|
*/
|
|
5567
5569
|
_createComputedProperty(s, r, n) {
|
|
5568
|
-
let a =
|
|
5570
|
+
let a = ri(r);
|
|
5569
5571
|
if (!a)
|
|
5570
5572
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5571
5573
|
const l = Lo(this, a, D.COMPUTE, Gs, s, n);
|
|
5572
|
-
|
|
5574
|
+
oi(this, qs)[s] = l;
|
|
5573
5575
|
}
|
|
5574
5576
|
/**
|
|
5575
5577
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5590,16 +5592,16 @@ const Gi = V((o) => {
|
|
|
5590
5592
|
let { name: d, structured: h, wildcard: m, value: b, literal: p } = s[c];
|
|
5591
5593
|
if (!p)
|
|
5592
5594
|
if (m) {
|
|
5593
|
-
const g =
|
|
5595
|
+
const g = xt(d, r), y = $o(a, n, g ? r : d);
|
|
5594
5596
|
b = {
|
|
5595
5597
|
path: g ? r : d,
|
|
5596
5598
|
value: y,
|
|
5597
5599
|
base: g ? se(a, d) : y
|
|
5598
5600
|
};
|
|
5599
5601
|
} else
|
|
5600
|
-
b = h ?
|
|
5601
|
-
if (
|
|
5602
|
-
return
|
|
5602
|
+
b = h ? $o(a, n, d) : a[d];
|
|
5603
|
+
if (xi && !this._overrideLegacyUndefined && b === void 0 && s.length > 1)
|
|
5604
|
+
return St;
|
|
5603
5605
|
l[c] = b;
|
|
5604
5606
|
}
|
|
5605
5607
|
return l;
|
|
@@ -5873,9 +5875,9 @@ const Gi = V((o) => {
|
|
|
5873
5875
|
*/
|
|
5874
5876
|
_stampTemplate(s, r) {
|
|
5875
5877
|
r = r || /** @type {!TemplateInfo} */
|
|
5876
|
-
this._bindTemplate(s, !0),
|
|
5878
|
+
this._bindTemplate(s, !0), ct.push(this);
|
|
5877
5879
|
let n = super._stampTemplate(s, r);
|
|
5878
|
-
if (
|
|
5880
|
+
if (ct.pop(), r.nodeList = n.nodeList, !r.wasPreBound) {
|
|
5879
5881
|
let a = r.childNodes = [];
|
|
5880
5882
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5881
5883
|
a.push(l);
|
|
@@ -5927,7 +5929,7 @@ const Gi = V((o) => {
|
|
|
5927
5929
|
);
|
|
5928
5930
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5929
5931
|
let l = this._parseBindings(s.textContent, r);
|
|
5930
|
-
l && (s.textContent = Ho(l) || " ",
|
|
5932
|
+
l && (s.textContent = Ho(l) || " ", si(this, r, n, "text", "textContent", l), a = !0);
|
|
5931
5933
|
}
|
|
5932
5934
|
return a;
|
|
5933
5935
|
}
|
|
@@ -5956,7 +5958,7 @@ const Gi = V((o) => {
|
|
|
5956
5958
|
let u = a, d = "property";
|
|
5957
5959
|
Na.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5958
5960
|
let h = Ho(c);
|
|
5959
|
-
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = Hs(a)),
|
|
5961
|
+
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = Hs(a)), si(this, r, n, d, a, c, h), !0;
|
|
5960
5962
|
} else
|
|
5961
5963
|
return t._parseTemplateNodeAttribute.call(
|
|
5962
5964
|
this,
|
|
@@ -5997,7 +5999,7 @@ const Gi = V((o) => {
|
|
|
5997
5999
|
let m = "{";
|
|
5998
6000
|
for (let b in h) {
|
|
5999
6001
|
let p = [{ mode: m, source: b, dependencies: [b], hostProp: !0 }];
|
|
6000
|
-
|
|
6002
|
+
si(this, r, n, "property", "_host_" + b, p);
|
|
6001
6003
|
}
|
|
6002
6004
|
}
|
|
6003
6005
|
return a;
|
|
@@ -6053,7 +6055,7 @@ const Gi = V((o) => {
|
|
|
6053
6055
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6054
6056
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", b = -1;
|
|
6055
6057
|
c == "{" && (b = d.indexOf("::")) > 0 && (m = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
6056
|
-
let p =
|
|
6058
|
+
let p = ri(d), g = [];
|
|
6057
6059
|
if (p) {
|
|
6058
6060
|
let { args: y, methodName: v } = p;
|
|
6059
6061
|
for (let A = 0; A < y.length; A++) {
|
|
@@ -6099,11 +6101,11 @@ const Gi = V((o) => {
|
|
|
6099
6101
|
*/
|
|
6100
6102
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6101
6103
|
let u;
|
|
6102
|
-
return r.signature ? u =
|
|
6104
|
+
return r.signature ? u = Si(s, n, a, l, r.signature) : n != r.source ? u = se(s, r.source) : c && wi(n) ? u = se(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6103
6105
|
}
|
|
6104
6106
|
}
|
|
6105
6107
|
return e;
|
|
6106
|
-
}),
|
|
6108
|
+
}), ct = [];
|
|
6107
6109
|
/**
|
|
6108
6110
|
@license
|
|
6109
6111
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -6281,8 +6283,8 @@ const _l = V((o) => {
|
|
|
6281
6283
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6282
6284
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6283
6285
|
*/
|
|
6284
|
-
const gl = "3.5.2",
|
|
6285
|
-
const t = _l(
|
|
6286
|
+
const gl = "3.5.2", Yo = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o) => {
|
|
6287
|
+
const t = _l(Ji(o));
|
|
6286
6288
|
function e(l) {
|
|
6287
6289
|
if (!l.hasOwnProperty(
|
|
6288
6290
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6310,7 +6312,7 @@ const gl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6310
6312
|
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
6311
6313
|
}
|
|
6312
6314
|
function r(l, c, u, d) {
|
|
6313
|
-
if (
|
|
6315
|
+
if (!Yo) {
|
|
6314
6316
|
const h = c.content.querySelectorAll("style"), m = zs(c), b = pa(u), p = c.content.firstElementChild;
|
|
6315
6317
|
for (let y = 0; y < b.length; y++) {
|
|
6316
6318
|
let v = b[y];
|
|
@@ -6322,7 +6324,7 @@ const gl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6322
6324
|
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : g++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6323
6325
|
}
|
|
6324
6326
|
}
|
|
6325
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), na &&
|
|
6327
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), na && Yo && ea) {
|
|
6326
6328
|
const h = c.content.querySelectorAll("style");
|
|
6327
6329
|
if (h) {
|
|
6328
6330
|
let m = "";
|
|
@@ -6334,8 +6336,8 @@ const gl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6334
6336
|
}
|
|
6335
6337
|
function n(l) {
|
|
6336
6338
|
let c = null;
|
|
6337
|
-
if (l && (
|
|
6338
|
-
|
|
6339
|
+
if (l && (!$t || ia) && (c = /** @type {?HTMLTemplateElement} */
|
|
6340
|
+
yt.import(l, "template"), $t && !c))
|
|
6339
6341
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6340
6342
|
return c;
|
|
6341
6343
|
}
|
|
@@ -6504,9 +6506,9 @@ const gl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6504
6506
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6505
6507
|
const c = this.importMeta;
|
|
6506
6508
|
if (c)
|
|
6507
|
-
this._importPath =
|
|
6509
|
+
this._importPath = qi(c.url);
|
|
6508
6510
|
else {
|
|
6509
|
-
const u =
|
|
6511
|
+
const u = yt.import(
|
|
6510
6512
|
/** @type {PolymerElementConstructor} */
|
|
6511
6513
|
this.is
|
|
6512
6514
|
);
|
|
@@ -6569,7 +6571,7 @@ const gl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6569
6571
|
* @nocollapse
|
|
6570
6572
|
*/
|
|
6571
6573
|
static _processStyleText(c, u) {
|
|
6572
|
-
return
|
|
6574
|
+
return Wi(c, u);
|
|
6573
6575
|
}
|
|
6574
6576
|
/**
|
|
6575
6577
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6585,7 +6587,7 @@ const gl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6585
6587
|
const u = this.prototype._template;
|
|
6586
6588
|
if (u && !u.__polymerFinalized) {
|
|
6587
6589
|
u.__polymerFinalized = !0;
|
|
6588
|
-
const d = this.importPath, h = d ?
|
|
6590
|
+
const d = this.importPath, h = d ? _t(d) : "";
|
|
6589
6591
|
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
6590
6592
|
}
|
|
6591
6593
|
}
|
|
@@ -6697,7 +6699,7 @@ const gl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6697
6699
|
* @return {string} Rewritten URL relative to base
|
|
6698
6700
|
*/
|
|
6699
6701
|
resolveUrl(c, u) {
|
|
6700
|
-
return !u && this.importPath && (u =
|
|
6702
|
+
return !u && this.importPath && (u = _t(this.importPath)), _t(c, u);
|
|
6701
6703
|
}
|
|
6702
6704
|
/**
|
|
6703
6705
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6802,7 +6804,7 @@ function vl(o) {
|
|
|
6802
6804
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6803
6805
|
);
|
|
6804
6806
|
}
|
|
6805
|
-
const
|
|
6807
|
+
const We = function(t, ...e) {
|
|
6806
6808
|
tr(t, e);
|
|
6807
6809
|
const i = (
|
|
6808
6810
|
/** @type {!HTMLTemplateElement} */
|
|
@@ -6833,21 +6835,21 @@ const Fe = bl(HTMLElement);
|
|
|
6833
6835
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6834
6836
|
*/
|
|
6835
6837
|
const we = [];
|
|
6836
|
-
function
|
|
6838
|
+
function Ai(o, t, e = o.getAttribute("dir")) {
|
|
6837
6839
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
6838
6840
|
}
|
|
6839
|
-
function
|
|
6841
|
+
function Ci() {
|
|
6840
6842
|
return document.documentElement.getAttribute("dir");
|
|
6841
6843
|
}
|
|
6842
6844
|
function yl() {
|
|
6843
|
-
const o =
|
|
6845
|
+
const o = Ci();
|
|
6844
6846
|
we.forEach((t) => {
|
|
6845
|
-
|
|
6847
|
+
Ai(t, o);
|
|
6846
6848
|
});
|
|
6847
6849
|
}
|
|
6848
6850
|
const xl = new MutationObserver(yl);
|
|
6849
6851
|
xl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6850
|
-
const
|
|
6852
|
+
const Kt = (o) => class extends o {
|
|
6851
6853
|
static get properties() {
|
|
6852
6854
|
return {
|
|
6853
6855
|
/**
|
|
@@ -6873,14 +6875,14 @@ const qt = (o) => class extends o {
|
|
|
6873
6875
|
}
|
|
6874
6876
|
/** @protected */
|
|
6875
6877
|
connectedCallback() {
|
|
6876
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
6878
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Ai(this, Ci(), null));
|
|
6877
6879
|
}
|
|
6878
6880
|
/** @protected */
|
|
6879
6881
|
attributeChangedCallback(e, i, s) {
|
|
6880
6882
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
6881
6883
|
return;
|
|
6882
|
-
const r =
|
|
6883
|
-
n || a ? (this.__subscribe(),
|
|
6884
|
+
const r = Ci(), n = s === r && we.indexOf(this) === -1, a = !s && i && we.indexOf(this) === -1;
|
|
6885
|
+
n || a ? (this.__subscribe(), Ai(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
6884
6886
|
}
|
|
6885
6887
|
/** @protected */
|
|
6886
6888
|
disconnectedCallback() {
|
|
@@ -7020,12 +7022,12 @@ const El = P`
|
|
|
7020
7022
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7021
7023
|
*/
|
|
7022
7024
|
L("vaadin-input-container", El, { moduleId: "vaadin-input-container-styles" });
|
|
7023
|
-
class Sl extends wl(
|
|
7025
|
+
class Sl extends wl(Ve(Kt(Fe))) {
|
|
7024
7026
|
static get is() {
|
|
7025
7027
|
return "vaadin-input-container";
|
|
7026
7028
|
}
|
|
7027
7029
|
static get template() {
|
|
7028
|
-
return
|
|
7030
|
+
return We`
|
|
7029
7031
|
<slot name="prefix"></slot>
|
|
7030
7032
|
<slot></slot>
|
|
7031
7033
|
<slot name="suffix"></slot>
|
|
@@ -7103,29 +7105,29 @@ const Al = P`
|
|
|
7103
7105
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7104
7106
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7105
7107
|
*/
|
|
7106
|
-
let
|
|
7108
|
+
let Xi = !1;
|
|
7107
7109
|
window.addEventListener(
|
|
7108
7110
|
"keydown",
|
|
7109
7111
|
() => {
|
|
7110
|
-
|
|
7112
|
+
Xi = !0;
|
|
7111
7113
|
},
|
|
7112
7114
|
{ capture: !0 }
|
|
7113
7115
|
);
|
|
7114
7116
|
window.addEventListener(
|
|
7115
7117
|
"mousedown",
|
|
7116
7118
|
() => {
|
|
7117
|
-
|
|
7119
|
+
Xi = !1;
|
|
7118
7120
|
},
|
|
7119
7121
|
{ capture: !0 }
|
|
7120
7122
|
);
|
|
7121
|
-
function
|
|
7123
|
+
function Pi() {
|
|
7122
7124
|
let o = document.activeElement || document.body;
|
|
7123
7125
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7124
7126
|
o = o.shadowRoot.activeElement;
|
|
7125
7127
|
return o;
|
|
7126
7128
|
}
|
|
7127
|
-
function
|
|
7128
|
-
return
|
|
7129
|
+
function Zi() {
|
|
7130
|
+
return Xi;
|
|
7129
7131
|
}
|
|
7130
7132
|
function Cl(o) {
|
|
7131
7133
|
const t = o.style;
|
|
@@ -7144,11 +7146,11 @@ function kl(o, t) {
|
|
|
7144
7146
|
Pl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7145
7147
|
return e.concat(o, t);
|
|
7146
7148
|
}
|
|
7147
|
-
function
|
|
7149
|
+
function ki(o) {
|
|
7148
7150
|
const t = o.length;
|
|
7149
7151
|
if (t < 2)
|
|
7150
7152
|
return o;
|
|
7151
|
-
const e = Math.ceil(t / 2), i =
|
|
7153
|
+
const e = Math.ceil(t / 2), i = ki(o.slice(0, e)), s = ki(o.slice(e));
|
|
7152
7154
|
return kl(i, s);
|
|
7153
7155
|
}
|
|
7154
7156
|
function ir(o) {
|
|
@@ -7179,7 +7181,7 @@ function or(o, t) {
|
|
|
7179
7181
|
}
|
|
7180
7182
|
function Ml(o) {
|
|
7181
7183
|
const t = [];
|
|
7182
|
-
return or(o, t) ?
|
|
7184
|
+
return or(o, t) ? ki(t) : t;
|
|
7183
7185
|
}
|
|
7184
7186
|
/**
|
|
7185
7187
|
@license
|
|
@@ -7190,10 +7192,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7190
7192
|
Code distributed by Google as part of the polymer project is also
|
|
7191
7193
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7192
7194
|
*/
|
|
7193
|
-
let
|
|
7195
|
+
let Di = !1, Ol = [], sr = [];
|
|
7194
7196
|
function Il() {
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
+
Di = !0, requestAnimationFrame(function() {
|
|
7198
|
+
Di = !1, Fl(Ol), setTimeout(function() {
|
|
7197
7199
|
Nl(sr);
|
|
7198
7200
|
});
|
|
7199
7201
|
});
|
|
@@ -7217,19 +7219,19 @@ function rr(o) {
|
|
|
7217
7219
|
}
|
|
7218
7220
|
}
|
|
7219
7221
|
function nr(o, t, e) {
|
|
7220
|
-
|
|
7222
|
+
Di || Il(), sr.push([o, t, e]);
|
|
7221
7223
|
}
|
|
7222
7224
|
/**
|
|
7223
7225
|
* @license
|
|
7224
7226
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7225
7227
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7226
7228
|
*/
|
|
7227
|
-
const
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
const Ll =
|
|
7232
|
-
|
|
7229
|
+
const Gt = (o) => o.test(navigator.userAgent), Ti = (o) => o.test(navigator.platform), zl = (o) => o.test(navigator.vendor);
|
|
7230
|
+
Gt(/Android/u);
|
|
7231
|
+
Gt(/Chrome/u) && zl(/Google Inc/u);
|
|
7232
|
+
Gt(/Firefox/u);
|
|
7233
|
+
const Ll = Ti(/^iPad/u) || Ti(/^Mac/u) && navigator.maxTouchPoints > 1, Rl = Ti(/^iPhone/u), ar = Rl || Ll;
|
|
7234
|
+
Gt(/^((?!chrome|android).)*safari/iu);
|
|
7233
7235
|
const Bl = (() => {
|
|
7234
7236
|
try {
|
|
7235
7237
|
return document.createEvent("TouchEvent"), !0;
|
|
@@ -7242,23 +7244,23 @@ const Bl = (() => {
|
|
|
7242
7244
|
* Copyright (c) 2017 Anton Korzunov
|
|
7243
7245
|
* SPDX-License-Identifier: MIT
|
|
7244
7246
|
*/
|
|
7245
|
-
let
|
|
7246
|
-
const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE,
|
|
7247
|
+
let Ke = /* @__PURE__ */ new WeakMap(), Ot = /* @__PURE__ */ new WeakMap(), It = {}, ni = 0;
|
|
7248
|
+
const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ai = (...o) => {
|
|
7247
7249
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7248
7250
|
}, Hl = (o, t) => Vo(o) ? t.map((e) => {
|
|
7249
7251
|
if (!Vo(e))
|
|
7250
|
-
return
|
|
7252
|
+
return ai(e, "is not a valid element"), null;
|
|
7251
7253
|
let i = e;
|
|
7252
7254
|
for (; i && i !== o; ) {
|
|
7253
7255
|
if (o.contains(i))
|
|
7254
7256
|
return e;
|
|
7255
7257
|
i = i.getRootNode().host;
|
|
7256
7258
|
}
|
|
7257
|
-
return
|
|
7258
|
-
}).filter((e) => !!e) : (
|
|
7259
|
+
return ai(e, "is not contained inside", o), null;
|
|
7260
|
+
}).filter((e) => !!e) : (ai(o, "is not a valid element"), []), $l = (o, t, e, i) => {
|
|
7259
7261
|
const s = Hl(t, Array.isArray(o) ? o : [o]);
|
|
7260
|
-
|
|
7261
|
-
const r =
|
|
7262
|
+
It[e] || (It[e] = /* @__PURE__ */ new WeakMap());
|
|
7263
|
+
const r = It[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7262
7264
|
if (!d || a.has(d))
|
|
7263
7265
|
return;
|
|
7264
7266
|
a.add(d);
|
|
@@ -7275,27 +7277,27 @@ const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ni = (...o) => {
|
|
|
7275
7277
|
if (a.has(b))
|
|
7276
7278
|
u(b);
|
|
7277
7279
|
else {
|
|
7278
|
-
const p = b.getAttribute(i), g = p !== null && p !== "false", y = (
|
|
7279
|
-
|
|
7280
|
+
const p = b.getAttribute(i), g = p !== null && p !== "false", y = (Ke.get(b) || 0) + 1, v = (r.get(b) || 0) + 1;
|
|
7281
|
+
Ke.set(b, y), r.set(b, v), n.push(b), y === 1 && g && Ot.set(b, !0), v === 1 && b.setAttribute(e, "true"), g || b.setAttribute(i, "true");
|
|
7280
7282
|
}
|
|
7281
7283
|
});
|
|
7282
7284
|
};
|
|
7283
|
-
return u(t), a.clear(),
|
|
7285
|
+
return u(t), a.clear(), ni += 1, () => {
|
|
7284
7286
|
n.forEach((d) => {
|
|
7285
|
-
const h =
|
|
7286
|
-
|
|
7287
|
-
}),
|
|
7287
|
+
const h = Ke.get(d) - 1, m = r.get(d) - 1;
|
|
7288
|
+
Ke.set(d, h), r.set(d, m), h || (Ot.has(d) ? Ot.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7289
|
+
}), ni -= 1, ni || (Ke = /* @__PURE__ */ new WeakMap(), Ke = /* @__PURE__ */ new WeakMap(), Ot = /* @__PURE__ */ new WeakMap(), It = {});
|
|
7288
7290
|
};
|
|
7289
7291
|
}, lr = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7290
7292
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7291
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7293
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), $l(i, t, e, "aria-hidden");
|
|
7292
7294
|
};
|
|
7293
7295
|
/**
|
|
7294
7296
|
* @license
|
|
7295
7297
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7296
7298
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7297
7299
|
*/
|
|
7298
|
-
class
|
|
7300
|
+
class Yl {
|
|
7299
7301
|
/**
|
|
7300
7302
|
* @param {HTMLElement} host
|
|
7301
7303
|
*/
|
|
@@ -7335,7 +7337,7 @@ class jl {
|
|
|
7335
7337
|
* @param {Node | null | undefined} focusNode
|
|
7336
7338
|
*/
|
|
7337
7339
|
saveFocus(t) {
|
|
7338
|
-
this.focusNode = t ||
|
|
7340
|
+
this.focusNode = t || Pi();
|
|
7339
7341
|
}
|
|
7340
7342
|
/**
|
|
7341
7343
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -7345,7 +7347,7 @@ class jl {
|
|
|
7345
7347
|
if (!e)
|
|
7346
7348
|
return;
|
|
7347
7349
|
const i = t ? t.preventScroll : !1;
|
|
7348
|
-
|
|
7350
|
+
Pi() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
7349
7351
|
}
|
|
7350
7352
|
}
|
|
7351
7353
|
/**
|
|
@@ -7353,7 +7355,7 @@ class jl {
|
|
|
7353
7355
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7354
7356
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7355
7357
|
*/
|
|
7356
|
-
const
|
|
7358
|
+
const li = [];
|
|
7357
7359
|
class Vl {
|
|
7358
7360
|
/**
|
|
7359
7361
|
* @param {HTMLElement} host
|
|
@@ -7403,14 +7405,14 @@ class Vl {
|
|
|
7403
7405
|
trapFocus(t) {
|
|
7404
7406
|
if (this.__trapNode = t, this.__focusableElements.length === 0)
|
|
7405
7407
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
7406
|
-
|
|
7408
|
+
li.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
7407
7409
|
}
|
|
7408
7410
|
/**
|
|
7409
7411
|
* Deactivates the focus trap set with the `.trapFocus()` method
|
|
7410
7412
|
* so that it becomes possible to tab outside the trap node.
|
|
7411
7413
|
*/
|
|
7412
7414
|
releaseFocus() {
|
|
7413
|
-
this.__trapNode = null,
|
|
7415
|
+
this.__trapNode = null, li.pop();
|
|
7414
7416
|
}
|
|
7415
7417
|
/**
|
|
7416
7418
|
* A `keydown` event handler that manages tabbing navigation when the trap is enabled.
|
|
@@ -7424,7 +7426,7 @@ class Vl {
|
|
|
7424
7426
|
* @private
|
|
7425
7427
|
*/
|
|
7426
7428
|
__onKeyDown(t) {
|
|
7427
|
-
if (this.__trapNode && this === Array.from(
|
|
7429
|
+
if (this.__trapNode && this === Array.from(li).pop() && t.key === "Tab") {
|
|
7428
7430
|
t.preventDefault();
|
|
7429
7431
|
const e = t.shiftKey;
|
|
7430
7432
|
this.__focusNextElement(e);
|
|
@@ -7451,7 +7453,7 @@ class Vl {
|
|
|
7451
7453
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7452
7454
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7453
7455
|
*/
|
|
7454
|
-
const
|
|
7456
|
+
const rt = V((o) => typeof o.prototype.addController == "function" ? o : class extends o {
|
|
7455
7457
|
constructor() {
|
|
7456
7458
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
7457
7459
|
}
|
|
@@ -7491,7 +7493,7 @@ const st = V((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7491
7493
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7492
7494
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7493
7495
|
*/
|
|
7494
|
-
const Ul = (o) => class extends
|
|
7496
|
+
const Ul = (o) => class extends rt(o) {
|
|
7495
7497
|
static get properties() {
|
|
7496
7498
|
return {
|
|
7497
7499
|
/**
|
|
@@ -7522,7 +7524,7 @@ const Ul = (o) => class extends st(o) {
|
|
|
7522
7524
|
};
|
|
7523
7525
|
}
|
|
7524
7526
|
constructor() {
|
|
7525
|
-
super(), this.__ariaModalController = new
|
|
7527
|
+
super(), this.__ariaModalController = new Yl(this), this.__focusTrapController = new Vl(this), this.__focusRestorationController = new jl();
|
|
7526
7528
|
}
|
|
7527
7529
|
/** @protected */
|
|
7528
7530
|
ready() {
|
|
@@ -7535,7 +7537,7 @@ const Ul = (o) => class extends st(o) {
|
|
|
7535
7537
|
*/
|
|
7536
7538
|
_resetFocus() {
|
|
7537
7539
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7538
|
-
const e = !
|
|
7540
|
+
const e = !Zi();
|
|
7539
7541
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7540
7542
|
}
|
|
7541
7543
|
}
|
|
@@ -7567,7 +7569,7 @@ const Ul = (o) => class extends st(o) {
|
|
|
7567
7569
|
* @return {boolean}
|
|
7568
7570
|
*/
|
|
7569
7571
|
_shouldRestoreFocus() {
|
|
7570
|
-
const e =
|
|
7572
|
+
const e = Pi();
|
|
7571
7573
|
return e === document.body || this._deepContains(e);
|
|
7572
7574
|
}
|
|
7573
7575
|
/**
|
|
@@ -7593,7 +7595,7 @@ const Ul = (o) => class extends st(o) {
|
|
|
7593
7595
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7594
7596
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7595
7597
|
*/
|
|
7596
|
-
const cr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0),
|
|
7598
|
+
const cr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Mi = () => cr().filter((o) => o.$.overlay), Wl = (o) => o === Mi().pop(), ql = (o) => class extends o {
|
|
7597
7599
|
constructor() {
|
|
7598
7600
|
super(), this._hasOverlayStackMixin = !0;
|
|
7599
7601
|
}
|
|
@@ -7616,14 +7618,14 @@ const cr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7616
7618
|
}
|
|
7617
7619
|
/** @protected */
|
|
7618
7620
|
_enterModalState() {
|
|
7619
|
-
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"),
|
|
7621
|
+
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), Mi().forEach((e) => {
|
|
7620
7622
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
7621
7623
|
});
|
|
7622
7624
|
}
|
|
7623
7625
|
/** @protected */
|
|
7624
7626
|
_exitModalState() {
|
|
7625
7627
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
7626
|
-
const e =
|
|
7628
|
+
const e = Mi();
|
|
7627
7629
|
let i;
|
|
7628
7630
|
for (; (i = e.pop()) && !(i !== this && (i.$.overlay.style.removeProperty("pointer-events"), !i.modeless)); )
|
|
7629
7631
|
;
|
|
@@ -7919,23 +7921,23 @@ function Gl(o) {
|
|
|
7919
7921
|
}
|
|
7920
7922
|
return t;
|
|
7921
7923
|
}
|
|
7922
|
-
function
|
|
7924
|
+
function Qi(o) {
|
|
7923
7925
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7924
7926
|
}
|
|
7925
|
-
function
|
|
7927
|
+
function Jt(o) {
|
|
7926
7928
|
return o ? [...o].join(" ") : "";
|
|
7927
7929
|
}
|
|
7928
7930
|
function ur(o, t, e) {
|
|
7929
|
-
const i =
|
|
7930
|
-
i.add(e), o.setAttribute(t,
|
|
7931
|
+
const i = Qi(o.getAttribute(t));
|
|
7932
|
+
i.add(e), o.setAttribute(t, Jt(i));
|
|
7931
7933
|
}
|
|
7932
7934
|
function Jl(o, t, e) {
|
|
7933
|
-
const i =
|
|
7935
|
+
const i = Qi(o.getAttribute(t));
|
|
7934
7936
|
if (i.delete(e), i.size === 0) {
|
|
7935
7937
|
o.removeAttribute(t);
|
|
7936
7938
|
return;
|
|
7937
7939
|
}
|
|
7938
|
-
o.setAttribute(t,
|
|
7940
|
+
o.setAttribute(t, Jt(i));
|
|
7939
7941
|
}
|
|
7940
7942
|
function Xl(o) {
|
|
7941
7943
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
@@ -7979,10 +7981,10 @@ function Zl(o, t) {
|
|
|
7979
7981
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7980
7982
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7981
7983
|
*/
|
|
7982
|
-
const
|
|
7984
|
+
const ci = {
|
|
7983
7985
|
start: "top",
|
|
7984
7986
|
end: "bottom"
|
|
7985
|
-
},
|
|
7987
|
+
}, ui = {
|
|
7986
7988
|
start: "left",
|
|
7987
7989
|
end: "right"
|
|
7988
7990
|
}, Uo = new ResizeObserver((o) => {
|
|
@@ -8134,14 +8136,14 @@ const li = {
|
|
|
8134
8136
|
e,
|
|
8135
8137
|
a,
|
|
8136
8138
|
this.noVerticalOverlap,
|
|
8137
|
-
|
|
8139
|
+
ci,
|
|
8138
8140
|
this,
|
|
8139
8141
|
i
|
|
8140
8142
|
), c = this.__calculatePositionInOneDimension(
|
|
8141
8143
|
e,
|
|
8142
8144
|
a,
|
|
8143
8145
|
this.noHorizontalOverlap,
|
|
8144
|
-
|
|
8146
|
+
ui,
|
|
8145
8147
|
this,
|
|
8146
8148
|
r
|
|
8147
8149
|
);
|
|
@@ -8158,7 +8160,7 @@ const li = {
|
|
|
8158
8160
|
this.__margins,
|
|
8159
8161
|
n,
|
|
8160
8162
|
this.noHorizontalOverlap,
|
|
8161
|
-
|
|
8163
|
+
ui
|
|
8162
8164
|
);
|
|
8163
8165
|
}
|
|
8164
8166
|
__shouldAlignStartVertically(e) {
|
|
@@ -8172,7 +8174,7 @@ const li = {
|
|
|
8172
8174
|
this.__margins,
|
|
8173
8175
|
r,
|
|
8174
8176
|
this.noVerticalOverlap,
|
|
8175
|
-
|
|
8177
|
+
ci
|
|
8176
8178
|
);
|
|
8177
8179
|
}
|
|
8178
8180
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
@@ -8189,7 +8191,7 @@ const li = {
|
|
|
8189
8191
|
__adjustBottomProperty(e, i, s) {
|
|
8190
8192
|
let r;
|
|
8191
8193
|
if (e === i.end) {
|
|
8192
|
-
if (i.end ===
|
|
8194
|
+
if (i.end === ci.end) {
|
|
8193
8195
|
const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
8194
8196
|
if (s > n && this.__oldViewportHeight) {
|
|
8195
8197
|
const a = this.__oldViewportHeight - n;
|
|
@@ -8197,7 +8199,7 @@ const li = {
|
|
|
8197
8199
|
}
|
|
8198
8200
|
this.__oldViewportHeight = n;
|
|
8199
8201
|
}
|
|
8200
|
-
if (i.end ===
|
|
8202
|
+
if (i.end === ui.end) {
|
|
8201
8203
|
const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
8202
8204
|
if (s > n && this.__oldViewportWidth) {
|
|
8203
8205
|
const a = this.__oldViewportWidth - n;
|
|
@@ -8275,12 +8277,12 @@ const tc = P`
|
|
|
8275
8277
|
L("vaadin-date-picker-overlay", [Al, tc], {
|
|
8276
8278
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8277
8279
|
});
|
|
8278
|
-
class ic extends ec(
|
|
8280
|
+
class ic extends ec(Kt(Ve(Fe))) {
|
|
8279
8281
|
static get is() {
|
|
8280
8282
|
return "vaadin-date-picker-overlay";
|
|
8281
8283
|
}
|
|
8282
8284
|
static get template() {
|
|
8283
|
-
return
|
|
8285
|
+
return We`
|
|
8284
8286
|
<div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
|
|
8285
8287
|
<div part="overlay" id="overlay">
|
|
8286
8288
|
<div part="content" id="content">
|
|
@@ -8291,7 +8293,7 @@ class ic extends ec(qt(je(Fe))) {
|
|
|
8291
8293
|
}
|
|
8292
8294
|
}
|
|
8293
8295
|
be(ic);
|
|
8294
|
-
const oc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
8296
|
+
const oc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, zt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8295
8297
|
function sc() {
|
|
8296
8298
|
function o() {
|
|
8297
8299
|
return !0;
|
|
@@ -8300,7 +8302,7 @@ function sc() {
|
|
|
8300
8302
|
}
|
|
8301
8303
|
function rc() {
|
|
8302
8304
|
try {
|
|
8303
|
-
return nc() ? !0 : ac() ?
|
|
8305
|
+
return nc() ? !0 : ac() ? zt ? !lc() : !sc() : !1;
|
|
8304
8306
|
} catch (o) {
|
|
8305
8307
|
return !1;
|
|
8306
8308
|
}
|
|
@@ -8312,7 +8314,7 @@ function ac() {
|
|
|
8312
8314
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8313
8315
|
}
|
|
8314
8316
|
function lc() {
|
|
8315
|
-
return !!(
|
|
8317
|
+
return !!(zt && Object.keys(zt).map((t) => zt[t]).filter((t) => t.productionMode).length > 0);
|
|
8316
8318
|
}
|
|
8317
8319
|
function dr(o, t) {
|
|
8318
8320
|
if (typeof o != "function")
|
|
@@ -8827,13 +8829,13 @@ const uc = function() {
|
|
|
8827
8829
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8828
8830
|
*/
|
|
8829
8831
|
let qo = 0, hr = 0;
|
|
8830
|
-
const
|
|
8831
|
-
let
|
|
8832
|
+
const Ze = [];
|
|
8833
|
+
let Oi = !1;
|
|
8832
8834
|
function dc() {
|
|
8833
|
-
|
|
8834
|
-
const o =
|
|
8835
|
+
Oi = !1;
|
|
8836
|
+
const o = Ze.length;
|
|
8835
8837
|
for (let t = 0; t < o; t++) {
|
|
8836
|
-
const e =
|
|
8838
|
+
const e = Ze[t];
|
|
8837
8839
|
if (e)
|
|
8838
8840
|
try {
|
|
8839
8841
|
e();
|
|
@@ -8843,9 +8845,9 @@ function dc() {
|
|
|
8843
8845
|
});
|
|
8844
8846
|
}
|
|
8845
8847
|
}
|
|
8846
|
-
|
|
8848
|
+
Ze.splice(0, o), hr += o;
|
|
8847
8849
|
}
|
|
8848
|
-
const
|
|
8850
|
+
const jt = {
|
|
8849
8851
|
/**
|
|
8850
8852
|
* Returns a sub-module with the async interface providing the provided
|
|
8851
8853
|
* delay.
|
|
@@ -8936,7 +8938,7 @@ const $t = {
|
|
|
8936
8938
|
* @return {number} Handle used for canceling task
|
|
8937
8939
|
*/
|
|
8938
8940
|
run(o) {
|
|
8939
|
-
|
|
8941
|
+
Oi || (Oi = !0, queueMicrotask(() => dc())), Ze.push(o);
|
|
8940
8942
|
const t = qo;
|
|
8941
8943
|
return qo += 1, t;
|
|
8942
8944
|
},
|
|
@@ -8950,9 +8952,9 @@ const $t = {
|
|
|
8950
8952
|
cancel(o) {
|
|
8951
8953
|
const t = o - hr;
|
|
8952
8954
|
if (t >= 0) {
|
|
8953
|
-
if (!
|
|
8955
|
+
if (!Ze[t])
|
|
8954
8956
|
throw new Error(`invalid async handle: ${o}`);
|
|
8955
|
-
|
|
8957
|
+
Ze[t] = null;
|
|
8956
8958
|
}
|
|
8957
8959
|
}
|
|
8958
8960
|
};
|
|
@@ -8965,8 +8967,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8965
8967
|
Code distributed by Google as part of the polymer project is also
|
|
8966
8968
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8967
8969
|
*/
|
|
8968
|
-
const
|
|
8969
|
-
let
|
|
8970
|
+
const Ii = /* @__PURE__ */ new Set();
|
|
8971
|
+
let it = class Fi {
|
|
8970
8972
|
/**
|
|
8971
8973
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
8972
8974
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -9002,7 +9004,7 @@ let tt = class Ii {
|
|
|
9002
9004
|
* @return {!Debouncer} Returns a debouncer object.
|
|
9003
9005
|
*/
|
|
9004
9006
|
static debounce(t, e, i) {
|
|
9005
|
-
return t instanceof
|
|
9007
|
+
return t instanceof Fi ? t._cancelAsync() : t = new Fi(), t.setConfig(e, i), t;
|
|
9006
9008
|
}
|
|
9007
9009
|
constructor() {
|
|
9008
9010
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9018,7 +9020,7 @@ let tt = class Ii {
|
|
|
9018
9020
|
*/
|
|
9019
9021
|
setConfig(t, e) {
|
|
9020
9022
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
9021
|
-
this._timer = null,
|
|
9023
|
+
this._timer = null, Ii.delete(this), this._callback();
|
|
9022
9024
|
});
|
|
9023
9025
|
}
|
|
9024
9026
|
/**
|
|
@@ -9027,7 +9029,7 @@ let tt = class Ii {
|
|
|
9027
9029
|
* @return {void}
|
|
9028
9030
|
*/
|
|
9029
9031
|
cancel() {
|
|
9030
|
-
this.isActive() && (this._cancelAsync(),
|
|
9032
|
+
this.isActive() && (this._cancelAsync(), Ii.delete(this));
|
|
9031
9033
|
}
|
|
9032
9034
|
/**
|
|
9033
9035
|
* Cancels a debouncer's async callback.
|
|
@@ -9058,7 +9060,7 @@ let tt = class Ii {
|
|
|
9058
9060
|
}
|
|
9059
9061
|
};
|
|
9060
9062
|
function mc(o) {
|
|
9061
|
-
|
|
9063
|
+
Ii.add(o);
|
|
9062
9064
|
}
|
|
9063
9065
|
/**
|
|
9064
9066
|
* @license
|
|
@@ -9071,15 +9073,15 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
9071
9073
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9072
9074
|
uc();
|
|
9073
9075
|
};
|
|
9074
|
-
let
|
|
9075
|
-
const Ko = /* @__PURE__ */ new Set(), pr = (o) => class extends
|
|
9076
|
+
let di;
|
|
9077
|
+
const Ko = /* @__PURE__ */ new Set(), pr = (o) => class extends Kt(o) {
|
|
9076
9078
|
/** @protected */
|
|
9077
9079
|
static finalize() {
|
|
9078
9080
|
super.finalize();
|
|
9079
9081
|
const { is: e } = this;
|
|
9080
|
-
e && !Ko.has(e) && (window.Vaadin.registrations.push(this), Ko.add(e), window.Vaadin.developmentModeCallback && (
|
|
9082
|
+
e && !Ko.has(e) && (window.Vaadin.registrations.push(this), Ko.add(e), window.Vaadin.developmentModeCallback && (di = it.debounce(di, pc, () => {
|
|
9081
9083
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9082
|
-
}), mc(
|
|
9084
|
+
}), mc(di)));
|
|
9083
9085
|
}
|
|
9084
9086
|
constructor() {
|
|
9085
9087
|
super(), document.doctype === null && console.warn(
|
|
@@ -9452,7 +9454,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9452
9454
|
Code distributed by Google as part of the polymer project is also
|
|
9453
9455
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9454
9456
|
*/
|
|
9455
|
-
const yc =
|
|
9457
|
+
const yc = (o) => o, _r = typeof document.head.style.touchAction == "string", Ni = "__polymerGestures", hi = "__polymerGesturesHandled", zi = "__polymerGesturesTouchAction", Go = 25, Jo = 5, xc = 2, wc = ["mousedown", "mousemove", "mouseup", "click"], Ec = [0, 1, 4, 2], Sc = function() {
|
|
9456
9458
|
try {
|
|
9457
9459
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9458
9460
|
} catch (o) {
|
|
@@ -9460,15 +9462,15 @@ const yc = !1, xc = (o) => o, Qi = typeof document.head.style.touchAction == "st
|
|
|
9460
9462
|
}
|
|
9461
9463
|
}();
|
|
9462
9464
|
function eo(o) {
|
|
9463
|
-
return
|
|
9465
|
+
return wc.indexOf(o) > -1;
|
|
9464
9466
|
}
|
|
9465
|
-
let
|
|
9467
|
+
let Ac = !1;
|
|
9466
9468
|
(function() {
|
|
9467
9469
|
try {
|
|
9468
9470
|
const o = Object.defineProperty({}, "passive", {
|
|
9469
9471
|
// eslint-disable-next-line getter-return
|
|
9470
9472
|
get() {
|
|
9471
|
-
|
|
9473
|
+
Ac = !0;
|
|
9472
9474
|
}
|
|
9473
9475
|
});
|
|
9474
9476
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -9476,8 +9478,7 @@ let _r = !1;
|
|
|
9476
9478
|
}
|
|
9477
9479
|
})();
|
|
9478
9480
|
function Cc(o) {
|
|
9479
|
-
|
|
9480
|
-
return { passive: !0 };
|
|
9481
|
+
eo(o);
|
|
9481
9482
|
}
|
|
9482
9483
|
const Pc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), kc = {
|
|
9483
9484
|
button: !0,
|
|
@@ -9496,7 +9497,7 @@ function Ye(o) {
|
|
|
9496
9497
|
return !1;
|
|
9497
9498
|
if (t === "mousemove") {
|
|
9498
9499
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9499
|
-
return o instanceof window.MouseEvent && !
|
|
9500
|
+
return o instanceof window.MouseEvent && !Sc && (i = Ec[o.which] || 0), !!(i & 1);
|
|
9500
9501
|
}
|
|
9501
9502
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9502
9503
|
}
|
|
@@ -9517,10 +9518,6 @@ function Dc(o) {
|
|
|
9517
9518
|
return !1;
|
|
9518
9519
|
}
|
|
9519
9520
|
const Se = {
|
|
9520
|
-
mouse: {
|
|
9521
|
-
target: null,
|
|
9522
|
-
mouseIgnoreJob: null
|
|
9523
|
-
},
|
|
9524
9521
|
touch: {
|
|
9525
9522
|
x: 0,
|
|
9526
9523
|
y: 0,
|
|
@@ -9532,8 +9529,8 @@ function Tc(o) {
|
|
|
9532
9529
|
let t = "auto";
|
|
9533
9530
|
const e = br(o);
|
|
9534
9531
|
for (let i = 0, s; i < e.length; i++)
|
|
9535
|
-
if (s = e[i], s[
|
|
9536
|
-
t = s[
|
|
9532
|
+
if (s = e[i], s[zi]) {
|
|
9533
|
+
t = s[zi];
|
|
9537
9534
|
break;
|
|
9538
9535
|
}
|
|
9539
9536
|
return t;
|
|
@@ -9541,7 +9538,7 @@ function Tc(o) {
|
|
|
9541
9538
|
function gr(o, t, e) {
|
|
9542
9539
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9543
9540
|
}
|
|
9544
|
-
function
|
|
9541
|
+
function Qe(o) {
|
|
9545
9542
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9546
9543
|
}
|
|
9547
9544
|
const br = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], to = {}, He = [];
|
|
@@ -9563,19 +9560,19 @@ function Ie(o) {
|
|
|
9563
9560
|
return t.length > 0 ? t[0] : o.target;
|
|
9564
9561
|
}
|
|
9565
9562
|
function Oc(o) {
|
|
9566
|
-
const t = o.type, i = o.currentTarget[
|
|
9563
|
+
const t = o.type, i = o.currentTarget[Ni];
|
|
9567
9564
|
if (!i)
|
|
9568
9565
|
return;
|
|
9569
9566
|
const s = i[t];
|
|
9570
9567
|
if (!s)
|
|
9571
9568
|
return;
|
|
9572
|
-
if (!o[
|
|
9569
|
+
if (!o[hi] && (o[hi] = {}, t.startsWith("touch"))) {
|
|
9573
9570
|
const n = o.changedTouches[0];
|
|
9574
9571
|
if (t === "touchstart" && o.touches.length === 1 && (Se.touch.id = n.identifier), Se.touch.id !== n.identifier)
|
|
9575
9572
|
return;
|
|
9576
|
-
|
|
9573
|
+
_r || (t === "touchstart" || t === "touchmove") && Ic(o);
|
|
9577
9574
|
}
|
|
9578
|
-
const r = o[
|
|
9575
|
+
const r = o[hi];
|
|
9579
9576
|
if (!r.skip) {
|
|
9580
9577
|
for (let n = 0, a; n < He.length; n++)
|
|
9581
9578
|
a = He[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -9594,7 +9591,7 @@ function Ic(o) {
|
|
|
9594
9591
|
const i = Tc(o);
|
|
9595
9592
|
let s = !1;
|
|
9596
9593
|
const r = Math.abs(Se.touch.x - t.clientX), n = Math.abs(Se.touch.y - t.clientY);
|
|
9597
|
-
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() :
|
|
9594
|
+
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Vt("track");
|
|
9598
9595
|
}
|
|
9599
9596
|
}
|
|
9600
9597
|
function ge(o, t, e) {
|
|
@@ -9602,8 +9599,8 @@ function ge(o, t, e) {
|
|
|
9602
9599
|
}
|
|
9603
9600
|
function Fc(o, t, e) {
|
|
9604
9601
|
const i = to[t], s = i.deps, r = i.name;
|
|
9605
|
-
let n = o[
|
|
9606
|
-
n || (o[
|
|
9602
|
+
let n = o[Ni];
|
|
9603
|
+
n || (o[Ni] = n = {});
|
|
9607
9604
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9608
9605
|
l = s[a], !(Pc && eo(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Oc, Cc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9609
9606
|
o.addEventListener(t, e), i.touchAction && vr(o, i.touchAction);
|
|
@@ -9623,13 +9620,13 @@ function Nc(o) {
|
|
|
9623
9620
|
return null;
|
|
9624
9621
|
}
|
|
9625
9622
|
function vr(o, t) {
|
|
9626
|
-
|
|
9623
|
+
_r && o instanceof HTMLElement && fc.run(() => {
|
|
9627
9624
|
o.style.touchAction = t;
|
|
9628
|
-
}), o[
|
|
9625
|
+
}), o[zi] = t;
|
|
9629
9626
|
}
|
|
9630
9627
|
function oo(o, t, e) {
|
|
9631
9628
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9632
|
-
if (i.detail = e,
|
|
9629
|
+
if (i.detail = e, yc(
|
|
9633
9630
|
/** @type {!Node} */
|
|
9634
9631
|
o
|
|
9635
9632
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9637,7 +9634,7 @@ function oo(o, t, e) {
|
|
|
9637
9634
|
s && s.preventDefault && s.preventDefault();
|
|
9638
9635
|
}
|
|
9639
9636
|
}
|
|
9640
|
-
function
|
|
9637
|
+
function Vt(o) {
|
|
9641
9638
|
const t = Nc(o);
|
|
9642
9639
|
t.info && (t.info.prevent = !0);
|
|
9643
9640
|
}
|
|
@@ -9658,7 +9655,7 @@ io({
|
|
|
9658
9655
|
* @return {void}
|
|
9659
9656
|
*/
|
|
9660
9657
|
reset() {
|
|
9661
|
-
|
|
9658
|
+
Qe(this.info);
|
|
9662
9659
|
},
|
|
9663
9660
|
/**
|
|
9664
9661
|
* @this {GestureRecognizer}
|
|
@@ -9669,11 +9666,11 @@ io({
|
|
|
9669
9666
|
if (!Ye(o))
|
|
9670
9667
|
return;
|
|
9671
9668
|
const t = Ie(o), e = this, i = (r) => {
|
|
9672
|
-
Ye(r) || (
|
|
9669
|
+
Ye(r) || (ut("up", t, r), Qe(e.info));
|
|
9673
9670
|
}, s = (r) => {
|
|
9674
|
-
Ye(r) &&
|
|
9671
|
+
Ye(r) && ut("up", t, r), Qe(e.info);
|
|
9675
9672
|
};
|
|
9676
|
-
gr(this.info, i, s),
|
|
9673
|
+
gr(this.info, i, s), ut("down", t, o);
|
|
9677
9674
|
},
|
|
9678
9675
|
/**
|
|
9679
9676
|
* @this {GestureRecognizer}
|
|
@@ -9681,7 +9678,7 @@ io({
|
|
|
9681
9678
|
* @return {void}
|
|
9682
9679
|
*/
|
|
9683
9680
|
touchstart(o) {
|
|
9684
|
-
|
|
9681
|
+
ut("down", Ie(o), o.changedTouches[0], o);
|
|
9685
9682
|
},
|
|
9686
9683
|
/**
|
|
9687
9684
|
* @this {GestureRecognizer}
|
|
@@ -9689,17 +9686,17 @@ io({
|
|
|
9689
9686
|
* @return {void}
|
|
9690
9687
|
*/
|
|
9691
9688
|
touchend(o) {
|
|
9692
|
-
|
|
9689
|
+
ut("up", Ie(o), o.changedTouches[0], o);
|
|
9693
9690
|
}
|
|
9694
9691
|
});
|
|
9695
|
-
function
|
|
9692
|
+
function ut(o, t, e, i) {
|
|
9696
9693
|
t && oo(t, o, {
|
|
9697
9694
|
x: e.clientX,
|
|
9698
9695
|
y: e.clientY,
|
|
9699
9696
|
sourceEvent: e,
|
|
9700
9697
|
preventer: i,
|
|
9701
9698
|
prevent(s) {
|
|
9702
|
-
return
|
|
9699
|
+
return Vt(s);
|
|
9703
9700
|
}
|
|
9704
9701
|
});
|
|
9705
9702
|
}
|
|
@@ -9720,7 +9717,7 @@ io({
|
|
|
9720
9717
|
moves: [],
|
|
9721
9718
|
/** @this {GestureInfo} */
|
|
9722
9719
|
addMove(o) {
|
|
9723
|
-
this.moves.length >
|
|
9720
|
+
this.moves.length > xc && this.moves.shift(), this.moves.push(o);
|
|
9724
9721
|
},
|
|
9725
9722
|
movefn: null,
|
|
9726
9723
|
upfn: null,
|
|
@@ -9731,7 +9728,7 @@ io({
|
|
|
9731
9728
|
* @return {void}
|
|
9732
9729
|
*/
|
|
9733
9730
|
reset() {
|
|
9734
|
-
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1,
|
|
9731
|
+
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Qe(this.info);
|
|
9735
9732
|
},
|
|
9736
9733
|
/**
|
|
9737
9734
|
* @this {GestureRecognizer}
|
|
@@ -9743,9 +9740,9 @@ io({
|
|
|
9743
9740
|
return;
|
|
9744
9741
|
const t = Ie(o), e = this, i = (r) => {
|
|
9745
9742
|
const n = r.clientX, a = r.clientY;
|
|
9746
|
-
Xo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
9743
|
+
Xo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Vt("tap"), e.info.addMove({ x: n, y: a }), Ye(r) || (e.info.state = "end", Qe(e.info)), t && pi(e.info, t, r), e.info.started = !0);
|
|
9747
9744
|
}, s = (r) => {
|
|
9748
|
-
e.info.started && i(r),
|
|
9745
|
+
e.info.started && i(r), Qe(e.info);
|
|
9749
9746
|
};
|
|
9750
9747
|
gr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9751
9748
|
},
|
|
@@ -9765,7 +9762,7 @@ io({
|
|
|
9765
9762
|
*/
|
|
9766
9763
|
touchmove(o) {
|
|
9767
9764
|
const t = Ie(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9768
|
-
Xo(this.info, i, s) && (this.info.state === "start" &&
|
|
9765
|
+
Xo(this.info, i, s) && (this.info.state === "start" && Vt("tap"), this.info.addMove({ x: i, y: s }), pi(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9769
9766
|
},
|
|
9770
9767
|
/**
|
|
9771
9768
|
* @this {GestureRecognizer}
|
|
@@ -9774,7 +9771,7 @@ io({
|
|
|
9774
9771
|
*/
|
|
9775
9772
|
touchend(o) {
|
|
9776
9773
|
const t = Ie(o), e = o.changedTouches[0];
|
|
9777
|
-
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }),
|
|
9774
|
+
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), pi(this.info, t, e));
|
|
9778
9775
|
}
|
|
9779
9776
|
});
|
|
9780
9777
|
function Xo(o, t, e) {
|
|
@@ -9785,7 +9782,7 @@ function Xo(o, t, e) {
|
|
|
9785
9782
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9786
9783
|
return i >= Jo || s >= Jo;
|
|
9787
9784
|
}
|
|
9788
|
-
function
|
|
9785
|
+
function pi(o, t, e) {
|
|
9789
9786
|
if (!t)
|
|
9790
9787
|
return;
|
|
9791
9788
|
const i = o.moves[o.moves.length - 2], s = o.moves[o.moves.length - 1], r = s.x - o.x, n = s.y - o.y;
|
|
@@ -9920,7 +9917,7 @@ const yr = V(
|
|
|
9920
9917
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9921
9918
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9922
9919
|
*/
|
|
9923
|
-
const
|
|
9920
|
+
const Xt = V(
|
|
9924
9921
|
(o) => class extends o {
|
|
9925
9922
|
/** @protected */
|
|
9926
9923
|
ready() {
|
|
@@ -9982,7 +9979,7 @@ const Jt = V(
|
|
|
9982
9979
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9983
9980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9984
9981
|
*/
|
|
9985
|
-
const zc = (o) => class extends yr(
|
|
9982
|
+
const zc = (o) => class extends yr(Xt(o)) {
|
|
9986
9983
|
/**
|
|
9987
9984
|
* An array of activation keys.
|
|
9988
9985
|
*
|
|
@@ -10052,7 +10049,7 @@ const so = V(
|
|
|
10052
10049
|
* @return {boolean}
|
|
10053
10050
|
*/
|
|
10054
10051
|
get _keyboardActive() {
|
|
10055
|
-
return
|
|
10052
|
+
return Zi();
|
|
10056
10053
|
}
|
|
10057
10054
|
/** @protected */
|
|
10058
10055
|
ready() {
|
|
@@ -10209,12 +10206,12 @@ const Lc = (o) => class extends zc(xr(so(o))) {
|
|
|
10209
10206
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10210
10207
|
*/
|
|
10211
10208
|
L("vaadin-button", bc, { moduleId: "vaadin-button-styles" });
|
|
10212
|
-
class Rc extends Lc(pr(
|
|
10209
|
+
class Rc extends Lc(pr(Ve(rt(Fe)))) {
|
|
10213
10210
|
static get is() {
|
|
10214
10211
|
return "vaadin-button";
|
|
10215
10212
|
}
|
|
10216
10213
|
static get template() {
|
|
10217
|
-
return vc(
|
|
10214
|
+
return vc(We);
|
|
10218
10215
|
}
|
|
10219
10216
|
/** @protected */
|
|
10220
10217
|
ready() {
|
|
@@ -10235,11 +10232,11 @@ function Bc(o) {
|
|
|
10235
10232
|
const r = i.getTime() - s.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
|
|
10236
10233
|
return Math.floor(n / 7 + 1);
|
|
10237
10234
|
}
|
|
10238
|
-
function
|
|
10235
|
+
function Li(o) {
|
|
10239
10236
|
const t = new Date(o);
|
|
10240
10237
|
return t.setHours(0, 0, 0, 0), t;
|
|
10241
10238
|
}
|
|
10242
|
-
function Ce(o, t, e =
|
|
10239
|
+
function Ce(o, t, e = Li) {
|
|
10243
10240
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10244
10241
|
}
|
|
10245
10242
|
function ro(o) {
|
|
@@ -10249,7 +10246,7 @@ function ro(o) {
|
|
|
10249
10246
|
year: o.getFullYear()
|
|
10250
10247
|
};
|
|
10251
10248
|
}
|
|
10252
|
-
function
|
|
10249
|
+
function ot(o, t, e, i) {
|
|
10253
10250
|
let s = !1;
|
|
10254
10251
|
if (typeof i == "function" && o) {
|
|
10255
10252
|
const r = ro(o);
|
|
@@ -10279,22 +10276,22 @@ function Hc(o, t, e = 0, i = 1) {
|
|
|
10279
10276
|
let s = t + Math.floor(o.getFullYear() / 100) * 100;
|
|
10280
10277
|
return o < new Date(s - 50, e, i) ? s -= 100 : o > new Date(s + 50, e, i) && (s += 100), s;
|
|
10281
10278
|
}
|
|
10282
|
-
function
|
|
10279
|
+
function dt(o) {
|
|
10283
10280
|
const t = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);
|
|
10284
10281
|
if (!t)
|
|
10285
10282
|
return;
|
|
10286
10283
|
const e = new Date(0, 0);
|
|
10287
10284
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10288
10285
|
}
|
|
10289
|
-
function
|
|
10286
|
+
function $c(o) {
|
|
10290
10287
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10291
10288
|
let e = "", i = "0000", s = o.year;
|
|
10292
10289
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10293
10290
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10294
10291
|
return [r, n, a].join("-");
|
|
10295
10292
|
}
|
|
10296
|
-
function
|
|
10297
|
-
return o instanceof Date ?
|
|
10293
|
+
function Yc(o) {
|
|
10294
|
+
return o instanceof Date ? $c({
|
|
10298
10295
|
year: o.getFullYear(),
|
|
10299
10296
|
month: o.getMonth(),
|
|
10300
10297
|
day: o.getDate()
|
|
@@ -10309,7 +10306,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10309
10306
|
Code distributed by Google as part of the polymer project is also
|
|
10310
10307
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10311
10308
|
*/
|
|
10312
|
-
class
|
|
10309
|
+
class Ut {
|
|
10313
10310
|
constructor() {
|
|
10314
10311
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
10315
10312
|
}
|
|
@@ -10324,7 +10321,7 @@ class Vt {
|
|
|
10324
10321
|
*/
|
|
10325
10322
|
setConfig(t, e) {
|
|
10326
10323
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
10327
|
-
this._timer = null,
|
|
10324
|
+
this._timer = null, At.delete(this), this._callback();
|
|
10328
10325
|
});
|
|
10329
10326
|
}
|
|
10330
10327
|
/**
|
|
@@ -10333,7 +10330,7 @@ class Vt {
|
|
|
10333
10330
|
* @return {void}
|
|
10334
10331
|
*/
|
|
10335
10332
|
cancel() {
|
|
10336
|
-
this.isActive() && (this._cancelAsync(),
|
|
10333
|
+
this.isActive() && (this._cancelAsync(), At.delete(this));
|
|
10337
10334
|
}
|
|
10338
10335
|
/**
|
|
10339
10336
|
* Cancels a debouncer's async callback.
|
|
@@ -10397,15 +10394,15 @@ class Vt {
|
|
|
10397
10394
|
* @return {!Debouncer} Returns a debouncer object.
|
|
10398
10395
|
*/
|
|
10399
10396
|
static debounce(t, e, i) {
|
|
10400
|
-
return t instanceof
|
|
10397
|
+
return t instanceof Ut ? t._cancelAsync() : t = new Ut(), t.setConfig(e, i), t;
|
|
10401
10398
|
}
|
|
10402
10399
|
}
|
|
10403
|
-
let
|
|
10400
|
+
let At = /* @__PURE__ */ new Set();
|
|
10404
10401
|
const jc = function(o) {
|
|
10405
|
-
|
|
10402
|
+
At.add(o);
|
|
10406
10403
|
}, Vc = function() {
|
|
10407
|
-
const o = !!
|
|
10408
|
-
return
|
|
10404
|
+
const o = !!At.size;
|
|
10405
|
+
return At.forEach((t) => {
|
|
10409
10406
|
try {
|
|
10410
10407
|
t.flush();
|
|
10411
10408
|
} catch (e) {
|
|
@@ -10585,7 +10582,7 @@ class Ar extends HTMLElement {
|
|
|
10585
10582
|
const t = this.$.scroller.scrollTop;
|
|
10586
10583
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
10587
10584
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
10588
|
-
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish =
|
|
10585
|
+
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = it.debounce(this._debouncerScrollFinish, jt.after(200), () => {
|
|
10589
10586
|
const r = this.$.scroller.getBoundingClientRect();
|
|
10590
10587
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
10591
10588
|
});
|
|
@@ -10594,7 +10591,7 @@ class Ar extends HTMLElement {
|
|
|
10594
10591
|
_reset() {
|
|
10595
10592
|
this._scrollDisabled = !0, this.$.scroller.scrollTop = this._initialScroll, this._buffers[0].translateY = this._initialScroll - this._bufferHeight, this._buffers[1].translateY = this._initialScroll, this._buffers.forEach((t) => {
|
|
10596
10593
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
10597
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones =
|
|
10594
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = it.debounce(this._debouncerUpdateClones, jt.after(200), () => {
|
|
10598
10595
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
10599
10596
|
}), this._scrollDisabled = !1;
|
|
10600
10597
|
}
|
|
@@ -10787,12 +10784,12 @@ const qc = (o) => class extends o {
|
|
|
10787
10784
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10788
10785
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10789
10786
|
*/
|
|
10790
|
-
class Kc extends
|
|
10787
|
+
class Kc extends Ve(qc(Fe)) {
|
|
10791
10788
|
static get is() {
|
|
10792
10789
|
return "vaadin-date-picker-year";
|
|
10793
10790
|
}
|
|
10794
10791
|
static get template() {
|
|
10795
|
-
return
|
|
10792
|
+
return We`
|
|
10796
10793
|
<style>
|
|
10797
10794
|
:host {
|
|
10798
10795
|
display: block;
|
|
@@ -10891,21 +10888,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10891
10888
|
Code distributed by Google as part of the polymer project is also
|
|
10892
10889
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10893
10890
|
*/
|
|
10894
|
-
let
|
|
10895
|
-
function
|
|
10896
|
-
return
|
|
10891
|
+
let Ri = null;
|
|
10892
|
+
function Bi() {
|
|
10893
|
+
return Ri;
|
|
10897
10894
|
}
|
|
10898
|
-
|
|
10895
|
+
Bi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
10899
10896
|
constructor: {
|
|
10900
|
-
value:
|
|
10897
|
+
value: Bi,
|
|
10901
10898
|
writable: !0
|
|
10902
10899
|
}
|
|
10903
10900
|
});
|
|
10904
|
-
const kr =
|
|
10901
|
+
const kr = Ji(Bi), Jc = lo(kr);
|
|
10905
10902
|
function Xc(o, t) {
|
|
10906
|
-
|
|
10903
|
+
Ri = o, Object.setPrototypeOf(o, t.prototype), new t(), Ri = null;
|
|
10907
10904
|
}
|
|
10908
|
-
const Zc =
|
|
10905
|
+
const Zc = Ji(class {
|
|
10909
10906
|
});
|
|
10910
10907
|
function Qc(o, t) {
|
|
10911
10908
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -11059,7 +11056,7 @@ function Qo(o) {
|
|
|
11059
11056
|
}
|
|
11060
11057
|
function tu(o, t, e) {
|
|
11061
11058
|
let i = e.mutableData ? eu : Ne;
|
|
11062
|
-
|
|
11059
|
+
Hi.mixin && (i = Hi.mixin(i));
|
|
11063
11060
|
let s = class extends i {
|
|
11064
11061
|
};
|
|
11065
11062
|
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), su(s, o, t, e), s;
|
|
@@ -11146,8 +11143,8 @@ function nu() {
|
|
|
11146
11143
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11147
11144
|
};
|
|
11148
11145
|
}
|
|
11149
|
-
function
|
|
11150
|
-
if (
|
|
11146
|
+
function Hi(o, t, e) {
|
|
11147
|
+
if ($t && !Qo(o))
|
|
11151
11148
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11152
11149
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11153
11150
|
e || {}, o.__templatizeOwner)
|
|
@@ -11428,7 +11425,7 @@ class ts extends uu {
|
|
|
11428
11425
|
return s.observe(this, { childList: !0 }), !1;
|
|
11429
11426
|
}
|
|
11430
11427
|
let i = {};
|
|
11431
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
11428
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = Hi(e, this, {
|
|
11432
11429
|
mutableData: this.mutableData,
|
|
11433
11430
|
parentModel: !0,
|
|
11434
11431
|
instanceProps: i,
|
|
@@ -11452,7 +11449,7 @@ class ts extends uu {
|
|
|
11452
11449
|
if (fa(this.as, r)) {
|
|
11453
11450
|
let a = s[this.itemsIndexAs];
|
|
11454
11451
|
r == this.as && (this.items[a] = n);
|
|
11455
|
-
let l =
|
|
11452
|
+
let l = wt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
11456
11453
|
this.notifyPath(l, n);
|
|
11457
11454
|
}
|
|
11458
11455
|
}
|
|
@@ -11503,7 +11500,7 @@ class ts extends uu {
|
|
|
11503
11500
|
* @param {number=} delay Delay in ms to debounce by.
|
|
11504
11501
|
*/
|
|
11505
11502
|
__debounceRender(t, e = 0) {
|
|
11506
|
-
this.__renderDebouncer =
|
|
11503
|
+
this.__renderDebouncer = Ut.debounce(
|
|
11507
11504
|
this.__renderDebouncer,
|
|
11508
11505
|
e > 0 ? ya.after(e) : js,
|
|
11509
11506
|
t.bind(this)
|
|
@@ -11782,7 +11779,7 @@ const du = (o) => class extends so(o) {
|
|
|
11782
11779
|
const r = new Date(0, 0);
|
|
11783
11780
|
r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1);
|
|
11784
11781
|
const n = new Date(0, 0);
|
|
11785
|
-
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !
|
|
11782
|
+
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !ot(r, i, s) && !ot(n, i, s);
|
|
11786
11783
|
}
|
|
11787
11784
|
/** @protected */
|
|
11788
11785
|
_getTitle(e, i) {
|
|
@@ -11939,9 +11936,9 @@ const hu = P`
|
|
|
11939
11936
|
L("vaadin-month-calendar", hu, {
|
|
11940
11937
|
moduleId: "vaadin-month-calendar-styles"
|
|
11941
11938
|
});
|
|
11942
|
-
class pu extends du(
|
|
11939
|
+
class pu extends du(Ve(Fe)) {
|
|
11943
11940
|
static get template() {
|
|
11944
|
-
return
|
|
11941
|
+
return We`
|
|
11945
11942
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
11946
11943
|
<table
|
|
11947
11944
|
id="monthGrid"
|
|
@@ -12017,7 +12014,7 @@ class pu extends du(je(Fe)) {
|
|
|
12017
12014
|
/** @private */
|
|
12018
12015
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12019
12016
|
__getDatePart(t, e, i, s, r, n) {
|
|
12020
|
-
const a = ["date"], l = t >
|
|
12017
|
+
const a = ["date"], l = t > Li(/* @__PURE__ */ new Date()), c = t < Li(/* @__PURE__ */ new Date());
|
|
12021
12018
|
return this.__isDayDisabled(t, s, r, n) && a.push("disabled"), this.__isDayFocused(t, e) && a.push("focused"), this.__isDaySelected(t, i) && a.push("selected"), this._isToday(t) && a.push("today"), c && a.push("past"), l && a.push("future"), a.join(" ");
|
|
12022
12019
|
}
|
|
12023
12020
|
/** @private */
|
|
@@ -12035,7 +12032,7 @@ class pu extends du(je(Fe)) {
|
|
|
12035
12032
|
}
|
|
12036
12033
|
/** @private */
|
|
12037
12034
|
__isDayDisabled(t, e, i, s) {
|
|
12038
|
-
return !
|
|
12035
|
+
return !ot(t, e, i, s);
|
|
12039
12036
|
}
|
|
12040
12037
|
/** @private */
|
|
12041
12038
|
__getDayAriaDisabled(t, e, i, s) {
|
|
@@ -12404,7 +12401,7 @@ const fu = (o) => class extends o {
|
|
|
12404
12401
|
}
|
|
12405
12402
|
/** @private */
|
|
12406
12403
|
_doIgnoreTaps() {
|
|
12407
|
-
this._ignoreTaps = !0, this._debouncer =
|
|
12404
|
+
this._ignoreTaps = !0, this._debouncer = it.debounce(this._debouncer, jt.after(300), () => {
|
|
12408
12405
|
this._ignoreTaps = !1;
|
|
12409
12406
|
});
|
|
12410
12407
|
}
|
|
@@ -12627,13 +12624,13 @@ const fu = (o) => class extends o {
|
|
|
12627
12624
|
}
|
|
12628
12625
|
}
|
|
12629
12626
|
focusDate(e, i) {
|
|
12630
|
-
return
|
|
12627
|
+
return nt(this, null, function* () {
|
|
12631
12628
|
const s = e || this.selectedDate || this.initialPosition || /* @__PURE__ */ new Date();
|
|
12632
12629
|
this.focusedDate = s, i || (this._focusedMonthDate = s.getDate()), yield this.focusDateElement(!1);
|
|
12633
12630
|
});
|
|
12634
12631
|
}
|
|
12635
12632
|
focusDateElement(e = !0) {
|
|
12636
|
-
return
|
|
12633
|
+
return nt(this, null, function* () {
|
|
12637
12634
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12638
12635
|
nr(this, () => {
|
|
12639
12636
|
no(), i();
|
|
@@ -12671,7 +12668,7 @@ const fu = (o) => class extends o {
|
|
|
12671
12668
|
}
|
|
12672
12669
|
/** @private */
|
|
12673
12670
|
_dateAllowed(e, i = this.minDate, s = this.maxDate, r = this.isDateDisabled) {
|
|
12674
|
-
return
|
|
12671
|
+
return ot(e, i, s, r);
|
|
12675
12672
|
}
|
|
12676
12673
|
/** @private */
|
|
12677
12674
|
_isTodayAllowed(e, i, s) {
|
|
@@ -12764,10 +12761,10 @@ L("vaadin-date-picker-overlay-content", mu, {
|
|
|
12764
12761
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12765
12762
|
});
|
|
12766
12763
|
class _u extends fu(
|
|
12767
|
-
|
|
12764
|
+
rt(Ve(Kt(Fe)))
|
|
12768
12765
|
) {
|
|
12769
12766
|
static get template() {
|
|
12770
|
-
return
|
|
12767
|
+
return We`
|
|
12771
12768
|
<div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
|
|
12772
12769
|
<div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
|
|
12773
12770
|
<div part="clear-button" hidden$="[[!selectedDate]]"></div>
|
|
@@ -12960,9 +12957,9 @@ const Tr = V(
|
|
|
12960
12957
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12961
12958
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12962
12959
|
*/
|
|
12963
|
-
const
|
|
12960
|
+
const fi = /* @__PURE__ */ new WeakMap();
|
|
12964
12961
|
function gu(o) {
|
|
12965
|
-
return
|
|
12962
|
+
return fi.has(o) || fi.set(o, /* @__PURE__ */ new Set()), fi.get(o);
|
|
12966
12963
|
}
|
|
12967
12964
|
function bu(o, t) {
|
|
12968
12965
|
const e = document.createElement("style");
|
|
@@ -13199,7 +13196,7 @@ const Mr = V(
|
|
|
13199
13196
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13200
13197
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13201
13198
|
*/
|
|
13202
|
-
const yu = (o) => class extends Mr(
|
|
13199
|
+
const yu = (o) => class extends Mr(Xt(o)) {
|
|
13203
13200
|
static get properties() {
|
|
13204
13201
|
return {
|
|
13205
13202
|
/**
|
|
@@ -13274,9 +13271,9 @@ const yu = (o) => class extends Mr(Jt(o)) {
|
|
|
13274
13271
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
13275
13272
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13276
13273
|
*/
|
|
13277
|
-
const
|
|
13274
|
+
const mi = /* @__PURE__ */ new Map();
|
|
13278
13275
|
function co(o) {
|
|
13279
|
-
return
|
|
13276
|
+
return mi.has(o) || mi.set(o, /* @__PURE__ */ new WeakMap()), mi.get(o);
|
|
13280
13277
|
}
|
|
13281
13278
|
function Or(o, t) {
|
|
13282
13279
|
o && o.removeAttribute(t);
|
|
@@ -13287,16 +13284,16 @@ function Ir(o, t) {
|
|
|
13287
13284
|
const e = co(t);
|
|
13288
13285
|
if (e.has(o))
|
|
13289
13286
|
return;
|
|
13290
|
-
const i =
|
|
13287
|
+
const i = Qi(o.getAttribute(t));
|
|
13291
13288
|
e.set(o, new Set(i));
|
|
13292
13289
|
}
|
|
13293
13290
|
function xu(o, t) {
|
|
13294
13291
|
if (!o || !t)
|
|
13295
13292
|
return;
|
|
13296
13293
|
const e = co(t), i = e.get(o);
|
|
13297
|
-
!i || i.size === 0 ? o.removeAttribute(t) : ur(o, t,
|
|
13294
|
+
!i || i.size === 0 ? o.removeAttribute(t) : ur(o, t, Jt(i)), e.delete(o);
|
|
13298
13295
|
}
|
|
13299
|
-
function
|
|
13296
|
+
function _i(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13300
13297
|
if (!o || !t)
|
|
13301
13298
|
return;
|
|
13302
13299
|
const { newId: i, oldId: s, fromUser: r } = e, n = co(t), a = n.get(o);
|
|
@@ -13305,7 +13302,7 @@ function mi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13305
13302
|
return;
|
|
13306
13303
|
}
|
|
13307
13304
|
r && (a ? i || n.delete(o) : Ir(o, t), Or(o, t)), Jl(o, t, s);
|
|
13308
|
-
const l = i ||
|
|
13305
|
+
const l = i || Jt(a);
|
|
13309
13306
|
l && ur(o, t, l);
|
|
13310
13307
|
}
|
|
13311
13308
|
function wu(o, t) {
|
|
@@ -13398,7 +13395,7 @@ class Eu {
|
|
|
13398
13395
|
* @private
|
|
13399
13396
|
*/
|
|
13400
13397
|
__setLabelIdToAriaAttribute(t, e, i) {
|
|
13401
|
-
|
|
13398
|
+
_i(this.__target, "aria-labelledby", { newId: t, oldId: e, fromUser: i });
|
|
13402
13399
|
}
|
|
13403
13400
|
/**
|
|
13404
13401
|
* @param {string | null | undefined} errorId
|
|
@@ -13406,7 +13403,7 @@ class Eu {
|
|
|
13406
13403
|
* @private
|
|
13407
13404
|
*/
|
|
13408
13405
|
__setErrorIdToAriaAttribute(t, e) {
|
|
13409
|
-
|
|
13406
|
+
_i(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13410
13407
|
}
|
|
13411
13408
|
/**
|
|
13412
13409
|
* @param {string | null | undefined} helperId
|
|
@@ -13414,7 +13411,7 @@ class Eu {
|
|
|
13414
13411
|
* @private
|
|
13415
13412
|
*/
|
|
13416
13413
|
__setHelperIdToAriaAttribute(t, e) {
|
|
13417
|
-
|
|
13414
|
+
_i(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13418
13415
|
}
|
|
13419
13416
|
/**
|
|
13420
13417
|
* @param {boolean} required
|
|
@@ -13434,12 +13431,12 @@ pe.style.position = "fixed";
|
|
|
13434
13431
|
pe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
13435
13432
|
pe.setAttribute("aria-live", "polite");
|
|
13436
13433
|
document.body.appendChild(pe);
|
|
13437
|
-
let
|
|
13434
|
+
let Ft;
|
|
13438
13435
|
function Su(o, t = {}) {
|
|
13439
13436
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13440
|
-
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"),
|
|
13437
|
+
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), Ft = it.debounce(Ft, hc, () => {
|
|
13441
13438
|
pe.setAttribute("role", "alert");
|
|
13442
|
-
})) : (
|
|
13439
|
+
})) : (Ft && Ft.cancel(), pe.removeAttribute("role"), pe.setAttribute("aria-live", e)), pe.textContent = "", setTimeout(() => {
|
|
13443
13440
|
pe.textContent = o;
|
|
13444
13441
|
}, i);
|
|
13445
13442
|
}
|
|
@@ -13450,7 +13447,7 @@ function Su(o, t = {}) {
|
|
|
13450
13447
|
*/
|
|
13451
13448
|
class uo extends Be {
|
|
13452
13449
|
constructor(t, e, i, s = {}) {
|
|
13453
|
-
super(t, e, i, kt(
|
|
13450
|
+
super(t, e, i, Dt(kt({}, s), { useUniqueId: !0 }));
|
|
13454
13451
|
}
|
|
13455
13452
|
/**
|
|
13456
13453
|
* Override to initialize the newly added custom node.
|
|
@@ -13754,7 +13751,7 @@ class Pu extends uo {
|
|
|
13754
13751
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13755
13752
|
*/
|
|
13756
13753
|
const ku = V(
|
|
13757
|
-
(o) => class extends
|
|
13754
|
+
(o) => class extends rt(o) {
|
|
13758
13755
|
static get properties() {
|
|
13759
13756
|
return {
|
|
13760
13757
|
/**
|
|
@@ -13868,7 +13865,7 @@ const Fr = V(
|
|
|
13868
13865
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13869
13866
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13870
13867
|
*/
|
|
13871
|
-
const Du = (o) => class extends Fr(ku(
|
|
13868
|
+
const Du = (o) => class extends Fr(ku(rt(o))) {
|
|
13872
13869
|
static get properties() {
|
|
13873
13870
|
return {
|
|
13874
13871
|
/**
|
|
@@ -14176,7 +14173,7 @@ const Nr = V(
|
|
|
14176
14173
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14177
14174
|
*/
|
|
14178
14175
|
const Mu = (o) => class extends vu(
|
|
14179
|
-
Tr(Nr(Du(yu(
|
|
14176
|
+
Tr(Nr(Du(yu(Xt(o)))))
|
|
14180
14177
|
) {
|
|
14181
14178
|
static get properties() {
|
|
14182
14179
|
return {
|
|
@@ -14308,7 +14305,7 @@ const Mu = (o) => class extends vu(
|
|
|
14308
14305
|
}
|
|
14309
14306
|
/** @protected */
|
|
14310
14307
|
_markInputPrevented() {
|
|
14311
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer =
|
|
14308
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = it.debounce(this._preventInputDebouncer, jt.after(200), () => {
|
|
14312
14309
|
this.removeAttribute("input-prevented");
|
|
14313
14310
|
});
|
|
14314
14311
|
}
|
|
@@ -14558,7 +14555,7 @@ class Bu {
|
|
|
14558
14555
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14559
14556
|
*/
|
|
14560
14557
|
const Hu = (o) => class extends Ru(
|
|
14561
|
-
|
|
14558
|
+
rt(Tr(Nr(Xt(o))))
|
|
14562
14559
|
) {
|
|
14563
14560
|
static get properties() {
|
|
14564
14561
|
return {
|
|
@@ -14762,7 +14759,7 @@ const Hu = (o) => class extends Ru(
|
|
|
14762
14759
|
let r, n = s.getMonth(), a = s.getFullYear();
|
|
14763
14760
|
if (i.length === 3) {
|
|
14764
14761
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14765
|
-
const l = this.referenceDate ?
|
|
14762
|
+
const l = this.referenceDate ? dt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14766
14763
|
a = Hc(l, a, n, r);
|
|
14767
14764
|
}
|
|
14768
14765
|
} else
|
|
@@ -14925,7 +14922,7 @@ const Hu = (o) => class extends Ru(
|
|
|
14925
14922
|
* @protected
|
|
14926
14923
|
*/
|
|
14927
14924
|
_onFocus(e) {
|
|
14928
|
-
super._onFocus(e), this._noInput && !
|
|
14925
|
+
super._onFocus(e), this._noInput && !Zi() && e.target.blur();
|
|
14929
14926
|
}
|
|
14930
14927
|
/**
|
|
14931
14928
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14987,7 +14984,7 @@ const Hu = (o) => class extends Ru(
|
|
|
14987
14984
|
if (!this.i18n.parseDate)
|
|
14988
14985
|
return;
|
|
14989
14986
|
let i = this.i18n.parseDate(e);
|
|
14990
|
-
if (i && (i =
|
|
14987
|
+
if (i && (i = dt(`${i.year}-${i.month + 1}-${i.day}`)), i && !isNaN(i.getTime()))
|
|
14991
14988
|
return i;
|
|
14992
14989
|
}
|
|
14993
14990
|
/**
|
|
@@ -15006,7 +15003,7 @@ const Hu = (o) => class extends Ru(
|
|
|
15006
15003
|
* @return {boolean} True if the value is valid
|
|
15007
15004
|
*/
|
|
15008
15005
|
checkValidity() {
|
|
15009
|
-
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate ||
|
|
15006
|
+
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate || ot(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
15010
15007
|
let r = !0;
|
|
15011
15008
|
return this.inputElement && (this.inputElement.checkValidity ? r = this.inputElement.checkValidity() : this.inputElement.validate && (r = this.inputElement.validate())), i && s && r;
|
|
15012
15009
|
}
|
|
@@ -15098,7 +15095,7 @@ const Hu = (o) => class extends Ru(
|
|
|
15098
15095
|
}
|
|
15099
15096
|
/** @private */
|
|
15100
15097
|
_formatISO(e) {
|
|
15101
|
-
return
|
|
15098
|
+
return Yc(e);
|
|
15102
15099
|
}
|
|
15103
15100
|
/** @protected */
|
|
15104
15101
|
_inputElementChanged(e) {
|
|
@@ -15129,7 +15126,7 @@ const Hu = (o) => class extends Ru(
|
|
|
15129
15126
|
* @override
|
|
15130
15127
|
*/
|
|
15131
15128
|
_valueChanged(e, i) {
|
|
15132
|
-
const s =
|
|
15129
|
+
const s = dt(e);
|
|
15133
15130
|
if (e && !s) {
|
|
15134
15131
|
this.value = i;
|
|
15135
15132
|
return;
|
|
@@ -15168,8 +15165,8 @@ const Hu = (o) => class extends Ru(
|
|
|
15168
15165
|
}
|
|
15169
15166
|
/** @private */
|
|
15170
15167
|
_getInitialPosition() {
|
|
15171
|
-
const e =
|
|
15172
|
-
return e ||
|
|
15168
|
+
const e = dt(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15169
|
+
return e || ot(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? wr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15173
15170
|
}
|
|
15174
15171
|
/**
|
|
15175
15172
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15307,7 +15304,7 @@ const Hu = (o) => class extends Ru(
|
|
|
15307
15304
|
}
|
|
15308
15305
|
/** @private */
|
|
15309
15306
|
__computeMinOrMaxDate(e) {
|
|
15310
|
-
return
|
|
15307
|
+
return dt(e);
|
|
15311
15308
|
}
|
|
15312
15309
|
/**
|
|
15313
15310
|
* Fired when the user commits a value change.
|
|
@@ -15330,7 +15327,7 @@ const Hu = (o) => class extends Ru(
|
|
|
15330
15327
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15331
15328
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15332
15329
|
*/
|
|
15333
|
-
const
|
|
15330
|
+
const $u = P`
|
|
15334
15331
|
:host([opened]) {
|
|
15335
15332
|
pointer-events: auto;
|
|
15336
15333
|
}
|
|
@@ -15349,13 +15346,13 @@ const Yu = P`
|
|
|
15349
15346
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15350
15347
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15351
15348
|
*/
|
|
15352
|
-
L("vaadin-date-picker", [Lu,
|
|
15353
|
-
class
|
|
15349
|
+
L("vaadin-date-picker", [Lu, $u], { moduleId: "vaadin-date-picker-styles" });
|
|
15350
|
+
class Yu extends Hu(Mu(Ve(pr(Fe)))) {
|
|
15354
15351
|
static get is() {
|
|
15355
15352
|
return "vaadin-date-picker";
|
|
15356
15353
|
}
|
|
15357
15354
|
static get template() {
|
|
15358
|
-
return
|
|
15355
|
+
return We`
|
|
15359
15356
|
<div class="vaadin-date-picker-container">
|
|
15360
15357
|
<div part="label">
|
|
15361
15358
|
<slot name="label"></slot>
|
|
@@ -15438,12 +15435,12 @@ class $u extends Hu(Mu(je(pr(Fe)))) {
|
|
|
15438
15435
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15439
15436
|
}
|
|
15440
15437
|
}
|
|
15441
|
-
be(
|
|
15438
|
+
be(Yu);
|
|
15442
15439
|
var zr = { exports: {} };
|
|
15443
15440
|
(function(o, t) {
|
|
15444
15441
|
(function(e, i) {
|
|
15445
15442
|
o.exports = i();
|
|
15446
|
-
})(
|
|
15443
|
+
})(Ur, function() {
|
|
15447
15444
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d\d/, r = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(p) {
|
|
15448
15445
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15449
15446
|
}, c = function(p) {
|
|
@@ -15510,8 +15507,8 @@ var zr = { exports: {} };
|
|
|
15510
15507
|
return B || le.slice(1);
|
|
15511
15508
|
});
|
|
15512
15509
|
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15513
|
-
var k = v[A], X = m[k], U = X && X[0],
|
|
15514
|
-
v[A] =
|
|
15510
|
+
var k = v[A], X = m[k], U = X && X[0], $ = X && X[1];
|
|
15511
|
+
v[A] = $ ? { regex: U, parser: $ } : k.replace(/^\[|\]$/g, "");
|
|
15515
15512
|
}
|
|
15516
15513
|
return function(R) {
|
|
15517
15514
|
for (var T = {}, F = 0, N = 0; F < C; F += 1) {
|
|
@@ -15524,10 +15521,10 @@ var zr = { exports: {} };
|
|
|
15524
15521
|
}
|
|
15525
15522
|
}
|
|
15526
15523
|
return function(ee) {
|
|
15527
|
-
var
|
|
15528
|
-
if (
|
|
15524
|
+
var Y = ee.afternoon;
|
|
15525
|
+
if (Y !== void 0) {
|
|
15529
15526
|
var H = ee.hours;
|
|
15530
|
-
|
|
15527
|
+
Y ? H < 12 && (ee.hours += 12) : H === 12 && (ee.hours = 0), delete ee.afternoon;
|
|
15531
15528
|
}
|
|
15532
15529
|
}(T), T;
|
|
15533
15530
|
};
|
|
@@ -15538,24 +15535,24 @@ var zr = { exports: {} };
|
|
|
15538
15535
|
v.parse = function(A) {
|
|
15539
15536
|
var k = A.date, X = A.utc, U = A.args;
|
|
15540
15537
|
this.$u = X;
|
|
15541
|
-
var
|
|
15542
|
-
if (typeof
|
|
15538
|
+
var $ = U[1];
|
|
15539
|
+
if (typeof $ == "string") {
|
|
15543
15540
|
var R = U[2] === !0, T = U[3] === !0, F = R || T, N = U[2];
|
|
15544
15541
|
T && (N = U[2]), a = this.$locale(), !R && N && (a = y.Ls[N]), this.$d = function(he, q, ee) {
|
|
15545
15542
|
try {
|
|
15546
15543
|
if (["x", "X"].indexOf(q) > -1)
|
|
15547
15544
|
return new Date((q === "X" ? 1e3 : 1) * he);
|
|
15548
|
-
var
|
|
15545
|
+
var Y = b(q)(he), H = Y.year, te = Y.month, fe = Y.day, Pe = Y.hours, ke = Y.minutes, De = Y.seconds, Te = Y.milliseconds, ve = Y.zone, ye = /* @__PURE__ */ new Date(), ie = fe || (H || te ? 1 : ye.getDate()), ce = H || ye.getFullYear(), O = 0;
|
|
15549
15546
|
H && !te || (O = te > 0 ? te - 1 : ye.getMonth());
|
|
15550
15547
|
var z = Pe || 0, xe = ke || 0, me = De || 0, Q = Te || 0;
|
|
15551
15548
|
return ve ? new Date(Date.UTC(ce, O, ie, z, xe, me, Q + 60 * ve.offset * 1e3)) : ee ? new Date(Date.UTC(ce, O, ie, z, xe, me, Q)) : new Date(ce, O, ie, z, xe, me, Q);
|
|
15552
15549
|
} catch (_e) {
|
|
15553
15550
|
return /* @__PURE__ */ new Date("");
|
|
15554
15551
|
}
|
|
15555
|
-
}(k,
|
|
15556
|
-
} else if (
|
|
15557
|
-
for (var Z =
|
|
15558
|
-
U[1] =
|
|
15552
|
+
}(k, $, X), this.init(), N && N !== !0 && (this.$L = this.locale(N).$L), F && k != this.format($) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15553
|
+
} else if ($ instanceof Array)
|
|
15554
|
+
for (var Z = $.length, B = 1; B <= Z; B += 1) {
|
|
15555
|
+
U[1] = $[B - 1];
|
|
15559
15556
|
var le = y.apply(this, U);
|
|
15560
15557
|
if (le.isValid()) {
|
|
15561
15558
|
this.$d = le.$d, this.$L = le.$L, this.init();
|
|
@@ -15570,7 +15567,7 @@ var zr = { exports: {} };
|
|
|
15570
15567
|
});
|
|
15571
15568
|
})(zr);
|
|
15572
15569
|
var ju = zr.exports;
|
|
15573
|
-
const Vu = /* @__PURE__ */
|
|
15570
|
+
const Vu = /* @__PURE__ */ Vr(ju);
|
|
15574
15571
|
function is(o, t) {
|
|
15575
15572
|
Wr(o, t);
|
|
15576
15573
|
}
|
|
@@ -15954,7 +15951,7 @@ const os = {
|
|
|
15954
15951
|
}
|
|
15955
15952
|
};
|
|
15956
15953
|
function Wu(o) {
|
|
15957
|
-
|
|
15954
|
+
Xr(o, "svelte-gvegix", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
15958
15955
|
}
|
|
15959
15956
|
function ss(o, t, e) {
|
|
15960
15957
|
const i = o.slice();
|
|
@@ -15989,7 +15986,7 @@ function qu(o) {
|
|
|
15989
15986
|
/*$_*/
|
|
15990
15987
|
o[21](`${/*selectedPeriodKey*/
|
|
15991
15988
|
o[14]}`) + ""
|
|
15992
|
-
),
|
|
15989
|
+
), $, R, T, F, N, Z, B, le, he, q, ee, Y, H, te = (
|
|
15993
15990
|
/*$_*/
|
|
15994
15991
|
o[21]("save") + ""
|
|
15995
15992
|
), fe, Pe, ke, De, Te, ve, ye, ie = (
|
|
@@ -16023,24 +16020,24 @@ function qu(o) {
|
|
|
16023
16020
|
t = w("div"), e = w("form"), ie && ie.c(), i = I(), s = w("h2"), n = re(r), a = I(), l = w("div"), c = w("p"), d = I(), h = w("p"), b = re(m), p = I(), g = w("a"), y = re(
|
|
16024
16021
|
/*supportemail*/
|
|
16025
16022
|
o[3]
|
|
16026
|
-
), C = I(), A = w("div"), k = w("div"), X = w("p"),
|
|
16023
|
+
), C = I(), A = w("div"), k = w("div"), X = w("p"), $ = re(U), R = I(), T = Ae("svg"), F = Ae("g"), N = Ae("path"), Z = I(), B = w("div");
|
|
16027
16024
|
for (let x = 0; x < O.length; x += 1)
|
|
16028
16025
|
O[x].c();
|
|
16029
|
-
le = I(), z && z.c(), he = I(), q = w("div"), Q.c(), ee = I(),
|
|
16026
|
+
le = I(), z && z.c(), he = I(), q = w("div"), Q.c(), ee = I(), Y = w("div"), H = w("button"), fe = re(te), De = I(), _e && _e.c(), Te = sn(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16030
16027
|
(o[23] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href", v = "mailto:" + /*supportemail*/
|
|
16031
16028
|
o[3]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16032
|
-
(o[23] ? "SelfExclusionDescriptionMobile" : "")), E(N, "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(N, "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"),
|
|
16029
|
+
(o[23] ? "SelfExclusionDescriptionMobile" : "")), E(N, "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(N, "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"), qe(
|
|
16033
16030
|
T,
|
|
16034
16031
|
"active",
|
|
16035
16032
|
/*isPeriodDropDownToggled*/
|
|
16036
16033
|
o[19]
|
|
16037
|
-
), E(k, "class", "SelfExclusionConfigLabel"), E(B, "class", "SelfExclusionDropDown"),
|
|
16034
|
+
), E(k, "class", "SelfExclusionConfigLabel"), E(B, "class", "SelfExclusionDropDown"), qe(
|
|
16038
16035
|
B,
|
|
16039
16036
|
"active",
|
|
16040
16037
|
/*isPeriodDropDownToggled*/
|
|
16041
16038
|
o[19]
|
|
16042
16039
|
), E(A, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16043
|
-
(o[23] ? "SelfExclusionConfigWrapperMobile" : "")),
|
|
16040
|
+
(o[23] ? "SelfExclusionConfigWrapperMobile" : "")), qe(
|
|
16044
16041
|
A,
|
|
16045
16042
|
"active",
|
|
16046
16043
|
/*isPeriodDropDownToggled*/
|
|
@@ -16048,22 +16045,22 @@ function qu(o) {
|
|
|
16048
16045
|
), E(q, "class", "SelfExclusionNotification " + /*isMobile*/
|
|
16049
16046
|
(o[23] ? "SelfExclusionDescriptionMobile" : "")), E(H, "class", Pe = "SelfExclusionSave " + /*isDateSelected*/
|
|
16050
16047
|
(o[18] ? "active" : "")), H.disabled = ke = !/*isDateSelected*/
|
|
16051
|
-
o[18], E(
|
|
16048
|
+
o[18], E(Y, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16052
16049
|
(o[23] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16053
16050
|
(o[23] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16054
16051
|
},
|
|
16055
16052
|
m(x, M) {
|
|
16056
|
-
|
|
16053
|
+
ae(x, t, M), f(t, e), ie && ie.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, b), f(h, p), f(h, g), f(g, y), f(e, C), f(e, A), f(A, k), f(k, X), f(X, $), f(k, R), f(k, T), f(T, F), f(F, N), f(A, Z), f(A, B);
|
|
16057
16054
|
for (let j = 0; j < O.length; j += 1)
|
|
16058
16055
|
O[j] && O[j].m(B, null);
|
|
16059
|
-
f(e, le), z && z.m(e, null), f(e, he), f(e, q), Q.m(q, null), f(e, ee), f(e,
|
|
16060
|
-
|
|
16056
|
+
f(e, le), z && z.m(e, null), f(e, he), f(e, q), Q.m(q, null), f(e, ee), f(e, Y), f(Y, H), f(H, fe), ae(x, De, M), _e && _e.m(x, M), ae(x, Te, M), ve || (ye = [
|
|
16057
|
+
Lt(
|
|
16061
16058
|
k,
|
|
16062
16059
|
"click",
|
|
16063
16060
|
/*click_handler_1*/
|
|
16064
16061
|
o[37]
|
|
16065
16062
|
),
|
|
16066
|
-
|
|
16063
|
+
Lt(
|
|
16067
16064
|
H,
|
|
16068
16065
|
"click",
|
|
16069
16066
|
/*click_handler_3*/
|
|
@@ -16105,8 +16102,8 @@ function qu(o) {
|
|
|
16105
16102
|
x[3]) && E(g, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
16106
16103
|
2113536 && U !== (U = /*$_*/
|
|
16107
16104
|
x[21](`${/*selectedPeriodKey*/
|
|
16108
|
-
x[14]}`) + "") && de(
|
|
16109
|
-
524288 &&
|
|
16105
|
+
x[14]}`) + "") && de($, U), M[0] & /*isPeriodDropDownToggled*/
|
|
16106
|
+
524288 && qe(
|
|
16110
16107
|
T,
|
|
16111
16108
|
"active",
|
|
16112
16109
|
/*isPeriodDropDownToggled*/
|
|
@@ -16120,21 +16117,21 @@ function qu(o) {
|
|
|
16120
16117
|
);
|
|
16121
16118
|
let j;
|
|
16122
16119
|
for (j = 0; j < ce.length; j += 1) {
|
|
16123
|
-
const
|
|
16124
|
-
O[j] ? O[j].p(
|
|
16120
|
+
const Pt = ss(x, ce, j);
|
|
16121
|
+
O[j] ? O[j].p(Pt, M) : (O[j] = rs(Pt), O[j].c(), O[j].m(B, null));
|
|
16125
16122
|
}
|
|
16126
16123
|
for (; j < O.length; j += 1)
|
|
16127
16124
|
O[j].d(1);
|
|
16128
16125
|
O.length = ce.length;
|
|
16129
16126
|
}
|
|
16130
16127
|
M[0] & /*isPeriodDropDownToggled*/
|
|
16131
|
-
524288 &&
|
|
16128
|
+
524288 && qe(
|
|
16132
16129
|
B,
|
|
16133
16130
|
"active",
|
|
16134
16131
|
/*isPeriodDropDownToggled*/
|
|
16135
16132
|
x[19]
|
|
16136
16133
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
16137
|
-
524288 &&
|
|
16134
|
+
524288 && qe(
|
|
16138
16135
|
A,
|
|
16139
16136
|
"active",
|
|
16140
16137
|
/*isPeriodDropDownToggled*/
|
|
@@ -16150,7 +16147,7 @@ function qu(o) {
|
|
|
16150
16147
|
x[24] && _e.p(x, M);
|
|
16151
16148
|
},
|
|
16152
16149
|
d(x) {
|
|
16153
|
-
x && (
|
|
16150
|
+
x && (ne(t), ne(De), ne(Te)), ie && ie.d(), tn(O, x), z && z.d(), Q.d(), _e && _e.d(x), ve = !1, on(ye);
|
|
16154
16151
|
}
|
|
16155
16152
|
};
|
|
16156
16153
|
}
|
|
@@ -16162,10 +16159,10 @@ function Ku(o) {
|
|
|
16162
16159
|
R[23] ? td : ed
|
|
16163
16160
|
);
|
|
16164
16161
|
}
|
|
16165
|
-
let
|
|
16162
|
+
let $ = X(o)(o);
|
|
16166
16163
|
return {
|
|
16167
16164
|
c() {
|
|
16168
|
-
t = w("div"), e = w("div"),
|
|
16165
|
+
t = w("div"), e = w("div"), $.c(), i = I(), s = w("div"), r = w("ui-skeleton"), n = I(), a = w("div"), l = I(), c = w("ui-skeleton"), u = I(), d = w("div"), h = I(), m = w("div"), b = w("ui-skeleton"), p = I(), g = w("div"), y = I(), v = w("ui-skeleton"), C = I(), A = w("div"), k = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16169
16166
|
r,
|
|
16170
16167
|
"height",
|
|
16171
16168
|
/*isMobile*/
|
|
@@ -16180,7 +16177,7 @@ function Ku(o) {
|
|
|
16180
16177
|
"width",
|
|
16181
16178
|
/*isMobile*/
|
|
16182
16179
|
o[23] ? "100%" : "60%"
|
|
16183
|
-
),
|
|
16180
|
+
), Zt(
|
|
16184
16181
|
a,
|
|
16185
16182
|
"height",
|
|
16186
16183
|
/*isMobile*/
|
|
@@ -16190,7 +16187,7 @@ function Ku(o) {
|
|
|
16190
16187
|
"height",
|
|
16191
16188
|
/*isMobile*/
|
|
16192
16189
|
o[23] ? "15px" : "20px"
|
|
16193
|
-
), S(c, "width", "30%"),
|
|
16190
|
+
), S(c, "width", "30%"), Zt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(b, "structure", "rectangle"), S(
|
|
16194
16191
|
b,
|
|
16195
16192
|
"width",
|
|
16196
16193
|
/*isMobile*/
|
|
@@ -16200,7 +16197,7 @@ function Ku(o) {
|
|
|
16200
16197
|
"height",
|
|
16201
16198
|
/*isMobile*/
|
|
16202
16199
|
o[23] ? "30px" : "44px"
|
|
16203
|
-
),
|
|
16200
|
+
), Zt(
|
|
16204
16201
|
g,
|
|
16205
16202
|
"height",
|
|
16206
16203
|
/*isMobile*/
|
|
@@ -16220,11 +16217,11 @@ function Ku(o) {
|
|
|
16220
16217
|
(o[23] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16221
16218
|
},
|
|
16222
16219
|
m(R, T) {
|
|
16223
|
-
|
|
16220
|
+
ae(R, t, T), f(t, e), $.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, b), f(m, p), f(m, g), f(m, y), f(m, v), f(e, C), f(e, A), f(A, k);
|
|
16224
16221
|
},
|
|
16225
|
-
p:
|
|
16222
|
+
p: gi,
|
|
16226
16223
|
d(R) {
|
|
16227
|
-
R &&
|
|
16224
|
+
R && ne(t), $.d();
|
|
16228
16225
|
}
|
|
16229
16226
|
};
|
|
16230
16227
|
}
|
|
@@ -16238,7 +16235,7 @@ function Gu(o) {
|
|
|
16238
16235
|
t = w("div"), e = Ae("svg"), i = Ae("defs"), s = Ae("style"), r = re(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ae("g"), a = Ae("g"), l = Ae("path"), c = I(), u = w("h2"), h = re(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");
|
|
16239
16236
|
},
|
|
16240
16237
|
m(p, g) {
|
|
16241
|
-
|
|
16238
|
+
ae(p, t, g), 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 || (b = Lt(
|
|
16242
16239
|
t,
|
|
16243
16240
|
"click",
|
|
16244
16241
|
/*click_handler*/
|
|
@@ -16251,7 +16248,7 @@ function Gu(o) {
|
|
|
16251
16248
|
p[21]("titleSelfExclusion") + "") && de(h, d);
|
|
16252
16249
|
},
|
|
16253
16250
|
d(p) {
|
|
16254
|
-
p &&
|
|
16251
|
+
p && ne(t), m = !1, b();
|
|
16255
16252
|
}
|
|
16256
16253
|
};
|
|
16257
16254
|
}
|
|
@@ -16275,7 +16272,7 @@ function rs(o) {
|
|
|
16275
16272
|
t = w("div"), i = re(e);
|
|
16276
16273
|
},
|
|
16277
16274
|
m(a, l) {
|
|
16278
|
-
|
|
16275
|
+
ae(a, t, l), f(t, i), s || (r = Lt(t, "click", n), s = !0);
|
|
16279
16276
|
},
|
|
16280
16277
|
p(a, l) {
|
|
16281
16278
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
@@ -16284,7 +16281,7 @@ function rs(o) {
|
|
|
16284
16281
|
o[56].key}`) + "") && de(i, e);
|
|
16285
16282
|
},
|
|
16286
16283
|
d(a) {
|
|
16287
|
-
a &&
|
|
16284
|
+
a && ne(t), s = !1, r();
|
|
16288
16285
|
}
|
|
16289
16286
|
};
|
|
16290
16287
|
}
|
|
@@ -16320,7 +16317,7 @@ function ns(o) {
|
|
|
16320
16317
|
(o[23] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16321
16318
|
},
|
|
16322
16319
|
m(p, g) {
|
|
16323
|
-
|
|
16320
|
+
ae(p, t, g), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n, u), f(u, d), f(u, h), f(t, m), f(t, b), o[39](b);
|
|
16324
16321
|
},
|
|
16325
16322
|
p(p, g) {
|
|
16326
16323
|
g[0] & /*$_*/
|
|
@@ -16348,7 +16345,7 @@ function ns(o) {
|
|
|
16348
16345
|
);
|
|
16349
16346
|
},
|
|
16350
16347
|
d(p) {
|
|
16351
|
-
p &&
|
|
16348
|
+
p && ne(t), o[39](null);
|
|
16352
16349
|
}
|
|
16353
16350
|
};
|
|
16354
16351
|
}
|
|
@@ -16372,7 +16369,7 @@ function Ju(o) {
|
|
|
16372
16369
|
t = w("p"), e = w("strong"), s = re(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16373
16370
|
},
|
|
16374
16371
|
m(r, n) {
|
|
16375
|
-
|
|
16372
|
+
ae(r, t, n), f(t, e), f(e, s);
|
|
16376
16373
|
},
|
|
16377
16374
|
p(r, n) {
|
|
16378
16375
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16390,7 +16387,7 @@ function Ju(o) {
|
|
|
16390
16387
|
}) + "") && de(s, i);
|
|
16391
16388
|
},
|
|
16392
16389
|
d(r) {
|
|
16393
|
-
r &&
|
|
16390
|
+
r && ne(t);
|
|
16394
16391
|
}
|
|
16395
16392
|
};
|
|
16396
16393
|
}
|
|
@@ -16404,7 +16401,7 @@ function Xu(o) {
|
|
|
16404
16401
|
t = w("p"), e = w("strong"), s = re(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16405
16402
|
},
|
|
16406
16403
|
m(r, n) {
|
|
16407
|
-
|
|
16404
|
+
ae(r, t, n), f(t, e), f(e, s);
|
|
16408
16405
|
},
|
|
16409
16406
|
p(r, n) {
|
|
16410
16407
|
n[0] & /*$_*/
|
|
@@ -16412,7 +16409,7 @@ function Xu(o) {
|
|
|
16412
16409
|
r[21]("noPeriodSelected") + "") && de(s, i);
|
|
16413
16410
|
},
|
|
16414
16411
|
d(r) {
|
|
16415
|
-
r &&
|
|
16412
|
+
r && ne(t);
|
|
16416
16413
|
}
|
|
16417
16414
|
};
|
|
16418
16415
|
}
|
|
@@ -16426,7 +16423,7 @@ function Zu(o) {
|
|
|
16426
16423
|
t = w("p"), e = w("strong"), s = re(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16427
16424
|
},
|
|
16428
16425
|
m(r, n) {
|
|
16429
|
-
|
|
16426
|
+
ae(r, t, n), f(t, e), f(e, s);
|
|
16430
16427
|
},
|
|
16431
16428
|
p(r, n) {
|
|
16432
16429
|
n[0] & /*$_*/
|
|
@@ -16434,7 +16431,7 @@ function Zu(o) {
|
|
|
16434
16431
|
r[21]("permanentSelfExclusion") + "") && de(s, i);
|
|
16435
16432
|
},
|
|
16436
16433
|
d(r) {
|
|
16437
|
-
r &&
|
|
16434
|
+
r && ne(t);
|
|
16438
16435
|
}
|
|
16439
16436
|
};
|
|
16440
16437
|
}
|
|
@@ -16486,7 +16483,7 @@ function Qu(o) {
|
|
|
16486
16483
|
), S(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16487
16484
|
},
|
|
16488
16485
|
m(r, n) {
|
|
16489
|
-
|
|
16486
|
+
ae(r, t, n), f(t, e);
|
|
16490
16487
|
},
|
|
16491
16488
|
p(r, n) {
|
|
16492
16489
|
n[0] & /*$_*/
|
|
@@ -16541,7 +16538,7 @@ function Qu(o) {
|
|
|
16541
16538
|
);
|
|
16542
16539
|
},
|
|
16543
16540
|
d(r) {
|
|
16544
|
-
r &&
|
|
16541
|
+
r && ne(t);
|
|
16545
16542
|
}
|
|
16546
16543
|
};
|
|
16547
16544
|
}
|
|
@@ -16552,10 +16549,10 @@ function ed(o) {
|
|
|
16552
16549
|
t = w("ui-skeleton"), S(t, "structure", "title"), S(t, "width", "100px"), S(t, "margin-top", "20px"), S(t, "margin-bottom", "20px");
|
|
16553
16550
|
},
|
|
16554
16551
|
m(e, i) {
|
|
16555
|
-
|
|
16552
|
+
ae(e, t, i);
|
|
16556
16553
|
},
|
|
16557
16554
|
d(e) {
|
|
16558
|
-
e &&
|
|
16555
|
+
e && ne(t);
|
|
16559
16556
|
}
|
|
16560
16557
|
};
|
|
16561
16558
|
}
|
|
@@ -16566,10 +16563,10 @@ function td(o) {
|
|
|
16566
16563
|
t = w("div"), t.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>', E(t, "class", "MenuReturnButton");
|
|
16567
16564
|
},
|
|
16568
16565
|
m(e, i) {
|
|
16569
|
-
|
|
16566
|
+
ae(e, t, i);
|
|
16570
16567
|
},
|
|
16571
16568
|
d(e) {
|
|
16572
|
-
e &&
|
|
16569
|
+
e && ne(t);
|
|
16573
16570
|
}
|
|
16574
16571
|
};
|
|
16575
16572
|
}
|
|
@@ -16587,22 +16584,22 @@ function id(o) {
|
|
|
16587
16584
|
t = w("div"), s.c();
|
|
16588
16585
|
},
|
|
16589
16586
|
m(r, n) {
|
|
16590
|
-
|
|
16587
|
+
ae(r, t, n), s.m(t, null), o[41](t);
|
|
16591
16588
|
},
|
|
16592
16589
|
p(r, n) {
|
|
16593
16590
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
16594
16591
|
},
|
|
16595
|
-
i:
|
|
16596
|
-
o:
|
|
16592
|
+
i: gi,
|
|
16593
|
+
o: gi,
|
|
16597
16594
|
d(r) {
|
|
16598
|
-
r &&
|
|
16595
|
+
r && ne(t), s.d(), o[41](null);
|
|
16599
16596
|
}
|
|
16600
16597
|
};
|
|
16601
16598
|
}
|
|
16602
16599
|
function od(o, t, e) {
|
|
16603
16600
|
let i;
|
|
16604
|
-
|
|
16605
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, k = y.toUpperCase(), X = [], U = {},
|
|
16601
|
+
Zr(o, cn, (_) => e(21, i = _)), Ee.extend(Vu);
|
|
16602
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, k = y.toUpperCase(), X = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", Z = "selectAPeriod", B = "", le = "", he = Qr($) !== "PC", q = !1, ee = !1, Y = !1, H = !1, te = g === "true", fe = !0;
|
|
16606
16603
|
const Pe = () => {
|
|
16607
16604
|
fetch(p).then((K) => K.json()).then((K) => {
|
|
16608
16605
|
Object.keys(K).forEach((G) => {
|
|
@@ -16638,7 +16635,7 @@ function od(o, t, e) {
|
|
|
16638
16635
|
});
|
|
16639
16636
|
}, De = (_) => {
|
|
16640
16637
|
_.data.type === "setSelfExclusion" && (e(0, n = _.data.userid), e(14, Z = _.data.selectedPeriodKey), O());
|
|
16641
|
-
}, Te = (_) =>
|
|
16638
|
+
}, Te = (_) => nt(this, null, function* () {
|
|
16642
16639
|
var K;
|
|
16643
16640
|
if (!_.ok) {
|
|
16644
16641
|
U = yield _.json(), le = (K = U.thirdPartyResponse) == null ? void 0 : K.errorCode;
|
|
@@ -16649,7 +16646,7 @@ function od(o, t, e) {
|
|
|
16649
16646
|
}), ve = () => {
|
|
16650
16647
|
e(19, H = !H);
|
|
16651
16648
|
}, ye = (_) => {
|
|
16652
|
-
switch (N = _.text, e(14, Z = _.key), e(18,
|
|
16649
|
+
switch (N = _.text, e(14, Z = _.key), e(18, Y = !0), e(19, H = !1), e(16, q = !1), e(17, ee = !1), N) {
|
|
16653
16650
|
case "Until":
|
|
16654
16651
|
e(17, ee = !0), e(11, R = Ee().add(6, "M").format("YYYY-MM-DD")), e(12, T = Ee().add(5, "y").format("YYYY-MM-DD")), e(13, F = R);
|
|
16655
16652
|
break;
|
|
@@ -16737,7 +16734,7 @@ function od(o, t, e) {
|
|
|
16737
16734
|
}, me = () => {
|
|
16738
16735
|
A.addEventListener("change", xe, !1), e(
|
|
16739
16736
|
9,
|
|
16740
|
-
A.i18n = kt(
|
|
16737
|
+
A.i18n = Dt(kt({}, A.i18n), {
|
|
16741
16738
|
formatDate: (_) => Ee(new Date(_.year, _.month, _.day)).format(k),
|
|
16742
16739
|
parseDate: (_) => {
|
|
16743
16740
|
const K = Ee(_, k);
|
|
@@ -16751,7 +16748,7 @@ function od(o, t, e) {
|
|
|
16751
16748
|
A
|
|
16752
16749
|
);
|
|
16753
16750
|
};
|
|
16754
|
-
|
|
16751
|
+
en(() => (window.addEventListener("message", De, !1), () => {
|
|
16755
16752
|
A.removeEventListener("change", xe), window.removeEventListener("message", De);
|
|
16756
16753
|
}));
|
|
16757
16754
|
const Q = () => {
|
|
@@ -16762,7 +16759,7 @@ function od(o, t, e) {
|
|
|
16762
16759
|
A = _, e(9, A);
|
|
16763
16760
|
});
|
|
16764
16761
|
}
|
|
16765
|
-
const
|
|
16762
|
+
const Pt = (_) => ce(_);
|
|
16766
16763
|
function Rr(_) {
|
|
16767
16764
|
fo[_ ? "unshift" : "push"](() => {
|
|
16768
16765
|
C = _, e(8, C);
|
|
@@ -16777,8 +16774,8 @@ function od(o, t, e) {
|
|
|
16777
16774
|
1 && s && r && n && l && ke(), o.$$.dirty[0] & /*calendar*/
|
|
16778
16775
|
512 && A && me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16779
16776
|
288 && h && C && rn(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16780
|
-
320 && m && C &&
|
|
16781
|
-
384 && b && C &&
|
|
16777
|
+
320 && m && C && nn(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16778
|
+
384 && b && C && an(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16782
16779
|
2 && p && Pe();
|
|
16783
16780
|
}, te && ie(), [
|
|
16784
16781
|
n,
|
|
@@ -16799,7 +16796,7 @@ function od(o, t, e) {
|
|
|
16799
16796
|
B,
|
|
16800
16797
|
q,
|
|
16801
16798
|
ee,
|
|
16802
|
-
|
|
16799
|
+
Y,
|
|
16803
16800
|
H,
|
|
16804
16801
|
fe,
|
|
16805
16802
|
i,
|
|
@@ -16821,7 +16818,7 @@ function od(o, t, e) {
|
|
|
16821
16818
|
x,
|
|
16822
16819
|
M,
|
|
16823
16820
|
j,
|
|
16824
|
-
|
|
16821
|
+
Pt,
|
|
16825
16822
|
Rr
|
|
16826
16823
|
];
|
|
16827
16824
|
}
|
|
@@ -16832,7 +16829,7 @@ class Lr extends Kr {
|
|
|
16832
16829
|
t,
|
|
16833
16830
|
od,
|
|
16834
16831
|
id,
|
|
16835
|
-
|
|
16832
|
+
Jr,
|
|
16836
16833
|
{
|
|
16837
16834
|
endpoint: 29,
|
|
16838
16835
|
session: 30,
|
|
@@ -16945,7 +16942,7 @@ class Lr extends Kr {
|
|
|
16945
16942
|
this.$$set({ sendnotificationemail: t }), oe();
|
|
16946
16943
|
}
|
|
16947
16944
|
}
|
|
16948
|
-
|
|
16945
|
+
ln(Lr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16949
16946
|
const jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16950
16947
|
__proto__: null,
|
|
16951
16948
|
default: Lr
|