@everymatrix/player-account-controller 1.77.19 → 1.77.20
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-CaOBPi7K.cjs +21 -0
- package/components/{GeneralLogout-BK7W4djM.js → GeneralLogout-Du9WN0Xh.js} +807 -850
- package/components/{GeneralLogout-CvdWFdpo.js → GeneralLogout-xlnvhOTj.js} +835 -878
- package/components/{PlayerAccountBettingHistory-Cb9zY2cj.cjs → PlayerAccountBettingHistory-BiSqE8WU.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-nZ8LinMC.js → PlayerAccountBettingHistory-CVIyVRm6.js} +1 -1
- package/components/{PlayerAccountBettingHistory-C64EtltO.js → PlayerAccountBettingHistory-D2fkWAZy.js} +1 -1
- package/components/{PlayerAccountBiometrics-BlO9_i-W.js → PlayerAccountBiometrics-800xfV54.js} +1 -1
- package/components/{PlayerAccountBiometrics-CSSQNl0K.cjs → PlayerAccountBiometrics-BxWi0P45.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DThKgPi7.js → PlayerAccountBiometrics-DHHeeAQY.js} +1 -1
- package/components/{PlayerAccountClosure-CwXvvWRK.js → PlayerAccountClosure-BKQYj0jD.js} +1 -1
- package/components/{PlayerAccountClosure-BxDE3-YO.cjs → PlayerAccountClosure-BmcRiyQz.cjs} +1 -1
- package/components/{PlayerAccountClosure-Ccw2bW0u.js → PlayerAccountClosure-DZkt21Fk.js} +1 -1
- package/components/{PlayerAccountController-CEKTodyG.js → PlayerAccountController-CBGFsqix.js} +24 -24
- package/components/{PlayerAccountController-CPrx847O.js → PlayerAccountController-Cr7nw2a_.js} +24 -24
- package/components/{PlayerAccountController-DUeHF8xi.cjs → PlayerAccountController-oqvsO88z.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C7NrDdgX.js → PlayerAccountGamingLimits-B-_9A0Kh.js} +2 -2
- package/components/{PlayerAccountGamingLimits-Drat7yFH.js → PlayerAccountGamingLimits-DXKCpahW.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BrCEdqWf.cjs → PlayerAccountGamingLimits-DlNtylIQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CzJ2YE0J.js → PlayerAccountGamingLimitsConfirmationModal-CH2_5wj1.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-gw5_UaO9.js → PlayerAccountGamingLimitsConfirmationModal-CZoChMjm.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs → PlayerAccountGamingLimitsConfirmationModal-Oye218aQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BsK3Gkal.js → PlayerAccountGamingLimitsGroupEdit-BRvPS4fD.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-3h2C_FW2.cjs → PlayerAccountGamingLimitsGroupEdit-CTznL5RJ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-DED1UDUG.js → PlayerAccountGamingLimitsGroupEdit-DkQ1qDC6.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-BNSENHSR.js → PlayerAccountGamingLimitsHistory2-BFPiJ6vd.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-1-KN4dJo.js → PlayerAccountGamingLimitsHistory2-Bb3AUa3Y.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Bl-VMGFi.cjs → PlayerAccountGamingLimitsHistory2-DsU7oTqu.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CYi0QXjt.js → PlayerAccountGamingLimitsInfoCard-BElXXlnM.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-C7QGrNFp.cjs → PlayerAccountGamingLimitsInfoCard-BOA7JmIM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CZy8Z70F.js → PlayerAccountGamingLimitsInfoCard-DlSJIVr6.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Q5WrBUgy.cjs → PlayerAccountGamingLimitsPage2Gm16-BfR9C9TP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dwc_eapv.js → PlayerAccountGamingLimitsPage2Gm16-C79Yc9XX.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DIB0a56k.js → PlayerAccountGamingLimitsPage2Gm16-DmyWZ4Pw.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dza8qXt2.js → PlayerAccountGamingLimitsPopup-DMyXnMg5.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-kYMipjs6.js → PlayerAccountGamingLimitsPopup-Pikl7WVu.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs → PlayerAccountGamingLimitsPopup-T-aSgDPp.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-sutTKtrP.js → PlayerAccountGamingLimitsWrapper2-D2nzl3l5.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-HBygavB0.cjs → PlayerAccountGamingLimitsWrapper2-kuhy2gJL.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Cb7n9Q4c.js → PlayerAccountGamingLimitsWrapper2-uOpxTu0s.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-CNNT6cLA.js → PlayerAccountGeneralConfirmationModal-5KwddwSQ.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs → PlayerAccountGeneralConfirmationModal-DAhBES0N.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-O_Xo5PRp.js → PlayerAccountGeneralConfirmationModal-DOfz9L46.js} +1 -1
- package/components/{PlayerAccountMenu-BQu1uMXy.cjs → PlayerAccountMenu-BMYkNPi4.cjs} +1 -1
- package/components/{PlayerAccountMenu-CEAFQw3J.js → PlayerAccountMenu-CfEj0Ex4.js} +2 -2
- package/components/{PlayerAccountMenu-B8_qfqEA.js → PlayerAccountMenu-DgYMlC-L.js} +2 -2
- package/components/{PlayerAccountModal-CzspHDhO.cjs → PlayerAccountModal-BmU94dvq.cjs} +1 -1
- package/components/{PlayerAccountModal-BOVxILh3.js → PlayerAccountModal-Cc6qEX_K.js} +1 -1
- package/components/{PlayerAccountModal-BxtTrm2F.js → PlayerAccountModal-t0MDFhap.js} +1 -1
- package/components/{PlayerAccountNotifications-BLs_Pe58.js → PlayerAccountNotifications-CbvWioDx.js} +1 -1
- package/components/{PlayerAccountNotifications-eSHo-n7V.js → PlayerAccountNotifications-CttLXLgE.js} +1 -1
- package/components/{PlayerAccountNotifications-CGmkTd-y.cjs → PlayerAccountNotifications-Dz5ZUI14.cjs} +1 -1
- package/components/PlayerAccountProductRestriction-BzFGzwpS.js +41358 -0
- package/components/PlayerAccountProductRestriction-CPTEFgCm.js +41393 -0
- package/components/PlayerAccountProductRestriction-CuWv-PA9.cjs +18195 -0
- package/components/{PlayerAccountSelfExclusion-DOGAbujk.js → PlayerAccountSelfExclusion-BSMAvDuC.js} +797 -801
- package/components/{PlayerAccountSelfExclusion-CatF8Zf2.js → PlayerAccountSelfExclusion-DjMEEnYO.js} +1138 -1142
- package/components/{PlayerAccountSelfExclusion-B5hPZPhz.cjs → PlayerAccountSelfExclusion-dBBwvtwd.cjs} +154 -154
- package/components/{PlayerAccountTimeout-o3bkzZxS.cjs → PlayerAccountTimeout-CeKseaT2.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BDqvZQlT.js → PlayerAccountTimeout-DVcNt4XQ.js} +3 -3
- package/components/{PlayerAccountTimeout-Dtn8rncg.js → PlayerAccountTimeout-NWCPI0DS.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-FnFkvTS7.cjs → PlayerAccountTransactionsHistory-BkIp2h9e.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DqZy3TOH.js → PlayerAccountTransactionsHistory-KfF8dkRJ.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DBC5hEPR.js → PlayerAccountTransactionsHistory-TLJbUKp9.js} +3 -3
- package/components/{PlayerActiveBonuses-CuBNDPHe.js → PlayerActiveBonuses-BGkEm7Be.js} +2 -2
- package/components/{PlayerActiveBonuses-CNJS0lAo.js → PlayerActiveBonuses-BLwjDQVG.js} +2 -2
- package/components/{PlayerActiveBonuses-DgXX-q4u.cjs → PlayerActiveBonuses-rV_fUESb.cjs} +1 -1
- package/components/{PlayerBonusCard-RgoO5gpm.cjs → PlayerBonusCard-BPoX5wfs.cjs} +1 -1
- package/components/{PlayerBonusCard-snrZC9GG.js → PlayerBonusCard-DBezDFKc.js} +2 -2
- package/components/{PlayerBonusCard-BIs_HZAR.js → PlayerBonusCard-alPmW91W.js} +2 -2
- package/components/{PlayerBonusHistory-CZp33hpy.js → PlayerBonusHistory-CFP593bm.js} +4 -4
- package/components/{PlayerBonusHistory-xY8ItPnS.cjs → PlayerBonusHistory-DVHQdhOb.cjs} +1 -1
- package/components/{PlayerBonusHistory-BJSs6dCz.js → PlayerBonusHistory-PZQF5ZPe.js} +4 -4
- package/components/{PlayerChangePassword-CTNjnq_r.cjs → PlayerChangePassword-CwD1QM12.cjs} +1 -1
- package/components/{PlayerChangePassword-DpSiDx3P.js → PlayerChangePassword-E06OJu0_.js} +1 -1
- package/components/{PlayerChangePassword-CQm9FDt2.js → PlayerChangePassword-z_WJmrLq.js} +1 -1
- package/components/{PlayerDeposit-C-v12uwl.js → PlayerDeposit-BGixufKr.js} +1 -1
- package/components/{PlayerDeposit-BsyYS9xx.cjs → PlayerDeposit-D_BcKGea.cjs} +1 -1
- package/components/{PlayerDeposit-CmmfBFxW.js → PlayerDeposit-DoTqsEwt.js} +1 -1
- package/components/{PlayerGamingHistory-DY-OU_B_.js → PlayerGamingHistory-BE6ySTfa.js} +53 -53
- package/components/{PlayerGamingHistory-CHWkZ2a7.js → PlayerGamingHistory-BphDZ-1z.js} +60 -60
- package/components/{PlayerGamingHistory-CcfX-9-7.cjs → PlayerGamingHistory-DKpqLPYP.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-D1OrRFXU.js → PlayerPendingWithdrawals-BFIozJ5l.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dvq9lK8F.cjs → PlayerPendingWithdrawals-BvU3rt0E.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-yVjsxqA0.js → PlayerPendingWithdrawals-CQu9gnc2.js} +1 -1
- package/components/{PlayerProfileInfo-DVss0s13.js → PlayerProfileInfo-tRtW8EvQ.js} +1 -1
- package/components/{PlayerProfileInfo-CNs_rVtu.js → PlayerProfileInfo-wO91X5ft.js} +1 -1
- package/components/{PlayerProfileInfo-CImeJryH.cjs → PlayerProfileInfo-z6shvZAW.cjs} +1 -1
- package/components/{PlayerRealityCheck-BynMsi1X.cjs → PlayerRealityCheck-Bcuyj4DN.cjs} +1 -1
- package/components/{PlayerRealityCheck-DlDgwEbp.js → PlayerRealityCheck-BtAWxNzB.js} +1 -1
- package/components/{PlayerRealityCheck-DsWuAvgp.js → PlayerRealityCheck-CLlFOKG1.js} +1 -1
- package/components/{PlayerTransactionHistory-DcIV6du-.js → PlayerTransactionHistory-BGjEfi_N.js} +1 -1
- package/components/{PlayerTransactionHistory-BU4_vLyx.cjs → PlayerTransactionHistory-CU9hS1O1.cjs} +1 -1
- package/components/{PlayerTransactionHistory-H6ItndSr.js → PlayerTransactionHistory-DZ1Q8Keo.js} +1 -1
- package/components/{PlayerWithdrawal-C0e0FHef.js → PlayerWithdrawal-7MNRqxQj.js} +1 -1
- package/components/{PlayerWithdrawal-CIrttRms.js → PlayerWithdrawal-CzhSRFFC.js} +1 -1
- package/components/{PlayerWithdrawal-CkSCfQ4A.cjs → PlayerWithdrawal-Do_oK-gt.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/checkbox-group-input_15-4jjKXiyu.js +44357 -0
- package/stencil/checkbox-group-input_15-Cjb23ygA.cjs +18439 -0
- package/stencil/checkbox-group-input_15-D4jW8PAX.js +44357 -0
- package/stencil/{index-6e523641-CoBB-3Id.js → index-6e523641-BXVlySjr.js} +1 -1
- package/stencil/{index-6e523641-CVaNEI5O.cjs → index-6e523641-C8HvHVNe.cjs} +1 -1
- package/stencil/{index-6e523641-DnC0RyBN.js → index-6e523641-Dh30vksh.js} +1 -1
- package/stencil/{index-c666b6e6-0vP9tVRn.js → index-c666b6e6-CDifFbHz.js} +1 -1
- package/stencil/{index-c666b6e6-BG7AG6I0.js → index-c666b6e6-DVC63sjM.js} +1 -1
- package/stencil/{index-c666b6e6-Dplkr5z-.cjs → index-c666b6e6-Dj4biVES.cjs} +1 -1
- package/stencil/{pam-change-password-9aef79f2-KsD2mY1P.js → pam-change-password-9aef79f2-BHFBbc1e.js} +1 -1
- package/stencil/{pam-change-password-9aef79f2-B23OpZ4g.cjs → pam-change-password-9aef79f2-DN0QnHkc.cjs} +1 -1
- package/stencil/{pam-change-password-9aef79f2-CxF70WOR.js → pam-change-password-9aef79f2-TNxI8Ghg.js} +1 -1
- package/stencil/{pam-change-password-3YQPvGE5.cjs → pam-change-password-CnWrrH9Y.cjs} +1 -1
- package/stencil/{pam-change-password-CvV2B_-T.js → pam-change-password-DEZMLuG9.js} +1 -1
- package/stencil/{pam-change-password-Dkm-XTnG.js → pam-change-password-f-P80xU5.js} +1 -1
- package/stencil/{user-transaction-history-Bv0LEs6K.cjs → user-transaction-history-B8TwDrKY.cjs} +1 -1
- package/stencil/{user-transaction-history-Be-hf7kW.js → user-transaction-history-CQjnF8Ke.js} +1 -1
- package/stencil/{user-transaction-history-Cf_iR1wy.js → user-transaction-history-Uxq67erZ.js} +1 -1
- package/stencil/user-transaction-history_2-CdSqYLwp.cjs +18193 -0
- package/stencil/user-transaction-history_2-Tw_fXTd3.js +43121 -0
- package/stencil/user-transaction-history_2-uQTFnIT9.js +43099 -0
- package/components/GeneralLogout-CuvnoUn1.cjs +0 -21
- package/components/PlayerAccountProductRestriction--OoNKa9R.cjs +0 -6662
- package/components/PlayerAccountProductRestriction-BtYgBboa.js +0 -17517
- package/components/PlayerAccountProductRestriction-CB50nJp4.js +0 -17552
- package/stencil/checkbox-group-input_15-Cuk5W1yj.cjs +0 -6906
- package/stencil/checkbox-group-input_15-hKKsNICT.js +0 -20526
- package/stencil/checkbox-group-input_15-nDrUZEAF.js +0 -20526
- package/stencil/user-transaction-history_2-8ViaNgLC.js +0 -19290
- package/stencil/user-transaction-history_2-B2yjMaBN.cjs +0 -6660
- package/stencil/user-transaction-history_2-DwdhsDRA.js +0 -19268
package/components/{PlayerAccountSelfExclusion-DOGAbujk.js → PlayerAccountSelfExclusion-BSMAvDuC.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a5 as
|
|
2
|
-
import { d as xe } from "./PlayerAccountProductRestriction-
|
|
1
|
+
import { a5 as Sr, a6 as Ar, a as Cr, $ as Pr, S as kr, i as Dr, s as Tr, f as ie, b as Mr, n as li, d as de, h as he, k as w, p as Or, q as Ir, u as Fr, w as oo, j as f, m as O, g as S, Z as Wt, e as E, C as so, D as Nr, r as zr, c as ue, o as Ve, l as Tt, t as ne, v as Ee, x as Lr, y as Rr, z as Br, A as Hr, B as $r } from "./GeneralLogout-xlnvhOTj.js";
|
|
2
|
+
import { d as xe } from "./PlayerAccountProductRestriction-BzFGzwpS.js";
|
|
3
3
|
import "../stencil/ui-skeleton-mkMdvWYI.js";
|
|
4
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
4
|
+
import "./PlayerAccountGamingLimitsGroupEdit-BRvPS4fD.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 Yr extends HTMLElement {
|
|
32
32
|
static get is() {
|
|
33
33
|
return "vaadin-lumo-styles";
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
be(
|
|
36
|
+
be(Yr);
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2019 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
|
-
const kt = globalThis, Oi = kt.ShadowRoot && (kt.ShadyCSS === void 0 || kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ii = Symbol(),
|
|
42
|
+
const kt = globalThis, Oi = kt.ShadowRoot && (kt.ShadyCSS === void 0 || kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ii = Symbol(), ro = /* @__PURE__ */ new WeakMap();
|
|
43
43
|
let Fi = class {
|
|
44
44
|
constructor(t, e, i) {
|
|
45
45
|
if (this._$cssResult$ = !0, i !== Ii)
|
|
@@ -51,7 +51,7 @@ let Fi = class {
|
|
|
51
51
|
const e = this.t;
|
|
52
52
|
if (Oi && t === void 0) {
|
|
53
53
|
const i = e !== void 0 && e.length === 1;
|
|
54
|
-
i && (t =
|
|
54
|
+
i && (t = ro.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && ro.set(e, t));
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
}
|
|
@@ -59,7 +59,7 @@ let Fi = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const
|
|
62
|
+
const jr = (o) => new Fi(typeof o == "string" ? o : o + "", void 0, Ii), 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 Vr = (o) => new Fi(typeof o == "string" ? o : o + "", void 0, Ii), 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 Fi(e, o, Ii);
|
|
71
|
-
},
|
|
71
|
+
}, Xo = (o, t) => {
|
|
72
72
|
if (Oi)
|
|
73
73
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
74
74
|
else
|
|
@@ -76,21 +76,21 @@ const Vr = (o) => new Fi(typeof o == "string" ? o : o + "", void 0, Ii), P = (o,
|
|
|
76
76
|
const i = document.createElement("style"), s = kt.litNonce;
|
|
77
77
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
78
78
|
}
|
|
79
|
-
},
|
|
79
|
+
}, no = Oi ? (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 jr(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: Vr, defineProperty: Ur, getOwnPropertyDescriptor: Wr, getOwnPropertyNames: qr, getOwnPropertySymbols: Kr, getPrototypeOf: Gr } = Object, Bt = globalThis, ao = Bt.trustedTypes, Jr = ao ? ao.emptyScript : "", Xr = Bt.reactiveElementPolyfillSupport, ut = (o, t) => o, ci = { toAttribute(o, t) {
|
|
91
91
|
switch (t) {
|
|
92
92
|
case Boolean:
|
|
93
|
-
o = o ?
|
|
93
|
+
o = o ? Jr : null;
|
|
94
94
|
break;
|
|
95
95
|
case Object:
|
|
96
96
|
case Array:
|
|
@@ -115,7 +115,7 @@ const { is: Ur, defineProperty: Wr, getOwnPropertyDescriptor: qr, getOwnProperty
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
return e;
|
|
118
|
-
} },
|
|
118
|
+
} }, Zo = (o, t) => !Vr(o, t), lo = { attribute: !0, type: String, converter: ci, reflect: !1, hasChanged: Zo };
|
|
119
119
|
Symbol.metadata ??= Symbol("metadata"), Bt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
120
120
|
class We extends HTMLElement {
|
|
121
121
|
static addInitializer(t) {
|
|
@@ -124,37 +124,39 @@ class We extends HTMLElement {
|
|
|
124
124
|
static get observedAttributes() {
|
|
125
125
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
126
126
|
}
|
|
127
|
-
static createProperty(t, e =
|
|
128
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.
|
|
127
|
+
static createProperty(t, e = lo) {
|
|
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 && Ur(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 } = Wr(this.prototype, t) ?? { get() {
|
|
135
135
|
return this[e];
|
|
136
136
|
}, set(n) {
|
|
137
137
|
this[e] = n;
|
|
138
138
|
} };
|
|
139
|
-
return { get
|
|
139
|
+
return { get() {
|
|
140
|
+
return s?.call(this);
|
|
141
|
+
}, set(n) {
|
|
140
142
|
const a = s?.call(this);
|
|
141
|
-
r
|
|
143
|
+
r.call(this, n), this.requestUpdate(t, a, i);
|
|
142
144
|
}, configurable: !0, enumerable: !0 };
|
|
143
145
|
}
|
|
144
146
|
static getPropertyOptions(t) {
|
|
145
|
-
return this.elementProperties.get(t) ??
|
|
147
|
+
return this.elementProperties.get(t) ?? lo;
|
|
146
148
|
}
|
|
147
149
|
static _$Ei() {
|
|
148
150
|
if (this.hasOwnProperty(ut("elementProperties")))
|
|
149
151
|
return;
|
|
150
|
-
const t =
|
|
152
|
+
const t = Gr(this);
|
|
151
153
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
152
154
|
}
|
|
153
155
|
static finalize() {
|
|
154
156
|
if (this.hasOwnProperty(ut("finalized")))
|
|
155
157
|
return;
|
|
156
158
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ut("properties"))) {
|
|
157
|
-
const e = this.properties, i = [...
|
|
159
|
+
const e = this.properties, i = [...qr(e), ...Kr(e)];
|
|
158
160
|
for (const s of i)
|
|
159
161
|
this.createProperty(s, e[s]);
|
|
160
162
|
}
|
|
@@ -177,9 +179,9 @@ class We extends HTMLElement {
|
|
|
177
179
|
if (Array.isArray(t)) {
|
|
178
180
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
179
181
|
for (const s of i)
|
|
180
|
-
e.unshift(
|
|
182
|
+
e.unshift(no(s));
|
|
181
183
|
} else
|
|
182
|
-
t !== void 0 && e.push(
|
|
184
|
+
t !== void 0 && e.push(no(t));
|
|
183
185
|
return e;
|
|
184
186
|
}
|
|
185
187
|
static _$Eu(t, e) {
|
|
@@ -206,7 +208,7 @@ class We extends HTMLElement {
|
|
|
206
208
|
}
|
|
207
209
|
createRenderRoot() {
|
|
208
210
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
209
|
-
return
|
|
211
|
+
return Xo(t, this.constructor.elementStyles), t;
|
|
210
212
|
}
|
|
211
213
|
connectedCallback() {
|
|
212
214
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
@@ -219,7 +221,7 @@ class We extends HTMLElement {
|
|
|
219
221
|
attributeChangedCallback(t, e, i) {
|
|
220
222
|
this._$AK(t, i);
|
|
221
223
|
}
|
|
222
|
-
_$
|
|
224
|
+
_$EC(t, e) {
|
|
223
225
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
224
226
|
if (s !== void 0 && i.reflect === !0) {
|
|
225
227
|
const r = (i.converter?.toAttribute !== void 0 ? i.converter : ci).toAttribute(e, i.type);
|
|
@@ -230,24 +232,21 @@ class We extends HTMLElement {
|
|
|
230
232
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
231
233
|
if (s !== void 0 && this._$Em !== s) {
|
|
232
234
|
const r = i.getPropertyOptions(s), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter : ci;
|
|
233
|
-
this._$Em = s;
|
|
234
|
-
const a = n.fromAttribute(e, r.type);
|
|
235
|
-
this[s] = a ?? this._$Ej?.get(s) ?? a, this._$Em = null;
|
|
235
|
+
this._$Em = s, this[s] = n.fromAttribute(e, r.type), this._$Em = null;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
requestUpdate(t, e, i) {
|
|
239
239
|
if (t !== void 0) {
|
|
240
|
-
|
|
241
|
-
if (i ??= s.getPropertyOptions(t), !((i.hasChanged ?? Qo)(r, e) || i.useDefault && i.reflect && r === this._$Ej?.get(t) && !this.hasAttribute(s._$Eu(t, i))))
|
|
240
|
+
if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? Zo)(this[t], e))
|
|
242
241
|
return;
|
|
243
|
-
this.
|
|
242
|
+
this.P(t, e, i);
|
|
244
243
|
}
|
|
245
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
244
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
246
245
|
}
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
P(t, e, i) {
|
|
247
|
+
this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t);
|
|
249
248
|
}
|
|
250
|
-
async _$
|
|
249
|
+
async _$ET() {
|
|
251
250
|
this.isUpdatePending = !0;
|
|
252
251
|
try {
|
|
253
252
|
await this._$ES;
|
|
@@ -271,17 +270,15 @@ class We extends HTMLElement {
|
|
|
271
270
|
}
|
|
272
271
|
const i = this.constructor.elementProperties;
|
|
273
272
|
if (i.size > 0)
|
|
274
|
-
for (const [s, r] of i)
|
|
275
|
-
|
|
276
|
-
n !== !0 || this._$AL.has(s) || a === void 0 || this.C(s, void 0, r, a);
|
|
277
|
-
}
|
|
273
|
+
for (const [s, r] of i)
|
|
274
|
+
r.wrapped !== !0 || this._$AL.has(s) || this[s] === void 0 || this.P(s, this[s], r);
|
|
278
275
|
}
|
|
279
276
|
let t = !1;
|
|
280
277
|
const e = this._$AL;
|
|
281
278
|
try {
|
|
282
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((i) => i.hostUpdate?.()), this.update(e)) : this._$
|
|
279
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((i) => i.hostUpdate?.()), this.update(e)) : this._$EU();
|
|
283
280
|
} catch (i) {
|
|
284
|
-
throw t = !1, this._$
|
|
281
|
+
throw t = !1, this._$EU(), i;
|
|
285
282
|
}
|
|
286
283
|
t && this._$AE(e);
|
|
287
284
|
}
|
|
@@ -290,7 +287,7 @@ class We extends HTMLElement {
|
|
|
290
287
|
_$AE(t) {
|
|
291
288
|
this._$EO?.forEach((e) => e.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
292
289
|
}
|
|
293
|
-
_$
|
|
290
|
+
_$EU() {
|
|
294
291
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
295
292
|
}
|
|
296
293
|
get updateComplete() {
|
|
@@ -303,46 +300,46 @@ class We extends HTMLElement {
|
|
|
303
300
|
return !0;
|
|
304
301
|
}
|
|
305
302
|
update(t) {
|
|
306
|
-
this._$
|
|
303
|
+
this._$Ej &&= this._$Ej.forEach((e) => this._$EC(e, this[e])), this._$EU();
|
|
307
304
|
}
|
|
308
305
|
updated(t) {
|
|
309
306
|
}
|
|
310
307
|
firstUpdated(t) {
|
|
311
308
|
}
|
|
312
309
|
}
|
|
313
|
-
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[ut("elementProperties")] = /* @__PURE__ */ new Map(), We[ut("finalized")] = /* @__PURE__ */ new Map(),
|
|
310
|
+
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[ut("elementProperties")] = /* @__PURE__ */ new Map(), We[ut("finalized")] = /* @__PURE__ */ new Map(), Xr?.({ ReactiveElement: We }), (Bt.reactiveElementVersions ??= []).push("2.0.4");
|
|
314
311
|
/**
|
|
315
312
|
* @license
|
|
316
313
|
* Copyright 2017 Google LLC
|
|
317
314
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
318
315
|
*/
|
|
319
|
-
const Ni = globalThis, Mt = Ni.trustedTypes,
|
|
320
|
-
\f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
321
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
322
|
-
function
|
|
316
|
+
const Ni = globalThis, Mt = Ni.trustedTypes, co = Mt ? Mt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Qo = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, es = "?" + De, Zr = `<${es}>`, He = document, ht = () => He.createComment(""), pt = (o) => o === null || typeof o != "object" && typeof o != "function", zi = Array.isArray, Qr = (o) => zi(o) || typeof o?.[Symbol.iterator] == "function", qt = `[
|
|
317
|
+
\f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, uo = /-->/g, ho = />/g, Ne = RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^
|
|
318
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), po = /'/g, fo = /"/g, ts = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), mo = /* @__PURE__ */ new WeakMap(), ze = He.createTreeWalker(He, 129);
|
|
319
|
+
function is(o, t) {
|
|
323
320
|
if (!zi(o) || !o.hasOwnProperty("raw"))
|
|
324
321
|
throw Error("invalid template strings array");
|
|
325
|
-
return
|
|
322
|
+
return co !== void 0 ? co.createHTML(t) : t;
|
|
326
323
|
}
|
|
327
|
-
const
|
|
324
|
+
const en = (o, t) => {
|
|
328
325
|
const e = o.length - 1, i = [];
|
|
329
326
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = ot;
|
|
330
327
|
for (let a = 0; a < e; a++) {
|
|
331
328
|
const l = o[a];
|
|
332
329
|
let c, u, d = -1, h = 0;
|
|
333
330
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
334
|
-
h = n.lastIndex, n === ot ? u[1] === "!--" ? n =
|
|
331
|
+
h = n.lastIndex, n === ot ? u[1] === "!--" ? n = uo : u[1] !== void 0 ? n = ho : u[2] !== void 0 ? (ts.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = Ne) : u[3] !== void 0 && (n = Ne) : n === Ne ? u[0] === ">" ? (n = s ?? ot, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Ne : u[3] === '"' ? fo : po) : n === fo || n === po ? n = Ne : n === uo || n === ho ? n = ot : (n = Ne, s = void 0);
|
|
335
332
|
const m = n === Ne && o[a + 1].startsWith("/>") ? " " : "";
|
|
336
|
-
r += n === ot ? l +
|
|
333
|
+
r += n === ot ? l + Zr : d >= 0 ? (i.push(c), l.slice(0, d) + Qo + l.slice(d) + De + m) : l + De + (d === -2 ? a : m);
|
|
337
334
|
}
|
|
338
|
-
return [
|
|
335
|
+
return [is(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
339
336
|
};
|
|
340
337
|
class ft {
|
|
341
338
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
342
339
|
let s;
|
|
343
340
|
this.parts = [];
|
|
344
341
|
let r = 0, n = 0;
|
|
345
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
342
|
+
const a = t.length - 1, l = this.parts, [c, u] = en(t, e);
|
|
346
343
|
if (this.el = ft.createElement(c, i), ze.currentNode = this.el.content, e === 2 || e === 3) {
|
|
347
344
|
const d = this.el.content.firstChild;
|
|
348
345
|
d.replaceWith(...d.childNodes);
|
|
@@ -351,12 +348,12 @@ class ft {
|
|
|
351
348
|
if (s.nodeType === 1) {
|
|
352
349
|
if (s.hasAttributes())
|
|
353
350
|
for (const d of s.getAttributeNames())
|
|
354
|
-
if (d.endsWith(
|
|
351
|
+
if (d.endsWith(Qo)) {
|
|
355
352
|
const h = u[n++], m = s.getAttribute(d).split(De), b = /([.?@])?(.*)/.exec(h);
|
|
356
|
-
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] === "." ? on : b[1] === "?" ? sn : b[1] === "@" ? rn : Ht }), s.removeAttribute(d);
|
|
357
354
|
} else
|
|
358
355
|
d.startsWith(De) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
359
|
-
if (
|
|
356
|
+
if (ts.test(s.tagName)) {
|
|
360
357
|
const d = s.textContent.split(De), h = d.length - 1;
|
|
361
358
|
if (h > 0) {
|
|
362
359
|
s.textContent = Mt ? Mt.emptyScript : "";
|
|
@@ -366,7 +363,7 @@ class ft {
|
|
|
366
363
|
}
|
|
367
364
|
}
|
|
368
365
|
} else if (s.nodeType === 8)
|
|
369
|
-
if (s.data ===
|
|
366
|
+
if (s.data === es)
|
|
370
367
|
l.push({ type: 2, index: r });
|
|
371
368
|
else {
|
|
372
369
|
let d = -1;
|
|
@@ -388,7 +385,7 @@ function Ze(o, t, e = o, i) {
|
|
|
388
385
|
const r = pt(t) ? void 0 : t._$litDirective$;
|
|
389
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 = Ze(o, s._$AS(o, t.values), s, i)), t;
|
|
390
387
|
}
|
|
391
|
-
class
|
|
388
|
+
class tn {
|
|
392
389
|
constructor(t, e) {
|
|
393
390
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
394
391
|
}
|
|
@@ -405,7 +402,7 @@ class on {
|
|
|
405
402
|
for (; l !== void 0; ) {
|
|
406
403
|
if (n === l.index) {
|
|
407
404
|
let c;
|
|
408
|
-
l.type === 2 ? c = new xt(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 xt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new nn(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
409
406
|
}
|
|
410
407
|
n !== l?.index && (r = ze.nextNode(), n++);
|
|
411
408
|
}
|
|
@@ -436,7 +433,7 @@ class xt {
|
|
|
436
433
|
return this._$AB;
|
|
437
434
|
}
|
|
438
435
|
_$AI(t, e = this) {
|
|
439
|
-
t = Ze(this, t, e), pt(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Xe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
436
|
+
t = Ze(this, t, e), pt(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Xe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Qr(t) ? this.k(t) : this._(t);
|
|
440
437
|
}
|
|
441
438
|
O(t) {
|
|
442
439
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -448,17 +445,17 @@ class xt {
|
|
|
448
445
|
this._$AH !== W && pt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(He.createTextNode(t)), this._$AH = t;
|
|
449
446
|
}
|
|
450
447
|
$(t) {
|
|
451
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ft.createElement(
|
|
448
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ft.createElement(is(i.h, i.h[0]), this.options)), i);
|
|
452
449
|
if (this._$AH?._$AD === s)
|
|
453
450
|
this._$AH.p(e);
|
|
454
451
|
else {
|
|
455
|
-
const r = new
|
|
452
|
+
const r = new tn(s, this), n = r.u(this.options);
|
|
456
453
|
r.p(e), this.T(n), this._$AH = r;
|
|
457
454
|
}
|
|
458
455
|
}
|
|
459
456
|
_$AC(t) {
|
|
460
|
-
let e =
|
|
461
|
-
return e === void 0 &&
|
|
457
|
+
let e = mo.get(t.strings);
|
|
458
|
+
return e === void 0 && mo.set(t.strings, e = new ft(t)), e;
|
|
462
459
|
}
|
|
463
460
|
k(t) {
|
|
464
461
|
zi(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -469,7 +466,7 @@ class xt {
|
|
|
469
466
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
470
467
|
}
|
|
471
468
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
472
|
-
for (this._$AP?.(!1, !0, e); t !== this._$AB; ) {
|
|
469
|
+
for (this._$AP?.(!1, !0, e); t && t !== this._$AB; ) {
|
|
473
470
|
const i = t.nextSibling;
|
|
474
471
|
t.remove(), t = i;
|
|
475
472
|
}
|
|
@@ -505,7 +502,7 @@ class Ht {
|
|
|
505
502
|
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
506
503
|
}
|
|
507
504
|
}
|
|
508
|
-
class
|
|
505
|
+
class on extends Ht {
|
|
509
506
|
constructor() {
|
|
510
507
|
super(...arguments), this.type = 3;
|
|
511
508
|
}
|
|
@@ -513,7 +510,7 @@ class sn extends Ht {
|
|
|
513
510
|
this.element[this.name] = t === W ? void 0 : t;
|
|
514
511
|
}
|
|
515
512
|
}
|
|
516
|
-
class
|
|
513
|
+
class sn extends Ht {
|
|
517
514
|
constructor() {
|
|
518
515
|
super(...arguments), this.type = 4;
|
|
519
516
|
}
|
|
@@ -521,7 +518,7 @@ class rn extends Ht {
|
|
|
521
518
|
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
522
519
|
}
|
|
523
520
|
}
|
|
524
|
-
class
|
|
521
|
+
class rn extends Ht {
|
|
525
522
|
constructor(t, e, i, s, r) {
|
|
526
523
|
super(t, e, i, s, r), this.type = 5;
|
|
527
524
|
}
|
|
@@ -535,7 +532,7 @@ class nn extends Ht {
|
|
|
535
532
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
536
533
|
}
|
|
537
534
|
}
|
|
538
|
-
class
|
|
535
|
+
class nn {
|
|
539
536
|
constructor(t, e, i) {
|
|
540
537
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
541
538
|
}
|
|
@@ -546,9 +543,9 @@ class an {
|
|
|
546
543
|
Ze(this, t);
|
|
547
544
|
}
|
|
548
545
|
}
|
|
549
|
-
const
|
|
550
|
-
|
|
551
|
-
const
|
|
546
|
+
const an = Ni.litHtmlPolyfillSupport;
|
|
547
|
+
an?.(ft, xt), (Ni.litHtmlVersions ??= []).push("3.2.1");
|
|
548
|
+
const ln = (o, t, e) => {
|
|
552
549
|
const i = e?.renderBefore ?? t;
|
|
553
550
|
let s = i._$litPart$;
|
|
554
551
|
if (s === void 0) {
|
|
@@ -562,7 +559,6 @@ const cn = (o, t, e) => {
|
|
|
562
559
|
* Copyright 2017 Google LLC
|
|
563
560
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
564
561
|
*/
|
|
565
|
-
const Li = globalThis;
|
|
566
562
|
class qe extends We {
|
|
567
563
|
constructor() {
|
|
568
564
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -573,7 +569,7 @@ class qe extends We {
|
|
|
573
569
|
}
|
|
574
570
|
update(t) {
|
|
575
571
|
const e = this.render();
|
|
576
|
-
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 = ln(e, this.renderRoot, this.renderOptions);
|
|
577
573
|
}
|
|
578
574
|
connectedCallback() {
|
|
579
575
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -585,16 +581,16 @@ class qe extends We {
|
|
|
585
581
|
return Xe;
|
|
586
582
|
}
|
|
587
583
|
}
|
|
588
|
-
qe._$litElement$ = !0, qe.finalized = !0,
|
|
589
|
-
const
|
|
590
|
-
|
|
591
|
-
(
|
|
584
|
+
qe._$litElement$ = !0, qe.finalized = !0, globalThis.litElementHydrateSupport?.({ LitElement: qe });
|
|
585
|
+
const cn = globalThis.litElementPolyfillSupport;
|
|
586
|
+
cn?.({ LitElement: qe });
|
|
587
|
+
(globalThis.litElementVersions ??= []).push("4.1.1");
|
|
592
588
|
/**
|
|
593
589
|
* @license
|
|
594
590
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
595
591
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
596
592
|
*/
|
|
597
|
-
const
|
|
593
|
+
const un = (o) => class extends o {
|
|
598
594
|
static get properties() {
|
|
599
595
|
return {
|
|
600
596
|
/**
|
|
@@ -633,103 +629,103 @@ const dn = (o) => class extends o {
|
|
|
633
629
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
634
630
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
635
631
|
*/
|
|
636
|
-
const
|
|
637
|
-
function
|
|
632
|
+
const os = [], ui = /* @__PURE__ */ new Set(), Li = /* @__PURE__ */ new Set();
|
|
633
|
+
function ss(o) {
|
|
638
634
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
639
635
|
}
|
|
640
|
-
function
|
|
641
|
-
return
|
|
636
|
+
function dn(o) {
|
|
637
|
+
return ss(customElements.get(o));
|
|
642
638
|
}
|
|
643
|
-
function
|
|
639
|
+
function hn(o = []) {
|
|
644
640
|
return [o].flat(1 / 0).filter((t) => t instanceof Fi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
645
641
|
}
|
|
646
|
-
function
|
|
642
|
+
function rs(o, t) {
|
|
647
643
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
648
644
|
}
|
|
649
|
-
function
|
|
645
|
+
function ns(o) {
|
|
650
646
|
return o.map((t) => t.cssText).join(`
|
|
651
647
|
`);
|
|
652
648
|
}
|
|
653
649
|
const Ot = "vaadin-themable-mixin-style";
|
|
654
|
-
function
|
|
650
|
+
function pn(o, t) {
|
|
655
651
|
const e = document.createElement("style");
|
|
656
|
-
e.id = Ot, e.textContent =
|
|
652
|
+
e.id = Ot, e.textContent = ns(o), t.content.appendChild(e);
|
|
657
653
|
}
|
|
658
|
-
function
|
|
654
|
+
function fn(o) {
|
|
659
655
|
if (!o.shadowRoot)
|
|
660
656
|
return;
|
|
661
657
|
const t = o.constructor;
|
|
662
658
|
if (o instanceof qe)
|
|
663
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
659
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), Xo(o.shadowRoot, t.elementStyles);
|
|
664
660
|
else {
|
|
665
661
|
const e = o.shadowRoot.getElementById(Ot), i = t.prototype._template;
|
|
666
662
|
e.textContent = i.content.getElementById(Ot).textContent;
|
|
667
663
|
}
|
|
668
664
|
}
|
|
669
|
-
function
|
|
665
|
+
function mn(o) {
|
|
670
666
|
ui.forEach((t) => {
|
|
671
667
|
const e = t.deref();
|
|
672
|
-
e instanceof o ?
|
|
668
|
+
e instanceof o ? fn(e) : e || ui.delete(t);
|
|
673
669
|
});
|
|
674
670
|
}
|
|
675
|
-
function
|
|
671
|
+
function as(o) {
|
|
676
672
|
if (o.prototype instanceof qe)
|
|
677
673
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
678
674
|
else {
|
|
679
675
|
const t = o.prototype._template;
|
|
680
|
-
t.content.getElementById(Ot).textContent =
|
|
676
|
+
t.content.getElementById(Ot).textContent = ns(o.getStylesForThis());
|
|
681
677
|
}
|
|
682
|
-
|
|
678
|
+
Li.forEach((t) => {
|
|
683
679
|
const e = customElements.get(t);
|
|
684
|
-
e !== o && e.prototype instanceof o &&
|
|
680
|
+
e !== o && e.prototype instanceof o && as(e);
|
|
685
681
|
});
|
|
686
682
|
}
|
|
687
|
-
function
|
|
683
|
+
function _n(o, t) {
|
|
688
684
|
const e = o.__themes;
|
|
689
685
|
return !e || !t ? !1 : e.some(
|
|
690
686
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
691
687
|
);
|
|
692
688
|
}
|
|
693
689
|
function L(o, t, e = {}) {
|
|
694
|
-
t =
|
|
690
|
+
t = hn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : os.push({
|
|
695
691
|
themeFor: o,
|
|
696
692
|
styles: t,
|
|
697
693
|
include: e.include,
|
|
698
694
|
moduleId: e.moduleId
|
|
699
|
-
}), o &&
|
|
700
|
-
if (
|
|
695
|
+
}), o && Li.forEach((i) => {
|
|
696
|
+
if (rs(o, i) && dn(i)) {
|
|
701
697
|
const s = customElements.get(i);
|
|
702
|
-
|
|
698
|
+
_n(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
703
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".`
|
|
704
|
-
),
|
|
700
|
+
), as(s), mn(s);
|
|
705
701
|
}
|
|
706
702
|
});
|
|
707
703
|
}
|
|
708
704
|
function di() {
|
|
709
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
705
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : os;
|
|
710
706
|
}
|
|
711
|
-
function
|
|
707
|
+
function gn(o = "") {
|
|
712
708
|
let t = 0;
|
|
713
709
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
714
710
|
}
|
|
715
|
-
function
|
|
711
|
+
function ls(o) {
|
|
716
712
|
const t = [];
|
|
717
713
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
718
714
|
const i = di().find((s) => s.moduleId === e);
|
|
719
|
-
i ? t.push(...
|
|
715
|
+
i ? t.push(...ls(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
720
716
|
}, o.styles), t;
|
|
721
717
|
}
|
|
722
|
-
function
|
|
723
|
-
const t = `${o}-default-theme`, e = di().filter((i) => i.moduleId !== t &&
|
|
718
|
+
function bn(o) {
|
|
719
|
+
const t = `${o}-default-theme`, e = di().filter((i) => i.moduleId !== t && rs(i.themeFor, o)).map((i) => ({
|
|
724
720
|
...i,
|
|
725
721
|
// Prepend styles from included themes
|
|
726
|
-
styles: [...
|
|
722
|
+
styles: [...ls(i), ...i.styles],
|
|
727
723
|
// Map moduleId to includePriority
|
|
728
|
-
includePriority:
|
|
724
|
+
includePriority: gn(i.moduleId)
|
|
729
725
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
730
726
|
return e.length > 0 ? e : di().filter((i) => i.moduleId === t);
|
|
731
727
|
}
|
|
732
|
-
const $e = (o) => class extends
|
|
728
|
+
const $e = (o) => class extends un(o) {
|
|
733
729
|
constructor() {
|
|
734
730
|
super(), ui.add(new WeakRef(this));
|
|
735
731
|
}
|
|
@@ -738,10 +734,10 @@ const $e = (o) => class extends dn(o) {
|
|
|
738
734
|
* @protected
|
|
739
735
|
*/
|
|
740
736
|
static finalize() {
|
|
741
|
-
if (super.finalize(), this.is &&
|
|
737
|
+
if (super.finalize(), this.is && Li.add(this.is), this.elementStyles)
|
|
742
738
|
return;
|
|
743
739
|
const e = this.prototype._template;
|
|
744
|
-
!e ||
|
|
740
|
+
!e || ss(this) || pn(this.getStylesForThis(), e);
|
|
745
741
|
}
|
|
746
742
|
/**
|
|
747
743
|
* Covers LitElement based component styling
|
|
@@ -759,7 +755,7 @@ const $e = (o) => class extends dn(o) {
|
|
|
759
755
|
*/
|
|
760
756
|
static getStylesForThis() {
|
|
761
757
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
762
|
-
this.__themes = [...e, ...s, ...
|
|
758
|
+
this.__themes = [...e, ...s, ...bn(this.is)];
|
|
763
759
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
764
760
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
765
761
|
}
|
|
@@ -769,19 +765,19 @@ const $e = (o) => class extends dn(o) {
|
|
|
769
765
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
770
766
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
771
767
|
*/
|
|
772
|
-
const
|
|
768
|
+
const vn = (o, ...t) => {
|
|
773
769
|
const e = document.createElement("style");
|
|
774
770
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
775
771
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
776
772
|
}, tt = (o, ...t) => {
|
|
777
|
-
|
|
773
|
+
vn(`lumo-${o}`, t);
|
|
778
774
|
};
|
|
779
775
|
/**
|
|
780
776
|
* @license
|
|
781
777
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
782
778
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
783
779
|
*/
|
|
784
|
-
const
|
|
780
|
+
const yn = P`
|
|
785
781
|
:host {
|
|
786
782
|
--lumo-size-xs: 1.625rem;
|
|
787
783
|
--lumo-size-s: 1.875rem;
|
|
@@ -797,13 +793,13 @@ const xn = P`
|
|
|
797
793
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
798
794
|
}
|
|
799
795
|
`;
|
|
800
|
-
tt("sizing-props",
|
|
796
|
+
tt("sizing-props", yn);
|
|
801
797
|
/**
|
|
802
798
|
* @license
|
|
803
799
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
804
800
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
805
801
|
*/
|
|
806
|
-
const
|
|
802
|
+
const xn = P`
|
|
807
803
|
:host {
|
|
808
804
|
/* Square */
|
|
809
805
|
--lumo-space-xs: 0.25rem;
|
|
@@ -827,13 +823,13 @@ const wn = P`
|
|
|
827
823
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
828
824
|
}
|
|
829
825
|
`;
|
|
830
|
-
tt("spacing-props",
|
|
826
|
+
tt("spacing-props", xn);
|
|
831
827
|
/**
|
|
832
828
|
* @license
|
|
833
829
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
834
830
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
835
831
|
*/
|
|
836
|
-
const
|
|
832
|
+
const wn = P`
|
|
837
833
|
:host {
|
|
838
834
|
/* Border radius */
|
|
839
835
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -935,13 +931,13 @@ P`
|
|
|
935
931
|
--vaadin-input-field-value-font-weight: 500;
|
|
936
932
|
}
|
|
937
933
|
`;
|
|
938
|
-
tt("style-props",
|
|
934
|
+
tt("style-props", wn);
|
|
939
935
|
/**
|
|
940
936
|
* @license
|
|
941
937
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
942
938
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
943
939
|
*/
|
|
944
|
-
const
|
|
940
|
+
const En = P`
|
|
945
941
|
:host {
|
|
946
942
|
/* Base (background) */
|
|
947
943
|
--lumo-base-color: #fff;
|
|
@@ -1027,8 +1023,8 @@ const Sn = P`
|
|
|
1027
1023
|
}
|
|
1028
1024
|
}
|
|
1029
1025
|
`;
|
|
1030
|
-
tt("color-props",
|
|
1031
|
-
const
|
|
1026
|
+
tt("color-props", En);
|
|
1027
|
+
const Sn = P`
|
|
1032
1028
|
[theme~='dark'] {
|
|
1033
1029
|
/* Base (background) */
|
|
1034
1030
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1147,13 +1143,13 @@ const An = P`
|
|
|
1147
1143
|
background: transparent;
|
|
1148
1144
|
}
|
|
1149
1145
|
`;
|
|
1150
|
-
L("",
|
|
1146
|
+
L("", Sn, { moduleId: "lumo-color" });
|
|
1151
1147
|
/**
|
|
1152
1148
|
* @license
|
|
1153
1149
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1154
1150
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1155
1151
|
*/
|
|
1156
|
-
const
|
|
1152
|
+
const An = P`
|
|
1157
1153
|
:host {
|
|
1158
1154
|
/* prettier-ignore */
|
|
1159
1155
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1173,7 +1169,7 @@ const Cn = P`
|
|
|
1173
1169
|
--lumo-line-height-s: 1.375;
|
|
1174
1170
|
--lumo-line-height-m: 1.625;
|
|
1175
1171
|
}
|
|
1176
|
-
`,
|
|
1172
|
+
`, Cn = P`
|
|
1177
1173
|
body,
|
|
1178
1174
|
:host {
|
|
1179
1175
|
font-family: var(--lumo-font-family);
|
|
@@ -1266,14 +1262,14 @@ const Cn = P`
|
|
|
1266
1262
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1267
1263
|
}
|
|
1268
1264
|
`;
|
|
1269
|
-
L("",
|
|
1270
|
-
tt("typography-props",
|
|
1265
|
+
L("", Cn, { moduleId: "lumo-typography" });
|
|
1266
|
+
tt("typography-props", An);
|
|
1271
1267
|
/**
|
|
1272
1268
|
* @license
|
|
1273
1269
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1274
1270
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1275
1271
|
*/
|
|
1276
|
-
const
|
|
1272
|
+
const cs = P`
|
|
1277
1273
|
:host {
|
|
1278
1274
|
top: var(--lumo-space-m);
|
|
1279
1275
|
right: var(--lumo-space-m);
|
|
@@ -1339,13 +1335,13 @@ const us = P`
|
|
|
1339
1335
|
}
|
|
1340
1336
|
}
|
|
1341
1337
|
`;
|
|
1342
|
-
L("",
|
|
1338
|
+
L("", cs, { moduleId: "lumo-overlay" });
|
|
1343
1339
|
/**
|
|
1344
1340
|
* @license
|
|
1345
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1346
1342
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1347
1343
|
*/
|
|
1348
|
-
const
|
|
1344
|
+
const us = P`
|
|
1349
1345
|
:host([opening]),
|
|
1350
1346
|
:host([closing]) {
|
|
1351
1347
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1376,8 +1372,8 @@ const ds = P`
|
|
|
1376
1372
|
}
|
|
1377
1373
|
}
|
|
1378
1374
|
`;
|
|
1379
|
-
L("",
|
|
1380
|
-
const
|
|
1375
|
+
L("", us, { moduleId: "lumo-menu-overlay-core" });
|
|
1376
|
+
const Pn = P`
|
|
1381
1377
|
/* Small viewport (bottom sheet) styles */
|
|
1382
1378
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1383
1379
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1439,9 +1435,9 @@ const kn = P`
|
|
|
1439
1435
|
transform: translateY(150%);
|
|
1440
1436
|
}
|
|
1441
1437
|
}
|
|
1442
|
-
`,
|
|
1443
|
-
L("",
|
|
1444
|
-
const
|
|
1438
|
+
`, ds = [cs, us, Pn];
|
|
1439
|
+
L("", ds, { moduleId: "lumo-menu-overlay" });
|
|
1440
|
+
const kn = P`
|
|
1445
1441
|
[part='overlay'] {
|
|
1446
1442
|
/*
|
|
1447
1443
|
Width:
|
|
@@ -1487,10 +1483,10 @@ const Dn = P`
|
|
|
1487
1483
|
}
|
|
1488
1484
|
}
|
|
1489
1485
|
`;
|
|
1490
|
-
L("vaadin-date-picker-overlay", [
|
|
1486
|
+
L("vaadin-date-picker-overlay", [ds, kn], {
|
|
1491
1487
|
moduleId: "lumo-date-picker-overlay"
|
|
1492
1488
|
});
|
|
1493
|
-
const
|
|
1489
|
+
const Dn = P`
|
|
1494
1490
|
:host {
|
|
1495
1491
|
/* Sizing */
|
|
1496
1492
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1767,7 +1763,7 @@ const Tn = P`
|
|
|
1767
1763
|
margin-right: 0;
|
|
1768
1764
|
}
|
|
1769
1765
|
`;
|
|
1770
|
-
L("vaadin-button",
|
|
1766
|
+
L("vaadin-button", Dn, { moduleId: "lumo-button" });
|
|
1771
1767
|
L(
|
|
1772
1768
|
"vaadin-date-picker-year",
|
|
1773
1769
|
P`
|
|
@@ -2292,7 +2288,7 @@ L(
|
|
|
2292
2288
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2293
2289
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2294
2290
|
*/
|
|
2295
|
-
const
|
|
2291
|
+
const Tn = P`
|
|
2296
2292
|
@font-face {
|
|
2297
2293
|
font-family: 'lumo-icons';
|
|
2298
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==)
|
|
@@ -2346,13 +2342,13 @@ const Mn = P`
|
|
|
2346
2342
|
--lumo-icons-user: '\\ea2a';
|
|
2347
2343
|
}
|
|
2348
2344
|
`;
|
|
2349
|
-
tt("font-icons",
|
|
2345
|
+
tt("font-icons", Tn);
|
|
2350
2346
|
/**
|
|
2351
2347
|
* @license
|
|
2352
2348
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2353
2349
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2354
2350
|
*/
|
|
2355
|
-
const
|
|
2351
|
+
const hs = P`
|
|
2356
2352
|
[part$='button'] {
|
|
2357
2353
|
flex: none;
|
|
2358
2354
|
width: 1em;
|
|
@@ -2380,13 +2376,13 @@ const ps = P`
|
|
|
2380
2376
|
display: block;
|
|
2381
2377
|
}
|
|
2382
2378
|
`;
|
|
2383
|
-
L("",
|
|
2379
|
+
L("", hs, { moduleId: "lumo-field-button" });
|
|
2384
2380
|
/**
|
|
2385
2381
|
* @license
|
|
2386
2382
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2387
2383
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2388
2384
|
*/
|
|
2389
|
-
const
|
|
2385
|
+
const Mn = P`
|
|
2390
2386
|
:host {
|
|
2391
2387
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2392
2388
|
}
|
|
@@ -2448,7 +2444,7 @@ const On = P`
|
|
|
2448
2444
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2449
2445
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2450
2446
|
*/
|
|
2451
|
-
const
|
|
2447
|
+
const ps = P`
|
|
2452
2448
|
[part='label'] {
|
|
2453
2449
|
align-self: flex-start;
|
|
2454
2450
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2561,13 +2557,13 @@ const fs = P`
|
|
|
2561
2557
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2562
2558
|
}
|
|
2563
2559
|
`;
|
|
2564
|
-
L("",
|
|
2560
|
+
L("", ps, { moduleId: "lumo-required-field" });
|
|
2565
2561
|
/**
|
|
2566
2562
|
* @license
|
|
2567
2563
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2568
2564
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2569
2565
|
*/
|
|
2570
|
-
const
|
|
2566
|
+
const On = P`
|
|
2571
2567
|
:host {
|
|
2572
2568
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2573
2569
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2698,11 +2694,11 @@ const In = P`
|
|
|
2698
2694
|
[part='clear-button']::before {
|
|
2699
2695
|
content: var(--lumo-icons-cross);
|
|
2700
2696
|
}
|
|
2701
|
-
`,
|
|
2702
|
-
L("",
|
|
2697
|
+
`, fs = [ps, hs, Mn, On];
|
|
2698
|
+
L("", fs, {
|
|
2703
2699
|
moduleId: "lumo-input-field-shared-styles"
|
|
2704
2700
|
});
|
|
2705
|
-
const
|
|
2701
|
+
const In = P`
|
|
2706
2702
|
[part='toggle-button']::before {
|
|
2707
2703
|
content: var(--lumo-icons-calendar);
|
|
2708
2704
|
}
|
|
@@ -2725,7 +2721,7 @@ const Fn = P`
|
|
|
2725
2721
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2726
2722
|
}
|
|
2727
2723
|
`;
|
|
2728
|
-
L("vaadin-date-picker", [
|
|
2724
|
+
L("vaadin-date-picker", [fs, In], { moduleId: "lumo-date-picker" });
|
|
2729
2725
|
/**
|
|
2730
2726
|
@license
|
|
2731
2727
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2747,9 +2743,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2747
2743
|
Code distributed by Google as part of the polymer project is also
|
|
2748
2744
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2749
2745
|
*/
|
|
2750
|
-
let
|
|
2746
|
+
let Fn = /(url\()([^)]*)(\))/g, Nn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Et, ce;
|
|
2751
2747
|
function dt(o, t) {
|
|
2752
|
-
if (o &&
|
|
2748
|
+
if (o && Nn.test(o) || o === "//")
|
|
2753
2749
|
return o;
|
|
2754
2750
|
if (Et === void 0) {
|
|
2755
2751
|
Et = !1;
|
|
@@ -2767,12 +2763,12 @@ function dt(o, t) {
|
|
|
2767
2763
|
}
|
|
2768
2764
|
return ce || (ce = document.implementation.createHTMLDocument("temp"), ce.base = ce.createElement("base"), ce.head.appendChild(ce.base), ce.anchor = ce.createElement("a"), ce.body.appendChild(ce.anchor)), ce.base.href = t, ce.anchor.href = o, ce.anchor.href || o;
|
|
2769
2765
|
}
|
|
2770
|
-
function
|
|
2771
|
-
return o.replace(
|
|
2766
|
+
function Ri(o, t) {
|
|
2767
|
+
return o.replace(Fn, function(e, i, s, r) {
|
|
2772
2768
|
return i + "'" + dt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2773
2769
|
});
|
|
2774
2770
|
}
|
|
2775
|
-
function
|
|
2771
|
+
function Bi(o) {
|
|
2776
2772
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2777
2773
|
}
|
|
2778
2774
|
/**
|
|
@@ -2784,9 +2780,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2784
2780
|
Code distributed by Google as part of the polymer project is also
|
|
2785
2781
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2786
2782
|
*/
|
|
2787
|
-
const
|
|
2783
|
+
const ms = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2788
2784
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2789
|
-
const
|
|
2785
|
+
const zn = ms && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2790
2786
|
(() => {
|
|
2791
2787
|
try {
|
|
2792
2788
|
const o = new CSSStyleSheet();
|
|
@@ -2797,11 +2793,11 @@ const Ln = _s && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2797
2793
|
return !1;
|
|
2798
2794
|
}
|
|
2799
2795
|
})();
|
|
2800
|
-
let
|
|
2796
|
+
let Ln = window.Polymer && window.Polymer.rootPath || Bi(document.baseURI || window.location.href), It = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2801
2797
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2802
|
-
let Ft = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2798
|
+
let Ft = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Rn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, _s = window.Polymer && window.Polymer.legacyOptimizations || !1, gs = window.Polymer && window.Polymer.legacyWarnings || !1, Bn = window.Polymer && window.Polymer.syncInitialRender || !1, hi = window.Polymer && window.Polymer.legacyUndefined || !1, Hn = window.Polymer && window.Polymer.orderedComputed || !1, _o = window.Polymer && window.Polymer.removeNestedTemplates || !1, $n = window.Polymer && window.Polymer.fastDomIf || !1, go = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2803
2799
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2804
|
-
let
|
|
2800
|
+
let Yn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2805
2801
|
/**
|
|
2806
2802
|
@license
|
|
2807
2803
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2811,14 +2807,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2811
2807
|
Code distributed by Google as part of the polymer project is also
|
|
2812
2808
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2813
2809
|
*/
|
|
2814
|
-
let
|
|
2810
|
+
let jn = 0;
|
|
2815
2811
|
const U = function(o) {
|
|
2816
2812
|
let t = (
|
|
2817
2813
|
/** @type {!MixinFunction} */
|
|
2818
2814
|
o.__mixinApplications
|
|
2819
2815
|
);
|
|
2820
2816
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2821
|
-
let e =
|
|
2817
|
+
let e = jn++;
|
|
2822
2818
|
function i(s) {
|
|
2823
2819
|
let r = (
|
|
2824
2820
|
/** @type {!MixinFunction} */
|
|
@@ -2849,14 +2845,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2849
2845
|
Code distributed by Google as part of the polymer project is also
|
|
2850
2846
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2851
2847
|
*/
|
|
2852
|
-
let
|
|
2853
|
-
function
|
|
2854
|
-
|
|
2848
|
+
let Hi = {}, bs = {};
|
|
2849
|
+
function bo(o, t) {
|
|
2850
|
+
Hi[o] = bs[o.toLowerCase()] = t;
|
|
2855
2851
|
}
|
|
2856
|
-
function
|
|
2857
|
-
return
|
|
2852
|
+
function vo(o) {
|
|
2853
|
+
return Hi[o] || bs[o.toLowerCase()];
|
|
2858
2854
|
}
|
|
2859
|
-
function
|
|
2855
|
+
function Vn(o) {
|
|
2860
2856
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2861
2857
|
}
|
|
2862
2858
|
class mt extends HTMLElement {
|
|
@@ -2877,7 +2873,7 @@ class mt extends HTMLElement {
|
|
|
2877
2873
|
*/
|
|
2878
2874
|
static import(t, e) {
|
|
2879
2875
|
if (t) {
|
|
2880
|
-
let i =
|
|
2876
|
+
let i = vo(t);
|
|
2881
2877
|
return i && e ? i.querySelector(e) : i;
|
|
2882
2878
|
}
|
|
2883
2879
|
return null;
|
|
@@ -2912,7 +2908,7 @@ class mt extends HTMLElement {
|
|
|
2912
2908
|
this.getAttribute("assetpath") || "",
|
|
2913
2909
|
t.baseURI
|
|
2914
2910
|
);
|
|
2915
|
-
this.__assetpath =
|
|
2911
|
+
this.__assetpath = Bi(e);
|
|
2916
2912
|
}
|
|
2917
2913
|
return this.__assetpath;
|
|
2918
2914
|
}
|
|
@@ -2925,13 +2921,13 @@ class mt extends HTMLElement {
|
|
|
2925
2921
|
*/
|
|
2926
2922
|
register(t) {
|
|
2927
2923
|
if (t = t || this.id, t) {
|
|
2928
|
-
if (Ft &&
|
|
2929
|
-
throw
|
|
2930
|
-
this.id = t,
|
|
2924
|
+
if (Ft && vo(t) !== void 0)
|
|
2925
|
+
throw bo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2926
|
+
this.id = t, bo(t, this), Vn(this);
|
|
2931
2927
|
}
|
|
2932
2928
|
}
|
|
2933
2929
|
}
|
|
2934
|
-
mt.prototype.modules =
|
|
2930
|
+
mt.prototype.modules = Hi;
|
|
2935
2931
|
customElements.define("dom-module", mt);
|
|
2936
2932
|
/**
|
|
2937
2933
|
@license
|
|
@@ -2942,39 +2938,39 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2942
2938
|
Code distributed by Google as part of the polymer project is also
|
|
2943
2939
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2944
2940
|
*/
|
|
2945
|
-
const
|
|
2946
|
-
function
|
|
2941
|
+
const Un = "link[rel=import][type~=css]", Wn = "include", yo = "shady-unscoped";
|
|
2942
|
+
function vs(o) {
|
|
2947
2943
|
return (
|
|
2948
2944
|
/** @type {?DomModule} */
|
|
2949
2945
|
mt.import(o)
|
|
2950
2946
|
);
|
|
2951
2947
|
}
|
|
2952
|
-
function
|
|
2948
|
+
function xo(o) {
|
|
2953
2949
|
let t = o.body ? o.body : o;
|
|
2954
|
-
const e =
|
|
2950
|
+
const e = Ri(
|
|
2955
2951
|
t.textContent,
|
|
2956
2952
|
o.baseURI
|
|
2957
2953
|
), i = document.createElement("style");
|
|
2958
2954
|
return i.textContent = e, i;
|
|
2959
2955
|
}
|
|
2960
|
-
function
|
|
2956
|
+
function qn(o) {
|
|
2961
2957
|
const t = o.trim().split(/\s+/), e = [];
|
|
2962
2958
|
for (let i = 0; i < t.length; i++)
|
|
2963
|
-
e.push(...
|
|
2959
|
+
e.push(...Kn(t[i]));
|
|
2964
2960
|
return e;
|
|
2965
2961
|
}
|
|
2966
|
-
function
|
|
2967
|
-
const t =
|
|
2962
|
+
function Kn(o) {
|
|
2963
|
+
const t = vs(o);
|
|
2968
2964
|
if (!t)
|
|
2969
2965
|
return console.warn("Could not find style data in module named", o), [];
|
|
2970
2966
|
if (t._styles === void 0) {
|
|
2971
2967
|
const e = [];
|
|
2972
|
-
e.push(...
|
|
2968
|
+
e.push(...xs(t));
|
|
2973
2969
|
const i = (
|
|
2974
2970
|
/** @type {?HTMLTemplateElement} */
|
|
2975
2971
|
t.querySelector("template")
|
|
2976
2972
|
);
|
|
2977
|
-
i && e.push(...
|
|
2973
|
+
i && e.push(...ys(
|
|
2978
2974
|
i,
|
|
2979
2975
|
/** @type {templateWithAssetPath} */
|
|
2980
2976
|
t.assetpath
|
|
@@ -2982,14 +2978,14 @@ function Gn(o) {
|
|
|
2982
2978
|
}
|
|
2983
2979
|
return t._styles;
|
|
2984
2980
|
}
|
|
2985
|
-
function
|
|
2981
|
+
function ys(o, t) {
|
|
2986
2982
|
if (!o._styles) {
|
|
2987
2983
|
const e = [], i = o.content.querySelectorAll("style");
|
|
2988
2984
|
for (let s = 0; s < i.length; s++) {
|
|
2989
|
-
let r = i[s], n = r.getAttribute(
|
|
2990
|
-
n && e.push(...
|
|
2985
|
+
let r = i[s], n = r.getAttribute(Wn);
|
|
2986
|
+
n && e.push(...qn(n).filter(function(a, l, c) {
|
|
2991
2987
|
return c.indexOf(a) === l;
|
|
2992
|
-
})), t && (r.textContent =
|
|
2988
|
+
})), t && (r.textContent = Ri(
|
|
2993
2989
|
r.textContent,
|
|
2994
2990
|
/** @type {string} */
|
|
2995
2991
|
t
|
|
@@ -2999,21 +2995,21 @@ function xs(o, t) {
|
|
|
2999
2995
|
}
|
|
3000
2996
|
return o._styles;
|
|
3001
2997
|
}
|
|
3002
|
-
function
|
|
3003
|
-
let t =
|
|
3004
|
-
return t ?
|
|
2998
|
+
function Gn(o) {
|
|
2999
|
+
let t = vs(o);
|
|
3000
|
+
return t ? xs(t) : [];
|
|
3005
3001
|
}
|
|
3006
|
-
function
|
|
3007
|
-
const t = [], e = o.querySelectorAll(
|
|
3002
|
+
function xs(o) {
|
|
3003
|
+
const t = [], e = o.querySelectorAll(Un);
|
|
3008
3004
|
for (let i = 0; i < e.length; i++) {
|
|
3009
3005
|
let s = e[i];
|
|
3010
3006
|
if (s.import) {
|
|
3011
|
-
const r = s.import, n = s.hasAttribute(
|
|
3007
|
+
const r = s.import, n = s.hasAttribute(yo);
|
|
3012
3008
|
if (n && !r._unscopedStyle) {
|
|
3013
|
-
const a =
|
|
3014
|
-
a.setAttribute(
|
|
3009
|
+
const a = xo(r);
|
|
3010
|
+
a.setAttribute(yo, ""), r._unscopedStyle = a;
|
|
3015
3011
|
} else
|
|
3016
|
-
r._style || (r._style =
|
|
3012
|
+
r._style || (r._style = xo(r));
|
|
3017
3013
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3018
3014
|
}
|
|
3019
3015
|
}
|
|
@@ -3045,7 +3041,7 @@ function Ye(o) {
|
|
|
3045
3041
|
let t = o.indexOf(".");
|
|
3046
3042
|
return t === -1 ? o : o.slice(0, t);
|
|
3047
3043
|
}
|
|
3048
|
-
function
|
|
3044
|
+
function ws(o, t) {
|
|
3049
3045
|
return o.indexOf(t + ".") === 0;
|
|
3050
3046
|
}
|
|
3051
3047
|
function _t(o, t) {
|
|
@@ -3054,8 +3050,8 @@ function _t(o, t) {
|
|
|
3054
3050
|
function gt(o, t, e) {
|
|
3055
3051
|
return t + e.slice(o.length);
|
|
3056
3052
|
}
|
|
3057
|
-
function
|
|
3058
|
-
return o === t ||
|
|
3053
|
+
function Jn(o, t) {
|
|
3054
|
+
return o === t || ws(o, t) || _t(o, t);
|
|
3059
3055
|
}
|
|
3060
3056
|
function lt(o) {
|
|
3061
3057
|
if (Array.isArray(o)) {
|
|
@@ -3069,11 +3065,11 @@ function lt(o) {
|
|
|
3069
3065
|
} else
|
|
3070
3066
|
return o;
|
|
3071
3067
|
}
|
|
3072
|
-
function
|
|
3068
|
+
function Es(o) {
|
|
3073
3069
|
return Array.isArray(o) ? lt(o).split(".") : o.toString().split(".");
|
|
3074
3070
|
}
|
|
3075
3071
|
function re(o, t, e) {
|
|
3076
|
-
let i = o, s =
|
|
3072
|
+
let i = o, s = Es(t);
|
|
3077
3073
|
for (let r = 0; r < s.length; r++) {
|
|
3078
3074
|
if (!i)
|
|
3079
3075
|
return;
|
|
@@ -3082,8 +3078,8 @@ function re(o, t, e) {
|
|
|
3082
3078
|
}
|
|
3083
3079
|
return e && (e.path = s.join(".")), i;
|
|
3084
3080
|
}
|
|
3085
|
-
function
|
|
3086
|
-
let i = o, s =
|
|
3081
|
+
function wo(o, t, e) {
|
|
3082
|
+
let i = o, s = Es(t), r = s[s.length - 1];
|
|
3087
3083
|
if (s.length > 1) {
|
|
3088
3084
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3089
3085
|
let a = s[n];
|
|
@@ -3104,15 +3100,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3104
3100
|
Code distributed by Google as part of the polymer project is also
|
|
3105
3101
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3106
3102
|
*/
|
|
3107
|
-
const Nt = {},
|
|
3108
|
-
function
|
|
3103
|
+
const Nt = {}, Xn = /-[a-z]/g, Zn = /([A-Z])/g;
|
|
3104
|
+
function Ss(o) {
|
|
3109
3105
|
return Nt[o] || (Nt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3110
|
-
|
|
3106
|
+
Xn,
|
|
3111
3107
|
(t) => t[1].toUpperCase()
|
|
3112
3108
|
));
|
|
3113
3109
|
}
|
|
3114
3110
|
function $t(o) {
|
|
3115
|
-
return Nt[o] || (Nt[o] = o.replace(
|
|
3111
|
+
return Nt[o] || (Nt[o] = o.replace(Zn, "-$1").toLowerCase());
|
|
3116
3112
|
}
|
|
3117
3113
|
/**
|
|
3118
3114
|
@license
|
|
@@ -3123,9 +3119,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3123
3119
|
Code distributed by Google as part of the polymer project is also
|
|
3124
3120
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3125
3121
|
*/
|
|
3126
|
-
let
|
|
3127
|
-
new window.MutationObserver(
|
|
3128
|
-
function
|
|
3122
|
+
let Qn = 0, As = 0, Ke = [], ea = 0, fi = !1, Cs = document.createTextNode("");
|
|
3123
|
+
new window.MutationObserver(ta).observe(Cs, { characterData: !0 });
|
|
3124
|
+
function ta() {
|
|
3129
3125
|
fi = !1;
|
|
3130
3126
|
const o = Ke.length;
|
|
3131
3127
|
for (let t = 0; t < o; t++) {
|
|
@@ -3139,9 +3135,9 @@ function ia() {
|
|
|
3139
3135
|
});
|
|
3140
3136
|
}
|
|
3141
3137
|
}
|
|
3142
|
-
Ke.splice(0, o),
|
|
3138
|
+
Ke.splice(0, o), As += o;
|
|
3143
3139
|
}
|
|
3144
|
-
const
|
|
3140
|
+
const ia = {
|
|
3145
3141
|
/**
|
|
3146
3142
|
* Returns a sub-module with the async interface providing the provided
|
|
3147
3143
|
* delay.
|
|
@@ -3181,7 +3177,7 @@ const oa = {
|
|
|
3181
3177
|
cancel(o) {
|
|
3182
3178
|
window.clearTimeout(o);
|
|
3183
3179
|
}
|
|
3184
|
-
},
|
|
3180
|
+
}, Ps = {
|
|
3185
3181
|
/**
|
|
3186
3182
|
* Enqueues a function called at microtask timing.
|
|
3187
3183
|
*
|
|
@@ -3190,7 +3186,7 @@ const oa = {
|
|
|
3190
3186
|
* @return {number} Handle used for canceling task
|
|
3191
3187
|
*/
|
|
3192
3188
|
run(o) {
|
|
3193
|
-
return fi || (fi = !0,
|
|
3189
|
+
return fi || (fi = !0, Cs.textContent = ea++), Ke.push(o), Qn++;
|
|
3194
3190
|
},
|
|
3195
3191
|
/**
|
|
3196
3192
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3200,7 +3196,7 @@ const oa = {
|
|
|
3200
3196
|
* @return {void}
|
|
3201
3197
|
*/
|
|
3202
3198
|
cancel(o) {
|
|
3203
|
-
const t = o -
|
|
3199
|
+
const t = o - As;
|
|
3204
3200
|
if (t >= 0) {
|
|
3205
3201
|
if (!Ke[t])
|
|
3206
3202
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3217,7 +3213,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3217
3213
|
Code distributed by Google as part of the polymer project is also
|
|
3218
3214
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3219
3215
|
*/
|
|
3220
|
-
const
|
|
3216
|
+
const oa = Ps, ks = U(
|
|
3221
3217
|
/**
|
|
3222
3218
|
* @template T
|
|
3223
3219
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3426,7 +3422,7 @@ const sa = ks, Ds = U(
|
|
|
3426
3422
|
* @override
|
|
3427
3423
|
*/
|
|
3428
3424
|
_invalidateProperties() {
|
|
3429
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3425
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, oa.run(() => {
|
|
3430
3426
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3431
3427
|
}));
|
|
3432
3428
|
}
|
|
@@ -3653,23 +3649,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3653
3649
|
Code distributed by Google as part of the polymer project is also
|
|
3654
3650
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3655
3651
|
*/
|
|
3656
|
-
const
|
|
3652
|
+
const Ds = {};
|
|
3657
3653
|
let St = HTMLElement.prototype;
|
|
3658
3654
|
for (; St; ) {
|
|
3659
3655
|
let o = Object.getOwnPropertyNames(St);
|
|
3660
3656
|
for (let t = 0; t < o.length; t++)
|
|
3661
|
-
|
|
3657
|
+
Ds[o[t]] = !0;
|
|
3662
3658
|
St = Object.getPrototypeOf(St);
|
|
3663
3659
|
}
|
|
3664
|
-
const
|
|
3665
|
-
function
|
|
3666
|
-
if (!
|
|
3660
|
+
const sa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3661
|
+
function ra(o, t) {
|
|
3662
|
+
if (!Ds[t]) {
|
|
3667
3663
|
let e = o[t];
|
|
3668
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));
|
|
3669
3665
|
}
|
|
3670
3666
|
}
|
|
3671
|
-
const
|
|
3672
|
-
const t =
|
|
3667
|
+
const na = U((o) => {
|
|
3668
|
+
const t = ks(o);
|
|
3673
3669
|
class e extends t {
|
|
3674
3670
|
/**
|
|
3675
3671
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3687,7 +3683,7 @@ const aa = U((o) => {
|
|
|
3687
3683
|
this.observedAttributes
|
|
3688
3684
|
);
|
|
3689
3685
|
for (let r = 0; r < s.length; r++)
|
|
3690
|
-
this.prototype._createPropertyAccessor(
|
|
3686
|
+
this.prototype._createPropertyAccessor(Ss(s[r]));
|
|
3691
3687
|
}
|
|
3692
3688
|
/**
|
|
3693
3689
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3764,7 +3760,7 @@ const aa = U((o) => {
|
|
|
3764
3760
|
if (s instanceof Date)
|
|
3765
3761
|
return s.toString();
|
|
3766
3762
|
if (s) {
|
|
3767
|
-
if (
|
|
3763
|
+
if (sa(s))
|
|
3768
3764
|
return (
|
|
3769
3765
|
/** @type {?} */
|
|
3770
3766
|
s
|
|
@@ -3845,7 +3841,7 @@ const aa = U((o) => {
|
|
|
3845
3841
|
* @override
|
|
3846
3842
|
*/
|
|
3847
3843
|
_definePropertyAccessor(s, r) {
|
|
3848
|
-
|
|
3844
|
+
ra(this, s), super._definePropertyAccessor(s, r);
|
|
3849
3845
|
}
|
|
3850
3846
|
/**
|
|
3851
3847
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3880,23 +3876,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3880
3876
|
Code distributed by Google as part of the polymer project is also
|
|
3881
3877
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3882
3878
|
*/
|
|
3883
|
-
const
|
|
3879
|
+
const aa = {
|
|
3884
3880
|
"dom-if": !0,
|
|
3885
3881
|
"dom-repeat": !0
|
|
3886
3882
|
};
|
|
3887
|
-
let
|
|
3888
|
-
function
|
|
3889
|
-
if (!
|
|
3890
|
-
|
|
3883
|
+
let Eo = !1, So = !1;
|
|
3884
|
+
function la() {
|
|
3885
|
+
if (!Eo) {
|
|
3886
|
+
Eo = !0;
|
|
3891
3887
|
const o = document.createElement("textarea");
|
|
3892
|
-
o.placeholder = "a",
|
|
3888
|
+
o.placeholder = "a", So = o.placeholder === o.textContent;
|
|
3893
3889
|
}
|
|
3894
|
-
return
|
|
3890
|
+
return So;
|
|
3895
3891
|
}
|
|
3896
|
-
function
|
|
3897
|
-
|
|
3892
|
+
function ca(o) {
|
|
3893
|
+
la() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3898
3894
|
}
|
|
3899
|
-
const
|
|
3895
|
+
const ua = (() => {
|
|
3900
3896
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3901
3897
|
"polymer-template-event-attribute-policy",
|
|
3902
3898
|
{
|
|
@@ -3915,19 +3911,19 @@ const da = (() => {
|
|
|
3915
3911
|
t.setAttribute(i, s);
|
|
3916
3912
|
};
|
|
3917
3913
|
})();
|
|
3918
|
-
function
|
|
3914
|
+
function da(o) {
|
|
3919
3915
|
let t = o.getAttribute("is");
|
|
3920
|
-
if (t &&
|
|
3916
|
+
if (t && aa[t]) {
|
|
3921
3917
|
let e = o;
|
|
3922
3918
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3923
3919
|
const { name: i } = e.attributes[0];
|
|
3924
|
-
|
|
3920
|
+
ua(o, e, i), e.removeAttribute(i);
|
|
3925
3921
|
}
|
|
3926
3922
|
}
|
|
3927
3923
|
return o;
|
|
3928
3924
|
}
|
|
3929
|
-
function
|
|
3930
|
-
let e = t.parentInfo &&
|
|
3925
|
+
function Ts(o, t) {
|
|
3926
|
+
let e = t.parentInfo && Ts(o, t.parentInfo);
|
|
3931
3927
|
if (e) {
|
|
3932
3928
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
3933
3929
|
if (t.parentIndex === s++)
|
|
@@ -3935,23 +3931,23 @@ function Ms(o, t) {
|
|
|
3935
3931
|
} else
|
|
3936
3932
|
return o;
|
|
3937
3933
|
}
|
|
3938
|
-
function
|
|
3934
|
+
function ha(o, t, e, i) {
|
|
3939
3935
|
i.id && (t[i.id] = e);
|
|
3940
3936
|
}
|
|
3941
|
-
function
|
|
3937
|
+
function pa(o, t, e) {
|
|
3942
3938
|
if (e.events && e.events.length)
|
|
3943
3939
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
3944
3940
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
3945
3941
|
}
|
|
3946
|
-
function
|
|
3942
|
+
function fa(o, t, e, i) {
|
|
3947
3943
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
3948
3944
|
}
|
|
3949
|
-
function
|
|
3945
|
+
function ma(o, t, e) {
|
|
3950
3946
|
return o = o._methodHost || o, function(s) {
|
|
3951
3947
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3952
3948
|
};
|
|
3953
3949
|
}
|
|
3954
|
-
const
|
|
3950
|
+
const _a = U(
|
|
3955
3951
|
/**
|
|
3956
3952
|
* @template T
|
|
3957
3953
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4078,7 +4074,7 @@ const ga = U(
|
|
|
4078
4074
|
/** @type {!HTMLTemplateElement} */
|
|
4079
4075
|
i
|
|
4080
4076
|
);
|
|
4081
|
-
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), ca(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4082
4078
|
}
|
|
4083
4079
|
/**
|
|
4084
4080
|
* Parses template child nodes for the given root node.
|
|
@@ -4096,7 +4092,7 @@ const ga = U(
|
|
|
4096
4092
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4097
4093
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4098
4094
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4099
|
-
if (n.localName == "template" && (n =
|
|
4095
|
+
if (n.localName == "template" && (n = da(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4100
4096
|
let u = l;
|
|
4101
4097
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4102
4098
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4231,8 +4227,8 @@ const ga = U(
|
|
|
4231
4227
|
let l = a.nodeList = new Array(r.length);
|
|
4232
4228
|
a.$ = {};
|
|
4233
4229
|
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4234
|
-
let h = l[c] =
|
|
4235
|
-
|
|
4230
|
+
let h = l[c] = Ts(a, d);
|
|
4231
|
+
ha(this, a.$, h, d), fa(this, h, d, s), pa(this, h, d);
|
|
4236
4232
|
}
|
|
4237
4233
|
return a = /** @type {!StampedTemplate} */
|
|
4238
4234
|
a, a;
|
|
@@ -4253,7 +4249,7 @@ const ga = U(
|
|
|
4253
4249
|
*/
|
|
4254
4250
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4255
4251
|
n = n || i;
|
|
4256
|
-
let a =
|
|
4252
|
+
let a = ma(n, s, r);
|
|
4257
4253
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4258
4254
|
}
|
|
4259
4255
|
/**
|
|
@@ -4303,7 +4299,7 @@ const vt = [], k = {
|
|
|
4303
4299
|
PROPAGATE: "__propagateEffects",
|
|
4304
4300
|
OBSERVE: "__observeEffects",
|
|
4305
4301
|
READ_ONLY: "__readOnly"
|
|
4306
|
-
},
|
|
4302
|
+
}, Ms = "__computeInfo", ga = /[A-Z]/;
|
|
4307
4303
|
function Kt(o, t, e) {
|
|
4308
4304
|
let i = o[t];
|
|
4309
4305
|
if (!i)
|
|
@@ -4324,49 +4320,49 @@ function ct(o, t, e, i, s, r) {
|
|
|
4324
4320
|
let c = s ? Ye(l) : l, u = t[c];
|
|
4325
4321
|
if (u)
|
|
4326
4322
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4327
|
-
(!m.info || m.info.lastRun !== a) && (!s ||
|
|
4323
|
+
(!m.info || m.info.lastRun !== a) && (!s || $i(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
|
|
4328
4324
|
}
|
|
4329
4325
|
return n;
|
|
4330
4326
|
}
|
|
4331
4327
|
return !1;
|
|
4332
4328
|
}
|
|
4333
|
-
function
|
|
4329
|
+
function ba(o, t, e, i, s, r, n, a) {
|
|
4334
4330
|
let l = !1, c = n ? Ye(i) : i, u = t[c];
|
|
4335
4331
|
if (u)
|
|
4336
4332
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4337
|
-
(!m.info || m.info.lastRun !== e) && (!n ||
|
|
4333
|
+
(!m.info || m.info.lastRun !== e) && (!n || $i(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
|
|
4338
4334
|
return l;
|
|
4339
4335
|
}
|
|
4340
|
-
function
|
|
4336
|
+
function $i(o, t) {
|
|
4341
4337
|
if (t) {
|
|
4342
4338
|
let e = (
|
|
4343
4339
|
/** @type {string} */
|
|
4344
4340
|
t.name
|
|
4345
4341
|
);
|
|
4346
|
-
return e == o || !!(t.structured &&
|
|
4342
|
+
return e == o || !!(t.structured && ws(e, o)) || !!(t.wildcard && _t(e, o));
|
|
4347
4343
|
} else
|
|
4348
4344
|
return !0;
|
|
4349
4345
|
}
|
|
4350
|
-
function
|
|
4346
|
+
function Ao(o, t, e, i, s) {
|
|
4351
4347
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4352
4348
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4353
4349
|
}
|
|
4354
|
-
function
|
|
4350
|
+
function va(o, t, e, i, s) {
|
|
4355
4351
|
let r = o[k.NOTIFY], n, a = bt++;
|
|
4356
4352
|
for (let c in t)
|
|
4357
|
-
t[c] && (r &&
|
|
4353
|
+
t[c] && (r && ba(o, r, a, c, e, i, s) || s && ya(o, c, e)) && (n = !0);
|
|
4358
4354
|
let l;
|
|
4359
4355
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4360
4356
|
}
|
|
4361
|
-
function
|
|
4357
|
+
function ya(o, t, e) {
|
|
4362
4358
|
let i = Ye(t);
|
|
4363
4359
|
if (i !== t) {
|
|
4364
4360
|
let s = $t(i) + "-changed";
|
|
4365
|
-
return
|
|
4361
|
+
return Os(o, s, e[t], t), !0;
|
|
4366
4362
|
}
|
|
4367
4363
|
return !1;
|
|
4368
4364
|
}
|
|
4369
|
-
function
|
|
4365
|
+
function Os(o, t, e, i) {
|
|
4370
4366
|
let s = {
|
|
4371
4367
|
value: e,
|
|
4372
4368
|
queueProperty: !0
|
|
@@ -4376,18 +4372,18 @@ function Is(o, t, e, i) {
|
|
|
4376
4372
|
o
|
|
4377
4373
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4378
4374
|
}
|
|
4379
|
-
function
|
|
4375
|
+
function xa(o, t, e, i, s, r) {
|
|
4380
4376
|
let a = (r ? Ye(t) : t) != t ? t : null, l = a ? re(o, a) : o.__data[t];
|
|
4381
|
-
a && l === void 0 && (l = e[t]),
|
|
4377
|
+
a && l === void 0 && (l = e[t]), Os(o, s.eventName, l, a);
|
|
4382
4378
|
}
|
|
4383
|
-
function
|
|
4379
|
+
function wa(o, t, e, i, s) {
|
|
4384
4380
|
let r, n = (
|
|
4385
4381
|
/** @type {Object} */
|
|
4386
4382
|
o.detail
|
|
4387
4383
|
), a = n && n.path;
|
|
4388
4384
|
a ? (i = gt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[k.READ_ONLY] || !t[k.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4389
4385
|
}
|
|
4390
|
-
function
|
|
4386
|
+
function Ea(o, t, e, i, s) {
|
|
4391
4387
|
let r = o.__data[t];
|
|
4392
4388
|
It && (r = It(
|
|
4393
4389
|
r,
|
|
@@ -4397,17 +4393,17 @@ function Sa(o, t, e, i, s) {
|
|
|
4397
4393
|
o
|
|
4398
4394
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4399
4395
|
}
|
|
4400
|
-
function
|
|
4396
|
+
function Sa(o, t, e, i) {
|
|
4401
4397
|
let s = o[k.COMPUTE];
|
|
4402
4398
|
if (s)
|
|
4403
|
-
if (
|
|
4399
|
+
if (Hn) {
|
|
4404
4400
|
bt++;
|
|
4405
|
-
const r =
|
|
4401
|
+
const r = Ca(o), n = [];
|
|
4406
4402
|
for (let l in t)
|
|
4407
|
-
|
|
4403
|
+
Co(l, s, n, r, i);
|
|
4408
4404
|
let a;
|
|
4409
4405
|
for (; a = n.shift(); )
|
|
4410
|
-
|
|
4406
|
+
Is(o, "", t, e, a) && Co(a.methodInfo, s, n, r, i);
|
|
4411
4407
|
Object.assign(
|
|
4412
4408
|
/** @type {!Object} */
|
|
4413
4409
|
e,
|
|
@@ -4431,7 +4427,7 @@ function Aa(o, t, e, i) {
|
|
|
4431
4427
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4432
4428
|
}
|
|
4433
4429
|
}
|
|
4434
|
-
const
|
|
4430
|
+
const Aa = (o, t, e) => {
|
|
4435
4431
|
let i = 0, s = t.length - 1, r = -1;
|
|
4436
4432
|
for (; i <= s; ) {
|
|
4437
4433
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4445,20 +4441,20 @@ const Ca = (o, t, e) => {
|
|
|
4445
4441
|
}
|
|
4446
4442
|
}
|
|
4447
4443
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4448
|
-
},
|
|
4444
|
+
}, Co = (o, t, e, i, s) => {
|
|
4449
4445
|
const r = s ? Ye(o) : o, n = t[r];
|
|
4450
4446
|
if (n)
|
|
4451
4447
|
for (let a = 0; a < n.length; a++) {
|
|
4452
4448
|
const l = n[a];
|
|
4453
|
-
l.info.lastRun !== bt && (!s ||
|
|
4449
|
+
l.info.lastRun !== bt && (!s || $i(o, l.trigger)) && (l.info.lastRun = bt, Aa(l.info, e, i));
|
|
4454
4450
|
}
|
|
4455
4451
|
};
|
|
4456
|
-
function
|
|
4452
|
+
function Ca(o) {
|
|
4457
4453
|
let t = o.constructor.__orderedComputedDeps;
|
|
4458
4454
|
if (!t) {
|
|
4459
4455
|
t = /* @__PURE__ */ new Map();
|
|
4460
4456
|
const e = o[k.COMPUTE];
|
|
4461
|
-
let { counts: i, ready: s, total: r } =
|
|
4457
|
+
let { counts: i, ready: s, total: r } = Pa(o), n;
|
|
4462
4458
|
for (; n = s.shift(); ) {
|
|
4463
4459
|
t.set(n, t.size);
|
|
4464
4460
|
const a = e[n];
|
|
@@ -4472,8 +4468,8 @@ function Pa(o) {
|
|
|
4472
4468
|
}
|
|
4473
4469
|
return t;
|
|
4474
4470
|
}
|
|
4475
|
-
function
|
|
4476
|
-
const t = o[
|
|
4471
|
+
function Pa(o) {
|
|
4472
|
+
const t = o[Ms], e = {}, i = o[k.COMPUTE], s = [];
|
|
4477
4473
|
let r = 0;
|
|
4478
4474
|
for (let n in t) {
|
|
4479
4475
|
const a = t[n];
|
|
@@ -4483,14 +4479,14 @@ function ka(o) {
|
|
|
4483
4479
|
t[n] || s.push(n);
|
|
4484
4480
|
return { counts: e, ready: s, total: r };
|
|
4485
4481
|
}
|
|
4486
|
-
function
|
|
4482
|
+
function Is(o, t, e, i, s) {
|
|
4487
4483
|
let r = mi(o, t, e, i, s);
|
|
4488
4484
|
if (r === vt)
|
|
4489
4485
|
return !1;
|
|
4490
4486
|
let n = s.methodInfo;
|
|
4491
4487
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4492
4488
|
}
|
|
4493
|
-
function
|
|
4489
|
+
function ka(o, t, e) {
|
|
4494
4490
|
let i = o.__dataLinkedPaths;
|
|
4495
4491
|
if (i) {
|
|
4496
4492
|
let s;
|
|
@@ -4503,17 +4499,17 @@ function Da(o, t, e) {
|
|
|
4503
4499
|
function Gt(o, t, e, i, s, r, n) {
|
|
4504
4500
|
e.bindings = e.bindings || [];
|
|
4505
4501
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4506
|
-
if (e.bindings.push(a),
|
|
4502
|
+
if (e.bindings.push(a), Ia(a)) {
|
|
4507
4503
|
let { event: c, negate: u } = a.parts[0];
|
|
4508
4504
|
a.listenerEvent = c || $t(s) + "-changed", a.listenerNegate = u;
|
|
4509
4505
|
}
|
|
4510
4506
|
let l = t.nodeInfoList.length;
|
|
4511
4507
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4512
4508
|
let u = a.parts[c];
|
|
4513
|
-
u.compoundIndex = c,
|
|
4509
|
+
u.compoundIndex = c, Da(o, t, a, u, l);
|
|
4514
4510
|
}
|
|
4515
4511
|
}
|
|
4516
|
-
function
|
|
4512
|
+
function Da(o, t, e, i, s) {
|
|
4517
4513
|
if (!i.literal)
|
|
4518
4514
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4519
4515
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4521,26 +4517,26 @@ function Ta(o, t, e, i, s) {
|
|
|
4521
4517
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4522
4518
|
for (let a = 0; a < r.length; a++) {
|
|
4523
4519
|
let l = r[a];
|
|
4524
|
-
typeof l == "string" && (l =
|
|
4525
|
-
fn:
|
|
4520
|
+
typeof l == "string" && (l = Ns(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4521
|
+
fn: Ta,
|
|
4526
4522
|
info: n,
|
|
4527
4523
|
trigger: l
|
|
4528
4524
|
});
|
|
4529
4525
|
}
|
|
4530
4526
|
}
|
|
4531
4527
|
}
|
|
4532
|
-
function
|
|
4528
|
+
function Ta(o, t, e, i, s, r, n) {
|
|
4533
4529
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4534
4530
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4535
4531
|
let u = e[t];
|
|
4536
4532
|
t = gt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4537
4533
|
} else {
|
|
4538
4534
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4539
|
-
u !== vt &&
|
|
4535
|
+
u !== vt && Ma(o, a, l, c, u);
|
|
4540
4536
|
}
|
|
4541
4537
|
}
|
|
4542
|
-
function
|
|
4543
|
-
if (s =
|
|
4538
|
+
function Ma(o, t, e, i, s) {
|
|
4539
|
+
if (s = Oa(t, s, e, i), It && (s = It(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4544
4540
|
o._valueToNodeAttribute(
|
|
4545
4541
|
/** @type {Element} */
|
|
4546
4542
|
t,
|
|
@@ -4552,17 +4548,17 @@ function Oa(o, t, e, i, s) {
|
|
|
4552
4548
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[k.READ_ONLY] || !t[k.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4553
4549
|
}
|
|
4554
4550
|
}
|
|
4555
|
-
function
|
|
4551
|
+
function Oa(o, t, e, i) {
|
|
4556
4552
|
if (e.isCompound) {
|
|
4557
4553
|
let s = o.__dataCompoundStorage[e.target];
|
|
4558
4554
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4559
4555
|
}
|
|
4560
4556
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4561
4557
|
}
|
|
4562
|
-
function
|
|
4558
|
+
function Ia(o) {
|
|
4563
4559
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4564
4560
|
}
|
|
4565
|
-
function
|
|
4561
|
+
function Fa(o, t) {
|
|
4566
4562
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4567
4563
|
if (i.length)
|
|
4568
4564
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4570,12 +4566,12 @@ function Na(o, t) {
|
|
|
4570
4566
|
if (a)
|
|
4571
4567
|
for (let l = 0; l < a.length; l++) {
|
|
4572
4568
|
let c = a[l];
|
|
4573
|
-
|
|
4569
|
+
Na(n, c), za(n, o, c);
|
|
4574
4570
|
}
|
|
4575
4571
|
n.__dataHost = o;
|
|
4576
4572
|
}
|
|
4577
4573
|
}
|
|
4578
|
-
function
|
|
4574
|
+
function Na(o, t) {
|
|
4579
4575
|
if (t.isCompound) {
|
|
4580
4576
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4581
4577
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4584,15 +4580,15 @@ function za(o, t) {
|
|
|
4584
4580
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = K(o)), o[r] = t.literal);
|
|
4585
4581
|
}
|
|
4586
4582
|
}
|
|
4587
|
-
function
|
|
4583
|
+
function za(o, t, e) {
|
|
4588
4584
|
if (e.listenerEvent) {
|
|
4589
4585
|
let i = e.parts[0];
|
|
4590
4586
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4591
|
-
|
|
4587
|
+
wa(s, t, e.target, i.source, i.negate);
|
|
4592
4588
|
});
|
|
4593
4589
|
}
|
|
4594
4590
|
}
|
|
4595
|
-
function
|
|
4591
|
+
function Po(o, t, e, i, s, r) {
|
|
4596
4592
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4597
4593
|
let n = {
|
|
4598
4594
|
methodName: t.methodName,
|
|
@@ -4619,8 +4615,8 @@ function mi(o, t, e, i, s) {
|
|
|
4619
4615
|
} else
|
|
4620
4616
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4621
4617
|
}
|
|
4622
|
-
const
|
|
4623
|
-
function
|
|
4618
|
+
const La = [], Fs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ra = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Ba = "(?:'(?:[^'\\\\]|\\\\.)*')", Ha = '(?:"(?:[^"\\\\]|\\\\.)*")', $a = "(?:" + Ba + "|" + Ha + ")", ko = "(?:(" + Fs + "|" + Ra + "|" + $a + ")\\s*)", Ya = "(?:" + ko + "(?:,\\s*" + ko + ")*)", ja = "(?:\\(\\s*(?:" + Ya + "?)\\)\\s*)", Va = "(" + Fs + "\\s*" + ja + "?)", Ua = "(\\[\\[|{{)\\s*", Wa = "(?:]]|}})", qa = "(?:(!)\\s*)?", Ka = Ua + qa + Va + Wa, Do = new RegExp(Ka, "g");
|
|
4619
|
+
function To(o) {
|
|
4624
4620
|
let t = "";
|
|
4625
4621
|
for (let e = 0; e < o.length; e++) {
|
|
4626
4622
|
let i = o[e].literal;
|
|
@@ -4631,22 +4627,22 @@ function Mo(o) {
|
|
|
4631
4627
|
function Jt(o) {
|
|
4632
4628
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4633
4629
|
if (t) {
|
|
4634
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4630
|
+
let i = { methodName: t[1], static: !0, args: La };
|
|
4635
4631
|
if (t[2].trim()) {
|
|
4636
4632
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4637
|
-
return
|
|
4633
|
+
return Ga(s, i);
|
|
4638
4634
|
} else
|
|
4639
4635
|
return i;
|
|
4640
4636
|
}
|
|
4641
4637
|
return null;
|
|
4642
4638
|
}
|
|
4643
|
-
function
|
|
4639
|
+
function Ga(o, t) {
|
|
4644
4640
|
return t.args = o.map(function(e) {
|
|
4645
|
-
let i =
|
|
4641
|
+
let i = Ns(e);
|
|
4646
4642
|
return i.literal || (t.static = !1), i;
|
|
4647
4643
|
}, this), t;
|
|
4648
4644
|
}
|
|
4649
|
-
function
|
|
4645
|
+
function Ns(o) {
|
|
4650
4646
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4651
4647
|
name: t,
|
|
4652
4648
|
value: "",
|
|
@@ -4663,16 +4659,16 @@ function zs(o) {
|
|
|
4663
4659
|
}
|
|
4664
4660
|
return e.literal || (e.rootProperty = Ye(t), e.structured = pi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4665
4661
|
}
|
|
4666
|
-
function
|
|
4662
|
+
function Mo(o, t, e) {
|
|
4667
4663
|
let i = re(o, e);
|
|
4668
4664
|
return i === void 0 && (i = t[e]), i;
|
|
4669
4665
|
}
|
|
4670
|
-
function
|
|
4666
|
+
function zs(o, t, e, i) {
|
|
4671
4667
|
const s = { indexSplices: i };
|
|
4672
4668
|
hi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), hi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4673
4669
|
}
|
|
4674
4670
|
function st(o, t, e, i, s, r) {
|
|
4675
|
-
|
|
4671
|
+
zs(o, t, e, [{
|
|
4676
4672
|
index: i,
|
|
4677
4673
|
addedCount: s,
|
|
4678
4674
|
removed: r,
|
|
@@ -4680,11 +4676,11 @@ function st(o, t, e, i, s, r) {
|
|
|
4680
4676
|
type: "splice"
|
|
4681
4677
|
}]);
|
|
4682
4678
|
}
|
|
4683
|
-
function
|
|
4679
|
+
function Ja(o) {
|
|
4684
4680
|
return o[0].toUpperCase() + o.substring(1);
|
|
4685
4681
|
}
|
|
4686
|
-
const
|
|
4687
|
-
const t =
|
|
4682
|
+
const Yi = U((o) => {
|
|
4683
|
+
const t = _a(na(o));
|
|
4688
4684
|
class e extends t {
|
|
4689
4685
|
constructor() {
|
|
4690
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;
|
|
@@ -4863,7 +4859,7 @@ const ji = U((o) => {
|
|
|
4863
4859
|
if (!a) {
|
|
4864
4860
|
let l = re(this, s);
|
|
4865
4861
|
if (s = /** @type {string} */
|
|
4866
|
-
|
|
4862
|
+
wo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4867
4863
|
return !1;
|
|
4868
4864
|
}
|
|
4869
4865
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4872,7 +4868,7 @@ const ji = U((o) => {
|
|
|
4872
4868
|
r,
|
|
4873
4869
|
n
|
|
4874
4870
|
))
|
|
4875
|
-
return
|
|
4871
|
+
return ka(
|
|
4876
4872
|
this,
|
|
4877
4873
|
/**@type{string}*/
|
|
4878
4874
|
s,
|
|
@@ -5088,7 +5084,7 @@ const ji = U((o) => {
|
|
|
5088
5084
|
let a = this.__dataHasPaths;
|
|
5089
5085
|
this.__dataHasPaths = !1;
|
|
5090
5086
|
let l;
|
|
5091
|
-
|
|
5087
|
+
Sa(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ct(this, this[k.REFLECT], r, n, a), ct(this, this[k.OBSERVE], r, n, a), l && va(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5092
5088
|
}
|
|
5093
5089
|
/**
|
|
5094
5090
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5185,7 +5181,7 @@ const ji = U((o) => {
|
|
|
5185
5181
|
/** @type {Array} */
|
|
5186
5182
|
re(this, s, n)
|
|
5187
5183
|
);
|
|
5188
|
-
|
|
5184
|
+
zs(this, a, n.path, r);
|
|
5189
5185
|
}
|
|
5190
5186
|
/**
|
|
5191
5187
|
* Convenience method for reading a value from a path.
|
|
@@ -5233,7 +5229,7 @@ const ji = U((o) => {
|
|
|
5233
5229
|
* @public
|
|
5234
5230
|
*/
|
|
5235
5231
|
set(s, r, n) {
|
|
5236
|
-
n ?
|
|
5232
|
+
n ? wo(n, s, r) : (!this[k.READ_ONLY] || !this[k.READ_ONLY][
|
|
5237
5233
|
/** @type {string} */
|
|
5238
5234
|
s
|
|
5239
5235
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5388,7 +5384,7 @@ const ji = U((o) => {
|
|
|
5388
5384
|
* @protected
|
|
5389
5385
|
*/
|
|
5390
5386
|
_createReadOnlyProperty(s, r) {
|
|
5391
|
-
this._addPropertyEffect(s, k.READ_ONLY), r && (this["_set" +
|
|
5387
|
+
this._addPropertyEffect(s, k.READ_ONLY), r && (this["_set" + Ja(s)] = /** @this {PropertyEffects} */
|
|
5392
5388
|
function(n) {
|
|
5393
5389
|
this._setProperty(s, n);
|
|
5394
5390
|
});
|
|
@@ -5410,7 +5406,7 @@ const ji = U((o) => {
|
|
|
5410
5406
|
_createPropertyObserver(s, r, n) {
|
|
5411
5407
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5412
5408
|
this._addPropertyEffect(s, k.OBSERVE, {
|
|
5413
|
-
fn:
|
|
5409
|
+
fn: Ao,
|
|
5414
5410
|
info: a,
|
|
5415
5411
|
trigger: { name: s }
|
|
5416
5412
|
}), n && this._addPropertyEffect(
|
|
@@ -5418,7 +5414,7 @@ const ji = U((o) => {
|
|
|
5418
5414
|
r,
|
|
5419
5415
|
k.OBSERVE,
|
|
5420
5416
|
{
|
|
5421
|
-
fn:
|
|
5417
|
+
fn: Ao,
|
|
5422
5418
|
info: a,
|
|
5423
5419
|
trigger: { name: r }
|
|
5424
5420
|
}
|
|
@@ -5440,7 +5436,7 @@ const ji = U((o) => {
|
|
|
5440
5436
|
let n = Jt(s);
|
|
5441
5437
|
if (!n)
|
|
5442
5438
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5443
|
-
|
|
5439
|
+
Po(this, n, k.OBSERVE, mi, null, r);
|
|
5444
5440
|
}
|
|
5445
5441
|
/**
|
|
5446
5442
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5454,7 +5450,7 @@ const ji = U((o) => {
|
|
|
5454
5450
|
*/
|
|
5455
5451
|
_createNotifyingProperty(s) {
|
|
5456
5452
|
this._addPropertyEffect(s, k.NOTIFY, {
|
|
5457
|
-
fn:
|
|
5453
|
+
fn: xa,
|
|
5458
5454
|
info: {
|
|
5459
5455
|
eventName: $t(s) + "-changed",
|
|
5460
5456
|
property: s
|
|
@@ -5475,7 +5471,7 @@ const ji = U((o) => {
|
|
|
5475
5471
|
_createReflectedProperty(s) {
|
|
5476
5472
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5477
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, k.REFLECT, {
|
|
5478
|
-
fn:
|
|
5474
|
+
fn: Ea,
|
|
5479
5475
|
info: {
|
|
5480
5476
|
attrName: r
|
|
5481
5477
|
}
|
|
@@ -5498,8 +5494,8 @@ const ji = U((o) => {
|
|
|
5498
5494
|
let a = Jt(r);
|
|
5499
5495
|
if (!a)
|
|
5500
5496
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5501
|
-
const l =
|
|
5502
|
-
Kt(this,
|
|
5497
|
+
const l = Po(this, a, k.COMPUTE, Is, s, n);
|
|
5498
|
+
Kt(this, Ms)[s] = l;
|
|
5503
5499
|
}
|
|
5504
5500
|
/**
|
|
5505
5501
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5520,14 +5516,14 @@ const ji = U((o) => {
|
|
|
5520
5516
|
let { name: d, structured: h, wildcard: m, value: b, literal: p } = s[c];
|
|
5521
5517
|
if (!p)
|
|
5522
5518
|
if (m) {
|
|
5523
|
-
const g = _t(d, r), y =
|
|
5519
|
+
const g = _t(d, r), y = Mo(a, n, g ? r : d);
|
|
5524
5520
|
b = {
|
|
5525
5521
|
path: g ? r : d,
|
|
5526
5522
|
value: y,
|
|
5527
5523
|
base: g ? re(a, d) : y
|
|
5528
5524
|
};
|
|
5529
5525
|
} else
|
|
5530
|
-
b = h ?
|
|
5526
|
+
b = h ? Mo(a, n, d) : a[d];
|
|
5531
5527
|
if (hi && !this._overrideLegacyUndefined && b === void 0 && s.length > 1)
|
|
5532
5528
|
return vt;
|
|
5533
5529
|
l[c] = b;
|
|
@@ -5810,7 +5806,7 @@ const ji = U((o) => {
|
|
|
5810
5806
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5811
5807
|
a.push(l);
|
|
5812
5808
|
}
|
|
5813
|
-
return n.templateInfo = r,
|
|
5809
|
+
return n.templateInfo = r, Fa(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5814
5810
|
}
|
|
5815
5811
|
/**
|
|
5816
5812
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5857,7 +5853,7 @@ const ji = U((o) => {
|
|
|
5857
5853
|
);
|
|
5858
5854
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5859
5855
|
let l = this._parseBindings(s.textContent, r);
|
|
5860
|
-
l && (s.textContent =
|
|
5856
|
+
l && (s.textContent = To(l) || " ", Gt(this, r, n, "text", "textContent", l), a = !0);
|
|
5861
5857
|
}
|
|
5862
5858
|
return a;
|
|
5863
5859
|
}
|
|
@@ -5884,9 +5880,9 @@ const ji = U((o) => {
|
|
|
5884
5880
|
let c = this._parseBindings(l, r);
|
|
5885
5881
|
if (c) {
|
|
5886
5882
|
let u = a, d = "property";
|
|
5887
|
-
|
|
5888
|
-
let h =
|
|
5889
|
-
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
|
+
ga.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5884
|
+
let h = To(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 = Ss(a)), Gt(this, r, n, d, a, c, h), !0;
|
|
5890
5886
|
} else
|
|
5891
5887
|
return t._parseTemplateNodeAttribute.call(
|
|
5892
5888
|
this,
|
|
@@ -5919,10 +5915,10 @@ const ji = U((o) => {
|
|
|
5919
5915
|
n
|
|
5920
5916
|
);
|
|
5921
5917
|
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5922
|
-
|
|
5918
|
+
_o && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5923
5919
|
let h = c.hostProps;
|
|
5924
|
-
if (
|
|
5925
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5920
|
+
if ($n && u)
|
|
5921
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), _o || (n.parentInfo.noted = !0));
|
|
5926
5922
|
else {
|
|
5927
5923
|
let m = "{";
|
|
5928
5924
|
for (let b in h) {
|
|
@@ -5979,7 +5975,7 @@ const ji = U((o) => {
|
|
|
5979
5975
|
*/
|
|
5980
5976
|
static _parseBindings(s, r) {
|
|
5981
5977
|
let n = [], a = 0, l;
|
|
5982
|
-
for (; (l =
|
|
5978
|
+
for (; (l = Do.exec(s)) !== null; ) {
|
|
5983
5979
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5984
5980
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", b = -1;
|
|
5985
5981
|
c == "{" && (b = d.indexOf("::")) > 0 && (m = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
@@ -6002,7 +5998,7 @@ const ji = U((o) => {
|
|
|
6002
5998
|
signature: p,
|
|
6003
5999
|
dependencies: g,
|
|
6004
6000
|
event: m
|
|
6005
|
-
}), a =
|
|
6001
|
+
}), a = Do.lastIndex;
|
|
6006
6002
|
}
|
|
6007
6003
|
if (a && a < s.length) {
|
|
6008
6004
|
let c = s.substring(a);
|
|
@@ -6052,7 +6048,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6052
6048
|
Code distributed by Google as part of the polymer project is also
|
|
6053
6049
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6054
6050
|
*/
|
|
6055
|
-
function
|
|
6051
|
+
function Xa(o) {
|
|
6056
6052
|
const t = {};
|
|
6057
6053
|
for (let e in o) {
|
|
6058
6054
|
const i = o[e];
|
|
@@ -6060,8 +6056,8 @@ function Za(o) {
|
|
|
6060
6056
|
}
|
|
6061
6057
|
return t;
|
|
6062
6058
|
}
|
|
6063
|
-
const
|
|
6064
|
-
const t =
|
|
6059
|
+
const Za = U((o) => {
|
|
6060
|
+
const t = ks(o);
|
|
6065
6061
|
function e(r) {
|
|
6066
6062
|
const n = Object.getPrototypeOf(r);
|
|
6067
6063
|
return n.prototype instanceof s ? (
|
|
@@ -6074,7 +6070,7 @@ const Qa = U((o) => {
|
|
|
6074
6070
|
let n = null;
|
|
6075
6071
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6076
6072
|
const a = r.properties;
|
|
6077
|
-
a && (n =
|
|
6073
|
+
a && (n = Xa(a));
|
|
6078
6074
|
}
|
|
6079
6075
|
r.__ownProperties = n;
|
|
6080
6076
|
}
|
|
@@ -6211,8 +6207,8 @@ const Qa = U((o) => {
|
|
|
6211
6207
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6212
6208
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6213
6209
|
*/
|
|
6214
|
-
const
|
|
6215
|
-
const t =
|
|
6210
|
+
const Qa = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, el = U((o) => {
|
|
6211
|
+
const t = Za(Yi(o));
|
|
6216
6212
|
function e(l) {
|
|
6217
6213
|
if (!l.hasOwnProperty(
|
|
6218
6214
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6240,8 +6236,8 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6240
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);
|
|
6241
6237
|
}
|
|
6242
6238
|
function r(l, c, u, d) {
|
|
6243
|
-
if (!
|
|
6244
|
-
const h = c.content.querySelectorAll("style"), m =
|
|
6239
|
+
if (!Oo) {
|
|
6240
|
+
const h = c.content.querySelectorAll("style"), m = ys(c), b = Gn(u), p = c.content.firstElementChild;
|
|
6245
6241
|
for (let y = 0; y < b.length; y++) {
|
|
6246
6242
|
let v = b[y];
|
|
6247
6243
|
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
@@ -6252,7 +6248,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6252
6248
|
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : g++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6253
6249
|
}
|
|
6254
6250
|
}
|
|
6255
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6251
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), Yn && Oo && zn) {
|
|
6256
6252
|
const h = c.content.querySelectorAll("style");
|
|
6257
6253
|
if (h) {
|
|
6258
6254
|
let m = "";
|
|
@@ -6264,7 +6260,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6264
6260
|
}
|
|
6265
6261
|
function n(l) {
|
|
6266
6262
|
let c = null;
|
|
6267
|
-
if (l && (!Ft ||
|
|
6263
|
+
if (l && (!Ft || Rn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6268
6264
|
mt.import(l, "template"), Ft && !c))
|
|
6269
6265
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6270
6266
|
return c;
|
|
@@ -6276,7 +6272,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6276
6272
|
* @nocollapse
|
|
6277
6273
|
*/
|
|
6278
6274
|
static get polymerElementVersion() {
|
|
6279
|
-
return
|
|
6275
|
+
return Qa;
|
|
6280
6276
|
}
|
|
6281
6277
|
/**
|
|
6282
6278
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6297,7 +6293,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6297
6293
|
/** @type {PolymerElementConstructor} */
|
|
6298
6294
|
this.template
|
|
6299
6295
|
);
|
|
6300
|
-
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) : _s || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
6301
6297
|
}
|
|
6302
6298
|
/**
|
|
6303
6299
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6434,7 +6430,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6434
6430
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6435
6431
|
const c = this.importMeta;
|
|
6436
6432
|
if (c)
|
|
6437
|
-
this._importPath =
|
|
6433
|
+
this._importPath = Bi(c.url);
|
|
6438
6434
|
else {
|
|
6439
6435
|
const u = mt.import(
|
|
6440
6436
|
/** @type {PolymerElementConstructor} */
|
|
@@ -6467,7 +6463,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6467
6463
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6468
6464
|
/** @type {!HTMLElement} */
|
|
6469
6465
|
this.localName
|
|
6470
|
-
), super._initializeProperties(), this.rootPath =
|
|
6466
|
+
), super._initializeProperties(), this.rootPath = Ln, this.importPath = this.constructor.importPath;
|
|
6471
6467
|
let c = e(this.constructor);
|
|
6472
6468
|
if (c)
|
|
6473
6469
|
for (let u in c) {
|
|
@@ -6499,7 +6495,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6499
6495
|
* @nocollapse
|
|
6500
6496
|
*/
|
|
6501
6497
|
static _processStyleText(c, u) {
|
|
6502
|
-
return
|
|
6498
|
+
return Ri(c, u);
|
|
6503
6499
|
}
|
|
6504
6500
|
/**
|
|
6505
6501
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6578,7 +6574,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6578
6574
|
_attachDom(c) {
|
|
6579
6575
|
const u = K(this);
|
|
6580
6576
|
if (u.attachShadow)
|
|
6581
|
-
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])), Bn && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6582
6578
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6583
6579
|
}
|
|
6584
6580
|
/**
|
|
@@ -6663,7 +6659,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6663
6659
|
* @nocollapse
|
|
6664
6660
|
*/
|
|
6665
6661
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6666
|
-
return
|
|
6662
|
+
return gs && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6667
6663
|
// dependencies) become accessors with template effects; ignore these
|
|
6668
6664
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6669
6665
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6688,16 +6684,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6688
6684
|
Code distributed by Google as part of the polymer project is also
|
|
6689
6685
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6690
6686
|
*/
|
|
6691
|
-
const
|
|
6692
|
-
class
|
|
6687
|
+
const Io = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6688
|
+
class Ls {
|
|
6693
6689
|
/**
|
|
6694
6690
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6695
6691
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6696
6692
|
*/
|
|
6697
6693
|
constructor(t, e) {
|
|
6698
|
-
|
|
6694
|
+
Bs(t, e);
|
|
6699
6695
|
const i = e.reduce(
|
|
6700
|
-
(s, r, n) => s +
|
|
6696
|
+
(s, r, n) => s + Rs(r) + t[n + 1],
|
|
6701
6697
|
t[0]
|
|
6702
6698
|
);
|
|
6703
6699
|
this.value = i.toString();
|
|
@@ -6710,8 +6706,8 @@ class Rs {
|
|
|
6710
6706
|
return this.value;
|
|
6711
6707
|
}
|
|
6712
6708
|
}
|
|
6713
|
-
function
|
|
6714
|
-
if (o instanceof
|
|
6709
|
+
function Rs(o) {
|
|
6710
|
+
if (o instanceof Ls)
|
|
6715
6711
|
return (
|
|
6716
6712
|
/** @type {!LiteralString} */
|
|
6717
6713
|
o.value
|
|
@@ -6720,30 +6716,30 @@ function Bs(o) {
|
|
|
6720
6716
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6721
6717
|
);
|
|
6722
6718
|
}
|
|
6723
|
-
function
|
|
6719
|
+
function tl(o) {
|
|
6724
6720
|
if (o instanceof HTMLTemplateElement)
|
|
6725
6721
|
return (
|
|
6726
6722
|
/** @type {!HTMLTemplateElement } */
|
|
6727
6723
|
o.innerHTML
|
|
6728
6724
|
);
|
|
6729
|
-
if (o instanceof
|
|
6730
|
-
return
|
|
6725
|
+
if (o instanceof Ls)
|
|
6726
|
+
return Rs(o);
|
|
6731
6727
|
throw new Error(
|
|
6732
6728
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6733
6729
|
);
|
|
6734
6730
|
}
|
|
6735
6731
|
const je = function(t, ...e) {
|
|
6736
|
-
|
|
6732
|
+
Bs(t, e);
|
|
6737
6733
|
const i = (
|
|
6738
6734
|
/** @type {!HTMLTemplateElement} */
|
|
6739
6735
|
document.createElement("template")
|
|
6740
6736
|
);
|
|
6741
6737
|
let s = e.reduce(
|
|
6742
|
-
(r, n, a) => r +
|
|
6738
|
+
(r, n, a) => r + tl(n) + t[a + 1],
|
|
6743
6739
|
t[0]
|
|
6744
6740
|
);
|
|
6745
|
-
return
|
|
6746
|
-
},
|
|
6741
|
+
return Io && (s = Io.createHTML(s)), i.innerHTML = s, i;
|
|
6742
|
+
}, Bs = (o, t) => {
|
|
6747
6743
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6748
6744
|
throw new TypeError("Invalid call to the html template tag");
|
|
6749
6745
|
};
|
|
@@ -6756,7 +6752,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6756
6752
|
Code distributed by Google as part of the polymer project is also
|
|
6757
6753
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6758
6754
|
*/
|
|
6759
|
-
const Me =
|
|
6755
|
+
const Me = el(HTMLElement);
|
|
6760
6756
|
/**
|
|
6761
6757
|
* @license
|
|
6762
6758
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6769,14 +6765,14 @@ function _i(o, t, e = o.getAttribute("dir")) {
|
|
|
6769
6765
|
function gi() {
|
|
6770
6766
|
return document.documentElement.getAttribute("dir");
|
|
6771
6767
|
}
|
|
6772
|
-
function
|
|
6768
|
+
function il() {
|
|
6773
6769
|
const o = gi();
|
|
6774
6770
|
ye.forEach((t) => {
|
|
6775
6771
|
_i(t, o);
|
|
6776
6772
|
});
|
|
6777
6773
|
}
|
|
6778
|
-
const
|
|
6779
|
-
|
|
6774
|
+
const ol = new MutationObserver(il);
|
|
6775
|
+
ol.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6780
6776
|
const Yt = (o) => class extends o {
|
|
6781
6777
|
static get properties() {
|
|
6782
6778
|
return {
|
|
@@ -6838,7 +6834,7 @@ const Yt = (o) => class extends o {
|
|
|
6838
6834
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6839
6835
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6840
6836
|
*/
|
|
6841
|
-
const
|
|
6837
|
+
const sl = (o) => class extends o {
|
|
6842
6838
|
static get properties() {
|
|
6843
6839
|
return {
|
|
6844
6840
|
/**
|
|
@@ -6878,7 +6874,7 @@ const rl = (o) => class extends o {
|
|
|
6878
6874
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6879
6875
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6880
6876
|
*/
|
|
6881
|
-
const
|
|
6877
|
+
const rl = P`
|
|
6882
6878
|
:host {
|
|
6883
6879
|
display: flex;
|
|
6884
6880
|
align-items: center;
|
|
@@ -6949,8 +6945,8 @@ const nl = P`
|
|
|
6949
6945
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6950
6946
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6951
6947
|
*/
|
|
6952
|
-
L("vaadin-input-container",
|
|
6953
|
-
class
|
|
6948
|
+
L("vaadin-input-container", rl, { moduleId: "vaadin-input-container-styles" });
|
|
6949
|
+
class nl extends sl($e(Yt(Me))) {
|
|
6954
6950
|
static get is() {
|
|
6955
6951
|
return "vaadin-input-container";
|
|
6956
6952
|
}
|
|
@@ -6962,13 +6958,13 @@ class al extends rl($e(Yt(Me))) {
|
|
|
6962
6958
|
`;
|
|
6963
6959
|
}
|
|
6964
6960
|
}
|
|
6965
|
-
be(
|
|
6961
|
+
be(nl);
|
|
6966
6962
|
/**
|
|
6967
6963
|
* @license
|
|
6968
6964
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6969
6965
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6970
6966
|
*/
|
|
6971
|
-
const
|
|
6967
|
+
const al = P`
|
|
6972
6968
|
:host {
|
|
6973
6969
|
z-index: 200;
|
|
6974
6970
|
position: fixed;
|
|
@@ -7033,18 +7029,18 @@ const ll = P`
|
|
|
7033
7029
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7034
7030
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7035
7031
|
*/
|
|
7036
|
-
let
|
|
7032
|
+
let ji = !1;
|
|
7037
7033
|
window.addEventListener(
|
|
7038
7034
|
"keydown",
|
|
7039
7035
|
() => {
|
|
7040
|
-
|
|
7036
|
+
ji = !0;
|
|
7041
7037
|
},
|
|
7042
7038
|
{ capture: !0 }
|
|
7043
7039
|
);
|
|
7044
7040
|
window.addEventListener(
|
|
7045
7041
|
"mousedown",
|
|
7046
7042
|
() => {
|
|
7047
|
-
|
|
7043
|
+
ji = !1;
|
|
7048
7044
|
},
|
|
7049
7045
|
{ capture: !0 }
|
|
7050
7046
|
);
|
|
@@ -7054,24 +7050,24 @@ function bi() {
|
|
|
7054
7050
|
o = o.shadowRoot.activeElement;
|
|
7055
7051
|
return o;
|
|
7056
7052
|
}
|
|
7057
|
-
function
|
|
7058
|
-
return
|
|
7053
|
+
function Vi() {
|
|
7054
|
+
return ji;
|
|
7059
7055
|
}
|
|
7060
|
-
function
|
|
7056
|
+
function ll(o) {
|
|
7061
7057
|
const t = o.style;
|
|
7062
7058
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7063
7059
|
return !0;
|
|
7064
7060
|
const e = window.getComputedStyle(o);
|
|
7065
7061
|
return e.visibility === "hidden" || e.display === "none";
|
|
7066
7062
|
}
|
|
7067
|
-
function
|
|
7063
|
+
function cl(o, t) {
|
|
7068
7064
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7069
7065
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7070
7066
|
}
|
|
7071
|
-
function
|
|
7067
|
+
function ul(o, t) {
|
|
7072
7068
|
const e = [];
|
|
7073
7069
|
for (; o.length > 0 && t.length > 0; )
|
|
7074
|
-
|
|
7070
|
+
cl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7075
7071
|
return e.concat(o, t);
|
|
7076
7072
|
}
|
|
7077
7073
|
function vi(o) {
|
|
@@ -7079,37 +7075,37 @@ function vi(o) {
|
|
|
7079
7075
|
if (t < 2)
|
|
7080
7076
|
return o;
|
|
7081
7077
|
const e = Math.ceil(t / 2), i = vi(o.slice(0, e)), s = vi(o.slice(e));
|
|
7082
|
-
return
|
|
7078
|
+
return ul(i, s);
|
|
7083
7079
|
}
|
|
7084
|
-
function
|
|
7080
|
+
function Hs(o) {
|
|
7085
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]");
|
|
7086
7082
|
}
|
|
7087
|
-
function
|
|
7083
|
+
function dl(o) {
|
|
7088
7084
|
return o.getRootNode().activeElement === o;
|
|
7089
7085
|
}
|
|
7090
|
-
function
|
|
7091
|
-
if (
|
|
7086
|
+
function hl(o) {
|
|
7087
|
+
if (!Hs(o))
|
|
7092
7088
|
return -1;
|
|
7093
7089
|
const t = o.getAttribute("tabindex") || 0;
|
|
7094
7090
|
return Number(t);
|
|
7095
7091
|
}
|
|
7096
|
-
function
|
|
7097
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7092
|
+
function $s(o, t) {
|
|
7093
|
+
if (o.nodeType !== Node.ELEMENT_NODE || ll(o))
|
|
7098
7094
|
return !1;
|
|
7099
7095
|
const e = (
|
|
7100
7096
|
/** @type {HTMLElement} */
|
|
7101
7097
|
o
|
|
7102
|
-
), i =
|
|
7098
|
+
), i = hl(e);
|
|
7103
7099
|
let s = i > 0;
|
|
7104
7100
|
i >= 0 && t.push(e);
|
|
7105
7101
|
let r = [];
|
|
7106
7102
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7107
|
-
s =
|
|
7103
|
+
s = $s(n, t) || s;
|
|
7108
7104
|
}), s;
|
|
7109
7105
|
}
|
|
7110
|
-
function
|
|
7106
|
+
function pl(o) {
|
|
7111
7107
|
const t = [];
|
|
7112
|
-
return
|
|
7108
|
+
return $s(o, t) ? vi(t) : t;
|
|
7113
7109
|
}
|
|
7114
7110
|
/**
|
|
7115
7111
|
@license
|
|
@@ -7120,23 +7116,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7120
7116
|
Code distributed by Google as part of the polymer project is also
|
|
7121
7117
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7122
7118
|
*/
|
|
7123
|
-
let yi = !1,
|
|
7124
|
-
function
|
|
7119
|
+
let yi = !1, fl = [], Ys = [];
|
|
7120
|
+
function ml() {
|
|
7125
7121
|
yi = !0, requestAnimationFrame(function() {
|
|
7126
|
-
yi = !1,
|
|
7127
|
-
|
|
7122
|
+
yi = !1, _l(fl), setTimeout(function() {
|
|
7123
|
+
gl(Ys);
|
|
7128
7124
|
});
|
|
7129
7125
|
});
|
|
7130
7126
|
}
|
|
7131
|
-
function
|
|
7127
|
+
function _l(o) {
|
|
7132
7128
|
for (; o.length; )
|
|
7133
|
-
|
|
7129
|
+
js(o.shift());
|
|
7134
7130
|
}
|
|
7135
|
-
function
|
|
7131
|
+
function gl(o) {
|
|
7136
7132
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7137
|
-
|
|
7133
|
+
js(o.shift());
|
|
7138
7134
|
}
|
|
7139
|
-
function
|
|
7135
|
+
function js(o) {
|
|
7140
7136
|
const t = o[0], e = o[1], i = o[2];
|
|
7141
7137
|
try {
|
|
7142
7138
|
e.apply(t, i);
|
|
@@ -7146,21 +7142,21 @@ function Vs(o) {
|
|
|
7146
7142
|
});
|
|
7147
7143
|
}
|
|
7148
7144
|
}
|
|
7149
|
-
function
|
|
7150
|
-
yi ||
|
|
7145
|
+
function Vs(o, t, e) {
|
|
7146
|
+
yi || ml(), Ys.push([o, t, e]);
|
|
7151
7147
|
}
|
|
7152
7148
|
/**
|
|
7153
7149
|
* @license
|
|
7154
7150
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7155
7151
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7156
7152
|
*/
|
|
7157
|
-
const jt = (o) => o.test(navigator.userAgent), xi = (o) => o.test(navigator.platform),
|
|
7153
|
+
const jt = (o) => o.test(navigator.userAgent), xi = (o) => o.test(navigator.platform), bl = (o) => o.test(navigator.vendor);
|
|
7158
7154
|
jt(/Android/u);
|
|
7159
|
-
jt(/Chrome/u) &&
|
|
7155
|
+
jt(/Chrome/u) && bl(/Google Inc/u);
|
|
7160
7156
|
jt(/Firefox/u);
|
|
7161
|
-
const
|
|
7157
|
+
const vl = xi(/^iPad/u) || xi(/^Mac/u) && navigator.maxTouchPoints > 1, yl = xi(/^iPhone/u), Us = yl || vl;
|
|
7162
7158
|
jt(/^((?!chrome|android).)*safari/iu);
|
|
7163
|
-
const
|
|
7159
|
+
const xl = (() => {
|
|
7164
7160
|
try {
|
|
7165
7161
|
return document.createEvent("TouchEvent"), !0;
|
|
7166
7162
|
} catch {
|
|
@@ -7173,10 +7169,10 @@ const wl = (() => {
|
|
|
7173
7169
|
* SPDX-License-Identifier: MIT
|
|
7174
7170
|
*/
|
|
7175
7171
|
let Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Ct = {}, Xt = 0;
|
|
7176
|
-
const
|
|
7172
|
+
const Fo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
7177
7173
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7178
|
-
},
|
|
7179
|
-
if (!
|
|
7174
|
+
}, wl = (o, t) => Fo(o) ? t.map((e) => {
|
|
7175
|
+
if (!Fo(e))
|
|
7180
7176
|
return Zt(e, "is not a valid element"), null;
|
|
7181
7177
|
let i = e;
|
|
7182
7178
|
for (; i && i !== o; ) {
|
|
@@ -7185,8 +7181,8 @@ const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7185
7181
|
i = i.getRootNode().host;
|
|
7186
7182
|
}
|
|
7187
7183
|
return Zt(e, "is not contained inside", o), null;
|
|
7188
|
-
}).filter((e) => !!e) : (Zt(o, "is not a valid element"), []),
|
|
7189
|
-
const s =
|
|
7184
|
+
}).filter((e) => !!e) : (Zt(o, "is not a valid element"), []), El = (o, t, e, i) => {
|
|
7185
|
+
const s = wl(t, Array.isArray(o) ? o : [o]);
|
|
7190
7186
|
Ct[e] || (Ct[e] = /* @__PURE__ */ new WeakMap());
|
|
7191
7187
|
const r = Ct[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7192
7188
|
if (!d || a.has(d))
|
|
@@ -7216,16 +7212,16 @@ const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7216
7212
|
Ue.set(d, h), r.set(d, m), h || (At.has(d) ? At.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7217
7213
|
}), Xt -= 1, Xt || (Ue = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Ct = {});
|
|
7218
7214
|
};
|
|
7219
|
-
},
|
|
7215
|
+
}, Ws = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7220
7216
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7221
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7217
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), El(i, t, e, "aria-hidden");
|
|
7222
7218
|
};
|
|
7223
7219
|
/**
|
|
7224
7220
|
* @license
|
|
7225
7221
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7226
7222
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7227
7223
|
*/
|
|
7228
|
-
class
|
|
7224
|
+
class Sl {
|
|
7229
7225
|
/**
|
|
7230
7226
|
* @param {HTMLElement} host
|
|
7231
7227
|
*/
|
|
@@ -7241,7 +7237,7 @@ class Al {
|
|
|
7241
7237
|
*/
|
|
7242
7238
|
showModal() {
|
|
7243
7239
|
const t = this.callback();
|
|
7244
|
-
this.__showOthers =
|
|
7240
|
+
this.__showOthers = Ws(t);
|
|
7245
7241
|
}
|
|
7246
7242
|
/**
|
|
7247
7243
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7256,7 +7252,7 @@ class Al {
|
|
|
7256
7252
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7257
7253
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7258
7254
|
*/
|
|
7259
|
-
class
|
|
7255
|
+
class Al {
|
|
7260
7256
|
/**
|
|
7261
7257
|
* Saves the given node as a target for restoring focus to
|
|
7262
7258
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7284,7 +7280,7 @@ class Cl {
|
|
|
7284
7280
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7285
7281
|
*/
|
|
7286
7282
|
const Qt = [];
|
|
7287
|
-
class
|
|
7283
|
+
class Cl {
|
|
7288
7284
|
/**
|
|
7289
7285
|
* @param {HTMLElement} host
|
|
7290
7286
|
*/
|
|
@@ -7298,7 +7294,7 @@ class Pl {
|
|
|
7298
7294
|
* @private
|
|
7299
7295
|
*/
|
|
7300
7296
|
get __focusableElements() {
|
|
7301
|
-
return
|
|
7297
|
+
return pl(this.__trapNode);
|
|
7302
7298
|
}
|
|
7303
7299
|
/**
|
|
7304
7300
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7308,7 +7304,7 @@ class Pl {
|
|
|
7308
7304
|
*/
|
|
7309
7305
|
get __focusedElementIndex() {
|
|
7310
7306
|
const t = this.__focusableElements;
|
|
7311
|
-
return t.indexOf(t.filter(
|
|
7307
|
+
return t.indexOf(t.filter(dl).pop());
|
|
7312
7308
|
}
|
|
7313
7309
|
hostConnected() {
|
|
7314
7310
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7421,7 +7417,7 @@ const it = U((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7421
7417
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7422
7418
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7423
7419
|
*/
|
|
7424
|
-
const
|
|
7420
|
+
const Pl = (o) => class extends it(o) {
|
|
7425
7421
|
static get properties() {
|
|
7426
7422
|
return {
|
|
7427
7423
|
/**
|
|
@@ -7452,7 +7448,7 @@ const kl = (o) => class extends it(o) {
|
|
|
7452
7448
|
};
|
|
7453
7449
|
}
|
|
7454
7450
|
constructor() {
|
|
7455
|
-
super(), this.__ariaModalController = new
|
|
7451
|
+
super(), this.__ariaModalController = new Sl(this), this.__focusTrapController = new Cl(this), this.__focusRestorationController = new Al();
|
|
7456
7452
|
}
|
|
7457
7453
|
/** @protected */
|
|
7458
7454
|
ready() {
|
|
@@ -7465,7 +7461,7 @@ const kl = (o) => class extends it(o) {
|
|
|
7465
7461
|
*/
|
|
7466
7462
|
_resetFocus() {
|
|
7467
7463
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7468
|
-
const e = !
|
|
7464
|
+
const e = !Vi();
|
|
7469
7465
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7470
7466
|
}
|
|
7471
7467
|
}
|
|
@@ -7523,7 +7519,7 @@ const kl = (o) => class extends it(o) {
|
|
|
7523
7519
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7524
7520
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7525
7521
|
*/
|
|
7526
|
-
const
|
|
7522
|
+
const qs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), wi = () => qs().filter((o) => o.$.overlay), kl = (o) => o === wi().pop(), Dl = (o) => class extends o {
|
|
7527
7523
|
constructor() {
|
|
7528
7524
|
super(), this._hasOverlayStackMixin = !0;
|
|
7529
7525
|
}
|
|
@@ -7534,14 +7530,14 @@ const Ks = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7534
7530
|
* @protected
|
|
7535
7531
|
*/
|
|
7536
7532
|
get _last() {
|
|
7537
|
-
return
|
|
7533
|
+
return kl(this);
|
|
7538
7534
|
}
|
|
7539
7535
|
/**
|
|
7540
7536
|
* Brings the overlay as visually the frontmost one.
|
|
7541
7537
|
*/
|
|
7542
7538
|
bringToFront() {
|
|
7543
7539
|
let e = "";
|
|
7544
|
-
const i =
|
|
7540
|
+
const i = qs().filter((s) => s !== this).pop();
|
|
7545
7541
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7546
7542
|
}
|
|
7547
7543
|
/** @protected */
|
|
@@ -7564,7 +7560,7 @@ const Ks = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7564
7560
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7565
7561
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7566
7562
|
*/
|
|
7567
|
-
const
|
|
7563
|
+
const Tl = (o) => class extends Pl(Dl(o)) {
|
|
7568
7564
|
static get properties() {
|
|
7569
7565
|
return {
|
|
7570
7566
|
/**
|
|
@@ -7637,7 +7633,7 @@ const Ml = (o) => class extends kl(Tl(o)) {
|
|
|
7637
7633
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7638
7634
|
}
|
|
7639
7635
|
constructor() {
|
|
7640
|
-
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), Us && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7641
7637
|
}
|
|
7642
7638
|
/** @protected */
|
|
7643
7639
|
ready() {
|
|
@@ -7705,7 +7701,7 @@ const Ml = (o) => class extends kl(Tl(o)) {
|
|
|
7705
7701
|
}
|
|
7706
7702
|
/** @private */
|
|
7707
7703
|
_openedChanged(e, i) {
|
|
7708
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7704
|
+
e ? (this._saveFocus(), this._animatedOpening(), Vs(this, () => {
|
|
7709
7705
|
this._trapFocus();
|
|
7710
7706
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7711
7707
|
this.dispatchEvent(s);
|
|
@@ -7830,7 +7826,7 @@ const Ml = (o) => class extends kl(Tl(o)) {
|
|
|
7830
7826
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7831
7827
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7832
7828
|
*/
|
|
7833
|
-
function
|
|
7829
|
+
function Ml(o) {
|
|
7834
7830
|
const t = [];
|
|
7835
7831
|
for (; o; ) {
|
|
7836
7832
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7849,25 +7845,25 @@ function Ol(o) {
|
|
|
7849
7845
|
}
|
|
7850
7846
|
return t;
|
|
7851
7847
|
}
|
|
7852
|
-
function
|
|
7848
|
+
function Ui(o) {
|
|
7853
7849
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7854
7850
|
}
|
|
7855
7851
|
function Vt(o) {
|
|
7856
7852
|
return o ? [...o].join(" ") : "";
|
|
7857
7853
|
}
|
|
7858
|
-
function
|
|
7859
|
-
const i =
|
|
7854
|
+
function Ks(o, t, e) {
|
|
7855
|
+
const i = Ui(o.getAttribute(t));
|
|
7860
7856
|
i.add(e), o.setAttribute(t, Vt(i));
|
|
7861
7857
|
}
|
|
7862
|
-
function
|
|
7863
|
-
const i =
|
|
7858
|
+
function Ol(o, t, e) {
|
|
7859
|
+
const i = Ui(o.getAttribute(t));
|
|
7864
7860
|
if (i.delete(e), i.size === 0) {
|
|
7865
7861
|
o.removeAttribute(t);
|
|
7866
7862
|
return;
|
|
7867
7863
|
}
|
|
7868
7864
|
o.setAttribute(t, Vt(i));
|
|
7869
7865
|
}
|
|
7870
|
-
function
|
|
7866
|
+
function Il(o) {
|
|
7871
7867
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7872
7868
|
}
|
|
7873
7869
|
/**
|
|
@@ -7875,7 +7871,7 @@ function Fl(o) {
|
|
|
7875
7871
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7876
7872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7877
7873
|
*/
|
|
7878
|
-
function
|
|
7874
|
+
function Fl(o, t) {
|
|
7879
7875
|
let e = null;
|
|
7880
7876
|
const i = document.documentElement;
|
|
7881
7877
|
function s() {
|
|
@@ -7915,13 +7911,13 @@ const ei = {
|
|
|
7915
7911
|
}, ti = {
|
|
7916
7912
|
start: "left",
|
|
7917
7913
|
end: "right"
|
|
7918
|
-
},
|
|
7914
|
+
}, No = new ResizeObserver((o) => {
|
|
7919
7915
|
setTimeout(() => {
|
|
7920
7916
|
o.forEach((t) => {
|
|
7921
7917
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7922
7918
|
});
|
|
7923
7919
|
});
|
|
7924
|
-
}),
|
|
7920
|
+
}), Nl = (o) => class extends o {
|
|
7925
7921
|
static get properties() {
|
|
7926
7922
|
return {
|
|
7927
7923
|
/**
|
|
@@ -8020,9 +8016,9 @@ const ei = {
|
|
|
8020
8016
|
}
|
|
8021
8017
|
/** @private */
|
|
8022
8018
|
__addUpdatePositionEventListeners() {
|
|
8023
|
-
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 = Ml(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8024
8020
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8025
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8021
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Fl(this.positionTarget, () => {
|
|
8026
8022
|
this._updatePosition();
|
|
8027
8023
|
}));
|
|
8028
8024
|
}
|
|
@@ -8034,7 +8030,7 @@ const ei = {
|
|
|
8034
8030
|
}
|
|
8035
8031
|
/** @private */
|
|
8036
8032
|
__overlayOpenedChanged(e, i) {
|
|
8037
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8033
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, No.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, No.observe(i))), e) {
|
|
8038
8034
|
const s = getComputedStyle(this);
|
|
8039
8035
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8040
8036
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8156,7 +8152,7 @@ const ei = {
|
|
|
8156
8152
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8157
8153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8158
8154
|
*/
|
|
8159
|
-
const
|
|
8155
|
+
const zl = (o) => class extends Nl(Tl(o)) {
|
|
8160
8156
|
/**
|
|
8161
8157
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8162
8158
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8173,7 +8169,7 @@ const Ll = (o) => class extends zl(Ml(o)) {
|
|
|
8173
8169
|
* @override
|
|
8174
8170
|
*/
|
|
8175
8171
|
_mouseDownListener(e) {
|
|
8176
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) &&
|
|
8172
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !Hs(e.composedPath()[0]) && e.preventDefault();
|
|
8177
8173
|
}
|
|
8178
8174
|
};
|
|
8179
8175
|
/**
|
|
@@ -8181,7 +8177,7 @@ const Ll = (o) => class extends zl(Ml(o)) {
|
|
|
8181
8177
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8182
8178
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8183
8179
|
*/
|
|
8184
|
-
const
|
|
8180
|
+
const Ll = P`
|
|
8185
8181
|
[part='overlay'] {
|
|
8186
8182
|
display: flex;
|
|
8187
8183
|
flex: auto;
|
|
@@ -8202,10 +8198,10 @@ const Rl = P`
|
|
|
8202
8198
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8203
8199
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8204
8200
|
*/
|
|
8205
|
-
L("vaadin-date-picker-overlay", [
|
|
8201
|
+
L("vaadin-date-picker-overlay", [al, Ll], {
|
|
8206
8202
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8207
8203
|
});
|
|
8208
|
-
class
|
|
8204
|
+
class Rl extends zl(Yt($e(Me))) {
|
|
8209
8205
|
static get is() {
|
|
8210
8206
|
return "vaadin-date-picker-overlay";
|
|
8211
8207
|
}
|
|
@@ -8220,34 +8216,34 @@ class Bl extends Ll(Yt($e(Me))) {
|
|
|
8220
8216
|
`;
|
|
8221
8217
|
}
|
|
8222
8218
|
}
|
|
8223
|
-
be(
|
|
8224
|
-
const
|
|
8225
|
-
function
|
|
8219
|
+
be(Rl);
|
|
8220
|
+
const Bl = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Dt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8221
|
+
function Hl() {
|
|
8226
8222
|
function o() {
|
|
8227
8223
|
return !0;
|
|
8228
8224
|
}
|
|
8229
|
-
return
|
|
8225
|
+
return Gs(o);
|
|
8230
8226
|
}
|
|
8231
|
-
function
|
|
8227
|
+
function $l() {
|
|
8232
8228
|
try {
|
|
8233
|
-
return
|
|
8229
|
+
return Yl() ? !0 : jl() ? Dt ? !Vl() : !Hl() : !1;
|
|
8234
8230
|
} catch {
|
|
8235
8231
|
return !1;
|
|
8236
8232
|
}
|
|
8237
8233
|
}
|
|
8238
|
-
function
|
|
8234
|
+
function Yl() {
|
|
8239
8235
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8240
8236
|
}
|
|
8241
|
-
function
|
|
8237
|
+
function jl() {
|
|
8242
8238
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8243
8239
|
}
|
|
8244
|
-
function
|
|
8240
|
+
function Vl() {
|
|
8245
8241
|
return !!(Dt && Object.keys(Dt).map((t) => Dt[t]).filter((t) => t.productionMode).length > 0);
|
|
8246
8242
|
}
|
|
8247
|
-
function
|
|
8243
|
+
function Gs(o, t) {
|
|
8248
8244
|
if (typeof o != "function")
|
|
8249
8245
|
return;
|
|
8250
|
-
const e =
|
|
8246
|
+
const e = Bl.exec(o.toString());
|
|
8251
8247
|
if (e)
|
|
8252
8248
|
try {
|
|
8253
8249
|
o = new Function(e[1]);
|
|
@@ -8257,12 +8253,12 @@ function Js(o, t) {
|
|
|
8257
8253
|
return o(t);
|
|
8258
8254
|
}
|
|
8259
8255
|
window.Vaadin = window.Vaadin || {};
|
|
8260
|
-
const
|
|
8256
|
+
const zo = function(o, t) {
|
|
8261
8257
|
if (window.Vaadin.developmentMode)
|
|
8262
|
-
return
|
|
8258
|
+
return Gs(o, t);
|
|
8263
8259
|
};
|
|
8264
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8265
|
-
function
|
|
8260
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = $l());
|
|
8261
|
+
function Ul() {
|
|
8266
8262
|
/*! vaadin-dev-mode:start
|
|
8267
8263
|
(function () {
|
|
8268
8264
|
'use strict';
|
|
@@ -8743,9 +8739,9 @@ function Wl() {
|
|
|
8743
8739
|
|
|
8744
8740
|
vaadin-dev-mode:end **/
|
|
8745
8741
|
}
|
|
8746
|
-
const
|
|
8747
|
-
if (typeof
|
|
8748
|
-
return
|
|
8742
|
+
const Wl = function() {
|
|
8743
|
+
if (typeof zo == "function")
|
|
8744
|
+
return zo(Ul);
|
|
8749
8745
|
};
|
|
8750
8746
|
/**
|
|
8751
8747
|
* @license
|
|
@@ -8756,10 +8752,10 @@ const ql = function() {
|
|
|
8756
8752
|
* Code distributed by Google as part of the polymer project is also
|
|
8757
8753
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8758
8754
|
*/
|
|
8759
|
-
let
|
|
8755
|
+
let Lo = 0, Js = 0;
|
|
8760
8756
|
const Ge = [];
|
|
8761
8757
|
let Ei = !1;
|
|
8762
|
-
function
|
|
8758
|
+
function ql() {
|
|
8763
8759
|
Ei = !1;
|
|
8764
8760
|
const o = Ge.length;
|
|
8765
8761
|
for (let t = 0; t < o; t++) {
|
|
@@ -8773,7 +8769,7 @@ function Kl() {
|
|
|
8773
8769
|
});
|
|
8774
8770
|
}
|
|
8775
8771
|
}
|
|
8776
|
-
Ge.splice(0, o),
|
|
8772
|
+
Ge.splice(0, o), Js += o;
|
|
8777
8773
|
}
|
|
8778
8774
|
const zt = {
|
|
8779
8775
|
/**
|
|
@@ -8815,7 +8811,7 @@ const zt = {
|
|
|
8815
8811
|
cancel(o) {
|
|
8816
8812
|
window.clearTimeout(o);
|
|
8817
8813
|
}
|
|
8818
|
-
},
|
|
8814
|
+
}, Kl = {
|
|
8819
8815
|
/**
|
|
8820
8816
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8821
8817
|
*
|
|
@@ -8836,7 +8832,7 @@ const zt = {
|
|
|
8836
8832
|
cancel(o) {
|
|
8837
8833
|
window.cancelAnimationFrame(o);
|
|
8838
8834
|
}
|
|
8839
|
-
},
|
|
8835
|
+
}, Gl = {
|
|
8840
8836
|
/**
|
|
8841
8837
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8842
8838
|
*
|
|
@@ -8857,7 +8853,7 @@ const zt = {
|
|
|
8857
8853
|
cancel(o) {
|
|
8858
8854
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8859
8855
|
}
|
|
8860
|
-
},
|
|
8856
|
+
}, Jl = {
|
|
8861
8857
|
/**
|
|
8862
8858
|
* Enqueues a function called at microtask timing.
|
|
8863
8859
|
*
|
|
@@ -8866,9 +8862,9 @@ const zt = {
|
|
|
8866
8862
|
* @return {number} Handle used for canceling task
|
|
8867
8863
|
*/
|
|
8868
8864
|
run(o) {
|
|
8869
|
-
Ei || (Ei = !0, queueMicrotask(() =>
|
|
8870
|
-
const t =
|
|
8871
|
-
return
|
|
8865
|
+
Ei || (Ei = !0, queueMicrotask(() => ql())), Ge.push(o);
|
|
8866
|
+
const t = Lo;
|
|
8867
|
+
return Lo += 1, t;
|
|
8872
8868
|
},
|
|
8873
8869
|
/**
|
|
8874
8870
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8878,7 +8874,7 @@ const zt = {
|
|
|
8878
8874
|
* @return {void}
|
|
8879
8875
|
*/
|
|
8880
8876
|
cancel(o) {
|
|
8881
|
-
const t = o -
|
|
8877
|
+
const t = o - Js;
|
|
8882
8878
|
if (t >= 0) {
|
|
8883
8879
|
if (!Ge[t])
|
|
8884
8880
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -8987,7 +8983,7 @@ let Qe = class Ai {
|
|
|
8987
8983
|
return this._timer != null;
|
|
8988
8984
|
}
|
|
8989
8985
|
};
|
|
8990
|
-
function
|
|
8986
|
+
function Xl(o) {
|
|
8991
8987
|
Si.add(o);
|
|
8992
8988
|
}
|
|
8993
8989
|
/**
|
|
@@ -8999,17 +8995,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
8999
8995
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9000
8996
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9001
8997
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9002
|
-
|
|
8998
|
+
Wl();
|
|
9003
8999
|
};
|
|
9004
9000
|
let ii;
|
|
9005
|
-
const
|
|
9001
|
+
const Ro = /* @__PURE__ */ new Set(), Xs = (o) => class extends Yt(o) {
|
|
9006
9002
|
/** @protected */
|
|
9007
9003
|
static finalize() {
|
|
9008
9004
|
super.finalize();
|
|
9009
9005
|
const { is: e } = this;
|
|
9010
|
-
e && !
|
|
9006
|
+
e && !Ro.has(e) && (window.Vaadin.registrations.push(this), Ro.add(e), window.Vaadin.developmentModeCallback && (ii = Qe.debounce(ii, Gl, () => {
|
|
9011
9007
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9012
|
-
}),
|
|
9008
|
+
}), Xl(ii)));
|
|
9013
9009
|
}
|
|
9014
9010
|
constructor() {
|
|
9015
9011
|
super(), document.doctype === null && console.warn(
|
|
@@ -9022,7 +9018,7 @@ const Bo = /* @__PURE__ */ new Set(), Zs = (o) => class extends Yt(o) {
|
|
|
9022
9018
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9023
9019
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9024
9020
|
*/
|
|
9025
|
-
class
|
|
9021
|
+
class Zl {
|
|
9026
9022
|
constructor(t, e) {
|
|
9027
9023
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9028
9024
|
this._schedule();
|
|
@@ -9072,9 +9068,9 @@ class Ql {
|
|
|
9072
9068
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9073
9069
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9074
9070
|
*/
|
|
9075
|
-
let
|
|
9076
|
-
function
|
|
9077
|
-
return
|
|
9071
|
+
let Ql = 0;
|
|
9072
|
+
function Zs() {
|
|
9073
|
+
return Ql++;
|
|
9078
9074
|
}
|
|
9079
9075
|
/**
|
|
9080
9076
|
* @license
|
|
@@ -9091,7 +9087,7 @@ class Le extends EventTarget {
|
|
|
9091
9087
|
* @protected
|
|
9092
9088
|
*/
|
|
9093
9089
|
static generateId(t, e = "default") {
|
|
9094
|
-
return `${e}-${t.localName}-${
|
|
9090
|
+
return `${e}-${t.localName}-${Zs()}`;
|
|
9095
9091
|
}
|
|
9096
9092
|
constructor(t, e, i, s = {}) {
|
|
9097
9093
|
super();
|
|
@@ -9183,8 +9179,8 @@ class Le extends EventTarget {
|
|
|
9183
9179
|
*/
|
|
9184
9180
|
observeSlot() {
|
|
9185
9181
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9186
|
-
this.__slotObserver = new
|
|
9187
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9182
|
+
this.__slotObserver = new Zl(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9183
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Il(l) && !n.includes(l));
|
|
9188
9184
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9189
9185
|
this.teardownNode(l);
|
|
9190
9186
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9198,7 +9194,7 @@ class Le extends EventTarget {
|
|
|
9198
9194
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9199
9195
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9200
9196
|
*/
|
|
9201
|
-
class
|
|
9197
|
+
class Qs extends Le {
|
|
9202
9198
|
constructor(t) {
|
|
9203
9199
|
super(t, "tooltip"), this.setTarget(t);
|
|
9204
9200
|
}
|
|
@@ -9299,7 +9295,7 @@ class er extends Le {
|
|
|
9299
9295
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9300
9296
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9301
9297
|
*/
|
|
9302
|
-
const
|
|
9298
|
+
const ec = P`
|
|
9303
9299
|
:host {
|
|
9304
9300
|
display: inline-block;
|
|
9305
9301
|
position: relative;
|
|
@@ -9359,7 +9355,7 @@ const tc = P`
|
|
|
9359
9355
|
outline-color: GrayText;
|
|
9360
9356
|
}
|
|
9361
9357
|
}
|
|
9362
|
-
`,
|
|
9358
|
+
`, tc = (o) => o`
|
|
9363
9359
|
<div class="vaadin-button-container">
|
|
9364
9360
|
<span part="prefix" aria-hidden="true">
|
|
9365
9361
|
<slot name="prefix"></slot>
|
|
@@ -9382,33 +9378,33 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9382
9378
|
Code distributed by Google as part of the polymer project is also
|
|
9383
9379
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9384
9380
|
*/
|
|
9385
|
-
const
|
|
9381
|
+
const ic = (o) => o, er = typeof document.head.style.touchAction == "string", Ci = "__polymerGestures", oi = "__polymerGesturesHandled", Pi = "__polymerGesturesTouchAction", Bo = 25, Ho = 5, oc = 2, sc = ["mousedown", "mousemove", "mouseup", "click"], rc = [0, 1, 4, 2], nc = function() {
|
|
9386
9382
|
try {
|
|
9387
9383
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9388
9384
|
} catch {
|
|
9389
9385
|
return !1;
|
|
9390
9386
|
}
|
|
9391
9387
|
}();
|
|
9392
|
-
function
|
|
9393
|
-
return
|
|
9388
|
+
function Wi(o) {
|
|
9389
|
+
return sc.indexOf(o) > -1;
|
|
9394
9390
|
}
|
|
9395
|
-
let
|
|
9391
|
+
let ac = !1;
|
|
9396
9392
|
(function() {
|
|
9397
9393
|
try {
|
|
9398
9394
|
const o = Object.defineProperty({}, "passive", {
|
|
9399
9395
|
// eslint-disable-next-line getter-return
|
|
9400
9396
|
get() {
|
|
9401
|
-
|
|
9397
|
+
ac = !0;
|
|
9402
9398
|
}
|
|
9403
9399
|
});
|
|
9404
9400
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9405
9401
|
} catch {
|
|
9406
9402
|
}
|
|
9407
9403
|
})();
|
|
9408
|
-
function
|
|
9409
|
-
|
|
9404
|
+
function lc(o) {
|
|
9405
|
+
Wi(o);
|
|
9410
9406
|
}
|
|
9411
|
-
const
|
|
9407
|
+
const cc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), uc = {
|
|
9412
9408
|
button: !0,
|
|
9413
9409
|
command: !0,
|
|
9414
9410
|
fieldset: !0,
|
|
@@ -9421,15 +9417,15 @@ const uc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), dc = {
|
|
|
9421
9417
|
};
|
|
9422
9418
|
function Be(o) {
|
|
9423
9419
|
const t = o.type;
|
|
9424
|
-
if (!
|
|
9420
|
+
if (!Wi(t))
|
|
9425
9421
|
return !1;
|
|
9426
9422
|
if (t === "mousemove") {
|
|
9427
9423
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9428
|
-
return o instanceof window.MouseEvent && !
|
|
9424
|
+
return o instanceof window.MouseEvent && !nc && (i = rc[o.which] || 0), !!(i & 1);
|
|
9429
9425
|
}
|
|
9430
9426
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9431
9427
|
}
|
|
9432
|
-
function
|
|
9428
|
+
function dc(o) {
|
|
9433
9429
|
if (o.type === "click") {
|
|
9434
9430
|
if (o.detail === 0)
|
|
9435
9431
|
return !0;
|
|
@@ -9453,9 +9449,9 @@ const we = {
|
|
|
9453
9449
|
scrollDecided: !1
|
|
9454
9450
|
}
|
|
9455
9451
|
};
|
|
9456
|
-
function
|
|
9452
|
+
function hc(o) {
|
|
9457
9453
|
let t = "auto";
|
|
9458
|
-
const e =
|
|
9454
|
+
const e = ir(o);
|
|
9459
9455
|
for (let i = 0, s; i < e.length; i++)
|
|
9460
9456
|
if (s = e[i], s[Pi]) {
|
|
9461
9457
|
t = s[Pi];
|
|
@@ -9463,14 +9459,14 @@ function pc(o) {
|
|
|
9463
9459
|
}
|
|
9464
9460
|
return t;
|
|
9465
9461
|
}
|
|
9466
|
-
function
|
|
9462
|
+
function tr(o, t, e) {
|
|
9467
9463
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9468
9464
|
}
|
|
9469
9465
|
function Je(o) {
|
|
9470
9466
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9471
9467
|
}
|
|
9472
|
-
const
|
|
9473
|
-
function
|
|
9468
|
+
const ir = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], qi = {}, Re = [];
|
|
9469
|
+
function pc(o, t) {
|
|
9474
9470
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9475
9471
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9476
9472
|
const s = i;
|
|
@@ -9481,13 +9477,13 @@ function fc(o, t) {
|
|
|
9481
9477
|
return e;
|
|
9482
9478
|
}
|
|
9483
9479
|
function Te(o) {
|
|
9484
|
-
const t =
|
|
9480
|
+
const t = ir(
|
|
9485
9481
|
/** @type {?Event} */
|
|
9486
9482
|
o
|
|
9487
9483
|
);
|
|
9488
9484
|
return t.length > 0 ? t[0] : o.target;
|
|
9489
9485
|
}
|
|
9490
|
-
function
|
|
9486
|
+
function fc(o) {
|
|
9491
9487
|
const t = o.type, i = o.currentTarget[Ci];
|
|
9492
9488
|
if (!i)
|
|
9493
9489
|
return;
|
|
@@ -9498,7 +9494,7 @@ function mc(o) {
|
|
|
9498
9494
|
const n = o.changedTouches[0];
|
|
9499
9495
|
if (t === "touchstart" && o.touches.length === 1 && (we.touch.id = n.identifier), we.touch.id !== n.identifier)
|
|
9500
9496
|
return;
|
|
9501
|
-
|
|
9497
|
+
er || (t === "touchstart" || t === "touchmove") && mc(o);
|
|
9502
9498
|
}
|
|
9503
9499
|
const r = o[oi];
|
|
9504
9500
|
if (!r.skip) {
|
|
@@ -9508,7 +9504,7 @@ function mc(o) {
|
|
|
9508
9504
|
a = Re[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9509
9505
|
}
|
|
9510
9506
|
}
|
|
9511
|
-
function
|
|
9507
|
+
function mc(o) {
|
|
9512
9508
|
const t = o.changedTouches[0], e = o.type;
|
|
9513
9509
|
if (e === "touchstart")
|
|
9514
9510
|
we.touch.x = t.clientX, we.touch.y = t.clientY, we.touch.scrollDecided = !1;
|
|
@@ -9516,29 +9512,29 @@ function _c(o) {
|
|
|
9516
9512
|
if (we.touch.scrollDecided)
|
|
9517
9513
|
return;
|
|
9518
9514
|
we.touch.scrollDecided = !0;
|
|
9519
|
-
const i =
|
|
9515
|
+
const i = hc(o);
|
|
9520
9516
|
let s = !1;
|
|
9521
9517
|
const r = Math.abs(we.touch.x - t.clientX), n = Math.abs(we.touch.y - t.clientY);
|
|
9522
9518
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Lt("track");
|
|
9523
9519
|
}
|
|
9524
9520
|
}
|
|
9525
9521
|
function ge(o, t, e) {
|
|
9526
|
-
return
|
|
9522
|
+
return qi[t] ? (_c(o, t, e), !0) : !1;
|
|
9527
9523
|
}
|
|
9528
|
-
function
|
|
9529
|
-
const i =
|
|
9524
|
+
function _c(o, t, e) {
|
|
9525
|
+
const i = qi[t], s = i.deps, r = i.name;
|
|
9530
9526
|
let n = o[Ci];
|
|
9531
9527
|
n || (o[Ci] = n = {});
|
|
9532
9528
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9533
|
-
l = s[a], !(
|
|
9534
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9529
|
+
l = s[a], !(cc && Wi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, fc, lc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9530
|
+
o.addEventListener(t, e), i.touchAction && or(o, i.touchAction);
|
|
9535
9531
|
}
|
|
9536
|
-
function
|
|
9532
|
+
function Ki(o) {
|
|
9537
9533
|
Re.push(o), o.emits.forEach((t) => {
|
|
9538
|
-
|
|
9534
|
+
qi[t] = o;
|
|
9539
9535
|
});
|
|
9540
9536
|
}
|
|
9541
|
-
function
|
|
9537
|
+
function gc(o) {
|
|
9542
9538
|
for (let t = 0, e; t < Re.length; t++) {
|
|
9543
9539
|
e = Re[t];
|
|
9544
9540
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9547,14 +9543,14 @@ function bc(o) {
|
|
|
9547
9543
|
}
|
|
9548
9544
|
return null;
|
|
9549
9545
|
}
|
|
9550
|
-
function
|
|
9551
|
-
|
|
9546
|
+
function or(o, t) {
|
|
9547
|
+
er && o instanceof HTMLElement && Jl.run(() => {
|
|
9552
9548
|
o.style.touchAction = t;
|
|
9553
9549
|
}), o[Pi] = t;
|
|
9554
9550
|
}
|
|
9555
|
-
function
|
|
9551
|
+
function Gi(o, t, e) {
|
|
9556
9552
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9557
|
-
if (i.detail = e,
|
|
9553
|
+
if (i.detail = e, ic(
|
|
9558
9554
|
/** @type {!Node} */
|
|
9559
9555
|
o
|
|
9560
9556
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9563,10 +9559,10 @@ function Ji(o, t, e) {
|
|
|
9563
9559
|
}
|
|
9564
9560
|
}
|
|
9565
9561
|
function Lt(o) {
|
|
9566
|
-
const t =
|
|
9562
|
+
const t = gc(o);
|
|
9567
9563
|
t.info && (t.info.prevent = !0);
|
|
9568
9564
|
}
|
|
9569
|
-
|
|
9565
|
+
Ki({
|
|
9570
9566
|
name: "downup",
|
|
9571
9567
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9572
9568
|
flow: {
|
|
@@ -9598,7 +9594,7 @@ Gi({
|
|
|
9598
9594
|
}, s = (r) => {
|
|
9599
9595
|
Be(r) && nt("up", t, r), Je(e.info);
|
|
9600
9596
|
};
|
|
9601
|
-
|
|
9597
|
+
tr(this.info, i, s), nt("down", t, o);
|
|
9602
9598
|
},
|
|
9603
9599
|
/**
|
|
9604
9600
|
* @this {GestureRecognizer}
|
|
@@ -9618,7 +9614,7 @@ Gi({
|
|
|
9618
9614
|
}
|
|
9619
9615
|
});
|
|
9620
9616
|
function nt(o, t, e, i) {
|
|
9621
|
-
t &&
|
|
9617
|
+
t && Gi(t, o, {
|
|
9622
9618
|
x: e.clientX,
|
|
9623
9619
|
y: e.clientY,
|
|
9624
9620
|
sourceEvent: e,
|
|
@@ -9628,7 +9624,7 @@ function nt(o, t, e, i) {
|
|
|
9628
9624
|
}
|
|
9629
9625
|
});
|
|
9630
9626
|
}
|
|
9631
|
-
|
|
9627
|
+
Ki({
|
|
9632
9628
|
name: "track",
|
|
9633
9629
|
touchAction: "none",
|
|
9634
9630
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9645,7 +9641,7 @@ Gi({
|
|
|
9645
9641
|
moves: [],
|
|
9646
9642
|
/** @this {GestureInfo} */
|
|
9647
9643
|
addMove(o) {
|
|
9648
|
-
this.moves.length >
|
|
9644
|
+
this.moves.length > oc && this.moves.shift(), this.moves.push(o);
|
|
9649
9645
|
},
|
|
9650
9646
|
movefn: null,
|
|
9651
9647
|
upfn: null,
|
|
@@ -9668,11 +9664,11 @@ Gi({
|
|
|
9668
9664
|
return;
|
|
9669
9665
|
const t = Te(o), e = this, i = (r) => {
|
|
9670
9666
|
const n = r.clientX, a = r.clientY;
|
|
9671
|
-
|
|
9667
|
+
$o(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Lt("tap"), e.info.addMove({ x: n, y: a }), Be(r) || (e.info.state = "end", Je(e.info)), t && si(e.info, t, r), e.info.started = !0);
|
|
9672
9668
|
}, s = (r) => {
|
|
9673
9669
|
e.info.started && i(r), Je(e.info);
|
|
9674
9670
|
};
|
|
9675
|
-
|
|
9671
|
+
tr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9676
9672
|
},
|
|
9677
9673
|
/**
|
|
9678
9674
|
* @this {GestureRecognizer}
|
|
@@ -9690,7 +9686,7 @@ Gi({
|
|
|
9690
9686
|
*/
|
|
9691
9687
|
touchmove(o) {
|
|
9692
9688
|
const t = Te(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9693
|
-
|
|
9689
|
+
$o(this.info, i, s) && (this.info.state === "start" && Lt("tap"), this.info.addMove({ x: i, y: s }), si(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9694
9690
|
},
|
|
9695
9691
|
/**
|
|
9696
9692
|
* @this {GestureRecognizer}
|
|
@@ -9702,20 +9698,20 @@ Gi({
|
|
|
9702
9698
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), si(this.info, t, e));
|
|
9703
9699
|
}
|
|
9704
9700
|
});
|
|
9705
|
-
function
|
|
9701
|
+
function $o(o, t, e) {
|
|
9706
9702
|
if (o.prevent)
|
|
9707
9703
|
return !1;
|
|
9708
9704
|
if (o.started)
|
|
9709
9705
|
return !0;
|
|
9710
9706
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9711
|
-
return i >=
|
|
9707
|
+
return i >= Ho || s >= Ho;
|
|
9712
9708
|
}
|
|
9713
9709
|
function si(o, t, e) {
|
|
9714
9710
|
if (!t)
|
|
9715
9711
|
return;
|
|
9716
9712
|
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;
|
|
9717
9713
|
let a, l = 0;
|
|
9718
|
-
i && (a = s.x - i.x, l = s.y - i.y),
|
|
9714
|
+
i && (a = s.x - i.x, l = s.y - i.y), Gi(t, "track", {
|
|
9719
9715
|
state: o.state,
|
|
9720
9716
|
x: e.clientX,
|
|
9721
9717
|
y: e.clientY,
|
|
@@ -9725,11 +9721,11 @@ function si(o, t, e) {
|
|
|
9725
9721
|
ddy: l,
|
|
9726
9722
|
sourceEvent: e,
|
|
9727
9723
|
hover() {
|
|
9728
|
-
return
|
|
9724
|
+
return pc(e.clientX, e.clientY);
|
|
9729
9725
|
}
|
|
9730
9726
|
});
|
|
9731
9727
|
}
|
|
9732
|
-
|
|
9728
|
+
Ki({
|
|
9733
9729
|
name: "tap",
|
|
9734
9730
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9735
9731
|
flow: {
|
|
@@ -9763,7 +9759,7 @@ Gi({
|
|
|
9763
9759
|
* @return {void}
|
|
9764
9760
|
*/
|
|
9765
9761
|
click(o) {
|
|
9766
|
-
Be(o) &&
|
|
9762
|
+
Be(o) && Yo(this.info, o);
|
|
9767
9763
|
},
|
|
9768
9764
|
/**
|
|
9769
9765
|
* @this {GestureRecognizer}
|
|
@@ -9780,15 +9776,15 @@ Gi({
|
|
|
9780
9776
|
* @return {void}
|
|
9781
9777
|
*/
|
|
9782
9778
|
touchend(o) {
|
|
9783
|
-
|
|
9779
|
+
Yo(this.info, o.changedTouches[0], o);
|
|
9784
9780
|
}
|
|
9785
9781
|
});
|
|
9786
|
-
function
|
|
9782
|
+
function Yo(o, t, e) {
|
|
9787
9783
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Te(e || t);
|
|
9788
|
-
!r ||
|
|
9784
|
+
!r || uc[
|
|
9789
9785
|
/** @type {!HTMLElement} */
|
|
9790
9786
|
r.localName
|
|
9791
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9787
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Bo && s <= Bo || dc(t)) && (o.prevent || Gi(r, "tap", {
|
|
9792
9788
|
x: t.clientX,
|
|
9793
9789
|
y: t.clientY,
|
|
9794
9790
|
sourceEvent: t,
|
|
@@ -9800,7 +9796,7 @@ function jo(o, t, e) {
|
|
|
9800
9796
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9801
9797
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9802
9798
|
*/
|
|
9803
|
-
const
|
|
9799
|
+
const sr = U(
|
|
9804
9800
|
(o) => class extends o {
|
|
9805
9801
|
static get properties() {
|
|
9806
9802
|
return {
|
|
@@ -9907,7 +9903,7 @@ const Ut = U(
|
|
|
9907
9903
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9908
9904
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9909
9905
|
*/
|
|
9910
|
-
const
|
|
9906
|
+
const bc = (o) => class extends sr(Ut(o)) {
|
|
9911
9907
|
/**
|
|
9912
9908
|
* An array of activation keys.
|
|
9913
9909
|
*
|
|
@@ -9970,14 +9966,14 @@ const vc = (o) => class extends rr(Ut(o)) {
|
|
|
9970
9966
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9971
9967
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9972
9968
|
*/
|
|
9973
|
-
const
|
|
9969
|
+
const Ji = U(
|
|
9974
9970
|
(o) => class extends o {
|
|
9975
9971
|
/**
|
|
9976
9972
|
* @protected
|
|
9977
9973
|
* @return {boolean}
|
|
9978
9974
|
*/
|
|
9979
9975
|
get _keyboardActive() {
|
|
9980
|
-
return
|
|
9976
|
+
return Vi();
|
|
9981
9977
|
}
|
|
9982
9978
|
/** @protected */
|
|
9983
9979
|
ready() {
|
|
@@ -10027,7 +10023,7 @@ const Xi = U(
|
|
|
10027
10023
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10028
10024
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10029
10025
|
*/
|
|
10030
|
-
const
|
|
10026
|
+
const rr = (o) => class extends sr(o) {
|
|
10031
10027
|
static get properties() {
|
|
10032
10028
|
return {
|
|
10033
10029
|
/**
|
|
@@ -10078,7 +10074,7 @@ const nr = (o) => class extends rr(o) {
|
|
|
10078
10074
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10079
10075
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10080
10076
|
*/
|
|
10081
|
-
const
|
|
10077
|
+
const vc = (o) => class extends bc(rr(Ji(o))) {
|
|
10082
10078
|
static get properties() {
|
|
10083
10079
|
return {
|
|
10084
10080
|
/**
|
|
@@ -10133,26 +10129,26 @@ const yc = (o) => class extends vc(nr(Xi(o))) {
|
|
|
10133
10129
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10134
10130
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10135
10131
|
*/
|
|
10136
|
-
L("vaadin-button",
|
|
10137
|
-
class
|
|
10132
|
+
L("vaadin-button", ec, { moduleId: "vaadin-button-styles" });
|
|
10133
|
+
class yc extends vc(Xs($e(it(Me)))) {
|
|
10138
10134
|
static get is() {
|
|
10139
10135
|
return "vaadin-button";
|
|
10140
10136
|
}
|
|
10141
10137
|
static get template() {
|
|
10142
|
-
return
|
|
10138
|
+
return tc(je);
|
|
10143
10139
|
}
|
|
10144
10140
|
/** @protected */
|
|
10145
10141
|
ready() {
|
|
10146
|
-
super.ready(), this._tooltipController = new
|
|
10142
|
+
super.ready(), this._tooltipController = new Qs(this), this.addController(this._tooltipController);
|
|
10147
10143
|
}
|
|
10148
10144
|
}
|
|
10149
|
-
be(
|
|
10145
|
+
be(yc);
|
|
10150
10146
|
/**
|
|
10151
10147
|
* @license
|
|
10152
10148
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10153
10149
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10154
10150
|
*/
|
|
10155
|
-
function
|
|
10151
|
+
function xc(o) {
|
|
10156
10152
|
let t = o.getDay();
|
|
10157
10153
|
t === 0 && (t = 7);
|
|
10158
10154
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10167,7 +10163,7 @@ function ki(o) {
|
|
|
10167
10163
|
function Se(o, t, e = ki) {
|
|
10168
10164
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10169
10165
|
}
|
|
10170
|
-
function
|
|
10166
|
+
function Xi(o) {
|
|
10171
10167
|
return {
|
|
10172
10168
|
day: o.getDate(),
|
|
10173
10169
|
month: o.getMonth(),
|
|
@@ -10177,12 +10173,12 @@ function Zi(o) {
|
|
|
10177
10173
|
function et(o, t, e, i) {
|
|
10178
10174
|
let s = !1;
|
|
10179
10175
|
if (typeof i == "function" && o) {
|
|
10180
|
-
const r =
|
|
10176
|
+
const r = Xi(o);
|
|
10181
10177
|
s = i(r);
|
|
10182
10178
|
}
|
|
10183
10179
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10184
10180
|
}
|
|
10185
|
-
function
|
|
10181
|
+
function nr(o, t) {
|
|
10186
10182
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10187
10183
|
if (!i)
|
|
10188
10184
|
return e;
|
|
@@ -10192,11 +10188,11 @@ function ar(o, t) {
|
|
|
10192
10188
|
return s < r ? i : e;
|
|
10193
10189
|
});
|
|
10194
10190
|
}
|
|
10195
|
-
function
|
|
10191
|
+
function ar(o) {
|
|
10196
10192
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10197
10193
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10198
10194
|
}
|
|
10199
|
-
function
|
|
10195
|
+
function wc(o, t, e = 0, i = 1) {
|
|
10200
10196
|
if (t > 99)
|
|
10201
10197
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10202
10198
|
if (t < 0)
|
|
@@ -10211,15 +10207,15 @@ function at(o) {
|
|
|
10211
10207
|
const e = new Date(0, 0);
|
|
10212
10208
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10213
10209
|
}
|
|
10214
|
-
function
|
|
10210
|
+
function Ec(o) {
|
|
10215
10211
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10216
10212
|
let e = "", i = "0000", s = o.year;
|
|
10217
10213
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10218
10214
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10219
10215
|
return [r, n, a].join("-");
|
|
10220
10216
|
}
|
|
10221
|
-
function
|
|
10222
|
-
return o instanceof Date ?
|
|
10217
|
+
function Sc(o) {
|
|
10218
|
+
return o instanceof Date ? Ec({
|
|
10223
10219
|
year: o.getFullYear(),
|
|
10224
10220
|
month: o.getMonth(),
|
|
10225
10221
|
day: o.getDate()
|
|
@@ -10326,9 +10322,9 @@ class Rt {
|
|
|
10326
10322
|
}
|
|
10327
10323
|
}
|
|
10328
10324
|
let yt = /* @__PURE__ */ new Set();
|
|
10329
|
-
const
|
|
10325
|
+
const Ac = function(o) {
|
|
10330
10326
|
yt.add(o);
|
|
10331
|
-
},
|
|
10327
|
+
}, Cc = function() {
|
|
10332
10328
|
const o = !!yt.size;
|
|
10333
10329
|
return yt.forEach((t) => {
|
|
10334
10330
|
try {
|
|
@@ -10349,10 +10345,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10349
10345
|
Code distributed by Google as part of the polymer project is also
|
|
10350
10346
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10351
10347
|
*/
|
|
10352
|
-
const
|
|
10348
|
+
const Zi = function() {
|
|
10353
10349
|
let o, t;
|
|
10354
10350
|
do
|
|
10355
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10351
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Cc();
|
|
10356
10352
|
while (o || t);
|
|
10357
10353
|
};
|
|
10358
10354
|
/**
|
|
@@ -10360,8 +10356,8 @@ const Qi = function() {
|
|
|
10360
10356
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10361
10357
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10362
10358
|
*/
|
|
10363
|
-
const
|
|
10364
|
-
|
|
10359
|
+
const lr = document.createElement("template");
|
|
10360
|
+
lr.innerHTML = `
|
|
10365
10361
|
<style>
|
|
10366
10362
|
:host {
|
|
10367
10363
|
display: block;
|
|
@@ -10412,9 +10408,9 @@ cr.innerHTML = `
|
|
|
10412
10408
|
<div id="fullHeight"></div>
|
|
10413
10409
|
</div>
|
|
10414
10410
|
`;
|
|
10415
|
-
class
|
|
10411
|
+
class cr extends HTMLElement {
|
|
10416
10412
|
constructor() {
|
|
10417
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10413
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(lr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10418
10414
|
}
|
|
10419
10415
|
/**
|
|
10420
10416
|
* @return {boolean}
|
|
@@ -10474,7 +10470,7 @@ class ur extends HTMLElement {
|
|
|
10474
10470
|
* waiting for the debouncer to resolve.
|
|
10475
10471
|
*/
|
|
10476
10472
|
forceUpdate() {
|
|
10477
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10473
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), Zi();
|
|
10478
10474
|
}
|
|
10479
10475
|
/**
|
|
10480
10476
|
* @protected
|
|
@@ -10530,7 +10526,7 @@ class ur extends HTMLElement {
|
|
|
10530
10526
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10531
10527
|
const s = document.createElement("div");
|
|
10532
10528
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10533
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10529
|
+
const r = `vaadin-infinite-scroller-item-content-${Zs()}`, n = document.createElement("slot");
|
|
10534
10530
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10535
10531
|
}
|
|
10536
10532
|
}), requestAnimationFrame(() => {
|
|
@@ -10571,8 +10567,8 @@ class ur extends HTMLElement {
|
|
|
10571
10567
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10572
10568
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10573
10569
|
*/
|
|
10574
|
-
const
|
|
10575
|
-
|
|
10570
|
+
const ur = document.createElement("template");
|
|
10571
|
+
ur.innerHTML = `
|
|
10576
10572
|
<style>
|
|
10577
10573
|
:host {
|
|
10578
10574
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10585,12 +10581,12 @@ dr.innerHTML = `
|
|
|
10585
10581
|
}
|
|
10586
10582
|
</style>
|
|
10587
10583
|
`;
|
|
10588
|
-
class
|
|
10584
|
+
class Pc extends cr {
|
|
10589
10585
|
static get is() {
|
|
10590
10586
|
return "vaadin-date-picker-month-scroller";
|
|
10591
10587
|
}
|
|
10592
10588
|
constructor() {
|
|
10593
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10589
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(ur.content.cloneNode(!0));
|
|
10594
10590
|
}
|
|
10595
10591
|
/**
|
|
10596
10592
|
* @protected
|
|
@@ -10606,17 +10602,17 @@ class kc extends ur {
|
|
|
10606
10602
|
* @override
|
|
10607
10603
|
*/
|
|
10608
10604
|
_updateElement(t, e) {
|
|
10609
|
-
t.month =
|
|
10605
|
+
t.month = ar(e);
|
|
10610
10606
|
}
|
|
10611
10607
|
}
|
|
10612
|
-
be(
|
|
10608
|
+
be(Pc);
|
|
10613
10609
|
/**
|
|
10614
10610
|
* @license
|
|
10615
10611
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10616
10612
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10617
10613
|
*/
|
|
10618
|
-
const
|
|
10619
|
-
|
|
10614
|
+
const dr = document.createElement("template");
|
|
10615
|
+
dr.innerHTML = `
|
|
10620
10616
|
<style>
|
|
10621
10617
|
:host {
|
|
10622
10618
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10651,12 +10647,12 @@ hr.innerHTML = `
|
|
|
10651
10647
|
}
|
|
10652
10648
|
</style>
|
|
10653
10649
|
`;
|
|
10654
|
-
class
|
|
10650
|
+
class kc extends cr {
|
|
10655
10651
|
static get is() {
|
|
10656
10652
|
return "vaadin-date-picker-year-scroller";
|
|
10657
10653
|
}
|
|
10658
10654
|
constructor() {
|
|
10659
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10655
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(dr.content.cloneNode(!0));
|
|
10660
10656
|
}
|
|
10661
10657
|
/**
|
|
10662
10658
|
* @protected
|
|
@@ -10680,13 +10676,13 @@ class Dc extends ur {
|
|
|
10680
10676
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10681
10677
|
}
|
|
10682
10678
|
}
|
|
10683
|
-
be(
|
|
10679
|
+
be(kc);
|
|
10684
10680
|
/**
|
|
10685
10681
|
* @license
|
|
10686
10682
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10687
10683
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10688
10684
|
*/
|
|
10689
|
-
const
|
|
10685
|
+
const Dc = (o) => class extends o {
|
|
10690
10686
|
static get properties() {
|
|
10691
10687
|
return {
|
|
10692
10688
|
year: {
|
|
@@ -10712,7 +10708,7 @@ const Tc = (o) => class extends o {
|
|
|
10712
10708
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10713
10709
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10714
10710
|
*/
|
|
10715
|
-
class
|
|
10711
|
+
class Tc extends $e(Dc(Me)) {
|
|
10716
10712
|
static get is() {
|
|
10717
10713
|
return "vaadin-date-picker-year";
|
|
10718
10714
|
}
|
|
@@ -10729,7 +10725,7 @@ class Mc extends $e(Tc(Me)) {
|
|
|
10729
10725
|
`;
|
|
10730
10726
|
}
|
|
10731
10727
|
}
|
|
10732
|
-
be(
|
|
10728
|
+
be(Tc);
|
|
10733
10729
|
/**
|
|
10734
10730
|
@license
|
|
10735
10731
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10739,13 +10735,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10739
10735
|
Code distributed by Google as part of the polymer project is also
|
|
10740
10736
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10741
10737
|
*/
|
|
10742
|
-
function
|
|
10738
|
+
function Qi(o, t, e, i, s) {
|
|
10743
10739
|
let r;
|
|
10744
10740
|
s && (r = typeof e == "object" && e !== null, r && (i = o.__dataTemp[t]));
|
|
10745
10741
|
let n = i !== e && (i === i || e === e);
|
|
10746
10742
|
return r && n && (o.__dataTemp[t] = e), n;
|
|
10747
10743
|
}
|
|
10748
|
-
const
|
|
10744
|
+
const eo = U((o) => {
|
|
10749
10745
|
class t extends o {
|
|
10750
10746
|
/**
|
|
10751
10747
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10765,11 +10761,11 @@ const to = U((o) => {
|
|
|
10765
10761
|
* @protected
|
|
10766
10762
|
*/
|
|
10767
10763
|
_shouldPropertyChange(i, s, r) {
|
|
10768
|
-
return
|
|
10764
|
+
return Qi(this, i, s, r, !0);
|
|
10769
10765
|
}
|
|
10770
10766
|
}
|
|
10771
10767
|
return t;
|
|
10772
|
-
}),
|
|
10768
|
+
}), Mc = U((o) => {
|
|
10773
10769
|
class t extends o {
|
|
10774
10770
|
/** @nocollapse */
|
|
10775
10771
|
static get properties() {
|
|
@@ -10801,12 +10797,12 @@ const to = U((o) => {
|
|
|
10801
10797
|
* @protected
|
|
10802
10798
|
*/
|
|
10803
10799
|
_shouldPropertyChange(i, s, r) {
|
|
10804
|
-
return
|
|
10800
|
+
return Qi(this, i, s, r, this.mutableData);
|
|
10805
10801
|
}
|
|
10806
10802
|
}
|
|
10807
10803
|
return t;
|
|
10808
10804
|
});
|
|
10809
|
-
|
|
10805
|
+
eo._mutablePropertyChange = Qi;
|
|
10810
10806
|
/**
|
|
10811
10807
|
@license
|
|
10812
10808
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10826,13 +10822,13 @@ Ti.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10826
10822
|
writable: !0
|
|
10827
10823
|
}
|
|
10828
10824
|
});
|
|
10829
|
-
const
|
|
10830
|
-
function
|
|
10825
|
+
const hr = Yi(Ti), Oc = eo(hr);
|
|
10826
|
+
function Ic(o, t) {
|
|
10831
10827
|
Di = o, Object.setPrototypeOf(o, t.prototype), new t(), Di = null;
|
|
10832
10828
|
}
|
|
10833
|
-
const
|
|
10829
|
+
const Fc = Yi(class {
|
|
10834
10830
|
});
|
|
10835
|
-
function
|
|
10831
|
+
function Nc(o, t) {
|
|
10836
10832
|
for (let e = 0; e < t.length; e++) {
|
|
10837
10833
|
let i = t[e];
|
|
10838
10834
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10850,7 +10846,7 @@ function zc(o, t) {
|
|
|
10850
10846
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10851
10847
|
}
|
|
10852
10848
|
}
|
|
10853
|
-
class Oe extends
|
|
10849
|
+
class Oe extends Fc {
|
|
10854
10850
|
constructor(t) {
|
|
10855
10851
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10856
10852
|
let e = [];
|
|
@@ -10919,7 +10915,7 @@ class Oe extends Nc {
|
|
|
10919
10915
|
* @protected
|
|
10920
10916
|
*/
|
|
10921
10917
|
_showHideChildren(t) {
|
|
10922
|
-
|
|
10918
|
+
Nc(t, this.children);
|
|
10923
10919
|
}
|
|
10924
10920
|
/**
|
|
10925
10921
|
* Overrides default property-effects implementation to intercept
|
|
@@ -10972,31 +10968,31 @@ Oe.prototype.__templatizeOptions;
|
|
|
10972
10968
|
Oe.prototype._methodHost;
|
|
10973
10969
|
Oe.prototype.__templatizeOwner;
|
|
10974
10970
|
Oe.prototype.__hostProps;
|
|
10975
|
-
const
|
|
10971
|
+
const zc = eo(
|
|
10976
10972
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10977
10973
|
// TemplateInstanceBase is a constructor function.
|
|
10978
10974
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10979
10975
|
Oe
|
|
10980
10976
|
);
|
|
10981
|
-
function
|
|
10977
|
+
function jo(o) {
|
|
10982
10978
|
let t = o.__dataHost;
|
|
10983
10979
|
return t && t._methodHost || t;
|
|
10984
10980
|
}
|
|
10985
|
-
function
|
|
10986
|
-
let i = e.mutableData ?
|
|
10981
|
+
function Lc(o, t, e) {
|
|
10982
|
+
let i = e.mutableData ? zc : Oe;
|
|
10987
10983
|
Mi.mixin && (i = Mi.mixin(i));
|
|
10988
10984
|
let s = class extends i {
|
|
10989
10985
|
};
|
|
10990
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
10986
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Hc(s, o, t, e), s;
|
|
10991
10987
|
}
|
|
10992
|
-
function
|
|
10988
|
+
function Rc(o, t, e, i) {
|
|
10993
10989
|
let s = e.forwardHostProp;
|
|
10994
10990
|
if (s && t.hasHostProps) {
|
|
10995
10991
|
const r = o.localName == "template";
|
|
10996
10992
|
let n = t.templatizeTemplateClass;
|
|
10997
10993
|
if (!n) {
|
|
10998
10994
|
if (r) {
|
|
10999
|
-
let l = e.mutableData ?
|
|
10995
|
+
let l = e.mutableData ? Oc : hr;
|
|
11000
10996
|
class c extends l {
|
|
11001
10997
|
}
|
|
11002
10998
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11011,12 +11007,12 @@ function Bc(o, t, e, i) {
|
|
|
11011
11007
|
n.prototype._addPropertyEffect(
|
|
11012
11008
|
"_host_" + l,
|
|
11013
11009
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11014
|
-
{ fn:
|
|
11010
|
+
{ fn: Bc(l, s) }
|
|
11015
11011
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11016
|
-
|
|
11012
|
+
gs && i && jc(t, e, i);
|
|
11017
11013
|
}
|
|
11018
11014
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11019
|
-
|
|
11015
|
+
Ic(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11020
11016
|
else {
|
|
11021
11017
|
Object.setPrototypeOf(o, n.prototype);
|
|
11022
11018
|
const a = t.hostProps;
|
|
@@ -11028,7 +11024,7 @@ function Bc(o, t, e, i) {
|
|
|
11028
11024
|
}
|
|
11029
11025
|
}
|
|
11030
11026
|
}
|
|
11031
|
-
function
|
|
11027
|
+
function Bc(o, t) {
|
|
11032
11028
|
return function(i, s, r) {
|
|
11033
11029
|
t.call(
|
|
11034
11030
|
i.__templatizeOwner,
|
|
@@ -11037,7 +11033,7 @@ function Hc(o, t) {
|
|
|
11037
11033
|
);
|
|
11038
11034
|
};
|
|
11039
11035
|
}
|
|
11040
|
-
function
|
|
11036
|
+
function Hc(o, t, e, i) {
|
|
11041
11037
|
let s = e.hostProps || {};
|
|
11042
11038
|
for (let r in i.instanceProps) {
|
|
11043
11039
|
delete s[r];
|
|
@@ -11045,7 +11041,7 @@ function $c(o, t, e, i) {
|
|
|
11045
11041
|
n && o.prototype._addPropertyEffect(
|
|
11046
11042
|
r,
|
|
11047
11043
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11048
|
-
{ fn:
|
|
11044
|
+
{ fn: $c(r, n) }
|
|
11049
11045
|
);
|
|
11050
11046
|
}
|
|
11051
11047
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11053,10 +11049,10 @@ function $c(o, t, e, i) {
|
|
|
11053
11049
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11054
11050
|
r,
|
|
11055
11051
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11056
|
-
{ fn:
|
|
11052
|
+
{ fn: Yc() }
|
|
11057
11053
|
);
|
|
11058
11054
|
}
|
|
11059
|
-
function
|
|
11055
|
+
function $c(o, t) {
|
|
11060
11056
|
return function(i, s, r) {
|
|
11061
11057
|
t.call(
|
|
11062
11058
|
i.__templatizeOwner,
|
|
@@ -11066,22 +11062,22 @@ function Yc(o, t) {
|
|
|
11066
11062
|
);
|
|
11067
11063
|
};
|
|
11068
11064
|
}
|
|
11069
|
-
function
|
|
11065
|
+
function Yc() {
|
|
11070
11066
|
return function(t, e, i) {
|
|
11071
11067
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11072
11068
|
};
|
|
11073
11069
|
}
|
|
11074
11070
|
function Mi(o, t, e) {
|
|
11075
|
-
if (Ft && !
|
|
11071
|
+
if (Ft && !jo(o))
|
|
11076
11072
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11077
11073
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11078
11074
|
e || {}, o.__templatizeOwner)
|
|
11079
11075
|
throw new Error("A <template> can only be templatized once");
|
|
11080
11076
|
o.__templatizeOwner = t;
|
|
11081
11077
|
let s = (t ? t.constructor : Oe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11082
|
-
r || (r =
|
|
11083
|
-
const n =
|
|
11084
|
-
|
|
11078
|
+
r || (r = Lc(o, s, e), s.templatizeInstanceClass = r);
|
|
11079
|
+
const n = jo(o);
|
|
11080
|
+
Rc(o, s, e, n);
|
|
11085
11081
|
let a = class extends r {
|
|
11086
11082
|
};
|
|
11087
11083
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11089,7 +11085,7 @@ function Mi(o, t, e) {
|
|
|
11089
11085
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11090
11086
|
a, a;
|
|
11091
11087
|
}
|
|
11092
|
-
function
|
|
11088
|
+
function jc(o, t, e) {
|
|
11093
11089
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11094
11090
|
for (let n in s)
|
|
11095
11091
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11103,7 +11099,7 @@ function Vc(o, t, e) {
|
|
|
11103
11099
|
}
|
|
11104
11100
|
}
|
|
11105
11101
|
}
|
|
11106
|
-
function
|
|
11102
|
+
function Vc(o, t) {
|
|
11107
11103
|
let e;
|
|
11108
11104
|
for (; t; )
|
|
11109
11105
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11124,11 +11120,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11124
11120
|
Code distributed by Google as part of the polymer project is also
|
|
11125
11121
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11126
11122
|
*/
|
|
11127
|
-
let
|
|
11128
|
-
function
|
|
11129
|
-
if (
|
|
11130
|
-
if (!
|
|
11131
|
-
|
|
11123
|
+
let Vo = !1;
|
|
11124
|
+
function Uc() {
|
|
11125
|
+
if (_s && !ms) {
|
|
11126
|
+
if (!Vo) {
|
|
11127
|
+
Vo = !0;
|
|
11132
11128
|
const o = document.createElement("style");
|
|
11133
11129
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11134
11130
|
}
|
|
@@ -11145,8 +11141,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11145
11141
|
Code distributed by Google as part of the polymer project is also
|
|
11146
11142
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11147
11143
|
*/
|
|
11148
|
-
const
|
|
11149
|
-
class
|
|
11144
|
+
const Wc = Mc(Me);
|
|
11145
|
+
class Uo extends Wc {
|
|
11150
11146
|
// Not needed to find template; can be removed once the analyzer
|
|
11151
11147
|
// can find the tag name from customElements.define call
|
|
11152
11148
|
static get is() {
|
|
@@ -11241,7 +11237,7 @@ class Wo extends qc {
|
|
|
11241
11237
|
*/
|
|
11242
11238
|
renderedItemCount: {
|
|
11243
11239
|
type: Number,
|
|
11244
|
-
notify: !
|
|
11240
|
+
notify: !go,
|
|
11245
11241
|
readOnly: !0
|
|
11246
11242
|
},
|
|
11247
11243
|
/**
|
|
@@ -11324,7 +11320,7 @@ class Wo extends qc {
|
|
|
11324
11320
|
* @return {void}
|
|
11325
11321
|
*/
|
|
11326
11322
|
connectedCallback() {
|
|
11327
|
-
if (super.connectedCallback(),
|
|
11323
|
+
if (super.connectedCallback(), Uc() || (this.style.display = "none"), this.__isDetached) {
|
|
11328
11324
|
this.__isDetached = !1;
|
|
11329
11325
|
let t = K(K(this).parentNode);
|
|
11330
11326
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11374,7 +11370,7 @@ class Wo extends qc {
|
|
|
11374
11370
|
* @param {*} value Value to notify
|
|
11375
11371
|
*/
|
|
11376
11372
|
notifyInstanceProp: function(s, r, n) {
|
|
11377
|
-
if (
|
|
11373
|
+
if (Jn(this.as, r)) {
|
|
11378
11374
|
let a = s[this.itemsIndexAs];
|
|
11379
11375
|
r == this.as && (this.items[a] = n);
|
|
11380
11376
|
let l = gt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11430,9 +11426,9 @@ class Wo extends qc {
|
|
|
11430
11426
|
__debounceRender(t, e = 0) {
|
|
11431
11427
|
this.__renderDebouncer = Rt.debounce(
|
|
11432
11428
|
this.__renderDebouncer,
|
|
11433
|
-
e > 0 ?
|
|
11429
|
+
e > 0 ? ia.after(e) : Ps,
|
|
11434
11430
|
t.bind(this)
|
|
11435
|
-
),
|
|
11431
|
+
), Ac(this.__renderDebouncer);
|
|
11436
11432
|
}
|
|
11437
11433
|
/**
|
|
11438
11434
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11443,7 +11439,7 @@ class Wo extends qc {
|
|
|
11443
11439
|
* @return {void}
|
|
11444
11440
|
*/
|
|
11445
11441
|
render() {
|
|
11446
|
-
this.__debounceRender(this.__render),
|
|
11442
|
+
this.__debounceRender(this.__render), Zi();
|
|
11447
11443
|
}
|
|
11448
11444
|
__render() {
|
|
11449
11445
|
if (!this.__ensureTemplatized())
|
|
@@ -11452,7 +11448,7 @@ class Wo extends qc {
|
|
|
11452
11448
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11453
11449
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11454
11450
|
this.__chunkingId = null, this.__continueChunking();
|
|
11455
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11451
|
+
})), this._setRenderedItemCount(this.__instances.length), (!go || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11456
11452
|
bubbles: !0,
|
|
11457
11453
|
composed: !0
|
|
11458
11454
|
}));
|
|
@@ -11592,16 +11588,16 @@ class Wo extends qc {
|
|
|
11592
11588
|
* the element.
|
|
11593
11589
|
*/
|
|
11594
11590
|
modelForElement(t) {
|
|
11595
|
-
return
|
|
11591
|
+
return Vc(this.template, t);
|
|
11596
11592
|
}
|
|
11597
11593
|
}
|
|
11598
|
-
customElements.define(
|
|
11594
|
+
customElements.define(Uo.is, Uo);
|
|
11599
11595
|
/**
|
|
11600
11596
|
* @license
|
|
11601
11597
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11602
11598
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11603
11599
|
*/
|
|
11604
|
-
const
|
|
11600
|
+
const qc = (o) => class extends Ji(o) {
|
|
11605
11601
|
static get properties() {
|
|
11606
11602
|
return {
|
|
11607
11603
|
/**
|
|
@@ -11784,7 +11780,7 @@ const Kc = (o) => class extends Xi(o) {
|
|
|
11784
11780
|
/** @protected */
|
|
11785
11781
|
__getWeekNumber(e) {
|
|
11786
11782
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11787
|
-
return
|
|
11783
|
+
return xc(i);
|
|
11788
11784
|
}
|
|
11789
11785
|
/** @protected */
|
|
11790
11786
|
__getDayAriaLabel(e) {
|
|
@@ -11799,7 +11795,7 @@ const Kc = (o) => class extends Xi(o) {
|
|
|
11799
11795
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11800
11796
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11801
11797
|
*/
|
|
11802
|
-
const
|
|
11798
|
+
const Kc = P`
|
|
11803
11799
|
:host {
|
|
11804
11800
|
display: block;
|
|
11805
11801
|
}
|
|
@@ -11861,10 +11857,10 @@ const Gc = P`
|
|
|
11861
11857
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11862
11858
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11863
11859
|
*/
|
|
11864
|
-
L("vaadin-month-calendar",
|
|
11860
|
+
L("vaadin-month-calendar", Kc, {
|
|
11865
11861
|
moduleId: "vaadin-month-calendar-styles"
|
|
11866
11862
|
});
|
|
11867
|
-
class
|
|
11863
|
+
class Gc extends qc($e(Me)) {
|
|
11868
11864
|
static get template() {
|
|
11869
11865
|
return je`
|
|
11870
11866
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -11972,13 +11968,13 @@ class Jc extends Kc($e(Me)) {
|
|
|
11972
11968
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
11973
11969
|
}
|
|
11974
11970
|
}
|
|
11975
|
-
be(
|
|
11971
|
+
be(Gc);
|
|
11976
11972
|
/**
|
|
11977
11973
|
* @license
|
|
11978
11974
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11979
11975
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11980
11976
|
*/
|
|
11981
|
-
class
|
|
11977
|
+
class pr {
|
|
11982
11978
|
constructor(t, e) {
|
|
11983
11979
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
11984
11980
|
}
|
|
@@ -12006,7 +12002,7 @@ class fr {
|
|
|
12006
12002
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12007
12003
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12008
12004
|
*/
|
|
12009
|
-
const
|
|
12005
|
+
const Jc = (o) => class extends o {
|
|
12010
12006
|
static get properties() {
|
|
12011
12007
|
return {
|
|
12012
12008
|
scrollDuration: {
|
|
@@ -12134,7 +12130,7 @@ const Xc = (o) => class extends o {
|
|
|
12134
12130
|
}
|
|
12135
12131
|
/** @protected */
|
|
12136
12132
|
_addListeners() {
|
|
12137
|
-
|
|
12133
|
+
or(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(
|
|
12138
12134
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12139
12135
|
"tap",
|
|
12140
12136
|
this._toggleYearScroller.bind(this)
|
|
@@ -12143,7 +12139,7 @@ const Xc = (o) => class extends o {
|
|
|
12143
12139
|
/** @protected */
|
|
12144
12140
|
_initControllers() {
|
|
12145
12141
|
this.addController(
|
|
12146
|
-
new
|
|
12142
|
+
new pr(this._desktopMediaQuery, (e) => {
|
|
12147
12143
|
this._desktopMode = e;
|
|
12148
12144
|
})
|
|
12149
12145
|
), this.addController(
|
|
@@ -12335,7 +12331,7 @@ const Xc = (o) => class extends o {
|
|
|
12335
12331
|
}
|
|
12336
12332
|
/** @protected */
|
|
12337
12333
|
_formatDisplayed(e, i, s) {
|
|
12338
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12334
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate(Xi(e)) : s;
|
|
12339
12335
|
}
|
|
12340
12336
|
/** @private */
|
|
12341
12337
|
_onTodayTap() {
|
|
@@ -12452,7 +12448,7 @@ const Xc = (o) => class extends o {
|
|
|
12452
12448
|
}
|
|
12453
12449
|
/** @private */
|
|
12454
12450
|
_yearAfterXMonths(e) {
|
|
12455
|
-
return
|
|
12451
|
+
return ar(e).getFullYear();
|
|
12456
12452
|
}
|
|
12457
12453
|
/** @private */
|
|
12458
12454
|
_differenceInMonths(e, i) {
|
|
@@ -12557,14 +12553,14 @@ const Xc = (o) => class extends o {
|
|
|
12557
12553
|
}
|
|
12558
12554
|
async focusDateElement(e = !0) {
|
|
12559
12555
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || await new Promise((i) => {
|
|
12560
|
-
|
|
12561
|
-
|
|
12556
|
+
Vs(this, () => {
|
|
12557
|
+
Zi(), i();
|
|
12562
12558
|
});
|
|
12563
12559
|
}), e && this.revealDate(this.focusedDate), this._revealPromise && await this._revealPromise, this.__tryFocusDate();
|
|
12564
12560
|
}
|
|
12565
12561
|
/** @private */
|
|
12566
12562
|
_focusClosestDate(e) {
|
|
12567
|
-
this.focusDate(
|
|
12563
|
+
this.focusDate(nr(e, [this.minDate, this.maxDate]));
|
|
12568
12564
|
}
|
|
12569
12565
|
/** @private */
|
|
12570
12566
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12615,7 +12611,7 @@ const Xc = (o) => class extends o {
|
|
|
12615
12611
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12616
12612
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12617
12613
|
*/
|
|
12618
|
-
const
|
|
12614
|
+
const Xc = P`
|
|
12619
12615
|
:host {
|
|
12620
12616
|
display: flex;
|
|
12621
12617
|
flex-direction: column;
|
|
@@ -12681,10 +12677,10 @@ const Zc = P`
|
|
|
12681
12677
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12682
12678
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12683
12679
|
*/
|
|
12684
|
-
L("vaadin-date-picker-overlay-content",
|
|
12680
|
+
L("vaadin-date-picker-overlay-content", Xc, {
|
|
12685
12681
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12686
12682
|
});
|
|
12687
|
-
class
|
|
12683
|
+
class Zc extends Jc(
|
|
12688
12684
|
it($e(Yt(Me)))
|
|
12689
12685
|
) {
|
|
12690
12686
|
static get template() {
|
|
@@ -12718,14 +12714,14 @@ class Qc extends Xc(
|
|
|
12718
12714
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12719
12715
|
}
|
|
12720
12716
|
}
|
|
12721
|
-
be(
|
|
12717
|
+
be(Zc);
|
|
12722
12718
|
/**
|
|
12723
12719
|
* @license
|
|
12724
12720
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12725
12721
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12726
12722
|
*/
|
|
12727
|
-
const
|
|
12728
|
-
(o) => class extends
|
|
12723
|
+
const fr = U(
|
|
12724
|
+
(o) => class extends Ji(rr(o)) {
|
|
12729
12725
|
static get properties() {
|
|
12730
12726
|
return {
|
|
12731
12727
|
/**
|
|
@@ -12882,14 +12878,14 @@ const mr = U(
|
|
|
12882
12878
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12883
12879
|
*/
|
|
12884
12880
|
const ri = /* @__PURE__ */ new WeakMap();
|
|
12885
|
-
function
|
|
12881
|
+
function Qc(o) {
|
|
12886
12882
|
return ri.has(o) || ri.set(o, /* @__PURE__ */ new Set()), ri.get(o);
|
|
12887
12883
|
}
|
|
12888
|
-
function
|
|
12884
|
+
function eu(o, t) {
|
|
12889
12885
|
const e = document.createElement("style");
|
|
12890
12886
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12891
12887
|
}
|
|
12892
|
-
const
|
|
12888
|
+
const tu = U(
|
|
12893
12889
|
(o) => class extends o {
|
|
12894
12890
|
/**
|
|
12895
12891
|
* List of styles to insert into root.
|
|
@@ -12904,9 +12900,9 @@ const iu = U(
|
|
|
12904
12900
|
}
|
|
12905
12901
|
/** @private */
|
|
12906
12902
|
__applySlotStyles() {
|
|
12907
|
-
const e = this.getRootNode(), i =
|
|
12903
|
+
const e = this.getRootNode(), i = Qc(e);
|
|
12908
12904
|
this.slotStyles.forEach((s) => {
|
|
12909
|
-
i.has(s) || (
|
|
12905
|
+
i.has(s) || (eu(s, e), i.add(s));
|
|
12910
12906
|
});
|
|
12911
12907
|
}
|
|
12912
12908
|
}
|
|
@@ -12916,7 +12912,7 @@ const iu = U(
|
|
|
12916
12912
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12917
12913
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12918
12914
|
*/
|
|
12919
|
-
const
|
|
12915
|
+
const mr = U(
|
|
12920
12916
|
(o) => class extends o {
|
|
12921
12917
|
static get properties() {
|
|
12922
12918
|
return {
|
|
@@ -13120,7 +13116,7 @@ const _r = U(
|
|
|
13120
13116
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13121
13117
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13122
13118
|
*/
|
|
13123
|
-
const
|
|
13119
|
+
const iu = (o) => class extends mr(Ut(o)) {
|
|
13124
13120
|
static get properties() {
|
|
13125
13121
|
return {
|
|
13126
13122
|
/**
|
|
@@ -13165,7 +13161,7 @@ const ou = (o) => class extends _r(Ut(o)) {
|
|
|
13165
13161
|
* @protected
|
|
13166
13162
|
*/
|
|
13167
13163
|
_onClearButtonMouseDown(e) {
|
|
13168
|
-
e.preventDefault(),
|
|
13164
|
+
e.preventDefault(), xl || this.inputElement.focus();
|
|
13169
13165
|
}
|
|
13170
13166
|
/**
|
|
13171
13167
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13196,48 +13192,48 @@ const ou = (o) => class extends _r(Ut(o)) {
|
|
|
13196
13192
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13197
13193
|
*/
|
|
13198
13194
|
const ni = /* @__PURE__ */ new Map();
|
|
13199
|
-
function
|
|
13195
|
+
function to(o) {
|
|
13200
13196
|
return ni.has(o) || ni.set(o, /* @__PURE__ */ new WeakMap()), ni.get(o);
|
|
13201
13197
|
}
|
|
13202
|
-
function
|
|
13198
|
+
function _r(o, t) {
|
|
13203
13199
|
o && o.removeAttribute(t);
|
|
13204
13200
|
}
|
|
13205
|
-
function
|
|
13201
|
+
function gr(o, t) {
|
|
13206
13202
|
if (!o || !t)
|
|
13207
13203
|
return;
|
|
13208
|
-
const e =
|
|
13204
|
+
const e = to(t);
|
|
13209
13205
|
if (e.has(o))
|
|
13210
13206
|
return;
|
|
13211
|
-
const i =
|
|
13207
|
+
const i = Ui(o.getAttribute(t));
|
|
13212
13208
|
e.set(o, new Set(i));
|
|
13213
13209
|
}
|
|
13214
|
-
function
|
|
13215
|
-
if (!o
|
|
13210
|
+
function ou(o, t) {
|
|
13211
|
+
if (!o)
|
|
13216
13212
|
return;
|
|
13217
|
-
const e =
|
|
13218
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13213
|
+
const e = to(t), i = e.get(o);
|
|
13214
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Ks(o, t, Vt(i)), e.delete(o);
|
|
13219
13215
|
}
|
|
13220
13216
|
function ai(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13221
13217
|
if (!o || !t)
|
|
13222
13218
|
return;
|
|
13223
|
-
const { newId: i, oldId: s, fromUser: r } = e, n =
|
|
13219
|
+
const { newId: i, oldId: s, fromUser: r } = e, n = to(t), a = n.get(o);
|
|
13224
13220
|
if (!r && a) {
|
|
13225
13221
|
s && a.delete(s), i && a.add(i);
|
|
13226
13222
|
return;
|
|
13227
13223
|
}
|
|
13228
|
-
r && (a ? i || n.delete(o) :
|
|
13224
|
+
r && (a ? i || n.delete(o) : gr(o, t), _r(o, t)), Ol(o, t, s);
|
|
13229
13225
|
const l = i || Vt(a);
|
|
13230
|
-
l &&
|
|
13226
|
+
l && Ks(o, t, l);
|
|
13231
13227
|
}
|
|
13232
|
-
function
|
|
13233
|
-
|
|
13228
|
+
function su(o, t) {
|
|
13229
|
+
gr(o, t), _r(o, t);
|
|
13234
13230
|
}
|
|
13235
13231
|
/**
|
|
13236
13232
|
* @license
|
|
13237
13233
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13238
13234
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13239
13235
|
*/
|
|
13240
|
-
class
|
|
13236
|
+
class ru {
|
|
13241
13237
|
constructor(t) {
|
|
13242
13238
|
this.host = t, this.__required = !1;
|
|
13243
13239
|
}
|
|
@@ -13310,7 +13306,7 @@ class nu {
|
|
|
13310
13306
|
* @private
|
|
13311
13307
|
* */
|
|
13312
13308
|
__setAriaLabelToAttribute(t) {
|
|
13313
|
-
this.__target && (t ? (
|
|
13309
|
+
this.__target && (t ? (su(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (ou(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13314
13310
|
}
|
|
13315
13311
|
/**
|
|
13316
13312
|
* @param {string | null | undefined} labelId
|
|
@@ -13356,9 +13352,9 @@ me.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13356
13352
|
me.setAttribute("aria-live", "polite");
|
|
13357
13353
|
document.body.appendChild(me);
|
|
13358
13354
|
let Pt;
|
|
13359
|
-
function
|
|
13355
|
+
function nu(o, t = {}) {
|
|
13360
13356
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13361
|
-
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Pt = Qe.debounce(Pt,
|
|
13357
|
+
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Pt = Qe.debounce(Pt, Kl, () => {
|
|
13362
13358
|
me.setAttribute("role", "alert");
|
|
13363
13359
|
})) : (Pt && Pt.cancel(), me.removeAttribute("role"), me.setAttribute("aria-live", e)), me.textContent = "", setTimeout(() => {
|
|
13364
13360
|
me.textContent = o;
|
|
@@ -13369,7 +13365,7 @@ function au(o, t = {}) {
|
|
|
13369
13365
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13370
13366
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13371
13367
|
*/
|
|
13372
|
-
class
|
|
13368
|
+
class io extends Le {
|
|
13373
13369
|
constructor(t, e, i, s = {}) {
|
|
13374
13370
|
super(t, e, i, { ...s, useUniqueId: !0 });
|
|
13375
13371
|
}
|
|
@@ -13484,7 +13480,7 @@ class oo extends Le {
|
|
|
13484
13480
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13485
13481
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13486
13482
|
*/
|
|
13487
|
-
class
|
|
13483
|
+
class au extends io {
|
|
13488
13484
|
constructor(t) {
|
|
13489
13485
|
super(t, "error-message", "div");
|
|
13490
13486
|
}
|
|
@@ -13558,7 +13554,7 @@ class lu extends oo {
|
|
|
13558
13554
|
*/
|
|
13559
13555
|
updateDefaultNode(t) {
|
|
13560
13556
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13561
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13557
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && nu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13562
13558
|
}
|
|
13563
13559
|
}
|
|
13564
13560
|
/**
|
|
@@ -13566,7 +13562,7 @@ class lu extends oo {
|
|
|
13566
13562
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13567
13563
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13568
13564
|
*/
|
|
13569
|
-
class
|
|
13565
|
+
class lu extends io {
|
|
13570
13566
|
constructor(t) {
|
|
13571
13567
|
super(t, "helper", null);
|
|
13572
13568
|
}
|
|
@@ -13621,7 +13617,7 @@ class cu extends oo {
|
|
|
13621
13617
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13622
13618
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13623
13619
|
*/
|
|
13624
|
-
class
|
|
13620
|
+
class cu extends io {
|
|
13625
13621
|
constructor(t) {
|
|
13626
13622
|
super(t, "label", "label");
|
|
13627
13623
|
}
|
|
@@ -13674,7 +13670,7 @@ class uu extends oo {
|
|
|
13674
13670
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13675
13671
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13676
13672
|
*/
|
|
13677
|
-
const
|
|
13673
|
+
const uu = U(
|
|
13678
13674
|
(o) => class extends it(o) {
|
|
13679
13675
|
static get properties() {
|
|
13680
13676
|
return {
|
|
@@ -13689,7 +13685,7 @@ const du = U(
|
|
|
13689
13685
|
};
|
|
13690
13686
|
}
|
|
13691
13687
|
constructor() {
|
|
13692
|
-
super(), this._labelController = new
|
|
13688
|
+
super(), this._labelController = new cu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13693
13689
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13694
13690
|
});
|
|
13695
13691
|
}
|
|
@@ -13717,7 +13713,7 @@ const du = U(
|
|
|
13717
13713
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13718
13714
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13719
13715
|
*/
|
|
13720
|
-
const
|
|
13716
|
+
const br = U(
|
|
13721
13717
|
(o) => class extends o {
|
|
13722
13718
|
static get properties() {
|
|
13723
13719
|
return {
|
|
@@ -13789,7 +13785,7 @@ const vr = U(
|
|
|
13789
13785
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13790
13786
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13791
13787
|
*/
|
|
13792
|
-
const
|
|
13788
|
+
const du = (o) => class extends br(uu(it(o))) {
|
|
13793
13789
|
static get properties() {
|
|
13794
13790
|
return {
|
|
13795
13791
|
/**
|
|
@@ -13839,7 +13835,7 @@ const hu = (o) => class extends vr(du(it(o))) {
|
|
|
13839
13835
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13840
13836
|
}
|
|
13841
13837
|
constructor() {
|
|
13842
|
-
super(), this._fieldAriaController = new
|
|
13838
|
+
super(), this._fieldAriaController = new ru(this), this._helperController = new lu(this), this._errorController = new au(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13843
13839
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13844
13840
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13845
13841
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13930,7 +13926,7 @@ const hu = (o) => class extends vr(du(it(o))) {
|
|
|
13930
13926
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13931
13927
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13932
13928
|
*/
|
|
13933
|
-
const
|
|
13929
|
+
const hu = U(
|
|
13934
13930
|
(o) => class extends o {
|
|
13935
13931
|
static get properties() {
|
|
13936
13932
|
return {
|
|
@@ -14011,8 +14007,8 @@ const pu = U(
|
|
|
14011
14007
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14012
14008
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14013
14009
|
*/
|
|
14014
|
-
const
|
|
14015
|
-
(o) => class extends
|
|
14010
|
+
const vr = U(
|
|
14011
|
+
(o) => class extends hu(br(mr(o))) {
|
|
14016
14012
|
/**
|
|
14017
14013
|
* An array of attributes which participate in the input validation.
|
|
14018
14014
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14096,8 +14092,8 @@ const yr = U(
|
|
|
14096
14092
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14097
14093
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14098
14094
|
*/
|
|
14099
|
-
const
|
|
14100
|
-
|
|
14095
|
+
const pu = (o) => class extends tu(
|
|
14096
|
+
fr(vr(du(iu(Ut(o)))))
|
|
14101
14097
|
) {
|
|
14102
14098
|
static get properties() {
|
|
14103
14099
|
return {
|
|
@@ -14283,7 +14279,7 @@ const fu = (o) => class extends iu(
|
|
|
14283
14279
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14284
14280
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14285
14281
|
*/
|
|
14286
|
-
class
|
|
14282
|
+
class fu extends Le {
|
|
14287
14283
|
constructor(t, e, i = {}) {
|
|
14288
14284
|
const { uniqueIdPrefix: s } = i;
|
|
14289
14285
|
super(t, "input", "input", {
|
|
@@ -14300,7 +14296,7 @@ class mu extends Le {
|
|
|
14300
14296
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14301
14297
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14302
14298
|
*/
|
|
14303
|
-
class
|
|
14299
|
+
class mu {
|
|
14304
14300
|
constructor(t, e) {
|
|
14305
14301
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14306
14302
|
this.__initLabel(i.detail.node);
|
|
@@ -14333,7 +14329,7 @@ class _u {
|
|
|
14333
14329
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14334
14330
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14335
14331
|
*/
|
|
14336
|
-
const
|
|
14332
|
+
const _u = P`
|
|
14337
14333
|
[part='clear-button'] {
|
|
14338
14334
|
display: none;
|
|
14339
14335
|
cursor: default;
|
|
@@ -14352,7 +14348,7 @@ const gu = P`
|
|
|
14352
14348
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14353
14349
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14354
14350
|
*/
|
|
14355
|
-
const
|
|
14351
|
+
const gu = P`
|
|
14356
14352
|
:host {
|
|
14357
14353
|
display: inline-flex;
|
|
14358
14354
|
outline: none;
|
|
@@ -14392,7 +14388,7 @@ const bu = P`
|
|
|
14392
14388
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14393
14389
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14394
14390
|
*/
|
|
14395
|
-
const
|
|
14391
|
+
const bu = P`
|
|
14396
14392
|
[class$='container'] {
|
|
14397
14393
|
display: flex;
|
|
14398
14394
|
flex-direction: column;
|
|
@@ -14406,13 +14402,13 @@ const vu = P`
|
|
|
14406
14402
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14407
14403
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14408
14404
|
*/
|
|
14409
|
-
const
|
|
14405
|
+
const vu = [gu, bu, _u];
|
|
14410
14406
|
/**
|
|
14411
14407
|
* @license
|
|
14412
14408
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14413
14409
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14414
14410
|
*/
|
|
14415
|
-
const
|
|
14411
|
+
const yu = (o) => class extends o {
|
|
14416
14412
|
static get properties() {
|
|
14417
14413
|
return {
|
|
14418
14414
|
/**
|
|
@@ -14459,7 +14455,7 @@ const xu = (o) => class extends o {
|
|
|
14459
14455
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14460
14456
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14461
14457
|
*/
|
|
14462
|
-
class
|
|
14458
|
+
class xu {
|
|
14463
14459
|
/**
|
|
14464
14460
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14465
14461
|
*/
|
|
@@ -14478,8 +14474,8 @@ class wu {
|
|
|
14478
14474
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14479
14475
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14480
14476
|
*/
|
|
14481
|
-
const
|
|
14482
|
-
it(
|
|
14477
|
+
const wu = (o) => class extends yu(
|
|
14478
|
+
it(fr(vr(Ut(o))))
|
|
14483
14479
|
) {
|
|
14484
14480
|
static get properties() {
|
|
14485
14481
|
return {
|
|
@@ -14684,7 +14680,7 @@ const Eu = (o) => class extends xu(
|
|
|
14684
14680
|
if (i.length === 3) {
|
|
14685
14681
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14686
14682
|
const l = this.referenceDate ? at(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14687
|
-
a =
|
|
14683
|
+
a = wc(l, a, n, r);
|
|
14688
14684
|
}
|
|
14689
14685
|
} else
|
|
14690
14686
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14758,7 +14754,7 @@ const Eu = (o) => class extends xu(
|
|
|
14758
14754
|
/** @private */
|
|
14759
14755
|
_ios: {
|
|
14760
14756
|
type: Boolean,
|
|
14761
|
-
value:
|
|
14757
|
+
value: Us
|
|
14762
14758
|
},
|
|
14763
14759
|
/** @private */
|
|
14764
14760
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14846,7 +14842,7 @@ const Eu = (o) => class extends xu(
|
|
|
14846
14842
|
* @protected
|
|
14847
14843
|
*/
|
|
14848
14844
|
_onFocus(e) {
|
|
14849
|
-
super._onFocus(e), this._noInput && !
|
|
14845
|
+
super._onFocus(e), this._noInput && !Vi() && e.target.blur();
|
|
14850
14846
|
}
|
|
14851
14847
|
/**
|
|
14852
14848
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14858,10 +14854,10 @@ const Eu = (o) => class extends xu(
|
|
|
14858
14854
|
/** @protected */
|
|
14859
14855
|
ready() {
|
|
14860
14856
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14861
|
-
new
|
|
14857
|
+
new pr(this._fullscreenMediaQuery, (i) => {
|
|
14862
14858
|
this._fullscreen = i;
|
|
14863
14859
|
})
|
|
14864
|
-
), this.addController(new
|
|
14860
|
+
), this.addController(new xu(this));
|
|
14865
14861
|
const e = this.$.overlay;
|
|
14866
14862
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14867
14863
|
}
|
|
@@ -14917,7 +14913,7 @@ const Eu = (o) => class extends xu(
|
|
|
14917
14913
|
*/
|
|
14918
14914
|
__formatDate(e) {
|
|
14919
14915
|
if (this.i18n.formatDate)
|
|
14920
|
-
return this.i18n.formatDate(
|
|
14916
|
+
return this.i18n.formatDate(Xi(e));
|
|
14921
14917
|
}
|
|
14922
14918
|
/**
|
|
14923
14919
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15019,7 +15015,7 @@ const Eu = (o) => class extends xu(
|
|
|
15019
15015
|
}
|
|
15020
15016
|
/** @private */
|
|
15021
15017
|
_formatISO(e) {
|
|
15022
|
-
return
|
|
15018
|
+
return Sc(e);
|
|
15023
15019
|
}
|
|
15024
15020
|
/** @protected */
|
|
15025
15021
|
_inputElementChanged(e) {
|
|
@@ -15085,12 +15081,12 @@ const Eu = (o) => class extends xu(
|
|
|
15085
15081
|
const r = this._nativeInput;
|
|
15086
15082
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15087
15083
|
const n = this._noInput ? e : [r, e];
|
|
15088
|
-
this.__showOthers =
|
|
15084
|
+
this.__showOthers = Ws(n);
|
|
15089
15085
|
}
|
|
15090
15086
|
/** @private */
|
|
15091
15087
|
_getInitialPosition() {
|
|
15092
15088
|
const e = at(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15093
|
-
return e || et(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15089
|
+
return e || et(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? nr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15094
15090
|
}
|
|
15095
15091
|
/**
|
|
15096
15092
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15251,7 +15247,7 @@ const Eu = (o) => class extends xu(
|
|
|
15251
15247
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15252
15248
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15253
15249
|
*/
|
|
15254
|
-
const
|
|
15250
|
+
const Eu = P`
|
|
15255
15251
|
:host([opened]) {
|
|
15256
15252
|
pointer-events: auto;
|
|
15257
15253
|
}
|
|
@@ -15270,8 +15266,8 @@ const Su = P`
|
|
|
15270
15266
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15271
15267
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15272
15268
|
*/
|
|
15273
|
-
L("vaadin-date-picker", [
|
|
15274
|
-
class
|
|
15269
|
+
L("vaadin-date-picker", [vu, Eu], { moduleId: "vaadin-date-picker-styles" });
|
|
15270
|
+
class Su extends wu(pu($e(Xs(Me)))) {
|
|
15275
15271
|
static get is() {
|
|
15276
15272
|
return "vaadin-date-picker";
|
|
15277
15273
|
}
|
|
@@ -15331,7 +15327,7 @@ class Au extends Eu(fu($e(Zs(Me)))) {
|
|
|
15331
15327
|
/** @protected */
|
|
15332
15328
|
ready() {
|
|
15333
15329
|
super.ready(), this.addController(
|
|
15334
|
-
new
|
|
15330
|
+
new fu(
|
|
15335
15331
|
this,
|
|
15336
15332
|
(e) => {
|
|
15337
15333
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15343,7 +15339,7 @@ class Au extends Eu(fu($e(Zs(Me)))) {
|
|
|
15343
15339
|
uniqueIdPrefix: "search-input"
|
|
15344
15340
|
}
|
|
15345
15341
|
)
|
|
15346
|
-
), this.addController(new
|
|
15342
|
+
), this.addController(new mu(this.inputElement, this._labelController)), this._tooltipController = new Qs(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));
|
|
15347
15343
|
}
|
|
15348
15344
|
/** @private */
|
|
15349
15345
|
_onVaadinOverlayClose(t) {
|
|
@@ -15359,12 +15355,12 @@ class Au extends Eu(fu($e(Zs(Me)))) {
|
|
|
15359
15355
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15360
15356
|
}
|
|
15361
15357
|
}
|
|
15362
|
-
be(
|
|
15363
|
-
var
|
|
15358
|
+
be(Su);
|
|
15359
|
+
var yr = { exports: {} };
|
|
15364
15360
|
(function(o, t) {
|
|
15365
15361
|
(function(e, i) {
|
|
15366
15362
|
o.exports = i();
|
|
15367
|
-
})(
|
|
15363
|
+
})(Ar, function() {
|
|
15368
15364
|
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) {
|
|
15369
15365
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15370
15366
|
}, c = function(p) {
|
|
@@ -15489,16 +15485,16 @@ var xr = { exports: {} };
|
|
|
15489
15485
|
};
|
|
15490
15486
|
};
|
|
15491
15487
|
});
|
|
15492
|
-
})(
|
|
15493
|
-
var
|
|
15494
|
-
const
|
|
15495
|
-
function
|
|
15496
|
-
|
|
15488
|
+
})(yr);
|
|
15489
|
+
var Au = yr.exports;
|
|
15490
|
+
const Cu = /* @__PURE__ */ Sr(Au);
|
|
15491
|
+
function Wo(o, t) {
|
|
15492
|
+
Cr(o, t);
|
|
15497
15493
|
}
|
|
15498
|
-
function
|
|
15499
|
-
|
|
15494
|
+
function Pu(o) {
|
|
15495
|
+
Pr.set(o);
|
|
15500
15496
|
}
|
|
15501
|
-
const
|
|
15497
|
+
const qo = {
|
|
15502
15498
|
en: {
|
|
15503
15499
|
titleSelfExclusion: "Self-Exclusion",
|
|
15504
15500
|
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.",
|
|
@@ -15874,14 +15870,14 @@ const Ko = {
|
|
|
15874
15870
|
InvalidSession: "Oturum süresi doldu."
|
|
15875
15871
|
}
|
|
15876
15872
|
};
|
|
15877
|
-
function
|
|
15878
|
-
|
|
15873
|
+
function ku(o) {
|
|
15874
|
+
Mr(o, "svelte-st6cko", '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{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: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 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}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;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:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.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}}');
|
|
15879
15875
|
}
|
|
15880
|
-
function
|
|
15876
|
+
function Ko(o, t, e) {
|
|
15881
15877
|
const i = o.slice();
|
|
15882
15878
|
return i[56] = t[e], i;
|
|
15883
15879
|
}
|
|
15884
|
-
function
|
|
15880
|
+
function Du(o) {
|
|
15885
15881
|
let t, e, i, s, r = (
|
|
15886
15882
|
/*$_*/
|
|
15887
15883
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -15915,29 +15911,29 @@ function Tu(o) {
|
|
|
15915
15911
|
o[22]("save") + ""
|
|
15916
15912
|
), _e, Ae, Ce, Ie, Pe, ke, oe = (
|
|
15917
15913
|
/*isMobile*/
|
|
15918
|
-
o[24] &&
|
|
15919
|
-
), se =
|
|
15914
|
+
o[24] && Mu(o)
|
|
15915
|
+
), se = so(
|
|
15920
15916
|
/*selfExclusionPeriods*/
|
|
15921
15917
|
o[11]
|
|
15922
15918
|
), N = [];
|
|
15923
15919
|
for (let x = 0; x < se.length; x += 1)
|
|
15924
|
-
N[x] =
|
|
15920
|
+
N[x] = Go(Ko(o, se, x));
|
|
15925
15921
|
let z = (
|
|
15926
15922
|
/*isUntilDate*/
|
|
15927
|
-
o[18] &&
|
|
15923
|
+
o[18] && Jo(o)
|
|
15928
15924
|
);
|
|
15929
15925
|
function ve(x, M) {
|
|
15930
15926
|
return (
|
|
15931
15927
|
/*isPermanentSelfExclusion*/
|
|
15932
|
-
x[17] ?
|
|
15928
|
+
x[17] ? Fu : (
|
|
15933
15929
|
/*isDateSelected*/
|
|
15934
|
-
x[19] ?
|
|
15930
|
+
x[19] ? Ou : Iu
|
|
15935
15931
|
)
|
|
15936
15932
|
);
|
|
15937
15933
|
}
|
|
15938
15934
|
let fe = ve(o), X = fe(o), le = (
|
|
15939
15935
|
/*showConfirmationModal*/
|
|
15940
|
-
o[25] &&
|
|
15936
|
+
o[25] && Nu(o)
|
|
15941
15937
|
);
|
|
15942
15938
|
return {
|
|
15943
15939
|
c() {
|
|
@@ -16035,14 +16031,14 @@ function Tu(o) {
|
|
|
16035
16031
|
), M[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16036
16032
|
138414080
|
|
16037
16033
|
) {
|
|
16038
|
-
se =
|
|
16034
|
+
se = so(
|
|
16039
16035
|
/*selfExclusionPeriods*/
|
|
16040
16036
|
x[11]
|
|
16041
16037
|
);
|
|
16042
16038
|
let V;
|
|
16043
16039
|
for (V = 0; V < se.length; V += 1) {
|
|
16044
|
-
const wt =
|
|
16045
|
-
N[V] ? N[V].p(wt, M) : (N[V] =
|
|
16040
|
+
const wt = Ko(x, se, V);
|
|
16041
|
+
N[V] ? N[V].p(wt, M) : (N[V] = Go(wt), N[V].c(), N[V].m(H, null));
|
|
16046
16042
|
}
|
|
16047
16043
|
for (; V < N.length; V += 1)
|
|
16048
16044
|
N[V].d(1);
|
|
@@ -16061,7 +16057,7 @@ function Tu(o) {
|
|
|
16061
16057
|
/*isPeriodDropDownToggled*/
|
|
16062
16058
|
x[20]
|
|
16063
16059
|
), /*isUntilDate*/
|
|
16064
|
-
x[18] ? z ? z.p(x, M) : (z =
|
|
16060
|
+
x[18] ? z ? z.p(x, M) : (z = Jo(x), z.c(), z.m(e, pe)) : z && (z.d(1), z = null), fe === (fe = ve(x)) && X ? X.p(x, M) : (X.d(1), X = fe(x), X && (X.c(), X.m(q, null))), M[0] & /*$_*/
|
|
16065
16061
|
4194304 && ee !== (ee = /*$_*/
|
|
16066
16062
|
x[22]("save") + "") && ue(_e, ee), M[0] & /*isDateSelected*/
|
|
16067
16063
|
524288 && Ae !== (Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16071,16 +16067,16 @@ function Tu(o) {
|
|
|
16071
16067
|
x[25] && le.p(x, M);
|
|
16072
16068
|
},
|
|
16073
16069
|
d(x) {
|
|
16074
|
-
x && de(t), oe && oe.d(),
|
|
16070
|
+
x && de(t), oe && oe.d(), Nr(N, x), z && z.d(), X.d(), le && le.d(), Pe = !1, zr(ke);
|
|
16075
16071
|
}
|
|
16076
16072
|
};
|
|
16077
16073
|
}
|
|
16078
|
-
function
|
|
16074
|
+
function Tu(o) {
|
|
16079
16075
|
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g, y, v, C, A, D;
|
|
16080
16076
|
function G(B, T) {
|
|
16081
16077
|
return (
|
|
16082
16078
|
/*isMobile*/
|
|
16083
|
-
B[24] ?
|
|
16079
|
+
B[24] ? Lu : zu
|
|
16084
16080
|
);
|
|
16085
16081
|
}
|
|
16086
16082
|
let Y = G(o)(o);
|
|
@@ -16139,7 +16135,7 @@ function Mu(o) {
|
|
|
16139
16135
|
}
|
|
16140
16136
|
};
|
|
16141
16137
|
}
|
|
16142
|
-
function
|
|
16138
|
+
function Mu(o) {
|
|
16143
16139
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16144
16140
|
/*$_*/
|
|
16145
16141
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -16166,7 +16162,7 @@ function Ou(o) {
|
|
|
16166
16162
|
}
|
|
16167
16163
|
};
|
|
16168
16164
|
}
|
|
16169
|
-
function
|
|
16165
|
+
function Go(o) {
|
|
16170
16166
|
let t, e = (
|
|
16171
16167
|
/*$_*/
|
|
16172
16168
|
o[22](`${/*period*/
|
|
@@ -16199,7 +16195,7 @@ function Jo(o) {
|
|
|
16199
16195
|
}
|
|
16200
16196
|
};
|
|
16201
16197
|
}
|
|
16202
|
-
function
|
|
16198
|
+
function Jo(o) {
|
|
16203
16199
|
let t, e, i = (
|
|
16204
16200
|
/*$_*/
|
|
16205
16201
|
o[22]("duration") + ""
|
|
@@ -16263,7 +16259,7 @@ function Xo(o) {
|
|
|
16263
16259
|
}
|
|
16264
16260
|
};
|
|
16265
16261
|
}
|
|
16266
|
-
function
|
|
16262
|
+
function Ou(o) {
|
|
16267
16263
|
let t, e, i = (
|
|
16268
16264
|
/*$_*/
|
|
16269
16265
|
o[22]("temporarySelfExclusion", {
|
|
@@ -16305,7 +16301,7 @@ function Iu(o) {
|
|
|
16305
16301
|
}
|
|
16306
16302
|
};
|
|
16307
16303
|
}
|
|
16308
|
-
function
|
|
16304
|
+
function Iu(o) {
|
|
16309
16305
|
let t, e, i = (
|
|
16310
16306
|
/*$_*/
|
|
16311
16307
|
o[22]("noPeriodSelected") + ""
|
|
@@ -16327,7 +16323,7 @@ function Fu(o) {
|
|
|
16327
16323
|
}
|
|
16328
16324
|
};
|
|
16329
16325
|
}
|
|
16330
|
-
function
|
|
16326
|
+
function Fu(o) {
|
|
16331
16327
|
let t, e, i = (
|
|
16332
16328
|
/*$_*/
|
|
16333
16329
|
o[22]("permanentSelfExclusion") + ""
|
|
@@ -16349,7 +16345,7 @@ function Nu(o) {
|
|
|
16349
16345
|
}
|
|
16350
16346
|
};
|
|
16351
16347
|
}
|
|
16352
|
-
function
|
|
16348
|
+
function Nu(o) {
|
|
16353
16349
|
let t, e, i, s;
|
|
16354
16350
|
return {
|
|
16355
16351
|
c() {
|
|
@@ -16464,7 +16460,7 @@ function zu(o) {
|
|
|
16464
16460
|
}
|
|
16465
16461
|
};
|
|
16466
16462
|
}
|
|
16467
|
-
function
|
|
16463
|
+
function zu(o) {
|
|
16468
16464
|
let t;
|
|
16469
16465
|
return {
|
|
16470
16466
|
c() {
|
|
@@ -16478,7 +16474,7 @@ function Lu(o) {
|
|
|
16478
16474
|
}
|
|
16479
16475
|
};
|
|
16480
16476
|
}
|
|
16481
|
-
function
|
|
16477
|
+
function Lu(o) {
|
|
16482
16478
|
let t;
|
|
16483
16479
|
return {
|
|
16484
16480
|
c() {
|
|
@@ -16492,12 +16488,12 @@ function Ru(o) {
|
|
|
16492
16488
|
}
|
|
16493
16489
|
};
|
|
16494
16490
|
}
|
|
16495
|
-
function
|
|
16491
|
+
function Ru(o) {
|
|
16496
16492
|
let t;
|
|
16497
16493
|
function e(r, n) {
|
|
16498
16494
|
return (
|
|
16499
16495
|
/*skeletonLoading*/
|
|
16500
|
-
r[21] ?
|
|
16496
|
+
r[21] ? Tu : Du
|
|
16501
16497
|
);
|
|
16502
16498
|
}
|
|
16503
16499
|
let i = e(o), s = i(o);
|
|
@@ -16518,21 +16514,21 @@ function Bu(o) {
|
|
|
16518
16514
|
}
|
|
16519
16515
|
};
|
|
16520
16516
|
}
|
|
16521
|
-
function
|
|
16517
|
+
function Bu(o, t, e) {
|
|
16522
16518
|
let i;
|
|
16523
|
-
|
|
16524
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [], G = {}, R = y.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", F = "", J = "selectAPeriod", H = "", ae = "", pe =
|
|
16519
|
+
Or(o, $r, (_) => e(22, i = _)), xe.extend(Cu);
|
|
16520
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [], G = {}, R = y.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", F = "", J = "selectAPeriod", H = "", ae = "", pe = Ir(Y) !== "PC", q = !1, Q = !1, j = !1, $ = !1, ee = g === "true", _e = !0;
|
|
16525
16521
|
const Ae = () => {
|
|
16526
16522
|
fetch(p).then((Z) => Z.json()).then((Z) => {
|
|
16527
16523
|
Object.keys(Z).forEach((te) => {
|
|
16528
|
-
|
|
16524
|
+
Wo(te, Z[te]);
|
|
16529
16525
|
});
|
|
16530
16526
|
}).catch((Z) => {
|
|
16531
16527
|
console.log(Z);
|
|
16532
16528
|
});
|
|
16533
16529
|
};
|
|
16534
|
-
Object.keys(
|
|
16535
|
-
|
|
16530
|
+
Object.keys(qo).forEach((_) => {
|
|
16531
|
+
Wo(_, qo[_]);
|
|
16536
16532
|
});
|
|
16537
16533
|
const Ce = () => {
|
|
16538
16534
|
let _ = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
@@ -16670,20 +16666,20 @@ function Hu(o, t, e) {
|
|
|
16670
16666
|
A
|
|
16671
16667
|
);
|
|
16672
16668
|
};
|
|
16673
|
-
|
|
16669
|
+
Fr(() => (window.addEventListener("message", Ie, !1), () => {
|
|
16674
16670
|
A.removeEventListener("change", fe), window.removeEventListener("message", Ie);
|
|
16675
16671
|
}));
|
|
16676
16672
|
const le = () => {
|
|
16677
|
-
|
|
16673
|
+
Pu(a);
|
|
16678
16674
|
}, x = () => ve(), M = () => ke(), V = (_) => oe(_);
|
|
16679
16675
|
function wt(_) {
|
|
16680
|
-
|
|
16676
|
+
oo[_ ? "unshift" : "push"](() => {
|
|
16681
16677
|
A = _, e(10, A);
|
|
16682
16678
|
});
|
|
16683
16679
|
}
|
|
16684
|
-
const
|
|
16685
|
-
function
|
|
16686
|
-
|
|
16680
|
+
const wr = (_) => N(_);
|
|
16681
|
+
function Er(_) {
|
|
16682
|
+
oo[_ ? "unshift" : "push"](() => {
|
|
16687
16683
|
C = _, e(9, C);
|
|
16688
16684
|
});
|
|
16689
16685
|
}
|
|
@@ -16695,9 +16691,9 @@ function Hu(o, t, e) {
|
|
|
16695
16691
|
1073741827 | o.$$.dirty[1] & /*gmversion*/
|
|
16696
16692
|
1 && s && r && n && l && Ce(), o.$$.dirty[0] & /*calendar*/
|
|
16697
16693
|
1024 && A && X(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16698
|
-
576 && h && C &&
|
|
16699
|
-
640 && m && C &&
|
|
16700
|
-
768 && b && C &&
|
|
16694
|
+
576 && h && C && Lr(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16695
|
+
640 && m && C && Rr(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16696
|
+
768 && b && C && Br(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16701
16697
|
2 && p && Ae();
|
|
16702
16698
|
}, ee && se(), [
|
|
16703
16699
|
r,
|
|
@@ -16740,18 +16736,18 @@ function Hu(o, t, e) {
|
|
|
16740
16736
|
M,
|
|
16741
16737
|
V,
|
|
16742
16738
|
wt,
|
|
16743
|
-
|
|
16744
|
-
|
|
16739
|
+
wr,
|
|
16740
|
+
Er
|
|
16745
16741
|
];
|
|
16746
16742
|
}
|
|
16747
|
-
class
|
|
16743
|
+
class xr extends kr {
|
|
16748
16744
|
constructor(t) {
|
|
16749
|
-
super(),
|
|
16745
|
+
super(), Dr(
|
|
16750
16746
|
this,
|
|
16751
16747
|
t,
|
|
16752
|
-
Hu,
|
|
16753
16748
|
Bu,
|
|
16754
|
-
|
|
16749
|
+
Ru,
|
|
16750
|
+
Tr,
|
|
16755
16751
|
{
|
|
16756
16752
|
endpoint: 30,
|
|
16757
16753
|
session: 0,
|
|
@@ -16769,7 +16765,7 @@ class wr extends Dr {
|
|
|
16769
16765
|
dateformat: 34,
|
|
16770
16766
|
sendnotificationemail: 35
|
|
16771
16767
|
},
|
|
16772
|
-
|
|
16768
|
+
ku,
|
|
16773
16769
|
[-1, -1]
|
|
16774
16770
|
);
|
|
16775
16771
|
}
|
|
@@ -16864,12 +16860,12 @@ class wr extends Dr {
|
|
|
16864
16860
|
this.$$set({ sendnotificationemail: t }), ie();
|
|
16865
16861
|
}
|
|
16866
16862
|
}
|
|
16867
|
-
|
|
16868
|
-
const
|
|
16863
|
+
Hr(xr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16864
|
+
const Sd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16869
16865
|
__proto__: null,
|
|
16870
|
-
default:
|
|
16866
|
+
default: xr
|
|
16871
16867
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16872
16868
|
export {
|
|
16873
|
-
|
|
16874
|
-
|
|
16869
|
+
Cu as C,
|
|
16870
|
+
Sd as P
|
|
16875
16871
|
};
|