@everymatrix/player-account-controller 1.57.0 → 1.58.1
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-D1bnYvKD.js → GeneralLogout-BplfowFH.js} +617 -639
- package/components/{GeneralLogout-oWKFw5-U.js → GeneralLogout-DuABjNp8.js} +718 -740
- package/components/GeneralLogout-aDlrOvb2.cjs +21 -0
- package/components/{PlayerAccountBettingHistory-cvLnLJaM.js → PlayerAccountBettingHistory-BxCRppml.js} +127 -126
- package/components/PlayerAccountBettingHistory-CIfM4HLW.js +328 -0
- package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +1 -0
- package/components/{PlayerAccountBiometrics-ClTvex4w.js → PlayerAccountBiometrics-BEFosUME.js} +22 -22
- package/components/{PlayerAccountBiometrics-244_l2MD.js → PlayerAccountBiometrics-C8NBQKUw.js} +22 -22
- package/components/{PlayerAccountBiometrics-D3SdfZAk.cjs → PlayerAccountBiometrics-DTFbvNhj.cjs} +1 -1
- package/components/{PlayerAccountClosure-Dk5N1AgF.cjs → PlayerAccountClosure-B2Gy9x3G.cjs} +1 -1
- package/components/{PlayerAccountClosure-9BJkNHZ1.js → PlayerAccountClosure-D9hNArXT.js} +32 -32
- package/components/{PlayerAccountClosure-CUDjmpCz.js → PlayerAccountClosure-bkzdtq3v.js} +32 -32
- package/components/{PlayerAccountController-BR2iFVCe.js → PlayerAccountController-CtAC8Bkz.js} +2131 -2084
- package/components/{PlayerAccountController-rcttF6Lm.js → PlayerAccountController-DMXXG8tF.js} +2131 -2084
- package/components/PlayerAccountController-utJgFIt1.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-FIGZjiiE.cjs → PlayerAccountGamingLimits-BrtFDG1O.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C2OQmz0L.js → PlayerAccountGamingLimits-Dxz29F5p.js} +81 -81
- package/components/{PlayerAccountGamingLimits-CGZB2W3L.js → PlayerAccountGamingLimits-oNSvEvXz.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CMNuF6Yo.js → PlayerAccountGamingLimitsConfirmationModal-Bes0Svrr.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-apD3a9Bz.js → PlayerAccountGamingLimitsConfirmationModal-BhmpbfB9.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs → PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cj28m25L.js → PlayerAccountGamingLimitsGroupEdit-BS6wWGFd.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DrfWEw7D.js → PlayerAccountGamingLimitsGroupEdit-D2lkSHNX.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs → PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-D90-0n9S.cjs → PlayerAccountGamingLimitsHistory2-DGVBzjIn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CL7qYX9D.js → PlayerAccountGamingLimitsHistory2-DrrIUH-E.js} +48 -48
- package/components/{PlayerAccountGamingLimitsHistory2-CsMgI2vP.js → PlayerAccountGamingLimitsHistory2-_bX1iIJM.js} +46 -46
- package/components/{PlayerAccountGamingLimitsInfoCard-CFusXmG3.js → PlayerAccountGamingLimitsInfoCard-Cd2oTK9r.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-C-SGItlz.js → PlayerAccountGamingLimitsInfoCard-D73a50SO.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs → PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DoZ7M3C6.js → PlayerAccountGamingLimitsPage2Gm16-BikeP6Os.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BfV10mIx.js → PlayerAccountGamingLimitsPage2Gm16-DV_B0I-1.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DAMLMUMu.cjs → PlayerAccountGamingLimitsPage2Gm16-DzG7Yyop.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-4sFhABTh.js → PlayerAccountGamingLimitsPopup-BhxPf2k2.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Cut_OV-5.js → PlayerAccountGamingLimitsPopup-Bmo_d-SK.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs → PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-eTM9_1BC.js → PlayerAccountGamingLimitsWrapper2-CE96__tw.js} +20 -20
- package/components/{PlayerAccountGamingLimitsWrapper2-Cr_T1GBf.cjs → PlayerAccountGamingLimitsWrapper2-Cm_s6Fie.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BBhmB2BI.js → PlayerAccountGamingLimitsWrapper2-Dz66ld9y.js} +55 -55
- package/components/{PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs → PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-Cxl-LoG0.js → PlayerAccountGeneralConfirmationModal-DHO5sM_A.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-L97vGeau.js → PlayerAccountGeneralConfirmationModal-xn068Ofp.js} +34 -34
- package/components/{PlayerAccountMenu-DUTsp-yv.js → PlayerAccountMenu-2fRKWX72.js} +32 -32
- package/components/{PlayerAccountMenu-BIdnddS_.cjs → PlayerAccountMenu-B2ipwiXm.cjs} +1 -1
- package/components/{PlayerAccountMenu-CBgydCnL.js → PlayerAccountMenu-BZMOA6FB.js} +29 -29
- package/components/{PlayerAccountModal-tginaXbZ.cjs → PlayerAccountModal-BC3FTDl6.cjs} +1 -1
- package/components/{PlayerAccountModal-7R2WRCgZ.js → PlayerAccountModal-BPfkAiOY.js} +42 -42
- package/components/{PlayerAccountModal-C7_3et-5.js → PlayerAccountModal-DYanNf6b.js} +42 -42
- package/components/{PlayerAccountNotifications-DcYU4F80.js → PlayerAccountNotifications-989NFh5T.js} +32 -32
- package/components/{PlayerAccountNotifications-BLsxWrq2.cjs → PlayerAccountNotifications-CcTMD34l.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BQPI0SJW.js → PlayerAccountNotifications-DxM4yW0h.js} +31 -31
- package/components/{PlayerAccountSelfExclusion-DQemkHnw.js → PlayerAccountSelfExclusion-BrQUxdxS.js} +1896 -1785
- package/components/{PlayerAccountSelfExclusion-PIbK0zJN.cjs → PlayerAccountSelfExclusion-D4uJysE9.cjs} +160 -160
- package/components/{PlayerAccountSelfExclusion-EzdDd4JW.js → PlayerAccountSelfExclusion-tDcqpg8M.js} +1874 -1763
- package/components/{PlayerAccountTimeout-DC6dXEP7.js → PlayerAccountTimeout-1VU-R_sT.js} +58 -58
- package/components/{PlayerAccountTimeout-DqOYXUZt.cjs → PlayerAccountTimeout-BnBgpjeF.cjs} +1 -1
- package/components/{PlayerAccountTimeout-DGGqGhkZ.js → PlayerAccountTimeout-DAyJv6XI.js} +58 -58
- package/components/{PlayerActiveBonuses-BbsdliMe.js → PlayerActiveBonuses-BFVeH6mh.js} +74 -74
- package/components/{PlayerActiveBonuses-DTojdXrg.cjs → PlayerActiveBonuses-C2r4IPEL.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CS8nC9ys.js → PlayerActiveBonuses-zUVH_ST1.js} +73 -73
- package/components/{PlayerBonusCard-9sQnuijs.js → PlayerBonusCard-B-cs4cqg.js} +80 -80
- package/components/{PlayerBonusCard-QZKUlUnC.js → PlayerBonusCard-BX-b3HKZ.js} +80 -80
- package/components/{PlayerBonusCard-ihCApHIs.cjs → PlayerBonusCard-BrvsM8No.cjs} +1 -1
- package/components/{PlayerBonusHistory-DMC3iv-M.cjs → PlayerBonusHistory-B_a21BCE.cjs} +1 -1
- package/components/{PlayerBonusHistory-BXX10tEI.js → PlayerBonusHistory-Bg0Kax3B.js} +33 -33
- package/components/{PlayerBonusHistory-CbptkPyg.js → PlayerBonusHistory-CuOv2Hc4.js} +33 -33
- package/components/{PlayerChangePassword-DRF3YUcY.js → PlayerChangePassword-BXTWOpKM.js} +71 -71
- package/components/{PlayerChangePassword-DIVU7Hm-.js → PlayerChangePassword-CYvwu077.js} +71 -71
- package/components/{PlayerChangePassword-DZ0zUct-.cjs → PlayerChangePassword-CbBHjN4s.cjs} +1 -1
- package/components/{PlayerDeposit-Bu1poUUC.js → PlayerDeposit-BxvpoON-.js} +75 -75
- package/components/{PlayerDeposit-CC1ZNh0V.js → PlayerDeposit-VF5d6vUd.js} +75 -75
- package/components/PlayerDeposit-mr7WW9bf.cjs +1 -0
- package/components/{PlayerGamingHistory-CITsPSbY.cjs → PlayerGamingHistory-CorLWCJo.cjs} +1 -1
- package/components/{PlayerGamingHistory-CIZ2Ous8.js → PlayerGamingHistory-D3Ks9sA3.js} +84 -84
- package/components/{PlayerGamingHistory-LEBGykAk.js → PlayerGamingHistory-D_p5zZIW.js} +74 -74
- package/components/{PlayerPendingWithdrawals-CaouMSqA.js → PlayerPendingWithdrawals-CePMH1Ym.js} +26 -26
- package/components/{PlayerPendingWithdrawals-UG-bN1ca.cjs → PlayerPendingWithdrawals-D3hbZ7iV.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BAYRu_8K.js → PlayerPendingWithdrawals-DnRLD9Qj.js} +26 -26
- package/components/{PlayerProfileInfo-D3NxPM1Z.js → PlayerProfileInfo-BM9bYXPT.js} +56 -56
- package/components/{PlayerProfileInfo-DLth9JMy.cjs → PlayerProfileInfo-BST7W89r.cjs} +1 -1
- package/components/{PlayerProfileInfo-BLPDFygv.js → PlayerProfileInfo-CGh-HMYc.js} +56 -56
- package/components/{PlayerRealityCheck-BmVSMTSf.cjs → PlayerRealityCheck-DTbqf0Qh.cjs} +1 -1
- package/components/{PlayerRealityCheck-DL5sLluu.js → PlayerRealityCheck-Dkm-7UeP.js} +33 -33
- package/components/{PlayerRealityCheck-CI5fiJv3.js → PlayerRealityCheck-hu40INih.js} +33 -33
- package/components/{PlayerTransactionHistory-BGPDkKNI.js → PlayerTransactionHistory-CmHZLNzi.js} +24 -24
- package/components/{PlayerTransactionHistory-U2CncC4r.cjs → PlayerTransactionHistory-Cp--JykS.cjs} +1 -1
- package/components/{PlayerTransactionHistory-x-p-YOv6.js → PlayerTransactionHistory-Dob8ZHvF.js} +24 -24
- package/components/{PlayerWithdrawal-CsPPu5bX.cjs → PlayerWithdrawal-BocnE727.cjs} +1 -1
- package/components/{PlayerWithdrawal-BknOF8Sy.js → PlayerWithdrawal-DMasfo5k.js} +19 -19
- package/components/{PlayerWithdrawal-Cx3cOp7C.js → PlayerWithdrawal-fB3IW1Dc.js} +19 -19
- 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 +3 -2
- package/stencil/{checkbox-group-input_9-jMRVCzfy.cjs → checkbox-group-input_9-7pHEk7KK.cjs} +5 -5
- package/stencil/{checkbox-group-input_9-JSy4d2L9.js → checkbox-group-input_9-DSksAr33.js} +51 -53
- package/stencil/{checkbox-group-input_9-UDA-XaF9.js → checkbox-group-input_9-DyXG_RqX.js} +51 -53
- package/stencil/{general-input-C6k63W5y.js → general-input-CH-Wnz0o.js} +2 -2
- package/stencil/{general-input-TvqmX5hk.cjs → general-input-CX-Aoxyz.cjs} +1 -1
- package/stencil/{general-input-BbXpUFir.js → general-input-CuV9Y7I_.js} +2 -2
- package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +1 -0
- package/stencil/index-1ef3a64c-gNJv-qax.js +572 -0
- package/stencil/index-1ef3a64c-jZYsp9Sk.js +556 -0
- package/stencil/index-7c5e707a-40SRy2Ab.js +616 -0
- package/stencil/index-7c5e707a-B9tD4t-g.js +643 -0
- package/stencil/index-7c5e707a-DosLPDO6.cjs +1 -0
- package/stencil/index-9c0f6c58-CiH_jMvd.cjs +1 -0
- package/stencil/{index-9c0f6c58-CqoLeK5G.js → index-9c0f6c58-DRP3WpwA.js} +197 -197
- package/stencil/index-9c0f6c58-jtioo3_h.js +576 -0
- package/stencil/index-9cd44522-BMi5SCI8.cjs +1 -0
- package/stencil/index-9cd44522-C5PazzcR.js +626 -0
- package/stencil/index-9cd44522-CTVB6N0s.js +610 -0
- package/stencil/index-ae04a8b1-BIDvdZJs.js +532 -0
- package/stencil/index-ae04a8b1-BUa25EUq.cjs +1 -0
- package/stencil/index-ae04a8b1-BYWsXc_G.js +516 -0
- package/stencil/locale-BB2iZ4t0.cjs +1 -0
- package/stencil/{locale-BG_TzyDt.js → locale-ioQf6ZrW.js} +12 -6
- package/stencil/{password-input_2-DcXEnCK_.cjs → password-input_2-BmdsggMk.cjs} +2 -2
- package/stencil/{password-input_2-DsZJxliE.js → password-input_2-CPv8XrqV.js} +20 -20
- package/stencil/{password-input_2-DhPva8mM.js → password-input_2-oaROKAQs.js} +20 -20
- package/stencil/{player-change-password-gm2-039e300e-DiWG8cwr.js → player-change-password-gm2-039e300e-BVlNNts_.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-GCkrv9Aa.js → player-change-password-gm2-039e300e-CCcJUFnW.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BGXXN2fy.cjs → player-change-password-gm2-039e300e-CSWUPhYT.cjs} +1 -1
- package/stencil/{player-change-password-gm2-CWzdeleK.cjs → player-change-password-gm2-C3qCCE1E.cjs} +1 -1
- package/stencil/{player-change-password-gm2-BB9nhWGy.js → player-change-password-gm2-C6pxbnjL.js} +1 -1
- package/stencil/{player-change-password-gm2-B2cv54i2.js → player-change-password-gm2-Ckya-tLH.js} +1 -1
- package/stencil/{player-kyc-verification-B8arDCja.js → player-kyc-verification-CK7jvih_.js} +1 -1
- package/stencil/{player-kyc-verification-GFBDUbhm.cjs → player-kyc-verification-CWBei0Yk.cjs} +1 -1
- package/stencil/{player-kyc-verification-Di40xn9z.js → player-kyc-verification-ClECAHs-.js} +1 -1
- package/stencil/toggle-checkbox-input-B-OT73su.cjs +1 -0
- package/stencil/{toggle-checkbox-input-2FXfNCyw.js → toggle-checkbox-input-C-GcqDa0.js} +3 -3
- package/stencil/{toggle-checkbox-input-BZQethuD.js → toggle-checkbox-input-L8SjZwTW.js} +3 -3
- package/stencil/{ui-skeleton-DT0OMDC6.js → ui-skeleton-CWQGWUte.js} +2 -2
- package/stencil/{ui-skeleton-T4HYbNcC.js → ui-skeleton-DGSaG5JU.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-Ba-weZ4g.js → ui-skeleton-a642cced-21I14Ylk.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-B8H73O_q.cjs → ui-skeleton-a642cced-BXc76uPc.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-DhjmNsN7.js → ui-skeleton-a642cced-C5tlYQb-.js} +1 -1
- package/stencil/{ui-skeleton-BC4mw1ae.cjs → ui-skeleton-r-lLy7GD.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-DRe5oBqv.js → user-deposit-withdrawal-BISsu0Z-.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Dj3Po03r.js → user-deposit-withdrawal-BmOGfPLJ.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BQKFgZ31.cjs → user-deposit-withdrawal-C8N7GB9E.cjs} +1 -1
- package/stencil/{user-transaction-history-Dca7qx08.js → user-transaction-history-BO92Qvk4.js} +1 -1
- package/stencil/{user-transaction-history-6-z3byrF.js → user-transaction-history-Bg6onQ-I.js} +1 -1
- package/stencil/{user-transaction-history-DrhquxkJ.cjs → user-transaction-history-COJbthDt.cjs} +1 -1
- package/stencil/{vaadin-button-mixin-e8c3f355-BdntioNA.cjs → vaadin-button-mixin-5fa6ca77-BEoWt381.cjs} +94 -102
- package/stencil/{vaadin-button-mixin-e8c3f355-DON-rAuy.js → vaadin-button-mixin-5fa6ca77-DNBadodK.js} +569 -584
- package/stencil/{vaadin-button-mixin-e8c3f355-DQ5UgwNf.js → vaadin-button-mixin-5fa6ca77-SQip1zuF.js} +586 -601
- package/components/GeneralLogout-DKq7aXpj.cjs +0 -21
- package/components/PlayerAccountBettingHistory-B5a8vPwA.js +0 -329
- package/components/PlayerAccountBettingHistory-Ba0rbzAt.cjs +0 -1
- package/components/PlayerAccountController-D25Cayml.cjs +0 -1
- package/components/PlayerDeposit-2rXfB2O5.cjs +0 -1
- package/stencil/index-1ef3a64c-BnB-ATuA.js +0 -556
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +0 -1
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +0 -572
- package/stencil/index-7c5e707a-CTC8RpEi.js +0 -643
- package/stencil/index-7c5e707a-CWE0q0mP.js +0 -616
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +0 -1
- package/stencil/index-9c0f6c58-C1yzTenw.js +0 -576
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +0 -1
- package/stencil/index-9cd44522-BQ_s4zJm.js +0 -626
- package/stencil/index-9cd44522-BUwXI--9.js +0 -610
- package/stencil/index-9cd44522-lJqPKy7q.cjs +0 -1
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +0 -1
- package/stencil/index-ae04a8b1-fpBaOn88.js +0 -516
- package/stencil/index-ae04a8b1-ixlRj3zC.js +0 -532
- package/stencil/locale-B5abSHU_.cjs +0 -1
- package/stencil/toggle-checkbox-input-CA92JmGn.cjs +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var pr = Object.defineProperty, fr = Object.defineProperties;
|
|
2
|
+
var mr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ee = Object.getOwnPropertySymbols;
|
|
4
|
+
var _r = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Pe = (i, t, e) => t in i ? pr(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, Nt = (i, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
_r.call(t, e) && Pe(i, e, t[e]);
|
|
8
|
+
if (Ee)
|
|
9
|
+
for (var e of Ee(t))
|
|
10
|
+
gr.call(t, e) && Pe(i, e, t[e]);
|
|
11
11
|
return i;
|
|
12
|
-
}, kt = (i, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, kt = (i, t) => fr(i, mr(t));
|
|
13
|
+
var Te = (i, t, e) => new Promise((o, r) => {
|
|
14
14
|
var s = (l) => {
|
|
15
15
|
try {
|
|
16
16
|
a(e.next(l));
|
|
@@ -31,7 +31,7 @@ var Se = (i, t, e) => new Promise((o, r) => {
|
|
|
31
31
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
32
32
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33
33
|
*/
|
|
34
|
-
function
|
|
34
|
+
function mi(i, t = "24.5.11") {
|
|
35
35
|
Object.defineProperty(i, "version", {
|
|
36
36
|
get() {
|
|
37
37
|
return t;
|
|
@@ -52,18 +52,18 @@ function _i(i, t = "24.5.10") {
|
|
|
52
52
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
53
53
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
54
54
|
*/
|
|
55
|
-
class
|
|
55
|
+
class br extends HTMLElement {
|
|
56
56
|
static get is() {
|
|
57
57
|
return "vaadin-lumo-styles";
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
mi(br);
|
|
61
61
|
/**
|
|
62
62
|
* @license
|
|
63
63
|
* Copyright 2019 Google LLC
|
|
64
64
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
65
65
|
*/
|
|
66
|
-
const _t = globalThis, se = _t.ShadowRoot && (_t.ShadyCSS === void 0 || _t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ne = Symbol(),
|
|
66
|
+
const _t = globalThis, se = _t.ShadowRoot && (_t.ShadyCSS === void 0 || _t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ne = Symbol(), Se = /* @__PURE__ */ new WeakMap();
|
|
67
67
|
class ae {
|
|
68
68
|
constructor(t, e, o) {
|
|
69
69
|
if (this._$cssResult$ = !0, o !== ne)
|
|
@@ -75,7 +75,7 @@ class ae {
|
|
|
75
75
|
const e = this.t;
|
|
76
76
|
if (se && t === void 0) {
|
|
77
77
|
const o = e !== void 0 && e.length === 1;
|
|
78
|
-
o && (t =
|
|
78
|
+
o && (t = Se.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), o && Se.set(e, t));
|
|
79
79
|
}
|
|
80
80
|
return t;
|
|
81
81
|
}
|
|
@@ -83,7 +83,7 @@ class ae {
|
|
|
83
83
|
return this.cssText;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
const
|
|
86
|
+
const vr = (i) => new ae(typeof i == "string" ? i : i + "", void 0, ne), _ = (i, ...t) => {
|
|
87
87
|
const e = i.length === 1 ? i[0] : t.reduce((o, r, s) => o + ((n) => {
|
|
88
88
|
if (n._$cssResult$ === !0)
|
|
89
89
|
return n.cssText;
|
|
@@ -92,7 +92,7 @@ const yr = (i) => new ae(typeof i == "string" ? i : i + "", void 0, ne), _ = (i,
|
|
|
92
92
|
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.");
|
|
93
93
|
})(r) + i[s + 1], i[0]);
|
|
94
94
|
return new ae(e, i, ne);
|
|
95
|
-
},
|
|
95
|
+
}, _i = (i, t) => {
|
|
96
96
|
if (se)
|
|
97
97
|
i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
98
98
|
else
|
|
@@ -100,21 +100,21 @@ const yr = (i) => new ae(typeof i == "string" ? i : i + "", void 0, ne), _ = (i,
|
|
|
100
100
|
const o = document.createElement("style"), r = _t.litNonce;
|
|
101
101
|
r !== void 0 && o.setAttribute("nonce", r), o.textContent = e.cssText, i.appendChild(o);
|
|
102
102
|
}
|
|
103
|
-
},
|
|
103
|
+
}, Ne = se ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
|
|
104
104
|
let e = "";
|
|
105
105
|
for (const o of t.cssRules)
|
|
106
106
|
e += o.cssText;
|
|
107
|
-
return
|
|
107
|
+
return vr(e);
|
|
108
108
|
})(i) : i;
|
|
109
109
|
/**
|
|
110
110
|
* @license
|
|
111
111
|
* Copyright 2017 Google LLC
|
|
112
112
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
113
113
|
*/
|
|
114
|
-
const { is:
|
|
114
|
+
const { is: yr, defineProperty: wr, getOwnPropertyDescriptor: Ar, getOwnPropertyNames: xr, getOwnPropertySymbols: Cr, getPrototypeOf: Er } = Object, N = globalThis, ke = N.trustedTypes, Pr = ke ? ke.emptyScript : "", Ot = N.reactiveElementPolyfillSupport, et = (i, t) => i, jt = { toAttribute(i, t) {
|
|
115
115
|
switch (t) {
|
|
116
116
|
case Boolean:
|
|
117
|
-
i = i ?
|
|
117
|
+
i = i ? Pr : null;
|
|
118
118
|
break;
|
|
119
119
|
case Object:
|
|
120
120
|
case Array:
|
|
@@ -139,9 +139,9 @@ const { is: wr, defineProperty: Ar, getOwnPropertyDescriptor: xr, getOwnProperty
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
return e;
|
|
142
|
-
} },
|
|
143
|
-
var
|
|
144
|
-
(
|
|
142
|
+
} }, gi = (i, t) => !yr(i, t), Oe = { attribute: !0, type: String, converter: jt, reflect: !1, hasChanged: gi };
|
|
143
|
+
var di, ci;
|
|
144
|
+
(di = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (ci = N.litPropertyMetadata) != null || (N.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
145
145
|
class F extends HTMLElement {
|
|
146
146
|
static addInitializer(t) {
|
|
147
147
|
var e;
|
|
@@ -150,15 +150,15 @@ class F extends HTMLElement {
|
|
|
150
150
|
static get observedAttributes() {
|
|
151
151
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
152
152
|
}
|
|
153
|
-
static createProperty(t, e =
|
|
153
|
+
static createProperty(t, e = Oe) {
|
|
154
154
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
155
155
|
const o = Symbol(), r = this.getPropertyDescriptor(t, o, e);
|
|
156
|
-
r !== void 0 &&
|
|
156
|
+
r !== void 0 && wr(this.prototype, t, r);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
static getPropertyDescriptor(t, e, o) {
|
|
160
160
|
var n;
|
|
161
|
-
const { get: r, set: s } = (n =
|
|
161
|
+
const { get: r, set: s } = (n = Ar(this.prototype, t)) != null ? n : { get() {
|
|
162
162
|
return this[e];
|
|
163
163
|
}, set(a) {
|
|
164
164
|
this[e] = a;
|
|
@@ -172,19 +172,19 @@ class F extends HTMLElement {
|
|
|
172
172
|
}
|
|
173
173
|
static getPropertyOptions(t) {
|
|
174
174
|
var e;
|
|
175
|
-
return (e = this.elementProperties.get(t)) != null ? e :
|
|
175
|
+
return (e = this.elementProperties.get(t)) != null ? e : Oe;
|
|
176
176
|
}
|
|
177
177
|
static _$Ei() {
|
|
178
178
|
if (this.hasOwnProperty(et("elementProperties")))
|
|
179
179
|
return;
|
|
180
|
-
const t =
|
|
180
|
+
const t = Er(this);
|
|
181
181
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
182
182
|
}
|
|
183
183
|
static finalize() {
|
|
184
184
|
if (this.hasOwnProperty(et("finalized")))
|
|
185
185
|
return;
|
|
186
186
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(et("properties"))) {
|
|
187
|
-
const e = this.properties, o = [...
|
|
187
|
+
const e = this.properties, o = [...xr(e), ...Cr(e)];
|
|
188
188
|
for (const r of o)
|
|
189
189
|
this.createProperty(r, e[r]);
|
|
190
190
|
}
|
|
@@ -207,9 +207,9 @@ class F extends HTMLElement {
|
|
|
207
207
|
if (Array.isArray(t)) {
|
|
208
208
|
const o = new Set(t.flat(1 / 0).reverse());
|
|
209
209
|
for (const r of o)
|
|
210
|
-
e.unshift(
|
|
210
|
+
e.unshift(Ne(r));
|
|
211
211
|
} else
|
|
212
|
-
t !== void 0 && e.push(
|
|
212
|
+
t !== void 0 && e.push(Ne(t));
|
|
213
213
|
return e;
|
|
214
214
|
}
|
|
215
215
|
static _$Eu(t, e) {
|
|
@@ -240,7 +240,7 @@ class F extends HTMLElement {
|
|
|
240
240
|
createRenderRoot() {
|
|
241
241
|
var e;
|
|
242
242
|
const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
243
|
-
return
|
|
243
|
+
return _i(t, this.constructor.elementStyles), t;
|
|
244
244
|
}
|
|
245
245
|
connectedCallback() {
|
|
246
246
|
var t, e;
|
|
@@ -280,7 +280,7 @@ class F extends HTMLElement {
|
|
|
280
280
|
requestUpdate(t, e, o) {
|
|
281
281
|
var r;
|
|
282
282
|
if (t !== void 0) {
|
|
283
|
-
if (o != null || (o = this.constructor.getPropertyOptions(t)), !((r = o.hasChanged) != null ? r :
|
|
283
|
+
if (o != null || (o = this.constructor.getPropertyOptions(t)), !((r = o.hasChanged) != null ? r : gi)(this[t], e))
|
|
284
284
|
return;
|
|
285
285
|
this.P(t, e, o);
|
|
286
286
|
}
|
|
@@ -291,7 +291,7 @@ class F extends HTMLElement {
|
|
|
291
291
|
this._$AL.has(t) || this._$AL.set(t, e), o.reflect === !0 && this._$Em !== t && ((r = this._$Ej) != null ? r : this._$Ej = /* @__PURE__ */ new Set()).add(t);
|
|
292
292
|
}
|
|
293
293
|
_$ET() {
|
|
294
|
-
return
|
|
294
|
+
return Te(this, null, function* () {
|
|
295
295
|
this.isUpdatePending = !0;
|
|
296
296
|
try {
|
|
297
297
|
yield this._$ES;
|
|
@@ -361,40 +361,40 @@ class F extends HTMLElement {
|
|
|
361
361
|
firstUpdated(t) {
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
var
|
|
365
|
-
F.elementStyles = [], F.shadowRootOptions = { mode: "open" }, F[et("elementProperties")] = /* @__PURE__ */ new Map(), F[et("finalized")] = /* @__PURE__ */ new Map(), Ot == null || Ot({ ReactiveElement: F }), ((
|
|
364
|
+
var ui;
|
|
365
|
+
F.elementStyles = [], F.shadowRootOptions = { mode: "open" }, F[et("elementProperties")] = /* @__PURE__ */ new Map(), F[et("finalized")] = /* @__PURE__ */ new Map(), Ot == null || Ot({ ReactiveElement: F }), ((ui = N.reactiveElementVersions) != null ? ui : N.reactiveElementVersions = []).push("2.0.4");
|
|
366
366
|
/**
|
|
367
367
|
* @license
|
|
368
368
|
* Copyright 2017 Google LLC
|
|
369
369
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
370
370
|
*/
|
|
371
|
-
const it = globalThis, bt = it.trustedTypes,
|
|
372
|
-
\f\r]`, K = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
373
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
374
|
-
function
|
|
371
|
+
const it = globalThis, bt = it.trustedTypes, Me = bt ? bt.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, bi = "$lit$", S = `lit$${Math.random().toFixed(9).slice(2)}$`, vi = "?" + S, Tr = `<${vi}>`, $ = document, ot = () => $.createComment(""), st = (i) => i === null || typeof i != "object" && typeof i != "function", le = Array.isArray, Sr = (i) => le(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Mt = `[
|
|
372
|
+
\f\r]`, K = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ie = /-->/g, De = />/g, M = RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^
|
|
373
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ze = /'/g, Le = /"/g, yi = /^(?:script|style|textarea|title)$/i, q = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), $e = /* @__PURE__ */ new WeakMap(), I = $.createTreeWalker($, 129);
|
|
374
|
+
function wi(i, t) {
|
|
375
375
|
if (!le(i) || !i.hasOwnProperty("raw"))
|
|
376
376
|
throw Error("invalid template strings array");
|
|
377
|
-
return
|
|
377
|
+
return Me !== void 0 ? Me.createHTML(t) : t;
|
|
378
378
|
}
|
|
379
|
-
const
|
|
379
|
+
const Nr = (i, t) => {
|
|
380
380
|
const e = i.length - 1, o = [];
|
|
381
381
|
let r, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = K;
|
|
382
382
|
for (let a = 0; a < e; a++) {
|
|
383
383
|
const l = i[a];
|
|
384
384
|
let d, c, u = -1, h = 0;
|
|
385
385
|
for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); )
|
|
386
|
-
h = n.lastIndex, n === K ? c[1] === "!--" ? n =
|
|
386
|
+
h = n.lastIndex, n === K ? c[1] === "!--" ? n = Ie : c[1] !== void 0 ? n = De : c[2] !== void 0 ? (yi.test(c[2]) && (r = RegExp("</" + c[2], "g")), n = M) : c[3] !== void 0 && (n = M) : n === M ? c[0] === ">" ? (n = r != null ? r : K, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? M : c[3] === '"' ? Le : ze) : n === Le || n === ze ? n = M : n === Ie || n === De ? n = K : (n = M, r = void 0);
|
|
387
387
|
const p = n === M && i[a + 1].startsWith("/>") ? " " : "";
|
|
388
|
-
s += n === K ? l +
|
|
388
|
+
s += n === K ? l + Tr : u >= 0 ? (o.push(d), l.slice(0, u) + bi + l.slice(u) + S + p) : l + S + (u === -2 ? a : p);
|
|
389
389
|
}
|
|
390
|
-
return [
|
|
390
|
+
return [wi(i, s + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), o];
|
|
391
391
|
};
|
|
392
392
|
class nt {
|
|
393
393
|
constructor({ strings: t, _$litType$: e }, o) {
|
|
394
394
|
let r;
|
|
395
395
|
this.parts = [];
|
|
396
396
|
let s = 0, n = 0;
|
|
397
|
-
const a = t.length - 1, l = this.parts, [d, c] =
|
|
397
|
+
const a = t.length - 1, l = this.parts, [d, c] = Nr(t, e);
|
|
398
398
|
if (this.el = nt.createElement(d, o), I.currentNode = this.el.content, e === 2 || e === 3) {
|
|
399
399
|
const u = this.el.content.firstChild;
|
|
400
400
|
u.replaceWith(...u.childNodes);
|
|
@@ -403,12 +403,12 @@ class nt {
|
|
|
403
403
|
if (r.nodeType === 1) {
|
|
404
404
|
if (r.hasAttributes())
|
|
405
405
|
for (const u of r.getAttributeNames())
|
|
406
|
-
if (u.endsWith(
|
|
406
|
+
if (u.endsWith(bi)) {
|
|
407
407
|
const h = c[n++], p = r.getAttribute(u).split(S), m = /([.?@])?(.*)/.exec(h);
|
|
408
|
-
l.push({ type: 1, index: s, name: m[2], strings: p, ctor: m[1] === "." ?
|
|
408
|
+
l.push({ type: 1, index: s, name: m[2], strings: p, ctor: m[1] === "." ? Or : m[1] === "?" ? Mr : m[1] === "@" ? Ir : Ct }), r.removeAttribute(u);
|
|
409
409
|
} else
|
|
410
410
|
u.startsWith(S) && (l.push({ type: 6, index: s }), r.removeAttribute(u));
|
|
411
|
-
if (
|
|
411
|
+
if (yi.test(r.tagName)) {
|
|
412
412
|
const u = r.textContent.split(S), h = u.length - 1;
|
|
413
413
|
if (h > 0) {
|
|
414
414
|
r.textContent = bt ? bt.emptyScript : "";
|
|
@@ -418,7 +418,7 @@ class nt {
|
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
} else if (r.nodeType === 8)
|
|
421
|
-
if (r.data ===
|
|
421
|
+
if (r.data === vi)
|
|
422
422
|
l.push({ type: 2, index: s });
|
|
423
423
|
else {
|
|
424
424
|
let u = -1;
|
|
@@ -441,7 +441,7 @@ function Y(i, t, e = i, o) {
|
|
|
441
441
|
const s = st(t) ? void 0 : t._$litDirective$;
|
|
442
442
|
return (r == null ? void 0 : r.constructor) !== s && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), s === void 0 ? r = void 0 : (r = new s(i), r._$AT(i, e, o)), o !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[o] = r : e._$Cl = r), r !== void 0 && (t = Y(i, r._$AS(i, t.values), r, o)), t;
|
|
443
443
|
}
|
|
444
|
-
class
|
|
444
|
+
class kr {
|
|
445
445
|
constructor(t, e) {
|
|
446
446
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
447
447
|
}
|
|
@@ -459,7 +459,7 @@ class Or {
|
|
|
459
459
|
for (; l !== void 0; ) {
|
|
460
460
|
if (n === l.index) {
|
|
461
461
|
let c;
|
|
462
|
-
l.type === 2 ? c = new ht(s, s.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
462
|
+
l.type === 2 ? c = new ht(s, s.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (c = new Dr(s, this, t)), this._$AV.push(c), l = o[++a];
|
|
463
463
|
}
|
|
464
464
|
n !== (l == null ? void 0 : l.index) && (s = I.nextNode(), n++);
|
|
465
465
|
}
|
|
@@ -492,7 +492,7 @@ class ht {
|
|
|
492
492
|
return this._$AB;
|
|
493
493
|
}
|
|
494
494
|
_$AI(t, e = this) {
|
|
495
|
-
t = Y(this, t, e), st(t) ? t === g || t == null || t === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : t !== this._$AH && t !== q && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
495
|
+
t = Y(this, t, e), st(t) ? t === g || t == null || t === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : t !== this._$AH && t !== q && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Sr(t) ? this.k(t) : this._(t);
|
|
496
496
|
}
|
|
497
497
|
O(t) {
|
|
498
498
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -505,17 +505,17 @@ class ht {
|
|
|
505
505
|
}
|
|
506
506
|
$(t) {
|
|
507
507
|
var s;
|
|
508
|
-
const { values: e, _$litType$: o } = t, r = typeof o == "number" ? this._$AC(t) : (o.el === void 0 && (o.el = nt.createElement(
|
|
508
|
+
const { values: e, _$litType$: o } = t, r = typeof o == "number" ? this._$AC(t) : (o.el === void 0 && (o.el = nt.createElement(wi(o.h, o.h[0]), this.options)), o);
|
|
509
509
|
if (((s = this._$AH) == null ? void 0 : s._$AD) === r)
|
|
510
510
|
this._$AH.p(e);
|
|
511
511
|
else {
|
|
512
|
-
const n = new
|
|
512
|
+
const n = new kr(r, this), a = n.u(this.options);
|
|
513
513
|
n.p(e), this.T(a), this._$AH = n;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
_$AC(t) {
|
|
517
|
-
let e =
|
|
518
|
-
return e === void 0 &&
|
|
517
|
+
let e = $e.get(t.strings);
|
|
518
|
+
return e === void 0 && $e.set(t.strings, e = new nt(t)), e;
|
|
519
519
|
}
|
|
520
520
|
k(t) {
|
|
521
521
|
le(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -564,7 +564,7 @@ class Ct {
|
|
|
564
564
|
t === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
class
|
|
567
|
+
class Or extends Ct {
|
|
568
568
|
constructor() {
|
|
569
569
|
super(...arguments), this.type = 3;
|
|
570
570
|
}
|
|
@@ -572,7 +572,7 @@ class Mr extends Ct {
|
|
|
572
572
|
this.element[this.name] = t === g ? void 0 : t;
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
class
|
|
575
|
+
class Mr extends Ct {
|
|
576
576
|
constructor() {
|
|
577
577
|
super(...arguments), this.type = 4;
|
|
578
578
|
}
|
|
@@ -580,7 +580,7 @@ class Ir extends Ct {
|
|
|
580
580
|
this.element.toggleAttribute(this.name, !!t && t !== g);
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
class
|
|
583
|
+
class Ir extends Ct {
|
|
584
584
|
constructor(t, e, o, r, s) {
|
|
585
585
|
super(t, e, o, r, s), this.type = 5;
|
|
586
586
|
}
|
|
@@ -596,7 +596,7 @@ class Dr extends Ct {
|
|
|
596
596
|
typeof this._$AH == "function" ? this._$AH.call((o = (e = this.options) == null ? void 0 : e.host) != null ? o : this.element, t) : this._$AH.handleEvent(t);
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
class
|
|
599
|
+
class Dr {
|
|
600
600
|
constructor(t, e, o) {
|
|
601
601
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = o;
|
|
602
602
|
}
|
|
@@ -608,9 +608,9 @@ class zr {
|
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
610
|
const It = it.litHtmlPolyfillSupport;
|
|
611
|
-
var
|
|
612
|
-
It == null || It(nt, ht), ((
|
|
613
|
-
const
|
|
611
|
+
var hi;
|
|
612
|
+
It == null || It(nt, ht), ((hi = it.litHtmlVersions) != null ? hi : it.litHtmlVersions = []).push("3.2.1");
|
|
613
|
+
const zr = (i, t, e) => {
|
|
614
614
|
var s, n;
|
|
615
615
|
const o = (s = e == null ? void 0 : e.renderBefore) != null ? s : t;
|
|
616
616
|
let r = o._$litPart$;
|
|
@@ -636,7 +636,7 @@ class U extends F {
|
|
|
636
636
|
}
|
|
637
637
|
update(t) {
|
|
638
638
|
const e = this.render();
|
|
639
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
639
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = zr(e, this.renderRoot, this.renderOptions);
|
|
640
640
|
}
|
|
641
641
|
connectedCallback() {
|
|
642
642
|
var t;
|
|
@@ -650,18 +650,18 @@ class U extends F {
|
|
|
650
650
|
return q;
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
|
-
var
|
|
654
|
-
U._$litElement$ = !0, U.finalized = !0, (
|
|
653
|
+
var pi;
|
|
654
|
+
U._$litElement$ = !0, U.finalized = !0, (pi = globalThis.litElementHydrateSupport) == null || pi.call(globalThis, { LitElement: U });
|
|
655
655
|
const Dt = globalThis.litElementPolyfillSupport;
|
|
656
656
|
Dt == null || Dt({ LitElement: U });
|
|
657
|
-
var
|
|
658
|
-
((
|
|
657
|
+
var fi;
|
|
658
|
+
((fi = globalThis.litElementVersions) != null ? fi : globalThis.litElementVersions = []).push("4.1.1");
|
|
659
659
|
/**
|
|
660
660
|
* @license
|
|
661
661
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
662
662
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
663
663
|
*/
|
|
664
|
-
const
|
|
664
|
+
const Lr = (i) => class extends i {
|
|
665
665
|
static get properties() {
|
|
666
666
|
return {
|
|
667
667
|
/**
|
|
@@ -700,102 +700,102 @@ const $r = (i) => class extends i {
|
|
|
700
700
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
701
701
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
702
702
|
*/
|
|
703
|
-
const
|
|
704
|
-
function
|
|
703
|
+
const Ai = [], qt = /* @__PURE__ */ new Set(), de = /* @__PURE__ */ new Set();
|
|
704
|
+
function xi(i) {
|
|
705
705
|
return i && Object.prototype.hasOwnProperty.call(i, "__themes");
|
|
706
706
|
}
|
|
707
|
-
function
|
|
708
|
-
return
|
|
707
|
+
function $r(i) {
|
|
708
|
+
return xi(customElements.get(i));
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function Rr(i = []) {
|
|
711
711
|
return [i].flat(1 / 0).filter((t) => t instanceof ae ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Ci(i, t) {
|
|
714
714
|
return (i || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
715
715
|
}
|
|
716
|
-
function
|
|
716
|
+
function Ei(i) {
|
|
717
717
|
return i.map((t) => t.cssText).join(`
|
|
718
718
|
`);
|
|
719
719
|
}
|
|
720
720
|
const vt = "vaadin-themable-mixin-style";
|
|
721
|
-
function
|
|
721
|
+
function Br(i, t) {
|
|
722
722
|
const e = document.createElement("style");
|
|
723
|
-
e.id = vt, e.textContent =
|
|
723
|
+
e.id = vt, e.textContent = Ei(i), t.content.appendChild(e);
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function Fr(i) {
|
|
726
726
|
if (!i.shadowRoot)
|
|
727
727
|
return;
|
|
728
728
|
const t = i.constructor;
|
|
729
729
|
if (i instanceof U)
|
|
730
|
-
[...i.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
730
|
+
[...i.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), _i(i.shadowRoot, t.elementStyles);
|
|
731
731
|
else {
|
|
732
732
|
const e = i.shadowRoot.getElementById(vt), o = t.prototype._template;
|
|
733
733
|
e.textContent = o.content.getElementById(vt).textContent;
|
|
734
734
|
}
|
|
735
735
|
}
|
|
736
|
-
function
|
|
736
|
+
function Ur(i) {
|
|
737
737
|
qt.forEach((t) => {
|
|
738
738
|
const e = t.deref();
|
|
739
|
-
e instanceof i ?
|
|
739
|
+
e instanceof i ? Fr(e) : e || qt.delete(t);
|
|
740
740
|
});
|
|
741
741
|
}
|
|
742
|
-
function
|
|
742
|
+
function Pi(i) {
|
|
743
743
|
if (i.prototype instanceof U)
|
|
744
744
|
i.elementStyles = i.finalizeStyles(i.styles);
|
|
745
745
|
else {
|
|
746
746
|
const t = i.prototype._template;
|
|
747
|
-
t.content.getElementById(vt).textContent =
|
|
747
|
+
t.content.getElementById(vt).textContent = Ei(i.getStylesForThis());
|
|
748
748
|
}
|
|
749
749
|
de.forEach((t) => {
|
|
750
750
|
const e = customElements.get(t);
|
|
751
|
-
e !== i && e.prototype instanceof i &&
|
|
751
|
+
e !== i && e.prototype instanceof i && Pi(e);
|
|
752
752
|
});
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function Hr(i, t) {
|
|
755
755
|
const e = i.__themes;
|
|
756
756
|
return !e || !t ? !1 : e.some(
|
|
757
757
|
(o) => o.styles.some((r) => t.some((s) => s.cssText === r.cssText))
|
|
758
758
|
);
|
|
759
759
|
}
|
|
760
760
|
function O(i, t, e = {}) {
|
|
761
|
-
t =
|
|
761
|
+
t = Rr(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(i, t, e) : Ai.push({
|
|
762
762
|
themeFor: i,
|
|
763
763
|
styles: t,
|
|
764
764
|
include: e.include,
|
|
765
765
|
moduleId: e.moduleId
|
|
766
766
|
}), i && de.forEach((o) => {
|
|
767
|
-
if (
|
|
767
|
+
if (Ci(i, o) && $r(o)) {
|
|
768
768
|
const r = customElements.get(o);
|
|
769
|
-
|
|
769
|
+
Hr(r, t) ? console.warn(`Registering styles that already exist for ${o}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
770
770
|
`The custom element definition for "${o}" 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".`
|
|
771
|
-
),
|
|
771
|
+
), Pi(r), Ur(r);
|
|
772
772
|
}
|
|
773
773
|
});
|
|
774
774
|
}
|
|
775
775
|
function Yt() {
|
|
776
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
776
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Ai;
|
|
777
777
|
}
|
|
778
|
-
function
|
|
778
|
+
function Vr(i = "") {
|
|
779
779
|
let t = 0;
|
|
780
780
|
return i.startsWith("lumo-") || i.startsWith("material-") ? t = 1 : i.startsWith("vaadin-") && (t = 2), t;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function Ti(i) {
|
|
783
783
|
const t = [];
|
|
784
784
|
return i.include && [].concat(i.include).forEach((e) => {
|
|
785
785
|
const o = Yt().find((r) => r.moduleId === e);
|
|
786
|
-
o ? t.push(...
|
|
786
|
+
o ? t.push(...Ti(o), ...o.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
787
787
|
}, i.styles), t;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
790
|
-
const t = `${i}-default-theme`, e = Yt().filter((o) => o.moduleId !== t &&
|
|
789
|
+
function jr(i) {
|
|
790
|
+
const t = `${i}-default-theme`, e = Yt().filter((o) => o.moduleId !== t && Ci(o.themeFor, i)).map((o) => kt(Nt({}, o), {
|
|
791
791
|
// Prepend styles from included themes
|
|
792
|
-
styles: [...
|
|
792
|
+
styles: [...Ti(o), ...o.styles],
|
|
793
793
|
// Map moduleId to includePriority
|
|
794
|
-
includePriority:
|
|
794
|
+
includePriority: Vr(o.moduleId)
|
|
795
795
|
})).sort((o, r) => r.includePriority - o.includePriority);
|
|
796
796
|
return e.length > 0 ? e : Yt().filter((o) => o.moduleId === t);
|
|
797
797
|
}
|
|
798
|
-
const
|
|
798
|
+
const qr = (i) => class extends Lr(i) {
|
|
799
799
|
constructor() {
|
|
800
800
|
super(), qt.add(new WeakRef(this));
|
|
801
801
|
}
|
|
@@ -807,7 +807,7 @@ const Yr = (i) => class extends $r(i) {
|
|
|
807
807
|
if (super.finalize(), this.is && de.add(this.is), this.elementStyles)
|
|
808
808
|
return;
|
|
809
809
|
const e = this.prototype._template;
|
|
810
|
-
!e ||
|
|
810
|
+
!e || xi(this) || Br(this.getStylesForThis(), e);
|
|
811
811
|
}
|
|
812
812
|
/**
|
|
813
813
|
* Covers LitElement based component styling
|
|
@@ -825,7 +825,7 @@ const Yr = (i) => class extends $r(i) {
|
|
|
825
825
|
*/
|
|
826
826
|
static getStylesForThis() {
|
|
827
827
|
const e = i.__themes || [], o = Object.getPrototypeOf(this.prototype), r = (o ? o.constructor.__themes : []) || [];
|
|
828
|
-
this.__themes = [...e, ...r, ...
|
|
828
|
+
this.__themes = [...e, ...r, ...jr(this.is)];
|
|
829
829
|
const s = this.__themes.flatMap((n) => n.styles);
|
|
830
830
|
return s.filter((n, a) => a === s.lastIndexOf(n));
|
|
831
831
|
}
|
|
@@ -835,19 +835,19 @@ const Yr = (i) => class extends $r(i) {
|
|
|
835
835
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
836
836
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
837
837
|
*/
|
|
838
|
-
const
|
|
838
|
+
const Yr = (i, ...t) => {
|
|
839
839
|
const e = document.createElement("style");
|
|
840
840
|
e.id = i, e.textContent = t.map((o) => o.toString()).join(`
|
|
841
841
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
842
842
|
}, G = (i, ...t) => {
|
|
843
|
-
|
|
843
|
+
Yr(`lumo-${i}`, t);
|
|
844
844
|
};
|
|
845
845
|
/**
|
|
846
846
|
* @license
|
|
847
847
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
848
848
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
849
849
|
*/
|
|
850
|
-
const
|
|
850
|
+
const Wr = _`
|
|
851
851
|
:host {
|
|
852
852
|
/* Base (background) */
|
|
853
853
|
--lumo-base-color: #fff;
|
|
@@ -933,8 +933,8 @@ const Gr = _`
|
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
`;
|
|
936
|
-
G("color-props",
|
|
937
|
-
const
|
|
936
|
+
G("color-props", Wr);
|
|
937
|
+
const Gr = _`
|
|
938
938
|
[theme~='dark'] {
|
|
939
939
|
/* Base (background) */
|
|
940
940
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1053,13 +1053,13 @@ const Kr = _`
|
|
|
1053
1053
|
background: transparent;
|
|
1054
1054
|
}
|
|
1055
1055
|
`;
|
|
1056
|
-
O("",
|
|
1056
|
+
O("", Gr, { moduleId: "lumo-color" });
|
|
1057
1057
|
/**
|
|
1058
1058
|
* @license
|
|
1059
1059
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1060
1060
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1061
1061
|
*/
|
|
1062
|
-
const
|
|
1062
|
+
const Kr = _`
|
|
1063
1063
|
:host {
|
|
1064
1064
|
--lumo-size-xs: 1.625rem;
|
|
1065
1065
|
--lumo-size-s: 1.875rem;
|
|
@@ -1075,13 +1075,13 @@ const Jr = _`
|
|
|
1075
1075
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
1076
1076
|
}
|
|
1077
1077
|
`;
|
|
1078
|
-
G("sizing-props",
|
|
1078
|
+
G("sizing-props", Kr);
|
|
1079
1079
|
/**
|
|
1080
1080
|
* @license
|
|
1081
1081
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1082
1082
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1083
1083
|
*/
|
|
1084
|
-
const
|
|
1084
|
+
const Jr = _`
|
|
1085
1085
|
:host {
|
|
1086
1086
|
/* Border radius */
|
|
1087
1087
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1183,13 +1183,13 @@ _`
|
|
|
1183
1183
|
--vaadin-input-field-value-font-weight: 500;
|
|
1184
1184
|
}
|
|
1185
1185
|
`;
|
|
1186
|
-
G("style-props",
|
|
1186
|
+
G("style-props", Jr);
|
|
1187
1187
|
/**
|
|
1188
1188
|
* @license
|
|
1189
1189
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1190
1190
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1191
1191
|
*/
|
|
1192
|
-
const
|
|
1192
|
+
const Xr = _`
|
|
1193
1193
|
:host {
|
|
1194
1194
|
/* prettier-ignore */
|
|
1195
1195
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1209,7 +1209,7 @@ const Zr = _`
|
|
|
1209
1209
|
--lumo-line-height-s: 1.375;
|
|
1210
1210
|
--lumo-line-height-m: 1.625;
|
|
1211
1211
|
}
|
|
1212
|
-
`,
|
|
1212
|
+
`, Zr = _`
|
|
1213
1213
|
body,
|
|
1214
1214
|
:host {
|
|
1215
1215
|
font-family: var(--lumo-font-family);
|
|
@@ -1302,8 +1302,8 @@ const Zr = _`
|
|
|
1302
1302
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1303
1303
|
}
|
|
1304
1304
|
`;
|
|
1305
|
-
O("",
|
|
1306
|
-
G("typography-props",
|
|
1305
|
+
O("", Zr, { moduleId: "lumo-typography" });
|
|
1306
|
+
G("typography-props", Xr);
|
|
1307
1307
|
O(
|
|
1308
1308
|
"vaadin-input-container",
|
|
1309
1309
|
_`
|
|
@@ -1492,7 +1492,7 @@ O(
|
|
|
1492
1492
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1493
1493
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1494
1494
|
*/
|
|
1495
|
-
const
|
|
1495
|
+
const Qr = _`
|
|
1496
1496
|
@font-face {
|
|
1497
1497
|
font-family: 'lumo-icons';
|
|
1498
1498
|
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==)
|
|
@@ -1546,13 +1546,13 @@ const to = _`
|
|
|
1546
1546
|
--lumo-icons-user: '\\ea2a';
|
|
1547
1547
|
}
|
|
1548
1548
|
`;
|
|
1549
|
-
G("font-icons",
|
|
1549
|
+
G("font-icons", Qr);
|
|
1550
1550
|
/**
|
|
1551
1551
|
* @license
|
|
1552
1552
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1553
1553
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1554
1554
|
*/
|
|
1555
|
-
const
|
|
1555
|
+
const to = _`
|
|
1556
1556
|
:host {
|
|
1557
1557
|
/* Square */
|
|
1558
1558
|
--lumo-space-xs: 0.25rem;
|
|
@@ -1576,13 +1576,13 @@ const eo = _`
|
|
|
1576
1576
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
1577
1577
|
}
|
|
1578
1578
|
`;
|
|
1579
|
-
G("spacing-props",
|
|
1579
|
+
G("spacing-props", to);
|
|
1580
1580
|
/**
|
|
1581
1581
|
* @license
|
|
1582
1582
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1583
1583
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1584
1584
|
*/
|
|
1585
|
-
const
|
|
1585
|
+
const Si = _`
|
|
1586
1586
|
[part$='button'] {
|
|
1587
1587
|
flex: none;
|
|
1588
1588
|
width: 1em;
|
|
@@ -1610,13 +1610,13 @@ const Ni = _`
|
|
|
1610
1610
|
display: block;
|
|
1611
1611
|
}
|
|
1612
1612
|
`;
|
|
1613
|
-
O("",
|
|
1613
|
+
O("", Si, { moduleId: "lumo-field-button" });
|
|
1614
1614
|
/**
|
|
1615
1615
|
* @license
|
|
1616
1616
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1617
1617
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1618
1618
|
*/
|
|
1619
|
-
const
|
|
1619
|
+
const eo = _`
|
|
1620
1620
|
:host {
|
|
1621
1621
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
1622
1622
|
}
|
|
@@ -1678,7 +1678,7 @@ const io = _`
|
|
|
1678
1678
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1679
1679
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1680
1680
|
*/
|
|
1681
|
-
const
|
|
1681
|
+
const Ni = _`
|
|
1682
1682
|
[part='label'] {
|
|
1683
1683
|
align-self: flex-start;
|
|
1684
1684
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -1791,13 +1791,13 @@ const ki = _`
|
|
|
1791
1791
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
1792
1792
|
}
|
|
1793
1793
|
`;
|
|
1794
|
-
O("",
|
|
1794
|
+
O("", Ni, { moduleId: "lumo-required-field" });
|
|
1795
1795
|
/**
|
|
1796
1796
|
* @license
|
|
1797
1797
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1798
1798
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1799
1799
|
*/
|
|
1800
|
-
const
|
|
1800
|
+
const io = _`
|
|
1801
1801
|
:host {
|
|
1802
1802
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
1803
1803
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -1928,8 +1928,8 @@ const ro = _`
|
|
|
1928
1928
|
[part='clear-button']::before {
|
|
1929
1929
|
content: var(--lumo-icons-cross);
|
|
1930
1930
|
}
|
|
1931
|
-
`,
|
|
1932
|
-
O("",
|
|
1931
|
+
`, ro = [Ni, Si, eo, io];
|
|
1932
|
+
O("", ro, {
|
|
1933
1933
|
moduleId: "lumo-input-field-shared-styles"
|
|
1934
1934
|
});
|
|
1935
1935
|
/**
|
|
@@ -1953,9 +1953,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
1953
1953
|
Code distributed by Google as part of the polymer project is also
|
|
1954
1954
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
1955
1955
|
*/
|
|
1956
|
-
let
|
|
1956
|
+
let oo = /(url\()([^)]*)(\))/g, so = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, pt, A;
|
|
1957
1957
|
function rt(i, t) {
|
|
1958
|
-
if (i &&
|
|
1958
|
+
if (i && so.test(i) || i === "//")
|
|
1959
1959
|
return i;
|
|
1960
1960
|
if (pt === void 0) {
|
|
1961
1961
|
pt = !1;
|
|
@@ -1974,7 +1974,7 @@ function rt(i, t) {
|
|
|
1974
1974
|
return A || (A = document.implementation.createHTMLDocument("temp"), A.base = A.createElement("base"), A.head.appendChild(A.base), A.anchor = A.createElement("a"), A.body.appendChild(A.anchor)), A.base.href = t, A.anchor.href = i, A.anchor.href || i;
|
|
1975
1975
|
}
|
|
1976
1976
|
function ce(i, t) {
|
|
1977
|
-
return i.replace(
|
|
1977
|
+
return i.replace(oo, function(e, o, r, s) {
|
|
1978
1978
|
return o + "'" + rt(r.replace(/["']/g, ""), t) + "'" + s;
|
|
1979
1979
|
});
|
|
1980
1980
|
}
|
|
@@ -1990,7 +1990,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
1990
1990
|
Code distributed by Google as part of the polymer project is also
|
|
1991
1991
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
1992
1992
|
*/
|
|
1993
|
-
const
|
|
1993
|
+
const no = !window.ShadyDOM || !window.ShadyDOM.inUse, ao = no && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
1994
1994
|
(() => {
|
|
1995
1995
|
try {
|
|
1996
1996
|
const i = new CSSStyleSheet();
|
|
@@ -2001,7 +2001,7 @@ const ao = !window.ShadyDOM || !window.ShadyDOM.inUse, lo = ao && "adoptedStyleS
|
|
|
2001
2001
|
return !1;
|
|
2002
2002
|
}
|
|
2003
2003
|
})();
|
|
2004
|
-
let
|
|
2004
|
+
let lo = window.Polymer && window.Polymer.rootPath || ue(document.baseURI || window.location.href), yt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0, Wt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, co = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, uo = window.Polymer && window.Polymer.legacyOptimizations || !1, ho = window.Polymer && window.Polymer.legacyWarnings || !1, po = window.Polymer && window.Polymer.syncInitialRender || !1, Gt = window.Polymer && window.Polymer.legacyUndefined || !1, fo = window.Polymer && window.Polymer.orderedComputed || !1, Re = window.Polymer && window.Polymer.removeNestedTemplates || !1, mo = window.Polymer && window.Polymer.fastDomIf || !1, ea = window.Polymer && window.Polymer.suppressTemplateNotifications || !1, _o = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2005
2005
|
/**
|
|
2006
2006
|
@license
|
|
2007
2007
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2011,14 +2011,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2011
2011
|
Code distributed by Google as part of the polymer project is also
|
|
2012
2012
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2013
2013
|
*/
|
|
2014
|
-
let
|
|
2014
|
+
let go = 0;
|
|
2015
2015
|
const b = function(i) {
|
|
2016
2016
|
let t = (
|
|
2017
2017
|
/** @type {!MixinFunction} */
|
|
2018
2018
|
i.__mixinApplications
|
|
2019
2019
|
);
|
|
2020
2020
|
t || (t = /* @__PURE__ */ new WeakMap(), i.__mixinApplications = t);
|
|
2021
|
-
let e =
|
|
2021
|
+
let e = go++;
|
|
2022
2022
|
function o(r) {
|
|
2023
2023
|
let s = (
|
|
2024
2024
|
/** @type {!MixinFunction} */
|
|
@@ -2049,14 +2049,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2049
2049
|
Code distributed by Google as part of the polymer project is also
|
|
2050
2050
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2051
2051
|
*/
|
|
2052
|
-
let he = {},
|
|
2053
|
-
function
|
|
2054
|
-
he[i] =
|
|
2052
|
+
let he = {}, ki = {};
|
|
2053
|
+
function Be(i, t) {
|
|
2054
|
+
he[i] = ki[i.toLowerCase()] = t;
|
|
2055
2055
|
}
|
|
2056
|
-
function
|
|
2057
|
-
return he[i] ||
|
|
2056
|
+
function Fe(i) {
|
|
2057
|
+
return he[i] || ki[i.toLowerCase()];
|
|
2058
2058
|
}
|
|
2059
|
-
function
|
|
2059
|
+
function bo(i) {
|
|
2060
2060
|
i.querySelector("style") && console.warn("dom-module %s has style outside template", i.id);
|
|
2061
2061
|
}
|
|
2062
2062
|
class at extends HTMLElement {
|
|
@@ -2077,7 +2077,7 @@ class at extends HTMLElement {
|
|
|
2077
2077
|
*/
|
|
2078
2078
|
static import(t, e) {
|
|
2079
2079
|
if (t) {
|
|
2080
|
-
let o =
|
|
2080
|
+
let o = Fe(t);
|
|
2081
2081
|
return o && e ? o.querySelector(e) : o;
|
|
2082
2082
|
}
|
|
2083
2083
|
return null;
|
|
@@ -2125,9 +2125,9 @@ class at extends HTMLElement {
|
|
|
2125
2125
|
*/
|
|
2126
2126
|
register(t) {
|
|
2127
2127
|
if (t = t || this.id, t) {
|
|
2128
|
-
if (Wt &&
|
|
2129
|
-
throw
|
|
2130
|
-
this.id = t,
|
|
2128
|
+
if (Wt && Fe(t) !== void 0)
|
|
2129
|
+
throw Be(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2130
|
+
this.id = t, Be(t, this), bo(this);
|
|
2131
2131
|
}
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
@@ -2142,14 +2142,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2142
2142
|
Code distributed by Google as part of the polymer project is also
|
|
2143
2143
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2144
2144
|
*/
|
|
2145
|
-
const
|
|
2146
|
-
function
|
|
2145
|
+
const vo = "link[rel=import][type~=css]", yo = "include", Ue = "shady-unscoped";
|
|
2146
|
+
function Oi(i) {
|
|
2147
2147
|
return (
|
|
2148
2148
|
/** @type {?DomModule} */
|
|
2149
2149
|
at.import(i)
|
|
2150
2150
|
);
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2152
|
+
function He(i) {
|
|
2153
2153
|
let t = i.body ? i.body : i;
|
|
2154
2154
|
const e = ce(
|
|
2155
2155
|
t.textContent,
|
|
@@ -2157,24 +2157,24 @@ function Ve(i) {
|
|
|
2157
2157
|
), o = document.createElement("style");
|
|
2158
2158
|
return o.textContent = e, o;
|
|
2159
2159
|
}
|
|
2160
|
-
function
|
|
2160
|
+
function wo(i) {
|
|
2161
2161
|
const t = i.trim().split(/\s+/), e = [];
|
|
2162
2162
|
for (let o = 0; o < t.length; o++)
|
|
2163
|
-
e.push(...
|
|
2163
|
+
e.push(...Ao(t[o]));
|
|
2164
2164
|
return e;
|
|
2165
2165
|
}
|
|
2166
|
-
function
|
|
2167
|
-
const t =
|
|
2166
|
+
function Ao(i) {
|
|
2167
|
+
const t = Oi(i);
|
|
2168
2168
|
if (!t)
|
|
2169
2169
|
return console.warn("Could not find style data in module named", i), [];
|
|
2170
2170
|
if (t._styles === void 0) {
|
|
2171
2171
|
const e = [];
|
|
2172
|
-
e.push(...
|
|
2172
|
+
e.push(...Ii(t));
|
|
2173
2173
|
const o = (
|
|
2174
2174
|
/** @type {?HTMLTemplateElement} */
|
|
2175
2175
|
t.querySelector("template")
|
|
2176
2176
|
);
|
|
2177
|
-
o && e.push(...
|
|
2177
|
+
o && e.push(...Mi(
|
|
2178
2178
|
o,
|
|
2179
2179
|
/** @type {templateWithAssetPath} */
|
|
2180
2180
|
t.assetpath
|
|
@@ -2182,12 +2182,12 @@ function xo(i) {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
return t._styles;
|
|
2184
2184
|
}
|
|
2185
|
-
function
|
|
2185
|
+
function Mi(i, t) {
|
|
2186
2186
|
if (!i._styles) {
|
|
2187
2187
|
const e = [], o = i.content.querySelectorAll("style");
|
|
2188
2188
|
for (let r = 0; r < o.length; r++) {
|
|
2189
|
-
let s = o[r], n = s.getAttribute(
|
|
2190
|
-
n && e.push(...
|
|
2189
|
+
let s = o[r], n = s.getAttribute(yo);
|
|
2190
|
+
n && e.push(...wo(n).filter(function(a, l, d) {
|
|
2191
2191
|
return d.indexOf(a) === l;
|
|
2192
2192
|
})), t && (s.textContent = ce(
|
|
2193
2193
|
s.textContent,
|
|
@@ -2199,21 +2199,21 @@ function Ii(i, t) {
|
|
|
2199
2199
|
}
|
|
2200
2200
|
return i._styles;
|
|
2201
2201
|
}
|
|
2202
|
-
function
|
|
2203
|
-
let t =
|
|
2204
|
-
return t ?
|
|
2202
|
+
function xo(i) {
|
|
2203
|
+
let t = Oi(i);
|
|
2204
|
+
return t ? Ii(t) : [];
|
|
2205
2205
|
}
|
|
2206
|
-
function
|
|
2207
|
-
const t = [], e = i.querySelectorAll(
|
|
2206
|
+
function Ii(i) {
|
|
2207
|
+
const t = [], e = i.querySelectorAll(vo);
|
|
2208
2208
|
for (let o = 0; o < e.length; o++) {
|
|
2209
2209
|
let r = e[o];
|
|
2210
2210
|
if (r.import) {
|
|
2211
|
-
const s = r.import, n = r.hasAttribute(
|
|
2211
|
+
const s = r.import, n = r.hasAttribute(Ue);
|
|
2212
2212
|
if (n && !s._unscopedStyle) {
|
|
2213
|
-
const a =
|
|
2214
|
-
a.setAttribute(
|
|
2213
|
+
const a = He(s);
|
|
2214
|
+
a.setAttribute(Ue, ""), s._unscopedStyle = a;
|
|
2215
2215
|
} else
|
|
2216
|
-
s._style || (s._style =
|
|
2216
|
+
s._style || (s._style = He(s));
|
|
2217
2217
|
t.push(n ? s._unscopedStyle : s._style);
|
|
2218
2218
|
}
|
|
2219
2219
|
}
|
|
@@ -2245,7 +2245,7 @@ function R(i) {
|
|
|
2245
2245
|
let t = i.indexOf(".");
|
|
2246
2246
|
return t === -1 ? i : i.slice(0, t);
|
|
2247
2247
|
}
|
|
2248
|
-
function
|
|
2248
|
+
function Di(i, t) {
|
|
2249
2249
|
return i.indexOf(t + ".") === 0;
|
|
2250
2250
|
}
|
|
2251
2251
|
function lt(i, t) {
|
|
@@ -2254,8 +2254,8 @@ function lt(i, t) {
|
|
|
2254
2254
|
function wt(i, t, e) {
|
|
2255
2255
|
return t + e.slice(i.length);
|
|
2256
2256
|
}
|
|
2257
|
-
function
|
|
2258
|
-
return i === t ||
|
|
2257
|
+
function ia(i, t) {
|
|
2258
|
+
return i === t || Di(i, t) || lt(i, t);
|
|
2259
2259
|
}
|
|
2260
2260
|
function Q(i) {
|
|
2261
2261
|
if (Array.isArray(i)) {
|
|
@@ -2269,11 +2269,11 @@ function Q(i) {
|
|
|
2269
2269
|
} else
|
|
2270
2270
|
return i;
|
|
2271
2271
|
}
|
|
2272
|
-
function
|
|
2272
|
+
function zi(i) {
|
|
2273
2273
|
return Array.isArray(i) ? Q(i).split(".") : i.toString().split(".");
|
|
2274
2274
|
}
|
|
2275
2275
|
function v(i, t, e) {
|
|
2276
|
-
let o = i, r =
|
|
2276
|
+
let o = i, r = zi(t);
|
|
2277
2277
|
for (let s = 0; s < r.length; s++) {
|
|
2278
2278
|
if (!o)
|
|
2279
2279
|
return;
|
|
@@ -2282,8 +2282,8 @@ function v(i, t, e) {
|
|
|
2282
2282
|
}
|
|
2283
2283
|
return e && (e.path = r.join(".")), o;
|
|
2284
2284
|
}
|
|
2285
|
-
function
|
|
2286
|
-
let o = i, r =
|
|
2285
|
+
function Ve(i, t, e) {
|
|
2286
|
+
let o = i, r = zi(t), s = r[r.length - 1];
|
|
2287
2287
|
if (r.length > 1) {
|
|
2288
2288
|
for (let n = 0; n < r.length - 1; n++) {
|
|
2289
2289
|
let a = r[n];
|
|
@@ -2304,15 +2304,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2304
2304
|
Code distributed by Google as part of the polymer project is also
|
|
2305
2305
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2306
2306
|
*/
|
|
2307
|
-
const At = {},
|
|
2308
|
-
function
|
|
2307
|
+
const At = {}, Co = /-[a-z]/g, Eo = /([A-Z])/g;
|
|
2308
|
+
function Li(i) {
|
|
2309
2309
|
return At[i] || (At[i] = i.indexOf("-") < 0 ? i : i.replace(
|
|
2310
|
-
|
|
2310
|
+
Co,
|
|
2311
2311
|
(t) => t[1].toUpperCase()
|
|
2312
2312
|
));
|
|
2313
2313
|
}
|
|
2314
2314
|
function Et(i) {
|
|
2315
|
-
return At[i] || (At[i] = i.replace(
|
|
2315
|
+
return At[i] || (At[i] = i.replace(Eo, "-$1").toLowerCase());
|
|
2316
2316
|
}
|
|
2317
2317
|
/**
|
|
2318
2318
|
@license
|
|
@@ -2323,9 +2323,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2323
2323
|
Code distributed by Google as part of the polymer project is also
|
|
2324
2324
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2325
2325
|
*/
|
|
2326
|
-
let
|
|
2327
|
-
new window.MutationObserver(
|
|
2328
|
-
function
|
|
2326
|
+
let Po = 0, $i = 0, H = [], To = 0, Jt = !1, Ri = document.createTextNode("");
|
|
2327
|
+
new window.MutationObserver(So).observe(Ri, { characterData: !0 });
|
|
2328
|
+
function So() {
|
|
2329
2329
|
Jt = !1;
|
|
2330
2330
|
const i = H.length;
|
|
2331
2331
|
for (let t = 0; t < i; t++) {
|
|
@@ -2339,9 +2339,9 @@ function No() {
|
|
|
2339
2339
|
});
|
|
2340
2340
|
}
|
|
2341
2341
|
}
|
|
2342
|
-
H.splice(0, i),
|
|
2342
|
+
H.splice(0, i), $i += i;
|
|
2343
2343
|
}
|
|
2344
|
-
const
|
|
2344
|
+
const ra = {
|
|
2345
2345
|
/**
|
|
2346
2346
|
* Returns a sub-module with the async interface providing the provided
|
|
2347
2347
|
* delay.
|
|
@@ -2381,7 +2381,7 @@ const oa = {
|
|
|
2381
2381
|
cancel(i) {
|
|
2382
2382
|
window.clearTimeout(i);
|
|
2383
2383
|
}
|
|
2384
|
-
},
|
|
2384
|
+
}, No = {
|
|
2385
2385
|
/**
|
|
2386
2386
|
* Enqueues a function called at microtask timing.
|
|
2387
2387
|
*
|
|
@@ -2390,7 +2390,7 @@ const oa = {
|
|
|
2390
2390
|
* @return {number} Handle used for canceling task
|
|
2391
2391
|
*/
|
|
2392
2392
|
run(i) {
|
|
2393
|
-
return Jt || (Jt = !0,
|
|
2393
|
+
return Jt || (Jt = !0, Ri.textContent = To++), H.push(i), Po++;
|
|
2394
2394
|
},
|
|
2395
2395
|
/**
|
|
2396
2396
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -2400,7 +2400,7 @@ const oa = {
|
|
|
2400
2400
|
* @return {void}
|
|
2401
2401
|
*/
|
|
2402
2402
|
cancel(i) {
|
|
2403
|
-
const t = i -
|
|
2403
|
+
const t = i - $i;
|
|
2404
2404
|
if (t >= 0) {
|
|
2405
2405
|
if (!H[t])
|
|
2406
2406
|
throw new Error("invalid async handle: " + i);
|
|
@@ -2417,7 +2417,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2417
2417
|
Code distributed by Google as part of the polymer project is also
|
|
2418
2418
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2419
2419
|
*/
|
|
2420
|
-
const
|
|
2420
|
+
const ko = No, Bi = b(
|
|
2421
2421
|
/**
|
|
2422
2422
|
* @template T
|
|
2423
2423
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -2626,7 +2626,7 @@ const Oo = ko, Fi = b(
|
|
|
2626
2626
|
* @override
|
|
2627
2627
|
*/
|
|
2628
2628
|
_invalidateProperties() {
|
|
2629
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
2629
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, ko.run(() => {
|
|
2630
2630
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
2631
2631
|
}));
|
|
2632
2632
|
}
|
|
@@ -2853,23 +2853,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2853
2853
|
Code distributed by Google as part of the polymer project is also
|
|
2854
2854
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2855
2855
|
*/
|
|
2856
|
-
const
|
|
2856
|
+
const Fi = {};
|
|
2857
2857
|
let ft = HTMLElement.prototype;
|
|
2858
2858
|
for (; ft; ) {
|
|
2859
2859
|
let i = Object.getOwnPropertyNames(ft);
|
|
2860
2860
|
for (let t = 0; t < i.length; t++)
|
|
2861
|
-
|
|
2861
|
+
Fi[i[t]] = !0;
|
|
2862
2862
|
ft = Object.getPrototypeOf(ft);
|
|
2863
2863
|
}
|
|
2864
|
-
const
|
|
2865
|
-
function
|
|
2866
|
-
if (!
|
|
2864
|
+
const Oo = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
|
|
2865
|
+
function Mo(i, t) {
|
|
2866
|
+
if (!Fi[t]) {
|
|
2867
2867
|
let e = i[t];
|
|
2868
2868
|
e !== void 0 && (i.__data ? i._setPendingProperty(t, e) : (i.__dataProto ? i.hasOwnProperty(JSCompiler_renameProperty("__dataProto", i)) || (i.__dataProto = Object.create(i.__dataProto)) : i.__dataProto = {}, i.__dataProto[t] = e));
|
|
2869
2869
|
}
|
|
2870
2870
|
}
|
|
2871
|
-
const
|
|
2872
|
-
const t =
|
|
2871
|
+
const Io = b((i) => {
|
|
2872
|
+
const t = Bi(i);
|
|
2873
2873
|
class e extends t {
|
|
2874
2874
|
/**
|
|
2875
2875
|
* Generates property accessors for all attributes in the standard
|
|
@@ -2887,7 +2887,7 @@ const Do = b((i) => {
|
|
|
2887
2887
|
this.observedAttributes
|
|
2888
2888
|
);
|
|
2889
2889
|
for (let s = 0; s < r.length; s++)
|
|
2890
|
-
this.prototype._createPropertyAccessor(
|
|
2890
|
+
this.prototype._createPropertyAccessor(Li(r[s]));
|
|
2891
2891
|
}
|
|
2892
2892
|
/**
|
|
2893
2893
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -2964,7 +2964,7 @@ const Do = b((i) => {
|
|
|
2964
2964
|
if (r instanceof Date)
|
|
2965
2965
|
return r.toString();
|
|
2966
2966
|
if (r) {
|
|
2967
|
-
if (
|
|
2967
|
+
if (Oo(r))
|
|
2968
2968
|
return (
|
|
2969
2969
|
/** @type {?} */
|
|
2970
2970
|
r
|
|
@@ -3045,7 +3045,7 @@ const Do = b((i) => {
|
|
|
3045
3045
|
* @override
|
|
3046
3046
|
*/
|
|
3047
3047
|
_definePropertyAccessor(r, s) {
|
|
3048
|
-
|
|
3048
|
+
Mo(this, r), super._definePropertyAccessor(r, s);
|
|
3049
3049
|
}
|
|
3050
3050
|
/**
|
|
3051
3051
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3080,23 +3080,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3080
3080
|
Code distributed by Google as part of the polymer project is also
|
|
3081
3081
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3082
3082
|
*/
|
|
3083
|
-
const
|
|
3083
|
+
const Do = {
|
|
3084
3084
|
"dom-if": !0,
|
|
3085
3085
|
"dom-repeat": !0
|
|
3086
3086
|
};
|
|
3087
|
-
let
|
|
3088
|
-
function
|
|
3089
|
-
if (!
|
|
3090
|
-
|
|
3087
|
+
let je = !1, qe = !1;
|
|
3088
|
+
function zo() {
|
|
3089
|
+
if (!je) {
|
|
3090
|
+
je = !0;
|
|
3091
3091
|
const i = document.createElement("textarea");
|
|
3092
|
-
i.placeholder = "a",
|
|
3092
|
+
i.placeholder = "a", qe = i.placeholder === i.textContent;
|
|
3093
3093
|
}
|
|
3094
|
-
return
|
|
3094
|
+
return qe;
|
|
3095
3095
|
}
|
|
3096
|
-
function
|
|
3097
|
-
|
|
3096
|
+
function Lo(i) {
|
|
3097
|
+
zo() && i.localName === "textarea" && i.placeholder && i.placeholder === i.textContent && (i.textContent = null);
|
|
3098
3098
|
}
|
|
3099
|
-
const
|
|
3099
|
+
const $o = (() => {
|
|
3100
3100
|
const i = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3101
3101
|
"polymer-template-event-attribute-policy",
|
|
3102
3102
|
{
|
|
@@ -3115,19 +3115,19 @@ const Ro = (() => {
|
|
|
3115
3115
|
t.setAttribute(o, r);
|
|
3116
3116
|
};
|
|
3117
3117
|
})();
|
|
3118
|
-
function
|
|
3118
|
+
function Ro(i) {
|
|
3119
3119
|
let t = i.getAttribute("is");
|
|
3120
|
-
if (t &&
|
|
3120
|
+
if (t && Do[t]) {
|
|
3121
3121
|
let e = i;
|
|
3122
3122
|
for (e.removeAttribute("is"), i = e.ownerDocument.createElement(t), e.parentNode.replaceChild(i, e), i.appendChild(e); e.attributes.length; ) {
|
|
3123
3123
|
const { name: o } = e.attributes[0];
|
|
3124
|
-
|
|
3124
|
+
$o(i, e, o), e.removeAttribute(o);
|
|
3125
3125
|
}
|
|
3126
3126
|
}
|
|
3127
3127
|
return i;
|
|
3128
3128
|
}
|
|
3129
|
-
function
|
|
3130
|
-
let e = t.parentInfo &&
|
|
3129
|
+
function Ui(i, t) {
|
|
3130
|
+
let e = t.parentInfo && Ui(i, t.parentInfo);
|
|
3131
3131
|
if (e) {
|
|
3132
3132
|
for (let o = e.firstChild, r = 0; o; o = o.nextSibling)
|
|
3133
3133
|
if (t.parentIndex === r++)
|
|
@@ -3135,23 +3135,23 @@ function Hi(i, t) {
|
|
|
3135
3135
|
} else
|
|
3136
3136
|
return i;
|
|
3137
3137
|
}
|
|
3138
|
-
function
|
|
3138
|
+
function Bo(i, t, e, o) {
|
|
3139
3139
|
o.id && (t[o.id] = e);
|
|
3140
3140
|
}
|
|
3141
|
-
function
|
|
3141
|
+
function Fo(i, t, e) {
|
|
3142
3142
|
if (e.events && e.events.length)
|
|
3143
3143
|
for (let o = 0, r = e.events, s; o < r.length && (s = r[o]); o++)
|
|
3144
3144
|
i._addMethodEventListenerToNode(t, s.name, s.value, i);
|
|
3145
3145
|
}
|
|
3146
|
-
function
|
|
3146
|
+
function Uo(i, t, e, o) {
|
|
3147
3147
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = o);
|
|
3148
3148
|
}
|
|
3149
|
-
function
|
|
3149
|
+
function Ho(i, t, e) {
|
|
3150
3150
|
return i = i._methodHost || i, function(r) {
|
|
3151
3151
|
i[e] ? i[e](r, r.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3152
3152
|
};
|
|
3153
3153
|
}
|
|
3154
|
-
const
|
|
3154
|
+
const Vo = b(
|
|
3155
3155
|
/**
|
|
3156
3156
|
* @template T
|
|
3157
3157
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3278,7 +3278,7 @@ const jo = b(
|
|
|
3278
3278
|
/** @type {!HTMLTemplateElement} */
|
|
3279
3279
|
o
|
|
3280
3280
|
);
|
|
3281
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, r, s) || n : a.localName === "slot" && (r.hasInsertionPoint = !0),
|
|
3281
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, r, s) || n : a.localName === "slot" && (r.hasInsertionPoint = !0), Lo(a), a.firstChild && this._parseTemplateChildNodes(a, r, s), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, r, s) || n), n || s.noted;
|
|
3282
3282
|
}
|
|
3283
3283
|
/**
|
|
3284
3284
|
* Parses template child nodes for the given root node.
|
|
@@ -3296,7 +3296,7 @@ const jo = b(
|
|
|
3296
3296
|
static _parseTemplateChildNodes(o, r, s) {
|
|
3297
3297
|
if (!(o.localName === "script" || o.localName === "style"))
|
|
3298
3298
|
for (let n = o.firstChild, a = 0, l; n; n = l) {
|
|
3299
|
-
if (n.localName == "template" && (n =
|
|
3299
|
+
if (n.localName == "template" && (n = Ro(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
3300
3300
|
let c = l;
|
|
3301
3301
|
for (; c && c.nodeType === Node.TEXT_NODE; )
|
|
3302
3302
|
n.textContent += c.textContent, l = c.nextSibling, o.removeChild(c), c = l;
|
|
@@ -3431,8 +3431,8 @@ const jo = b(
|
|
|
3431
3431
|
let l = a.nodeList = new Array(s.length);
|
|
3432
3432
|
a.$ = {};
|
|
3433
3433
|
for (let d = 0, c = s.length, u; d < c && (u = s[d]); d++) {
|
|
3434
|
-
let h = l[d] =
|
|
3435
|
-
|
|
3434
|
+
let h = l[d] = Ui(a, u);
|
|
3435
|
+
Bo(this, a.$, h, u), Uo(this, h, u, r), Fo(this, h, u);
|
|
3436
3436
|
}
|
|
3437
3437
|
return a = /** @type {!StampedTemplate} */
|
|
3438
3438
|
a, a;
|
|
@@ -3453,7 +3453,7 @@ const jo = b(
|
|
|
3453
3453
|
*/
|
|
3454
3454
|
_addMethodEventListenerToNode(o, r, s, n) {
|
|
3455
3455
|
n = n || o;
|
|
3456
|
-
let a =
|
|
3456
|
+
let a = Ho(n, r, s);
|
|
3457
3457
|
return this._addEventListenerToNode(o, r, a), a;
|
|
3458
3458
|
}
|
|
3459
3459
|
/**
|
|
@@ -3503,7 +3503,7 @@ const ct = [], f = {
|
|
|
3503
3503
|
PROPAGATE: "__propagateEffects",
|
|
3504
3504
|
OBSERVE: "__observeEffects",
|
|
3505
3505
|
READ_ONLY: "__readOnly"
|
|
3506
|
-
},
|
|
3506
|
+
}, Hi = "__computeInfo", jo = /[A-Z]/;
|
|
3507
3507
|
function zt(i, t, e) {
|
|
3508
3508
|
let o = i[t];
|
|
3509
3509
|
if (!o)
|
|
@@ -3530,7 +3530,7 @@ function tt(i, t, e, o, r, s) {
|
|
|
3530
3530
|
}
|
|
3531
3531
|
return !1;
|
|
3532
3532
|
}
|
|
3533
|
-
function
|
|
3533
|
+
function qo(i, t, e, o, r, s, n, a) {
|
|
3534
3534
|
let l = !1, d = n ? R(o) : o, c = t[d];
|
|
3535
3535
|
if (c)
|
|
3536
3536
|
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
@@ -3543,30 +3543,30 @@ function pe(i, t) {
|
|
|
3543
3543
|
/** @type {string} */
|
|
3544
3544
|
t.name
|
|
3545
3545
|
);
|
|
3546
|
-
return e == i || !!(t.structured &&
|
|
3546
|
+
return e == i || !!(t.structured && Di(e, i)) || !!(t.wildcard && lt(e, i));
|
|
3547
3547
|
} else
|
|
3548
3548
|
return !0;
|
|
3549
3549
|
}
|
|
3550
|
-
function
|
|
3550
|
+
function Ye(i, t, e, o, r) {
|
|
3551
3551
|
let s = typeof r.method == "string" ? i[r.method] : r.method, n = r.property;
|
|
3552
3552
|
s ? s.call(i, i.__data[n], o[n]) : r.dynamicFn || console.warn("observer method `" + r.method + "` not defined");
|
|
3553
3553
|
}
|
|
3554
|
-
function
|
|
3554
|
+
function Yo(i, t, e, o, r) {
|
|
3555
3555
|
let s = i[f.NOTIFY], n, a = dt++;
|
|
3556
3556
|
for (let d in t)
|
|
3557
|
-
t[d] && (s &&
|
|
3557
|
+
t[d] && (s && qo(i, s, a, d, e, o, r) || r && Wo(i, d, e)) && (n = !0);
|
|
3558
3558
|
let l;
|
|
3559
3559
|
n && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
3560
3560
|
}
|
|
3561
|
-
function
|
|
3561
|
+
function Wo(i, t, e) {
|
|
3562
3562
|
let o = R(t);
|
|
3563
3563
|
if (o !== t) {
|
|
3564
3564
|
let r = Et(o) + "-changed";
|
|
3565
|
-
return
|
|
3565
|
+
return Vi(i, r, e[t], t), !0;
|
|
3566
3566
|
}
|
|
3567
3567
|
return !1;
|
|
3568
3568
|
}
|
|
3569
|
-
function
|
|
3569
|
+
function Vi(i, t, e, o) {
|
|
3570
3570
|
let r = {
|
|
3571
3571
|
value: e,
|
|
3572
3572
|
queueProperty: !0
|
|
@@ -3576,18 +3576,18 @@ function ji(i, t, e, o) {
|
|
|
3576
3576
|
i
|
|
3577
3577
|
).dispatchEvent(new CustomEvent(t, { detail: r }));
|
|
3578
3578
|
}
|
|
3579
|
-
function
|
|
3579
|
+
function Go(i, t, e, o, r, s) {
|
|
3580
3580
|
let a = (s ? R(t) : t) != t ? t : null, l = a ? v(i, a) : i.__data[t];
|
|
3581
|
-
a && l === void 0 && (l = e[t]),
|
|
3581
|
+
a && l === void 0 && (l = e[t]), Vi(i, r.eventName, l, a);
|
|
3582
3582
|
}
|
|
3583
|
-
function
|
|
3583
|
+
function Ko(i, t, e, o, r) {
|
|
3584
3584
|
let s, n = (
|
|
3585
3585
|
/** @type {Object} */
|
|
3586
3586
|
i.detail
|
|
3587
3587
|
), a = n && n.path;
|
|
3588
3588
|
a ? (o = wt(e, o, a), s = n && n.value) : s = i.currentTarget[e], s = r ? !s : s, (!t[f.READ_ONLY] || !t[f.READ_ONLY][o]) && t._setPendingPropertyOrPath(o, s, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
3589
3589
|
}
|
|
3590
|
-
function
|
|
3590
|
+
function Jo(i, t, e, o, r) {
|
|
3591
3591
|
let s = i.__data[t];
|
|
3592
3592
|
yt && (s = yt(
|
|
3593
3593
|
s,
|
|
@@ -3597,17 +3597,17 @@ function Xo(i, t, e, o, r) {
|
|
|
3597
3597
|
i
|
|
3598
3598
|
)), i._propertyToAttribute(t, r.attrName, s);
|
|
3599
3599
|
}
|
|
3600
|
-
function
|
|
3600
|
+
function Xo(i, t, e, o) {
|
|
3601
3601
|
let r = i[f.COMPUTE];
|
|
3602
3602
|
if (r)
|
|
3603
|
-
if (
|
|
3603
|
+
if (fo) {
|
|
3604
3604
|
dt++;
|
|
3605
|
-
const s =
|
|
3605
|
+
const s = Qo(i), n = [];
|
|
3606
3606
|
for (let l in t)
|
|
3607
|
-
|
|
3607
|
+
We(l, r, n, s, o);
|
|
3608
3608
|
let a;
|
|
3609
3609
|
for (; a = n.shift(); )
|
|
3610
|
-
|
|
3610
|
+
ji(i, "", t, e, a) && We(a.methodInfo, r, n, s, o);
|
|
3611
3611
|
Object.assign(
|
|
3612
3612
|
/** @type {!Object} */
|
|
3613
3613
|
e,
|
|
@@ -3631,7 +3631,7 @@ function Zo(i, t, e, o) {
|
|
|
3631
3631
|
), s = i.__dataPending, i.__dataPending = null;
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
|
-
const
|
|
3634
|
+
const Zo = (i, t, e) => {
|
|
3635
3635
|
let o = 0, r = t.length - 1, s = -1;
|
|
3636
3636
|
for (; o <= r; ) {
|
|
3637
3637
|
const n = o + r >> 1, a = e.get(t[n].methodInfo) - e.get(i.methodInfo);
|
|
@@ -3645,20 +3645,20 @@ const Qo = (i, t, e) => {
|
|
|
3645
3645
|
}
|
|
3646
3646
|
}
|
|
3647
3647
|
s < 0 && (s = r + 1), t.splice(s, 0, i);
|
|
3648
|
-
},
|
|
3648
|
+
}, We = (i, t, e, o, r) => {
|
|
3649
3649
|
const s = r ? R(i) : i, n = t[s];
|
|
3650
3650
|
if (n)
|
|
3651
3651
|
for (let a = 0; a < n.length; a++) {
|
|
3652
3652
|
const l = n[a];
|
|
3653
|
-
l.info.lastRun !== dt && (!r || pe(i, l.trigger)) && (l.info.lastRun = dt,
|
|
3653
|
+
l.info.lastRun !== dt && (!r || pe(i, l.trigger)) && (l.info.lastRun = dt, Zo(l.info, e, o));
|
|
3654
3654
|
}
|
|
3655
3655
|
};
|
|
3656
|
-
function
|
|
3656
|
+
function Qo(i) {
|
|
3657
3657
|
let t = i.constructor.__orderedComputedDeps;
|
|
3658
3658
|
if (!t) {
|
|
3659
3659
|
t = /* @__PURE__ */ new Map();
|
|
3660
3660
|
const e = i[f.COMPUTE];
|
|
3661
|
-
let { counts: o, ready: r, total: s } =
|
|
3661
|
+
let { counts: o, ready: r, total: s } = ts(i), n;
|
|
3662
3662
|
for (; n = r.shift(); ) {
|
|
3663
3663
|
t.set(n, t.size);
|
|
3664
3664
|
const a = e[n];
|
|
@@ -3672,8 +3672,8 @@ function ts(i) {
|
|
|
3672
3672
|
}
|
|
3673
3673
|
return t;
|
|
3674
3674
|
}
|
|
3675
|
-
function
|
|
3676
|
-
const t = i[
|
|
3675
|
+
function ts(i) {
|
|
3676
|
+
const t = i[Hi], e = {}, o = i[f.COMPUTE], r = [];
|
|
3677
3677
|
let s = 0;
|
|
3678
3678
|
for (let n in t) {
|
|
3679
3679
|
const a = t[n];
|
|
@@ -3683,14 +3683,14 @@ function es(i) {
|
|
|
3683
3683
|
t[n] || r.push(n);
|
|
3684
3684
|
return { counts: e, ready: r, total: s };
|
|
3685
3685
|
}
|
|
3686
|
-
function
|
|
3686
|
+
function ji(i, t, e, o, r) {
|
|
3687
3687
|
let s = Xt(i, t, e, o, r);
|
|
3688
3688
|
if (s === ct)
|
|
3689
3689
|
return !1;
|
|
3690
3690
|
let n = r.methodInfo;
|
|
3691
3691
|
return i.__dataHasAccessor && i.__dataHasAccessor[n] ? i._setPendingProperty(n, s, !0) : (i[n] = s, !1);
|
|
3692
3692
|
}
|
|
3693
|
-
function
|
|
3693
|
+
function es(i, t, e) {
|
|
3694
3694
|
let o = i.__dataLinkedPaths;
|
|
3695
3695
|
if (o) {
|
|
3696
3696
|
let r;
|
|
@@ -3703,17 +3703,17 @@ function is(i, t, e) {
|
|
|
3703
3703
|
function Lt(i, t, e, o, r, s, n) {
|
|
3704
3704
|
e.bindings = e.bindings || [];
|
|
3705
3705
|
let a = { kind: o, target: r, parts: s, literal: n, isCompound: s.length !== 1 };
|
|
3706
|
-
if (e.bindings.push(a),
|
|
3706
|
+
if (e.bindings.push(a), ns(a)) {
|
|
3707
3707
|
let { event: d, negate: c } = a.parts[0];
|
|
3708
3708
|
a.listenerEvent = d || Et(r) + "-changed", a.listenerNegate = c;
|
|
3709
3709
|
}
|
|
3710
3710
|
let l = t.nodeInfoList.length;
|
|
3711
3711
|
for (let d = 0; d < a.parts.length; d++) {
|
|
3712
3712
|
let c = a.parts[d];
|
|
3713
|
-
c.compoundIndex = d,
|
|
3713
|
+
c.compoundIndex = d, is(i, t, a, c, l);
|
|
3714
3714
|
}
|
|
3715
3715
|
}
|
|
3716
|
-
function
|
|
3716
|
+
function is(i, t, e, o, r) {
|
|
3717
3717
|
if (!o.literal)
|
|
3718
3718
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
3719
3719
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -3721,26 +3721,26 @@ function rs(i, t, e, o, r) {
|
|
|
3721
3721
|
let s = o.dependencies, n = { index: r, binding: e, part: o, evaluator: i };
|
|
3722
3722
|
for (let a = 0; a < s.length; a++) {
|
|
3723
3723
|
let l = s[a];
|
|
3724
|
-
typeof l == "string" && (l =
|
|
3725
|
-
fn:
|
|
3724
|
+
typeof l == "string" && (l = Yi(l), l.wildcard = !0), i._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
3725
|
+
fn: rs,
|
|
3726
3726
|
info: n,
|
|
3727
3727
|
trigger: l
|
|
3728
3728
|
});
|
|
3729
3729
|
}
|
|
3730
3730
|
}
|
|
3731
3731
|
}
|
|
3732
|
-
function
|
|
3732
|
+
function rs(i, t, e, o, r, s, n) {
|
|
3733
3733
|
let a = n[r.index], l = r.binding, d = r.part;
|
|
3734
3734
|
if (s && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
3735
3735
|
let c = e[t];
|
|
3736
3736
|
t = wt(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && i._enqueueClient(a);
|
|
3737
3737
|
} else {
|
|
3738
3738
|
let c = r.evaluator._evaluateBinding(i, d, t, e, o, s);
|
|
3739
|
-
c !== ct &&
|
|
3739
|
+
c !== ct && os(i, a, l, d, c);
|
|
3740
3740
|
}
|
|
3741
3741
|
}
|
|
3742
|
-
function
|
|
3743
|
-
if (r =
|
|
3742
|
+
function os(i, t, e, o, r) {
|
|
3743
|
+
if (r = ss(t, r, e, o), yt && (r = yt(r, e.target, e.kind, t)), e.kind == "attribute")
|
|
3744
3744
|
i._valueToNodeAttribute(
|
|
3745
3745
|
/** @type {Element} */
|
|
3746
3746
|
t,
|
|
@@ -3752,17 +3752,17 @@ function ss(i, t, e, o, r) {
|
|
|
3752
3752
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[s] ? (!t[f.READ_ONLY] || !t[f.READ_ONLY][s]) && t._setPendingProperty(s, r) && i._enqueueClient(t) : i._setUnmanagedPropertyToNode(t, s, r);
|
|
3753
3753
|
}
|
|
3754
3754
|
}
|
|
3755
|
-
function
|
|
3755
|
+
function ss(i, t, e, o) {
|
|
3756
3756
|
if (e.isCompound) {
|
|
3757
3757
|
let r = i.__dataCompoundStorage[e.target];
|
|
3758
3758
|
r[o.compoundIndex] = t, t = r.join("");
|
|
3759
3759
|
}
|
|
3760
3760
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (i.localName === "input" || i.localName === "textarea")) && (t = t == null ? "" : t), t;
|
|
3761
3761
|
}
|
|
3762
|
-
function
|
|
3762
|
+
function ns(i) {
|
|
3763
3763
|
return !!i.target && i.kind != "attribute" && i.kind != "text" && !i.isCompound && i.parts[0].mode === "{";
|
|
3764
3764
|
}
|
|
3765
|
-
function
|
|
3765
|
+
function as(i, t) {
|
|
3766
3766
|
let { nodeList: e, nodeInfoList: o } = t;
|
|
3767
3767
|
if (o.length)
|
|
3768
3768
|
for (let r = 0; r < o.length; r++) {
|
|
@@ -3770,12 +3770,12 @@ function ls(i, t) {
|
|
|
3770
3770
|
if (a)
|
|
3771
3771
|
for (let l = 0; l < a.length; l++) {
|
|
3772
3772
|
let d = a[l];
|
|
3773
|
-
|
|
3773
|
+
ls(n, d), ds(n, i, d);
|
|
3774
3774
|
}
|
|
3775
3775
|
n.__dataHost = i;
|
|
3776
3776
|
}
|
|
3777
3777
|
}
|
|
3778
|
-
function
|
|
3778
|
+
function ls(i, t) {
|
|
3779
3779
|
if (t.isCompound) {
|
|
3780
3780
|
let e = i.__dataCompoundStorage || (i.__dataCompoundStorage = {}), o = t.parts, r = new Array(o.length);
|
|
3781
3781
|
for (let n = 0; n < o.length; n++)
|
|
@@ -3784,15 +3784,15 @@ function ds(i, t) {
|
|
|
3784
3784
|
e[s] = r, t.literal && t.kind == "property" && (s === "className" && (i = z(i)), i[s] = t.literal);
|
|
3785
3785
|
}
|
|
3786
3786
|
}
|
|
3787
|
-
function
|
|
3787
|
+
function ds(i, t, e) {
|
|
3788
3788
|
if (e.listenerEvent) {
|
|
3789
3789
|
let o = e.parts[0];
|
|
3790
3790
|
i.addEventListener(e.listenerEvent, function(r) {
|
|
3791
|
-
|
|
3791
|
+
Ko(r, t, e.target, o.source, o.negate);
|
|
3792
3792
|
});
|
|
3793
3793
|
}
|
|
3794
3794
|
}
|
|
3795
|
-
function
|
|
3795
|
+
function Ge(i, t, e, o, r, s) {
|
|
3796
3796
|
s = t.static || s && (typeof s != "object" || s[t.methodName]);
|
|
3797
3797
|
let n = {
|
|
3798
3798
|
methodName: t.methodName,
|
|
@@ -3819,8 +3819,8 @@ function Xt(i, t, e, o, r) {
|
|
|
3819
3819
|
} else
|
|
3820
3820
|
r.dynamicFn || console.warn("method `" + r.methodName + "` not defined");
|
|
3821
3821
|
}
|
|
3822
|
-
const
|
|
3823
|
-
function
|
|
3822
|
+
const cs = [], qi = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", us = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", hs = "(?:'(?:[^'\\\\]|\\\\.)*')", ps = '(?:"(?:[^"\\\\]|\\\\.)*")', fs = "(?:" + hs + "|" + ps + ")", Ke = "(?:(" + qi + "|" + us + "|" + fs + ")\\s*)", ms = "(?:" + Ke + "(?:,\\s*" + Ke + ")*)", _s = "(?:\\(\\s*(?:" + ms + "?)\\)\\s*)", gs = "(" + qi + "\\s*" + _s + "?)", bs = "(\\[\\[|{{)\\s*", vs = "(?:]]|}})", ys = "(?:(!)\\s*)?", ws = bs + ys + gs + vs, Je = new RegExp(ws, "g");
|
|
3823
|
+
function Xe(i) {
|
|
3824
3824
|
let t = "";
|
|
3825
3825
|
for (let e = 0; e < i.length; e++) {
|
|
3826
3826
|
let o = i[e].literal;
|
|
@@ -3831,22 +3831,22 @@ function Ze(i) {
|
|
|
3831
3831
|
function $t(i) {
|
|
3832
3832
|
let t = i.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
3833
3833
|
if (t) {
|
|
3834
|
-
let o = { methodName: t[1], static: !0, args:
|
|
3834
|
+
let o = { methodName: t[1], static: !0, args: cs };
|
|
3835
3835
|
if (t[2].trim()) {
|
|
3836
3836
|
let r = t[2].replace(/\\,/g, ",").split(",");
|
|
3837
|
-
return
|
|
3837
|
+
return As(r, o);
|
|
3838
3838
|
} else
|
|
3839
3839
|
return o;
|
|
3840
3840
|
}
|
|
3841
3841
|
return null;
|
|
3842
3842
|
}
|
|
3843
|
-
function
|
|
3843
|
+
function As(i, t) {
|
|
3844
3844
|
return t.args = i.map(function(e) {
|
|
3845
|
-
let o =
|
|
3845
|
+
let o = Yi(e);
|
|
3846
3846
|
return o.literal || (t.static = !1), o;
|
|
3847
3847
|
}, this), t;
|
|
3848
3848
|
}
|
|
3849
|
-
function
|
|
3849
|
+
function Yi(i) {
|
|
3850
3850
|
let t = i.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
3851
3851
|
name: t,
|
|
3852
3852
|
value: "",
|
|
@@ -3863,16 +3863,16 @@ function Wi(i) {
|
|
|
3863
3863
|
}
|
|
3864
3864
|
return e.literal || (e.rootProperty = R(t), e.structured = Kt(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
3865
3865
|
}
|
|
3866
|
-
function
|
|
3866
|
+
function Ze(i, t, e) {
|
|
3867
3867
|
let o = v(i, e);
|
|
3868
3868
|
return o === void 0 && (o = t[e]), o;
|
|
3869
3869
|
}
|
|
3870
|
-
function
|
|
3870
|
+
function Wi(i, t, e, o) {
|
|
3871
3871
|
const r = { indexSplices: o };
|
|
3872
3872
|
Gt && !i._overrideLegacyUndefined && (t.splices = r), i.notifyPath(e + ".splices", r), i.notifyPath(e + ".length", t.length), Gt && !i._overrideLegacyUndefined && (r.indexSplices = []);
|
|
3873
3873
|
}
|
|
3874
3874
|
function J(i, t, e, o, r, s) {
|
|
3875
|
-
|
|
3875
|
+
Wi(i, t, e, [{
|
|
3876
3876
|
index: o,
|
|
3877
3877
|
addedCount: r,
|
|
3878
3878
|
removed: s,
|
|
@@ -3880,11 +3880,11 @@ function J(i, t, e, o, r, s) {
|
|
|
3880
3880
|
type: "splice"
|
|
3881
3881
|
}]);
|
|
3882
3882
|
}
|
|
3883
|
-
function
|
|
3883
|
+
function xs(i) {
|
|
3884
3884
|
return i[0].toUpperCase() + i.substring(1);
|
|
3885
3885
|
}
|
|
3886
|
-
const
|
|
3887
|
-
const t =
|
|
3886
|
+
const Cs = b((i) => {
|
|
3887
|
+
const t = Vo(Io(i));
|
|
3888
3888
|
class e extends t {
|
|
3889
3889
|
constructor() {
|
|
3890
3890
|
super(), this.__isPropertyEffectsClient = !0;
|
|
@@ -4063,7 +4063,7 @@ const Es = b((i) => {
|
|
|
4063
4063
|
if (!a) {
|
|
4064
4064
|
let l = v(this, r);
|
|
4065
4065
|
if (r = /** @type {string} */
|
|
4066
|
-
|
|
4066
|
+
Ve(this, r, s), !r || !super._shouldPropertyChange(r, s, l))
|
|
4067
4067
|
return !1;
|
|
4068
4068
|
}
|
|
4069
4069
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4072,7 +4072,7 @@ const Es = b((i) => {
|
|
|
4072
4072
|
s,
|
|
4073
4073
|
n
|
|
4074
4074
|
))
|
|
4075
|
-
return
|
|
4075
|
+
return es(
|
|
4076
4076
|
this,
|
|
4077
4077
|
/**@type{string}*/
|
|
4078
4078
|
r,
|
|
@@ -4288,7 +4288,7 @@ const Es = b((i) => {
|
|
|
4288
4288
|
let a = this.__dataHasPaths;
|
|
4289
4289
|
this.__dataHasPaths = !1;
|
|
4290
4290
|
let l;
|
|
4291
|
-
|
|
4291
|
+
Xo(this, s, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(s, n, a), this._flushClients(), tt(this, this[f.REFLECT], s, n, a), tt(this, this[f.OBSERVE], s, n, a), l && Yo(this, l, s, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
4292
4292
|
}
|
|
4293
4293
|
/**
|
|
4294
4294
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -4385,7 +4385,7 @@ const Es = b((i) => {
|
|
|
4385
4385
|
/** @type {Array} */
|
|
4386
4386
|
v(this, r, n)
|
|
4387
4387
|
);
|
|
4388
|
-
|
|
4388
|
+
Wi(this, a, n.path, s);
|
|
4389
4389
|
}
|
|
4390
4390
|
/**
|
|
4391
4391
|
* Convenience method for reading a value from a path.
|
|
@@ -4433,7 +4433,7 @@ const Es = b((i) => {
|
|
|
4433
4433
|
* @public
|
|
4434
4434
|
*/
|
|
4435
4435
|
set(r, s, n) {
|
|
4436
|
-
n ?
|
|
4436
|
+
n ? Ve(n, r, s) : (!this[f.READ_ONLY] || !this[f.READ_ONLY][
|
|
4437
4437
|
/** @type {string} */
|
|
4438
4438
|
r
|
|
4439
4439
|
]) && this._setPendingPropertyOrPath(r, s, !0) && this._invalidateProperties();
|
|
@@ -4588,7 +4588,7 @@ const Es = b((i) => {
|
|
|
4588
4588
|
* @protected
|
|
4589
4589
|
*/
|
|
4590
4590
|
_createReadOnlyProperty(r, s) {
|
|
4591
|
-
this._addPropertyEffect(r, f.READ_ONLY), s && (this["_set" +
|
|
4591
|
+
this._addPropertyEffect(r, f.READ_ONLY), s && (this["_set" + xs(r)] = /** @this {PropertyEffects} */
|
|
4592
4592
|
function(n) {
|
|
4593
4593
|
this._setProperty(r, n);
|
|
4594
4594
|
});
|
|
@@ -4610,7 +4610,7 @@ const Es = b((i) => {
|
|
|
4610
4610
|
_createPropertyObserver(r, s, n) {
|
|
4611
4611
|
let a = { property: r, method: s, dynamicFn: !!n };
|
|
4612
4612
|
this._addPropertyEffect(r, f.OBSERVE, {
|
|
4613
|
-
fn:
|
|
4613
|
+
fn: Ye,
|
|
4614
4614
|
info: a,
|
|
4615
4615
|
trigger: { name: r }
|
|
4616
4616
|
}), n && this._addPropertyEffect(
|
|
@@ -4618,7 +4618,7 @@ const Es = b((i) => {
|
|
|
4618
4618
|
s,
|
|
4619
4619
|
f.OBSERVE,
|
|
4620
4620
|
{
|
|
4621
|
-
fn:
|
|
4621
|
+
fn: Ye,
|
|
4622
4622
|
info: a,
|
|
4623
4623
|
trigger: { name: s }
|
|
4624
4624
|
}
|
|
@@ -4640,7 +4640,7 @@ const Es = b((i) => {
|
|
|
4640
4640
|
let n = $t(r);
|
|
4641
4641
|
if (!n)
|
|
4642
4642
|
throw new Error("Malformed observer expression '" + r + "'");
|
|
4643
|
-
|
|
4643
|
+
Ge(this, n, f.OBSERVE, Xt, null, s);
|
|
4644
4644
|
}
|
|
4645
4645
|
/**
|
|
4646
4646
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -4654,7 +4654,7 @@ const Es = b((i) => {
|
|
|
4654
4654
|
*/
|
|
4655
4655
|
_createNotifyingProperty(r) {
|
|
4656
4656
|
this._addPropertyEffect(r, f.NOTIFY, {
|
|
4657
|
-
fn:
|
|
4657
|
+
fn: Go,
|
|
4658
4658
|
info: {
|
|
4659
4659
|
eventName: Et(r) + "-changed",
|
|
4660
4660
|
property: r
|
|
@@ -4675,7 +4675,7 @@ const Es = b((i) => {
|
|
|
4675
4675
|
_createReflectedProperty(r) {
|
|
4676
4676
|
let s = this.constructor.attributeNameForProperty(r);
|
|
4677
4677
|
s[0] === "-" ? console.warn("Property " + r + " cannot be reflected to attribute " + s + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(r, f.REFLECT, {
|
|
4678
|
-
fn:
|
|
4678
|
+
fn: Jo,
|
|
4679
4679
|
info: {
|
|
4680
4680
|
attrName: s
|
|
4681
4681
|
}
|
|
@@ -4698,8 +4698,8 @@ const Es = b((i) => {
|
|
|
4698
4698
|
let a = $t(s);
|
|
4699
4699
|
if (!a)
|
|
4700
4700
|
throw new Error("Malformed computed expression '" + s + "'");
|
|
4701
|
-
const l =
|
|
4702
|
-
zt(this,
|
|
4701
|
+
const l = Ge(this, a, f.COMPUTE, ji, r, n);
|
|
4702
|
+
zt(this, Hi)[r] = l;
|
|
4703
4703
|
}
|
|
4704
4704
|
/**
|
|
4705
4705
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -4720,14 +4720,14 @@ const Es = b((i) => {
|
|
|
4720
4720
|
let { name: u, structured: h, wildcard: p, value: m, literal: x } = r[d];
|
|
4721
4721
|
if (!x)
|
|
4722
4722
|
if (p) {
|
|
4723
|
-
const C = lt(u, s), y =
|
|
4723
|
+
const C = lt(u, s), y = Ze(a, n, C ? s : u);
|
|
4724
4724
|
m = {
|
|
4725
4725
|
path: C ? s : u,
|
|
4726
4726
|
value: y,
|
|
4727
4727
|
base: C ? v(a, u) : y
|
|
4728
4728
|
};
|
|
4729
4729
|
} else
|
|
4730
|
-
m = h ?
|
|
4730
|
+
m = h ? Ze(a, n, u) : a[u];
|
|
4731
4731
|
if (Gt && !this._overrideLegacyUndefined && m === void 0 && r.length > 1)
|
|
4732
4732
|
return ct;
|
|
4733
4733
|
l[d] = m;
|
|
@@ -5010,7 +5010,7 @@ const Es = b((i) => {
|
|
|
5010
5010
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5011
5011
|
a.push(l);
|
|
5012
5012
|
}
|
|
5013
|
-
return n.templateInfo = s,
|
|
5013
|
+
return n.templateInfo = s, as(this, s), this.__dataClientsReady && (this._runEffectsForTemplate(s, this.__data, null, !1), this._flushClients()), n;
|
|
5014
5014
|
}
|
|
5015
5015
|
/**
|
|
5016
5016
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5057,7 +5057,7 @@ const Es = b((i) => {
|
|
|
5057
5057
|
);
|
|
5058
5058
|
if (r.nodeType === Node.TEXT_NODE) {
|
|
5059
5059
|
let l = this._parseBindings(r.textContent, s);
|
|
5060
|
-
l && (r.textContent =
|
|
5060
|
+
l && (r.textContent = Xe(l) || " ", Lt(this, s, n, "text", "textContent", l), a = !0);
|
|
5061
5061
|
}
|
|
5062
5062
|
return a;
|
|
5063
5063
|
}
|
|
@@ -5084,9 +5084,9 @@ const Es = b((i) => {
|
|
|
5084
5084
|
let d = this._parseBindings(l, s);
|
|
5085
5085
|
if (d) {
|
|
5086
5086
|
let c = a, u = "property";
|
|
5087
|
-
|
|
5088
|
-
let h =
|
|
5089
|
-
return h && u == "attribute" && (a == "class" && r.hasAttribute("class") && (h += " " + r.getAttribute(a)), r.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && r.setAttribute(a, ""), r.localName === "input" && c === "value" && r.setAttribute(c, ""), r.removeAttribute(c), u === "property" && (a =
|
|
5087
|
+
jo.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5088
|
+
let h = Xe(d);
|
|
5089
|
+
return h && u == "attribute" && (a == "class" && r.hasAttribute("class") && (h += " " + r.getAttribute(a)), r.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && r.setAttribute(a, ""), r.localName === "input" && c === "value" && r.setAttribute(c, ""), r.removeAttribute(c), u === "property" && (a = Li(a)), Lt(this, s, n, u, a, d, h), !0;
|
|
5090
5090
|
} else
|
|
5091
5091
|
return t._parseTemplateNodeAttribute.call(
|
|
5092
5092
|
this,
|
|
@@ -5119,10 +5119,10 @@ const Es = b((i) => {
|
|
|
5119
5119
|
n
|
|
5120
5120
|
);
|
|
5121
5121
|
const l = r.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
5122
|
-
|
|
5122
|
+
Re && (c || u) && (l.removeChild(r), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
|
|
5123
5123
|
let h = d.hostProps;
|
|
5124
|
-
if (
|
|
5125
|
-
h && (s.hostProps = Object.assign(s.hostProps || {}, h),
|
|
5124
|
+
if (mo && c)
|
|
5125
|
+
h && (s.hostProps = Object.assign(s.hostProps || {}, h), Re || (n.parentInfo.noted = !0));
|
|
5126
5126
|
else {
|
|
5127
5127
|
let p = "{";
|
|
5128
5128
|
for (let m in h) {
|
|
@@ -5179,7 +5179,7 @@ const Es = b((i) => {
|
|
|
5179
5179
|
*/
|
|
5180
5180
|
static _parseBindings(r, s) {
|
|
5181
5181
|
let n = [], a = 0, l;
|
|
5182
|
-
for (; (l =
|
|
5182
|
+
for (; (l = Je.exec(r)) !== null; ) {
|
|
5183
5183
|
l.index > a && n.push({ literal: r.slice(a, l.index) });
|
|
5184
5184
|
let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, p = "", m = -1;
|
|
5185
5185
|
d == "{" && (m = u.indexOf("::")) > 0 && (p = u.substring(m + 2), u = u.substring(0, m), h = !0);
|
|
@@ -5187,8 +5187,8 @@ const Es = b((i) => {
|
|
|
5187
5187
|
if (x) {
|
|
5188
5188
|
let { args: y, methodName: w } = x;
|
|
5189
5189
|
for (let St = 0; St < y.length; St++) {
|
|
5190
|
-
let
|
|
5191
|
-
|
|
5190
|
+
let Ce = y[St];
|
|
5191
|
+
Ce.literal || C.push(Ce);
|
|
5192
5192
|
}
|
|
5193
5193
|
let B = s.dynamicFns;
|
|
5194
5194
|
(B && B[w] || x.static) && (C.push(w), x.dynamicFn = !0);
|
|
@@ -5202,7 +5202,7 @@ const Es = b((i) => {
|
|
|
5202
5202
|
signature: x,
|
|
5203
5203
|
dependencies: C,
|
|
5204
5204
|
event: p
|
|
5205
|
-
}), a =
|
|
5205
|
+
}), a = Je.lastIndex;
|
|
5206
5206
|
}
|
|
5207
5207
|
if (a && a < r.length) {
|
|
5208
5208
|
let d = r.substring(a);
|
|
@@ -5243,7 +5243,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5243
5243
|
Code distributed by Google as part of the polymer project is also
|
|
5244
5244
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5245
5245
|
*/
|
|
5246
|
-
function
|
|
5246
|
+
function Es(i) {
|
|
5247
5247
|
const t = {};
|
|
5248
5248
|
for (let e in i) {
|
|
5249
5249
|
const o = i[e];
|
|
@@ -5251,8 +5251,8 @@ function Ps(i) {
|
|
|
5251
5251
|
}
|
|
5252
5252
|
return t;
|
|
5253
5253
|
}
|
|
5254
|
-
const
|
|
5255
|
-
const t =
|
|
5254
|
+
const Ps = b((i) => {
|
|
5255
|
+
const t = Bi(i);
|
|
5256
5256
|
function e(s) {
|
|
5257
5257
|
const n = Object.getPrototypeOf(s);
|
|
5258
5258
|
return n.prototype instanceof r ? (
|
|
@@ -5265,7 +5265,7 @@ const Ts = b((i) => {
|
|
|
5265
5265
|
let n = null;
|
|
5266
5266
|
if (s.hasOwnProperty(JSCompiler_renameProperty("properties", s))) {
|
|
5267
5267
|
const a = s.properties;
|
|
5268
|
-
a && (n =
|
|
5268
|
+
a && (n = Es(a));
|
|
5269
5269
|
}
|
|
5270
5270
|
s.__ownProperties = n;
|
|
5271
5271
|
}
|
|
@@ -5401,8 +5401,8 @@ const Ts = b((i) => {
|
|
|
5401
5401
|
* Google as part of the polymer project is also subject to an additional IP
|
|
5402
5402
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5403
5403
|
*/
|
|
5404
|
-
const
|
|
5405
|
-
const t =
|
|
5404
|
+
const Ts = "3.5.2", Qe = window.ShadyCSS && window.ShadyCSS.cssBuild, Ss = b((i) => {
|
|
5405
|
+
const t = Ps(Cs(i));
|
|
5406
5406
|
function e(l) {
|
|
5407
5407
|
if (!l.hasOwnProperty(
|
|
5408
5408
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -5430,8 +5430,8 @@ const Ss = "3.5.2", ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Ns = b((i)
|
|
|
5430
5430
|
c.computed && (c.readOnly = !0), c.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, c.computed, u)), c.readOnly && !l._hasReadOnlyEffect(d) ? l._createReadOnlyProperty(d, !c.computed) : c.readOnly === !1 && l._hasReadOnlyEffect(d) && console.warn(`Cannot make readOnly property '${d}' non-readOnly.`), c.reflectToAttribute && !l._hasReflectEffect(d) ? l._createReflectedProperty(d) : c.reflectToAttribute === !1 && l._hasReflectEffect(d) && console.warn(`Cannot make reflected property '${d}' non-reflected.`), c.notify && !l._hasNotifyEffect(d) ? l._createNotifyingProperty(d) : c.notify === !1 && l._hasNotifyEffect(d) && console.warn(`Cannot make notify property '${d}' non-notify.`), c.observer && l._createPropertyObserver(d, c.observer, u[c.observer]), l._addPropertyToAttributeMap(d);
|
|
5431
5431
|
}
|
|
5432
5432
|
function s(l, d, c, u) {
|
|
5433
|
-
if (!
|
|
5434
|
-
const h = d.content.querySelectorAll("style"), p =
|
|
5433
|
+
if (!Qe) {
|
|
5434
|
+
const h = d.content.querySelectorAll("style"), p = Mi(d), m = xo(c), x = d.content.firstElementChild;
|
|
5435
5435
|
for (let y = 0; y < m.length; y++) {
|
|
5436
5436
|
let w = m[y];
|
|
5437
5437
|
w.textContent = l._processStyleText(w.textContent, u), d.content.insertBefore(w, x);
|
|
@@ -5442,7 +5442,7 @@ const Ss = "3.5.2", ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Ns = b((i)
|
|
|
5442
5442
|
B !== w ? (w = w.cloneNode(!0), B.parentNode.insertBefore(w, B)) : C++, w.textContent = l._processStyleText(w.textContent, u);
|
|
5443
5443
|
}
|
|
5444
5444
|
}
|
|
5445
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c),
|
|
5445
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), _o && Qe && ao) {
|
|
5446
5446
|
const h = d.content.querySelectorAll("style");
|
|
5447
5447
|
if (h) {
|
|
5448
5448
|
let p = "";
|
|
@@ -5454,7 +5454,7 @@ const Ss = "3.5.2", ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Ns = b((i)
|
|
|
5454
5454
|
}
|
|
5455
5455
|
function n(l) {
|
|
5456
5456
|
let d = null;
|
|
5457
|
-
if (l && (!Wt ||
|
|
5457
|
+
if (l && (!Wt || co) && (d = /** @type {?HTMLTemplateElement} */
|
|
5458
5458
|
at.import(l, "template"), Wt && !d))
|
|
5459
5459
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
5460
5460
|
return d;
|
|
@@ -5466,7 +5466,7 @@ const Ss = "3.5.2", ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Ns = b((i)
|
|
|
5466
5466
|
* @nocollapse
|
|
5467
5467
|
*/
|
|
5468
5468
|
static get polymerElementVersion() {
|
|
5469
|
-
return
|
|
5469
|
+
return Ts;
|
|
5470
5470
|
}
|
|
5471
5471
|
/**
|
|
5472
5472
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -5487,7 +5487,7 @@ const Ss = "3.5.2", ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Ns = b((i)
|
|
|
5487
5487
|
/** @type {PolymerElementConstructor} */
|
|
5488
5488
|
this.template
|
|
5489
5489
|
);
|
|
5490
|
-
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) :
|
|
5490
|
+
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : uo || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
5491
5491
|
}
|
|
5492
5492
|
/**
|
|
5493
5493
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -5657,7 +5657,7 @@ const Ss = "3.5.2", ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Ns = b((i)
|
|
|
5657
5657
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
5658
5658
|
/** @type {!HTMLElement} */
|
|
5659
5659
|
this.localName
|
|
5660
|
-
), super._initializeProperties(), this.rootPath =
|
|
5660
|
+
), super._initializeProperties(), this.rootPath = lo, this.importPath = this.constructor.importPath;
|
|
5661
5661
|
let d = e(this.constructor);
|
|
5662
5662
|
if (d)
|
|
5663
5663
|
for (let c in d) {
|
|
@@ -5768,7 +5768,7 @@ const Ss = "3.5.2", ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Ns = b((i)
|
|
|
5768
5768
|
_attachDom(d) {
|
|
5769
5769
|
const c = z(this);
|
|
5770
5770
|
if (c.attachShadow)
|
|
5771
|
-
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
5771
|
+
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), po && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
5772
5772
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
5773
5773
|
}
|
|
5774
5774
|
/**
|
|
@@ -5853,7 +5853,7 @@ const Ss = "3.5.2", ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Ns = b((i)
|
|
|
5853
5853
|
* @nocollapse
|
|
5854
5854
|
*/
|
|
5855
5855
|
static _addTemplatePropertyEffect(d, c, u) {
|
|
5856
|
-
return
|
|
5856
|
+
return ho && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
5857
5857
|
// dependencies) become accessors with template effects; ignore these
|
|
5858
5858
|
!(u.info.part.signature && u.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
5859
5859
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -5878,16 +5878,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5878
5878
|
Code distributed by Google as part of the polymer project is also
|
|
5879
5879
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5880
5880
|
*/
|
|
5881
|
-
const
|
|
5882
|
-
class
|
|
5881
|
+
const ti = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (i) => i });
|
|
5882
|
+
class Gi {
|
|
5883
5883
|
/**
|
|
5884
5884
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
5885
5885
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
5886
5886
|
*/
|
|
5887
5887
|
constructor(t, e) {
|
|
5888
|
-
|
|
5888
|
+
Ji(t, e);
|
|
5889
5889
|
const o = e.reduce(
|
|
5890
|
-
(r, s, n) => r +
|
|
5890
|
+
(r, s, n) => r + Ki(s) + t[n + 1],
|
|
5891
5891
|
t[0]
|
|
5892
5892
|
);
|
|
5893
5893
|
this.value = o.toString();
|
|
@@ -5900,8 +5900,8 @@ class Ki {
|
|
|
5900
5900
|
return this.value;
|
|
5901
5901
|
}
|
|
5902
5902
|
}
|
|
5903
|
-
function
|
|
5904
|
-
if (i instanceof
|
|
5903
|
+
function Ki(i) {
|
|
5904
|
+
if (i instanceof Gi)
|
|
5905
5905
|
return (
|
|
5906
5906
|
/** @type {!LiteralString} */
|
|
5907
5907
|
i.value
|
|
@@ -5910,30 +5910,30 @@ function Ji(i) {
|
|
|
5910
5910
|
`non-literal value passed to Polymer's htmlLiteral function: ${i}`
|
|
5911
5911
|
);
|
|
5912
5912
|
}
|
|
5913
|
-
function
|
|
5913
|
+
function Ns(i) {
|
|
5914
5914
|
if (i instanceof HTMLTemplateElement)
|
|
5915
5915
|
return (
|
|
5916
5916
|
/** @type {!HTMLTemplateElement } */
|
|
5917
5917
|
i.innerHTML
|
|
5918
5918
|
);
|
|
5919
|
-
if (i instanceof
|
|
5920
|
-
return
|
|
5919
|
+
if (i instanceof Gi)
|
|
5920
|
+
return Ki(i);
|
|
5921
5921
|
throw new Error(
|
|
5922
5922
|
`non-template value passed to Polymer's html function: ${i}`
|
|
5923
5923
|
);
|
|
5924
5924
|
}
|
|
5925
|
-
const
|
|
5926
|
-
|
|
5925
|
+
const ks = function(t, ...e) {
|
|
5926
|
+
Ji(t, e);
|
|
5927
5927
|
const o = (
|
|
5928
5928
|
/** @type {!HTMLTemplateElement} */
|
|
5929
5929
|
document.createElement("template")
|
|
5930
5930
|
);
|
|
5931
5931
|
let r = e.reduce(
|
|
5932
|
-
(s, n, a) => s +
|
|
5932
|
+
(s, n, a) => s + Ns(n) + t[a + 1],
|
|
5933
5933
|
t[0]
|
|
5934
5934
|
);
|
|
5935
|
-
return
|
|
5936
|
-
},
|
|
5935
|
+
return ti && (r = ti.createHTML(r)), o.innerHTML = r, o;
|
|
5936
|
+
}, Ji = (i, t) => {
|
|
5937
5937
|
if (!Array.isArray(i) || !Array.isArray(i.raw) || t.length !== i.length - 1)
|
|
5938
5938
|
throw new TypeError("Invalid call to the html template tag");
|
|
5939
5939
|
};
|
|
@@ -5946,7 +5946,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5946
5946
|
Code distributed by Google as part of the polymer project is also
|
|
5947
5947
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5948
5948
|
*/
|
|
5949
|
-
const
|
|
5949
|
+
const Os = Ss(HTMLElement);
|
|
5950
5950
|
/**
|
|
5951
5951
|
* @license
|
|
5952
5952
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -5959,15 +5959,15 @@ function Zt(i, t, e = i.getAttribute("dir")) {
|
|
|
5959
5959
|
function Qt() {
|
|
5960
5960
|
return document.documentElement.getAttribute("dir");
|
|
5961
5961
|
}
|
|
5962
|
-
function
|
|
5962
|
+
function Ms() {
|
|
5963
5963
|
const i = Qt();
|
|
5964
5964
|
P.forEach((t) => {
|
|
5965
5965
|
Zt(t, i);
|
|
5966
5966
|
});
|
|
5967
5967
|
}
|
|
5968
|
-
const
|
|
5969
|
-
|
|
5970
|
-
const
|
|
5968
|
+
const Is = new MutationObserver(Ms);
|
|
5969
|
+
Is.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
5970
|
+
const Xi = (i) => class extends i {
|
|
5971
5971
|
static get properties() {
|
|
5972
5972
|
return {
|
|
5973
5973
|
/**
|
|
@@ -6028,7 +6028,7 @@ const Zi = (i) => class extends i {
|
|
|
6028
6028
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6029
6029
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6030
6030
|
*/
|
|
6031
|
-
const
|
|
6031
|
+
const Ds = (i) => class extends i {
|
|
6032
6032
|
static get properties() {
|
|
6033
6033
|
return {
|
|
6034
6034
|
/**
|
|
@@ -6068,7 +6068,7 @@ const zs = (i) => class extends i {
|
|
|
6068
6068
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6069
6069
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6070
6070
|
*/
|
|
6071
|
-
const
|
|
6071
|
+
const zs = _`
|
|
6072
6072
|
:host {
|
|
6073
6073
|
display: flex;
|
|
6074
6074
|
align-items: center;
|
|
@@ -6139,47 +6139,47 @@ const Ls = _`
|
|
|
6139
6139
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6140
6140
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6141
6141
|
*/
|
|
6142
|
-
O("vaadin-input-container",
|
|
6143
|
-
class
|
|
6142
|
+
O("vaadin-input-container", zs, { moduleId: "vaadin-input-container-styles" });
|
|
6143
|
+
class Ls extends Ds(qr(Xi(Os))) {
|
|
6144
6144
|
static get is() {
|
|
6145
6145
|
return "vaadin-input-container";
|
|
6146
6146
|
}
|
|
6147
6147
|
static get template() {
|
|
6148
|
-
return
|
|
6148
|
+
return ks`
|
|
6149
6149
|
<slot name="prefix"></slot>
|
|
6150
6150
|
<slot></slot>
|
|
6151
6151
|
<slot name="suffix"></slot>
|
|
6152
6152
|
`;
|
|
6153
6153
|
}
|
|
6154
6154
|
}
|
|
6155
|
-
|
|
6156
|
-
const
|
|
6157
|
-
function
|
|
6155
|
+
mi(Ls);
|
|
6156
|
+
const $s = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, gt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
6157
|
+
function Rs() {
|
|
6158
6158
|
function i() {
|
|
6159
6159
|
return !0;
|
|
6160
6160
|
}
|
|
6161
|
-
return
|
|
6161
|
+
return Zi(i);
|
|
6162
6162
|
}
|
|
6163
|
-
function
|
|
6163
|
+
function Bs() {
|
|
6164
6164
|
try {
|
|
6165
|
-
return
|
|
6165
|
+
return Fs() ? !0 : Us() ? gt ? !Hs() : !Rs() : !1;
|
|
6166
6166
|
} catch (i) {
|
|
6167
6167
|
return !1;
|
|
6168
6168
|
}
|
|
6169
6169
|
}
|
|
6170
|
-
function
|
|
6170
|
+
function Fs() {
|
|
6171
6171
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
6172
6172
|
}
|
|
6173
|
-
function
|
|
6173
|
+
function Us() {
|
|
6174
6174
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
6175
6175
|
}
|
|
6176
|
-
function
|
|
6176
|
+
function Hs() {
|
|
6177
6177
|
return !!(gt && Object.keys(gt).map((t) => gt[t]).filter((t) => t.productionMode).length > 0);
|
|
6178
6178
|
}
|
|
6179
|
-
function
|
|
6179
|
+
function Zi(i, t) {
|
|
6180
6180
|
if (typeof i != "function")
|
|
6181
6181
|
return;
|
|
6182
|
-
const e =
|
|
6182
|
+
const e = $s.exec(i.toString());
|
|
6183
6183
|
if (e)
|
|
6184
6184
|
try {
|
|
6185
6185
|
i = new Function(e[1]);
|
|
@@ -6189,12 +6189,12 @@ function Qi(i, t) {
|
|
|
6189
6189
|
return i(t);
|
|
6190
6190
|
}
|
|
6191
6191
|
window.Vaadin = window.Vaadin || {};
|
|
6192
|
-
const
|
|
6192
|
+
const ei = function(i, t) {
|
|
6193
6193
|
if (window.Vaadin.developmentMode)
|
|
6194
|
-
return
|
|
6194
|
+
return Zi(i, t);
|
|
6195
6195
|
};
|
|
6196
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
6197
|
-
function
|
|
6196
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Bs());
|
|
6197
|
+
function Vs() {
|
|
6198
6198
|
/*! vaadin-dev-mode:start
|
|
6199
6199
|
(function () {
|
|
6200
6200
|
'use strict';
|
|
@@ -6675,9 +6675,9 @@ function js() {
|
|
|
6675
6675
|
|
|
6676
6676
|
vaadin-dev-mode:end **/
|
|
6677
6677
|
}
|
|
6678
|
-
const
|
|
6679
|
-
if (typeof
|
|
6680
|
-
return
|
|
6678
|
+
const js = function() {
|
|
6679
|
+
if (typeof ei == "function")
|
|
6680
|
+
return ei(Vs);
|
|
6681
6681
|
};
|
|
6682
6682
|
/**
|
|
6683
6683
|
* @license
|
|
@@ -6688,10 +6688,10 @@ const qs = function() {
|
|
|
6688
6688
|
* Code distributed by Google as part of the polymer project is also
|
|
6689
6689
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6690
6690
|
*/
|
|
6691
|
-
let
|
|
6691
|
+
let ii = 0, Qi = 0;
|
|
6692
6692
|
const V = [];
|
|
6693
6693
|
let te = !1;
|
|
6694
|
-
function
|
|
6694
|
+
function qs() {
|
|
6695
6695
|
te = !1;
|
|
6696
6696
|
const i = V.length;
|
|
6697
6697
|
for (let t = 0; t < i; t++) {
|
|
@@ -6705,9 +6705,9 @@ function Ys() {
|
|
|
6705
6705
|
});
|
|
6706
6706
|
}
|
|
6707
6707
|
}
|
|
6708
|
-
V.splice(0, i),
|
|
6708
|
+
V.splice(0, i), Qi += i;
|
|
6709
6709
|
}
|
|
6710
|
-
const
|
|
6710
|
+
const Ys = {
|
|
6711
6711
|
/**
|
|
6712
6712
|
* Returns a sub-module with the async interface providing the provided
|
|
6713
6713
|
* delay.
|
|
@@ -6747,7 +6747,7 @@ const Ws = {
|
|
|
6747
6747
|
cancel(i) {
|
|
6748
6748
|
window.clearTimeout(i);
|
|
6749
6749
|
}
|
|
6750
|
-
},
|
|
6750
|
+
}, Ws = {
|
|
6751
6751
|
/**
|
|
6752
6752
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
6753
6753
|
*
|
|
@@ -6768,7 +6768,7 @@ const Ws = {
|
|
|
6768
6768
|
cancel(i) {
|
|
6769
6769
|
window.cancelAnimationFrame(i);
|
|
6770
6770
|
}
|
|
6771
|
-
},
|
|
6771
|
+
}, Gs = {
|
|
6772
6772
|
/**
|
|
6773
6773
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
6774
6774
|
*
|
|
@@ -6789,7 +6789,7 @@ const Ws = {
|
|
|
6789
6789
|
cancel(i) {
|
|
6790
6790
|
window.cancelIdleCallback ? window.cancelIdleCallback(i) : window.clearTimeout(i);
|
|
6791
6791
|
}
|
|
6792
|
-
},
|
|
6792
|
+
}, Ks = {
|
|
6793
6793
|
/**
|
|
6794
6794
|
* Enqueues a function called at microtask timing.
|
|
6795
6795
|
*
|
|
@@ -6798,9 +6798,9 @@ const Ws = {
|
|
|
6798
6798
|
* @return {number} Handle used for canceling task
|
|
6799
6799
|
*/
|
|
6800
6800
|
run(i) {
|
|
6801
|
-
te || (te = !0, queueMicrotask(() =>
|
|
6802
|
-
const t =
|
|
6803
|
-
return
|
|
6801
|
+
te || (te = !0, queueMicrotask(() => qs())), V.push(i);
|
|
6802
|
+
const t = ii;
|
|
6803
|
+
return ii += 1, t;
|
|
6804
6804
|
},
|
|
6805
6805
|
/**
|
|
6806
6806
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -6810,7 +6810,7 @@ const Ws = {
|
|
|
6810
6810
|
* @return {void}
|
|
6811
6811
|
*/
|
|
6812
6812
|
cancel(i) {
|
|
6813
|
-
const t = i -
|
|
6813
|
+
const t = i - Qi;
|
|
6814
6814
|
if (t >= 0) {
|
|
6815
6815
|
if (!V[t])
|
|
6816
6816
|
throw new Error(`invalid async handle: ${i}`);
|
|
@@ -6919,10 +6919,10 @@ class W {
|
|
|
6919
6919
|
return this._timer != null;
|
|
6920
6920
|
}
|
|
6921
6921
|
}
|
|
6922
|
-
function
|
|
6922
|
+
function Js(i) {
|
|
6923
6923
|
ut.add(i);
|
|
6924
6924
|
}
|
|
6925
|
-
function
|
|
6925
|
+
function Xs() {
|
|
6926
6926
|
const i = !!ut.size;
|
|
6927
6927
|
return ut.forEach((t) => {
|
|
6928
6928
|
try {
|
|
@@ -6934,10 +6934,10 @@ function Zs() {
|
|
|
6934
6934
|
}
|
|
6935
6935
|
}), i;
|
|
6936
6936
|
}
|
|
6937
|
-
const
|
|
6937
|
+
const na = () => {
|
|
6938
6938
|
let i;
|
|
6939
6939
|
do
|
|
6940
|
-
i =
|
|
6940
|
+
i = Xs();
|
|
6941
6941
|
while (i);
|
|
6942
6942
|
};
|
|
6943
6943
|
/**
|
|
@@ -6949,17 +6949,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
6949
6949
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
6950
6950
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
6951
6951
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
6952
|
-
|
|
6952
|
+
js();
|
|
6953
6953
|
};
|
|
6954
6954
|
let Rt;
|
|
6955
|
-
const
|
|
6955
|
+
const ri = /* @__PURE__ */ new Set(), aa = (i) => class extends Xi(i) {
|
|
6956
6956
|
/** @protected */
|
|
6957
6957
|
static finalize() {
|
|
6958
6958
|
super.finalize();
|
|
6959
6959
|
const { is: e } = this;
|
|
6960
|
-
e && !
|
|
6960
|
+
e && !ri.has(e) && (window.Vaadin.registrations.push(this), ri.add(e), window.Vaadin.developmentModeCallback && (Rt = W.debounce(Rt, Gs, () => {
|
|
6961
6961
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
6962
|
-
}),
|
|
6962
|
+
}), Js(Rt)));
|
|
6963
6963
|
}
|
|
6964
6964
|
constructor() {
|
|
6965
6965
|
super(), document.doctype === null && console.warn(
|
|
@@ -6972,7 +6972,7 @@ const oi = /* @__PURE__ */ new Set(), la = (i) => class extends Zi(i) {
|
|
|
6972
6972
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6973
6973
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6974
6974
|
*/
|
|
6975
|
-
function
|
|
6975
|
+
function da(i) {
|
|
6976
6976
|
const t = [];
|
|
6977
6977
|
for (; i; ) {
|
|
6978
6978
|
if (i.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -6997,11 +6997,11 @@ function fe(i) {
|
|
|
6997
6997
|
function Pt(i) {
|
|
6998
6998
|
return i ? [...i].join(" ") : "";
|
|
6999
6999
|
}
|
|
7000
|
-
function
|
|
7000
|
+
function tr(i, t, e) {
|
|
7001
7001
|
const o = fe(i.getAttribute(t));
|
|
7002
7002
|
o.add(e), i.setAttribute(t, Pt(o));
|
|
7003
7003
|
}
|
|
7004
|
-
function
|
|
7004
|
+
function Zs(i, t, e) {
|
|
7005
7005
|
const o = fe(i.getAttribute(t));
|
|
7006
7006
|
if (o.delete(e), o.size === 0) {
|
|
7007
7007
|
i.removeAttribute(t);
|
|
@@ -7009,7 +7009,7 @@ function Qs(i, t, e) {
|
|
|
7009
7009
|
}
|
|
7010
7010
|
i.setAttribute(t, Pt(o));
|
|
7011
7011
|
}
|
|
7012
|
-
function
|
|
7012
|
+
function Qs(i) {
|
|
7013
7013
|
return i.nodeType === Node.TEXT_NODE && i.textContent.trim() === "";
|
|
7014
7014
|
}
|
|
7015
7015
|
/**
|
|
@@ -7017,7 +7017,7 @@ function tn(i) {
|
|
|
7017
7017
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
7018
7018
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7019
7019
|
*/
|
|
7020
|
-
class
|
|
7020
|
+
class tn {
|
|
7021
7021
|
constructor(t, e) {
|
|
7022
7022
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
7023
7023
|
this._schedule();
|
|
@@ -7067,9 +7067,9 @@ class en {
|
|
|
7067
7067
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7068
7068
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7069
7069
|
*/
|
|
7070
|
-
let
|
|
7071
|
-
function
|
|
7072
|
-
return
|
|
7070
|
+
let en = 0;
|
|
7071
|
+
function rn() {
|
|
7072
|
+
return en++;
|
|
7073
7073
|
}
|
|
7074
7074
|
/**
|
|
7075
7075
|
* @license
|
|
@@ -7086,7 +7086,7 @@ class me extends EventTarget {
|
|
|
7086
7086
|
* @protected
|
|
7087
7087
|
*/
|
|
7088
7088
|
static generateId(t, e = "default") {
|
|
7089
|
-
return `${e}-${t.localName}-${
|
|
7089
|
+
return `${e}-${t.localName}-${rn()}`;
|
|
7090
7090
|
}
|
|
7091
7091
|
constructor(t, e, o, r = {}) {
|
|
7092
7092
|
super();
|
|
@@ -7178,8 +7178,8 @@ class me extends EventTarget {
|
|
|
7178
7178
|
*/
|
|
7179
7179
|
observeSlot() {
|
|
7180
7180
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, o = this.host.shadowRoot.querySelector(e);
|
|
7181
|
-
this.__slotObserver = new
|
|
7182
|
-
const n = this.multiple ? this.nodes : [this.node], a = r.filter((l) => !
|
|
7181
|
+
this.__slotObserver = new tn(o, ({ addedNodes: r, removedNodes: s }) => {
|
|
7182
|
+
const n = this.multiple ? this.nodes : [this.node], a = r.filter((l) => !Qs(l) && !n.includes(l));
|
|
7183
7183
|
s.length && (this.nodes = n.filter((l) => !s.includes(l)), s.forEach((l) => {
|
|
7184
7184
|
this.teardownNode(l);
|
|
7185
7185
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -7193,7 +7193,7 @@ class me extends EventTarget {
|
|
|
7193
7193
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
7194
7194
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7195
7195
|
*/
|
|
7196
|
-
class
|
|
7196
|
+
class ca extends me {
|
|
7197
7197
|
constructor(t) {
|
|
7198
7198
|
super(t, "tooltip"), this.setTarget(t);
|
|
7199
7199
|
}
|
|
@@ -7294,7 +7294,7 @@ class ua extends me {
|
|
|
7294
7294
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
7295
7295
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7296
7296
|
*/
|
|
7297
|
-
const
|
|
7297
|
+
const on = _`
|
|
7298
7298
|
[part='clear-button'] {
|
|
7299
7299
|
display: none;
|
|
7300
7300
|
cursor: default;
|
|
@@ -7313,7 +7313,7 @@ const sn = _`
|
|
|
7313
7313
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
7314
7314
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7315
7315
|
*/
|
|
7316
|
-
const
|
|
7316
|
+
const sn = _`
|
|
7317
7317
|
:host {
|
|
7318
7318
|
display: inline-flex;
|
|
7319
7319
|
outline: none;
|
|
@@ -7353,7 +7353,7 @@ const nn = _`
|
|
|
7353
7353
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
7354
7354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7355
7355
|
*/
|
|
7356
|
-
const
|
|
7356
|
+
const nn = _`
|
|
7357
7357
|
[class$='container'] {
|
|
7358
7358
|
display: flex;
|
|
7359
7359
|
flex-direction: column;
|
|
@@ -7367,13 +7367,13 @@ const an = _`
|
|
|
7367
7367
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
7368
7368
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7369
7369
|
*/
|
|
7370
|
-
const
|
|
7370
|
+
const ua = [sn, nn, on];
|
|
7371
7371
|
/**
|
|
7372
7372
|
* @license
|
|
7373
7373
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7374
7374
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7375
7375
|
*/
|
|
7376
|
-
class
|
|
7376
|
+
class ha extends me {
|
|
7377
7377
|
constructor(t, e, o = {}) {
|
|
7378
7378
|
const { uniqueIdPrefix: r } = o;
|
|
7379
7379
|
super(t, "input", "input", {
|
|
@@ -7405,30 +7405,30 @@ window.addEventListener(
|
|
|
7405
7405
|
},
|
|
7406
7406
|
{ capture: !0 }
|
|
7407
7407
|
);
|
|
7408
|
-
function
|
|
7408
|
+
function pa() {
|
|
7409
7409
|
let i = document.activeElement || document.body;
|
|
7410
7410
|
for (; i.shadowRoot && i.shadowRoot.activeElement; )
|
|
7411
7411
|
i = i.shadowRoot.activeElement;
|
|
7412
7412
|
return i;
|
|
7413
7413
|
}
|
|
7414
|
-
function
|
|
7414
|
+
function an() {
|
|
7415
7415
|
return _e;
|
|
7416
7416
|
}
|
|
7417
|
-
function
|
|
7417
|
+
function ln(i) {
|
|
7418
7418
|
const t = i.style;
|
|
7419
7419
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7420
7420
|
return !0;
|
|
7421
7421
|
const e = window.getComputedStyle(i);
|
|
7422
7422
|
return e.visibility === "hidden" || e.display === "none";
|
|
7423
7423
|
}
|
|
7424
|
-
function
|
|
7424
|
+
function dn(i, t) {
|
|
7425
7425
|
const e = Math.max(i.tabIndex, 0), o = Math.max(t.tabIndex, 0);
|
|
7426
7426
|
return e === 0 || o === 0 ? o > e : e > o;
|
|
7427
7427
|
}
|
|
7428
|
-
function
|
|
7428
|
+
function cn(i, t) {
|
|
7429
7429
|
const e = [];
|
|
7430
7430
|
for (; i.length > 0 && t.length > 0; )
|
|
7431
|
-
|
|
7431
|
+
dn(i[0], t[0]) ? e.push(t.shift()) : e.push(i.shift());
|
|
7432
7432
|
return e.concat(i, t);
|
|
7433
7433
|
}
|
|
7434
7434
|
function ee(i) {
|
|
@@ -7436,51 +7436,51 @@ function ee(i) {
|
|
|
7436
7436
|
if (t < 2)
|
|
7437
7437
|
return i;
|
|
7438
7438
|
const e = Math.ceil(t / 2), o = ee(i.slice(0, e)), r = ee(i.slice(e));
|
|
7439
|
-
return
|
|
7439
|
+
return cn(o, r);
|
|
7440
7440
|
}
|
|
7441
|
-
function
|
|
7441
|
+
function un(i) {
|
|
7442
7442
|
return i.matches('[tabindex="-1"]') ? !1 : i.matches("input, select, textarea, button, object") ? i.matches(":not([disabled])") : i.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7443
7443
|
}
|
|
7444
|
-
function
|
|
7444
|
+
function fa(i) {
|
|
7445
7445
|
return i.getRootNode().activeElement === i;
|
|
7446
7446
|
}
|
|
7447
|
-
function
|
|
7448
|
-
if (!
|
|
7447
|
+
function hn(i) {
|
|
7448
|
+
if (!un(i))
|
|
7449
7449
|
return -1;
|
|
7450
7450
|
const t = i.getAttribute("tabindex") || 0;
|
|
7451
7451
|
return Number(t);
|
|
7452
7452
|
}
|
|
7453
|
-
function
|
|
7454
|
-
if (i.nodeType !== Node.ELEMENT_NODE ||
|
|
7453
|
+
function er(i, t) {
|
|
7454
|
+
if (i.nodeType !== Node.ELEMENT_NODE || ln(i))
|
|
7455
7455
|
return !1;
|
|
7456
7456
|
const e = (
|
|
7457
7457
|
/** @type {HTMLElement} */
|
|
7458
7458
|
i
|
|
7459
|
-
), o =
|
|
7459
|
+
), o = hn(e);
|
|
7460
7460
|
let r = o > 0;
|
|
7461
7461
|
o >= 0 && t.push(e);
|
|
7462
7462
|
let s = [];
|
|
7463
7463
|
return e.localName === "slot" ? s = e.assignedNodes({ flatten: !0 }) : s = (e.shadowRoot || e).children, [...s].forEach((n) => {
|
|
7464
|
-
r =
|
|
7464
|
+
r = er(n, t) || r;
|
|
7465
7465
|
}), r;
|
|
7466
7466
|
}
|
|
7467
|
-
function
|
|
7467
|
+
function ma(i) {
|
|
7468
7468
|
const t = [];
|
|
7469
|
-
return
|
|
7469
|
+
return er(i, t) ? ee(t) : t;
|
|
7470
7470
|
}
|
|
7471
7471
|
/**
|
|
7472
7472
|
* @license
|
|
7473
7473
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7474
7474
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7475
7475
|
*/
|
|
7476
|
-
const
|
|
7476
|
+
const ir = b(
|
|
7477
7477
|
(i) => class extends i {
|
|
7478
7478
|
/**
|
|
7479
7479
|
* @protected
|
|
7480
7480
|
* @return {boolean}
|
|
7481
7481
|
*/
|
|
7482
7482
|
get _keyboardActive() {
|
|
7483
|
-
return
|
|
7483
|
+
return an();
|
|
7484
7484
|
}
|
|
7485
7485
|
/** @protected */
|
|
7486
7486
|
ready() {
|
|
@@ -7530,7 +7530,7 @@ const rr = b(
|
|
|
7530
7530
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7531
7531
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7532
7532
|
*/
|
|
7533
|
-
const
|
|
7533
|
+
const rr = b(
|
|
7534
7534
|
(i) => class extends i {
|
|
7535
7535
|
static get properties() {
|
|
7536
7536
|
return {
|
|
@@ -7575,7 +7575,7 @@ const or = b(
|
|
|
7575
7575
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7576
7576
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7577
7577
|
*/
|
|
7578
|
-
const
|
|
7578
|
+
const or = (i) => class extends rr(i) {
|
|
7579
7579
|
static get properties() {
|
|
7580
7580
|
return {
|
|
7581
7581
|
/**
|
|
@@ -7626,8 +7626,8 @@ const sr = (i) => class extends or(i) {
|
|
|
7626
7626
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7627
7627
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7628
7628
|
*/
|
|
7629
|
-
const
|
|
7630
|
-
(i) => class extends
|
|
7629
|
+
const pn = b(
|
|
7630
|
+
(i) => class extends ir(or(i)) {
|
|
7631
7631
|
static get properties() {
|
|
7632
7632
|
return {
|
|
7633
7633
|
/**
|
|
@@ -7846,14 +7846,14 @@ const ge = b(
|
|
|
7846
7846
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7847
7847
|
*/
|
|
7848
7848
|
const Bt = /* @__PURE__ */ new WeakMap();
|
|
7849
|
-
function
|
|
7849
|
+
function fn(i) {
|
|
7850
7850
|
return Bt.has(i) || Bt.set(i, /* @__PURE__ */ new Set()), Bt.get(i);
|
|
7851
7851
|
}
|
|
7852
|
-
function
|
|
7852
|
+
function mn(i, t) {
|
|
7853
7853
|
const e = document.createElement("style");
|
|
7854
7854
|
e.textContent = i, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
7855
7855
|
}
|
|
7856
|
-
const
|
|
7856
|
+
const _n = b(
|
|
7857
7857
|
(i) => class extends i {
|
|
7858
7858
|
/**
|
|
7859
7859
|
* List of styles to insert into root.
|
|
@@ -7868,9 +7868,9 @@ const gn = b(
|
|
|
7868
7868
|
}
|
|
7869
7869
|
/** @private */
|
|
7870
7870
|
__applySlotStyles() {
|
|
7871
|
-
const e = this.getRootNode(), o =
|
|
7871
|
+
const e = this.getRootNode(), o = fn(e);
|
|
7872
7872
|
this.slotStyles.forEach((r) => {
|
|
7873
|
-
o.has(r) || (
|
|
7873
|
+
o.has(r) || (mn(r, e), o.add(r));
|
|
7874
7874
|
});
|
|
7875
7875
|
}
|
|
7876
7876
|
}
|
|
@@ -7880,11 +7880,11 @@ const gn = b(
|
|
|
7880
7880
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7881
7881
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7882
7882
|
*/
|
|
7883
|
-
const Tt = (i) => i.test(navigator.userAgent), ie = (i) => i.test(navigator.platform),
|
|
7883
|
+
const Tt = (i) => i.test(navigator.userAgent), ie = (i) => i.test(navigator.platform), gn = (i) => i.test(navigator.vendor);
|
|
7884
7884
|
Tt(/Android/u);
|
|
7885
|
-
Tt(/Chrome/u) &&
|
|
7885
|
+
Tt(/Chrome/u) && gn(/Google Inc/u);
|
|
7886
7886
|
Tt(/Firefox/u);
|
|
7887
|
-
const
|
|
7887
|
+
const bn = ie(/^iPad/u) || ie(/^Mac/u) && navigator.maxTouchPoints > 1, vn = ie(/^iPhone/u), Aa = vn || bn, xa = Tt(/^((?!chrome|android).)*safari/iu), yn = (() => {
|
|
7888
7888
|
try {
|
|
7889
7889
|
return document.createEvent("TouchEvent"), !0;
|
|
7890
7890
|
} catch (i) {
|
|
@@ -7896,7 +7896,7 @@ const vn = ie(/^iPad/u) || ie(/^Mac/u) && navigator.maxTouchPoints > 1, yn = ie(
|
|
|
7896
7896
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7897
7897
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7898
7898
|
*/
|
|
7899
|
-
const
|
|
7899
|
+
const sr = b(
|
|
7900
7900
|
(i) => class extends i {
|
|
7901
7901
|
static get properties() {
|
|
7902
7902
|
return {
|
|
@@ -8100,7 +8100,7 @@ const nr = b(
|
|
|
8100
8100
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8101
8101
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8102
8102
|
*/
|
|
8103
|
-
const
|
|
8103
|
+
const wn = (i) => class extends sr(ge(i)) {
|
|
8104
8104
|
static get properties() {
|
|
8105
8105
|
return {
|
|
8106
8106
|
/**
|
|
@@ -8145,7 +8145,7 @@ const An = (i) => class extends nr(ge(i)) {
|
|
|
8145
8145
|
* @protected
|
|
8146
8146
|
*/
|
|
8147
8147
|
_onClearButtonMouseDown(e) {
|
|
8148
|
-
e.preventDefault(),
|
|
8148
|
+
e.preventDefault(), yn || this.inputElement.focus();
|
|
8149
8149
|
}
|
|
8150
8150
|
/**
|
|
8151
8151
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -8179,10 +8179,10 @@ const Ft = /* @__PURE__ */ new Map();
|
|
|
8179
8179
|
function be(i) {
|
|
8180
8180
|
return Ft.has(i) || Ft.set(i, /* @__PURE__ */ new WeakMap()), Ft.get(i);
|
|
8181
8181
|
}
|
|
8182
|
-
function
|
|
8182
|
+
function nr(i, t) {
|
|
8183
8183
|
i && i.removeAttribute(t);
|
|
8184
8184
|
}
|
|
8185
|
-
function
|
|
8185
|
+
function ar(i, t) {
|
|
8186
8186
|
if (!i || !t)
|
|
8187
8187
|
return;
|
|
8188
8188
|
const e = be(t);
|
|
@@ -8191,11 +8191,11 @@ function lr(i, t) {
|
|
|
8191
8191
|
const o = fe(i.getAttribute(t));
|
|
8192
8192
|
e.set(i, new Set(o));
|
|
8193
8193
|
}
|
|
8194
|
-
function
|
|
8195
|
-
if (!i
|
|
8194
|
+
function An(i, t) {
|
|
8195
|
+
if (!i)
|
|
8196
8196
|
return;
|
|
8197
8197
|
const e = be(t), o = e.get(i);
|
|
8198
|
-
!o || o.size === 0 ? i.removeAttribute(t) :
|
|
8198
|
+
!o || o.size === 0 ? i.removeAttribute(t) : tr(i, t, Pt(o)), e.delete(i);
|
|
8199
8199
|
}
|
|
8200
8200
|
function Ut(i, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
8201
8201
|
if (!i || !t)
|
|
@@ -8205,19 +8205,19 @@ function Ut(i, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
8205
8205
|
r && a.delete(r), o && a.add(o);
|
|
8206
8206
|
return;
|
|
8207
8207
|
}
|
|
8208
|
-
s && (a ? o || n.delete(i) :
|
|
8208
|
+
s && (a ? o || n.delete(i) : ar(i, t), nr(i, t)), Zs(i, t, r);
|
|
8209
8209
|
const l = o || Pt(a);
|
|
8210
|
-
l &&
|
|
8210
|
+
l && tr(i, t, l);
|
|
8211
8211
|
}
|
|
8212
|
-
function
|
|
8213
|
-
|
|
8212
|
+
function xn(i, t) {
|
|
8213
|
+
ar(i, t), nr(i, t);
|
|
8214
8214
|
}
|
|
8215
8215
|
/**
|
|
8216
8216
|
* @license
|
|
8217
8217
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8218
8218
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8219
8219
|
*/
|
|
8220
|
-
class
|
|
8220
|
+
class Cn {
|
|
8221
8221
|
constructor(t) {
|
|
8222
8222
|
this.host = t, this.__required = !1;
|
|
8223
8223
|
}
|
|
@@ -8290,7 +8290,7 @@ class En {
|
|
|
8290
8290
|
* @private
|
|
8291
8291
|
* */
|
|
8292
8292
|
__setAriaLabelToAttribute(t) {
|
|
8293
|
-
this.__target && (t ? (
|
|
8293
|
+
this.__target && (t ? (xn(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (An(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
8294
8294
|
}
|
|
8295
8295
|
/**
|
|
8296
8296
|
* @param {string | null | undefined} labelId
|
|
@@ -8330,7 +8330,7 @@ class En {
|
|
|
8330
8330
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8331
8331
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8332
8332
|
*/
|
|
8333
|
-
const
|
|
8333
|
+
const lr = b((i) => typeof i.prototype.addController == "function" ? i : class extends i {
|
|
8334
8334
|
constructor() {
|
|
8335
8335
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
8336
8336
|
}
|
|
@@ -8376,9 +8376,9 @@ E.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
8376
8376
|
E.setAttribute("aria-live", "polite");
|
|
8377
8377
|
document.body.appendChild(E);
|
|
8378
8378
|
let mt;
|
|
8379
|
-
function
|
|
8379
|
+
function En(i, t = {}) {
|
|
8380
8380
|
const e = t.mode || "polite", o = t.timeout === void 0 ? 150 : t.timeout;
|
|
8381
|
-
e === "alert" ? (E.removeAttribute("aria-live"), E.removeAttribute("role"), mt = W.debounce(mt,
|
|
8381
|
+
e === "alert" ? (E.removeAttribute("aria-live"), E.removeAttribute("role"), mt = W.debounce(mt, Ws, () => {
|
|
8382
8382
|
E.setAttribute("role", "alert");
|
|
8383
8383
|
})) : (mt && mt.cancel(), E.removeAttribute("role"), E.setAttribute("aria-live", e)), E.textContent = "", setTimeout(() => {
|
|
8384
8384
|
E.textContent = i;
|
|
@@ -8504,7 +8504,7 @@ class ve extends me {
|
|
|
8504
8504
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8505
8505
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8506
8506
|
*/
|
|
8507
|
-
class
|
|
8507
|
+
class Pn extends ve {
|
|
8508
8508
|
constructor(t) {
|
|
8509
8509
|
super(t, "error-message", "div");
|
|
8510
8510
|
}
|
|
@@ -8578,7 +8578,7 @@ class Tn extends ve {
|
|
|
8578
8578
|
*/
|
|
8579
8579
|
updateDefaultNode(t) {
|
|
8580
8580
|
const { errorMessage: e, invalid: o } = this, r = !!(o && e && e.trim() !== "");
|
|
8581
|
-
t && (t.textContent = r ? e : "", t.hidden = !r, r &&
|
|
8581
|
+
t && (t.textContent = r ? e : "", t.hidden = !r, r && En(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
8582
8582
|
}
|
|
8583
8583
|
}
|
|
8584
8584
|
/**
|
|
@@ -8586,7 +8586,7 @@ class Tn extends ve {
|
|
|
8586
8586
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8587
8587
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8588
8588
|
*/
|
|
8589
|
-
class
|
|
8589
|
+
class Tn extends ve {
|
|
8590
8590
|
constructor(t) {
|
|
8591
8591
|
super(t, "helper", null);
|
|
8592
8592
|
}
|
|
@@ -8641,7 +8641,7 @@ class Sn extends ve {
|
|
|
8641
8641
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8642
8642
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8643
8643
|
*/
|
|
8644
|
-
class
|
|
8644
|
+
class Sn extends ve {
|
|
8645
8645
|
constructor(t) {
|
|
8646
8646
|
super(t, "label", "label");
|
|
8647
8647
|
}
|
|
@@ -8694,8 +8694,8 @@ class Nn extends ve {
|
|
|
8694
8694
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8695
8695
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8696
8696
|
*/
|
|
8697
|
-
const
|
|
8698
|
-
(i) => class extends
|
|
8697
|
+
const Nn = b(
|
|
8698
|
+
(i) => class extends lr(i) {
|
|
8699
8699
|
static get properties() {
|
|
8700
8700
|
return {
|
|
8701
8701
|
/**
|
|
@@ -8709,7 +8709,7 @@ const kn = b(
|
|
|
8709
8709
|
};
|
|
8710
8710
|
}
|
|
8711
8711
|
constructor() {
|
|
8712
|
-
super(), this._labelController = new
|
|
8712
|
+
super(), this._labelController = new Sn(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
8713
8713
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
8714
8714
|
});
|
|
8715
8715
|
}
|
|
@@ -8737,7 +8737,7 @@ const kn = b(
|
|
|
8737
8737
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8738
8738
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8739
8739
|
*/
|
|
8740
|
-
const
|
|
8740
|
+
const dr = b(
|
|
8741
8741
|
(i) => class extends i {
|
|
8742
8742
|
static get properties() {
|
|
8743
8743
|
return {
|
|
@@ -8809,7 +8809,7 @@ const cr = b(
|
|
|
8809
8809
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8810
8810
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8811
8811
|
*/
|
|
8812
|
-
const
|
|
8812
|
+
const kn = (i) => class extends dr(Nn(lr(i))) {
|
|
8813
8813
|
static get properties() {
|
|
8814
8814
|
return {
|
|
8815
8815
|
/**
|
|
@@ -8859,7 +8859,7 @@ const On = (i) => class extends cr(kn(dr(i))) {
|
|
|
8859
8859
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
8860
8860
|
}
|
|
8861
8861
|
constructor() {
|
|
8862
|
-
super(), this._fieldAriaController = new
|
|
8862
|
+
super(), this._fieldAriaController = new Cn(this), this._helperController = new Tn(this), this._errorController = new Pn(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
8863
8863
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
8864
8864
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
8865
8865
|
const { hasContent: o, node: r } = e.detail;
|
|
@@ -8950,7 +8950,7 @@ const On = (i) => class extends cr(kn(dr(i))) {
|
|
|
8950
8950
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8951
8951
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8952
8952
|
*/
|
|
8953
|
-
const
|
|
8953
|
+
const On = b(
|
|
8954
8954
|
(i) => class extends i {
|
|
8955
8955
|
static get properties() {
|
|
8956
8956
|
return {
|
|
@@ -9031,8 +9031,8 @@ const Mn = b(
|
|
|
9031
9031
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9032
9032
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9033
9033
|
*/
|
|
9034
|
-
const
|
|
9035
|
-
(i) => class extends
|
|
9034
|
+
const Mn = b(
|
|
9035
|
+
(i) => class extends On(dr(sr(i))) {
|
|
9036
9036
|
/**
|
|
9037
9037
|
* An array of attributes which participate in the input validation.
|
|
9038
9038
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -9116,8 +9116,8 @@ const In = b(
|
|
|
9116
9116
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9117
9117
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9118
9118
|
*/
|
|
9119
|
-
const
|
|
9120
|
-
|
|
9119
|
+
const Ma = (i) => class extends _n(
|
|
9120
|
+
pn(Mn(kn(wn(ge(i)))))
|
|
9121
9121
|
) {
|
|
9122
9122
|
static get properties() {
|
|
9123
9123
|
return {
|
|
@@ -9249,7 +9249,7 @@ const Ia = (i) => class extends gn(
|
|
|
9249
9249
|
}
|
|
9250
9250
|
/** @protected */
|
|
9251
9251
|
_markInputPrevented() {
|
|
9252
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = W.debounce(this._preventInputDebouncer,
|
|
9252
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = W.debounce(this._preventInputDebouncer, Ys.after(200), () => {
|
|
9253
9253
|
this.removeAttribute("input-prevented");
|
|
9254
9254
|
});
|
|
9255
9255
|
}
|
|
@@ -9303,7 +9303,7 @@ const Ia = (i) => class extends gn(
|
|
|
9303
9303
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9304
9304
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9305
9305
|
*/
|
|
9306
|
-
class
|
|
9306
|
+
class Da {
|
|
9307
9307
|
constructor(t, e) {
|
|
9308
9308
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (o) => {
|
|
9309
9309
|
this.__initLabel(o.detail.node);
|
|
@@ -9331,7 +9331,7 @@ class za {
|
|
|
9331
9331
|
this.input.addEventListener("click", t);
|
|
9332
9332
|
}
|
|
9333
9333
|
}
|
|
9334
|
-
const
|
|
9334
|
+
const In = _`
|
|
9335
9335
|
:host {
|
|
9336
9336
|
/* Sizing */
|
|
9337
9337
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -9608,13 +9608,13 @@ const Dn = _`
|
|
|
9608
9608
|
margin-right: 0;
|
|
9609
9609
|
}
|
|
9610
9610
|
`;
|
|
9611
|
-
O("vaadin-button",
|
|
9611
|
+
O("vaadin-button", In, { moduleId: "lumo-button" });
|
|
9612
9612
|
/**
|
|
9613
9613
|
* @license
|
|
9614
9614
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9615
9615
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9616
9616
|
*/
|
|
9617
|
-
const
|
|
9617
|
+
const za = _`
|
|
9618
9618
|
:host {
|
|
9619
9619
|
display: inline-block;
|
|
9620
9620
|
position: relative;
|
|
@@ -9674,7 +9674,7 @@ const La = _`
|
|
|
9674
9674
|
outline-color: GrayText;
|
|
9675
9675
|
}
|
|
9676
9676
|
}
|
|
9677
|
-
`,
|
|
9677
|
+
`, La = (i) => i`
|
|
9678
9678
|
<div class="vaadin-button-container">
|
|
9679
9679
|
<span part="prefix" aria-hidden="true">
|
|
9680
9680
|
<slot name="prefix"></slot>
|
|
@@ -9687,44 +9687,33 @@ const La = _`
|
|
|
9687
9687
|
</span>
|
|
9688
9688
|
</div>
|
|
9689
9689
|
<slot name="tooltip"></slot>
|
|
9690
|
-
|
|
9691
|
-
/**
|
|
9692
|
-
@license
|
|
9693
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
9694
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
9695
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
9696
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
9697
|
-
Code distributed by Google as part of the polymer project is also
|
|
9698
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9699
|
-
*/
|
|
9700
|
-
const zn = !1, Ln = (i) => i, ye = typeof document.head.style.touchAction == "string", re = "__polymerGestures", Ht = "__polymerGesturesHandled", oe = "__polymerGesturesTouchAction", si = 25, ni = 5, $n = 2, Rn = ["mousedown", "mousemove", "mouseup", "click"], Bn = [0, 1, 4, 2], Fn = function() {
|
|
9690
|
+
`, Dn = (i) => i, cr = typeof document.head.style.touchAction == "string", re = "__polymerGestures", Ht = "__polymerGesturesHandled", oe = "__polymerGesturesTouchAction", oi = 25, si = 5, zn = 2, Ln = ["mousedown", "mousemove", "mouseup", "click"], $n = [0, 1, 4, 2], Rn = function() {
|
|
9701
9691
|
try {
|
|
9702
9692
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9703
9693
|
} catch (i) {
|
|
9704
9694
|
return !1;
|
|
9705
9695
|
}
|
|
9706
9696
|
}();
|
|
9707
|
-
function
|
|
9708
|
-
return
|
|
9697
|
+
function ye(i) {
|
|
9698
|
+
return Ln.indexOf(i) > -1;
|
|
9709
9699
|
}
|
|
9710
|
-
let
|
|
9700
|
+
let Bn = !1;
|
|
9711
9701
|
(function() {
|
|
9712
9702
|
try {
|
|
9713
9703
|
const i = Object.defineProperty({}, "passive", {
|
|
9714
9704
|
// eslint-disable-next-line getter-return
|
|
9715
9705
|
get() {
|
|
9716
|
-
|
|
9706
|
+
Bn = !0;
|
|
9717
9707
|
}
|
|
9718
9708
|
});
|
|
9719
9709
|
window.addEventListener("test", null, i), window.removeEventListener("test", null, i);
|
|
9720
9710
|
} catch (i) {
|
|
9721
9711
|
}
|
|
9722
9712
|
})();
|
|
9723
|
-
function
|
|
9724
|
-
|
|
9725
|
-
return { passive: !0 };
|
|
9713
|
+
function Fn(i) {
|
|
9714
|
+
ye(i);
|
|
9726
9715
|
}
|
|
9727
|
-
const
|
|
9716
|
+
const Un = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Hn = {
|
|
9728
9717
|
button: !0,
|
|
9729
9718
|
command: !0,
|
|
9730
9719
|
fieldset: !0,
|
|
@@ -9737,15 +9726,15 @@ const Hn = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Vn = {
|
|
|
9737
9726
|
};
|
|
9738
9727
|
function L(i) {
|
|
9739
9728
|
const t = i.type;
|
|
9740
|
-
if (!
|
|
9729
|
+
if (!ye(t))
|
|
9741
9730
|
return !1;
|
|
9742
9731
|
if (t === "mousemove") {
|
|
9743
9732
|
let o = i.buttons === void 0 ? 1 : i.buttons;
|
|
9744
|
-
return i instanceof window.MouseEvent && !
|
|
9733
|
+
return i instanceof window.MouseEvent && !Rn && (o = $n[i.which] || 0), !!(o & 1);
|
|
9745
9734
|
}
|
|
9746
9735
|
return (i.button === void 0 ? 0 : i.button) === 0;
|
|
9747
9736
|
}
|
|
9748
|
-
function
|
|
9737
|
+
function Vn(i) {
|
|
9749
9738
|
if (i.type === "click") {
|
|
9750
9739
|
if (i.detail === 0)
|
|
9751
9740
|
return !0;
|
|
@@ -9762,10 +9751,6 @@ function jn(i) {
|
|
|
9762
9751
|
return !1;
|
|
9763
9752
|
}
|
|
9764
9753
|
const T = {
|
|
9765
|
-
mouse: {
|
|
9766
|
-
target: null,
|
|
9767
|
-
mouseIgnoreJob: null
|
|
9768
|
-
},
|
|
9769
9754
|
touch: {
|
|
9770
9755
|
x: 0,
|
|
9771
9756
|
y: 0,
|
|
@@ -9773,9 +9758,9 @@ const T = {
|
|
|
9773
9758
|
scrollDecided: !1
|
|
9774
9759
|
}
|
|
9775
9760
|
};
|
|
9776
|
-
function
|
|
9761
|
+
function jn(i) {
|
|
9777
9762
|
let t = "auto";
|
|
9778
|
-
const e =
|
|
9763
|
+
const e = hr(i);
|
|
9779
9764
|
for (let o = 0, r; o < e.length; o++)
|
|
9780
9765
|
if (r = e[o], r[oe]) {
|
|
9781
9766
|
t = r[oe];
|
|
@@ -9783,14 +9768,14 @@ function qn(i) {
|
|
|
9783
9768
|
}
|
|
9784
9769
|
return t;
|
|
9785
9770
|
}
|
|
9786
|
-
function
|
|
9771
|
+
function ur(i, t, e) {
|
|
9787
9772
|
i.movefn = t, i.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9788
9773
|
}
|
|
9789
9774
|
function j(i) {
|
|
9790
9775
|
document.removeEventListener("mousemove", i.movefn), document.removeEventListener("mouseup", i.upfn), i.movefn = null, i.upfn = null;
|
|
9791
9776
|
}
|
|
9792
|
-
const
|
|
9793
|
-
function
|
|
9777
|
+
const hr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (i) => i.composedPath && i.composedPath() || [], we = {}, D = [];
|
|
9778
|
+
function qn(i, t) {
|
|
9794
9779
|
let e = document.elementFromPoint(i, t), o = e;
|
|
9795
9780
|
for (; o && o.shadowRoot && !window.ShadyDOM; ) {
|
|
9796
9781
|
const r = o;
|
|
@@ -9801,13 +9786,13 @@ function Yn(i, t) {
|
|
|
9801
9786
|
return e;
|
|
9802
9787
|
}
|
|
9803
9788
|
function k(i) {
|
|
9804
|
-
const t =
|
|
9789
|
+
const t = hr(
|
|
9805
9790
|
/** @type {?Event} */
|
|
9806
9791
|
i
|
|
9807
9792
|
);
|
|
9808
9793
|
return t.length > 0 ? t[0] : i.target;
|
|
9809
9794
|
}
|
|
9810
|
-
function
|
|
9795
|
+
function Yn(i) {
|
|
9811
9796
|
const t = i.type, o = i.currentTarget[re];
|
|
9812
9797
|
if (!o)
|
|
9813
9798
|
return;
|
|
@@ -9818,7 +9803,7 @@ function Wn(i) {
|
|
|
9818
9803
|
const n = i.changedTouches[0];
|
|
9819
9804
|
if (t === "touchstart" && i.touches.length === 1 && (T.touch.id = n.identifier), T.touch.id !== n.identifier)
|
|
9820
9805
|
return;
|
|
9821
|
-
|
|
9806
|
+
cr || (t === "touchstart" || t === "touchmove") && Wn(i);
|
|
9822
9807
|
}
|
|
9823
9808
|
const s = i[Ht];
|
|
9824
9809
|
if (!s.skip) {
|
|
@@ -9828,7 +9813,7 @@ function Wn(i) {
|
|
|
9828
9813
|
a = D[n], r[a.name] && !s[a.name] && (s[a.name] = !0, a[t](i));
|
|
9829
9814
|
}
|
|
9830
9815
|
}
|
|
9831
|
-
function
|
|
9816
|
+
function Wn(i) {
|
|
9832
9817
|
const t = i.changedTouches[0], e = i.type;
|
|
9833
9818
|
if (e === "touchstart")
|
|
9834
9819
|
T.touch.x = t.clientX, T.touch.y = t.clientY, T.touch.scrollDecided = !1;
|
|
@@ -9836,29 +9821,29 @@ function Gn(i) {
|
|
|
9836
9821
|
if (T.touch.scrollDecided)
|
|
9837
9822
|
return;
|
|
9838
9823
|
T.touch.scrollDecided = !0;
|
|
9839
|
-
const o =
|
|
9824
|
+
const o = jn(i);
|
|
9840
9825
|
let r = !1;
|
|
9841
9826
|
const s = Math.abs(T.touch.x - t.clientX), n = Math.abs(T.touch.y - t.clientY);
|
|
9842
9827
|
i.cancelable && (o === "none" ? r = !0 : o === "pan-x" ? r = n > s : o === "pan-y" && (r = s > n)), r ? i.preventDefault() : xt("track");
|
|
9843
9828
|
}
|
|
9844
9829
|
}
|
|
9845
|
-
function
|
|
9846
|
-
return
|
|
9830
|
+
function ni(i, t, e) {
|
|
9831
|
+
return we[t] ? (Gn(i, t, e), !0) : !1;
|
|
9847
9832
|
}
|
|
9848
|
-
function
|
|
9849
|
-
const o =
|
|
9833
|
+
function Gn(i, t, e) {
|
|
9834
|
+
const o = we[t], r = o.deps, s = o.name;
|
|
9850
9835
|
let n = i[re];
|
|
9851
9836
|
n || (i[re] = n = {});
|
|
9852
9837
|
for (let a = 0, l, d; a < r.length; a++)
|
|
9853
|
-
l = r[a], !(
|
|
9854
|
-
i.addEventListener(t, e), o.touchAction &&
|
|
9838
|
+
l = r[a], !(Un && ye(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Yn, Fn(l)), d[s] = (d[s] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
9839
|
+
i.addEventListener(t, e), o.touchAction && Jn(i, o.touchAction);
|
|
9855
9840
|
}
|
|
9856
|
-
function
|
|
9841
|
+
function Ae(i) {
|
|
9857
9842
|
D.push(i), i.emits.forEach((t) => {
|
|
9858
|
-
|
|
9843
|
+
we[t] = i;
|
|
9859
9844
|
});
|
|
9860
9845
|
}
|
|
9861
|
-
function
|
|
9846
|
+
function Kn(i) {
|
|
9862
9847
|
for (let t = 0, e; t < D.length; t++) {
|
|
9863
9848
|
e = D[t];
|
|
9864
9849
|
for (let o = 0, r; o < e.emits.length; o++)
|
|
@@ -9867,14 +9852,14 @@ function Jn(i) {
|
|
|
9867
9852
|
}
|
|
9868
9853
|
return null;
|
|
9869
9854
|
}
|
|
9870
|
-
function
|
|
9871
|
-
|
|
9855
|
+
function Jn(i, t) {
|
|
9856
|
+
cr && i instanceof HTMLElement && Ks.run(() => {
|
|
9872
9857
|
i.style.touchAction = t;
|
|
9873
9858
|
}), i[oe] = t;
|
|
9874
9859
|
}
|
|
9875
|
-
function
|
|
9860
|
+
function xe(i, t, e) {
|
|
9876
9861
|
const o = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9877
|
-
if (o.detail = e,
|
|
9862
|
+
if (o.detail = e, Dn(
|
|
9878
9863
|
/** @type {!Node} */
|
|
9879
9864
|
i
|
|
9880
9865
|
).dispatchEvent(o), o.defaultPrevented) {
|
|
@@ -9883,10 +9868,10 @@ function Ce(i, t, e) {
|
|
|
9883
9868
|
}
|
|
9884
9869
|
}
|
|
9885
9870
|
function xt(i) {
|
|
9886
|
-
const t =
|
|
9871
|
+
const t = Kn(i);
|
|
9887
9872
|
t.info && (t.info.prevent = !0);
|
|
9888
9873
|
}
|
|
9889
|
-
|
|
9874
|
+
Ae({
|
|
9890
9875
|
name: "downup",
|
|
9891
9876
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9892
9877
|
flow: {
|
|
@@ -9918,7 +9903,7 @@ xe({
|
|
|
9918
9903
|
}, r = (s) => {
|
|
9919
9904
|
L(s) && Z("up", t, s), j(e.info);
|
|
9920
9905
|
};
|
|
9921
|
-
|
|
9906
|
+
ur(this.info, o, r), Z("down", t, i);
|
|
9922
9907
|
},
|
|
9923
9908
|
/**
|
|
9924
9909
|
* @this {GestureRecognizer}
|
|
@@ -9938,7 +9923,7 @@ xe({
|
|
|
9938
9923
|
}
|
|
9939
9924
|
});
|
|
9940
9925
|
function Z(i, t, e, o) {
|
|
9941
|
-
t &&
|
|
9926
|
+
t && xe(t, i, {
|
|
9942
9927
|
x: e.clientX,
|
|
9943
9928
|
y: e.clientY,
|
|
9944
9929
|
sourceEvent: e,
|
|
@@ -9948,7 +9933,7 @@ function Z(i, t, e, o) {
|
|
|
9948
9933
|
}
|
|
9949
9934
|
});
|
|
9950
9935
|
}
|
|
9951
|
-
|
|
9936
|
+
Ae({
|
|
9952
9937
|
name: "track",
|
|
9953
9938
|
touchAction: "none",
|
|
9954
9939
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9965,7 +9950,7 @@ xe({
|
|
|
9965
9950
|
moves: [],
|
|
9966
9951
|
/** @this {GestureInfo} */
|
|
9967
9952
|
addMove(i) {
|
|
9968
|
-
this.moves.length >
|
|
9953
|
+
this.moves.length > zn && this.moves.shift(), this.moves.push(i);
|
|
9969
9954
|
},
|
|
9970
9955
|
movefn: null,
|
|
9971
9956
|
upfn: null,
|
|
@@ -9988,11 +9973,11 @@ xe({
|
|
|
9988
9973
|
return;
|
|
9989
9974
|
const t = k(i), e = this, o = (s) => {
|
|
9990
9975
|
const n = s.clientX, a = s.clientY;
|
|
9991
|
-
|
|
9976
|
+
ai(e.info, n, a) && (e.info.state = e.info.started ? s.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && xt("tap"), e.info.addMove({ x: n, y: a }), L(s) || (e.info.state = "end", j(e.info)), t && Vt(e.info, t, s), e.info.started = !0);
|
|
9992
9977
|
}, r = (s) => {
|
|
9993
9978
|
e.info.started && o(s), j(e.info);
|
|
9994
9979
|
};
|
|
9995
|
-
|
|
9980
|
+
ur(this.info, o, r), this.info.x = i.clientX, this.info.y = i.clientY;
|
|
9996
9981
|
},
|
|
9997
9982
|
/**
|
|
9998
9983
|
* @this {GestureRecognizer}
|
|
@@ -10010,7 +9995,7 @@ xe({
|
|
|
10010
9995
|
*/
|
|
10011
9996
|
touchmove(i) {
|
|
10012
9997
|
const t = k(i), e = i.changedTouches[0], o = e.clientX, r = e.clientY;
|
|
10013
|
-
|
|
9998
|
+
ai(this.info, o, r) && (this.info.state === "start" && xt("tap"), this.info.addMove({ x: o, y: r }), Vt(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
10014
9999
|
},
|
|
10015
10000
|
/**
|
|
10016
10001
|
* @this {GestureRecognizer}
|
|
@@ -10022,20 +10007,20 @@ xe({
|
|
|
10022
10007
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), Vt(this.info, t, e));
|
|
10023
10008
|
}
|
|
10024
10009
|
});
|
|
10025
|
-
function
|
|
10010
|
+
function ai(i, t, e) {
|
|
10026
10011
|
if (i.prevent)
|
|
10027
10012
|
return !1;
|
|
10028
10013
|
if (i.started)
|
|
10029
10014
|
return !0;
|
|
10030
10015
|
const o = Math.abs(i.x - t), r = Math.abs(i.y - e);
|
|
10031
|
-
return o >=
|
|
10016
|
+
return o >= si || r >= si;
|
|
10032
10017
|
}
|
|
10033
10018
|
function Vt(i, t, e) {
|
|
10034
10019
|
if (!t)
|
|
10035
10020
|
return;
|
|
10036
10021
|
const o = i.moves[i.moves.length - 2], r = i.moves[i.moves.length - 1], s = r.x - i.x, n = r.y - i.y;
|
|
10037
10022
|
let a, l = 0;
|
|
10038
|
-
o && (a = r.x - o.x, l = r.y - o.y),
|
|
10023
|
+
o && (a = r.x - o.x, l = r.y - o.y), xe(t, "track", {
|
|
10039
10024
|
state: i.state,
|
|
10040
10025
|
x: e.clientX,
|
|
10041
10026
|
y: e.clientY,
|
|
@@ -10045,11 +10030,11 @@ function Vt(i, t, e) {
|
|
|
10045
10030
|
ddy: l,
|
|
10046
10031
|
sourceEvent: e,
|
|
10047
10032
|
hover() {
|
|
10048
|
-
return
|
|
10033
|
+
return qn(e.clientX, e.clientY);
|
|
10049
10034
|
}
|
|
10050
10035
|
});
|
|
10051
10036
|
}
|
|
10052
|
-
|
|
10037
|
+
Ae({
|
|
10053
10038
|
name: "tap",
|
|
10054
10039
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
10055
10040
|
flow: {
|
|
@@ -10083,7 +10068,7 @@ xe({
|
|
|
10083
10068
|
* @return {void}
|
|
10084
10069
|
*/
|
|
10085
10070
|
click(i) {
|
|
10086
|
-
L(i) &&
|
|
10071
|
+
L(i) && li(this.info, i);
|
|
10087
10072
|
},
|
|
10088
10073
|
/**
|
|
10089
10074
|
* @this {GestureRecognizer}
|
|
@@ -10100,15 +10085,15 @@ xe({
|
|
|
10100
10085
|
* @return {void}
|
|
10101
10086
|
*/
|
|
10102
10087
|
touchend(i) {
|
|
10103
|
-
|
|
10088
|
+
li(this.info, i.changedTouches[0], i);
|
|
10104
10089
|
}
|
|
10105
10090
|
});
|
|
10106
|
-
function
|
|
10091
|
+
function li(i, t, e) {
|
|
10107
10092
|
const o = Math.abs(t.clientX - i.x), r = Math.abs(t.clientY - i.y), s = k(e || t);
|
|
10108
|
-
!s ||
|
|
10093
|
+
!s || Hn[
|
|
10109
10094
|
/** @type {!HTMLElement} */
|
|
10110
10095
|
s.localName
|
|
10111
|
-
] && s.hasAttribute("disabled") || (isNaN(o) || isNaN(r) || o <=
|
|
10096
|
+
] && s.hasAttribute("disabled") || (isNaN(o) || isNaN(r) || o <= oi && r <= oi || Vn(t)) && (i.prevent || xe(s, "tap", {
|
|
10112
10097
|
x: t.clientX,
|
|
10113
10098
|
y: t.clientY,
|
|
10114
10099
|
sourceEvent: t,
|
|
@@ -10120,7 +10105,7 @@ function di(i, t, e) {
|
|
|
10120
10105
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10121
10106
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10122
10107
|
*/
|
|
10123
|
-
const
|
|
10108
|
+
const Xn = (i) => class extends rr(ge(i)) {
|
|
10124
10109
|
/**
|
|
10125
10110
|
* An array of activation keys.
|
|
10126
10111
|
*
|
|
@@ -10135,9 +10120,9 @@ const Zn = (i) => class extends or(ge(i)) {
|
|
|
10135
10120
|
}
|
|
10136
10121
|
/** @protected */
|
|
10137
10122
|
ready() {
|
|
10138
|
-
super.ready(),
|
|
10123
|
+
super.ready(), ni(this, "down", (e) => {
|
|
10139
10124
|
this._shouldSetActive(e) && this._setActive(!0);
|
|
10140
|
-
}),
|
|
10125
|
+
}), ni(this, "up", () => {
|
|
10141
10126
|
this._setActive(!1);
|
|
10142
10127
|
});
|
|
10143
10128
|
}
|
|
@@ -10183,7 +10168,7 @@ const Zn = (i) => class extends or(ge(i)) {
|
|
|
10183
10168
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10184
10169
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10185
10170
|
*/
|
|
10186
|
-
const
|
|
10171
|
+
const Ra = (i) => class extends Xn(or(ir(i))) {
|
|
10187
10172
|
static get properties() {
|
|
10188
10173
|
return {
|
|
10189
10174
|
/**
|
|
@@ -10234,69 +10219,69 @@ const Ba = (i) => class extends Zn(sr(rr(i))) {
|
|
|
10234
10219
|
}
|
|
10235
10220
|
};
|
|
10236
10221
|
export {
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10222
|
+
da as $,
|
|
10223
|
+
Xn as A,
|
|
10224
|
+
Ra as B,
|
|
10225
|
+
lr as C,
|
|
10226
|
+
On as D,
|
|
10227
|
+
aa as E,
|
|
10228
|
+
kn as F,
|
|
10229
|
+
W as G,
|
|
10230
|
+
Ys as H,
|
|
10231
|
+
sr as I,
|
|
10232
|
+
Xi as J,
|
|
10233
|
+
Mn as K,
|
|
10234
|
+
Da as L,
|
|
10235
|
+
ge as M,
|
|
10236
|
+
Aa as N,
|
|
10237
|
+
an as O,
|
|
10238
|
+
Os as P,
|
|
10239
|
+
na as Q,
|
|
10240
|
+
Ws as R,
|
|
10241
|
+
tn as S,
|
|
10242
|
+
ca as T,
|
|
10243
|
+
Ks as U,
|
|
10244
|
+
xa as V,
|
|
10245
|
+
Js as W,
|
|
10246
|
+
Gs as X,
|
|
10247
|
+
dr as Y,
|
|
10248
|
+
fa as Z,
|
|
10249
|
+
yn as _,
|
|
10250
|
+
rr as a,
|
|
10251
|
+
rn as a0,
|
|
10252
|
+
uo as a1,
|
|
10253
|
+
no as a2,
|
|
10269
10254
|
Wt as a3,
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
|
|
10255
|
+
pa as a4,
|
|
10256
|
+
ho as a5,
|
|
10257
|
+
ma as a6,
|
|
10258
|
+
ia as a7,
|
|
10259
|
+
wt as a8,
|
|
10260
|
+
In as a9,
|
|
10261
|
+
_n as aa,
|
|
10262
|
+
mi as b,
|
|
10263
|
+
Ni as c,
|
|
10279
10264
|
b as d,
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10265
|
+
eo as e,
|
|
10266
|
+
ro as f,
|
|
10267
|
+
za as g,
|
|
10268
|
+
ks as h,
|
|
10284
10269
|
_ as i,
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10270
|
+
qr as j,
|
|
10271
|
+
La as k,
|
|
10272
|
+
Cs as l,
|
|
10273
|
+
ua as m,
|
|
10274
|
+
Ma as n,
|
|
10275
|
+
ha as o,
|
|
10276
|
+
pn as p,
|
|
10277
|
+
ir as q,
|
|
10293
10278
|
O as r,
|
|
10294
|
-
|
|
10295
|
-
|
|
10279
|
+
un as s,
|
|
10280
|
+
ea as t,
|
|
10296
10281
|
ra as u,
|
|
10297
|
-
|
|
10282
|
+
No as v,
|
|
10298
10283
|
z as w,
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10284
|
+
ni as x,
|
|
10285
|
+
Jn as y,
|
|
10286
|
+
me as z
|
|
10302
10287
|
};
|