@everymatrix/player-account-controller-nd 1.74.7 → 1.74.10
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-C-KQBmk3.js} +1308 -1322
- package/components/{GeneralLogout-D030tuMl.js → GeneralLogout-C52-PhwD.js} +1284 -1298
- package/components/GeneralLogout-COm1JcKW.cjs +21 -0
- package/components/PlayerAccountBettingHistory-5QM3bGgT.js +310 -0
- package/components/PlayerAccountBettingHistory-B91V20F2.js +311 -0
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +1 -0
- package/components/{PlayerAccountBiometrics-DsYJOGIk.js → PlayerAccountBiometrics-C5FFOJ5V.js} +5 -5
- package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-DPdT285K.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-YcohloWe.js → PlayerAccountBiometrics-DuvDCmjx.js} +5 -5
- package/components/{PlayerAccountClosureNd-B9z8p3ie.js → PlayerAccountClosureNd-BEMKT7IM.js} +6 -6
- package/components/{PlayerAccountClosureNd-DFWHunWk.cjs → PlayerAccountClosureNd-CMzRAP8U.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-C5CrElCk.js → PlayerAccountClosureNd-CYHq0859.js} +6 -6
- package/components/{PlayerAccountControllerNd-DC9bc76X.cjs → PlayerAccountControllerNd-BLPNyTdD.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-CuxQXMgo.js → PlayerAccountControllerNd-CkMeFrTH.js} +215 -215
- package/components/{PlayerAccountControllerNd-D4M8rhh3.js → PlayerAccountControllerNd-DVnO4_Om.js} +212 -212
- package/components/{PlayerAccountGamingLimits-DLyOkU8g.cjs → PlayerAccountGamingLimits-B2vzRems.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CUtQADXZ.js → PlayerAccountGamingLimits-B7ppWJQ6.js} +124 -124
- package/components/{PlayerAccountGamingLimits-CsAmDJwA.js → PlayerAccountGamingLimits-DMS9a3TN.js} +124 -124
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CKwL1tb1.js → PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DXqRhhmC.js → PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js} +38 -38
- package/components/{PlayerAccountGamingLimitsGroupEdit-DKNPRs3o.js → PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cj8Zh8WK.js → PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs → PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2Nd-OS3hwfOI.js → PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BhLSHYdC.js → PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CP6Lgi2e.cjs → PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CLe77Gl9.js → PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs → PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DsRCdtpt.js → PlayerAccountGamingLimitsInfoCard-DjnVkaho.js} +7 -7
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-9KrXj2F_.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BMYVxNF1.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BaMe78Sf.js → PlayerAccountGamingLimitsPage2Gm16Nd-Cd8mrrqZ.js} +31 -31
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DvM5bv7f.js → PlayerAccountGamingLimitsPage2Gm16Nd-oZxq2GPD.js} +23 -23
- package/components/{PlayerAccountGamingLimitsPopup-B04Er6pi.js → PlayerAccountGamingLimitsPopup-1ObhRFHn.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-D16rhs4n.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-oQNgmn2e.js → PlayerAccountGamingLimitsPopup-lZ7y_RVP.js} +21 -21
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DI6nCgSN.js → PlayerAccountGamingLimitsWrapper2Nd-DVmSDv2F.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BG2WnahQ.cjs → PlayerAccountGamingLimitsWrapper2Nd-g_R5EsPn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DrIQApL8.js → PlayerAccountGamingLimitsWrapper2Nd-iMEe46CC.js} +6 -6
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-CukB9VCO.js → PlayerAccountGeneralConfirmationModal-Bgat7eVE.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-ESnfg5wk.js → PlayerAccountGeneralConfirmationModal-DrgjMSLh.js} +53 -53
- package/components/{PlayerAccountMenuNd-BIxULyK_.js → PlayerAccountMenuNd-V9EOIgPS.js} +7 -7
- package/components/{PlayerAccountMenuNd-y2DyyHIy.cjs → PlayerAccountMenuNd-Yk5u12tl.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-Dz2t35yx.js → PlayerAccountMenuNd-alDPH0d2.js} +7 -7
- package/components/{PlayerAccountModal-BUf_-0GM.js → PlayerAccountModal-9FK6eAt0.js} +10 -10
- package/components/{PlayerAccountModal-BZ_7luqG.js → PlayerAccountModal-DCsw7iyn.js} +10 -10
- package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-DvJ0OsPC.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CNm0Cac9.js → PlayerAccountNotifications-BVfKQdMA.js} +6 -6
- package/components/{PlayerAccountNotifications-qzx6Peu-.js → PlayerAccountNotifications-BzEDVvTZ.js} +6 -6
- package/components/{PlayerAccountNotifications-BbvJAh0S.cjs → PlayerAccountNotifications-CdPeCghS.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-nQ_8_MV1.cjs → PlayerAccountProductRestriction-BJ0LFpLp.cjs} +693 -271
- package/components/{PlayerAccountProductRestriction-Da-DR_H1.js → PlayerAccountProductRestriction-DmWDaeEI.js} +3513 -2909
- package/components/{PlayerAccountProductRestriction-CN53RWXW.js → PlayerAccountProductRestriction-EAWMHqK4.js} +3540 -2936
- package/components/{PlayerAccountSelfExclusionNd-Cs5f9xNv.js → PlayerAccountSelfExclusionNd-BI74DoLY.js} +843 -844
- package/components/{PlayerAccountSelfExclusionNd-DT1ZEHWI.cjs → PlayerAccountSelfExclusionNd-BLr1N-Bv.cjs} +152 -152
- package/components/{PlayerAccountSelfExclusionNd-BN7FI_ay.js → PlayerAccountSelfExclusionNd-CiB251y6.js} +824 -825
- package/components/{PlayerAccountTimeout-D3f8qFIa.js → PlayerAccountTimeout-BlJS9laL.js} +43 -43
- package/components/{PlayerAccountTimeout-DZlcLUxL.js → PlayerAccountTimeout-GP0WHuhG.js} +43 -43
- package/components/{PlayerAccountTimeout-CnSqbF9W.cjs → PlayerAccountTimeout-U0kgxhKU.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-VF6Eyr4n.cjs → PlayerAccountTransactionsHistory-BxNwks5H.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-CRK0DEQZ.js → PlayerAccountTransactionsHistory-D5lotPR-.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-BXSYVAF1.js → PlayerAccountTransactionsHistory-hyaqdne0.js} +7 -7
- package/components/{PlayerActiveBonuses-_5tMeqW1.js → PlayerActiveBonuses-D4OBnwNa.js} +6 -6
- package/components/{PlayerActiveBonuses-VMRnoY1_.cjs → PlayerActiveBonuses-Me5Q3o65.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CG3MShje.js → PlayerActiveBonuses-zLuqH4eW.js} +6 -6
- package/components/{PlayerBonusCard-PjFBuYOQ.js → PlayerBonusCard-BbRQx8Gg.js} +7 -7
- package/components/{PlayerBonusCard-JxCswDEv.js → PlayerBonusCard-BhW_g3sH.js} +7 -7
- package/components/{PlayerBonusCard-KehruUku.cjs → PlayerBonusCard-DgyhSYBs.cjs} +1 -1
- package/components/{PlayerBonusHistory-l9JKc1SI.cjs → PlayerBonusHistory-BmeRyaDK.cjs} +1 -1
- package/components/{PlayerBonusHistory-B9GBjrhp.js → PlayerBonusHistory-BxbtWY0l.js} +7 -7
- package/components/{PlayerBonusHistory-DgZlf4DN.js → PlayerBonusHistory-C_uP6nBB.js} +7 -7
- package/components/{PlayerChangePasswordNd-DcgU3jc2.cjs → PlayerChangePasswordNd-DSIi_04v.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-BNKqXdus.js → PlayerChangePasswordNd-DUzbCK4p.js} +4 -4
- package/components/{PlayerChangePasswordNd-DeLVgl-F.js → PlayerChangePasswordNd-DWsHRVAH.js} +4 -4
- package/components/{PlayerDeposit-CNQfct0C.js → PlayerDeposit-BeGgsgNu.js} +73 -73
- package/components/{PlayerDeposit-DGv0xh8z.js → PlayerDeposit-CI5GIyAe.js} +73 -73
- package/components/PlayerDeposit-CmBFg6tX.cjs +1 -0
- package/components/{PlayerGamingHistory-CUfMRa00.js → PlayerGamingHistory-BJQKapHg.js} +53 -53
- package/components/{PlayerGamingHistory-D-rZL0d1.js → PlayerGamingHistory-DEgVt4st.js} +60 -60
- package/components/{PlayerGamingHistory-DrygiT7t.cjs → PlayerGamingHistory-F3yi70Vu.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BizDJ0F9.js → PlayerPendingWithdrawals-BL4JTLkC.js} +6 -6
- package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-D-KWiMH6.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BB2HoABl.js → PlayerPendingWithdrawals-o6_OjL5C.js} +6 -6
- package/components/{PlayerProfileInfo-CKJNYYA8.cjs → PlayerProfileInfo-CwZQ79SV.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cnl1XufF.js → PlayerProfileInfo-D0A3aRV_.js} +108 -108
- package/components/{PlayerProfileInfo-C-g4XepU.js → PlayerProfileInfo-xRMbiw1T.js} +95 -95
- package/components/{PlayerRealityCheck-BBmsx1va.js → PlayerRealityCheck-BEiZhn6p.js} +6 -6
- package/components/{PlayerRealityCheck-P7wFyweE.js → PlayerRealityCheck-CYU_NrFB.js} +6 -6
- package/components/{PlayerRealityCheck-Cq2rIALW.cjs → PlayerRealityCheck-JdOGHDG6.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CqY9DKiK.js → PlayerTransactionHistory-BS1LjP09.js} +6 -6
- package/components/{PlayerTransactionHistory-DN6FJ2lh.js → PlayerTransactionHistory-DdbQZ6mw.js} +6 -6
- package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-Hz2IWD73.cjs} +1 -1
- package/components/{PlayerWithdrawal-lAVd0flG.js → PlayerWithdrawal-DGN4Y9QP.js} +6 -6
- package/components/{PlayerWithdrawal-oEAQeQgU.js → PlayerWithdrawal-DOec04Iq.js} +6 -6
- package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-P_0MIA-u.cjs} +1 -1
- 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-Cps4LOfl.js → checkbox-group-input_15-7ljokaYC.js} +4108 -3506
- package/stencil/{checkbox-group-input_15-Dz8Enjzg.js → checkbox-group-input_15-BzU_0jJ_.js} +4104 -3502
- package/stencil/{checkbox-group-input_15-DWi9V8tw.cjs → checkbox-group-input_15-Fs7-YN7u.cjs} +692 -270
- package/stencil/{index-13661b98-CpXzOrnx.js → index-13661b98-BJM2hHx6.js} +124 -124
- package/stencil/{index-13661b98-ufIIKmVK.js → index-13661b98-Cty_Ct2m.js} +245 -245
- package/stencil/index-13661b98-DuhNdmHd.cjs +1 -0
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +1 -0
- package/stencil/index-1ef3a64c-DQk1yZfC.js +556 -0
- package/stencil/{index-1ef3a64c-BJwg6KZV.js → index-1ef3a64c-DuKSFSN8.js} +201 -201
- package/stencil/{index-7c5e707a-BZ26MA7_.js → index-7c5e707a-B54Yjxc3.js} +135 -135
- package/stencil/{index-7c5e707a-CVVnpkZ1.js → index-7c5e707a-BHFN5Fx4.js} +145 -145
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +1 -0
- package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +1 -0
- package/stencil/{index-9c0f6c58-DH5Ki39B.js → index-9c0f6c58-GCIFeGLp.js} +118 -118
- package/stencil/{index-9c0f6c58-8sXzcKbt.js → index-9c0f6c58-Ucwc3Jk1.js} +223 -223
- package/stencil/index-b2193545-BMFR9-V2.cjs +1 -0
- package/stencil/{index-b2193545-DfDFpDFs.js → index-b2193545-DPKCFIaU.js} +169 -169
- package/stencil/{index-b2193545-BekNYO1T.js → index-b2193545-LzjWxki5.js} +176 -176
- package/stencil/{pam-change-password-pNFi_nib.js → pam-change-password-Bdu7Bk_h.js} +1 -1
- package/stencil/{pam-change-password-CWwKWuSv.js → pam-change-password-DSAfkY23.js} +1 -1
- package/stencil/{pam-change-password-0b043d09-BhckrWb7.js → pam-change-password-af5033a0-BfWHc1Rw.js} +168 -95
- package/stencil/pam-change-password-af5033a0-C18GwNdS.cjs +125 -0
- package/stencil/{pam-change-password-0b043d09-D9qr1QZW.js → pam-change-password-af5033a0-DYGjeRTR.js} +168 -95
- package/stencil/{pam-change-password-BbSKndri.cjs → pam-change-password-mcRyjsPo.cjs} +1 -1
- package/stencil/{player-kyc-verification-u-XUlDen.js → player-kyc-verification-B9ZaCq1K.js} +1 -1
- package/stencil/{player-kyc-verification-DW2tWbg_.cjs → player-kyc-verification-D10m225z.cjs} +1 -1
- package/stencil/{player-kyc-verification-BJuBsd7A.js → player-kyc-verification-Wsswi9br.js} +1 -1
- package/stencil/{ui-skeleton-CnxOhYAT.js → ui-skeleton-2XsWxl4S.js} +2 -2
- package/stencil/{ui-skeleton-Bez-iF-R.cjs → ui-skeleton-Cbqo0oYF.cjs} +1 -1
- package/stencil/{ui-skeleton-CScGJdv_.js → ui-skeleton-LneRlsD3.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-Bl0_r9TX.js → ui-skeleton-ae35c6f2-8s3Rqu1P.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D37mmp9J.cjs → ui-skeleton-ae35c6f2-B4ncHe9g.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CXRVKjq-.js → ui-skeleton-ae35c6f2-OnzqIAY0.js} +1 -1
- package/stencil/{user-deposit-withdrawal-KqJCF9Hl.cjs → user-deposit-withdrawal-BP58nPO1.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-B7dnuKq0.js → user-deposit-withdrawal-CSakhNt1.js} +45 -45
- package/stencil/{user-deposit-withdrawal-ar8K3Kn7.js → user-deposit-withdrawal-DcVKAa80.js} +45 -45
- package/stencil/{user-transaction-history-o1zvVNkt.js → user-transaction-history-BrBScppC.js} +600 -600
- package/stencil/{user-transaction-history-D86WcqZY.js → user-transaction-history-D0jBcRwe.js} +588 -588
- package/stencil/user-transaction-history-HA_tfHfo.cjs +1 -0
- 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/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +0 -1
- package/components/PlayerDeposit-BLDWbMBK.cjs +0 -1
- package/stencil/index-13661b98-o8vCngwM.cjs +0 -1
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +0 -1
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +0 -556
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +0 -1
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +0 -1
- package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
- package/stencil/pam-change-password-0b043d09-CIyrSOWr.cjs +0 -125
- package/stencil/user-transaction-history-xgpDQYWU.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a5 as
|
|
2
|
-
import { d as Ee } from "./PlayerAccountProductRestriction-
|
|
3
|
-
import "../stencil/ui-skeleton-
|
|
4
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
1
|
+
import { a5 as Sr, a6 as Ar, a as Cr, $ as Pr, S as kr, i as Dr, f as oe, c as Tr, s as Mr, b as Or, e as w, k as ne, o as ci, p as ae, q as Ir, u as Fr, v as Nr, x as so, y as zr, z as Lr, A as Rr, O as ro, d as I, t as re, w as Ae, F as Br, g as E, j as Ue, l as f, m as Mt, n as de, P as Hr, r as $r, h as S, Y as qt, B as Yr } from "./GeneralLogout-C52-PhwD.js";
|
|
2
|
+
import { d as Ee } from "./PlayerAccountProductRestriction-DmWDaeEI.js";
|
|
3
|
+
import "../stencil/ui-skeleton-LneRlsD3.js";
|
|
4
|
+
import "./PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -28,18 +28,18 @@ function be(o, t = "24.5.10") {
|
|
|
28
28
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
29
29
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
30
30
|
*/
|
|
31
|
-
class
|
|
31
|
+
class jr extends HTMLElement {
|
|
32
32
|
static get is() {
|
|
33
33
|
return "vaadin-lumo-styles";
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
be(
|
|
36
|
+
be(jr);
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2019 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
|
-
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Fi = Symbol(),
|
|
42
|
+
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Fi = Symbol(), no = /* @__PURE__ */ new WeakMap();
|
|
43
43
|
let Ni = class {
|
|
44
44
|
constructor(t, e, i) {
|
|
45
45
|
if (this._$cssResult$ = !0, i !== Fi)
|
|
@@ -51,7 +51,7 @@ let Ni = class {
|
|
|
51
51
|
const e = this.t;
|
|
52
52
|
if (Ii && t === void 0) {
|
|
53
53
|
const i = e !== void 0 && e.length === 1;
|
|
54
|
-
i && (t =
|
|
54
|
+
i && (t = no.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && no.set(e, t));
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
}
|
|
@@ -59,7 +59,7 @@ let Ni = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const
|
|
62
|
+
const Vr = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), P = (o, ...t) => {
|
|
63
63
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
64
64
|
if (n._$cssResult$ === !0)
|
|
65
65
|
return n.cssText;
|
|
@@ -68,7 +68,7 @@ const Ur = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), P = (o,
|
|
|
68
68
|
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.");
|
|
69
69
|
})(s) + o[r + 1], o[0]);
|
|
70
70
|
return new Ni(e, o, Fi);
|
|
71
|
-
},
|
|
71
|
+
}, Zo = (o, t) => {
|
|
72
72
|
if (Ii)
|
|
73
73
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
74
74
|
else
|
|
@@ -76,21 +76,21 @@ const Ur = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), P = (o,
|
|
|
76
76
|
const i = document.createElement("style"), s = Dt.litNonce;
|
|
77
77
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
78
78
|
}
|
|
79
|
-
},
|
|
79
|
+
}, ao = Ii ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
80
80
|
let e = "";
|
|
81
81
|
for (const i of t.cssRules)
|
|
82
82
|
e += i.cssText;
|
|
83
|
-
return
|
|
83
|
+
return Vr(e);
|
|
84
84
|
})(o) : o;
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2017 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
89
|
*/
|
|
90
|
-
const { is:
|
|
90
|
+
const { is: Ur, defineProperty: Wr, getOwnPropertyDescriptor: qr, getOwnPropertyNames: Kr, getOwnPropertySymbols: Gr, getPrototypeOf: Jr } = Object, Ht = globalThis, lo = Ht.trustedTypes, Xr = lo ? lo.emptyScript : "", Zr = Ht.reactiveElementPolyfillSupport, dt = (o, t) => o, ui = { toAttribute(o, t) {
|
|
91
91
|
switch (t) {
|
|
92
92
|
case Boolean:
|
|
93
|
-
o = o ?
|
|
93
|
+
o = o ? Xr : null;
|
|
94
94
|
break;
|
|
95
95
|
case Object:
|
|
96
96
|
case Array:
|
|
@@ -115,7 +115,7 @@ const { is: Wr, defineProperty: qr, getOwnPropertyDescriptor: Kr, getOwnProperty
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
return e;
|
|
118
|
-
} },
|
|
118
|
+
} }, Qo = (o, t) => !Ur(o, t), co = { attribute: !0, type: String, converter: ui, reflect: !1, hasChanged: Qo };
|
|
119
119
|
Symbol.metadata ??= Symbol("metadata"), Ht.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
120
120
|
class qe extends HTMLElement {
|
|
121
121
|
static addInitializer(t) {
|
|
@@ -124,14 +124,14 @@ class qe extends HTMLElement {
|
|
|
124
124
|
static get observedAttributes() {
|
|
125
125
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
126
126
|
}
|
|
127
|
-
static createProperty(t, e =
|
|
127
|
+
static createProperty(t, e = co) {
|
|
128
128
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
129
129
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
130
|
-
s !== void 0 &&
|
|
130
|
+
s !== void 0 && Wr(this.prototype, t, s);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
static getPropertyDescriptor(t, e, i) {
|
|
134
|
-
const { get: s, set: r } =
|
|
134
|
+
const { get: s, set: r } = qr(this.prototype, t) ?? { get() {
|
|
135
135
|
return this[e];
|
|
136
136
|
}, set(n) {
|
|
137
137
|
this[e] = n;
|
|
@@ -144,19 +144,19 @@ class qe extends HTMLElement {
|
|
|
144
144
|
}, configurable: !0, enumerable: !0 };
|
|
145
145
|
}
|
|
146
146
|
static getPropertyOptions(t) {
|
|
147
|
-
return this.elementProperties.get(t) ??
|
|
147
|
+
return this.elementProperties.get(t) ?? co;
|
|
148
148
|
}
|
|
149
149
|
static _$Ei() {
|
|
150
150
|
if (this.hasOwnProperty(dt("elementProperties")))
|
|
151
151
|
return;
|
|
152
|
-
const t =
|
|
152
|
+
const t = Jr(this);
|
|
153
153
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
154
154
|
}
|
|
155
155
|
static finalize() {
|
|
156
156
|
if (this.hasOwnProperty(dt("finalized")))
|
|
157
157
|
return;
|
|
158
158
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(dt("properties"))) {
|
|
159
|
-
const e = this.properties, i = [...
|
|
159
|
+
const e = this.properties, i = [...Kr(e), ...Gr(e)];
|
|
160
160
|
for (const s of i)
|
|
161
161
|
this.createProperty(s, e[s]);
|
|
162
162
|
}
|
|
@@ -179,9 +179,9 @@ class qe extends HTMLElement {
|
|
|
179
179
|
if (Array.isArray(t)) {
|
|
180
180
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
181
181
|
for (const s of i)
|
|
182
|
-
e.unshift(
|
|
182
|
+
e.unshift(ao(s));
|
|
183
183
|
} else
|
|
184
|
-
t !== void 0 && e.push(
|
|
184
|
+
t !== void 0 && e.push(ao(t));
|
|
185
185
|
return e;
|
|
186
186
|
}
|
|
187
187
|
static _$Eu(t, e) {
|
|
@@ -208,7 +208,7 @@ class qe extends HTMLElement {
|
|
|
208
208
|
}
|
|
209
209
|
createRenderRoot() {
|
|
210
210
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
211
|
-
return
|
|
211
|
+
return Zo(t, this.constructor.elementStyles), t;
|
|
212
212
|
}
|
|
213
213
|
connectedCallback() {
|
|
214
214
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
@@ -237,7 +237,7 @@ class qe extends HTMLElement {
|
|
|
237
237
|
}
|
|
238
238
|
requestUpdate(t, e, i) {
|
|
239
239
|
if (t !== void 0) {
|
|
240
|
-
if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ??
|
|
240
|
+
if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? Qo)(this[t], e))
|
|
241
241
|
return;
|
|
242
242
|
this.P(t, e, i);
|
|
243
243
|
}
|
|
@@ -307,39 +307,39 @@ class qe extends HTMLElement {
|
|
|
307
307
|
firstUpdated(t) {
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(),
|
|
310
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(), Zr?.({ ReactiveElement: qe }), (Ht.reactiveElementVersions ??= []).push("2.0.4");
|
|
311
311
|
/**
|
|
312
312
|
* @license
|
|
313
313
|
* Copyright 2017 Google LLC
|
|
314
314
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
315
315
|
*/
|
|
316
|
-
const zi = globalThis, Ot = zi.trustedTypes,
|
|
317
|
-
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
318
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
319
|
-
function
|
|
316
|
+
const zi = globalThis, Ot = zi.trustedTypes, uo = Ot ? Ot.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, es = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, ts = "?" + Me, Qr = `<${ts}>`, $e = document, pt = () => $e.createComment(""), ft = (o) => o === null || typeof o != "object" && typeof o != "function", Li = Array.isArray, en = (o) => Li(o) || typeof o?.[Symbol.iterator] == "function", Kt = `[
|
|
317
|
+
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ho = /-->/g, po = />/g, ze = RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^
|
|
318
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), fo = /'/g, mo = /"/g, is = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), _o = /* @__PURE__ */ new WeakMap(), Le = $e.createTreeWalker($e, 129);
|
|
319
|
+
function os(o, t) {
|
|
320
320
|
if (!Li(o) || !o.hasOwnProperty("raw"))
|
|
321
321
|
throw Error("invalid template strings array");
|
|
322
|
-
return
|
|
322
|
+
return uo !== void 0 ? uo.createHTML(t) : t;
|
|
323
323
|
}
|
|
324
|
-
const
|
|
324
|
+
const tn = (o, t) => {
|
|
325
325
|
const e = o.length - 1, i = [];
|
|
326
326
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = st;
|
|
327
327
|
for (let a = 0; a < e; a++) {
|
|
328
328
|
const l = o[a];
|
|
329
329
|
let c, u, d = -1, h = 0;
|
|
330
330
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
331
|
-
h = n.lastIndex, n === st ? u[1] === "!--" ? n =
|
|
331
|
+
h = n.lastIndex, n === st ? u[1] === "!--" ? n = ho : u[1] !== void 0 ? n = po : u[2] !== void 0 ? (is.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s ?? st, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? ze : u[3] === '"' ? mo : fo) : n === mo || n === fo ? n = ze : n === ho || n === po ? n = st : (n = ze, s = void 0);
|
|
332
332
|
const m = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
333
|
-
r += n === st ? l +
|
|
333
|
+
r += n === st ? l + Qr : d >= 0 ? (i.push(c), l.slice(0, d) + es + l.slice(d) + Me + m) : l + Me + (d === -2 ? a : m);
|
|
334
334
|
}
|
|
335
|
-
return [
|
|
335
|
+
return [os(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
336
336
|
};
|
|
337
337
|
class mt {
|
|
338
338
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
339
339
|
let s;
|
|
340
340
|
this.parts = [];
|
|
341
341
|
let r = 0, n = 0;
|
|
342
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
342
|
+
const a = t.length - 1, l = this.parts, [c, u] = tn(t, e);
|
|
343
343
|
if (this.el = mt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
344
344
|
const d = this.el.content.firstChild;
|
|
345
345
|
d.replaceWith(...d.childNodes);
|
|
@@ -348,12 +348,12 @@ class mt {
|
|
|
348
348
|
if (s.nodeType === 1) {
|
|
349
349
|
if (s.hasAttributes())
|
|
350
350
|
for (const d of s.getAttributeNames())
|
|
351
|
-
if (d.endsWith(
|
|
351
|
+
if (d.endsWith(es)) {
|
|
352
352
|
const h = u[n++], m = s.getAttribute(d).split(Me), b = /([.?@])?(.*)/.exec(h);
|
|
353
|
-
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ?
|
|
353
|
+
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ? sn : b[1] === "?" ? rn : b[1] === "@" ? nn : $t }), s.removeAttribute(d);
|
|
354
354
|
} else
|
|
355
355
|
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
356
|
-
if (
|
|
356
|
+
if (is.test(s.tagName)) {
|
|
357
357
|
const d = s.textContent.split(Me), h = d.length - 1;
|
|
358
358
|
if (h > 0) {
|
|
359
359
|
s.textContent = Ot ? Ot.emptyScript : "";
|
|
@@ -363,7 +363,7 @@ class mt {
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
} else if (s.nodeType === 8)
|
|
366
|
-
if (s.data ===
|
|
366
|
+
if (s.data === ts)
|
|
367
367
|
l.push({ type: 2, index: r });
|
|
368
368
|
else {
|
|
369
369
|
let d = -1;
|
|
@@ -385,7 +385,7 @@ function Qe(o, t, e = o, i) {
|
|
|
385
385
|
const r = ft(t) ? void 0 : t._$litDirective$;
|
|
386
386
|
return s?.constructor !== r && (s?._$AO?.(!1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? (e._$Co ??= [])[i] = s : e._$Cl = s), s !== void 0 && (t = Qe(o, s._$AS(o, t.values), s, i)), t;
|
|
387
387
|
}
|
|
388
|
-
class
|
|
388
|
+
class on {
|
|
389
389
|
constructor(t, e) {
|
|
390
390
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
391
391
|
}
|
|
@@ -402,7 +402,7 @@ class sn {
|
|
|
402
402
|
for (; l !== void 0; ) {
|
|
403
403
|
if (n === l.index) {
|
|
404
404
|
let c;
|
|
405
|
-
l.type === 2 ? c = new wt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
405
|
+
l.type === 2 ? c = new wt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new an(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
406
406
|
}
|
|
407
407
|
n !== l?.index && (r = Le.nextNode(), n++);
|
|
408
408
|
}
|
|
@@ -433,7 +433,7 @@ class wt {
|
|
|
433
433
|
return this._$AB;
|
|
434
434
|
}
|
|
435
435
|
_$AI(t, e = this) {
|
|
436
|
-
t = Qe(this, t, e), ft(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
436
|
+
t = Qe(this, t, e), ft(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : en(t) ? this.k(t) : this._(t);
|
|
437
437
|
}
|
|
438
438
|
O(t) {
|
|
439
439
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -445,17 +445,17 @@ class wt {
|
|
|
445
445
|
this._$AH !== W && ft(this._$AH) ? this._$AA.nextSibling.data = t : this.T($e.createTextNode(t)), this._$AH = t;
|
|
446
446
|
}
|
|
447
447
|
$(t) {
|
|
448
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(
|
|
448
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(os(i.h, i.h[0]), this.options)), i);
|
|
449
449
|
if (this._$AH?._$AD === s)
|
|
450
450
|
this._$AH.p(e);
|
|
451
451
|
else {
|
|
452
|
-
const r = new
|
|
452
|
+
const r = new on(s, this), n = r.u(this.options);
|
|
453
453
|
r.p(e), this.T(n), this._$AH = r;
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
456
|
_$AC(t) {
|
|
457
|
-
let e =
|
|
458
|
-
return e === void 0 &&
|
|
457
|
+
let e = _o.get(t.strings);
|
|
458
|
+
return e === void 0 && _o.set(t.strings, e = new mt(t)), e;
|
|
459
459
|
}
|
|
460
460
|
k(t) {
|
|
461
461
|
Li(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -502,7 +502,7 @@ class $t {
|
|
|
502
502
|
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
class
|
|
505
|
+
class sn extends $t {
|
|
506
506
|
constructor() {
|
|
507
507
|
super(...arguments), this.type = 3;
|
|
508
508
|
}
|
|
@@ -510,7 +510,7 @@ class rn extends $t {
|
|
|
510
510
|
this.element[this.name] = t === W ? void 0 : t;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
class
|
|
513
|
+
class rn extends $t {
|
|
514
514
|
constructor() {
|
|
515
515
|
super(...arguments), this.type = 4;
|
|
516
516
|
}
|
|
@@ -518,7 +518,7 @@ class nn extends $t {
|
|
|
518
518
|
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
class
|
|
521
|
+
class nn extends $t {
|
|
522
522
|
constructor(t, e, i, s, r) {
|
|
523
523
|
super(t, e, i, s, r), this.type = 5;
|
|
524
524
|
}
|
|
@@ -532,7 +532,7 @@ class an extends $t {
|
|
|
532
532
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
class
|
|
535
|
+
class an {
|
|
536
536
|
constructor(t, e, i) {
|
|
537
537
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
538
538
|
}
|
|
@@ -543,9 +543,9 @@ class ln {
|
|
|
543
543
|
Qe(this, t);
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
const
|
|
547
|
-
|
|
548
|
-
const
|
|
546
|
+
const ln = zi.litHtmlPolyfillSupport;
|
|
547
|
+
ln?.(mt, wt), (zi.litHtmlVersions ??= []).push("3.2.1");
|
|
548
|
+
const cn = (o, t, e) => {
|
|
549
549
|
const i = e?.renderBefore ?? t;
|
|
550
550
|
let s = i._$litPart$;
|
|
551
551
|
if (s === void 0) {
|
|
@@ -569,7 +569,7 @@ class Ke extends qe {
|
|
|
569
569
|
}
|
|
570
570
|
update(t) {
|
|
571
571
|
const e = this.render();
|
|
572
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
572
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = cn(e, this.renderRoot, this.renderOptions);
|
|
573
573
|
}
|
|
574
574
|
connectedCallback() {
|
|
575
575
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -582,15 +582,15 @@ class Ke extends qe {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
Ke._$litElement$ = !0, Ke.finalized = !0, globalThis.litElementHydrateSupport?.({ LitElement: Ke });
|
|
585
|
-
const
|
|
586
|
-
|
|
585
|
+
const un = globalThis.litElementPolyfillSupport;
|
|
586
|
+
un?.({ LitElement: Ke });
|
|
587
587
|
(globalThis.litElementVersions ??= []).push("4.1.1");
|
|
588
588
|
/**
|
|
589
589
|
* @license
|
|
590
590
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
591
591
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
592
592
|
*/
|
|
593
|
-
const
|
|
593
|
+
const dn = (o) => class extends o {
|
|
594
594
|
static get properties() {
|
|
595
595
|
return {
|
|
596
596
|
/**
|
|
@@ -629,103 +629,103 @@ const hn = (o) => class extends o {
|
|
|
629
629
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
630
630
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
631
631
|
*/
|
|
632
|
-
const
|
|
633
|
-
function
|
|
632
|
+
const ss = [], di = /* @__PURE__ */ new Set(), Ri = /* @__PURE__ */ new Set();
|
|
633
|
+
function rs(o) {
|
|
634
634
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return
|
|
636
|
+
function hn(o) {
|
|
637
|
+
return rs(customElements.get(o));
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function pn(o = []) {
|
|
640
640
|
return [o].flat(1 / 0).filter((t) => t instanceof Ni ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function ns(o, t) {
|
|
643
643
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function as(o) {
|
|
646
646
|
return o.map((t) => t.cssText).join(`
|
|
647
647
|
`);
|
|
648
648
|
}
|
|
649
649
|
const It = "vaadin-themable-mixin-style";
|
|
650
|
-
function
|
|
650
|
+
function fn(o, t) {
|
|
651
651
|
const e = document.createElement("style");
|
|
652
|
-
e.id = It, e.textContent =
|
|
652
|
+
e.id = It, e.textContent = as(o), t.content.appendChild(e);
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function mn(o) {
|
|
655
655
|
if (!o.shadowRoot)
|
|
656
656
|
return;
|
|
657
657
|
const t = o.constructor;
|
|
658
658
|
if (o instanceof Ke)
|
|
659
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
659
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), Zo(o.shadowRoot, t.elementStyles);
|
|
660
660
|
else {
|
|
661
661
|
const e = o.shadowRoot.getElementById(It), i = t.prototype._template;
|
|
662
662
|
e.textContent = i.content.getElementById(It).textContent;
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function _n(o) {
|
|
666
666
|
di.forEach((t) => {
|
|
667
667
|
const e = t.deref();
|
|
668
|
-
e instanceof o ?
|
|
668
|
+
e instanceof o ? mn(e) : e || di.delete(t);
|
|
669
669
|
});
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function ls(o) {
|
|
672
672
|
if (o.prototype instanceof Ke)
|
|
673
673
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
674
674
|
else {
|
|
675
675
|
const t = o.prototype._template;
|
|
676
|
-
t.content.getElementById(It).textContent =
|
|
676
|
+
t.content.getElementById(It).textContent = as(o.getStylesForThis());
|
|
677
677
|
}
|
|
678
678
|
Ri.forEach((t) => {
|
|
679
679
|
const e = customElements.get(t);
|
|
680
|
-
e !== o && e.prototype instanceof o &&
|
|
680
|
+
e !== o && e.prototype instanceof o && ls(e);
|
|
681
681
|
});
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function gn(o, t) {
|
|
684
684
|
const e = o.__themes;
|
|
685
685
|
return !e || !t ? !1 : e.some(
|
|
686
686
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
687
687
|
);
|
|
688
688
|
}
|
|
689
689
|
function L(o, t, e = {}) {
|
|
690
|
-
t =
|
|
690
|
+
t = pn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : ss.push({
|
|
691
691
|
themeFor: o,
|
|
692
692
|
styles: t,
|
|
693
693
|
include: e.include,
|
|
694
694
|
moduleId: e.moduleId
|
|
695
695
|
}), o && Ri.forEach((i) => {
|
|
696
|
-
if (
|
|
696
|
+
if (ns(o, i) && hn(i)) {
|
|
697
697
|
const s = customElements.get(i);
|
|
698
|
-
|
|
698
|
+
gn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
699
699
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
700
|
-
),
|
|
700
|
+
), ls(s), _n(s);
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
704
|
function hi() {
|
|
705
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
705
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ss;
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function bn(o = "") {
|
|
708
708
|
let t = 0;
|
|
709
709
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function cs(o) {
|
|
712
712
|
const t = [];
|
|
713
713
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
714
714
|
const i = hi().find((s) => s.moduleId === e);
|
|
715
|
-
i ? t.push(...
|
|
715
|
+
i ? t.push(...cs(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
716
716
|
}, o.styles), t;
|
|
717
717
|
}
|
|
718
718
|
function yn(o) {
|
|
719
|
-
const t = `${o}-default-theme`, e = hi().filter((i) => i.moduleId !== t &&
|
|
719
|
+
const t = `${o}-default-theme`, e = hi().filter((i) => i.moduleId !== t && ns(i.themeFor, o)).map((i) => ({
|
|
720
720
|
...i,
|
|
721
721
|
// Prepend styles from included themes
|
|
722
|
-
styles: [...
|
|
722
|
+
styles: [...cs(i), ...i.styles],
|
|
723
723
|
// Map moduleId to includePriority
|
|
724
|
-
includePriority:
|
|
724
|
+
includePriority: bn(i.moduleId)
|
|
725
725
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
726
726
|
return e.length > 0 ? e : hi().filter((i) => i.moduleId === t);
|
|
727
727
|
}
|
|
728
|
-
const Ye = (o) => class extends
|
|
728
|
+
const Ye = (o) => class extends dn(o) {
|
|
729
729
|
constructor() {
|
|
730
730
|
super(), di.add(new WeakRef(this));
|
|
731
731
|
}
|
|
@@ -737,7 +737,7 @@ const Ye = (o) => class extends hn(o) {
|
|
|
737
737
|
if (super.finalize(), this.is && Ri.add(this.is), this.elementStyles)
|
|
738
738
|
return;
|
|
739
739
|
const e = this.prototype._template;
|
|
740
|
-
!e ||
|
|
740
|
+
!e || rs(this) || fn(this.getStylesForThis(), e);
|
|
741
741
|
}
|
|
742
742
|
/**
|
|
743
743
|
* Covers LitElement based component styling
|
|
@@ -765,19 +765,19 @@ const Ye = (o) => class extends hn(o) {
|
|
|
765
765
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
766
766
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
767
767
|
*/
|
|
768
|
-
const
|
|
768
|
+
const vn = (o, ...t) => {
|
|
769
769
|
const e = document.createElement("style");
|
|
770
770
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
771
771
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
772
772
|
}, it = (o, ...t) => {
|
|
773
|
-
|
|
773
|
+
vn(`lumo-${o}`, t);
|
|
774
774
|
};
|
|
775
775
|
/**
|
|
776
776
|
* @license
|
|
777
777
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
778
778
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
779
779
|
*/
|
|
780
|
-
const
|
|
780
|
+
const xn = P`
|
|
781
781
|
:host {
|
|
782
782
|
--lumo-size-xs: 1.625rem;
|
|
783
783
|
--lumo-size-s: 1.875rem;
|
|
@@ -793,13 +793,13 @@ const wn = P`
|
|
|
793
793
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
794
794
|
}
|
|
795
795
|
`;
|
|
796
|
-
it("sizing-props",
|
|
796
|
+
it("sizing-props", xn);
|
|
797
797
|
/**
|
|
798
798
|
* @license
|
|
799
799
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
800
800
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
801
801
|
*/
|
|
802
|
-
const
|
|
802
|
+
const wn = P`
|
|
803
803
|
:host {
|
|
804
804
|
/* Square */
|
|
805
805
|
--lumo-space-xs: 0.25rem;
|
|
@@ -823,13 +823,13 @@ const En = P`
|
|
|
823
823
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
824
824
|
}
|
|
825
825
|
`;
|
|
826
|
-
it("spacing-props",
|
|
826
|
+
it("spacing-props", wn);
|
|
827
827
|
/**
|
|
828
828
|
* @license
|
|
829
829
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
830
830
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
831
831
|
*/
|
|
832
|
-
const
|
|
832
|
+
const En = P`
|
|
833
833
|
:host {
|
|
834
834
|
/* Border radius */
|
|
835
835
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -931,13 +931,13 @@ P`
|
|
|
931
931
|
--vaadin-input-field-value-font-weight: 500;
|
|
932
932
|
}
|
|
933
933
|
`;
|
|
934
|
-
it("style-props",
|
|
934
|
+
it("style-props", En);
|
|
935
935
|
/**
|
|
936
936
|
* @license
|
|
937
937
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
938
938
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
939
939
|
*/
|
|
940
|
-
const
|
|
940
|
+
const Sn = P`
|
|
941
941
|
:host {
|
|
942
942
|
/* Base (background) */
|
|
943
943
|
--lumo-base-color: #fff;
|
|
@@ -1023,8 +1023,8 @@ const An = P`
|
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
1025
|
`;
|
|
1026
|
-
it("color-props",
|
|
1027
|
-
const
|
|
1026
|
+
it("color-props", Sn);
|
|
1027
|
+
const An = P`
|
|
1028
1028
|
[theme~='dark'] {
|
|
1029
1029
|
/* Base (background) */
|
|
1030
1030
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1143,13 +1143,13 @@ const Cn = P`
|
|
|
1143
1143
|
background: transparent;
|
|
1144
1144
|
}
|
|
1145
1145
|
`;
|
|
1146
|
-
L("",
|
|
1146
|
+
L("", An, { moduleId: "lumo-color" });
|
|
1147
1147
|
/**
|
|
1148
1148
|
* @license
|
|
1149
1149
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1150
1150
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1151
1151
|
*/
|
|
1152
|
-
const
|
|
1152
|
+
const Cn = P`
|
|
1153
1153
|
:host {
|
|
1154
1154
|
/* prettier-ignore */
|
|
1155
1155
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1169,7 +1169,7 @@ const Pn = P`
|
|
|
1169
1169
|
--lumo-line-height-s: 1.375;
|
|
1170
1170
|
--lumo-line-height-m: 1.625;
|
|
1171
1171
|
}
|
|
1172
|
-
`,
|
|
1172
|
+
`, Pn = P`
|
|
1173
1173
|
body,
|
|
1174
1174
|
:host {
|
|
1175
1175
|
font-family: var(--lumo-font-family);
|
|
@@ -1262,14 +1262,14 @@ const Pn = P`
|
|
|
1262
1262
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1263
1263
|
}
|
|
1264
1264
|
`;
|
|
1265
|
-
L("",
|
|
1266
|
-
it("typography-props",
|
|
1265
|
+
L("", Pn, { moduleId: "lumo-typography" });
|
|
1266
|
+
it("typography-props", Cn);
|
|
1267
1267
|
/**
|
|
1268
1268
|
* @license
|
|
1269
1269
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1270
1270
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1271
1271
|
*/
|
|
1272
|
-
const
|
|
1272
|
+
const us = P`
|
|
1273
1273
|
:host {
|
|
1274
1274
|
top: var(--lumo-space-m);
|
|
1275
1275
|
right: var(--lumo-space-m);
|
|
@@ -1335,13 +1335,13 @@ const ds = P`
|
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
1337
|
`;
|
|
1338
|
-
L("",
|
|
1338
|
+
L("", us, { moduleId: "lumo-overlay" });
|
|
1339
1339
|
/**
|
|
1340
1340
|
* @license
|
|
1341
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1342
1342
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1343
1343
|
*/
|
|
1344
|
-
const
|
|
1344
|
+
const ds = P`
|
|
1345
1345
|
:host([opening]),
|
|
1346
1346
|
:host([closing]) {
|
|
1347
1347
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1372,8 +1372,8 @@ const hs = P`
|
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
1374
|
`;
|
|
1375
|
-
L("",
|
|
1376
|
-
const
|
|
1375
|
+
L("", ds, { moduleId: "lumo-menu-overlay-core" });
|
|
1376
|
+
const kn = P`
|
|
1377
1377
|
/* Small viewport (bottom sheet) styles */
|
|
1378
1378
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1379
1379
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1435,9 +1435,9 @@ const Dn = P`
|
|
|
1435
1435
|
transform: translateY(150%);
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
1438
|
-
`,
|
|
1439
|
-
L("",
|
|
1440
|
-
const
|
|
1438
|
+
`, hs = [us, ds, kn];
|
|
1439
|
+
L("", hs, { moduleId: "lumo-menu-overlay" });
|
|
1440
|
+
const Dn = P`
|
|
1441
1441
|
[part='overlay'] {
|
|
1442
1442
|
/*
|
|
1443
1443
|
Width:
|
|
@@ -1483,10 +1483,10 @@ const Tn = P`
|
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
1485
|
`;
|
|
1486
|
-
L("vaadin-date-picker-overlay", [
|
|
1486
|
+
L("vaadin-date-picker-overlay", [hs, Dn], {
|
|
1487
1487
|
moduleId: "lumo-date-picker-overlay"
|
|
1488
1488
|
});
|
|
1489
|
-
const
|
|
1489
|
+
const Tn = P`
|
|
1490
1490
|
:host {
|
|
1491
1491
|
/* Sizing */
|
|
1492
1492
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1763,7 +1763,7 @@ const Mn = P`
|
|
|
1763
1763
|
margin-right: 0;
|
|
1764
1764
|
}
|
|
1765
1765
|
`;
|
|
1766
|
-
L("vaadin-button",
|
|
1766
|
+
L("vaadin-button", Tn, { moduleId: "lumo-button" });
|
|
1767
1767
|
L(
|
|
1768
1768
|
"vaadin-date-picker-year",
|
|
1769
1769
|
P`
|
|
@@ -2288,7 +2288,7 @@ L(
|
|
|
2288
2288
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2289
2289
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2290
2290
|
*/
|
|
2291
|
-
const
|
|
2291
|
+
const Mn = P`
|
|
2292
2292
|
@font-face {
|
|
2293
2293
|
font-family: 'lumo-icons';
|
|
2294
2294
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -2342,13 +2342,13 @@ const On = P`
|
|
|
2342
2342
|
--lumo-icons-user: '\\ea2a';
|
|
2343
2343
|
}
|
|
2344
2344
|
`;
|
|
2345
|
-
it("font-icons",
|
|
2345
|
+
it("font-icons", Mn);
|
|
2346
2346
|
/**
|
|
2347
2347
|
* @license
|
|
2348
2348
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2349
2349
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2350
2350
|
*/
|
|
2351
|
-
const
|
|
2351
|
+
const ps = P`
|
|
2352
2352
|
[part$='button'] {
|
|
2353
2353
|
flex: none;
|
|
2354
2354
|
width: 1em;
|
|
@@ -2376,13 +2376,13 @@ const fs = P`
|
|
|
2376
2376
|
display: block;
|
|
2377
2377
|
}
|
|
2378
2378
|
`;
|
|
2379
|
-
L("",
|
|
2379
|
+
L("", ps, { moduleId: "lumo-field-button" });
|
|
2380
2380
|
/**
|
|
2381
2381
|
* @license
|
|
2382
2382
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2383
2383
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2384
2384
|
*/
|
|
2385
|
-
const
|
|
2385
|
+
const On = P`
|
|
2386
2386
|
:host {
|
|
2387
2387
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2388
2388
|
}
|
|
@@ -2444,7 +2444,7 @@ const In = P`
|
|
|
2444
2444
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2445
2445
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2446
2446
|
*/
|
|
2447
|
-
const
|
|
2447
|
+
const fs = P`
|
|
2448
2448
|
[part='label'] {
|
|
2449
2449
|
align-self: flex-start;
|
|
2450
2450
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2557,13 +2557,13 @@ const ms = P`
|
|
|
2557
2557
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2558
2558
|
}
|
|
2559
2559
|
`;
|
|
2560
|
-
L("",
|
|
2560
|
+
L("", fs, { moduleId: "lumo-required-field" });
|
|
2561
2561
|
/**
|
|
2562
2562
|
* @license
|
|
2563
2563
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2564
2564
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2565
2565
|
*/
|
|
2566
|
-
const
|
|
2566
|
+
const In = P`
|
|
2567
2567
|
:host {
|
|
2568
2568
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2569
2569
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2694,11 +2694,11 @@ const Fn = P`
|
|
|
2694
2694
|
[part='clear-button']::before {
|
|
2695
2695
|
content: var(--lumo-icons-cross);
|
|
2696
2696
|
}
|
|
2697
|
-
`,
|
|
2698
|
-
L("",
|
|
2697
|
+
`, ms = [fs, ps, On, In];
|
|
2698
|
+
L("", ms, {
|
|
2699
2699
|
moduleId: "lumo-input-field-shared-styles"
|
|
2700
2700
|
});
|
|
2701
|
-
const
|
|
2701
|
+
const Fn = P`
|
|
2702
2702
|
[part='toggle-button']::before {
|
|
2703
2703
|
content: var(--lumo-icons-calendar);
|
|
2704
2704
|
}
|
|
@@ -2721,7 +2721,7 @@ const Nn = P`
|
|
|
2721
2721
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2722
2722
|
}
|
|
2723
2723
|
`;
|
|
2724
|
-
L("vaadin-date-picker", [
|
|
2724
|
+
L("vaadin-date-picker", [ms, Fn], { moduleId: "lumo-date-picker" });
|
|
2725
2725
|
/**
|
|
2726
2726
|
@license
|
|
2727
2727
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2743,9 +2743,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2743
2743
|
Code distributed by Google as part of the polymer project is also
|
|
2744
2744
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2745
2745
|
*/
|
|
2746
|
-
let
|
|
2746
|
+
let Nn = /(url\()([^)]*)(\))/g, zn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, St, ue;
|
|
2747
2747
|
function ht(o, t) {
|
|
2748
|
-
if (o &&
|
|
2748
|
+
if (o && zn.test(o) || o === "//")
|
|
2749
2749
|
return o;
|
|
2750
2750
|
if (St === void 0) {
|
|
2751
2751
|
St = !1;
|
|
@@ -2764,7 +2764,7 @@ function ht(o, t) {
|
|
|
2764
2764
|
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;
|
|
2765
2765
|
}
|
|
2766
2766
|
function Bi(o, t) {
|
|
2767
|
-
return o.replace(
|
|
2767
|
+
return o.replace(Nn, function(e, i, s, r) {
|
|
2768
2768
|
return i + "'" + ht(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2769
2769
|
});
|
|
2770
2770
|
}
|
|
@@ -2780,9 +2780,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2780
2780
|
Code distributed by Google as part of the polymer project is also
|
|
2781
2781
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2782
2782
|
*/
|
|
2783
|
-
const
|
|
2783
|
+
const _s = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2784
2784
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2785
|
-
const
|
|
2785
|
+
const Ln = _s && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2786
2786
|
(() => {
|
|
2787
2787
|
try {
|
|
2788
2788
|
const o = new CSSStyleSheet();
|
|
@@ -2793,11 +2793,11 @@ const Rn = gs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2793
2793
|
return !1;
|
|
2794
2794
|
}
|
|
2795
2795
|
})();
|
|
2796
|
-
let
|
|
2796
|
+
let Rn = window.Polymer && window.Polymer.rootPath || Hi(document.baseURI || window.location.href), Ft = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2797
2797
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2798
|
-
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2798
|
+
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Bn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, gs = window.Polymer && window.Polymer.legacyOptimizations || !1, bs = window.Polymer && window.Polymer.legacyWarnings || !1, Hn = window.Polymer && window.Polymer.syncInitialRender || !1, pi = window.Polymer && window.Polymer.legacyUndefined || !1, $n = window.Polymer && window.Polymer.orderedComputed || !1, go = window.Polymer && window.Polymer.removeNestedTemplates || !1, Yn = window.Polymer && window.Polymer.fastDomIf || !1, bo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2799
2799
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2800
|
-
let
|
|
2800
|
+
let jn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2801
2801
|
/**
|
|
2802
2802
|
@license
|
|
2803
2803
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2807,14 +2807,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2807
2807
|
Code distributed by Google as part of the polymer project is also
|
|
2808
2808
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2809
2809
|
*/
|
|
2810
|
-
let
|
|
2810
|
+
let Vn = 0;
|
|
2811
2811
|
const V = function(o) {
|
|
2812
2812
|
let t = (
|
|
2813
2813
|
/** @type {!MixinFunction} */
|
|
2814
2814
|
o.__mixinApplications
|
|
2815
2815
|
);
|
|
2816
2816
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2817
|
-
let e =
|
|
2817
|
+
let e = Vn++;
|
|
2818
2818
|
function i(s) {
|
|
2819
2819
|
let r = (
|
|
2820
2820
|
/** @type {!MixinFunction} */
|
|
@@ -2849,10 +2849,10 @@ let $i = {}, ys = {};
|
|
|
2849
2849
|
function yo(o, t) {
|
|
2850
2850
|
$i[o] = ys[o.toLowerCase()] = t;
|
|
2851
2851
|
}
|
|
2852
|
-
function
|
|
2852
|
+
function vo(o) {
|
|
2853
2853
|
return $i[o] || ys[o.toLowerCase()];
|
|
2854
2854
|
}
|
|
2855
|
-
function
|
|
2855
|
+
function Un(o) {
|
|
2856
2856
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2857
2857
|
}
|
|
2858
2858
|
class _t extends HTMLElement {
|
|
@@ -2873,7 +2873,7 @@ class _t extends HTMLElement {
|
|
|
2873
2873
|
*/
|
|
2874
2874
|
static import(t, e) {
|
|
2875
2875
|
if (t) {
|
|
2876
|
-
let i =
|
|
2876
|
+
let i = vo(t);
|
|
2877
2877
|
return i && e ? i.querySelector(e) : i;
|
|
2878
2878
|
}
|
|
2879
2879
|
return null;
|
|
@@ -2921,9 +2921,9 @@ class _t extends HTMLElement {
|
|
|
2921
2921
|
*/
|
|
2922
2922
|
register(t) {
|
|
2923
2923
|
if (t = t || this.id, t) {
|
|
2924
|
-
if (Nt &&
|
|
2924
|
+
if (Nt && vo(t) !== void 0)
|
|
2925
2925
|
throw yo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2926
|
-
this.id = t, yo(t, this),
|
|
2926
|
+
this.id = t, yo(t, this), Un(this);
|
|
2927
2927
|
}
|
|
2928
2928
|
}
|
|
2929
2929
|
}
|
|
@@ -2938,14 +2938,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2938
2938
|
Code distributed by Google as part of the polymer project is also
|
|
2939
2939
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2940
2940
|
*/
|
|
2941
|
-
const
|
|
2942
|
-
function
|
|
2941
|
+
const Wn = "link[rel=import][type~=css]", qn = "include", xo = "shady-unscoped";
|
|
2942
|
+
function vs(o) {
|
|
2943
2943
|
return (
|
|
2944
2944
|
/** @type {?DomModule} */
|
|
2945
2945
|
_t.import(o)
|
|
2946
2946
|
);
|
|
2947
2947
|
}
|
|
2948
|
-
function
|
|
2948
|
+
function wo(o) {
|
|
2949
2949
|
let t = o.body ? o.body : o;
|
|
2950
2950
|
const e = Bi(
|
|
2951
2951
|
t.textContent,
|
|
@@ -2953,24 +2953,24 @@ function Eo(o) {
|
|
|
2953
2953
|
), i = document.createElement("style");
|
|
2954
2954
|
return i.textContent = e, i;
|
|
2955
2955
|
}
|
|
2956
|
-
function
|
|
2956
|
+
function Kn(o) {
|
|
2957
2957
|
const t = o.trim().split(/\s+/), e = [];
|
|
2958
2958
|
for (let i = 0; i < t.length; i++)
|
|
2959
|
-
e.push(...
|
|
2959
|
+
e.push(...Gn(t[i]));
|
|
2960
2960
|
return e;
|
|
2961
2961
|
}
|
|
2962
|
-
function
|
|
2963
|
-
const t =
|
|
2962
|
+
function Gn(o) {
|
|
2963
|
+
const t = vs(o);
|
|
2964
2964
|
if (!t)
|
|
2965
2965
|
return console.warn("Could not find style data in module named", o), [];
|
|
2966
2966
|
if (t._styles === void 0) {
|
|
2967
2967
|
const e = [];
|
|
2968
|
-
e.push(...
|
|
2968
|
+
e.push(...ws(t));
|
|
2969
2969
|
const i = (
|
|
2970
2970
|
/** @type {?HTMLTemplateElement} */
|
|
2971
2971
|
t.querySelector("template")
|
|
2972
2972
|
);
|
|
2973
|
-
i && e.push(...
|
|
2973
|
+
i && e.push(...xs(
|
|
2974
2974
|
i,
|
|
2975
2975
|
/** @type {templateWithAssetPath} */
|
|
2976
2976
|
t.assetpath
|
|
@@ -2978,12 +2978,12 @@ function Jn(o) {
|
|
|
2978
2978
|
}
|
|
2979
2979
|
return t._styles;
|
|
2980
2980
|
}
|
|
2981
|
-
function
|
|
2981
|
+
function xs(o, t) {
|
|
2982
2982
|
if (!o._styles) {
|
|
2983
2983
|
const e = [], i = o.content.querySelectorAll("style");
|
|
2984
2984
|
for (let s = 0; s < i.length; s++) {
|
|
2985
|
-
let r = i[s], n = r.getAttribute(
|
|
2986
|
-
n && e.push(...
|
|
2985
|
+
let r = i[s], n = r.getAttribute(qn);
|
|
2986
|
+
n && e.push(...Kn(n).filter(function(a, l, c) {
|
|
2987
2987
|
return c.indexOf(a) === l;
|
|
2988
2988
|
})), t && (r.textContent = Bi(
|
|
2989
2989
|
r.textContent,
|
|
@@ -2995,21 +2995,21 @@ function ws(o, t) {
|
|
|
2995
2995
|
}
|
|
2996
2996
|
return o._styles;
|
|
2997
2997
|
}
|
|
2998
|
-
function
|
|
2999
|
-
let t =
|
|
3000
|
-
return t ?
|
|
2998
|
+
function Jn(o) {
|
|
2999
|
+
let t = vs(o);
|
|
3000
|
+
return t ? ws(t) : [];
|
|
3001
3001
|
}
|
|
3002
|
-
function
|
|
3003
|
-
const t = [], e = o.querySelectorAll(
|
|
3002
|
+
function ws(o) {
|
|
3003
|
+
const t = [], e = o.querySelectorAll(Wn);
|
|
3004
3004
|
for (let i = 0; i < e.length; i++) {
|
|
3005
3005
|
let s = e[i];
|
|
3006
3006
|
if (s.import) {
|
|
3007
|
-
const r = s.import, n = s.hasAttribute(
|
|
3007
|
+
const r = s.import, n = s.hasAttribute(xo);
|
|
3008
3008
|
if (n && !r._unscopedStyle) {
|
|
3009
|
-
const a =
|
|
3010
|
-
a.setAttribute(
|
|
3009
|
+
const a = wo(r);
|
|
3010
|
+
a.setAttribute(xo, ""), r._unscopedStyle = a;
|
|
3011
3011
|
} else
|
|
3012
|
-
r._style || (r._style =
|
|
3012
|
+
r._style || (r._style = wo(r));
|
|
3013
3013
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3014
3014
|
}
|
|
3015
3015
|
}
|
|
@@ -3041,7 +3041,7 @@ function je(o) {
|
|
|
3041
3041
|
let t = o.indexOf(".");
|
|
3042
3042
|
return t === -1 ? o : o.slice(0, t);
|
|
3043
3043
|
}
|
|
3044
|
-
function
|
|
3044
|
+
function Es(o, t) {
|
|
3045
3045
|
return o.indexOf(t + ".") === 0;
|
|
3046
3046
|
}
|
|
3047
3047
|
function gt(o, t) {
|
|
@@ -3050,8 +3050,8 @@ function gt(o, t) {
|
|
|
3050
3050
|
function bt(o, t, e) {
|
|
3051
3051
|
return t + e.slice(o.length);
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3054
|
-
return o === t ||
|
|
3053
|
+
function Xn(o, t) {
|
|
3054
|
+
return o === t || Es(o, t) || gt(o, t);
|
|
3055
3055
|
}
|
|
3056
3056
|
function ct(o) {
|
|
3057
3057
|
if (Array.isArray(o)) {
|
|
@@ -3065,11 +3065,11 @@ function ct(o) {
|
|
|
3065
3065
|
} else
|
|
3066
3066
|
return o;
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3068
|
+
function Ss(o) {
|
|
3069
3069
|
return Array.isArray(o) ? ct(o).split(".") : o.toString().split(".");
|
|
3070
3070
|
}
|
|
3071
3071
|
function se(o, t, e) {
|
|
3072
|
-
let i = o, s =
|
|
3072
|
+
let i = o, s = Ss(t);
|
|
3073
3073
|
for (let r = 0; r < s.length; r++) {
|
|
3074
3074
|
if (!i)
|
|
3075
3075
|
return;
|
|
@@ -3078,8 +3078,8 @@ function se(o, t, e) {
|
|
|
3078
3078
|
}
|
|
3079
3079
|
return e && (e.path = s.join(".")), i;
|
|
3080
3080
|
}
|
|
3081
|
-
function
|
|
3082
|
-
let i = o, s =
|
|
3081
|
+
function Eo(o, t, e) {
|
|
3082
|
+
let i = o, s = Ss(t), r = s[s.length - 1];
|
|
3083
3083
|
if (s.length > 1) {
|
|
3084
3084
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3085
3085
|
let a = s[n];
|
|
@@ -3100,15 +3100,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3100
3100
|
Code distributed by Google as part of the polymer project is also
|
|
3101
3101
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3102
3102
|
*/
|
|
3103
|
-
const zt = {},
|
|
3104
|
-
function
|
|
3103
|
+
const zt = {}, Zn = /-[a-z]/g, Qn = /([A-Z])/g;
|
|
3104
|
+
function As(o) {
|
|
3105
3105
|
return zt[o] || (zt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3106
|
-
|
|
3106
|
+
Zn,
|
|
3107
3107
|
(t) => t[1].toUpperCase()
|
|
3108
3108
|
));
|
|
3109
3109
|
}
|
|
3110
3110
|
function Yt(o) {
|
|
3111
|
-
return zt[o] || (zt[o] = o.replace(
|
|
3111
|
+
return zt[o] || (zt[o] = o.replace(Qn, "-$1").toLowerCase());
|
|
3112
3112
|
}
|
|
3113
3113
|
/**
|
|
3114
3114
|
@license
|
|
@@ -3119,9 +3119,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3119
3119
|
Code distributed by Google as part of the polymer project is also
|
|
3120
3120
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3121
3121
|
*/
|
|
3122
|
-
let
|
|
3123
|
-
new window.MutationObserver(
|
|
3124
|
-
function
|
|
3122
|
+
let ea = 0, Cs = 0, Ge = [], ta = 0, mi = !1, Ps = document.createTextNode("");
|
|
3123
|
+
new window.MutationObserver(ia).observe(Ps, { characterData: !0 });
|
|
3124
|
+
function ia() {
|
|
3125
3125
|
mi = !1;
|
|
3126
3126
|
const o = Ge.length;
|
|
3127
3127
|
for (let t = 0; t < o; t++) {
|
|
@@ -3135,9 +3135,9 @@ function oa() {
|
|
|
3135
3135
|
});
|
|
3136
3136
|
}
|
|
3137
3137
|
}
|
|
3138
|
-
Ge.splice(0, o),
|
|
3138
|
+
Ge.splice(0, o), Cs += o;
|
|
3139
3139
|
}
|
|
3140
|
-
const
|
|
3140
|
+
const oa = {
|
|
3141
3141
|
/**
|
|
3142
3142
|
* Returns a sub-module with the async interface providing the provided
|
|
3143
3143
|
* delay.
|
|
@@ -3177,7 +3177,7 @@ const sa = {
|
|
|
3177
3177
|
cancel(o) {
|
|
3178
3178
|
window.clearTimeout(o);
|
|
3179
3179
|
}
|
|
3180
|
-
},
|
|
3180
|
+
}, ks = {
|
|
3181
3181
|
/**
|
|
3182
3182
|
* Enqueues a function called at microtask timing.
|
|
3183
3183
|
*
|
|
@@ -3186,7 +3186,7 @@ const sa = {
|
|
|
3186
3186
|
* @return {number} Handle used for canceling task
|
|
3187
3187
|
*/
|
|
3188
3188
|
run(o) {
|
|
3189
|
-
return mi || (mi = !0,
|
|
3189
|
+
return mi || (mi = !0, Ps.textContent = ta++), Ge.push(o), ea++;
|
|
3190
3190
|
},
|
|
3191
3191
|
/**
|
|
3192
3192
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3196,7 +3196,7 @@ const sa = {
|
|
|
3196
3196
|
* @return {void}
|
|
3197
3197
|
*/
|
|
3198
3198
|
cancel(o) {
|
|
3199
|
-
const t = o -
|
|
3199
|
+
const t = o - Cs;
|
|
3200
3200
|
if (t >= 0) {
|
|
3201
3201
|
if (!Ge[t])
|
|
3202
3202
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3213,7 +3213,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3213
3213
|
Code distributed by Google as part of the polymer project is also
|
|
3214
3214
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3215
3215
|
*/
|
|
3216
|
-
const
|
|
3216
|
+
const sa = ks, Ds = V(
|
|
3217
3217
|
/**
|
|
3218
3218
|
* @template T
|
|
3219
3219
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3422,7 +3422,7 @@ const ra = Ds, Ts = V(
|
|
|
3422
3422
|
* @override
|
|
3423
3423
|
*/
|
|
3424
3424
|
_invalidateProperties() {
|
|
3425
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3425
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, sa.run(() => {
|
|
3426
3426
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3427
3427
|
}));
|
|
3428
3428
|
}
|
|
@@ -3649,23 +3649,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3649
3649
|
Code distributed by Google as part of the polymer project is also
|
|
3650
3650
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3651
3651
|
*/
|
|
3652
|
-
const
|
|
3652
|
+
const Ts = {};
|
|
3653
3653
|
let At = HTMLElement.prototype;
|
|
3654
3654
|
for (; At; ) {
|
|
3655
3655
|
let o = Object.getOwnPropertyNames(At);
|
|
3656
3656
|
for (let t = 0; t < o.length; t++)
|
|
3657
|
-
|
|
3657
|
+
Ts[o[t]] = !0;
|
|
3658
3658
|
At = Object.getPrototypeOf(At);
|
|
3659
3659
|
}
|
|
3660
|
-
const
|
|
3661
|
-
function
|
|
3662
|
-
if (!
|
|
3660
|
+
const ra = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3661
|
+
function na(o, t) {
|
|
3662
|
+
if (!Ts[t]) {
|
|
3663
3663
|
let e = o[t];
|
|
3664
3664
|
e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
|
|
3665
3665
|
}
|
|
3666
3666
|
}
|
|
3667
|
-
const
|
|
3668
|
-
const t =
|
|
3667
|
+
const aa = V((o) => {
|
|
3668
|
+
const t = Ds(o);
|
|
3669
3669
|
class e extends t {
|
|
3670
3670
|
/**
|
|
3671
3671
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3683,7 +3683,7 @@ const la = V((o) => {
|
|
|
3683
3683
|
this.observedAttributes
|
|
3684
3684
|
);
|
|
3685
3685
|
for (let r = 0; r < s.length; r++)
|
|
3686
|
-
this.prototype._createPropertyAccessor(
|
|
3686
|
+
this.prototype._createPropertyAccessor(As(s[r]));
|
|
3687
3687
|
}
|
|
3688
3688
|
/**
|
|
3689
3689
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3760,7 +3760,7 @@ const la = V((o) => {
|
|
|
3760
3760
|
if (s instanceof Date)
|
|
3761
3761
|
return s.toString();
|
|
3762
3762
|
if (s) {
|
|
3763
|
-
if (
|
|
3763
|
+
if (ra(s))
|
|
3764
3764
|
return (
|
|
3765
3765
|
/** @type {?} */
|
|
3766
3766
|
s
|
|
@@ -3841,7 +3841,7 @@ const la = V((o) => {
|
|
|
3841
3841
|
* @override
|
|
3842
3842
|
*/
|
|
3843
3843
|
_definePropertyAccessor(s, r) {
|
|
3844
|
-
|
|
3844
|
+
na(this, s), super._definePropertyAccessor(s, r);
|
|
3845
3845
|
}
|
|
3846
3846
|
/**
|
|
3847
3847
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3876,23 +3876,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3876
3876
|
Code distributed by Google as part of the polymer project is also
|
|
3877
3877
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3878
3878
|
*/
|
|
3879
|
-
const
|
|
3879
|
+
const la = {
|
|
3880
3880
|
"dom-if": !0,
|
|
3881
3881
|
"dom-repeat": !0
|
|
3882
3882
|
};
|
|
3883
|
-
let
|
|
3884
|
-
function
|
|
3885
|
-
if (!
|
|
3886
|
-
|
|
3883
|
+
let So = !1, Ao = !1;
|
|
3884
|
+
function ca() {
|
|
3885
|
+
if (!So) {
|
|
3886
|
+
So = !0;
|
|
3887
3887
|
const o = document.createElement("textarea");
|
|
3888
|
-
o.placeholder = "a",
|
|
3888
|
+
o.placeholder = "a", Ao = o.placeholder === o.textContent;
|
|
3889
3889
|
}
|
|
3890
|
-
return
|
|
3890
|
+
return Ao;
|
|
3891
3891
|
}
|
|
3892
|
-
function
|
|
3893
|
-
|
|
3892
|
+
function ua(o) {
|
|
3893
|
+
ca() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3894
3894
|
}
|
|
3895
|
-
const
|
|
3895
|
+
const da = (() => {
|
|
3896
3896
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3897
3897
|
"polymer-template-event-attribute-policy",
|
|
3898
3898
|
{
|
|
@@ -3911,19 +3911,19 @@ const ha = (() => {
|
|
|
3911
3911
|
t.setAttribute(i, s);
|
|
3912
3912
|
};
|
|
3913
3913
|
})();
|
|
3914
|
-
function
|
|
3914
|
+
function ha(o) {
|
|
3915
3915
|
let t = o.getAttribute("is");
|
|
3916
|
-
if (t &&
|
|
3916
|
+
if (t && la[t]) {
|
|
3917
3917
|
let e = o;
|
|
3918
3918
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3919
3919
|
const { name: i } = e.attributes[0];
|
|
3920
|
-
|
|
3920
|
+
da(o, e, i), e.removeAttribute(i);
|
|
3921
3921
|
}
|
|
3922
3922
|
}
|
|
3923
3923
|
return o;
|
|
3924
3924
|
}
|
|
3925
|
-
function
|
|
3926
|
-
let e = t.parentInfo &&
|
|
3925
|
+
function Ms(o, t) {
|
|
3926
|
+
let e = t.parentInfo && Ms(o, t.parentInfo);
|
|
3927
3927
|
if (e) {
|
|
3928
3928
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
3929
3929
|
if (t.parentIndex === s++)
|
|
@@ -3931,23 +3931,23 @@ function Os(o, t) {
|
|
|
3931
3931
|
} else
|
|
3932
3932
|
return o;
|
|
3933
3933
|
}
|
|
3934
|
-
function
|
|
3934
|
+
function pa(o, t, e, i) {
|
|
3935
3935
|
i.id && (t[i.id] = e);
|
|
3936
3936
|
}
|
|
3937
|
-
function
|
|
3937
|
+
function fa(o, t, e) {
|
|
3938
3938
|
if (e.events && e.events.length)
|
|
3939
3939
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
3940
3940
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
3941
3941
|
}
|
|
3942
|
-
function
|
|
3942
|
+
function ma(o, t, e, i) {
|
|
3943
3943
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
3944
3944
|
}
|
|
3945
|
-
function
|
|
3945
|
+
function _a(o, t, e) {
|
|
3946
3946
|
return o = o._methodHost || o, function(s) {
|
|
3947
3947
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3948
3948
|
};
|
|
3949
3949
|
}
|
|
3950
|
-
const
|
|
3950
|
+
const ga = V(
|
|
3951
3951
|
/**
|
|
3952
3952
|
* @template T
|
|
3953
3953
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4074,7 +4074,7 @@ const ba = V(
|
|
|
4074
4074
|
/** @type {!HTMLTemplateElement} */
|
|
4075
4075
|
i
|
|
4076
4076
|
);
|
|
4077
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4077
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), ua(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4078
4078
|
}
|
|
4079
4079
|
/**
|
|
4080
4080
|
* Parses template child nodes for the given root node.
|
|
@@ -4092,7 +4092,7 @@ const ba = V(
|
|
|
4092
4092
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4093
4093
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4094
4094
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4095
|
-
if (n.localName == "template" && (n =
|
|
4095
|
+
if (n.localName == "template" && (n = ha(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4096
4096
|
let u = l;
|
|
4097
4097
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4098
4098
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4227,8 +4227,8 @@ const ba = V(
|
|
|
4227
4227
|
let l = a.nodeList = new Array(r.length);
|
|
4228
4228
|
a.$ = {};
|
|
4229
4229
|
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4230
|
-
let h = l[c] =
|
|
4231
|
-
|
|
4230
|
+
let h = l[c] = Ms(a, d);
|
|
4231
|
+
pa(this, a.$, h, d), ma(this, h, d, s), fa(this, h, d);
|
|
4232
4232
|
}
|
|
4233
4233
|
return a = /** @type {!StampedTemplate} */
|
|
4234
4234
|
a, a;
|
|
@@ -4249,7 +4249,7 @@ const ba = V(
|
|
|
4249
4249
|
*/
|
|
4250
4250
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4251
4251
|
n = n || i;
|
|
4252
|
-
let a =
|
|
4252
|
+
let a = _a(n, s, r);
|
|
4253
4253
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4254
4254
|
}
|
|
4255
4255
|
/**
|
|
@@ -4291,15 +4291,15 @@ const ba = V(
|
|
|
4291
4291
|
* Google as part of the polymer project is also subject to an additional IP
|
|
4292
4292
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4293
4293
|
*/
|
|
4294
|
-
let
|
|
4295
|
-
const
|
|
4294
|
+
let yt = 0;
|
|
4295
|
+
const vt = [], D = {
|
|
4296
4296
|
COMPUTE: "__computeEffects",
|
|
4297
4297
|
REFLECT: "__reflectEffects",
|
|
4298
4298
|
NOTIFY: "__notifyEffects",
|
|
4299
4299
|
PROPAGATE: "__propagateEffects",
|
|
4300
4300
|
OBSERVE: "__observeEffects",
|
|
4301
4301
|
READ_ONLY: "__readOnly"
|
|
4302
|
-
},
|
|
4302
|
+
}, Os = "__computeInfo", ba = /[A-Z]/;
|
|
4303
4303
|
function Gt(o, t, e) {
|
|
4304
4304
|
let i = o[t];
|
|
4305
4305
|
if (!i)
|
|
@@ -4315,7 +4315,7 @@ function Gt(o, t, e) {
|
|
|
4315
4315
|
function ut(o, t, e, i, s, r) {
|
|
4316
4316
|
if (t) {
|
|
4317
4317
|
let n = !1;
|
|
4318
|
-
const a =
|
|
4318
|
+
const a = yt++;
|
|
4319
4319
|
for (let l in e) {
|
|
4320
4320
|
let c = s ? je(l) : l, u = t[c];
|
|
4321
4321
|
if (u)
|
|
@@ -4339,30 +4339,30 @@ function Yi(o, t) {
|
|
|
4339
4339
|
/** @type {string} */
|
|
4340
4340
|
t.name
|
|
4341
4341
|
);
|
|
4342
|
-
return e == o || !!(t.structured &&
|
|
4342
|
+
return e == o || !!(t.structured && Es(e, o)) || !!(t.wildcard && gt(e, o));
|
|
4343
4343
|
} else
|
|
4344
4344
|
return !0;
|
|
4345
4345
|
}
|
|
4346
|
-
function
|
|
4346
|
+
function Co(o, t, e, i, s) {
|
|
4347
4347
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4348
4348
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4349
4349
|
}
|
|
4350
|
-
function
|
|
4351
|
-
let r = o[D.NOTIFY], n, a =
|
|
4350
|
+
function va(o, t, e, i, s) {
|
|
4351
|
+
let r = o[D.NOTIFY], n, a = yt++;
|
|
4352
4352
|
for (let c in t)
|
|
4353
|
-
t[c] && (r && ya(o, r, a, c, e, i, s) || s &&
|
|
4353
|
+
t[c] && (r && ya(o, r, a, c, e, i, s) || s && xa(o, c, e)) && (n = !0);
|
|
4354
4354
|
let l;
|
|
4355
4355
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4356
4356
|
}
|
|
4357
|
-
function
|
|
4357
|
+
function xa(o, t, e) {
|
|
4358
4358
|
let i = je(t);
|
|
4359
4359
|
if (i !== t) {
|
|
4360
4360
|
let s = Yt(i) + "-changed";
|
|
4361
|
-
return
|
|
4361
|
+
return Is(o, s, e[t], t), !0;
|
|
4362
4362
|
}
|
|
4363
4363
|
return !1;
|
|
4364
4364
|
}
|
|
4365
|
-
function
|
|
4365
|
+
function Is(o, t, e, i) {
|
|
4366
4366
|
let s = {
|
|
4367
4367
|
value: e,
|
|
4368
4368
|
queueProperty: !0
|
|
@@ -4372,18 +4372,18 @@ function Fs(o, t, e, i) {
|
|
|
4372
4372
|
o
|
|
4373
4373
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4374
4374
|
}
|
|
4375
|
-
function
|
|
4375
|
+
function wa(o, t, e, i, s, r) {
|
|
4376
4376
|
let a = (r ? je(t) : t) != t ? t : null, l = a ? se(o, a) : o.__data[t];
|
|
4377
|
-
a && l === void 0 && (l = e[t]),
|
|
4377
|
+
a && l === void 0 && (l = e[t]), Is(o, s.eventName, l, a);
|
|
4378
4378
|
}
|
|
4379
|
-
function
|
|
4379
|
+
function Ea(o, t, e, i, s) {
|
|
4380
4380
|
let r, n = (
|
|
4381
4381
|
/** @type {Object} */
|
|
4382
4382
|
o.detail
|
|
4383
4383
|
), a = n && n.path;
|
|
4384
4384
|
a ? (i = bt(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();
|
|
4385
4385
|
}
|
|
4386
|
-
function
|
|
4386
|
+
function Sa(o, t, e, i, s) {
|
|
4387
4387
|
let r = o.__data[t];
|
|
4388
4388
|
Ft && (r = Ft(
|
|
4389
4389
|
r,
|
|
@@ -4393,17 +4393,17 @@ function Aa(o, t, e, i, s) {
|
|
|
4393
4393
|
o
|
|
4394
4394
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4395
4395
|
}
|
|
4396
|
-
function
|
|
4396
|
+
function Aa(o, t, e, i) {
|
|
4397
4397
|
let s = o[D.COMPUTE];
|
|
4398
4398
|
if (s)
|
|
4399
|
-
if (
|
|
4400
|
-
|
|
4401
|
-
const r =
|
|
4399
|
+
if ($n) {
|
|
4400
|
+
yt++;
|
|
4401
|
+
const r = Pa(o), n = [];
|
|
4402
4402
|
for (let l in t)
|
|
4403
|
-
|
|
4403
|
+
Po(l, s, n, r, i);
|
|
4404
4404
|
let a;
|
|
4405
4405
|
for (; a = n.shift(); )
|
|
4406
|
-
|
|
4406
|
+
Fs(o, "", t, e, a) && Po(a.methodInfo, s, n, r, i);
|
|
4407
4407
|
Object.assign(
|
|
4408
4408
|
/** @type {!Object} */
|
|
4409
4409
|
e,
|
|
@@ -4427,7 +4427,7 @@ function Ca(o, t, e, i) {
|
|
|
4427
4427
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4428
4428
|
}
|
|
4429
4429
|
}
|
|
4430
|
-
const
|
|
4430
|
+
const Ca = (o, t, e) => {
|
|
4431
4431
|
let i = 0, s = t.length - 1, r = -1;
|
|
4432
4432
|
for (; i <= s; ) {
|
|
4433
4433
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4441,20 +4441,20 @@ const Pa = (o, t, e) => {
|
|
|
4441
4441
|
}
|
|
4442
4442
|
}
|
|
4443
4443
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4444
|
-
},
|
|
4444
|
+
}, Po = (o, t, e, i, s) => {
|
|
4445
4445
|
const r = s ? je(o) : o, n = t[r];
|
|
4446
4446
|
if (n)
|
|
4447
4447
|
for (let a = 0; a < n.length; a++) {
|
|
4448
4448
|
const l = n[a];
|
|
4449
|
-
l.info.lastRun !==
|
|
4449
|
+
l.info.lastRun !== yt && (!s || Yi(o, l.trigger)) && (l.info.lastRun = yt, Ca(l.info, e, i));
|
|
4450
4450
|
}
|
|
4451
4451
|
};
|
|
4452
|
-
function
|
|
4452
|
+
function Pa(o) {
|
|
4453
4453
|
let t = o.constructor.__orderedComputedDeps;
|
|
4454
4454
|
if (!t) {
|
|
4455
4455
|
t = /* @__PURE__ */ new Map();
|
|
4456
4456
|
const e = o[D.COMPUTE];
|
|
4457
|
-
let { counts: i, ready: s, total: r } =
|
|
4457
|
+
let { counts: i, ready: s, total: r } = ka(o), n;
|
|
4458
4458
|
for (; n = s.shift(); ) {
|
|
4459
4459
|
t.set(n, t.size);
|
|
4460
4460
|
const a = e[n];
|
|
@@ -4468,8 +4468,8 @@ function ka(o) {
|
|
|
4468
4468
|
}
|
|
4469
4469
|
return t;
|
|
4470
4470
|
}
|
|
4471
|
-
function
|
|
4472
|
-
const t = o[
|
|
4471
|
+
function ka(o) {
|
|
4472
|
+
const t = o[Os], e = {}, i = o[D.COMPUTE], s = [];
|
|
4473
4473
|
let r = 0;
|
|
4474
4474
|
for (let n in t) {
|
|
4475
4475
|
const a = t[n];
|
|
@@ -4479,14 +4479,14 @@ function Da(o) {
|
|
|
4479
4479
|
t[n] || s.push(n);
|
|
4480
4480
|
return { counts: e, ready: s, total: r };
|
|
4481
4481
|
}
|
|
4482
|
-
function
|
|
4482
|
+
function Fs(o, t, e, i, s) {
|
|
4483
4483
|
let r = _i(o, t, e, i, s);
|
|
4484
|
-
if (r ===
|
|
4484
|
+
if (r === vt)
|
|
4485
4485
|
return !1;
|
|
4486
4486
|
let n = s.methodInfo;
|
|
4487
4487
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4488
4488
|
}
|
|
4489
|
-
function
|
|
4489
|
+
function Da(o, t, e) {
|
|
4490
4490
|
let i = o.__dataLinkedPaths;
|
|
4491
4491
|
if (i) {
|
|
4492
4492
|
let s;
|
|
@@ -4499,17 +4499,17 @@ function Ta(o, t, e) {
|
|
|
4499
4499
|
function Jt(o, t, e, i, s, r, n) {
|
|
4500
4500
|
e.bindings = e.bindings || [];
|
|
4501
4501
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4502
|
-
if (e.bindings.push(a),
|
|
4502
|
+
if (e.bindings.push(a), Fa(a)) {
|
|
4503
4503
|
let { event: c, negate: u } = a.parts[0];
|
|
4504
4504
|
a.listenerEvent = c || Yt(s) + "-changed", a.listenerNegate = u;
|
|
4505
4505
|
}
|
|
4506
4506
|
let l = t.nodeInfoList.length;
|
|
4507
4507
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4508
4508
|
let u = a.parts[c];
|
|
4509
|
-
u.compoundIndex = c,
|
|
4509
|
+
u.compoundIndex = c, Ta(o, t, a, u, l);
|
|
4510
4510
|
}
|
|
4511
4511
|
}
|
|
4512
|
-
function
|
|
4512
|
+
function Ta(o, t, e, i, s) {
|
|
4513
4513
|
if (!i.literal)
|
|
4514
4514
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4515
4515
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4517,26 +4517,26 @@ function Ma(o, t, e, i, s) {
|
|
|
4517
4517
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4518
4518
|
for (let a = 0; a < r.length; a++) {
|
|
4519
4519
|
let l = r[a];
|
|
4520
|
-
typeof l == "string" && (l =
|
|
4521
|
-
fn:
|
|
4520
|
+
typeof l == "string" && (l = zs(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4521
|
+
fn: Ma,
|
|
4522
4522
|
info: n,
|
|
4523
4523
|
trigger: l
|
|
4524
4524
|
});
|
|
4525
4525
|
}
|
|
4526
4526
|
}
|
|
4527
4527
|
}
|
|
4528
|
-
function
|
|
4528
|
+
function Ma(o, t, e, i, s, r, n) {
|
|
4529
4529
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4530
4530
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4531
4531
|
let u = e[t];
|
|
4532
4532
|
t = bt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4533
4533
|
} else {
|
|
4534
4534
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4535
|
-
u !==
|
|
4535
|
+
u !== vt && Oa(o, a, l, c, u);
|
|
4536
4536
|
}
|
|
4537
4537
|
}
|
|
4538
|
-
function
|
|
4539
|
-
if (s =
|
|
4538
|
+
function Oa(o, t, e, i, s) {
|
|
4539
|
+
if (s = Ia(t, s, e, i), Ft && (s = Ft(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4540
4540
|
o._valueToNodeAttribute(
|
|
4541
4541
|
/** @type {Element} */
|
|
4542
4542
|
t,
|
|
@@ -4548,17 +4548,17 @@ function Ia(o, t, e, i, s) {
|
|
|
4548
4548
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[D.READ_ONLY] || !t[D.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4549
4549
|
}
|
|
4550
4550
|
}
|
|
4551
|
-
function
|
|
4551
|
+
function Ia(o, t, e, i) {
|
|
4552
4552
|
if (e.isCompound) {
|
|
4553
4553
|
let s = o.__dataCompoundStorage[e.target];
|
|
4554
4554
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4555
4555
|
}
|
|
4556
4556
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4557
4557
|
}
|
|
4558
|
-
function
|
|
4558
|
+
function Fa(o) {
|
|
4559
4559
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function Na(o, t) {
|
|
4562
4562
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4563
4563
|
if (i.length)
|
|
4564
4564
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4566,12 +4566,12 @@ function za(o, t) {
|
|
|
4566
4566
|
if (a)
|
|
4567
4567
|
for (let l = 0; l < a.length; l++) {
|
|
4568
4568
|
let c = a[l];
|
|
4569
|
-
|
|
4569
|
+
za(n, c), La(n, o, c);
|
|
4570
4570
|
}
|
|
4571
4571
|
n.__dataHost = o;
|
|
4572
4572
|
}
|
|
4573
4573
|
}
|
|
4574
|
-
function
|
|
4574
|
+
function za(o, t) {
|
|
4575
4575
|
if (t.isCompound) {
|
|
4576
4576
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4577
4577
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4580,15 +4580,15 @@ function La(o, t) {
|
|
|
4580
4580
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = K(o)), o[r] = t.literal);
|
|
4581
4581
|
}
|
|
4582
4582
|
}
|
|
4583
|
-
function
|
|
4583
|
+
function La(o, t, e) {
|
|
4584
4584
|
if (e.listenerEvent) {
|
|
4585
4585
|
let i = e.parts[0];
|
|
4586
4586
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4587
|
-
|
|
4587
|
+
Ea(s, t, e.target, i.source, i.negate);
|
|
4588
4588
|
});
|
|
4589
4589
|
}
|
|
4590
4590
|
}
|
|
4591
|
-
function
|
|
4591
|
+
function ko(o, t, e, i, s, r) {
|
|
4592
4592
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4593
4593
|
let n = {
|
|
4594
4594
|
methodName: t.methodName,
|
|
@@ -4611,12 +4611,12 @@ function _i(o, t, e, i, s) {
|
|
|
4611
4611
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
4612
4612
|
if (n) {
|
|
4613
4613
|
let a = o._marshalArgs(s.args, t, e);
|
|
4614
|
-
return a ===
|
|
4614
|
+
return a === vt ? vt : n.apply(r, a);
|
|
4615
4615
|
} else
|
|
4616
4616
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4617
4617
|
}
|
|
4618
|
-
const
|
|
4619
|
-
function
|
|
4618
|
+
const Ra = [], Ns = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ba = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Ha = "(?:'(?:[^'\\\\]|\\\\.)*')", $a = '(?:"(?:[^"\\\\]|\\\\.)*")', Ya = "(?:" + Ha + "|" + $a + ")", Do = "(?:(" + Ns + "|" + Ba + "|" + Ya + ")\\s*)", ja = "(?:" + Do + "(?:,\\s*" + Do + ")*)", Va = "(?:\\(\\s*(?:" + ja + "?)\\)\\s*)", Ua = "(" + Ns + "\\s*" + Va + "?)", Wa = "(\\[\\[|{{)\\s*", qa = "(?:]]|}})", Ka = "(?:(!)\\s*)?", Ga = Wa + Ka + Ua + qa, To = new RegExp(Ga, "g");
|
|
4619
|
+
function Mo(o) {
|
|
4620
4620
|
let t = "";
|
|
4621
4621
|
for (let e = 0; e < o.length; e++) {
|
|
4622
4622
|
let i = o[e].literal;
|
|
@@ -4627,22 +4627,22 @@ function Oo(o) {
|
|
|
4627
4627
|
function Xt(o) {
|
|
4628
4628
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4629
4629
|
if (t) {
|
|
4630
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4630
|
+
let i = { methodName: t[1], static: !0, args: Ra };
|
|
4631
4631
|
if (t[2].trim()) {
|
|
4632
4632
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4633
|
-
return
|
|
4633
|
+
return Ja(s, i);
|
|
4634
4634
|
} else
|
|
4635
4635
|
return i;
|
|
4636
4636
|
}
|
|
4637
4637
|
return null;
|
|
4638
4638
|
}
|
|
4639
|
-
function
|
|
4639
|
+
function Ja(o, t) {
|
|
4640
4640
|
return t.args = o.map(function(e) {
|
|
4641
|
-
let i =
|
|
4641
|
+
let i = zs(e);
|
|
4642
4642
|
return i.literal || (t.static = !1), i;
|
|
4643
4643
|
}, this), t;
|
|
4644
4644
|
}
|
|
4645
|
-
function
|
|
4645
|
+
function zs(o) {
|
|
4646
4646
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4647
4647
|
name: t,
|
|
4648
4648
|
value: "",
|
|
@@ -4659,16 +4659,16 @@ function Ls(o) {
|
|
|
4659
4659
|
}
|
|
4660
4660
|
return e.literal || (e.rootProperty = je(t), e.structured = fi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4661
4661
|
}
|
|
4662
|
-
function
|
|
4662
|
+
function Oo(o, t, e) {
|
|
4663
4663
|
let i = se(o, e);
|
|
4664
4664
|
return i === void 0 && (i = t[e]), i;
|
|
4665
4665
|
}
|
|
4666
|
-
function
|
|
4666
|
+
function Ls(o, t, e, i) {
|
|
4667
4667
|
const s = { indexSplices: i };
|
|
4668
4668
|
pi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), pi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4669
4669
|
}
|
|
4670
4670
|
function rt(o, t, e, i, s, r) {
|
|
4671
|
-
|
|
4671
|
+
Ls(o, t, e, [{
|
|
4672
4672
|
index: i,
|
|
4673
4673
|
addedCount: s,
|
|
4674
4674
|
removed: r,
|
|
@@ -4676,11 +4676,11 @@ function rt(o, t, e, i, s, r) {
|
|
|
4676
4676
|
type: "splice"
|
|
4677
4677
|
}]);
|
|
4678
4678
|
}
|
|
4679
|
-
function
|
|
4679
|
+
function Xa(o) {
|
|
4680
4680
|
return o[0].toUpperCase() + o.substring(1);
|
|
4681
4681
|
}
|
|
4682
4682
|
const ji = V((o) => {
|
|
4683
|
-
const t =
|
|
4683
|
+
const t = ga(aa(o));
|
|
4684
4684
|
class e extends t {
|
|
4685
4685
|
constructor() {
|
|
4686
4686
|
super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
|
|
@@ -4859,7 +4859,7 @@ const ji = V((o) => {
|
|
|
4859
4859
|
if (!a) {
|
|
4860
4860
|
let l = se(this, s);
|
|
4861
4861
|
if (s = /** @type {string} */
|
|
4862
|
-
|
|
4862
|
+
Eo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4863
4863
|
return !1;
|
|
4864
4864
|
}
|
|
4865
4865
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4868,7 +4868,7 @@ const ji = V((o) => {
|
|
|
4868
4868
|
r,
|
|
4869
4869
|
n
|
|
4870
4870
|
))
|
|
4871
|
-
return
|
|
4871
|
+
return Da(
|
|
4872
4872
|
this,
|
|
4873
4873
|
/**@type{string}*/
|
|
4874
4874
|
s,
|
|
@@ -5084,7 +5084,7 @@ const ji = V((o) => {
|
|
|
5084
5084
|
let a = this.__dataHasPaths;
|
|
5085
5085
|
this.__dataHasPaths = !1;
|
|
5086
5086
|
let l;
|
|
5087
|
-
|
|
5087
|
+
Aa(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ut(this, this[D.REFLECT], r, n, a), ut(this, this[D.OBSERVE], r, n, a), l && va(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5088
5088
|
}
|
|
5089
5089
|
/**
|
|
5090
5090
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5181,7 +5181,7 @@ const ji = V((o) => {
|
|
|
5181
5181
|
/** @type {Array} */
|
|
5182
5182
|
se(this, s, n)
|
|
5183
5183
|
);
|
|
5184
|
-
|
|
5184
|
+
Ls(this, a, n.path, r);
|
|
5185
5185
|
}
|
|
5186
5186
|
/**
|
|
5187
5187
|
* Convenience method for reading a value from a path.
|
|
@@ -5229,7 +5229,7 @@ const ji = V((o) => {
|
|
|
5229
5229
|
* @public
|
|
5230
5230
|
*/
|
|
5231
5231
|
set(s, r, n) {
|
|
5232
|
-
n ?
|
|
5232
|
+
n ? Eo(n, s, r) : (!this[D.READ_ONLY] || !this[D.READ_ONLY][
|
|
5233
5233
|
/** @type {string} */
|
|
5234
5234
|
s
|
|
5235
5235
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5384,7 +5384,7 @@ const ji = V((o) => {
|
|
|
5384
5384
|
* @protected
|
|
5385
5385
|
*/
|
|
5386
5386
|
_createReadOnlyProperty(s, r) {
|
|
5387
|
-
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" +
|
|
5387
|
+
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" + Xa(s)] = /** @this {PropertyEffects} */
|
|
5388
5388
|
function(n) {
|
|
5389
5389
|
this._setProperty(s, n);
|
|
5390
5390
|
});
|
|
@@ -5406,7 +5406,7 @@ const ji = V((o) => {
|
|
|
5406
5406
|
_createPropertyObserver(s, r, n) {
|
|
5407
5407
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5408
5408
|
this._addPropertyEffect(s, D.OBSERVE, {
|
|
5409
|
-
fn:
|
|
5409
|
+
fn: Co,
|
|
5410
5410
|
info: a,
|
|
5411
5411
|
trigger: { name: s }
|
|
5412
5412
|
}), n && this._addPropertyEffect(
|
|
@@ -5414,7 +5414,7 @@ const ji = V((o) => {
|
|
|
5414
5414
|
r,
|
|
5415
5415
|
D.OBSERVE,
|
|
5416
5416
|
{
|
|
5417
|
-
fn:
|
|
5417
|
+
fn: Co,
|
|
5418
5418
|
info: a,
|
|
5419
5419
|
trigger: { name: r }
|
|
5420
5420
|
}
|
|
@@ -5436,7 +5436,7 @@ const ji = V((o) => {
|
|
|
5436
5436
|
let n = Xt(s);
|
|
5437
5437
|
if (!n)
|
|
5438
5438
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5439
|
-
|
|
5439
|
+
ko(this, n, D.OBSERVE, _i, null, r);
|
|
5440
5440
|
}
|
|
5441
5441
|
/**
|
|
5442
5442
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5450,7 +5450,7 @@ const ji = V((o) => {
|
|
|
5450
5450
|
*/
|
|
5451
5451
|
_createNotifyingProperty(s) {
|
|
5452
5452
|
this._addPropertyEffect(s, D.NOTIFY, {
|
|
5453
|
-
fn:
|
|
5453
|
+
fn: wa,
|
|
5454
5454
|
info: {
|
|
5455
5455
|
eventName: Yt(s) + "-changed",
|
|
5456
5456
|
property: s
|
|
@@ -5471,7 +5471,7 @@ const ji = V((o) => {
|
|
|
5471
5471
|
_createReflectedProperty(s) {
|
|
5472
5472
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5473
5473
|
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, {
|
|
5474
|
-
fn:
|
|
5474
|
+
fn: Sa,
|
|
5475
5475
|
info: {
|
|
5476
5476
|
attrName: r
|
|
5477
5477
|
}
|
|
@@ -5494,8 +5494,8 @@ const ji = V((o) => {
|
|
|
5494
5494
|
let a = Xt(r);
|
|
5495
5495
|
if (!a)
|
|
5496
5496
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5497
|
-
const l =
|
|
5498
|
-
Gt(this,
|
|
5497
|
+
const l = ko(this, a, D.COMPUTE, Fs, s, n);
|
|
5498
|
+
Gt(this, Os)[s] = l;
|
|
5499
5499
|
}
|
|
5500
5500
|
/**
|
|
5501
5501
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5516,16 +5516,16 @@ const ji = V((o) => {
|
|
|
5516
5516
|
let { name: d, structured: h, wildcard: m, value: b, literal: p } = s[c];
|
|
5517
5517
|
if (!p)
|
|
5518
5518
|
if (m) {
|
|
5519
|
-
const g = gt(d, r),
|
|
5519
|
+
const g = gt(d, r), v = Oo(a, n, g ? r : d);
|
|
5520
5520
|
b = {
|
|
5521
5521
|
path: g ? r : d,
|
|
5522
|
-
value:
|
|
5523
|
-
base: g ? se(a, d) :
|
|
5522
|
+
value: v,
|
|
5523
|
+
base: g ? se(a, d) : v
|
|
5524
5524
|
};
|
|
5525
5525
|
} else
|
|
5526
|
-
b = h ?
|
|
5526
|
+
b = h ? Oo(a, n, d) : a[d];
|
|
5527
5527
|
if (pi && !this._overrideLegacyUndefined && b === void 0 && s.length > 1)
|
|
5528
|
-
return
|
|
5528
|
+
return vt;
|
|
5529
5529
|
l[c] = b;
|
|
5530
5530
|
}
|
|
5531
5531
|
return l;
|
|
@@ -5806,7 +5806,7 @@ const ji = V((o) => {
|
|
|
5806
5806
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5807
5807
|
a.push(l);
|
|
5808
5808
|
}
|
|
5809
|
-
return n.templateInfo = r,
|
|
5809
|
+
return n.templateInfo = r, Na(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5810
5810
|
}
|
|
5811
5811
|
/**
|
|
5812
5812
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5853,7 +5853,7 @@ const ji = V((o) => {
|
|
|
5853
5853
|
);
|
|
5854
5854
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5855
5855
|
let l = this._parseBindings(s.textContent, r);
|
|
5856
|
-
l && (s.textContent =
|
|
5856
|
+
l && (s.textContent = Mo(l) || " ", Jt(this, r, n, "text", "textContent", l), a = !0);
|
|
5857
5857
|
}
|
|
5858
5858
|
return a;
|
|
5859
5859
|
}
|
|
@@ -5880,9 +5880,9 @@ const ji = V((o) => {
|
|
|
5880
5880
|
let c = this._parseBindings(l, r);
|
|
5881
5881
|
if (c) {
|
|
5882
5882
|
let u = a, d = "property";
|
|
5883
|
-
|
|
5884
|
-
let h =
|
|
5885
|
-
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 =
|
|
5883
|
+
ba.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5884
|
+
let h = Mo(c);
|
|
5885
|
+
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 = As(a)), Jt(this, r, n, d, a, c, h), !0;
|
|
5886
5886
|
} else
|
|
5887
5887
|
return t._parseTemplateNodeAttribute.call(
|
|
5888
5888
|
this,
|
|
@@ -5915,10 +5915,10 @@ const ji = V((o) => {
|
|
|
5915
5915
|
n
|
|
5916
5916
|
);
|
|
5917
5917
|
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5918
|
-
|
|
5918
|
+
go && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5919
5919
|
let h = c.hostProps;
|
|
5920
|
-
if (
|
|
5921
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5920
|
+
if (Yn && u)
|
|
5921
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), go || (n.parentInfo.noted = !0));
|
|
5922
5922
|
else {
|
|
5923
5923
|
let m = "{";
|
|
5924
5924
|
for (let b in h) {
|
|
@@ -5975,19 +5975,19 @@ const ji = V((o) => {
|
|
|
5975
5975
|
*/
|
|
5976
5976
|
static _parseBindings(s, r) {
|
|
5977
5977
|
let n = [], a = 0, l;
|
|
5978
|
-
for (; (l =
|
|
5978
|
+
for (; (l = To.exec(s)) !== null; ) {
|
|
5979
5979
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5980
5980
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", b = -1;
|
|
5981
5981
|
c == "{" && (b = d.indexOf("::")) > 0 && (m = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
5982
5982
|
let p = Xt(d), g = [];
|
|
5983
5983
|
if (p) {
|
|
5984
|
-
let { args:
|
|
5985
|
-
for (let A = 0; A <
|
|
5986
|
-
let k =
|
|
5984
|
+
let { args: v, methodName: y } = p;
|
|
5985
|
+
for (let A = 0; A < v.length; A++) {
|
|
5986
|
+
let k = v[A];
|
|
5987
5987
|
k.literal || g.push(k);
|
|
5988
5988
|
}
|
|
5989
5989
|
let C = r.dynamicFns;
|
|
5990
|
-
(C && C[
|
|
5990
|
+
(C && C[y] || p.static) && (g.push(y), p.dynamicFn = !0);
|
|
5991
5991
|
} else
|
|
5992
5992
|
g.push(d);
|
|
5993
5993
|
n.push({
|
|
@@ -5998,7 +5998,7 @@ const ji = V((o) => {
|
|
|
5998
5998
|
signature: p,
|
|
5999
5999
|
dependencies: g,
|
|
6000
6000
|
event: m
|
|
6001
|
-
}), a =
|
|
6001
|
+
}), a = To.lastIndex;
|
|
6002
6002
|
}
|
|
6003
6003
|
if (a && a < s.length) {
|
|
6004
6004
|
let c = s.substring(a);
|
|
@@ -6048,7 +6048,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6048
6048
|
Code distributed by Google as part of the polymer project is also
|
|
6049
6049
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6050
6050
|
*/
|
|
6051
|
-
function
|
|
6051
|
+
function Za(o) {
|
|
6052
6052
|
const t = {};
|
|
6053
6053
|
for (let e in o) {
|
|
6054
6054
|
const i = o[e];
|
|
@@ -6056,8 +6056,8 @@ function Qa(o) {
|
|
|
6056
6056
|
}
|
|
6057
6057
|
return t;
|
|
6058
6058
|
}
|
|
6059
|
-
const
|
|
6060
|
-
const t =
|
|
6059
|
+
const Qa = V((o) => {
|
|
6060
|
+
const t = Ds(o);
|
|
6061
6061
|
function e(r) {
|
|
6062
6062
|
const n = Object.getPrototypeOf(r);
|
|
6063
6063
|
return n.prototype instanceof s ? (
|
|
@@ -6070,7 +6070,7 @@ const el = V((o) => {
|
|
|
6070
6070
|
let n = null;
|
|
6071
6071
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6072
6072
|
const a = r.properties;
|
|
6073
|
-
a && (n =
|
|
6073
|
+
a && (n = Za(a));
|
|
6074
6074
|
}
|
|
6075
6075
|
r.__ownProperties = n;
|
|
6076
6076
|
}
|
|
@@ -6207,8 +6207,8 @@ const el = V((o) => {
|
|
|
6207
6207
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6208
6208
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6209
6209
|
*/
|
|
6210
|
-
const
|
|
6211
|
-
const t =
|
|
6210
|
+
const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o) => {
|
|
6211
|
+
const t = Qa(ji(o));
|
|
6212
6212
|
function e(l) {
|
|
6213
6213
|
if (!l.hasOwnProperty(
|
|
6214
6214
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6236,19 +6236,19 @@ const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6236
6236
|
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);
|
|
6237
6237
|
}
|
|
6238
6238
|
function r(l, c, u, d) {
|
|
6239
|
-
if (!
|
|
6240
|
-
const h = c.content.querySelectorAll("style"), m =
|
|
6241
|
-
for (let
|
|
6242
|
-
let
|
|
6243
|
-
|
|
6239
|
+
if (!Io) {
|
|
6240
|
+
const h = c.content.querySelectorAll("style"), m = xs(c), b = Jn(u), p = c.content.firstElementChild;
|
|
6241
|
+
for (let v = 0; v < b.length; v++) {
|
|
6242
|
+
let y = b[v];
|
|
6243
|
+
y.textContent = l._processStyleText(y.textContent, d), c.content.insertBefore(y, p);
|
|
6244
6244
|
}
|
|
6245
6245
|
let g = 0;
|
|
6246
|
-
for (let
|
|
6247
|
-
let
|
|
6248
|
-
C !==
|
|
6246
|
+
for (let v = 0; v < m.length; v++) {
|
|
6247
|
+
let y = m[v], C = h[g];
|
|
6248
|
+
C !== y ? (y = y.cloneNode(!0), C.parentNode.insertBefore(y, C)) : g++, y.textContent = l._processStyleText(y.textContent, d);
|
|
6249
6249
|
}
|
|
6250
6250
|
}
|
|
6251
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6251
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), jn && Io && Ln) {
|
|
6252
6252
|
const h = c.content.querySelectorAll("style");
|
|
6253
6253
|
if (h) {
|
|
6254
6254
|
let m = "";
|
|
@@ -6260,7 +6260,7 @@ const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6260
6260
|
}
|
|
6261
6261
|
function n(l) {
|
|
6262
6262
|
let c = null;
|
|
6263
|
-
if (l && (!Nt ||
|
|
6263
|
+
if (l && (!Nt || Bn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6264
6264
|
_t.import(l, "template"), Nt && !c))
|
|
6265
6265
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6266
6266
|
return c;
|
|
@@ -6272,7 +6272,7 @@ const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6272
6272
|
* @nocollapse
|
|
6273
6273
|
*/
|
|
6274
6274
|
static get polymerElementVersion() {
|
|
6275
|
-
return
|
|
6275
|
+
return el;
|
|
6276
6276
|
}
|
|
6277
6277
|
/**
|
|
6278
6278
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6293,7 +6293,7 @@ const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6293
6293
|
/** @type {PolymerElementConstructor} */
|
|
6294
6294
|
this.template
|
|
6295
6295
|
);
|
|
6296
|
-
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) :
|
|
6296
|
+
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) : gs || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
6297
6297
|
}
|
|
6298
6298
|
/**
|
|
6299
6299
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6463,7 +6463,7 @@ const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6463
6463
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6464
6464
|
/** @type {!HTMLElement} */
|
|
6465
6465
|
this.localName
|
|
6466
|
-
), super._initializeProperties(), this.rootPath =
|
|
6466
|
+
), super._initializeProperties(), this.rootPath = Rn, this.importPath = this.constructor.importPath;
|
|
6467
6467
|
let c = e(this.constructor);
|
|
6468
6468
|
if (c)
|
|
6469
6469
|
for (let u in c) {
|
|
@@ -6574,7 +6574,7 @@ const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6574
6574
|
_attachDom(c) {
|
|
6575
6575
|
const u = K(this);
|
|
6576
6576
|
if (u.attachShadow)
|
|
6577
|
-
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6577
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Hn && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6578
6578
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6579
6579
|
}
|
|
6580
6580
|
/**
|
|
@@ -6659,7 +6659,7 @@ const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6659
6659
|
* @nocollapse
|
|
6660
6660
|
*/
|
|
6661
6661
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6662
|
-
return
|
|
6662
|
+
return bs && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6663
6663
|
// dependencies) become accessors with template effects; ignore these
|
|
6664
6664
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6665
6665
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6684,16 +6684,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6684
6684
|
Code distributed by Google as part of the polymer project is also
|
|
6685
6685
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6686
6686
|
*/
|
|
6687
|
-
const
|
|
6688
|
-
class
|
|
6687
|
+
const Fo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6688
|
+
class Rs {
|
|
6689
6689
|
/**
|
|
6690
6690
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6691
6691
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6692
6692
|
*/
|
|
6693
6693
|
constructor(t, e) {
|
|
6694
|
-
|
|
6694
|
+
Hs(t, e);
|
|
6695
6695
|
const i = e.reduce(
|
|
6696
|
-
(s, r, n) => s +
|
|
6696
|
+
(s, r, n) => s + Bs(r) + t[n + 1],
|
|
6697
6697
|
t[0]
|
|
6698
6698
|
);
|
|
6699
6699
|
this.value = i.toString();
|
|
@@ -6706,8 +6706,8 @@ class Bs {
|
|
|
6706
6706
|
return this.value;
|
|
6707
6707
|
}
|
|
6708
6708
|
}
|
|
6709
|
-
function
|
|
6710
|
-
if (o instanceof
|
|
6709
|
+
function Bs(o) {
|
|
6710
|
+
if (o instanceof Rs)
|
|
6711
6711
|
return (
|
|
6712
6712
|
/** @type {!LiteralString} */
|
|
6713
6713
|
o.value
|
|
@@ -6716,30 +6716,30 @@ function Hs(o) {
|
|
|
6716
6716
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6717
6717
|
);
|
|
6718
6718
|
}
|
|
6719
|
-
function
|
|
6719
|
+
function il(o) {
|
|
6720
6720
|
if (o instanceof HTMLTemplateElement)
|
|
6721
6721
|
return (
|
|
6722
6722
|
/** @type {!HTMLTemplateElement } */
|
|
6723
6723
|
o.innerHTML
|
|
6724
6724
|
);
|
|
6725
|
-
if (o instanceof
|
|
6726
|
-
return
|
|
6725
|
+
if (o instanceof Rs)
|
|
6726
|
+
return Bs(o);
|
|
6727
6727
|
throw new Error(
|
|
6728
6728
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6729
6729
|
);
|
|
6730
6730
|
}
|
|
6731
6731
|
const Ve = function(t, ...e) {
|
|
6732
|
-
|
|
6732
|
+
Hs(t, e);
|
|
6733
6733
|
const i = (
|
|
6734
6734
|
/** @type {!HTMLTemplateElement} */
|
|
6735
6735
|
document.createElement("template")
|
|
6736
6736
|
);
|
|
6737
6737
|
let s = e.reduce(
|
|
6738
|
-
(r, n, a) => r +
|
|
6738
|
+
(r, n, a) => r + il(n) + t[a + 1],
|
|
6739
6739
|
t[0]
|
|
6740
6740
|
);
|
|
6741
|
-
return
|
|
6742
|
-
},
|
|
6741
|
+
return Fo && (s = Fo.createHTML(s)), i.innerHTML = s, i;
|
|
6742
|
+
}, Hs = (o, t) => {
|
|
6743
6743
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6744
6744
|
throw new TypeError("Invalid call to the html template tag");
|
|
6745
6745
|
};
|
|
@@ -6752,7 +6752,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6752
6752
|
Code distributed by Google as part of the polymer project is also
|
|
6753
6753
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6754
6754
|
*/
|
|
6755
|
-
const Ie =
|
|
6755
|
+
const Ie = tl(HTMLElement);
|
|
6756
6756
|
/**
|
|
6757
6757
|
* @license
|
|
6758
6758
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6765,14 +6765,14 @@ function gi(o, t, e = o.getAttribute("dir")) {
|
|
|
6765
6765
|
function bi() {
|
|
6766
6766
|
return document.documentElement.getAttribute("dir");
|
|
6767
6767
|
}
|
|
6768
|
-
function
|
|
6768
|
+
function ol() {
|
|
6769
6769
|
const o = bi();
|
|
6770
6770
|
we.forEach((t) => {
|
|
6771
6771
|
gi(t, o);
|
|
6772
6772
|
});
|
|
6773
6773
|
}
|
|
6774
|
-
const
|
|
6775
|
-
|
|
6774
|
+
const sl = new MutationObserver(ol);
|
|
6775
|
+
sl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6776
6776
|
const jt = (o) => class extends o {
|
|
6777
6777
|
static get properties() {
|
|
6778
6778
|
return {
|
|
@@ -6834,7 +6834,7 @@ const jt = (o) => class extends o {
|
|
|
6834
6834
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6835
6835
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6836
6836
|
*/
|
|
6837
|
-
const
|
|
6837
|
+
const rl = (o) => class extends o {
|
|
6838
6838
|
static get properties() {
|
|
6839
6839
|
return {
|
|
6840
6840
|
/**
|
|
@@ -6874,7 +6874,7 @@ const nl = (o) => class extends o {
|
|
|
6874
6874
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6875
6875
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6876
6876
|
*/
|
|
6877
|
-
const
|
|
6877
|
+
const nl = P`
|
|
6878
6878
|
:host {
|
|
6879
6879
|
display: flex;
|
|
6880
6880
|
align-items: center;
|
|
@@ -6945,8 +6945,8 @@ const al = P`
|
|
|
6945
6945
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6946
6946
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6947
6947
|
*/
|
|
6948
|
-
L("vaadin-input-container",
|
|
6949
|
-
class
|
|
6948
|
+
L("vaadin-input-container", nl, { moduleId: "vaadin-input-container-styles" });
|
|
6949
|
+
class al extends rl(Ye(jt(Ie))) {
|
|
6950
6950
|
static get is() {
|
|
6951
6951
|
return "vaadin-input-container";
|
|
6952
6952
|
}
|
|
@@ -6958,13 +6958,13 @@ class ll extends nl(Ye(jt(Ie))) {
|
|
|
6958
6958
|
`;
|
|
6959
6959
|
}
|
|
6960
6960
|
}
|
|
6961
|
-
be(
|
|
6961
|
+
be(al);
|
|
6962
6962
|
/**
|
|
6963
6963
|
* @license
|
|
6964
6964
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6965
6965
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6966
6966
|
*/
|
|
6967
|
-
const
|
|
6967
|
+
const ll = P`
|
|
6968
6968
|
:host {
|
|
6969
6969
|
z-index: 200;
|
|
6970
6970
|
position: fixed;
|
|
@@ -7044,7 +7044,7 @@ window.addEventListener(
|
|
|
7044
7044
|
},
|
|
7045
7045
|
{ capture: !0 }
|
|
7046
7046
|
);
|
|
7047
|
-
function
|
|
7047
|
+
function yi() {
|
|
7048
7048
|
let o = document.activeElement || document.body;
|
|
7049
7049
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7050
7050
|
o = o.shadowRoot.activeElement;
|
|
@@ -7053,59 +7053,59 @@ function vi() {
|
|
|
7053
7053
|
function Ui() {
|
|
7054
7054
|
return Vi;
|
|
7055
7055
|
}
|
|
7056
|
-
function
|
|
7056
|
+
function cl(o) {
|
|
7057
7057
|
const t = o.style;
|
|
7058
7058
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7059
7059
|
return !0;
|
|
7060
7060
|
const e = window.getComputedStyle(o);
|
|
7061
7061
|
return e.visibility === "hidden" || e.display === "none";
|
|
7062
7062
|
}
|
|
7063
|
-
function
|
|
7063
|
+
function ul(o, t) {
|
|
7064
7064
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7065
7065
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7066
7066
|
}
|
|
7067
|
-
function
|
|
7067
|
+
function dl(o, t) {
|
|
7068
7068
|
const e = [];
|
|
7069
7069
|
for (; o.length > 0 && t.length > 0; )
|
|
7070
|
-
|
|
7070
|
+
ul(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7071
7071
|
return e.concat(o, t);
|
|
7072
7072
|
}
|
|
7073
|
-
function
|
|
7073
|
+
function vi(o) {
|
|
7074
7074
|
const t = o.length;
|
|
7075
7075
|
if (t < 2)
|
|
7076
7076
|
return o;
|
|
7077
|
-
const e = Math.ceil(t / 2), i =
|
|
7078
|
-
return
|
|
7077
|
+
const e = Math.ceil(t / 2), i = vi(o.slice(0, e)), s = vi(o.slice(e));
|
|
7078
|
+
return dl(i, s);
|
|
7079
7079
|
}
|
|
7080
|
-
function
|
|
7080
|
+
function $s(o) {
|
|
7081
7081
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7082
7082
|
}
|
|
7083
|
-
function
|
|
7083
|
+
function hl(o) {
|
|
7084
7084
|
return o.getRootNode().activeElement === o;
|
|
7085
7085
|
}
|
|
7086
|
-
function
|
|
7087
|
-
if (
|
|
7086
|
+
function pl(o) {
|
|
7087
|
+
if (!$s(o))
|
|
7088
7088
|
return -1;
|
|
7089
7089
|
const t = o.getAttribute("tabindex") || 0;
|
|
7090
7090
|
return Number(t);
|
|
7091
7091
|
}
|
|
7092
|
-
function
|
|
7093
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7092
|
+
function Ys(o, t) {
|
|
7093
|
+
if (o.nodeType !== Node.ELEMENT_NODE || cl(o))
|
|
7094
7094
|
return !1;
|
|
7095
7095
|
const e = (
|
|
7096
7096
|
/** @type {HTMLElement} */
|
|
7097
7097
|
o
|
|
7098
|
-
), i =
|
|
7098
|
+
), i = pl(e);
|
|
7099
7099
|
let s = i > 0;
|
|
7100
7100
|
i >= 0 && t.push(e);
|
|
7101
7101
|
let r = [];
|
|
7102
7102
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7103
|
-
s =
|
|
7103
|
+
s = Ys(n, t) || s;
|
|
7104
7104
|
}), s;
|
|
7105
7105
|
}
|
|
7106
|
-
function
|
|
7106
|
+
function fl(o) {
|
|
7107
7107
|
const t = [];
|
|
7108
|
-
return
|
|
7108
|
+
return Ys(o, t) ? vi(t) : t;
|
|
7109
7109
|
}
|
|
7110
7110
|
/**
|
|
7111
7111
|
@license
|
|
@@ -7116,23 +7116,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7116
7116
|
Code distributed by Google as part of the polymer project is also
|
|
7117
7117
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7118
7118
|
*/
|
|
7119
|
-
let xi = !1,
|
|
7120
|
-
function
|
|
7119
|
+
let xi = !1, ml = [], js = [];
|
|
7120
|
+
function _l() {
|
|
7121
7121
|
xi = !0, requestAnimationFrame(function() {
|
|
7122
|
-
xi = !1,
|
|
7123
|
-
|
|
7122
|
+
xi = !1, gl(ml), setTimeout(function() {
|
|
7123
|
+
bl(js);
|
|
7124
7124
|
});
|
|
7125
7125
|
});
|
|
7126
7126
|
}
|
|
7127
|
-
function
|
|
7127
|
+
function gl(o) {
|
|
7128
7128
|
for (; o.length; )
|
|
7129
|
-
|
|
7129
|
+
Vs(o.shift());
|
|
7130
7130
|
}
|
|
7131
|
-
function
|
|
7131
|
+
function bl(o) {
|
|
7132
7132
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7133
|
-
|
|
7133
|
+
Vs(o.shift());
|
|
7134
7134
|
}
|
|
7135
|
-
function
|
|
7135
|
+
function Vs(o) {
|
|
7136
7136
|
const t = o[0], e = o[1], i = o[2];
|
|
7137
7137
|
try {
|
|
7138
7138
|
e.apply(t, i);
|
|
@@ -7142,8 +7142,8 @@ function Us(o) {
|
|
|
7142
7142
|
});
|
|
7143
7143
|
}
|
|
7144
7144
|
}
|
|
7145
|
-
function
|
|
7146
|
-
xi ||
|
|
7145
|
+
function Us(o, t, e) {
|
|
7146
|
+
xi || _l(), js.push([o, t, e]);
|
|
7147
7147
|
}
|
|
7148
7148
|
/**
|
|
7149
7149
|
* @license
|
|
@@ -7154,9 +7154,9 @@ const Vt = (o) => o.test(navigator.userAgent), wi = (o) => o.test(navigator.plat
|
|
|
7154
7154
|
Vt(/Android/u);
|
|
7155
7155
|
Vt(/Chrome/u) && yl(/Google Inc/u);
|
|
7156
7156
|
Vt(/Firefox/u);
|
|
7157
|
-
const
|
|
7157
|
+
const vl = wi(/^iPad/u) || wi(/^Mac/u) && navigator.maxTouchPoints > 1, xl = wi(/^iPhone/u), Ws = xl || vl;
|
|
7158
7158
|
Vt(/^((?!chrome|android).)*safari/iu);
|
|
7159
|
-
const
|
|
7159
|
+
const wl = (() => {
|
|
7160
7160
|
try {
|
|
7161
7161
|
return document.createEvent("TouchEvent"), !0;
|
|
7162
7162
|
} catch {
|
|
@@ -7169,10 +7169,10 @@ const El = (() => {
|
|
|
7169
7169
|
* SPDX-License-Identifier: MIT
|
|
7170
7170
|
*/
|
|
7171
7171
|
let We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {}, Zt = 0;
|
|
7172
|
-
const
|
|
7172
|
+
const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
7173
7173
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7174
|
-
},
|
|
7175
|
-
if (!
|
|
7174
|
+
}, El = (o, t) => No(o) ? t.map((e) => {
|
|
7175
|
+
if (!No(e))
|
|
7176
7176
|
return Qt(e, "is not a valid element"), null;
|
|
7177
7177
|
let i = e;
|
|
7178
7178
|
for (; i && i !== o; ) {
|
|
@@ -7181,8 +7181,8 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
|
7181
7181
|
i = i.getRootNode().host;
|
|
7182
7182
|
}
|
|
7183
7183
|
return Qt(e, "is not contained inside", o), null;
|
|
7184
|
-
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []),
|
|
7185
|
-
const s =
|
|
7184
|
+
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []), Sl = (o, t, e, i) => {
|
|
7185
|
+
const s = El(t, Array.isArray(o) ? o : [o]);
|
|
7186
7186
|
Pt[e] || (Pt[e] = /* @__PURE__ */ new WeakMap());
|
|
7187
7187
|
const r = Pt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7188
7188
|
if (!d || a.has(d))
|
|
@@ -7201,8 +7201,8 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
|
7201
7201
|
if (a.has(b))
|
|
7202
7202
|
u(b);
|
|
7203
7203
|
else {
|
|
7204
|
-
const p = b.getAttribute(i), g = p !== null && p !== "false",
|
|
7205
|
-
We.set(b,
|
|
7204
|
+
const p = b.getAttribute(i), g = p !== null && p !== "false", v = (We.get(b) || 0) + 1, y = (r.get(b) || 0) + 1;
|
|
7205
|
+
We.set(b, v), r.set(b, y), n.push(b), v === 1 && g && Ct.set(b, !0), y === 1 && b.setAttribute(e, "true"), g || b.setAttribute(i, "true");
|
|
7206
7206
|
}
|
|
7207
7207
|
});
|
|
7208
7208
|
};
|
|
@@ -7212,16 +7212,16 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
|
7212
7212
|
We.set(d, h), r.set(d, m), h || (Ct.has(d) ? Ct.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7213
7213
|
}), Zt -= 1, Zt || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {});
|
|
7214
7214
|
};
|
|
7215
|
-
},
|
|
7215
|
+
}, qs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7216
7216
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7217
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7217
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Sl(i, t, e, "aria-hidden");
|
|
7218
7218
|
};
|
|
7219
7219
|
/**
|
|
7220
7220
|
* @license
|
|
7221
7221
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7222
7222
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7223
7223
|
*/
|
|
7224
|
-
class
|
|
7224
|
+
class Al {
|
|
7225
7225
|
/**
|
|
7226
7226
|
* @param {HTMLElement} host
|
|
7227
7227
|
*/
|
|
@@ -7237,7 +7237,7 @@ class Cl {
|
|
|
7237
7237
|
*/
|
|
7238
7238
|
showModal() {
|
|
7239
7239
|
const t = this.callback();
|
|
7240
|
-
this.__showOthers =
|
|
7240
|
+
this.__showOthers = qs(t);
|
|
7241
7241
|
}
|
|
7242
7242
|
/**
|
|
7243
7243
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7252,7 +7252,7 @@ class Cl {
|
|
|
7252
7252
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7253
7253
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7254
7254
|
*/
|
|
7255
|
-
class
|
|
7255
|
+
class Cl {
|
|
7256
7256
|
/**
|
|
7257
7257
|
* Saves the given node as a target for restoring focus to
|
|
7258
7258
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7261,7 +7261,7 @@ class Pl {
|
|
|
7261
7261
|
* @param {Node | null | undefined} focusNode
|
|
7262
7262
|
*/
|
|
7263
7263
|
saveFocus(t) {
|
|
7264
|
-
this.focusNode = t ||
|
|
7264
|
+
this.focusNode = t || yi();
|
|
7265
7265
|
}
|
|
7266
7266
|
/**
|
|
7267
7267
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -7271,7 +7271,7 @@ class Pl {
|
|
|
7271
7271
|
if (!e)
|
|
7272
7272
|
return;
|
|
7273
7273
|
const i = t ? t.preventScroll : !1;
|
|
7274
|
-
|
|
7274
|
+
yi() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
7275
7275
|
}
|
|
7276
7276
|
}
|
|
7277
7277
|
/**
|
|
@@ -7280,7 +7280,7 @@ class Pl {
|
|
|
7280
7280
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7281
7281
|
*/
|
|
7282
7282
|
const ei = [];
|
|
7283
|
-
class
|
|
7283
|
+
class Pl {
|
|
7284
7284
|
/**
|
|
7285
7285
|
* @param {HTMLElement} host
|
|
7286
7286
|
*/
|
|
@@ -7294,7 +7294,7 @@ class kl {
|
|
|
7294
7294
|
* @private
|
|
7295
7295
|
*/
|
|
7296
7296
|
get __focusableElements() {
|
|
7297
|
-
return
|
|
7297
|
+
return fl(this.__trapNode);
|
|
7298
7298
|
}
|
|
7299
7299
|
/**
|
|
7300
7300
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7304,7 +7304,7 @@ class kl {
|
|
|
7304
7304
|
*/
|
|
7305
7305
|
get __focusedElementIndex() {
|
|
7306
7306
|
const t = this.__focusableElements;
|
|
7307
|
-
return t.indexOf(t.filter(
|
|
7307
|
+
return t.indexOf(t.filter(hl).pop());
|
|
7308
7308
|
}
|
|
7309
7309
|
hostConnected() {
|
|
7310
7310
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7417,7 +7417,7 @@ const ot = V((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7417
7417
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7418
7418
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7419
7419
|
*/
|
|
7420
|
-
const
|
|
7420
|
+
const kl = (o) => class extends ot(o) {
|
|
7421
7421
|
static get properties() {
|
|
7422
7422
|
return {
|
|
7423
7423
|
/**
|
|
@@ -7448,7 +7448,7 @@ const Dl = (o) => class extends ot(o) {
|
|
|
7448
7448
|
};
|
|
7449
7449
|
}
|
|
7450
7450
|
constructor() {
|
|
7451
|
-
super(), this.__ariaModalController = new
|
|
7451
|
+
super(), this.__ariaModalController = new Al(this), this.__focusTrapController = new Pl(this), this.__focusRestorationController = new Cl();
|
|
7452
7452
|
}
|
|
7453
7453
|
/** @protected */
|
|
7454
7454
|
ready() {
|
|
@@ -7493,7 +7493,7 @@ const Dl = (o) => class extends ot(o) {
|
|
|
7493
7493
|
* @return {boolean}
|
|
7494
7494
|
*/
|
|
7495
7495
|
_shouldRestoreFocus() {
|
|
7496
|
-
const e =
|
|
7496
|
+
const e = yi();
|
|
7497
7497
|
return e === document.body || this._deepContains(e);
|
|
7498
7498
|
}
|
|
7499
7499
|
/**
|
|
@@ -7519,7 +7519,7 @@ const Dl = (o) => class extends ot(o) {
|
|
|
7519
7519
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7520
7520
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7521
7521
|
*/
|
|
7522
|
-
const
|
|
7522
|
+
const Ks = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Ei = () => Ks().filter((o) => o.$.overlay), Dl = (o) => o === Ei().pop(), Tl = (o) => class extends o {
|
|
7523
7523
|
constructor() {
|
|
7524
7524
|
super(), this._hasOverlayStackMixin = !0;
|
|
7525
7525
|
}
|
|
@@ -7530,14 +7530,14 @@ const Gs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7530
7530
|
* @protected
|
|
7531
7531
|
*/
|
|
7532
7532
|
get _last() {
|
|
7533
|
-
return
|
|
7533
|
+
return Dl(this);
|
|
7534
7534
|
}
|
|
7535
7535
|
/**
|
|
7536
7536
|
* Brings the overlay as visually the frontmost one.
|
|
7537
7537
|
*/
|
|
7538
7538
|
bringToFront() {
|
|
7539
7539
|
let e = "";
|
|
7540
|
-
const i =
|
|
7540
|
+
const i = Ks().filter((s) => s !== this).pop();
|
|
7541
7541
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7542
7542
|
}
|
|
7543
7543
|
/** @protected */
|
|
@@ -7560,7 +7560,7 @@ const Gs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7560
7560
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7561
7561
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7562
7562
|
*/
|
|
7563
|
-
const
|
|
7563
|
+
const Ml = (o) => class extends kl(Tl(o)) {
|
|
7564
7564
|
static get properties() {
|
|
7565
7565
|
return {
|
|
7566
7566
|
/**
|
|
@@ -7633,7 +7633,7 @@ const Ol = (o) => class extends Dl(Ml(o)) {
|
|
|
7633
7633
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7634
7634
|
}
|
|
7635
7635
|
constructor() {
|
|
7636
|
-
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this),
|
|
7636
|
+
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), Ws && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7637
7637
|
}
|
|
7638
7638
|
/** @protected */
|
|
7639
7639
|
ready() {
|
|
@@ -7701,7 +7701,7 @@ const Ol = (o) => class extends Dl(Ml(o)) {
|
|
|
7701
7701
|
}
|
|
7702
7702
|
/** @private */
|
|
7703
7703
|
_openedChanged(e, i) {
|
|
7704
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7704
|
+
e ? (this._saveFocus(), this._animatedOpening(), Us(this, () => {
|
|
7705
7705
|
this._trapFocus();
|
|
7706
7706
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7707
7707
|
this.dispatchEvent(s);
|
|
@@ -7826,7 +7826,7 @@ const Ol = (o) => class extends Dl(Ml(o)) {
|
|
|
7826
7826
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7827
7827
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7828
7828
|
*/
|
|
7829
|
-
function
|
|
7829
|
+
function Ol(o) {
|
|
7830
7830
|
const t = [];
|
|
7831
7831
|
for (; o; ) {
|
|
7832
7832
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7851,11 +7851,11 @@ function Wi(o) {
|
|
|
7851
7851
|
function Ut(o) {
|
|
7852
7852
|
return o ? [...o].join(" ") : "";
|
|
7853
7853
|
}
|
|
7854
|
-
function
|
|
7854
|
+
function Gs(o, t, e) {
|
|
7855
7855
|
const i = Wi(o.getAttribute(t));
|
|
7856
7856
|
i.add(e), o.setAttribute(t, Ut(i));
|
|
7857
7857
|
}
|
|
7858
|
-
function
|
|
7858
|
+
function Il(o, t, e) {
|
|
7859
7859
|
const i = Wi(o.getAttribute(t));
|
|
7860
7860
|
if (i.delete(e), i.size === 0) {
|
|
7861
7861
|
o.removeAttribute(t);
|
|
@@ -7863,7 +7863,7 @@ function Fl(o, t, e) {
|
|
|
7863
7863
|
}
|
|
7864
7864
|
o.setAttribute(t, Ut(i));
|
|
7865
7865
|
}
|
|
7866
|
-
function
|
|
7866
|
+
function Fl(o) {
|
|
7867
7867
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7868
7868
|
}
|
|
7869
7869
|
/**
|
|
@@ -7871,7 +7871,7 @@ function Nl(o) {
|
|
|
7871
7871
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7872
7872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7873
7873
|
*/
|
|
7874
|
-
function
|
|
7874
|
+
function Nl(o, t) {
|
|
7875
7875
|
let e = null;
|
|
7876
7876
|
const i = document.documentElement;
|
|
7877
7877
|
function s() {
|
|
@@ -7882,21 +7882,21 @@ function zl(o, t) {
|
|
|
7882
7882
|
const { left: l, top: c, width: u, height: d } = o.getBoundingClientRect();
|
|
7883
7883
|
if (n || t(), !u || !d)
|
|
7884
7884
|
return;
|
|
7885
|
-
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l + u)), b = Math.floor(i.clientHeight - (c + d)), p = Math.floor(l),
|
|
7885
|
+
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l + u)), b = Math.floor(i.clientHeight - (c + d)), p = Math.floor(l), v = {
|
|
7886
7886
|
rootMargin: `${-h}px ${-m}px ${-b}px ${-p}px`,
|
|
7887
7887
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
7888
7888
|
};
|
|
7889
|
-
let
|
|
7889
|
+
let y = !0;
|
|
7890
7890
|
function C(A) {
|
|
7891
7891
|
let k = A[0].intersectionRatio;
|
|
7892
7892
|
if (k !== a) {
|
|
7893
|
-
if (!
|
|
7893
|
+
if (!y)
|
|
7894
7894
|
return r();
|
|
7895
7895
|
k === 0 && (k = 1e-7), r(!1, k);
|
|
7896
7896
|
}
|
|
7897
|
-
|
|
7897
|
+
y = !1;
|
|
7898
7898
|
}
|
|
7899
|
-
e = new IntersectionObserver(C,
|
|
7899
|
+
e = new IntersectionObserver(C, v), e.observe(o);
|
|
7900
7900
|
}
|
|
7901
7901
|
return r(!0), s;
|
|
7902
7902
|
}
|
|
@@ -7911,13 +7911,13 @@ const ti = {
|
|
|
7911
7911
|
}, ii = {
|
|
7912
7912
|
start: "left",
|
|
7913
7913
|
end: "right"
|
|
7914
|
-
},
|
|
7914
|
+
}, zo = new ResizeObserver((o) => {
|
|
7915
7915
|
setTimeout(() => {
|
|
7916
7916
|
o.forEach((t) => {
|
|
7917
7917
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7918
7918
|
});
|
|
7919
7919
|
});
|
|
7920
|
-
}),
|
|
7920
|
+
}), zl = (o) => class extends o {
|
|
7921
7921
|
static get properties() {
|
|
7922
7922
|
return {
|
|
7923
7923
|
/**
|
|
@@ -8016,9 +8016,9 @@ const ti = {
|
|
|
8016
8016
|
}
|
|
8017
8017
|
/** @private */
|
|
8018
8018
|
__addUpdatePositionEventListeners() {
|
|
8019
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8019
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Ol(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8020
8020
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8021
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8021
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Nl(this.positionTarget, () => {
|
|
8022
8022
|
this._updatePosition();
|
|
8023
8023
|
}));
|
|
8024
8024
|
}
|
|
@@ -8030,7 +8030,7 @@ const ti = {
|
|
|
8030
8030
|
}
|
|
8031
8031
|
/** @private */
|
|
8032
8032
|
__overlayOpenedChanged(e, i) {
|
|
8033
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8033
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, zo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, zo.observe(i))), e) {
|
|
8034
8034
|
const s = getComputedStyle(this);
|
|
8035
8035
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8036
8036
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8152,7 +8152,7 @@ const ti = {
|
|
|
8152
8152
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8153
8153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8154
8154
|
*/
|
|
8155
|
-
const
|
|
8155
|
+
const Ll = (o) => class extends zl(Ml(o)) {
|
|
8156
8156
|
/**
|
|
8157
8157
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8158
8158
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8169,7 +8169,7 @@ const Rl = (o) => class extends Ll(Ol(o)) {
|
|
|
8169
8169
|
* @override
|
|
8170
8170
|
*/
|
|
8171
8171
|
_mouseDownListener(e) {
|
|
8172
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) &&
|
|
8172
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !$s(e.composedPath()[0]) && e.preventDefault();
|
|
8173
8173
|
}
|
|
8174
8174
|
};
|
|
8175
8175
|
/**
|
|
@@ -8177,7 +8177,7 @@ const Rl = (o) => class extends Ll(Ol(o)) {
|
|
|
8177
8177
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8178
8178
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8179
8179
|
*/
|
|
8180
|
-
const
|
|
8180
|
+
const Rl = P`
|
|
8181
8181
|
[part='overlay'] {
|
|
8182
8182
|
display: flex;
|
|
8183
8183
|
flex: auto;
|
|
@@ -8198,10 +8198,10 @@ const Bl = P`
|
|
|
8198
8198
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8199
8199
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8200
8200
|
*/
|
|
8201
|
-
L("vaadin-date-picker-overlay", [
|
|
8201
|
+
L("vaadin-date-picker-overlay", [ll, Rl], {
|
|
8202
8202
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8203
8203
|
});
|
|
8204
|
-
class
|
|
8204
|
+
class Bl extends Ll(jt(Ye(Ie))) {
|
|
8205
8205
|
static get is() {
|
|
8206
8206
|
return "vaadin-date-picker-overlay";
|
|
8207
8207
|
}
|
|
@@ -8216,34 +8216,34 @@ class Hl extends Rl(jt(Ye(Ie))) {
|
|
|
8216
8216
|
`;
|
|
8217
8217
|
}
|
|
8218
8218
|
}
|
|
8219
|
-
be(
|
|
8220
|
-
const
|
|
8221
|
-
function
|
|
8219
|
+
be(Bl);
|
|
8220
|
+
const Hl = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Tt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8221
|
+
function $l() {
|
|
8222
8222
|
function o() {
|
|
8223
8223
|
return !0;
|
|
8224
8224
|
}
|
|
8225
|
-
return
|
|
8225
|
+
return Js(o);
|
|
8226
8226
|
}
|
|
8227
|
-
function
|
|
8227
|
+
function Yl() {
|
|
8228
8228
|
try {
|
|
8229
|
-
return
|
|
8229
|
+
return jl() ? !0 : Vl() ? Tt ? !Ul() : !$l() : !1;
|
|
8230
8230
|
} catch {
|
|
8231
8231
|
return !1;
|
|
8232
8232
|
}
|
|
8233
8233
|
}
|
|
8234
|
-
function
|
|
8234
|
+
function jl() {
|
|
8235
8235
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8236
8236
|
}
|
|
8237
|
-
function
|
|
8237
|
+
function Vl() {
|
|
8238
8238
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8239
8239
|
}
|
|
8240
|
-
function
|
|
8240
|
+
function Ul() {
|
|
8241
8241
|
return !!(Tt && Object.keys(Tt).map((t) => Tt[t]).filter((t) => t.productionMode).length > 0);
|
|
8242
8242
|
}
|
|
8243
|
-
function
|
|
8243
|
+
function Js(o, t) {
|
|
8244
8244
|
if (typeof o != "function")
|
|
8245
8245
|
return;
|
|
8246
|
-
const e =
|
|
8246
|
+
const e = Hl.exec(o.toString());
|
|
8247
8247
|
if (e)
|
|
8248
8248
|
try {
|
|
8249
8249
|
o = new Function(e[1]);
|
|
@@ -8253,12 +8253,12 @@ function Xs(o, t) {
|
|
|
8253
8253
|
return o(t);
|
|
8254
8254
|
}
|
|
8255
8255
|
window.Vaadin = window.Vaadin || {};
|
|
8256
|
-
const
|
|
8256
|
+
const Lo = function(o, t) {
|
|
8257
8257
|
if (window.Vaadin.developmentMode)
|
|
8258
|
-
return
|
|
8258
|
+
return Js(o, t);
|
|
8259
8259
|
};
|
|
8260
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8261
|
-
function
|
|
8260
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Yl());
|
|
8261
|
+
function Wl() {
|
|
8262
8262
|
/*! vaadin-dev-mode:start
|
|
8263
8263
|
(function () {
|
|
8264
8264
|
'use strict';
|
|
@@ -8739,9 +8739,9 @@ function ql() {
|
|
|
8739
8739
|
|
|
8740
8740
|
vaadin-dev-mode:end **/
|
|
8741
8741
|
}
|
|
8742
|
-
const
|
|
8743
|
-
if (typeof
|
|
8744
|
-
return
|
|
8742
|
+
const ql = function() {
|
|
8743
|
+
if (typeof Lo == "function")
|
|
8744
|
+
return Lo(Wl);
|
|
8745
8745
|
};
|
|
8746
8746
|
/**
|
|
8747
8747
|
* @license
|
|
@@ -8752,10 +8752,10 @@ const Kl = function() {
|
|
|
8752
8752
|
* Code distributed by Google as part of the polymer project is also
|
|
8753
8753
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8754
8754
|
*/
|
|
8755
|
-
let
|
|
8755
|
+
let Ro = 0, Xs = 0;
|
|
8756
8756
|
const Je = [];
|
|
8757
8757
|
let Si = !1;
|
|
8758
|
-
function
|
|
8758
|
+
function Kl() {
|
|
8759
8759
|
Si = !1;
|
|
8760
8760
|
const o = Je.length;
|
|
8761
8761
|
for (let t = 0; t < o; t++) {
|
|
@@ -8769,7 +8769,7 @@ function Gl() {
|
|
|
8769
8769
|
});
|
|
8770
8770
|
}
|
|
8771
8771
|
}
|
|
8772
|
-
Je.splice(0, o),
|
|
8772
|
+
Je.splice(0, o), Xs += o;
|
|
8773
8773
|
}
|
|
8774
8774
|
const Lt = {
|
|
8775
8775
|
/**
|
|
@@ -8811,7 +8811,7 @@ const Lt = {
|
|
|
8811
8811
|
cancel(o) {
|
|
8812
8812
|
window.clearTimeout(o);
|
|
8813
8813
|
}
|
|
8814
|
-
},
|
|
8814
|
+
}, Gl = {
|
|
8815
8815
|
/**
|
|
8816
8816
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8817
8817
|
*
|
|
@@ -8832,7 +8832,7 @@ const Lt = {
|
|
|
8832
8832
|
cancel(o) {
|
|
8833
8833
|
window.cancelAnimationFrame(o);
|
|
8834
8834
|
}
|
|
8835
|
-
},
|
|
8835
|
+
}, Jl = {
|
|
8836
8836
|
/**
|
|
8837
8837
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8838
8838
|
*
|
|
@@ -8853,7 +8853,7 @@ const Lt = {
|
|
|
8853
8853
|
cancel(o) {
|
|
8854
8854
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8855
8855
|
}
|
|
8856
|
-
},
|
|
8856
|
+
}, Xl = {
|
|
8857
8857
|
/**
|
|
8858
8858
|
* Enqueues a function called at microtask timing.
|
|
8859
8859
|
*
|
|
@@ -8862,9 +8862,9 @@ const Lt = {
|
|
|
8862
8862
|
* @return {number} Handle used for canceling task
|
|
8863
8863
|
*/
|
|
8864
8864
|
run(o) {
|
|
8865
|
-
Si || (Si = !0, queueMicrotask(() =>
|
|
8866
|
-
const t =
|
|
8867
|
-
return
|
|
8865
|
+
Si || (Si = !0, queueMicrotask(() => Kl())), Je.push(o);
|
|
8866
|
+
const t = Ro;
|
|
8867
|
+
return Ro += 1, t;
|
|
8868
8868
|
},
|
|
8869
8869
|
/**
|
|
8870
8870
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8874,7 +8874,7 @@ const Lt = {
|
|
|
8874
8874
|
* @return {void}
|
|
8875
8875
|
*/
|
|
8876
8876
|
cancel(o) {
|
|
8877
|
-
const t = o -
|
|
8877
|
+
const t = o - Xs;
|
|
8878
8878
|
if (t >= 0) {
|
|
8879
8879
|
if (!Je[t])
|
|
8880
8880
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -8983,7 +8983,7 @@ let et = class Ci {
|
|
|
8983
8983
|
return this._timer != null;
|
|
8984
8984
|
}
|
|
8985
8985
|
};
|
|
8986
|
-
function
|
|
8986
|
+
function Zl(o) {
|
|
8987
8987
|
Ai.add(o);
|
|
8988
8988
|
}
|
|
8989
8989
|
/**
|
|
@@ -8995,17 +8995,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
8995
8995
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
8996
8996
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
8997
8997
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
8998
|
-
|
|
8998
|
+
ql();
|
|
8999
8999
|
};
|
|
9000
9000
|
let oi;
|
|
9001
|
-
const
|
|
9001
|
+
const Bo = /* @__PURE__ */ new Set(), Zs = (o) => class extends jt(o) {
|
|
9002
9002
|
/** @protected */
|
|
9003
9003
|
static finalize() {
|
|
9004
9004
|
super.finalize();
|
|
9005
9005
|
const { is: e } = this;
|
|
9006
|
-
e && !
|
|
9006
|
+
e && !Bo.has(e) && (window.Vaadin.registrations.push(this), Bo.add(e), window.Vaadin.developmentModeCallback && (oi = et.debounce(oi, Jl, () => {
|
|
9007
9007
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9008
|
-
}),
|
|
9008
|
+
}), Zl(oi)));
|
|
9009
9009
|
}
|
|
9010
9010
|
constructor() {
|
|
9011
9011
|
super(), document.doctype === null && console.warn(
|
|
@@ -9018,7 +9018,7 @@ const Ho = /* @__PURE__ */ new Set(), Qs = (o) => class extends jt(o) {
|
|
|
9018
9018
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9019
9019
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9020
9020
|
*/
|
|
9021
|
-
class
|
|
9021
|
+
class Ql {
|
|
9022
9022
|
constructor(t, e) {
|
|
9023
9023
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9024
9024
|
this._schedule();
|
|
@@ -9068,9 +9068,9 @@ class ec {
|
|
|
9068
9068
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9069
9069
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9070
9070
|
*/
|
|
9071
|
-
let
|
|
9072
|
-
function
|
|
9073
|
-
return
|
|
9071
|
+
let ec = 0;
|
|
9072
|
+
function Qs() {
|
|
9073
|
+
return ec++;
|
|
9074
9074
|
}
|
|
9075
9075
|
/**
|
|
9076
9076
|
* @license
|
|
@@ -9087,7 +9087,7 @@ class Re extends EventTarget {
|
|
|
9087
9087
|
* @protected
|
|
9088
9088
|
*/
|
|
9089
9089
|
static generateId(t, e = "default") {
|
|
9090
|
-
return `${e}-${t.localName}-${
|
|
9090
|
+
return `${e}-${t.localName}-${Qs()}`;
|
|
9091
9091
|
}
|
|
9092
9092
|
constructor(t, e, i, s = {}) {
|
|
9093
9093
|
super();
|
|
@@ -9179,8 +9179,8 @@ class Re extends EventTarget {
|
|
|
9179
9179
|
*/
|
|
9180
9180
|
observeSlot() {
|
|
9181
9181
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9182
|
-
this.__slotObserver = new
|
|
9183
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9182
|
+
this.__slotObserver = new Ql(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9183
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Fl(l) && !n.includes(l));
|
|
9184
9184
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9185
9185
|
this.teardownNode(l);
|
|
9186
9186
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9194,7 +9194,7 @@ class Re extends EventTarget {
|
|
|
9194
9194
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9195
9195
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9196
9196
|
*/
|
|
9197
|
-
class
|
|
9197
|
+
class er extends Re {
|
|
9198
9198
|
constructor(t) {
|
|
9199
9199
|
super(t, "tooltip"), this.setTarget(t);
|
|
9200
9200
|
}
|
|
@@ -9295,7 +9295,7 @@ class tr extends Re {
|
|
|
9295
9295
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9296
9296
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9297
9297
|
*/
|
|
9298
|
-
const
|
|
9298
|
+
const tc = P`
|
|
9299
9299
|
:host {
|
|
9300
9300
|
display: inline-block;
|
|
9301
9301
|
position: relative;
|
|
@@ -9355,7 +9355,7 @@ const ic = P`
|
|
|
9355
9355
|
outline-color: GrayText;
|
|
9356
9356
|
}
|
|
9357
9357
|
}
|
|
9358
|
-
`,
|
|
9358
|
+
`, ic = (o) => o`
|
|
9359
9359
|
<div class="vaadin-button-container">
|
|
9360
9360
|
<span part="prefix" aria-hidden="true">
|
|
9361
9361
|
<slot name="prefix"></slot>
|
|
@@ -9378,34 +9378,33 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9378
9378
|
Code distributed by Google as part of the polymer project is also
|
|
9379
9379
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9380
9380
|
*/
|
|
9381
|
-
const
|
|
9381
|
+
const oc = (o) => o, tr = typeof document.head.style.touchAction == "string", Pi = "__polymerGestures", si = "__polymerGesturesHandled", ki = "__polymerGesturesTouchAction", Ho = 25, $o = 5, sc = 2, rc = ["mousedown", "mousemove", "mouseup", "click"], nc = [0, 1, 4, 2], ac = function() {
|
|
9382
9382
|
try {
|
|
9383
9383
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9384
9384
|
} catch {
|
|
9385
9385
|
return !1;
|
|
9386
9386
|
}
|
|
9387
9387
|
}();
|
|
9388
|
-
function
|
|
9389
|
-
return
|
|
9388
|
+
function qi(o) {
|
|
9389
|
+
return rc.indexOf(o) > -1;
|
|
9390
9390
|
}
|
|
9391
|
-
let
|
|
9391
|
+
let lc = !1;
|
|
9392
9392
|
(function() {
|
|
9393
9393
|
try {
|
|
9394
9394
|
const o = Object.defineProperty({}, "passive", {
|
|
9395
9395
|
// eslint-disable-next-line getter-return
|
|
9396
9396
|
get() {
|
|
9397
|
-
|
|
9397
|
+
lc = !0;
|
|
9398
9398
|
}
|
|
9399
9399
|
});
|
|
9400
9400
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9401
9401
|
} catch {
|
|
9402
9402
|
}
|
|
9403
9403
|
})();
|
|
9404
|
-
function
|
|
9405
|
-
|
|
9406
|
-
return { passive: !0 };
|
|
9404
|
+
function cc(o) {
|
|
9405
|
+
qi(o);
|
|
9407
9406
|
}
|
|
9408
|
-
const
|
|
9407
|
+
const uc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), dc = {
|
|
9409
9408
|
button: !0,
|
|
9410
9409
|
command: !0,
|
|
9411
9410
|
fieldset: !0,
|
|
@@ -9418,15 +9417,15 @@ const dc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), hc = {
|
|
|
9418
9417
|
};
|
|
9419
9418
|
function He(o) {
|
|
9420
9419
|
const t = o.type;
|
|
9421
|
-
if (!
|
|
9420
|
+
if (!qi(t))
|
|
9422
9421
|
return !1;
|
|
9423
9422
|
if (t === "mousemove") {
|
|
9424
9423
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9425
|
-
return o instanceof window.MouseEvent && !
|
|
9424
|
+
return o instanceof window.MouseEvent && !ac && (i = nc[o.which] || 0), !!(i & 1);
|
|
9426
9425
|
}
|
|
9427
9426
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9428
9427
|
}
|
|
9429
|
-
function
|
|
9428
|
+
function hc(o) {
|
|
9430
9429
|
if (o.type === "click") {
|
|
9431
9430
|
if (o.detail === 0)
|
|
9432
9431
|
return !0;
|
|
@@ -9454,9 +9453,9 @@ const Se = {
|
|
|
9454
9453
|
scrollDecided: !1
|
|
9455
9454
|
}
|
|
9456
9455
|
};
|
|
9457
|
-
function
|
|
9456
|
+
function pc(o) {
|
|
9458
9457
|
let t = "auto";
|
|
9459
|
-
const e =
|
|
9458
|
+
const e = or(o);
|
|
9460
9459
|
for (let i = 0, s; i < e.length; i++)
|
|
9461
9460
|
if (s = e[i], s[ki]) {
|
|
9462
9461
|
t = s[ki];
|
|
@@ -9464,14 +9463,14 @@ function fc(o) {
|
|
|
9464
9463
|
}
|
|
9465
9464
|
return t;
|
|
9466
9465
|
}
|
|
9467
|
-
function
|
|
9466
|
+
function ir(o, t, e) {
|
|
9468
9467
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9469
9468
|
}
|
|
9470
9469
|
function Xe(o) {
|
|
9471
9470
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9472
9471
|
}
|
|
9473
|
-
const
|
|
9474
|
-
function
|
|
9472
|
+
const or = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Ki = {}, Be = [];
|
|
9473
|
+
function fc(o, t) {
|
|
9475
9474
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9476
9475
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9477
9476
|
const s = i;
|
|
@@ -9482,13 +9481,13 @@ function mc(o, t) {
|
|
|
9482
9481
|
return e;
|
|
9483
9482
|
}
|
|
9484
9483
|
function Oe(o) {
|
|
9485
|
-
const t =
|
|
9484
|
+
const t = or(
|
|
9486
9485
|
/** @type {?Event} */
|
|
9487
9486
|
o
|
|
9488
9487
|
);
|
|
9489
9488
|
return t.length > 0 ? t[0] : o.target;
|
|
9490
9489
|
}
|
|
9491
|
-
function
|
|
9490
|
+
function mc(o) {
|
|
9492
9491
|
const t = o.type, i = o.currentTarget[Pi];
|
|
9493
9492
|
if (!i)
|
|
9494
9493
|
return;
|
|
@@ -9499,7 +9498,7 @@ function _c(o) {
|
|
|
9499
9498
|
const n = o.changedTouches[0];
|
|
9500
9499
|
if (t === "touchstart" && o.touches.length === 1 && (Se.touch.id = n.identifier), Se.touch.id !== n.identifier)
|
|
9501
9500
|
return;
|
|
9502
|
-
|
|
9501
|
+
tr || (t === "touchstart" || t === "touchmove") && _c(o);
|
|
9503
9502
|
}
|
|
9504
9503
|
const r = o[si];
|
|
9505
9504
|
if (!r.skip) {
|
|
@@ -9509,7 +9508,7 @@ function _c(o) {
|
|
|
9509
9508
|
a = Be[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9510
9509
|
}
|
|
9511
9510
|
}
|
|
9512
|
-
function
|
|
9511
|
+
function _c(o) {
|
|
9513
9512
|
const t = o.changedTouches[0], e = o.type;
|
|
9514
9513
|
if (e === "touchstart")
|
|
9515
9514
|
Se.touch.x = t.clientX, Se.touch.y = t.clientY, Se.touch.scrollDecided = !1;
|
|
@@ -9517,29 +9516,29 @@ function gc(o) {
|
|
|
9517
9516
|
if (Se.touch.scrollDecided)
|
|
9518
9517
|
return;
|
|
9519
9518
|
Se.touch.scrollDecided = !0;
|
|
9520
|
-
const i =
|
|
9519
|
+
const i = pc(o);
|
|
9521
9520
|
let s = !1;
|
|
9522
9521
|
const r = Math.abs(Se.touch.x - t.clientX), n = Math.abs(Se.touch.y - t.clientY);
|
|
9523
9522
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Rt("track");
|
|
9524
9523
|
}
|
|
9525
9524
|
}
|
|
9526
9525
|
function ge(o, t, e) {
|
|
9527
|
-
return
|
|
9526
|
+
return Ki[t] ? (gc(o, t, e), !0) : !1;
|
|
9528
9527
|
}
|
|
9529
|
-
function
|
|
9530
|
-
const i =
|
|
9528
|
+
function gc(o, t, e) {
|
|
9529
|
+
const i = Ki[t], s = i.deps, r = i.name;
|
|
9531
9530
|
let n = o[Pi];
|
|
9532
9531
|
n || (o[Pi] = n = {});
|
|
9533
9532
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9534
|
-
l = s[a], !(
|
|
9535
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9533
|
+
l = s[a], !(uc && qi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, mc, cc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9534
|
+
o.addEventListener(t, e), i.touchAction && sr(o, i.touchAction);
|
|
9536
9535
|
}
|
|
9537
|
-
function
|
|
9536
|
+
function Gi(o) {
|
|
9538
9537
|
Be.push(o), o.emits.forEach((t) => {
|
|
9539
|
-
|
|
9538
|
+
Ki[t] = o;
|
|
9540
9539
|
});
|
|
9541
9540
|
}
|
|
9542
|
-
function
|
|
9541
|
+
function bc(o) {
|
|
9543
9542
|
for (let t = 0, e; t < Be.length; t++) {
|
|
9544
9543
|
e = Be[t];
|
|
9545
9544
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9548,14 +9547,14 @@ function vc(o) {
|
|
|
9548
9547
|
}
|
|
9549
9548
|
return null;
|
|
9550
9549
|
}
|
|
9551
|
-
function
|
|
9552
|
-
|
|
9550
|
+
function sr(o, t) {
|
|
9551
|
+
tr && o instanceof HTMLElement && Xl.run(() => {
|
|
9553
9552
|
o.style.touchAction = t;
|
|
9554
9553
|
}), o[ki] = t;
|
|
9555
9554
|
}
|
|
9556
|
-
function
|
|
9555
|
+
function Ji(o, t, e) {
|
|
9557
9556
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9558
|
-
if (i.detail = e,
|
|
9557
|
+
if (i.detail = e, oc(
|
|
9559
9558
|
/** @type {!Node} */
|
|
9560
9559
|
o
|
|
9561
9560
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9564,10 +9563,10 @@ function Xi(o, t, e) {
|
|
|
9564
9563
|
}
|
|
9565
9564
|
}
|
|
9566
9565
|
function Rt(o) {
|
|
9567
|
-
const t =
|
|
9566
|
+
const t = bc(o);
|
|
9568
9567
|
t.info && (t.info.prevent = !0);
|
|
9569
9568
|
}
|
|
9570
|
-
|
|
9569
|
+
Gi({
|
|
9571
9570
|
name: "downup",
|
|
9572
9571
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9573
9572
|
flow: {
|
|
@@ -9599,7 +9598,7 @@ Ji({
|
|
|
9599
9598
|
}, s = (r) => {
|
|
9600
9599
|
He(r) && at("up", t, r), Xe(e.info);
|
|
9601
9600
|
};
|
|
9602
|
-
|
|
9601
|
+
ir(this.info, i, s), at("down", t, o);
|
|
9603
9602
|
},
|
|
9604
9603
|
/**
|
|
9605
9604
|
* @this {GestureRecognizer}
|
|
@@ -9619,7 +9618,7 @@ Ji({
|
|
|
9619
9618
|
}
|
|
9620
9619
|
});
|
|
9621
9620
|
function at(o, t, e, i) {
|
|
9622
|
-
t &&
|
|
9621
|
+
t && Ji(t, o, {
|
|
9623
9622
|
x: e.clientX,
|
|
9624
9623
|
y: e.clientY,
|
|
9625
9624
|
sourceEvent: e,
|
|
@@ -9629,7 +9628,7 @@ function at(o, t, e, i) {
|
|
|
9629
9628
|
}
|
|
9630
9629
|
});
|
|
9631
9630
|
}
|
|
9632
|
-
|
|
9631
|
+
Gi({
|
|
9633
9632
|
name: "track",
|
|
9634
9633
|
touchAction: "none",
|
|
9635
9634
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9646,7 +9645,7 @@ Ji({
|
|
|
9646
9645
|
moves: [],
|
|
9647
9646
|
/** @this {GestureInfo} */
|
|
9648
9647
|
addMove(o) {
|
|
9649
|
-
this.moves.length >
|
|
9648
|
+
this.moves.length > sc && this.moves.shift(), this.moves.push(o);
|
|
9650
9649
|
},
|
|
9651
9650
|
movefn: null,
|
|
9652
9651
|
upfn: null,
|
|
@@ -9669,11 +9668,11 @@ Ji({
|
|
|
9669
9668
|
return;
|
|
9670
9669
|
const t = Oe(o), e = this, i = (r) => {
|
|
9671
9670
|
const n = r.clientX, a = r.clientY;
|
|
9672
|
-
|
|
9671
|
+
Yo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Rt("tap"), e.info.addMove({ x: n, y: a }), He(r) || (e.info.state = "end", Xe(e.info)), t && ri(e.info, t, r), e.info.started = !0);
|
|
9673
9672
|
}, s = (r) => {
|
|
9674
9673
|
e.info.started && i(r), Xe(e.info);
|
|
9675
9674
|
};
|
|
9676
|
-
|
|
9675
|
+
ir(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9677
9676
|
},
|
|
9678
9677
|
/**
|
|
9679
9678
|
* @this {GestureRecognizer}
|
|
@@ -9691,7 +9690,7 @@ Ji({
|
|
|
9691
9690
|
*/
|
|
9692
9691
|
touchmove(o) {
|
|
9693
9692
|
const t = Oe(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9694
|
-
|
|
9693
|
+
Yo(this.info, i, s) && (this.info.state === "start" && Rt("tap"), this.info.addMove({ x: i, y: s }), ri(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9695
9694
|
},
|
|
9696
9695
|
/**
|
|
9697
9696
|
* @this {GestureRecognizer}
|
|
@@ -9703,20 +9702,20 @@ Ji({
|
|
|
9703
9702
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), ri(this.info, t, e));
|
|
9704
9703
|
}
|
|
9705
9704
|
});
|
|
9706
|
-
function
|
|
9705
|
+
function Yo(o, t, e) {
|
|
9707
9706
|
if (o.prevent)
|
|
9708
9707
|
return !1;
|
|
9709
9708
|
if (o.started)
|
|
9710
9709
|
return !0;
|
|
9711
9710
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9712
|
-
return i >=
|
|
9711
|
+
return i >= $o || s >= $o;
|
|
9713
9712
|
}
|
|
9714
9713
|
function ri(o, t, e) {
|
|
9715
9714
|
if (!t)
|
|
9716
9715
|
return;
|
|
9717
9716
|
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;
|
|
9718
9717
|
let a, l = 0;
|
|
9719
|
-
i && (a = s.x - i.x, l = s.y - i.y),
|
|
9718
|
+
i && (a = s.x - i.x, l = s.y - i.y), Ji(t, "track", {
|
|
9720
9719
|
state: o.state,
|
|
9721
9720
|
x: e.clientX,
|
|
9722
9721
|
y: e.clientY,
|
|
@@ -9726,11 +9725,11 @@ function ri(o, t, e) {
|
|
|
9726
9725
|
ddy: l,
|
|
9727
9726
|
sourceEvent: e,
|
|
9728
9727
|
hover() {
|
|
9729
|
-
return
|
|
9728
|
+
return fc(e.clientX, e.clientY);
|
|
9730
9729
|
}
|
|
9731
9730
|
});
|
|
9732
9731
|
}
|
|
9733
|
-
|
|
9732
|
+
Gi({
|
|
9734
9733
|
name: "tap",
|
|
9735
9734
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9736
9735
|
flow: {
|
|
@@ -9764,7 +9763,7 @@ Ji({
|
|
|
9764
9763
|
* @return {void}
|
|
9765
9764
|
*/
|
|
9766
9765
|
click(o) {
|
|
9767
|
-
He(o) &&
|
|
9766
|
+
He(o) && jo(this.info, o);
|
|
9768
9767
|
},
|
|
9769
9768
|
/**
|
|
9770
9769
|
* @this {GestureRecognizer}
|
|
@@ -9781,15 +9780,15 @@ Ji({
|
|
|
9781
9780
|
* @return {void}
|
|
9782
9781
|
*/
|
|
9783
9782
|
touchend(o) {
|
|
9784
|
-
|
|
9783
|
+
jo(this.info, o.changedTouches[0], o);
|
|
9785
9784
|
}
|
|
9786
9785
|
});
|
|
9787
|
-
function
|
|
9786
|
+
function jo(o, t, e) {
|
|
9788
9787
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Oe(e || t);
|
|
9789
|
-
!r ||
|
|
9788
|
+
!r || dc[
|
|
9790
9789
|
/** @type {!HTMLElement} */
|
|
9791
9790
|
r.localName
|
|
9792
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9791
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Ho && s <= Ho || hc(t)) && (o.prevent || Ji(r, "tap", {
|
|
9793
9792
|
x: t.clientX,
|
|
9794
9793
|
y: t.clientY,
|
|
9795
9794
|
sourceEvent: t,
|
|
@@ -9801,7 +9800,7 @@ function Vo(o, t, e) {
|
|
|
9801
9800
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9802
9801
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9803
9802
|
*/
|
|
9804
|
-
const
|
|
9803
|
+
const rr = V(
|
|
9805
9804
|
(o) => class extends o {
|
|
9806
9805
|
static get properties() {
|
|
9807
9806
|
return {
|
|
@@ -9908,7 +9907,7 @@ const Wt = V(
|
|
|
9908
9907
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9909
9908
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9910
9909
|
*/
|
|
9911
|
-
const yc = (o) => class extends
|
|
9910
|
+
const yc = (o) => class extends rr(Wt(o)) {
|
|
9912
9911
|
/**
|
|
9913
9912
|
* An array of activation keys.
|
|
9914
9913
|
*
|
|
@@ -9971,7 +9970,7 @@ const yc = (o) => class extends nr(Wt(o)) {
|
|
|
9971
9970
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9972
9971
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9973
9972
|
*/
|
|
9974
|
-
const
|
|
9973
|
+
const Xi = V(
|
|
9975
9974
|
(o) => class extends o {
|
|
9976
9975
|
/**
|
|
9977
9976
|
* @protected
|
|
@@ -10028,7 +10027,7 @@ const Zi = V(
|
|
|
10028
10027
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10029
10028
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10030
10029
|
*/
|
|
10031
|
-
const
|
|
10030
|
+
const nr = (o) => class extends rr(o) {
|
|
10032
10031
|
static get properties() {
|
|
10033
10032
|
return {
|
|
10034
10033
|
/**
|
|
@@ -10079,7 +10078,7 @@ const ar = (o) => class extends nr(o) {
|
|
|
10079
10078
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10080
10079
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10081
10080
|
*/
|
|
10082
|
-
const
|
|
10081
|
+
const vc = (o) => class extends yc(nr(Xi(o))) {
|
|
10083
10082
|
static get properties() {
|
|
10084
10083
|
return {
|
|
10085
10084
|
/**
|
|
@@ -10134,26 +10133,26 @@ const xc = (o) => class extends yc(ar(Zi(o))) {
|
|
|
10134
10133
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10135
10134
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10136
10135
|
*/
|
|
10137
|
-
L("vaadin-button",
|
|
10138
|
-
class
|
|
10136
|
+
L("vaadin-button", tc, { moduleId: "vaadin-button-styles" });
|
|
10137
|
+
class xc extends vc(Zs(Ye(ot(Ie)))) {
|
|
10139
10138
|
static get is() {
|
|
10140
10139
|
return "vaadin-button";
|
|
10141
10140
|
}
|
|
10142
10141
|
static get template() {
|
|
10143
|
-
return
|
|
10142
|
+
return ic(Ve);
|
|
10144
10143
|
}
|
|
10145
10144
|
/** @protected */
|
|
10146
10145
|
ready() {
|
|
10147
|
-
super.ready(), this._tooltipController = new
|
|
10146
|
+
super.ready(), this._tooltipController = new er(this), this.addController(this._tooltipController);
|
|
10148
10147
|
}
|
|
10149
10148
|
}
|
|
10150
|
-
be(
|
|
10149
|
+
be(xc);
|
|
10151
10150
|
/**
|
|
10152
10151
|
* @license
|
|
10153
10152
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10154
10153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10155
10154
|
*/
|
|
10156
|
-
function
|
|
10155
|
+
function wc(o) {
|
|
10157
10156
|
let t = o.getDay();
|
|
10158
10157
|
t === 0 && (t = 7);
|
|
10159
10158
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10168,7 +10167,7 @@ function Di(o) {
|
|
|
10168
10167
|
function Ce(o, t, e = Di) {
|
|
10169
10168
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10170
10169
|
}
|
|
10171
|
-
function
|
|
10170
|
+
function Zi(o) {
|
|
10172
10171
|
return {
|
|
10173
10172
|
day: o.getDate(),
|
|
10174
10173
|
month: o.getMonth(),
|
|
@@ -10178,12 +10177,12 @@ function Qi(o) {
|
|
|
10178
10177
|
function tt(o, t, e, i) {
|
|
10179
10178
|
let s = !1;
|
|
10180
10179
|
if (typeof i == "function" && o) {
|
|
10181
|
-
const r =
|
|
10180
|
+
const r = Zi(o);
|
|
10182
10181
|
s = i(r);
|
|
10183
10182
|
}
|
|
10184
10183
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10185
10184
|
}
|
|
10186
|
-
function
|
|
10185
|
+
function ar(o, t) {
|
|
10187
10186
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10188
10187
|
if (!i)
|
|
10189
10188
|
return e;
|
|
@@ -10193,11 +10192,11 @@ function lr(o, t) {
|
|
|
10193
10192
|
return s < r ? i : e;
|
|
10194
10193
|
});
|
|
10195
10194
|
}
|
|
10196
|
-
function
|
|
10195
|
+
function lr(o) {
|
|
10197
10196
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10198
10197
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10199
10198
|
}
|
|
10200
|
-
function
|
|
10199
|
+
function Ec(o, t, e = 0, i = 1) {
|
|
10201
10200
|
if (t > 99)
|
|
10202
10201
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10203
10202
|
if (t < 0)
|
|
@@ -10212,15 +10211,15 @@ function lt(o) {
|
|
|
10212
10211
|
const e = new Date(0, 0);
|
|
10213
10212
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10214
10213
|
}
|
|
10215
|
-
function
|
|
10214
|
+
function Sc(o) {
|
|
10216
10215
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10217
10216
|
let e = "", i = "0000", s = o.year;
|
|
10218
10217
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10219
10218
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10220
10219
|
return [r, n, a].join("-");
|
|
10221
10220
|
}
|
|
10222
|
-
function
|
|
10223
|
-
return o instanceof Date ?
|
|
10221
|
+
function Ac(o) {
|
|
10222
|
+
return o instanceof Date ? Sc({
|
|
10224
10223
|
year: o.getFullYear(),
|
|
10225
10224
|
month: o.getMonth(),
|
|
10226
10225
|
day: o.getDate()
|
|
@@ -10327,9 +10326,9 @@ class Bt {
|
|
|
10327
10326
|
}
|
|
10328
10327
|
}
|
|
10329
10328
|
let xt = /* @__PURE__ */ new Set();
|
|
10330
|
-
const
|
|
10329
|
+
const Cc = function(o) {
|
|
10331
10330
|
xt.add(o);
|
|
10332
|
-
},
|
|
10331
|
+
}, Pc = function() {
|
|
10333
10332
|
const o = !!xt.size;
|
|
10334
10333
|
return xt.forEach((t) => {
|
|
10335
10334
|
try {
|
|
@@ -10350,10 +10349,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10350
10349
|
Code distributed by Google as part of the polymer project is also
|
|
10351
10350
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10352
10351
|
*/
|
|
10353
|
-
const
|
|
10352
|
+
const Qi = function() {
|
|
10354
10353
|
let o, t;
|
|
10355
10354
|
do
|
|
10356
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10355
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Pc();
|
|
10357
10356
|
while (o || t);
|
|
10358
10357
|
};
|
|
10359
10358
|
/**
|
|
@@ -10361,8 +10360,8 @@ const eo = function() {
|
|
|
10361
10360
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10362
10361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10363
10362
|
*/
|
|
10364
|
-
const
|
|
10365
|
-
|
|
10363
|
+
const cr = document.createElement("template");
|
|
10364
|
+
cr.innerHTML = `
|
|
10366
10365
|
<style>
|
|
10367
10366
|
:host {
|
|
10368
10367
|
display: block;
|
|
@@ -10413,9 +10412,9 @@ ur.innerHTML = `
|
|
|
10413
10412
|
<div id="fullHeight"></div>
|
|
10414
10413
|
</div>
|
|
10415
10414
|
`;
|
|
10416
|
-
class
|
|
10415
|
+
class ur extends HTMLElement {
|
|
10417
10416
|
constructor() {
|
|
10418
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10417
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(cr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10419
10418
|
}
|
|
10420
10419
|
/**
|
|
10421
10420
|
* @return {boolean}
|
|
@@ -10475,7 +10474,7 @@ class dr extends HTMLElement {
|
|
|
10475
10474
|
* waiting for the debouncer to resolve.
|
|
10476
10475
|
*/
|
|
10477
10476
|
forceUpdate() {
|
|
10478
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10477
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), Qi();
|
|
10479
10478
|
}
|
|
10480
10479
|
/**
|
|
10481
10480
|
* @protected
|
|
@@ -10531,7 +10530,7 @@ class dr extends HTMLElement {
|
|
|
10531
10530
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10532
10531
|
const s = document.createElement("div");
|
|
10533
10532
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10534
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10533
|
+
const r = `vaadin-infinite-scroller-item-content-${Qs()}`, n = document.createElement("slot");
|
|
10535
10534
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10536
10535
|
}
|
|
10537
10536
|
}), requestAnimationFrame(() => {
|
|
@@ -10572,8 +10571,8 @@ class dr extends HTMLElement {
|
|
|
10572
10571
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10573
10572
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10574
10573
|
*/
|
|
10575
|
-
const
|
|
10576
|
-
|
|
10574
|
+
const dr = document.createElement("template");
|
|
10575
|
+
dr.innerHTML = `
|
|
10577
10576
|
<style>
|
|
10578
10577
|
:host {
|
|
10579
10578
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10586,12 +10585,12 @@ hr.innerHTML = `
|
|
|
10586
10585
|
}
|
|
10587
10586
|
</style>
|
|
10588
10587
|
`;
|
|
10589
|
-
class
|
|
10588
|
+
class kc extends ur {
|
|
10590
10589
|
static get is() {
|
|
10591
10590
|
return "vaadin-date-picker-month-scroller";
|
|
10592
10591
|
}
|
|
10593
10592
|
constructor() {
|
|
10594
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10593
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(dr.content.cloneNode(!0));
|
|
10595
10594
|
}
|
|
10596
10595
|
/**
|
|
10597
10596
|
* @protected
|
|
@@ -10607,17 +10606,17 @@ class Dc extends dr {
|
|
|
10607
10606
|
* @override
|
|
10608
10607
|
*/
|
|
10609
10608
|
_updateElement(t, e) {
|
|
10610
|
-
t.month =
|
|
10609
|
+
t.month = lr(e);
|
|
10611
10610
|
}
|
|
10612
10611
|
}
|
|
10613
|
-
be(
|
|
10612
|
+
be(kc);
|
|
10614
10613
|
/**
|
|
10615
10614
|
* @license
|
|
10616
10615
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10617
10616
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10618
10617
|
*/
|
|
10619
|
-
const
|
|
10620
|
-
|
|
10618
|
+
const hr = document.createElement("template");
|
|
10619
|
+
hr.innerHTML = `
|
|
10621
10620
|
<style>
|
|
10622
10621
|
:host {
|
|
10623
10622
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10652,12 +10651,12 @@ pr.innerHTML = `
|
|
|
10652
10651
|
}
|
|
10653
10652
|
</style>
|
|
10654
10653
|
`;
|
|
10655
|
-
class
|
|
10654
|
+
class Dc extends ur {
|
|
10656
10655
|
static get is() {
|
|
10657
10656
|
return "vaadin-date-picker-year-scroller";
|
|
10658
10657
|
}
|
|
10659
10658
|
constructor() {
|
|
10660
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10659
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(hr.content.cloneNode(!0));
|
|
10661
10660
|
}
|
|
10662
10661
|
/**
|
|
10663
10662
|
* @protected
|
|
@@ -10681,13 +10680,13 @@ class Tc extends dr {
|
|
|
10681
10680
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10682
10681
|
}
|
|
10683
10682
|
}
|
|
10684
|
-
be(
|
|
10683
|
+
be(Dc);
|
|
10685
10684
|
/**
|
|
10686
10685
|
* @license
|
|
10687
10686
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10688
10687
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10689
10688
|
*/
|
|
10690
|
-
const
|
|
10689
|
+
const Tc = (o) => class extends o {
|
|
10691
10690
|
static get properties() {
|
|
10692
10691
|
return {
|
|
10693
10692
|
year: {
|
|
@@ -10713,7 +10712,7 @@ const Mc = (o) => class extends o {
|
|
|
10713
10712
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10714
10713
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10715
10714
|
*/
|
|
10716
|
-
class
|
|
10715
|
+
class Mc extends Ye(Tc(Ie)) {
|
|
10717
10716
|
static get is() {
|
|
10718
10717
|
return "vaadin-date-picker-year";
|
|
10719
10718
|
}
|
|
@@ -10730,7 +10729,7 @@ class Oc extends Ye(Mc(Ie)) {
|
|
|
10730
10729
|
`;
|
|
10731
10730
|
}
|
|
10732
10731
|
}
|
|
10733
|
-
be(
|
|
10732
|
+
be(Mc);
|
|
10734
10733
|
/**
|
|
10735
10734
|
@license
|
|
10736
10735
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10740,13 +10739,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10740
10739
|
Code distributed by Google as part of the polymer project is also
|
|
10741
10740
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10742
10741
|
*/
|
|
10743
|
-
function
|
|
10742
|
+
function eo(o, t, e, i, s) {
|
|
10744
10743
|
let r;
|
|
10745
10744
|
s && (r = typeof e == "object" && e !== null, r && (i = o.__dataTemp[t]));
|
|
10746
10745
|
let n = i !== e && (i === i || e === e);
|
|
10747
10746
|
return r && n && (o.__dataTemp[t] = e), n;
|
|
10748
10747
|
}
|
|
10749
|
-
const
|
|
10748
|
+
const to = V((o) => {
|
|
10750
10749
|
class t extends o {
|
|
10751
10750
|
/**
|
|
10752
10751
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10766,11 +10765,11 @@ const io = V((o) => {
|
|
|
10766
10765
|
* @protected
|
|
10767
10766
|
*/
|
|
10768
10767
|
_shouldPropertyChange(i, s, r) {
|
|
10769
|
-
return
|
|
10768
|
+
return eo(this, i, s, r, !0);
|
|
10770
10769
|
}
|
|
10771
10770
|
}
|
|
10772
10771
|
return t;
|
|
10773
|
-
}),
|
|
10772
|
+
}), Oc = V((o) => {
|
|
10774
10773
|
class t extends o {
|
|
10775
10774
|
/** @nocollapse */
|
|
10776
10775
|
static get properties() {
|
|
@@ -10802,12 +10801,12 @@ const io = V((o) => {
|
|
|
10802
10801
|
* @protected
|
|
10803
10802
|
*/
|
|
10804
10803
|
_shouldPropertyChange(i, s, r) {
|
|
10805
|
-
return
|
|
10804
|
+
return eo(this, i, s, r, this.mutableData);
|
|
10806
10805
|
}
|
|
10807
10806
|
}
|
|
10808
10807
|
return t;
|
|
10809
10808
|
});
|
|
10810
|
-
|
|
10809
|
+
to._mutablePropertyChange = eo;
|
|
10811
10810
|
/**
|
|
10812
10811
|
@license
|
|
10813
10812
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10827,13 +10826,13 @@ Mi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10827
10826
|
writable: !0
|
|
10828
10827
|
}
|
|
10829
10828
|
});
|
|
10830
|
-
const
|
|
10831
|
-
function
|
|
10829
|
+
const pr = ji(Mi), Ic = to(pr);
|
|
10830
|
+
function Fc(o, t) {
|
|
10832
10831
|
Ti = o, Object.setPrototypeOf(o, t.prototype), new t(), Ti = null;
|
|
10833
10832
|
}
|
|
10834
|
-
const
|
|
10833
|
+
const Nc = ji(class {
|
|
10835
10834
|
});
|
|
10836
|
-
function
|
|
10835
|
+
function zc(o, t) {
|
|
10837
10836
|
for (let e = 0; e < t.length; e++) {
|
|
10838
10837
|
let i = t[e];
|
|
10839
10838
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10851,7 +10850,7 @@ function Lc(o, t) {
|
|
|
10851
10850
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10852
10851
|
}
|
|
10853
10852
|
}
|
|
10854
|
-
class Fe extends
|
|
10853
|
+
class Fe extends Nc {
|
|
10855
10854
|
constructor(t) {
|
|
10856
10855
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10857
10856
|
let e = [];
|
|
@@ -10920,7 +10919,7 @@ class Fe extends zc {
|
|
|
10920
10919
|
* @protected
|
|
10921
10920
|
*/
|
|
10922
10921
|
_showHideChildren(t) {
|
|
10923
|
-
|
|
10922
|
+
zc(t, this.children);
|
|
10924
10923
|
}
|
|
10925
10924
|
/**
|
|
10926
10925
|
* Overrides default property-effects implementation to intercept
|
|
@@ -10973,31 +10972,31 @@ Fe.prototype.__templatizeOptions;
|
|
|
10973
10972
|
Fe.prototype._methodHost;
|
|
10974
10973
|
Fe.prototype.__templatizeOwner;
|
|
10975
10974
|
Fe.prototype.__hostProps;
|
|
10976
|
-
const
|
|
10975
|
+
const Lc = to(
|
|
10977
10976
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10978
10977
|
// TemplateInstanceBase is a constructor function.
|
|
10979
10978
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10980
10979
|
Fe
|
|
10981
10980
|
);
|
|
10982
|
-
function
|
|
10981
|
+
function Vo(o) {
|
|
10983
10982
|
let t = o.__dataHost;
|
|
10984
10983
|
return t && t._methodHost || t;
|
|
10985
10984
|
}
|
|
10986
|
-
function
|
|
10987
|
-
let i = e.mutableData ?
|
|
10985
|
+
function Rc(o, t, e) {
|
|
10986
|
+
let i = e.mutableData ? Lc : Fe;
|
|
10988
10987
|
Oi.mixin && (i = Oi.mixin(i));
|
|
10989
10988
|
let s = class extends i {
|
|
10990
10989
|
};
|
|
10991
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
10990
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), $c(s, o, t, e), s;
|
|
10992
10991
|
}
|
|
10993
|
-
function
|
|
10992
|
+
function Bc(o, t, e, i) {
|
|
10994
10993
|
let s = e.forwardHostProp;
|
|
10995
10994
|
if (s && t.hasHostProps) {
|
|
10996
10995
|
const r = o.localName == "template";
|
|
10997
10996
|
let n = t.templatizeTemplateClass;
|
|
10998
10997
|
if (!n) {
|
|
10999
10998
|
if (r) {
|
|
11000
|
-
let l = e.mutableData ?
|
|
10999
|
+
let l = e.mutableData ? Ic : pr;
|
|
11001
11000
|
class c extends l {
|
|
11002
11001
|
}
|
|
11003
11002
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11012,12 +11011,12 @@ function Hc(o, t, e, i) {
|
|
|
11012
11011
|
n.prototype._addPropertyEffect(
|
|
11013
11012
|
"_host_" + l,
|
|
11014
11013
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11015
|
-
{ fn:
|
|
11014
|
+
{ fn: Hc(l, s) }
|
|
11016
11015
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11017
|
-
|
|
11016
|
+
bs && i && Vc(t, e, i);
|
|
11018
11017
|
}
|
|
11019
11018
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11020
|
-
|
|
11019
|
+
Fc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11021
11020
|
else {
|
|
11022
11021
|
Object.setPrototypeOf(o, n.prototype);
|
|
11023
11022
|
const a = t.hostProps;
|
|
@@ -11029,7 +11028,7 @@ function Hc(o, t, e, i) {
|
|
|
11029
11028
|
}
|
|
11030
11029
|
}
|
|
11031
11030
|
}
|
|
11032
|
-
function
|
|
11031
|
+
function Hc(o, t) {
|
|
11033
11032
|
return function(i, s, r) {
|
|
11034
11033
|
t.call(
|
|
11035
11034
|
i.__templatizeOwner,
|
|
@@ -11038,7 +11037,7 @@ function $c(o, t) {
|
|
|
11038
11037
|
);
|
|
11039
11038
|
};
|
|
11040
11039
|
}
|
|
11041
|
-
function
|
|
11040
|
+
function $c(o, t, e, i) {
|
|
11042
11041
|
let s = e.hostProps || {};
|
|
11043
11042
|
for (let r in i.instanceProps) {
|
|
11044
11043
|
delete s[r];
|
|
@@ -11046,7 +11045,7 @@ function Yc(o, t, e, i) {
|
|
|
11046
11045
|
n && o.prototype._addPropertyEffect(
|
|
11047
11046
|
r,
|
|
11048
11047
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11049
|
-
{ fn:
|
|
11048
|
+
{ fn: Yc(r, n) }
|
|
11050
11049
|
);
|
|
11051
11050
|
}
|
|
11052
11051
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11054,10 +11053,10 @@ function Yc(o, t, e, i) {
|
|
|
11054
11053
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11055
11054
|
r,
|
|
11056
11055
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11057
|
-
{ fn:
|
|
11056
|
+
{ fn: jc() }
|
|
11058
11057
|
);
|
|
11059
11058
|
}
|
|
11060
|
-
function
|
|
11059
|
+
function Yc(o, t) {
|
|
11061
11060
|
return function(i, s, r) {
|
|
11062
11061
|
t.call(
|
|
11063
11062
|
i.__templatizeOwner,
|
|
@@ -11067,22 +11066,22 @@ function jc(o, t) {
|
|
|
11067
11066
|
);
|
|
11068
11067
|
};
|
|
11069
11068
|
}
|
|
11070
|
-
function
|
|
11069
|
+
function jc() {
|
|
11071
11070
|
return function(t, e, i) {
|
|
11072
11071
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11073
11072
|
};
|
|
11074
11073
|
}
|
|
11075
11074
|
function Oi(o, t, e) {
|
|
11076
|
-
if (Nt && !
|
|
11075
|
+
if (Nt && !Vo(o))
|
|
11077
11076
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11078
11077
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11079
11078
|
e || {}, o.__templatizeOwner)
|
|
11080
11079
|
throw new Error("A <template> can only be templatized once");
|
|
11081
11080
|
o.__templatizeOwner = t;
|
|
11082
11081
|
let s = (t ? t.constructor : Fe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11083
|
-
r || (r =
|
|
11084
|
-
const n =
|
|
11085
|
-
|
|
11082
|
+
r || (r = Rc(o, s, e), s.templatizeInstanceClass = r);
|
|
11083
|
+
const n = Vo(o);
|
|
11084
|
+
Bc(o, s, e, n);
|
|
11086
11085
|
let a = class extends r {
|
|
11087
11086
|
};
|
|
11088
11087
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11090,7 +11089,7 @@ function Oi(o, t, e) {
|
|
|
11090
11089
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11091
11090
|
a, a;
|
|
11092
11091
|
}
|
|
11093
|
-
function
|
|
11092
|
+
function Vc(o, t, e) {
|
|
11094
11093
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11095
11094
|
for (let n in s)
|
|
11096
11095
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11104,7 +11103,7 @@ function Uc(o, t, e) {
|
|
|
11104
11103
|
}
|
|
11105
11104
|
}
|
|
11106
11105
|
}
|
|
11107
|
-
function
|
|
11106
|
+
function Uc(o, t) {
|
|
11108
11107
|
let e;
|
|
11109
11108
|
for (; t; )
|
|
11110
11109
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11125,11 +11124,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11125
11124
|
Code distributed by Google as part of the polymer project is also
|
|
11126
11125
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11127
11126
|
*/
|
|
11128
|
-
let
|
|
11129
|
-
function
|
|
11130
|
-
if (
|
|
11131
|
-
if (!
|
|
11132
|
-
|
|
11127
|
+
let Uo = !1;
|
|
11128
|
+
function Wc() {
|
|
11129
|
+
if (gs && !_s) {
|
|
11130
|
+
if (!Uo) {
|
|
11131
|
+
Uo = !0;
|
|
11133
11132
|
const o = document.createElement("style");
|
|
11134
11133
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11135
11134
|
}
|
|
@@ -11146,8 +11145,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11146
11145
|
Code distributed by Google as part of the polymer project is also
|
|
11147
11146
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11148
11147
|
*/
|
|
11149
|
-
const
|
|
11150
|
-
class
|
|
11148
|
+
const qc = Oc(Ie);
|
|
11149
|
+
class Wo extends qc {
|
|
11151
11150
|
// Not needed to find template; can be removed once the analyzer
|
|
11152
11151
|
// can find the tag name from customElements.define call
|
|
11153
11152
|
static get is() {
|
|
@@ -11242,7 +11241,7 @@ class qo extends Kc {
|
|
|
11242
11241
|
*/
|
|
11243
11242
|
renderedItemCount: {
|
|
11244
11243
|
type: Number,
|
|
11245
|
-
notify: !
|
|
11244
|
+
notify: !bo,
|
|
11246
11245
|
readOnly: !0
|
|
11247
11246
|
},
|
|
11248
11247
|
/**
|
|
@@ -11325,7 +11324,7 @@ class qo extends Kc {
|
|
|
11325
11324
|
* @return {void}
|
|
11326
11325
|
*/
|
|
11327
11326
|
connectedCallback() {
|
|
11328
|
-
if (super.connectedCallback(),
|
|
11327
|
+
if (super.connectedCallback(), Wc() || (this.style.display = "none"), this.__isDetached) {
|
|
11329
11328
|
this.__isDetached = !1;
|
|
11330
11329
|
let t = K(K(this).parentNode);
|
|
11331
11330
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11375,7 +11374,7 @@ class qo extends Kc {
|
|
|
11375
11374
|
* @param {*} value Value to notify
|
|
11376
11375
|
*/
|
|
11377
11376
|
notifyInstanceProp: function(s, r, n) {
|
|
11378
|
-
if (
|
|
11377
|
+
if (Xn(this.as, r)) {
|
|
11379
11378
|
let a = s[this.itemsIndexAs];
|
|
11380
11379
|
r == this.as && (this.items[a] = n);
|
|
11381
11380
|
let l = bt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11431,9 +11430,9 @@ class qo extends Kc {
|
|
|
11431
11430
|
__debounceRender(t, e = 0) {
|
|
11432
11431
|
this.__renderDebouncer = Bt.debounce(
|
|
11433
11432
|
this.__renderDebouncer,
|
|
11434
|
-
e > 0 ?
|
|
11433
|
+
e > 0 ? oa.after(e) : ks,
|
|
11435
11434
|
t.bind(this)
|
|
11436
|
-
),
|
|
11435
|
+
), Cc(this.__renderDebouncer);
|
|
11437
11436
|
}
|
|
11438
11437
|
/**
|
|
11439
11438
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11444,7 +11443,7 @@ class qo extends Kc {
|
|
|
11444
11443
|
* @return {void}
|
|
11445
11444
|
*/
|
|
11446
11445
|
render() {
|
|
11447
|
-
this.__debounceRender(this.__render),
|
|
11446
|
+
this.__debounceRender(this.__render), Qi();
|
|
11448
11447
|
}
|
|
11449
11448
|
__render() {
|
|
11450
11449
|
if (!this.__ensureTemplatized())
|
|
@@ -11453,7 +11452,7 @@ class qo extends Kc {
|
|
|
11453
11452
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11454
11453
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11455
11454
|
this.__chunkingId = null, this.__continueChunking();
|
|
11456
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11455
|
+
})), this._setRenderedItemCount(this.__instances.length), (!bo || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11457
11456
|
bubbles: !0,
|
|
11458
11457
|
composed: !0
|
|
11459
11458
|
}));
|
|
@@ -11593,16 +11592,16 @@ class qo extends Kc {
|
|
|
11593
11592
|
* the element.
|
|
11594
11593
|
*/
|
|
11595
11594
|
modelForElement(t) {
|
|
11596
|
-
return
|
|
11595
|
+
return Uc(this.template, t);
|
|
11597
11596
|
}
|
|
11598
11597
|
}
|
|
11599
|
-
customElements.define(
|
|
11598
|
+
customElements.define(Wo.is, Wo);
|
|
11600
11599
|
/**
|
|
11601
11600
|
* @license
|
|
11602
11601
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11603
11602
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11604
11603
|
*/
|
|
11605
|
-
const
|
|
11604
|
+
const Kc = (o) => class extends Xi(o) {
|
|
11606
11605
|
static get properties() {
|
|
11607
11606
|
return {
|
|
11608
11607
|
/**
|
|
@@ -11785,7 +11784,7 @@ const Gc = (o) => class extends Zi(o) {
|
|
|
11785
11784
|
/** @protected */
|
|
11786
11785
|
__getWeekNumber(e) {
|
|
11787
11786
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11788
|
-
return
|
|
11787
|
+
return wc(i);
|
|
11789
11788
|
}
|
|
11790
11789
|
/** @protected */
|
|
11791
11790
|
__getDayAriaLabel(e) {
|
|
@@ -11800,7 +11799,7 @@ const Gc = (o) => class extends Zi(o) {
|
|
|
11800
11799
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11801
11800
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11802
11801
|
*/
|
|
11803
|
-
const
|
|
11802
|
+
const Gc = P`
|
|
11804
11803
|
:host {
|
|
11805
11804
|
display: block;
|
|
11806
11805
|
}
|
|
@@ -11862,10 +11861,10 @@ const Jc = P`
|
|
|
11862
11861
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11863
11862
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11864
11863
|
*/
|
|
11865
|
-
L("vaadin-month-calendar",
|
|
11864
|
+
L("vaadin-month-calendar", Gc, {
|
|
11866
11865
|
moduleId: "vaadin-month-calendar-styles"
|
|
11867
11866
|
});
|
|
11868
|
-
class
|
|
11867
|
+
class Jc extends Kc(Ye(Ie)) {
|
|
11869
11868
|
static get template() {
|
|
11870
11869
|
return Ve`
|
|
11871
11870
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -11973,13 +11972,13 @@ class Xc extends Gc(Ye(Ie)) {
|
|
|
11973
11972
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
11974
11973
|
}
|
|
11975
11974
|
}
|
|
11976
|
-
be(
|
|
11975
|
+
be(Jc);
|
|
11977
11976
|
/**
|
|
11978
11977
|
* @license
|
|
11979
11978
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11980
11979
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11981
11980
|
*/
|
|
11982
|
-
class
|
|
11981
|
+
class fr {
|
|
11983
11982
|
constructor(t, e) {
|
|
11984
11983
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
11985
11984
|
}
|
|
@@ -12007,7 +12006,7 @@ class mr {
|
|
|
12007
12006
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12008
12007
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12009
12008
|
*/
|
|
12010
|
-
const
|
|
12009
|
+
const Xc = (o) => class extends o {
|
|
12011
12010
|
static get properties() {
|
|
12012
12011
|
return {
|
|
12013
12012
|
scrollDuration: {
|
|
@@ -12135,7 +12134,7 @@ const Zc = (o) => class extends o {
|
|
|
12135
12134
|
}
|
|
12136
12135
|
/** @protected */
|
|
12137
12136
|
_addListeners() {
|
|
12138
|
-
|
|
12137
|
+
sr(this.$.scrollers, "pan-y"), ge(this.$.scrollers, "track", this._track.bind(this)), ge(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), ge(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), ge(
|
|
12139
12138
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12140
12139
|
"tap",
|
|
12141
12140
|
this._toggleYearScroller.bind(this)
|
|
@@ -12144,7 +12143,7 @@ const Zc = (o) => class extends o {
|
|
|
12144
12143
|
/** @protected */
|
|
12145
12144
|
_initControllers() {
|
|
12146
12145
|
this.addController(
|
|
12147
|
-
new
|
|
12146
|
+
new fr(this._desktopMediaQuery, (e) => {
|
|
12148
12147
|
this._desktopMode = e;
|
|
12149
12148
|
})
|
|
12150
12149
|
), this.addController(
|
|
@@ -12336,7 +12335,7 @@ const Zc = (o) => class extends o {
|
|
|
12336
12335
|
}
|
|
12337
12336
|
/** @protected */
|
|
12338
12337
|
_formatDisplayed(e, i, s) {
|
|
12339
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12338
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate(Zi(e)) : s;
|
|
12340
12339
|
}
|
|
12341
12340
|
/** @private */
|
|
12342
12341
|
_onTodayTap() {
|
|
@@ -12453,7 +12452,7 @@ const Zc = (o) => class extends o {
|
|
|
12453
12452
|
}
|
|
12454
12453
|
/** @private */
|
|
12455
12454
|
_yearAfterXMonths(e) {
|
|
12456
|
-
return
|
|
12455
|
+
return lr(e).getFullYear();
|
|
12457
12456
|
}
|
|
12458
12457
|
/** @private */
|
|
12459
12458
|
_differenceInMonths(e, i) {
|
|
@@ -12558,14 +12557,14 @@ const Zc = (o) => class extends o {
|
|
|
12558
12557
|
}
|
|
12559
12558
|
async focusDateElement(e = !0) {
|
|
12560
12559
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || await new Promise((i) => {
|
|
12561
|
-
|
|
12562
|
-
|
|
12560
|
+
Us(this, () => {
|
|
12561
|
+
Qi(), i();
|
|
12563
12562
|
});
|
|
12564
12563
|
}), e && this.revealDate(this.focusedDate), this._revealPromise && await this._revealPromise, this.__tryFocusDate();
|
|
12565
12564
|
}
|
|
12566
12565
|
/** @private */
|
|
12567
12566
|
_focusClosestDate(e) {
|
|
12568
|
-
this.focusDate(
|
|
12567
|
+
this.focusDate(ar(e, [this.minDate, this.maxDate]));
|
|
12569
12568
|
}
|
|
12570
12569
|
/** @private */
|
|
12571
12570
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12616,7 +12615,7 @@ const Zc = (o) => class extends o {
|
|
|
12616
12615
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12617
12616
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12618
12617
|
*/
|
|
12619
|
-
const
|
|
12618
|
+
const Zc = P`
|
|
12620
12619
|
:host {
|
|
12621
12620
|
display: flex;
|
|
12622
12621
|
flex-direction: column;
|
|
@@ -12682,10 +12681,10 @@ const Qc = P`
|
|
|
12682
12681
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12683
12682
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12684
12683
|
*/
|
|
12685
|
-
L("vaadin-date-picker-overlay-content",
|
|
12684
|
+
L("vaadin-date-picker-overlay-content", Zc, {
|
|
12686
12685
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12687
12686
|
});
|
|
12688
|
-
class
|
|
12687
|
+
class Qc extends Xc(
|
|
12689
12688
|
ot(Ye(jt(Ie)))
|
|
12690
12689
|
) {
|
|
12691
12690
|
static get template() {
|
|
@@ -12719,14 +12718,14 @@ class eu extends Zc(
|
|
|
12719
12718
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12720
12719
|
}
|
|
12721
12720
|
}
|
|
12722
|
-
be(
|
|
12721
|
+
be(Qc);
|
|
12723
12722
|
/**
|
|
12724
12723
|
* @license
|
|
12725
12724
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12726
12725
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12727
12726
|
*/
|
|
12728
|
-
const
|
|
12729
|
-
(o) => class extends
|
|
12727
|
+
const mr = V(
|
|
12728
|
+
(o) => class extends Xi(nr(o)) {
|
|
12730
12729
|
static get properties() {
|
|
12731
12730
|
return {
|
|
12732
12731
|
/**
|
|
@@ -12883,14 +12882,14 @@ const _r = V(
|
|
|
12883
12882
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12884
12883
|
*/
|
|
12885
12884
|
const ni = /* @__PURE__ */ new WeakMap();
|
|
12886
|
-
function
|
|
12885
|
+
function eu(o) {
|
|
12887
12886
|
return ni.has(o) || ni.set(o, /* @__PURE__ */ new Set()), ni.get(o);
|
|
12888
12887
|
}
|
|
12889
|
-
function
|
|
12888
|
+
function tu(o, t) {
|
|
12890
12889
|
const e = document.createElement("style");
|
|
12891
12890
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12892
12891
|
}
|
|
12893
|
-
const
|
|
12892
|
+
const iu = V(
|
|
12894
12893
|
(o) => class extends o {
|
|
12895
12894
|
/**
|
|
12896
12895
|
* List of styles to insert into root.
|
|
@@ -12905,9 +12904,9 @@ const ou = V(
|
|
|
12905
12904
|
}
|
|
12906
12905
|
/** @private */
|
|
12907
12906
|
__applySlotStyles() {
|
|
12908
|
-
const e = this.getRootNode(), i =
|
|
12907
|
+
const e = this.getRootNode(), i = eu(e);
|
|
12909
12908
|
this.slotStyles.forEach((s) => {
|
|
12910
|
-
i.has(s) || (
|
|
12909
|
+
i.has(s) || (tu(s, e), i.add(s));
|
|
12911
12910
|
});
|
|
12912
12911
|
}
|
|
12913
12912
|
}
|
|
@@ -12917,7 +12916,7 @@ const ou = V(
|
|
|
12917
12916
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12918
12917
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12919
12918
|
*/
|
|
12920
|
-
const
|
|
12919
|
+
const _r = V(
|
|
12921
12920
|
(o) => class extends o {
|
|
12922
12921
|
static get properties() {
|
|
12923
12922
|
return {
|
|
@@ -13121,7 +13120,7 @@ const gr = V(
|
|
|
13121
13120
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13122
13121
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13123
13122
|
*/
|
|
13124
|
-
const
|
|
13123
|
+
const ou = (o) => class extends _r(Wt(o)) {
|
|
13125
13124
|
static get properties() {
|
|
13126
13125
|
return {
|
|
13127
13126
|
/**
|
|
@@ -13166,7 +13165,7 @@ const su = (o) => class extends gr(Wt(o)) {
|
|
|
13166
13165
|
* @protected
|
|
13167
13166
|
*/
|
|
13168
13167
|
_onClearButtonMouseDown(e) {
|
|
13169
|
-
e.preventDefault(),
|
|
13168
|
+
e.preventDefault(), wl || this.inputElement.focus();
|
|
13170
13169
|
}
|
|
13171
13170
|
/**
|
|
13172
13171
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13197,48 +13196,48 @@ const su = (o) => class extends gr(Wt(o)) {
|
|
|
13197
13196
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13198
13197
|
*/
|
|
13199
13198
|
const ai = /* @__PURE__ */ new Map();
|
|
13200
|
-
function
|
|
13199
|
+
function io(o) {
|
|
13201
13200
|
return ai.has(o) || ai.set(o, /* @__PURE__ */ new WeakMap()), ai.get(o);
|
|
13202
13201
|
}
|
|
13203
|
-
function
|
|
13202
|
+
function gr(o, t) {
|
|
13204
13203
|
o && o.removeAttribute(t);
|
|
13205
13204
|
}
|
|
13206
|
-
function
|
|
13205
|
+
function br(o, t) {
|
|
13207
13206
|
if (!o || !t)
|
|
13208
13207
|
return;
|
|
13209
|
-
const e =
|
|
13208
|
+
const e = io(t);
|
|
13210
13209
|
if (e.has(o))
|
|
13211
13210
|
return;
|
|
13212
13211
|
const i = Wi(o.getAttribute(t));
|
|
13213
13212
|
e.set(o, new Set(i));
|
|
13214
13213
|
}
|
|
13215
|
-
function
|
|
13216
|
-
if (!o
|
|
13214
|
+
function su(o, t) {
|
|
13215
|
+
if (!o)
|
|
13217
13216
|
return;
|
|
13218
|
-
const e =
|
|
13219
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13217
|
+
const e = io(t), i = e.get(o);
|
|
13218
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Gs(o, t, Ut(i)), e.delete(o);
|
|
13220
13219
|
}
|
|
13221
13220
|
function li(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13222
13221
|
if (!o || !t)
|
|
13223
13222
|
return;
|
|
13224
|
-
const { newId: i, oldId: s, fromUser: r } = e, n =
|
|
13223
|
+
const { newId: i, oldId: s, fromUser: r } = e, n = io(t), a = n.get(o);
|
|
13225
13224
|
if (!r && a) {
|
|
13226
13225
|
s && a.delete(s), i && a.add(i);
|
|
13227
13226
|
return;
|
|
13228
13227
|
}
|
|
13229
|
-
r && (a ? i || n.delete(o) :
|
|
13228
|
+
r && (a ? i || n.delete(o) : br(o, t), gr(o, t)), Il(o, t, s);
|
|
13230
13229
|
const l = i || Ut(a);
|
|
13231
|
-
l &&
|
|
13230
|
+
l && Gs(o, t, l);
|
|
13232
13231
|
}
|
|
13233
|
-
function
|
|
13234
|
-
|
|
13232
|
+
function ru(o, t) {
|
|
13233
|
+
br(o, t), gr(o, t);
|
|
13235
13234
|
}
|
|
13236
13235
|
/**
|
|
13237
13236
|
* @license
|
|
13238
13237
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13239
13238
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13240
13239
|
*/
|
|
13241
|
-
class
|
|
13240
|
+
class nu {
|
|
13242
13241
|
constructor(t) {
|
|
13243
13242
|
this.host = t, this.__required = !1;
|
|
13244
13243
|
}
|
|
@@ -13311,7 +13310,7 @@ class au {
|
|
|
13311
13310
|
* @private
|
|
13312
13311
|
* */
|
|
13313
13312
|
__setAriaLabelToAttribute(t) {
|
|
13314
|
-
this.__target && (t ? (
|
|
13313
|
+
this.__target && (t ? (ru(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (su(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13315
13314
|
}
|
|
13316
13315
|
/**
|
|
13317
13316
|
* @param {string | null | undefined} labelId
|
|
@@ -13357,9 +13356,9 @@ pe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13357
13356
|
pe.setAttribute("aria-live", "polite");
|
|
13358
13357
|
document.body.appendChild(pe);
|
|
13359
13358
|
let kt;
|
|
13360
|
-
function
|
|
13359
|
+
function au(o, t = {}) {
|
|
13361
13360
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13362
|
-
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), kt = et.debounce(kt,
|
|
13361
|
+
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), kt = et.debounce(kt, Gl, () => {
|
|
13363
13362
|
pe.setAttribute("role", "alert");
|
|
13364
13363
|
})) : (kt && kt.cancel(), pe.removeAttribute("role"), pe.setAttribute("aria-live", e)), pe.textContent = "", setTimeout(() => {
|
|
13365
13364
|
pe.textContent = o;
|
|
@@ -13370,7 +13369,7 @@ function lu(o, t = {}) {
|
|
|
13370
13369
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13371
13370
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13372
13371
|
*/
|
|
13373
|
-
class
|
|
13372
|
+
class oo extends Re {
|
|
13374
13373
|
constructor(t, e, i, s = {}) {
|
|
13375
13374
|
super(t, e, i, { ...s, useUniqueId: !0 });
|
|
13376
13375
|
}
|
|
@@ -13485,7 +13484,7 @@ class so extends Re {
|
|
|
13485
13484
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13486
13485
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13487
13486
|
*/
|
|
13488
|
-
class
|
|
13487
|
+
class lu extends oo {
|
|
13489
13488
|
constructor(t) {
|
|
13490
13489
|
super(t, "error-message", "div");
|
|
13491
13490
|
}
|
|
@@ -13559,7 +13558,7 @@ class cu extends so {
|
|
|
13559
13558
|
*/
|
|
13560
13559
|
updateDefaultNode(t) {
|
|
13561
13560
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13562
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13561
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && au(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13563
13562
|
}
|
|
13564
13563
|
}
|
|
13565
13564
|
/**
|
|
@@ -13567,7 +13566,7 @@ class cu extends so {
|
|
|
13567
13566
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13568
13567
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13569
13568
|
*/
|
|
13570
|
-
class
|
|
13569
|
+
class cu extends oo {
|
|
13571
13570
|
constructor(t) {
|
|
13572
13571
|
super(t, "helper", null);
|
|
13573
13572
|
}
|
|
@@ -13622,7 +13621,7 @@ class uu extends so {
|
|
|
13622
13621
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13623
13622
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13624
13623
|
*/
|
|
13625
|
-
class
|
|
13624
|
+
class uu extends oo {
|
|
13626
13625
|
constructor(t) {
|
|
13627
13626
|
super(t, "label", "label");
|
|
13628
13627
|
}
|
|
@@ -13675,7 +13674,7 @@ class du extends so {
|
|
|
13675
13674
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13676
13675
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13677
13676
|
*/
|
|
13678
|
-
const
|
|
13677
|
+
const du = V(
|
|
13679
13678
|
(o) => class extends ot(o) {
|
|
13680
13679
|
static get properties() {
|
|
13681
13680
|
return {
|
|
@@ -13690,7 +13689,7 @@ const hu = V(
|
|
|
13690
13689
|
};
|
|
13691
13690
|
}
|
|
13692
13691
|
constructor() {
|
|
13693
|
-
super(), this._labelController = new
|
|
13692
|
+
super(), this._labelController = new uu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13694
13693
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13695
13694
|
});
|
|
13696
13695
|
}
|
|
@@ -13790,7 +13789,7 @@ const yr = V(
|
|
|
13790
13789
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13791
13790
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13792
13791
|
*/
|
|
13793
|
-
const
|
|
13792
|
+
const hu = (o) => class extends yr(du(ot(o))) {
|
|
13794
13793
|
static get properties() {
|
|
13795
13794
|
return {
|
|
13796
13795
|
/**
|
|
@@ -13840,7 +13839,7 @@ const pu = (o) => class extends yr(hu(ot(o))) {
|
|
|
13840
13839
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13841
13840
|
}
|
|
13842
13841
|
constructor() {
|
|
13843
|
-
super(), this._fieldAriaController = new
|
|
13842
|
+
super(), this._fieldAriaController = new nu(this), this._helperController = new cu(this), this._errorController = new lu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13844
13843
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13845
13844
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13846
13845
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13931,7 +13930,7 @@ const pu = (o) => class extends yr(hu(ot(o))) {
|
|
|
13931
13930
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13932
13931
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13933
13932
|
*/
|
|
13934
|
-
const
|
|
13933
|
+
const pu = V(
|
|
13935
13934
|
(o) => class extends o {
|
|
13936
13935
|
static get properties() {
|
|
13937
13936
|
return {
|
|
@@ -14012,8 +14011,8 @@ const fu = V(
|
|
|
14012
14011
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14013
14012
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14014
14013
|
*/
|
|
14015
|
-
const
|
|
14016
|
-
(o) => class extends
|
|
14014
|
+
const vr = V(
|
|
14015
|
+
(o) => class extends pu(yr(_r(o))) {
|
|
14017
14016
|
/**
|
|
14018
14017
|
* An array of attributes which participate in the input validation.
|
|
14019
14018
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14097,8 +14096,8 @@ const xr = V(
|
|
|
14097
14096
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14098
14097
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14099
14098
|
*/
|
|
14100
|
-
const
|
|
14101
|
-
|
|
14099
|
+
const fu = (o) => class extends iu(
|
|
14100
|
+
mr(vr(hu(ou(Wt(o)))))
|
|
14102
14101
|
) {
|
|
14103
14102
|
static get properties() {
|
|
14104
14103
|
return {
|
|
@@ -14284,7 +14283,7 @@ const mu = (o) => class extends ou(
|
|
|
14284
14283
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14285
14284
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14286
14285
|
*/
|
|
14287
|
-
class
|
|
14286
|
+
class mu extends Re {
|
|
14288
14287
|
constructor(t, e, i = {}) {
|
|
14289
14288
|
const { uniqueIdPrefix: s } = i;
|
|
14290
14289
|
super(t, "input", "input", {
|
|
@@ -14301,7 +14300,7 @@ class _u extends Re {
|
|
|
14301
14300
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14302
14301
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14303
14302
|
*/
|
|
14304
|
-
class
|
|
14303
|
+
class _u {
|
|
14305
14304
|
constructor(t, e) {
|
|
14306
14305
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14307
14306
|
this.__initLabel(i.detail.node);
|
|
@@ -14334,7 +14333,7 @@ class gu {
|
|
|
14334
14333
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14335
14334
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14336
14335
|
*/
|
|
14337
|
-
const
|
|
14336
|
+
const gu = P`
|
|
14338
14337
|
[part='clear-button'] {
|
|
14339
14338
|
display: none;
|
|
14340
14339
|
cursor: default;
|
|
@@ -14353,7 +14352,7 @@ const bu = P`
|
|
|
14353
14352
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14354
14353
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14355
14354
|
*/
|
|
14356
|
-
const
|
|
14355
|
+
const bu = P`
|
|
14357
14356
|
:host {
|
|
14358
14357
|
display: inline-flex;
|
|
14359
14358
|
outline: none;
|
|
@@ -14407,13 +14406,13 @@ const yu = P`
|
|
|
14407
14406
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14408
14407
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14409
14408
|
*/
|
|
14410
|
-
const
|
|
14409
|
+
const vu = [bu, yu, gu];
|
|
14411
14410
|
/**
|
|
14412
14411
|
* @license
|
|
14413
14412
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14414
14413
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14415
14414
|
*/
|
|
14416
|
-
const
|
|
14415
|
+
const xu = (o) => class extends o {
|
|
14417
14416
|
static get properties() {
|
|
14418
14417
|
return {
|
|
14419
14418
|
/**
|
|
@@ -14460,7 +14459,7 @@ const wu = (o) => class extends o {
|
|
|
14460
14459
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14461
14460
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14462
14461
|
*/
|
|
14463
|
-
class
|
|
14462
|
+
class wu {
|
|
14464
14463
|
/**
|
|
14465
14464
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14466
14465
|
*/
|
|
@@ -14479,8 +14478,8 @@ class Eu {
|
|
|
14479
14478
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14480
14479
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14481
14480
|
*/
|
|
14482
|
-
const
|
|
14483
|
-
ot(
|
|
14481
|
+
const Eu = (o) => class extends xu(
|
|
14482
|
+
ot(mr(vr(Wt(o))))
|
|
14484
14483
|
) {
|
|
14485
14484
|
static get properties() {
|
|
14486
14485
|
return {
|
|
@@ -14685,7 +14684,7 @@ const Su = (o) => class extends wu(
|
|
|
14685
14684
|
if (i.length === 3) {
|
|
14686
14685
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14687
14686
|
const l = this.referenceDate ? lt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14688
|
-
a =
|
|
14687
|
+
a = Ec(l, a, n, r);
|
|
14689
14688
|
}
|
|
14690
14689
|
} else
|
|
14691
14690
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14759,7 +14758,7 @@ const Su = (o) => class extends wu(
|
|
|
14759
14758
|
/** @private */
|
|
14760
14759
|
_ios: {
|
|
14761
14760
|
type: Boolean,
|
|
14762
|
-
value:
|
|
14761
|
+
value: Ws
|
|
14763
14762
|
},
|
|
14764
14763
|
/** @private */
|
|
14765
14764
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14859,10 +14858,10 @@ const Su = (o) => class extends wu(
|
|
|
14859
14858
|
/** @protected */
|
|
14860
14859
|
ready() {
|
|
14861
14860
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14862
|
-
new
|
|
14861
|
+
new fr(this._fullscreenMediaQuery, (i) => {
|
|
14863
14862
|
this._fullscreen = i;
|
|
14864
14863
|
})
|
|
14865
|
-
), this.addController(new
|
|
14864
|
+
), this.addController(new wu(this));
|
|
14866
14865
|
const e = this.$.overlay;
|
|
14867
14866
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14868
14867
|
}
|
|
@@ -14918,7 +14917,7 @@ const Su = (o) => class extends wu(
|
|
|
14918
14917
|
*/
|
|
14919
14918
|
__formatDate(e) {
|
|
14920
14919
|
if (this.i18n.formatDate)
|
|
14921
|
-
return this.i18n.formatDate(
|
|
14920
|
+
return this.i18n.formatDate(Zi(e));
|
|
14922
14921
|
}
|
|
14923
14922
|
/**
|
|
14924
14923
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15020,7 +15019,7 @@ const Su = (o) => class extends wu(
|
|
|
15020
15019
|
}
|
|
15021
15020
|
/** @private */
|
|
15022
15021
|
_formatISO(e) {
|
|
15023
|
-
return
|
|
15022
|
+
return Ac(e);
|
|
15024
15023
|
}
|
|
15025
15024
|
/** @protected */
|
|
15026
15025
|
_inputElementChanged(e) {
|
|
@@ -15086,12 +15085,12 @@ const Su = (o) => class extends wu(
|
|
|
15086
15085
|
const r = this._nativeInput;
|
|
15087
15086
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15088
15087
|
const n = this._noInput ? e : [r, e];
|
|
15089
|
-
this.__showOthers =
|
|
15088
|
+
this.__showOthers = qs(n);
|
|
15090
15089
|
}
|
|
15091
15090
|
/** @private */
|
|
15092
15091
|
_getInitialPosition() {
|
|
15093
15092
|
const e = lt(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15094
|
-
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15093
|
+
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? ar(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15095
15094
|
}
|
|
15096
15095
|
/**
|
|
15097
15096
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15252,7 +15251,7 @@ const Su = (o) => class extends wu(
|
|
|
15252
15251
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15253
15252
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15254
15253
|
*/
|
|
15255
|
-
const
|
|
15254
|
+
const Su = P`
|
|
15256
15255
|
:host([opened]) {
|
|
15257
15256
|
pointer-events: auto;
|
|
15258
15257
|
}
|
|
@@ -15271,8 +15270,8 @@ const Au = P`
|
|
|
15271
15270
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15272
15271
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15273
15272
|
*/
|
|
15274
|
-
L("vaadin-date-picker", [
|
|
15275
|
-
class
|
|
15273
|
+
L("vaadin-date-picker", [vu, Su], { moduleId: "vaadin-date-picker-styles" });
|
|
15274
|
+
class Au extends Eu(fu(Ye(Zs(Ie)))) {
|
|
15276
15275
|
static get is() {
|
|
15277
15276
|
return "vaadin-date-picker";
|
|
15278
15277
|
}
|
|
@@ -15332,7 +15331,7 @@ class Cu extends Su(mu(Ye(Qs(Ie)))) {
|
|
|
15332
15331
|
/** @protected */
|
|
15333
15332
|
ready() {
|
|
15334
15333
|
super.ready(), this.addController(
|
|
15335
|
-
new
|
|
15334
|
+
new mu(
|
|
15336
15335
|
this,
|
|
15337
15336
|
(e) => {
|
|
15338
15337
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15344,7 +15343,7 @@ class Cu extends Su(mu(Ye(Qs(Ie)))) {
|
|
|
15344
15343
|
uniqueIdPrefix: "search-input"
|
|
15345
15344
|
}
|
|
15346
15345
|
)
|
|
15347
|
-
), this.addController(new
|
|
15346
|
+
), this.addController(new _u(this.inputElement, this._labelController)), this._tooltipController = new er(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
15348
15347
|
}
|
|
15349
15348
|
/** @private */
|
|
15350
15349
|
_onVaadinOverlayClose(t) {
|
|
@@ -15360,12 +15359,12 @@ class Cu extends Su(mu(Ye(Qs(Ie)))) {
|
|
|
15360
15359
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15361
15360
|
}
|
|
15362
15361
|
}
|
|
15363
|
-
be(
|
|
15364
|
-
var
|
|
15362
|
+
be(Au);
|
|
15363
|
+
var xr = { exports: {} };
|
|
15365
15364
|
(function(o, t) {
|
|
15366
15365
|
(function(e, i) {
|
|
15367
15366
|
o.exports = i();
|
|
15368
|
-
})(
|
|
15367
|
+
})(Sr, function() {
|
|
15369
15368
|
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) {
|
|
15370
15369
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15371
15370
|
}, c = function(p) {
|
|
@@ -15376,23 +15375,23 @@ var wr = { exports: {} };
|
|
|
15376
15375
|
(this.zone || (this.zone = {})).offset = function(g) {
|
|
15377
15376
|
if (!g || g === "Z")
|
|
15378
15377
|
return 0;
|
|
15379
|
-
var
|
|
15380
|
-
return
|
|
15378
|
+
var v = g.match(/([+-]|\d\d)/g), y = 60 * v[1] + (+v[2] || 0);
|
|
15379
|
+
return y === 0 ? 0 : v[0] === "+" ? -y : y;
|
|
15381
15380
|
}(p);
|
|
15382
15381
|
}], d = function(p) {
|
|
15383
15382
|
var g = a[p];
|
|
15384
15383
|
return g && (g.indexOf ? g : g.s.concat(g.f));
|
|
15385
15384
|
}, h = function(p, g) {
|
|
15386
|
-
var
|
|
15387
|
-
if (
|
|
15385
|
+
var v, y = a.meridiem;
|
|
15386
|
+
if (y) {
|
|
15388
15387
|
for (var C = 1; C <= 24; C += 1)
|
|
15389
|
-
if (p.indexOf(
|
|
15390
|
-
|
|
15388
|
+
if (p.indexOf(y(C, 0, g)) > -1) {
|
|
15389
|
+
v = C > 12;
|
|
15391
15390
|
break;
|
|
15392
15391
|
}
|
|
15393
15392
|
} else
|
|
15394
|
-
|
|
15395
|
-
return
|
|
15393
|
+
v = p === (g ? "pm" : "PM");
|
|
15394
|
+
return v;
|
|
15396
15395
|
}, m = { A: [n, function(p) {
|
|
15397
15396
|
this.afternoon = h(p, !1);
|
|
15398
15397
|
}], a: [n, function(p) {
|
|
@@ -15404,17 +15403,17 @@ var wr = { exports: {} };
|
|
|
15404
15403
|
}], SSS: [/\d{3}/, function(p) {
|
|
15405
15404
|
this.milliseconds = +p;
|
|
15406
15405
|
}], s: [r, c("seconds")], ss: [r, c("seconds")], m: [r, c("minutes")], mm: [r, c("minutes")], H: [r, c("hours")], h: [r, c("hours")], HH: [r, c("hours")], hh: [r, c("hours")], D: [r, c("day")], DD: [s, c("day")], Do: [n, function(p) {
|
|
15407
|
-
var g = a.ordinal,
|
|
15408
|
-
if (this.day =
|
|
15409
|
-
for (var
|
|
15410
|
-
g(
|
|
15406
|
+
var g = a.ordinal, v = p.match(/\d+/);
|
|
15407
|
+
if (this.day = v[0], g)
|
|
15408
|
+
for (var y = 1; y <= 31; y += 1)
|
|
15409
|
+
g(y).replace(/\[|\]/g, "") === p && (this.day = y);
|
|
15411
15410
|
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(p) {
|
|
15412
|
-
var g = d("months"),
|
|
15413
|
-
return
|
|
15411
|
+
var g = d("months"), v = (d("monthsShort") || g.map(function(y) {
|
|
15412
|
+
return y.slice(0, 3);
|
|
15414
15413
|
})).indexOf(p) + 1;
|
|
15415
|
-
if (
|
|
15414
|
+
if (v < 1)
|
|
15416
15415
|
throw new Error();
|
|
15417
|
-
this.month =
|
|
15416
|
+
this.month = v % 12 || v;
|
|
15418
15417
|
}], MMMM: [n, function(p) {
|
|
15419
15418
|
var g = d("months").indexOf(p) + 1;
|
|
15420
15419
|
if (g < 1)
|
|
@@ -15424,20 +15423,20 @@ var wr = { exports: {} };
|
|
|
15424
15423
|
this.year = l(p);
|
|
15425
15424
|
}], YYYY: [/\d{4}/, c("year")], Z: u, ZZ: u };
|
|
15426
15425
|
function b(p) {
|
|
15427
|
-
var g,
|
|
15428
|
-
g = p,
|
|
15429
|
-
for (var
|
|
15426
|
+
var g, v;
|
|
15427
|
+
g = p, v = a && a.formats;
|
|
15428
|
+
for (var y = (p = g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(R, T, F) {
|
|
15430
15429
|
var N = F && F.toUpperCase();
|
|
15431
|
-
return T ||
|
|
15430
|
+
return T || v[F] || e[F] || v[N].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(J, B, le) {
|
|
15432
15431
|
return B || le.slice(1);
|
|
15433
15432
|
});
|
|
15434
|
-
})).match(i), C =
|
|
15435
|
-
var k =
|
|
15436
|
-
|
|
15433
|
+
})).match(i), C = y.length, A = 0; A < C; A += 1) {
|
|
15434
|
+
var k = y[A], G = m[k], U = G && G[0], $ = G && G[1];
|
|
15435
|
+
y[A] = $ ? { regex: U, parser: $ } : k.replace(/^\[|\]$/g, "");
|
|
15437
15436
|
}
|
|
15438
15437
|
return function(R) {
|
|
15439
15438
|
for (var T = {}, F = 0, N = 0; F < C; F += 1) {
|
|
15440
|
-
var J =
|
|
15439
|
+
var J = y[F];
|
|
15441
15440
|
if (typeof J == "string")
|
|
15442
15441
|
N += J.length;
|
|
15443
15442
|
else {
|
|
@@ -15454,23 +15453,23 @@ var wr = { exports: {} };
|
|
|
15454
15453
|
}(T), T;
|
|
15455
15454
|
};
|
|
15456
15455
|
}
|
|
15457
|
-
return function(p, g,
|
|
15458
|
-
|
|
15459
|
-
var
|
|
15460
|
-
|
|
15456
|
+
return function(p, g, v) {
|
|
15457
|
+
v.p.customParseFormat = !0, p && p.parseTwoDigitYear && (l = p.parseTwoDigitYear);
|
|
15458
|
+
var y = g.prototype, C = y.parse;
|
|
15459
|
+
y.parse = function(A) {
|
|
15461
15460
|
var k = A.date, G = A.utc, U = A.args;
|
|
15462
15461
|
this.$u = G;
|
|
15463
15462
|
var $ = U[1];
|
|
15464
15463
|
if (typeof $ == "string") {
|
|
15465
15464
|
var R = U[2] === !0, T = U[3] === !0, F = R || T, N = U[2];
|
|
15466
|
-
T && (N = U[2]), a = this.$locale(), !R && N && (a =
|
|
15465
|
+
T && (N = U[2]), a = this.$locale(), !R && N && (a = v.Ls[N]), this.$d = function(he, q, Q) {
|
|
15467
15466
|
try {
|
|
15468
15467
|
if (["x", "X"].indexOf(q) > -1)
|
|
15469
15468
|
return new Date((q === "X" ? 1e3 : 1) * he);
|
|
15470
|
-
var Y = b(q)(he), H = Y.year, ee = Y.month, fe = Y.day, Pe = Y.hours, ke = Y.minutes, De = Y.seconds, Te = Y.milliseconds,
|
|
15471
|
-
H && !ee || (O = ee > 0 ? ee - 1 :
|
|
15469
|
+
var Y = b(q)(he), H = Y.year, ee = Y.month, fe = Y.day, Pe = Y.hours, ke = Y.minutes, De = Y.seconds, Te = Y.milliseconds, ye = Y.zone, ve = /* @__PURE__ */ new Date(), te = fe || (H || ee ? 1 : ve.getDate()), ce = H || ve.getFullYear(), O = 0;
|
|
15470
|
+
H && !ee || (O = ee > 0 ? ee - 1 : ve.getMonth());
|
|
15472
15471
|
var z = Pe || 0, xe = ke || 0, me = De || 0, X = Te || 0;
|
|
15473
|
-
return
|
|
15472
|
+
return ye ? new Date(Date.UTC(ce, O, te, z, xe, me, X + 60 * ye.offset * 1e3)) : Q ? new Date(Date.UTC(ce, O, te, z, xe, me, X)) : new Date(ce, O, te, z, xe, me, X);
|
|
15474
15473
|
} catch {
|
|
15475
15474
|
return /* @__PURE__ */ new Date("");
|
|
15476
15475
|
}
|
|
@@ -15478,7 +15477,7 @@ var wr = { exports: {} };
|
|
|
15478
15477
|
} else if ($ instanceof Array)
|
|
15479
15478
|
for (var J = $.length, B = 1; B <= J; B += 1) {
|
|
15480
15479
|
U[1] = $[B - 1];
|
|
15481
|
-
var le =
|
|
15480
|
+
var le = v.apply(this, U);
|
|
15482
15481
|
if (le.isValid()) {
|
|
15483
15482
|
this.$d = le.$d, this.$L = le.$L, this.init();
|
|
15484
15483
|
break;
|
|
@@ -15490,16 +15489,16 @@ var wr = { exports: {} };
|
|
|
15490
15489
|
};
|
|
15491
15490
|
};
|
|
15492
15491
|
});
|
|
15493
|
-
})(
|
|
15494
|
-
var
|
|
15495
|
-
const
|
|
15496
|
-
function
|
|
15497
|
-
|
|
15492
|
+
})(xr);
|
|
15493
|
+
var Cu = xr.exports;
|
|
15494
|
+
const Pu = /* @__PURE__ */ Ar(Cu);
|
|
15495
|
+
function qo(o, t) {
|
|
15496
|
+
Cr(o, t);
|
|
15498
15497
|
}
|
|
15499
|
-
function
|
|
15500
|
-
|
|
15498
|
+
function ku(o) {
|
|
15499
|
+
Pr.set(o);
|
|
15501
15500
|
}
|
|
15502
|
-
const
|
|
15501
|
+
const Ko = {
|
|
15503
15502
|
en: {
|
|
15504
15503
|
titleSelfExclusion: "Self-Exclusion",
|
|
15505
15504
|
selfExclusionText: "<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",
|
|
@@ -15875,14 +15874,14 @@ const Go = {
|
|
|
15875
15874
|
InvalidSession: "Oturum süresi doldu."
|
|
15876
15875
|
}
|
|
15877
15876
|
};
|
|
15878
|
-
function
|
|
15879
|
-
|
|
15877
|
+
function Du(o) {
|
|
15878
|
+
Or(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}}');
|
|
15880
15879
|
}
|
|
15881
|
-
function
|
|
15880
|
+
function Go(o, t, e) {
|
|
15882
15881
|
const i = o.slice();
|
|
15883
15882
|
return i[56] = t[e], i;
|
|
15884
15883
|
}
|
|
15885
|
-
function
|
|
15884
|
+
function Tu(o) {
|
|
15886
15885
|
let t, e, i, s, r = (
|
|
15887
15886
|
/*$_*/
|
|
15888
15887
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -15907,49 +15906,49 @@ function Mu(o) {
|
|
|
15907
15906
|
), d, h, m = (
|
|
15908
15907
|
/*$_*/
|
|
15909
15908
|
o[22]("selfExclusionEmailText") + ""
|
|
15910
|
-
), b, p, g,
|
|
15909
|
+
), b, p, g, v, y, C, A, k, G, U = (
|
|
15911
15910
|
/*$_*/
|
|
15912
15911
|
o[22](`${/*selectedPeriodKey*/
|
|
15913
15912
|
o[15]}`) + ""
|
|
15914
15913
|
), $, R, T, F, N, J, B, le, he, q, Q, Y, H, ee = (
|
|
15915
15914
|
/*$_*/
|
|
15916
15915
|
o[22]("save") + ""
|
|
15917
|
-
), fe, Pe, ke, De, Te,
|
|
15916
|
+
), fe, Pe, ke, De, Te, ye, ve, te = (
|
|
15918
15917
|
/*isMobile*/
|
|
15919
|
-
o[24] &&
|
|
15920
|
-
), ce =
|
|
15918
|
+
o[24] && Ou(o)
|
|
15919
|
+
), ce = ro(
|
|
15921
15920
|
/*selfExclusionPeriods*/
|
|
15922
15921
|
o[11]
|
|
15923
15922
|
), O = [];
|
|
15924
15923
|
for (let x = 0; x < ce.length; x += 1)
|
|
15925
|
-
O[x] =
|
|
15924
|
+
O[x] = Jo(Go(o, ce, x));
|
|
15926
15925
|
let z = (
|
|
15927
15926
|
/*isUntilDate*/
|
|
15928
|
-
o[18] &&
|
|
15927
|
+
o[18] && Xo(o)
|
|
15929
15928
|
);
|
|
15930
15929
|
function xe(x, M) {
|
|
15931
15930
|
return (
|
|
15932
15931
|
/*isPermanentSelfExclusion*/
|
|
15933
|
-
x[17] ?
|
|
15932
|
+
x[17] ? Nu : (
|
|
15934
15933
|
/*isDateSelected*/
|
|
15935
|
-
x[19] ?
|
|
15934
|
+
x[19] ? Iu : Fu
|
|
15936
15935
|
)
|
|
15937
15936
|
);
|
|
15938
15937
|
}
|
|
15939
15938
|
let me = xe(o), X = me(o), _e = (
|
|
15940
15939
|
/*showConfirmationModal*/
|
|
15941
|
-
o[25] &&
|
|
15940
|
+
o[25] && zu(o)
|
|
15942
15941
|
);
|
|
15943
15942
|
return {
|
|
15944
15943
|
c() {
|
|
15945
|
-
t = w("div"), e = w("form"), te && te.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"),
|
|
15944
|
+
t = w("div"), e = w("form"), te && te.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"), v = re(
|
|
15946
15945
|
/*supportemail*/
|
|
15947
15946
|
o[4]
|
|
15948
15947
|
), C = I(), A = w("div"), k = w("div"), G = w("p"), $ = re(U), R = I(), T = Ae("svg"), F = Ae("g"), N = Ae("path"), J = I(), B = w("div");
|
|
15949
15948
|
for (let x = 0; x < O.length; x += 1)
|
|
15950
15949
|
O[x].c();
|
|
15951
|
-
le = I(), z && z.c(), he = I(), q = w("div"), X.c(), Q = I(), Y = w("div"), H = w("button"), fe = re(ee), De = I(), _e && _e.c(), Te =
|
|
15952
|
-
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href",
|
|
15950
|
+
le = I(), z && z.c(), he = I(), q = w("div"), X.c(), Q = I(), Y = w("div"), H = w("button"), fe = re(ee), De = I(), _e && _e.c(), Te = Br(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
15951
|
+
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href", y = "mailto:" + /*supportemail*/
|
|
15953
15952
|
o[4]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15954
15953
|
(o[24] ? "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"), Ue(
|
|
15955
15954
|
T,
|
|
@@ -15975,10 +15974,10 @@ function Mu(o) {
|
|
|
15975
15974
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
15976
15975
|
},
|
|
15977
15976
|
m(x, M) {
|
|
15978
|
-
ne(x, t, M), f(t, e), te && te.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,
|
|
15977
|
+
ne(x, t, M), f(t, e), te && te.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, v), f(e, C), f(e, A), f(A, k), f(k, G), f(G, $), f(k, R), f(k, T), f(T, F), f(F, N), f(A, J), f(A, B);
|
|
15979
15978
|
for (let j = 0; j < O.length; j += 1)
|
|
15980
15979
|
O[j] && O[j].m(B, null);
|
|
15981
|
-
f(e, le), z && z.m(e, null), f(e, he), f(e, q), X.m(q, null), f(e, Q), f(e, Y), f(Y, H), f(H, fe), ne(x, De, M), _e && _e.m(x, M), ne(x, Te, M),
|
|
15980
|
+
f(e, le), z && z.m(e, null), f(e, he), f(e, q), X.m(q, null), f(e, Q), f(e, Y), f(Y, H), f(H, fe), ne(x, De, M), _e && _e.m(x, M), ne(x, Te, M), ye || (ve = [
|
|
15982
15981
|
Mt(
|
|
15983
15982
|
k,
|
|
15984
15983
|
"click",
|
|
@@ -15991,7 +15990,7 @@ function Mu(o) {
|
|
|
15991
15990
|
/*click_handler_3*/
|
|
15992
15991
|
o[40]
|
|
15993
15992
|
)
|
|
15994
|
-
],
|
|
15993
|
+
], ye = !0);
|
|
15995
15994
|
},
|
|
15996
15995
|
p(x, M) {
|
|
15997
15996
|
if (
|
|
@@ -16019,12 +16018,12 @@ function Mu(o) {
|
|
|
16019
16018
|
4194304 && m !== (m = /*$_*/
|
|
16020
16019
|
x[22]("selfExclusionEmailText") + "") && de(b, m), M[0] & /*supportemail*/
|
|
16021
16020
|
16 && de(
|
|
16022
|
-
|
|
16021
|
+
v,
|
|
16023
16022
|
/*supportemail*/
|
|
16024
16023
|
x[4]
|
|
16025
16024
|
), M[0] & /*supportemail*/
|
|
16026
|
-
16 &&
|
|
16027
|
-
x[4]) && E(g, "href",
|
|
16025
|
+
16 && y !== (y = "mailto:" + /*supportemail*/
|
|
16026
|
+
x[4]) && E(g, "href", y), M[0] & /*$_, selectedPeriodKey*/
|
|
16028
16027
|
4227072 && U !== (U = /*$_*/
|
|
16029
16028
|
x[22](`${/*selectedPeriodKey*/
|
|
16030
16029
|
x[15]}`) + "") && de($, U), M[0] & /*isPeriodDropDownToggled*/
|
|
@@ -16036,14 +16035,14 @@ function Mu(o) {
|
|
|
16036
16035
|
), M[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16037
16036
|
138414080
|
|
16038
16037
|
) {
|
|
16039
|
-
ce =
|
|
16038
|
+
ce = ro(
|
|
16040
16039
|
/*selfExclusionPeriods*/
|
|
16041
16040
|
x[11]
|
|
16042
16041
|
);
|
|
16043
16042
|
let j;
|
|
16044
16043
|
for (j = 0; j < ce.length; j += 1) {
|
|
16045
|
-
const Et =
|
|
16046
|
-
O[j] ? O[j].p(Et, M) : (O[j] =
|
|
16044
|
+
const Et = Go(x, ce, j);
|
|
16045
|
+
O[j] ? O[j].p(Et, M) : (O[j] = Jo(Et), O[j].c(), O[j].m(B, null));
|
|
16047
16046
|
}
|
|
16048
16047
|
for (; j < O.length; j += 1)
|
|
16049
16048
|
O[j].d(1);
|
|
@@ -16062,7 +16061,7 @@ function Mu(o) {
|
|
|
16062
16061
|
/*isPeriodDropDownToggled*/
|
|
16063
16062
|
x[20]
|
|
16064
16063
|
), /*isUntilDate*/
|
|
16065
|
-
x[18] ? z ? z.p(x, M) : (z =
|
|
16064
|
+
x[18] ? z ? z.p(x, M) : (z = Xo(x), z.c(), z.m(e, he)) : z && (z.d(1), z = null), me === (me = xe(x)) && X ? X.p(x, M) : (X.d(1), X = me(x), X && (X.c(), X.m(q, null))), M[0] & /*$_*/
|
|
16066
16065
|
4194304 && ee !== (ee = /*$_*/
|
|
16067
16066
|
x[22]("save") + "") && de(fe, ee), M[0] & /*isDateSelected*/
|
|
16068
16067
|
524288 && Pe !== (Pe = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16072,22 +16071,22 @@ function Mu(o) {
|
|
|
16072
16071
|
x[25] && _e.p(x, M);
|
|
16073
16072
|
},
|
|
16074
16073
|
d(x) {
|
|
16075
|
-
x && (ae(t), ae(De), ae(Te)), te && te.d(),
|
|
16074
|
+
x && (ae(t), ae(De), ae(Te)), te && te.d(), Hr(O, x), z && z.d(), X.d(), _e && _e.d(x), ye = !1, $r(ve);
|
|
16076
16075
|
}
|
|
16077
16076
|
};
|
|
16078
16077
|
}
|
|
16079
|
-
function
|
|
16080
|
-
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g,
|
|
16078
|
+
function Mu(o) {
|
|
16079
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g, v, y, C, A, k;
|
|
16081
16080
|
function G(R, T) {
|
|
16082
16081
|
return (
|
|
16083
16082
|
/*isMobile*/
|
|
16084
|
-
R[24] ?
|
|
16083
|
+
R[24] ? Ru : Lu
|
|
16085
16084
|
);
|
|
16086
16085
|
}
|
|
16087
16086
|
let $ = G(o)(o);
|
|
16088
16087
|
return {
|
|
16089
16088
|
c() {
|
|
16090
|
-
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"),
|
|
16089
|
+
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"), v = I(), y = w("ui-skeleton"), C = I(), A = w("div"), k = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16091
16090
|
r,
|
|
16092
16091
|
"height",
|
|
16093
16092
|
/*isMobile*/
|
|
@@ -16127,12 +16126,12 @@ function Ou(o) {
|
|
|
16127
16126
|
"height",
|
|
16128
16127
|
/*isMobile*/
|
|
16129
16128
|
o[24] ? "15px" : "20px"
|
|
16130
|
-
), S(
|
|
16131
|
-
|
|
16129
|
+
), S(y, "structure", "text"), S(
|
|
16130
|
+
y,
|
|
16132
16131
|
"height",
|
|
16133
16132
|
/*isMobile*/
|
|
16134
16133
|
o[24] ? "15px" : "20px"
|
|
16135
|
-
), S(
|
|
16134
|
+
), S(y, "width", "30%"), E(m, "class", "SelfExclusionConfig"), S(k, "structure", "rectangle"), S(k, "width", "100%"), S(
|
|
16136
16135
|
k,
|
|
16137
16136
|
"height",
|
|
16138
16137
|
/*isMobile*/
|
|
@@ -16142,7 +16141,7 @@ function Ou(o) {
|
|
|
16142
16141
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16143
16142
|
},
|
|
16144
16143
|
m(R, T) {
|
|
16145
|
-
ne(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,
|
|
16144
|
+
ne(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, v), f(m, y), f(e, C), f(e, A), f(A, k);
|
|
16146
16145
|
},
|
|
16147
16146
|
p: ci,
|
|
16148
16147
|
d(R) {
|
|
@@ -16150,7 +16149,7 @@ function Ou(o) {
|
|
|
16150
16149
|
}
|
|
16151
16150
|
};
|
|
16152
16151
|
}
|
|
16153
|
-
function
|
|
16152
|
+
function Ou(o) {
|
|
16154
16153
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16155
16154
|
/*$_*/
|
|
16156
16155
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -16177,7 +16176,7 @@ function Iu(o) {
|
|
|
16177
16176
|
}
|
|
16178
16177
|
};
|
|
16179
16178
|
}
|
|
16180
|
-
function
|
|
16179
|
+
function Jo(o) {
|
|
16181
16180
|
let t, e = (
|
|
16182
16181
|
/*$_*/
|
|
16183
16182
|
o[22](`${/*period*/
|
|
@@ -16210,7 +16209,7 @@ function Xo(o) {
|
|
|
16210
16209
|
}
|
|
16211
16210
|
};
|
|
16212
16211
|
}
|
|
16213
|
-
function
|
|
16212
|
+
function Xo(o) {
|
|
16214
16213
|
let t, e, i = (
|
|
16215
16214
|
/*$_*/
|
|
16216
16215
|
o[22]("duration") + ""
|
|
@@ -16274,7 +16273,7 @@ function Zo(o) {
|
|
|
16274
16273
|
}
|
|
16275
16274
|
};
|
|
16276
16275
|
}
|
|
16277
|
-
function
|
|
16276
|
+
function Iu(o) {
|
|
16278
16277
|
let t, e, i = (
|
|
16279
16278
|
/*$_*/
|
|
16280
16279
|
o[22]("temporarySelfExclusion", {
|
|
@@ -16316,7 +16315,7 @@ function Fu(o) {
|
|
|
16316
16315
|
}
|
|
16317
16316
|
};
|
|
16318
16317
|
}
|
|
16319
|
-
function
|
|
16318
|
+
function Fu(o) {
|
|
16320
16319
|
let t, e, i = (
|
|
16321
16320
|
/*$_*/
|
|
16322
16321
|
o[22]("noPeriodSelected") + ""
|
|
@@ -16338,7 +16337,7 @@ function Nu(o) {
|
|
|
16338
16337
|
}
|
|
16339
16338
|
};
|
|
16340
16339
|
}
|
|
16341
|
-
function
|
|
16340
|
+
function Nu(o) {
|
|
16342
16341
|
let t, e, i = (
|
|
16343
16342
|
/*$_*/
|
|
16344
16343
|
o[22]("permanentSelfExclusion") + ""
|
|
@@ -16360,7 +16359,7 @@ function zu(o) {
|
|
|
16360
16359
|
}
|
|
16361
16360
|
};
|
|
16362
16361
|
}
|
|
16363
|
-
function
|
|
16362
|
+
function zu(o) {
|
|
16364
16363
|
let t, e, i, s;
|
|
16365
16364
|
return {
|
|
16366
16365
|
c() {
|
|
@@ -16475,7 +16474,7 @@ function Lu(o) {
|
|
|
16475
16474
|
}
|
|
16476
16475
|
};
|
|
16477
16476
|
}
|
|
16478
|
-
function
|
|
16477
|
+
function Lu(o) {
|
|
16479
16478
|
let t;
|
|
16480
16479
|
return {
|
|
16481
16480
|
c() {
|
|
@@ -16489,7 +16488,7 @@ function Ru(o) {
|
|
|
16489
16488
|
}
|
|
16490
16489
|
};
|
|
16491
16490
|
}
|
|
16492
|
-
function
|
|
16491
|
+
function Ru(o) {
|
|
16493
16492
|
let t;
|
|
16494
16493
|
return {
|
|
16495
16494
|
c() {
|
|
@@ -16503,12 +16502,12 @@ function Bu(o) {
|
|
|
16503
16502
|
}
|
|
16504
16503
|
};
|
|
16505
16504
|
}
|
|
16506
|
-
function
|
|
16505
|
+
function Bu(o) {
|
|
16507
16506
|
let t;
|
|
16508
16507
|
function e(r, n) {
|
|
16509
16508
|
return (
|
|
16510
16509
|
/*skeletonLoading*/
|
|
16511
|
-
r[21] ?
|
|
16510
|
+
r[21] ? Mu : Tu
|
|
16512
16511
|
);
|
|
16513
16512
|
}
|
|
16514
16513
|
let i = e(o), s = i(o);
|
|
@@ -16529,21 +16528,21 @@ function Hu(o) {
|
|
|
16529
16528
|
}
|
|
16530
16529
|
};
|
|
16531
16530
|
}
|
|
16532
|
-
function
|
|
16531
|
+
function Hu(o, t, e) {
|
|
16533
16532
|
let i;
|
|
16534
|
-
|
|
16535
|
-
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:
|
|
16533
|
+
Ir(o, Yr, (_) => e(22, i = _)), Ee.extend(Pu);
|
|
16534
|
+
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: v = "DD/MM/YYYY", sendnotificationemail: y = "false" } = t, C, A, k = v.toUpperCase(), G = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", J = "selectAPeriod", B = "", le = "", he = Fr($) !== "PC", q = !1, Q = !1, Y = !1, H = !1, ee = g === "true", fe = !0;
|
|
16536
16535
|
const Pe = () => {
|
|
16537
16536
|
fetch(p).then((Z) => Z.json()).then((Z) => {
|
|
16538
16537
|
Object.keys(Z).forEach((ie) => {
|
|
16539
|
-
|
|
16538
|
+
qo(ie, Z[ie]);
|
|
16540
16539
|
});
|
|
16541
16540
|
}).catch((Z) => {
|
|
16542
16541
|
console.log(Z);
|
|
16543
16542
|
});
|
|
16544
16543
|
};
|
|
16545
|
-
Object.keys(
|
|
16546
|
-
|
|
16544
|
+
Object.keys(Ko).forEach((_) => {
|
|
16545
|
+
qo(_, Ko[_]);
|
|
16547
16546
|
});
|
|
16548
16547
|
const ke = () => {
|
|
16549
16548
|
let _ = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
@@ -16575,9 +16574,9 @@ function $u(o, t, e) {
|
|
|
16575
16574
|
throw new Error(Z);
|
|
16576
16575
|
}
|
|
16577
16576
|
return _.json();
|
|
16578
|
-
},
|
|
16577
|
+
}, ye = () => {
|
|
16579
16578
|
e(20, H = !H);
|
|
16580
|
-
},
|
|
16579
|
+
}, ve = (_) => {
|
|
16581
16580
|
switch (N = _.text, e(15, J = _.key), e(19, Y = !0), e(20, H = !1), e(17, q = !1), e(18, Q = !1), N) {
|
|
16582
16581
|
case "Until":
|
|
16583
16582
|
e(18, Q = !0), e(12, R = Ee().add(6, "M").format("YYYY-MM-DD")), e(13, T = Ee().add(5, "y").format("YYYY-MM-DD")), e(14, F = R);
|
|
@@ -16624,7 +16623,7 @@ function $u(o, t, e) {
|
|
|
16624
16623
|
period: J,
|
|
16625
16624
|
expiryDate: F,
|
|
16626
16625
|
selfExclusionReason: "UserRequest",
|
|
16627
|
-
sendNotificationEmail:
|
|
16626
|
+
sendNotificationEmail: y === "true"
|
|
16628
16627
|
}
|
|
16629
16628
|
})
|
|
16630
16629
|
};
|
|
@@ -16681,32 +16680,32 @@ function $u(o, t, e) {
|
|
|
16681
16680
|
A
|
|
16682
16681
|
);
|
|
16683
16682
|
};
|
|
16684
|
-
|
|
16683
|
+
Nr(() => (window.addEventListener("message", De, !1), () => {
|
|
16685
16684
|
A.removeEventListener("change", xe), window.removeEventListener("message", De);
|
|
16686
16685
|
}));
|
|
16687
16686
|
const X = () => {
|
|
16688
|
-
|
|
16689
|
-
}, _e = () => z(), x = () =>
|
|
16687
|
+
ku(a);
|
|
16688
|
+
}, _e = () => z(), x = () => ye(), M = (_) => ve(_);
|
|
16690
16689
|
function j(_) {
|
|
16691
|
-
|
|
16690
|
+
so[_ ? "unshift" : "push"](() => {
|
|
16692
16691
|
A = _, e(10, A);
|
|
16693
16692
|
});
|
|
16694
16693
|
}
|
|
16695
16694
|
const Et = (_) => ce(_);
|
|
16696
|
-
function
|
|
16697
|
-
|
|
16695
|
+
function Er(_) {
|
|
16696
|
+
so[_ ? "unshift" : "push"](() => {
|
|
16698
16697
|
C = _, e(9, C);
|
|
16699
16698
|
});
|
|
16700
16699
|
}
|
|
16701
16700
|
return o.$$set = (_) => {
|
|
16702
|
-
"endpoint" in _ && e(30, s = _.endpoint), "session" in _ && e(0, r = _.session), "userid" in _ && e(1, n = _.userid), "lang" in _ && e(2, a = _.lang), "gmversion" in _ && e(31, l = _.gmversion), "operator" in _ && e(3, c = _.operator), "supportemail" in _ && e(4, u = _.supportemail), "baseurl" in _ && e(5, d = _.baseurl), "clientstyling" in _ && e(6, h = _.clientstyling), "clientstylingurl" in _ && e(7, m = _.clientstylingurl), "mbsource" in _ && e(8, b = _.mbsource), "translationurl" in _ && e(32, p = _.translationurl), "hasconfirmationmodal" in _ && e(33, g = _.hasconfirmationmodal), "dateformat" in _ && e(34,
|
|
16701
|
+
"endpoint" in _ && e(30, s = _.endpoint), "session" in _ && e(0, r = _.session), "userid" in _ && e(1, n = _.userid), "lang" in _ && e(2, a = _.lang), "gmversion" in _ && e(31, l = _.gmversion), "operator" in _ && e(3, c = _.operator), "supportemail" in _ && e(4, u = _.supportemail), "baseurl" in _ && e(5, d = _.baseurl), "clientstyling" in _ && e(6, h = _.clientstyling), "clientstylingurl" in _ && e(7, m = _.clientstylingurl), "mbsource" in _ && e(8, b = _.mbsource), "translationurl" in _ && e(32, p = _.translationurl), "hasconfirmationmodal" in _ && e(33, g = _.hasconfirmationmodal), "dateformat" in _ && e(34, v = _.dateformat), "sendnotificationemail" in _ && e(35, y = _.sendnotificationemail);
|
|
16703
16702
|
}, o.$$.update = () => {
|
|
16704
16703
|
o.$$.dirty[0] & /*lang*/
|
|
16705
16704
|
4 && a && X(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16706
16705
|
1073741827 | o.$$.dirty[1] & /*gmversion*/
|
|
16707
16706
|
1 && s && r && n && l && ke(), o.$$.dirty[0] & /*calendar*/
|
|
16708
16707
|
1024 && A && me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16709
|
-
576 && h && C &&
|
|
16708
|
+
576 && h && C && zr(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16710
16709
|
640 && m && C && Lr(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16711
16710
|
768 && b && C && Rr(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16712
16711
|
2 && p && Pe();
|
|
@@ -16737,32 +16736,32 @@ function $u(o, t, e) {
|
|
|
16737
16736
|
k,
|
|
16738
16737
|
he,
|
|
16739
16738
|
ee,
|
|
16740
|
-
ve,
|
|
16741
16739
|
ye,
|
|
16740
|
+
ve,
|
|
16742
16741
|
ce,
|
|
16743
16742
|
z,
|
|
16744
16743
|
s,
|
|
16745
16744
|
l,
|
|
16746
16745
|
p,
|
|
16747
16746
|
g,
|
|
16748
|
-
y,
|
|
16749
16747
|
v,
|
|
16748
|
+
y,
|
|
16750
16749
|
_e,
|
|
16751
16750
|
x,
|
|
16752
16751
|
M,
|
|
16753
16752
|
j,
|
|
16754
16753
|
Et,
|
|
16755
|
-
|
|
16754
|
+
Er
|
|
16756
16755
|
];
|
|
16757
16756
|
}
|
|
16758
|
-
class
|
|
16757
|
+
class wr extends kr {
|
|
16759
16758
|
constructor(t) {
|
|
16760
|
-
super(),
|
|
16759
|
+
super(), Dr(
|
|
16761
16760
|
this,
|
|
16762
16761
|
t,
|
|
16763
|
-
$u,
|
|
16764
16762
|
Hu,
|
|
16765
|
-
|
|
16763
|
+
Bu,
|
|
16764
|
+
Mr,
|
|
16766
16765
|
{
|
|
16767
16766
|
endpoint: 30,
|
|
16768
16767
|
session: 0,
|
|
@@ -16780,7 +16779,7 @@ class Er extends Dr {
|
|
|
16780
16779
|
dateformat: 34,
|
|
16781
16780
|
sendnotificationemail: 35
|
|
16782
16781
|
},
|
|
16783
|
-
|
|
16782
|
+
Du,
|
|
16784
16783
|
[-1, -1]
|
|
16785
16784
|
);
|
|
16786
16785
|
}
|
|
@@ -16875,12 +16874,12 @@ class Er extends Dr {
|
|
|
16875
16874
|
this.$$set({ sendnotificationemail: t }), oe();
|
|
16876
16875
|
}
|
|
16877
16876
|
}
|
|
16878
|
-
|
|
16879
|
-
const
|
|
16877
|
+
Tr(wr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16878
|
+
const Ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16880
16879
|
__proto__: null,
|
|
16881
|
-
default:
|
|
16880
|
+
default: wr
|
|
16882
16881
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16883
16882
|
export {
|
|
16884
|
-
|
|
16885
|
-
|
|
16883
|
+
Pu as C,
|
|
16884
|
+
Ad as P
|
|
16886
16885
|
};
|