@everymatrix/player-account-controller 1.58.0 → 1.58.2
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-BplfowFH.js → GeneralLogout-D1bnYvKD.js} +639 -617
- package/components/GeneralLogout-DKq7aXpj.cjs +21 -0
- package/components/{GeneralLogout-DuABjNp8.js → GeneralLogout-oWKFw5-U.js} +740 -718
- package/components/PlayerAccountBettingHistory-B5a8vPwA.js +329 -0
- package/components/PlayerAccountBettingHistory-Ba0rbzAt.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-BxCRppml.js → PlayerAccountBettingHistory-cvLnLJaM.js} +126 -127
- package/components/{PlayerAccountBiometrics-C8NBQKUw.js → PlayerAccountBiometrics-244_l2MD.js} +22 -22
- package/components/{PlayerAccountBiometrics-BEFosUME.js → PlayerAccountBiometrics-ClTvex4w.js} +22 -22
- package/components/{PlayerAccountBiometrics-DTFbvNhj.cjs → PlayerAccountBiometrics-D3SdfZAk.cjs} +1 -1
- package/components/{PlayerAccountClosure-bkzdtq3v.js → PlayerAccountClosure-9BJkNHZ1.js} +32 -32
- package/components/{PlayerAccountClosure-D9hNArXT.js → PlayerAccountClosure-CUDjmpCz.js} +32 -32
- package/components/{PlayerAccountClosure-B2Gy9x3G.cjs → PlayerAccountClosure-Dk5N1AgF.cjs} +1 -1
- package/components/{PlayerAccountController-xYKqtqjD.js → PlayerAccountController-B5Eo94jN.js} +297 -297
- package/components/PlayerAccountController-BR2iFVCe.js +7272 -0
- package/components/{PlayerAccountController-DIHWRFo8.cjs → PlayerAccountController-Cl05EBau.cjs} +1 -1
- package/components/PlayerAccountController-D25Cayml.cjs +1 -0
- package/components/{PlayerAccountController-BNJtCLty.js → PlayerAccountController-U2zDDLp1.js} +296 -296
- package/components/PlayerAccountController-rcttF6Lm.js +7255 -0
- package/components/{PlayerAccountGamingLimits-Dxz29F5p.js → PlayerAccountGamingLimits-C2OQmz0L.js} +81 -81
- package/components/{PlayerAccountGamingLimits-oNSvEvXz.js → PlayerAccountGamingLimits-CGZB2W3L.js} +81 -81
- package/components/{PlayerAccountGamingLimits-BrtFDG1O.cjs → PlayerAccountGamingLimits-FIGZjiiE.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Bes0Svrr.js → PlayerAccountGamingLimitsConfirmationModal-CMNuF6Yo.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs → PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BhmpbfB9.js → PlayerAccountGamingLimitsConfirmationModal-apD3a9Bz.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs → PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-BS6wWGFd.js → PlayerAccountGamingLimitsGroupEdit-Cj28m25L.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-D2lkSHNX.js → PlayerAccountGamingLimitsGroupEdit-DrfWEw7D.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2-DrrIUH-E.js → PlayerAccountGamingLimitsHistory2-CL7qYX9D.js} +48 -48
- package/components/{PlayerAccountGamingLimitsHistory2-_bX1iIJM.js → PlayerAccountGamingLimitsHistory2-CsMgI2vP.js} +46 -46
- package/components/{PlayerAccountGamingLimitsHistory2-DGVBzjIn.cjs → PlayerAccountGamingLimitsHistory2-D90-0n9S.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-D73a50SO.js → PlayerAccountGamingLimitsInfoCard-C-SGItlz.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-Cd2oTK9r.js → PlayerAccountGamingLimitsInfoCard-CFusXmG3.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs → PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DV_B0I-1.js → PlayerAccountGamingLimitsPage2Gm16-BfV10mIx.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DzG7Yyop.cjs → PlayerAccountGamingLimitsPage2Gm16-DAMLMUMu.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BikeP6Os.js → PlayerAccountGamingLimitsPage2Gm16-DoZ7M3C6.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-Bmo_d-SK.js → PlayerAccountGamingLimitsPopup-4sFhABTh.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-BhxPf2k2.js → PlayerAccountGamingLimitsPopup-Cut_OV-5.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs → PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Dz66ld9y.js → PlayerAccountGamingLimitsWrapper2-BBhmB2BI.js} +55 -55
- package/components/{PlayerAccountGamingLimitsWrapper2-Cm_s6Fie.cjs → PlayerAccountGamingLimitsWrapper2-Cr_T1GBf.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CE96__tw.js → PlayerAccountGamingLimitsWrapper2-eTM9_1BC.js} +20 -20
- package/components/{PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs → PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-xn068Ofp.js → PlayerAccountGeneralConfirmationModal-Cxl-LoG0.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DHO5sM_A.js → PlayerAccountGeneralConfirmationModal-L97vGeau.js} +34 -34
- package/components/{PlayerAccountMenu-B2ipwiXm.cjs → PlayerAccountMenu-BIdnddS_.cjs} +1 -1
- package/components/{PlayerAccountMenu-BZMOA6FB.js → PlayerAccountMenu-CBgydCnL.js} +29 -29
- package/components/{PlayerAccountMenu-2fRKWX72.js → PlayerAccountMenu-DUTsp-yv.js} +32 -32
- package/components/{PlayerAccountModal-BPfkAiOY.js → PlayerAccountModal-7R2WRCgZ.js} +42 -42
- package/components/{PlayerAccountModal-DYanNf6b.js → PlayerAccountModal-C7_3et-5.js} +42 -42
- package/components/{PlayerAccountModal-BC3FTDl6.cjs → PlayerAccountModal-tginaXbZ.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CcTMD34l.cjs → PlayerAccountNotifications-BLsxWrq2.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DxM4yW0h.js → PlayerAccountNotifications-BQPI0SJW.js} +31 -31
- package/components/{PlayerAccountNotifications-989NFh5T.js → PlayerAccountNotifications-DcYU4F80.js} +32 -32
- package/components/{PlayerAccountSelfExclusion-BrQUxdxS.js → PlayerAccountSelfExclusion--Rn9q2b5.js} +786 -781
- package/components/{PlayerAccountSelfExclusion-D4uJysE9.cjs → PlayerAccountSelfExclusion-CKVraXB_.cjs} +153 -153
- package/components/{PlayerAccountSelfExclusion-tDcqpg8M.js → PlayerAccountSelfExclusion-DPebzB6p.js} +1689 -1684
- package/components/PlayerAccountSelfExclusion-DQemkHnw.js +16835 -0
- package/components/PlayerAccountSelfExclusion-EzdDd4JW.js +16757 -0
- package/components/PlayerAccountSelfExclusion-PIbK0zJN.cjs +3555 -0
- package/components/{PlayerAccountTimeout-1VU-R_sT.js → PlayerAccountTimeout-BUMA2T0A.js} +58 -58
- package/components/{PlayerAccountTimeout-BnBgpjeF.cjs → PlayerAccountTimeout-Canoqg7a.cjs} +1 -1
- package/components/PlayerAccountTimeout-DC6dXEP7.js +950 -0
- package/components/{PlayerAccountTimeout-DAyJv6XI.js → PlayerAccountTimeout-DGGqGhkZ.js} +58 -58
- package/components/PlayerAccountTimeout-DqOYXUZt.cjs +1 -0
- package/components/PlayerAccountTimeout-TtjDitl7.js +950 -0
- package/components/{PlayerActiveBonuses-BFVeH6mh.js → PlayerActiveBonuses-BbsdliMe.js} +74 -74
- package/components/{PlayerActiveBonuses-zUVH_ST1.js → PlayerActiveBonuses-BddZrv-Y.js} +73 -73
- package/components/{PlayerActiveBonuses-C2r4IPEL.cjs → PlayerActiveBonuses-BfJ_kyb8.cjs} +1 -1
- package/components/PlayerActiveBonuses-CS8nC9ys.js +1077 -0
- package/components/PlayerActiveBonuses-DTojdXrg.cjs +1 -0
- package/components/PlayerActiveBonuses-yGG4TUJy.js +1078 -0
- package/components/{PlayerBonusCard-B-cs4cqg.js → PlayerBonusCard-9sQnuijs.js} +80 -80
- package/components/PlayerBonusCard-BBGQvGlt.js +720 -0
- package/components/PlayerBonusCard-C8tT_UZL.js +720 -0
- package/components/PlayerBonusCard-OfcmkGqe.cjs +1 -0
- package/components/{PlayerBonusCard-BX-b3HKZ.js → PlayerBonusCard-QZKUlUnC.js} +80 -80
- package/components/{PlayerBonusCard-BrvsM8No.cjs → PlayerBonusCard-ihCApHIs.cjs} +1 -1
- package/components/{PlayerBonusHistory-CuOv2Hc4.js → PlayerBonusHistory-BOug6rj7.js} +33 -33
- package/components/{PlayerBonusHistory-Bg0Kax3B.js → PlayerBonusHistory-BXX10tEI.js} +33 -33
- package/components/PlayerBonusHistory-CbptkPyg.js +938 -0
- package/components/{PlayerBonusHistory-B_a21BCE.cjs → PlayerBonusHistory-DMC3iv-M.cjs} +1 -1
- package/components/PlayerBonusHistory-DYNcfnLZ.js +937 -0
- package/components/PlayerBonusHistory-USif1_aM.cjs +1 -0
- package/components/{PlayerChangePassword-BXTWOpKM.js → PlayerChangePassword-DIVU7Hm-.js} +71 -71
- package/components/{PlayerChangePassword-CYvwu077.js → PlayerChangePassword-DRF3YUcY.js} +71 -71
- package/components/{PlayerChangePassword-CbBHjN4s.cjs → PlayerChangePassword-DZ0zUct-.cjs} +1 -1
- package/components/PlayerDeposit-2rXfB2O5.cjs +1 -0
- package/components/{PlayerDeposit-VF5d6vUd.js → PlayerDeposit-Bu1poUUC.js} +75 -75
- package/components/{PlayerDeposit-BxvpoON-.js → PlayerDeposit-CC1ZNh0V.js} +75 -75
- package/components/{PlayerGamingHistory-CorLWCJo.cjs → PlayerGamingHistory-CITsPSbY.cjs} +1 -1
- package/components/{PlayerGamingHistory-D3Ks9sA3.js → PlayerGamingHistory-CIZ2Ous8.js} +84 -84
- package/components/PlayerGamingHistory-DV6n7mPC.js +982 -0
- package/components/{PlayerGamingHistory-D_p5zZIW.js → PlayerGamingHistory-DdtNlqpX.js} +74 -74
- package/components/PlayerGamingHistory-LEBGykAk.js +969 -0
- package/components/PlayerGamingHistory-nRhNghIt.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-DnRLD9Qj.js → PlayerPendingWithdrawals-BAYRu_8K.js} +26 -26
- package/components/{PlayerPendingWithdrawals-CePMH1Ym.js → PlayerPendingWithdrawals-CaouMSqA.js} +26 -26
- package/components/{PlayerPendingWithdrawals-D3hbZ7iV.cjs → PlayerPendingWithdrawals-UG-bN1ca.cjs} +1 -1
- package/components/{PlayerProfileInfo-CGh-HMYc.js → PlayerProfileInfo-BLPDFygv.js} +56 -56
- package/components/{PlayerProfileInfo-BM9bYXPT.js → PlayerProfileInfo-D3NxPM1Z.js} +56 -56
- package/components/{PlayerProfileInfo-BST7W89r.cjs → PlayerProfileInfo-DLth9JMy.cjs} +1 -1
- package/components/{PlayerRealityCheck-DTbqf0Qh.cjs → PlayerRealityCheck-BmVSMTSf.cjs} +1 -1
- package/components/{PlayerRealityCheck-hu40INih.js → PlayerRealityCheck-CI5fiJv3.js} +33 -33
- package/components/{PlayerRealityCheck-Dkm-7UeP.js → PlayerRealityCheck-DL5sLluu.js} +33 -33
- package/components/{PlayerTransactionHistory-CmHZLNzi.js → PlayerTransactionHistory-BGPDkKNI.js} +24 -24
- package/components/{PlayerTransactionHistory-Cp--JykS.cjs → PlayerTransactionHistory-U2CncC4r.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Dob8ZHvF.js → PlayerTransactionHistory-x-p-YOv6.js} +24 -24
- package/components/{PlayerWithdrawal-DMasfo5k.js → PlayerWithdrawal-BknOF8Sy.js} +19 -19
- package/components/{PlayerWithdrawal-BocnE727.cjs → PlayerWithdrawal-CsPPu5bX.cjs} +1 -1
- package/components/{PlayerWithdrawal-fB3IW1Dc.js → PlayerWithdrawal-Cx3cOp7C.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-CqcXPZJ0.js → checkbox-group-input_9-BkT4UtkZ.js} +51 -49
- package/stencil/checkbox-group-input_9-CDYbpnEQ.cjs +2045 -0
- package/stencil/{checkbox-group-input_9-DXMHOEY8.js → checkbox-group-input_9-CMQLu-qB.js} +51 -49
- package/stencil/checkbox-group-input_9-JSy4d2L9.js +13248 -0
- package/stencil/checkbox-group-input_9-UDA-XaF9.js +13282 -0
- package/stencil/{checkbox-group-input_9-DANSLcK-.cjs → checkbox-group-input_9-jMRVCzfy.cjs} +5 -5
- package/stencil/general-input--MP17Hyz.cjs +1 -0
- package/stencil/{general-input-D_F2H5H6.js → general-input-BbXpUFir.js} +1 -1
- package/stencil/general-input-BqgyG6fv.js +48 -0
- package/stencil/{general-input-NbNPa13j.js → general-input-C6k63W5y.js} +1 -1
- package/stencil/{general-input-BLCmjX1h.cjs → general-input-TvqmX5hk.cjs} +1 -1
- package/stencil/general-input-V-ZuyFa5.js +48 -0
- package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
- package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
- package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
- package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
- package/stencil/{index-9c0f6c58-DRP3WpwA.js → index-9c0f6c58-CqoLeK5G.js} +197 -197
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
- package/stencil/index-9cd44522-BQ_s4zJm.js +626 -0
- package/stencil/index-9cd44522-BUwXI--9.js +610 -0
- package/stencil/index-9cd44522-BbKqQXqL.js +610 -0
- package/stencil/index-9cd44522-C5N2LdVm.js +626 -0
- package/stencil/index-9cd44522-QIMe52Dh.cjs +1 -0
- package/stencil/index-9cd44522-lJqPKy7q.cjs +1 -0
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
- package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
- package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
- package/stencil/locale-BB2iZ4t0.cjs +1 -0
- package/stencil/locale-ioQf6ZrW.js +147 -0
- package/stencil/{password-input_2-HTsUCs2i.js → password-input_2-C_mvPSDp.js} +20 -20
- package/stencil/{password-input_2-KTNAQj0b.cjs → password-input_2-DcXEnCK_.cjs} +2 -2
- package/stencil/password-input_2-DeRFrP9K.cjs +105 -0
- package/stencil/{password-input_2-0hOjS2sN.js → password-input_2-DhPva8mM.js} +19 -19
- package/stencil/password-input_2-DsZJxliE.js +589 -0
- package/stencil/password-input_2-g7twAnPT.js +589 -0
- package/stencil/{player-change-password-gm2-039e300e-BsYcxLy5.js → player-change-password-gm2-039e300e-1NkfHZ6r.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-B4U6Fazr.cjs → player-change-password-gm2-039e300e-BGXXN2fy.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-CUWLO8u9.js → player-change-password-gm2-039e300e-BLQGT3AW.js} +1 -1
- package/stencil/player-change-password-gm2-039e300e-BU9mX4ix.cjs +1 -0
- package/stencil/player-change-password-gm2-039e300e-DiWG8cwr.js +272 -0
- package/stencil/player-change-password-gm2-039e300e-GCkrv9Aa.js +272 -0
- package/stencil/{player-change-password-gm2-CGArqQMr.js → player-change-password-gm2-B2cv54i2.js} +1 -1
- package/stencil/{player-change-password-gm2-CDeGxjva.js → player-change-password-gm2-BB9nhWGy.js} +1 -1
- package/stencil/{player-change-password-gm2-Cvr0geeu.cjs → player-change-password-gm2-BWRiCTIP.cjs} +1 -1
- package/stencil/player-change-password-gm2-CWzdeleK.cjs +1 -0
- package/stencil/player-change-password-gm2-Cyx-9oVQ.js +25 -0
- package/stencil/player-change-password-gm2-E5xKJgy3.js +7 -0
- package/stencil/{player-kyc-verification-CK7jvih_.js → player-kyc-verification-B8arDCja.js} +1 -1
- package/stencil/{player-kyc-verification-ClECAHs-.js → player-kyc-verification-Di40xn9z.js} +1 -1
- package/stencil/{player-kyc-verification-CWBei0Yk.cjs → player-kyc-verification-GFBDUbhm.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-Cd32qIC3.js → toggle-checkbox-input-2FXfNCyw.js} +2 -2
- package/stencil/toggle-checkbox-input-3f7U98vC.js +54 -0
- package/stencil/{toggle-checkbox-input-CmSZ6vQK.js → toggle-checkbox-input-BZQethuD.js} +2 -2
- package/stencil/toggle-checkbox-input-CA92JmGn.cjs +1 -0
- package/stencil/toggle-checkbox-input-DDDgLFw4.js +54 -0
- package/stencil/toggle-checkbox-input-DXFebhBM.cjs +1 -0
- package/stencil/{ui-skeleton-r-lLy7GD.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
- package/stencil/{ui-skeleton-CWQGWUte.js → ui-skeleton-DT0OMDC6.js} +2 -2
- package/stencil/{ui-skeleton-DGSaG5JU.js → ui-skeleton-T4HYbNcC.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-BXc76uPc.cjs → ui-skeleton-a642cced-B8H73O_q.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-21I14Ylk.js → ui-skeleton-a642cced-Ba-weZ4g.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-C5tlYQb-.js → ui-skeleton-a642cced-DhjmNsN7.js} +1 -1
- package/stencil/{user-deposit-withdrawal-C8N7GB9E.cjs → user-deposit-withdrawal-BQKFgZ31.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BISsu0Z-.js → user-deposit-withdrawal-DRe5oBqv.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BmOGfPLJ.js → user-deposit-withdrawal-Dj3Po03r.js} +1 -1
- package/stencil/{user-transaction-history-Bg6onQ-I.js → user-transaction-history-6-z3byrF.js} +1 -1
- package/stencil/{user-transaction-history-BO92Qvk4.js → user-transaction-history-Dca7qx08.js} +1 -1
- package/stencil/{user-transaction-history-COJbthDt.cjs → user-transaction-history-DrhquxkJ.cjs} +1 -1
- package/stencil/{vaadin-button-mixin-5fa6ca77-BEoWt381.cjs → vaadin-button-mixin-e8c3f355-BdntioNA.cjs} +102 -94
- package/stencil/{vaadin-button-mixin-5fa6ca77-DNBadodK.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +584 -569
- package/stencil/{vaadin-button-mixin-5fa6ca77-SQip1zuF.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +601 -586
- package/components/GeneralLogout-aDlrOvb2.cjs +0 -21
- package/components/PlayerAccountBettingHistory-CIfM4HLW.js +0 -328
- package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +0 -1
- package/components/PlayerDeposit-mr7WW9bf.cjs +0 -1
- package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +0 -1
- package/stencil/index-1ef3a64c-gNJv-qax.js +0 -572
- package/stencil/index-1ef3a64c-jZYsp9Sk.js +0 -556
- package/stencil/index-7c5e707a-40SRy2Ab.js +0 -616
- package/stencil/index-7c5e707a-B9tD4t-g.js +0 -643
- package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
- package/stencil/index-9c0f6c58-CiH_jMvd.cjs +0 -1
- package/stencil/index-9c0f6c58-jtioo3_h.js +0 -576
- package/stencil/index-9cd44522-BJt0R9D_.js +0 -626
- package/stencil/index-9cd44522-BpYe-JBv.js +0 -610
- package/stencil/index-9cd44522-CwRJuI6e.cjs +0 -1
- package/stencil/index-ae04a8b1-BIDvdZJs.js +0 -532
- package/stencil/index-ae04a8b1-BUa25EUq.cjs +0 -1
- package/stencil/index-ae04a8b1-BYWsXc_G.js +0 -516
- package/stencil/toggle-checkbox-input-DS9RE6Pw.cjs +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
function
|
|
6
|
+
function ii(i, t = "24.5.10") {
|
|
7
7
|
Object.defineProperty(i, "version", {
|
|
8
8
|
get() {
|
|
9
9
|
return t;
|
|
@@ -24,18 +24,18 @@ function ei(i, t = "24.5.11") {
|
|
|
24
24
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
25
25
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
26
26
|
*/
|
|
27
|
-
class
|
|
27
|
+
class tr extends HTMLElement {
|
|
28
28
|
static get is() {
|
|
29
29
|
return "vaadin-lumo-styles";
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
ii(tr);
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright 2019 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
37
|
*/
|
|
38
|
-
const ft = globalThis, Qt = ft.ShadowRoot && (ft.ShadyCSS === void 0 || ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, te = Symbol(),
|
|
38
|
+
const ft = globalThis, Qt = ft.ShadowRoot && (ft.ShadyCSS === void 0 || ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, te = Symbol(), we = /* @__PURE__ */ new WeakMap();
|
|
39
39
|
class ee {
|
|
40
40
|
constructor(t, e, o) {
|
|
41
41
|
if (this._$cssResult$ = !0, o !== te)
|
|
@@ -47,7 +47,7 @@ class ee {
|
|
|
47
47
|
const e = this.t;
|
|
48
48
|
if (Qt && t === void 0) {
|
|
49
49
|
const o = e !== void 0 && e.length === 1;
|
|
50
|
-
o && (t =
|
|
50
|
+
o && (t = we.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), o && we.set(e, t));
|
|
51
51
|
}
|
|
52
52
|
return t;
|
|
53
53
|
}
|
|
@@ -55,7 +55,7 @@ class ee {
|
|
|
55
55
|
return this.cssText;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
const
|
|
58
|
+
const er = (i) => new ee(typeof i == "string" ? i : i + "", void 0, te), _ = (i, ...t) => {
|
|
59
59
|
const e = i.length === 1 ? i[0] : t.reduce((o, r, s) => o + ((n) => {
|
|
60
60
|
if (n._$cssResult$ === !0)
|
|
61
61
|
return n.cssText;
|
|
@@ -64,7 +64,7 @@ const tr = (i) => new ee(typeof i == "string" ? i : i + "", void 0, te), _ = (i,
|
|
|
64
64
|
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.");
|
|
65
65
|
})(r) + i[s + 1], i[0]);
|
|
66
66
|
return new ee(e, i, te);
|
|
67
|
-
},
|
|
67
|
+
}, ri = (i, t) => {
|
|
68
68
|
if (Qt)
|
|
69
69
|
i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
70
70
|
else
|
|
@@ -72,21 +72,21 @@ const tr = (i) => new ee(typeof i == "string" ? i : i + "", void 0, te), _ = (i,
|
|
|
72
72
|
const o = document.createElement("style"), r = ft.litNonce;
|
|
73
73
|
r !== void 0 && o.setAttribute("nonce", r), o.textContent = e.cssText, i.appendChild(o);
|
|
74
74
|
}
|
|
75
|
-
},
|
|
75
|
+
}, Ae = Qt ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
|
|
76
76
|
let e = "";
|
|
77
77
|
for (const o of t.cssRules)
|
|
78
78
|
e += o.cssText;
|
|
79
|
-
return
|
|
79
|
+
return er(e);
|
|
80
80
|
})(i) : i;
|
|
81
81
|
/**
|
|
82
82
|
* @license
|
|
83
83
|
* Copyright 2017 Google LLC
|
|
84
84
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
85
|
*/
|
|
86
|
-
const { is:
|
|
86
|
+
const { is: ir, defineProperty: rr, getOwnPropertyDescriptor: or, getOwnPropertyNames: sr, getOwnPropertySymbols: nr, getPrototypeOf: ar } = Object, At = globalThis, xe = At.trustedTypes, lr = xe ? xe.emptyScript : "", dr = At.reactiveElementPolyfillSupport, tt = (i, t) => i, Rt = { toAttribute(i, t) {
|
|
87
87
|
switch (t) {
|
|
88
88
|
case Boolean:
|
|
89
|
-
i = i ?
|
|
89
|
+
i = i ? lr : null;
|
|
90
90
|
break;
|
|
91
91
|
case Object:
|
|
92
92
|
case Array:
|
|
@@ -111,7 +111,7 @@ const { is: er, defineProperty: ir, getOwnPropertyDescriptor: rr, getOwnProperty
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
return e;
|
|
114
|
-
} },
|
|
114
|
+
} }, oi = (i, t) => !ir(i, t), Ce = { attribute: !0, type: String, converter: Rt, reflect: !1, hasChanged: oi };
|
|
115
115
|
Symbol.metadata ??= Symbol("metadata"), At.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
116
116
|
class B extends HTMLElement {
|
|
117
117
|
static addInitializer(t) {
|
|
@@ -120,14 +120,14 @@ class B extends HTMLElement {
|
|
|
120
120
|
static get observedAttributes() {
|
|
121
121
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
122
122
|
}
|
|
123
|
-
static createProperty(t, e =
|
|
123
|
+
static createProperty(t, e = Ce) {
|
|
124
124
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
125
125
|
const o = Symbol(), r = this.getPropertyDescriptor(t, o, e);
|
|
126
|
-
r !== void 0 &&
|
|
126
|
+
r !== void 0 && rr(this.prototype, t, r);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
static getPropertyDescriptor(t, e, o) {
|
|
130
|
-
const { get: r, set: s } =
|
|
130
|
+
const { get: r, set: s } = or(this.prototype, t) ?? { get() {
|
|
131
131
|
return this[e];
|
|
132
132
|
}, set(n) {
|
|
133
133
|
this[e] = n;
|
|
@@ -140,19 +140,19 @@ class B extends HTMLElement {
|
|
|
140
140
|
}, configurable: !0, enumerable: !0 };
|
|
141
141
|
}
|
|
142
142
|
static getPropertyOptions(t) {
|
|
143
|
-
return this.elementProperties.get(t) ??
|
|
143
|
+
return this.elementProperties.get(t) ?? Ce;
|
|
144
144
|
}
|
|
145
145
|
static _$Ei() {
|
|
146
146
|
if (this.hasOwnProperty(tt("elementProperties")))
|
|
147
147
|
return;
|
|
148
|
-
const t =
|
|
148
|
+
const t = ar(this);
|
|
149
149
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
150
150
|
}
|
|
151
151
|
static finalize() {
|
|
152
152
|
if (this.hasOwnProperty(tt("finalized")))
|
|
153
153
|
return;
|
|
154
154
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(tt("properties"))) {
|
|
155
|
-
const e = this.properties, o = [...
|
|
155
|
+
const e = this.properties, o = [...sr(e), ...nr(e)];
|
|
156
156
|
for (const r of o)
|
|
157
157
|
this.createProperty(r, e[r]);
|
|
158
158
|
}
|
|
@@ -175,9 +175,9 @@ class B extends HTMLElement {
|
|
|
175
175
|
if (Array.isArray(t)) {
|
|
176
176
|
const o = new Set(t.flat(1 / 0).reverse());
|
|
177
177
|
for (const r of o)
|
|
178
|
-
e.unshift(
|
|
178
|
+
e.unshift(Ae(r));
|
|
179
179
|
} else
|
|
180
|
-
t !== void 0 && e.push(
|
|
180
|
+
t !== void 0 && e.push(Ae(t));
|
|
181
181
|
return e;
|
|
182
182
|
}
|
|
183
183
|
static _$Eu(t, e) {
|
|
@@ -204,7 +204,7 @@ class B extends HTMLElement {
|
|
|
204
204
|
}
|
|
205
205
|
createRenderRoot() {
|
|
206
206
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
207
|
-
return
|
|
207
|
+
return ri(t, this.constructor.elementStyles), t;
|
|
208
208
|
}
|
|
209
209
|
connectedCallback() {
|
|
210
210
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
@@ -233,7 +233,7 @@ class B extends HTMLElement {
|
|
|
233
233
|
}
|
|
234
234
|
requestUpdate(t, e, o) {
|
|
235
235
|
if (t !== void 0) {
|
|
236
|
-
if (o ??= this.constructor.getPropertyOptions(t), !(o.hasChanged ??
|
|
236
|
+
if (o ??= this.constructor.getPropertyOptions(t), !(o.hasChanged ?? oi)(this[t], e))
|
|
237
237
|
return;
|
|
238
238
|
this.P(t, e, o);
|
|
239
239
|
}
|
|
@@ -303,39 +303,39 @@ class B extends HTMLElement {
|
|
|
303
303
|
firstUpdated(t) {
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, B[tt("elementProperties")] = /* @__PURE__ */ new Map(), B[tt("finalized")] = /* @__PURE__ */ new Map(),
|
|
306
|
+
B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, B[tt("elementProperties")] = /* @__PURE__ */ new Map(), B[tt("finalized")] = /* @__PURE__ */ new Map(), dr?.({ ReactiveElement: B }), (At.reactiveElementVersions ??= []).push("2.0.4");
|
|
307
307
|
/**
|
|
308
308
|
* @license
|
|
309
309
|
* Copyright 2017 Google LLC
|
|
310
310
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
311
311
|
*/
|
|
312
|
-
const ie = globalThis, _t = ie.trustedTypes,
|
|
313
|
-
\f\r]`, G = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
314
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
315
|
-
function
|
|
312
|
+
const ie = globalThis, _t = ie.trustedTypes, Ee = _t ? _t.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, si = "$lit$", S = `lit$${Math.random().toFixed(9).slice(2)}$`, ni = "?" + S, cr = `<${ni}>`, L = document, it = () => L.createComment(""), rt = (i) => i === null || typeof i != "object" && typeof i != "function", re = Array.isArray, ur = (i) => re(i) || typeof i?.[Symbol.iterator] == "function", St = `[
|
|
313
|
+
\f\r]`, G = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Pe = /-->/g, Te = />/g, O = RegExp(`>|${St}(?:([^\\s"'>=/]+)(${St}*=${St}*(?:[^
|
|
314
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Se = /'/g, Ne = /"/g, ai = /^(?:script|style|textarea|title)$/i, j = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), ke = /* @__PURE__ */ new WeakMap(), M = L.createTreeWalker(L, 129);
|
|
315
|
+
function li(i, t) {
|
|
316
316
|
if (!re(i) || !i.hasOwnProperty("raw"))
|
|
317
317
|
throw Error("invalid template strings array");
|
|
318
|
-
return
|
|
318
|
+
return Ee !== void 0 ? Ee.createHTML(t) : t;
|
|
319
319
|
}
|
|
320
|
-
const
|
|
320
|
+
const hr = (i, t) => {
|
|
321
321
|
const e = i.length - 1, o = [];
|
|
322
322
|
let r, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = G;
|
|
323
323
|
for (let a = 0; a < e; a++) {
|
|
324
324
|
const l = i[a];
|
|
325
325
|
let d, c, u = -1, h = 0;
|
|
326
326
|
for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); )
|
|
327
|
-
h = n.lastIndex, n === G ? c[1] === "!--" ? n =
|
|
327
|
+
h = n.lastIndex, n === G ? c[1] === "!--" ? n = Pe : c[1] !== void 0 ? n = Te : c[2] !== void 0 ? (ai.test(c[2]) && (r = RegExp("</" + c[2], "g")), n = O) : c[3] !== void 0 && (n = O) : n === O ? c[0] === ">" ? (n = r ?? G, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? O : c[3] === '"' ? Ne : Se) : n === Ne || n === Se ? n = O : n === Pe || n === Te ? n = G : (n = O, r = void 0);
|
|
328
328
|
const p = n === O && i[a + 1].startsWith("/>") ? " " : "";
|
|
329
|
-
s += n === G ? l +
|
|
329
|
+
s += n === G ? l + cr : u >= 0 ? (o.push(d), l.slice(0, u) + si + l.slice(u) + S + p) : l + S + (u === -2 ? a : p);
|
|
330
330
|
}
|
|
331
|
-
return [
|
|
331
|
+
return [li(i, s + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), o];
|
|
332
332
|
};
|
|
333
333
|
class ot {
|
|
334
334
|
constructor({ strings: t, _$litType$: e }, o) {
|
|
335
335
|
let r;
|
|
336
336
|
this.parts = [];
|
|
337
337
|
let s = 0, n = 0;
|
|
338
|
-
const a = t.length - 1, l = this.parts, [d, c] =
|
|
338
|
+
const a = t.length - 1, l = this.parts, [d, c] = hr(t, e);
|
|
339
339
|
if (this.el = ot.createElement(d, o), M.currentNode = this.el.content, e === 2 || e === 3) {
|
|
340
340
|
const u = this.el.content.firstChild;
|
|
341
341
|
u.replaceWith(...u.childNodes);
|
|
@@ -344,12 +344,12 @@ class ot {
|
|
|
344
344
|
if (r.nodeType === 1) {
|
|
345
345
|
if (r.hasAttributes())
|
|
346
346
|
for (const u of r.getAttributeNames())
|
|
347
|
-
if (u.endsWith(
|
|
347
|
+
if (u.endsWith(si)) {
|
|
348
348
|
const h = c[n++], p = r.getAttribute(u).split(S), m = /([.?@])?(.*)/.exec(h);
|
|
349
|
-
l.push({ type: 1, index: s, name: m[2], strings: p, ctor: m[1] === "." ?
|
|
349
|
+
l.push({ type: 1, index: s, name: m[2], strings: p, ctor: m[1] === "." ? fr : m[1] === "?" ? mr : m[1] === "@" ? _r : xt }), r.removeAttribute(u);
|
|
350
350
|
} else
|
|
351
351
|
u.startsWith(S) && (l.push({ type: 6, index: s }), r.removeAttribute(u));
|
|
352
|
-
if (
|
|
352
|
+
if (ai.test(r.tagName)) {
|
|
353
353
|
const u = r.textContent.split(S), h = u.length - 1;
|
|
354
354
|
if (h > 0) {
|
|
355
355
|
r.textContent = _t ? _t.emptyScript : "";
|
|
@@ -359,7 +359,7 @@ class ot {
|
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
} else if (r.nodeType === 8)
|
|
362
|
-
if (r.data ===
|
|
362
|
+
if (r.data === ni)
|
|
363
363
|
l.push({ type: 2, index: s });
|
|
364
364
|
else {
|
|
365
365
|
let u = -1;
|
|
@@ -381,7 +381,7 @@ function q(i, t, e = i, o) {
|
|
|
381
381
|
const s = rt(t) ? void 0 : t._$litDirective$;
|
|
382
382
|
return r?.constructor !== s && (r?._$AO?.(!1), s === void 0 ? r = void 0 : (r = new s(i), r._$AT(i, e, o)), o !== void 0 ? (e._$Co ??= [])[o] = r : e._$Cl = r), r !== void 0 && (t = q(i, r._$AS(i, t.values), r, o)), t;
|
|
383
383
|
}
|
|
384
|
-
class
|
|
384
|
+
class pr {
|
|
385
385
|
constructor(t, e) {
|
|
386
386
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
387
387
|
}
|
|
@@ -398,7 +398,7 @@ class hr {
|
|
|
398
398
|
for (; l !== void 0; ) {
|
|
399
399
|
if (n === l.index) {
|
|
400
400
|
let d;
|
|
401
|
-
l.type === 2 ? d = new ct(s, s.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (d = new
|
|
401
|
+
l.type === 2 ? d = new ct(s, s.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (d = new gr(s, this, t)), this._$AV.push(d), l = o[++a];
|
|
402
402
|
}
|
|
403
403
|
n !== l?.index && (s = M.nextNode(), n++);
|
|
404
404
|
}
|
|
@@ -429,7 +429,7 @@ class ct {
|
|
|
429
429
|
return this._$AB;
|
|
430
430
|
}
|
|
431
431
|
_$AI(t, e = this) {
|
|
432
|
-
t = q(this, t, e), rt(t) ? t === g || t == null || t === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : t !== this._$AH && t !== j && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
432
|
+
t = q(this, t, e), rt(t) ? t === g || t == null || t === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : t !== this._$AH && t !== j && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ur(t) ? this.k(t) : this._(t);
|
|
433
433
|
}
|
|
434
434
|
O(t) {
|
|
435
435
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -441,17 +441,17 @@ class ct {
|
|
|
441
441
|
this._$AH !== g && rt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(L.createTextNode(t)), this._$AH = t;
|
|
442
442
|
}
|
|
443
443
|
$(t) {
|
|
444
|
-
const { values: e, _$litType$: o } = t, r = typeof o == "number" ? this._$AC(t) : (o.el === void 0 && (o.el = ot.createElement(
|
|
444
|
+
const { values: e, _$litType$: o } = t, r = typeof o == "number" ? this._$AC(t) : (o.el === void 0 && (o.el = ot.createElement(li(o.h, o.h[0]), this.options)), o);
|
|
445
445
|
if (this._$AH?._$AD === r)
|
|
446
446
|
this._$AH.p(e);
|
|
447
447
|
else {
|
|
448
|
-
const s = new
|
|
448
|
+
const s = new pr(r, this), n = s.u(this.options);
|
|
449
449
|
s.p(e), this.T(n), this._$AH = s;
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
_$AC(t) {
|
|
453
|
-
let e =
|
|
454
|
-
return e === void 0 &&
|
|
453
|
+
let e = ke.get(t.strings);
|
|
454
|
+
return e === void 0 && ke.set(t.strings, e = new ot(t)), e;
|
|
455
455
|
}
|
|
456
456
|
k(t) {
|
|
457
457
|
re(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -498,7 +498,7 @@ class xt {
|
|
|
498
498
|
t === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
class
|
|
501
|
+
class fr extends xt {
|
|
502
502
|
constructor() {
|
|
503
503
|
super(...arguments), this.type = 3;
|
|
504
504
|
}
|
|
@@ -506,7 +506,7 @@ class pr extends xt {
|
|
|
506
506
|
this.element[this.name] = t === g ? void 0 : t;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
class
|
|
509
|
+
class mr extends xt {
|
|
510
510
|
constructor() {
|
|
511
511
|
super(...arguments), this.type = 4;
|
|
512
512
|
}
|
|
@@ -514,7 +514,7 @@ class fr extends xt {
|
|
|
514
514
|
this.element.toggleAttribute(this.name, !!t && t !== g);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
class
|
|
517
|
+
class _r extends xt {
|
|
518
518
|
constructor(t, e, o, r, s) {
|
|
519
519
|
super(t, e, o, r, s), this.type = 5;
|
|
520
520
|
}
|
|
@@ -528,7 +528,7 @@ class mr extends xt {
|
|
|
528
528
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
|
-
class
|
|
531
|
+
class gr {
|
|
532
532
|
constructor(t, e, o) {
|
|
533
533
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = o;
|
|
534
534
|
}
|
|
@@ -539,9 +539,9 @@ class _r {
|
|
|
539
539
|
q(this, t);
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
const
|
|
543
|
-
|
|
544
|
-
const
|
|
542
|
+
const br = ie.litHtmlPolyfillSupport;
|
|
543
|
+
br?.(ot, ct), (ie.litHtmlVersions ??= []).push("3.2.1");
|
|
544
|
+
const vr = (i, t, e) => {
|
|
545
545
|
const o = e?.renderBefore ?? t;
|
|
546
546
|
let r = o._$litPart$;
|
|
547
547
|
if (r === void 0) {
|
|
@@ -565,7 +565,7 @@ class F extends B {
|
|
|
565
565
|
}
|
|
566
566
|
update(t) {
|
|
567
567
|
const e = this.render();
|
|
568
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
568
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = vr(e, this.renderRoot, this.renderOptions);
|
|
569
569
|
}
|
|
570
570
|
connectedCallback() {
|
|
571
571
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -578,15 +578,15 @@ class F extends B {
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
F._$litElement$ = !0, F.finalized = !0, globalThis.litElementHydrateSupport?.({ LitElement: F });
|
|
581
|
-
const
|
|
582
|
-
|
|
581
|
+
const yr = globalThis.litElementPolyfillSupport;
|
|
582
|
+
yr?.({ LitElement: F });
|
|
583
583
|
(globalThis.litElementVersions ??= []).push("4.1.1");
|
|
584
584
|
/**
|
|
585
585
|
* @license
|
|
586
586
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
587
587
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
588
588
|
*/
|
|
589
|
-
const
|
|
589
|
+
const wr = (i) => class extends i {
|
|
590
590
|
static get properties() {
|
|
591
591
|
return {
|
|
592
592
|
/**
|
|
@@ -625,103 +625,103 @@ const yr = (i) => class extends i {
|
|
|
625
625
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
626
626
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
627
627
|
*/
|
|
628
|
-
const
|
|
629
|
-
function
|
|
628
|
+
const di = [], Bt = /* @__PURE__ */ new Set(), oe = /* @__PURE__ */ new Set();
|
|
629
|
+
function ci(i) {
|
|
630
630
|
return i && Object.prototype.hasOwnProperty.call(i, "__themes");
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
return
|
|
632
|
+
function Ar(i) {
|
|
633
|
+
return ci(customElements.get(i));
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function xr(i = []) {
|
|
636
636
|
return [i].flat(1 / 0).filter((t) => t instanceof ee ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function ui(i, t) {
|
|
639
639
|
return (i || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function hi(i) {
|
|
642
642
|
return i.map((t) => t.cssText).join(`
|
|
643
643
|
`);
|
|
644
644
|
}
|
|
645
645
|
const gt = "vaadin-themable-mixin-style";
|
|
646
|
-
function
|
|
646
|
+
function Cr(i, t) {
|
|
647
647
|
const e = document.createElement("style");
|
|
648
|
-
e.id = gt, e.textContent =
|
|
648
|
+
e.id = gt, e.textContent = hi(i), t.content.appendChild(e);
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function Er(i) {
|
|
651
651
|
if (!i.shadowRoot)
|
|
652
652
|
return;
|
|
653
653
|
const t = i.constructor;
|
|
654
654
|
if (i instanceof F)
|
|
655
|
-
[...i.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
655
|
+
[...i.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), ri(i.shadowRoot, t.elementStyles);
|
|
656
656
|
else {
|
|
657
657
|
const e = i.shadowRoot.getElementById(gt), o = t.prototype._template;
|
|
658
658
|
e.textContent = o.content.getElementById(gt).textContent;
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function Pr(i) {
|
|
662
662
|
Bt.forEach((t) => {
|
|
663
663
|
const e = t.deref();
|
|
664
|
-
e instanceof i ?
|
|
664
|
+
e instanceof i ? Er(e) : e || Bt.delete(t);
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function pi(i) {
|
|
668
668
|
if (i.prototype instanceof F)
|
|
669
669
|
i.elementStyles = i.finalizeStyles(i.styles);
|
|
670
670
|
else {
|
|
671
671
|
const t = i.prototype._template;
|
|
672
|
-
t.content.getElementById(gt).textContent =
|
|
672
|
+
t.content.getElementById(gt).textContent = hi(i.getStylesForThis());
|
|
673
673
|
}
|
|
674
674
|
oe.forEach((t) => {
|
|
675
675
|
const e = customElements.get(t);
|
|
676
|
-
e !== i && e.prototype instanceof i &&
|
|
676
|
+
e !== i && e.prototype instanceof i && pi(e);
|
|
677
677
|
});
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function Tr(i, t) {
|
|
680
680
|
const e = i.__themes;
|
|
681
681
|
return !e || !t ? !1 : e.some(
|
|
682
682
|
(o) => o.styles.some((r) => t.some((s) => s.cssText === r.cssText))
|
|
683
683
|
);
|
|
684
684
|
}
|
|
685
685
|
function k(i, t, e = {}) {
|
|
686
|
-
t =
|
|
686
|
+
t = xr(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(i, t, e) : di.push({
|
|
687
687
|
themeFor: i,
|
|
688
688
|
styles: t,
|
|
689
689
|
include: e.include,
|
|
690
690
|
moduleId: e.moduleId
|
|
691
691
|
}), i && oe.forEach((o) => {
|
|
692
|
-
if (
|
|
692
|
+
if (ui(i, o) && Ar(o)) {
|
|
693
693
|
const r = customElements.get(o);
|
|
694
|
-
|
|
694
|
+
Tr(r, t) ? console.warn(`Registering styles that already exist for ${o}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
695
695
|
`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".`
|
|
696
|
-
),
|
|
696
|
+
), pi(r), Pr(r);
|
|
697
697
|
}
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
700
|
function Ft() {
|
|
701
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
701
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : di;
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Sr(i = "") {
|
|
704
704
|
let t = 0;
|
|
705
705
|
return i.startsWith("lumo-") || i.startsWith("material-") ? t = 1 : i.startsWith("vaadin-") && (t = 2), t;
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function fi(i) {
|
|
708
708
|
const t = [];
|
|
709
709
|
return i.include && [].concat(i.include).forEach((e) => {
|
|
710
710
|
const o = Ft().find((r) => r.moduleId === e);
|
|
711
|
-
o ? t.push(...
|
|
711
|
+
o ? t.push(...fi(o), ...o.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
712
712
|
}, i.styles), t;
|
|
713
713
|
}
|
|
714
|
-
function
|
|
715
|
-
const t = `${i}-default-theme`, e = Ft().filter((o) => o.moduleId !== t &&
|
|
714
|
+
function Nr(i) {
|
|
715
|
+
const t = `${i}-default-theme`, e = Ft().filter((o) => o.moduleId !== t && ui(o.themeFor, i)).map((o) => ({
|
|
716
716
|
...o,
|
|
717
717
|
// Prepend styles from included themes
|
|
718
|
-
styles: [...
|
|
718
|
+
styles: [...fi(o), ...o.styles],
|
|
719
719
|
// Map moduleId to includePriority
|
|
720
|
-
includePriority:
|
|
720
|
+
includePriority: Sr(o.moduleId)
|
|
721
721
|
})).sort((o, r) => r.includePriority - o.includePriority);
|
|
722
722
|
return e.length > 0 ? e : Ft().filter((o) => o.moduleId === t);
|
|
723
723
|
}
|
|
724
|
-
const
|
|
724
|
+
const kr = (i) => class extends wr(i) {
|
|
725
725
|
constructor() {
|
|
726
726
|
super(), Bt.add(new WeakRef(this));
|
|
727
727
|
}
|
|
@@ -733,7 +733,7 @@ const Nr = (i) => class extends yr(i) {
|
|
|
733
733
|
if (super.finalize(), this.is && oe.add(this.is), this.elementStyles)
|
|
734
734
|
return;
|
|
735
735
|
const e = this.prototype._template;
|
|
736
|
-
!e ||
|
|
736
|
+
!e || ci(this) || Cr(this.getStylesForThis(), e);
|
|
737
737
|
}
|
|
738
738
|
/**
|
|
739
739
|
* Covers LitElement based component styling
|
|
@@ -751,7 +751,7 @@ const Nr = (i) => class extends yr(i) {
|
|
|
751
751
|
*/
|
|
752
752
|
static getStylesForThis() {
|
|
753
753
|
const e = i.__themes || [], o = Object.getPrototypeOf(this.prototype), r = (o ? o.constructor.__themes : []) || [];
|
|
754
|
-
this.__themes = [...e, ...r, ...
|
|
754
|
+
this.__themes = [...e, ...r, ...Nr(this.is)];
|
|
755
755
|
const s = this.__themes.flatMap((n) => n.styles);
|
|
756
756
|
return s.filter((n, a) => a === s.lastIndexOf(n));
|
|
757
757
|
}
|
|
@@ -761,19 +761,19 @@ const Nr = (i) => class extends yr(i) {
|
|
|
761
761
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
762
762
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
763
763
|
*/
|
|
764
|
-
const
|
|
764
|
+
const Or = (i, ...t) => {
|
|
765
765
|
const e = document.createElement("style");
|
|
766
766
|
e.id = i, e.textContent = t.map((o) => o.toString()).join(`
|
|
767
767
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
768
768
|
}, W = (i, ...t) => {
|
|
769
|
-
|
|
769
|
+
Or(`lumo-${i}`, t);
|
|
770
770
|
};
|
|
771
771
|
/**
|
|
772
772
|
* @license
|
|
773
773
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
774
774
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
775
775
|
*/
|
|
776
|
-
const
|
|
776
|
+
const Mr = _`
|
|
777
777
|
:host {
|
|
778
778
|
/* Base (background) */
|
|
779
779
|
--lumo-base-color: #fff;
|
|
@@ -859,8 +859,8 @@ const Or = _`
|
|
|
859
859
|
}
|
|
860
860
|
}
|
|
861
861
|
`;
|
|
862
|
-
W("color-props",
|
|
863
|
-
const
|
|
862
|
+
W("color-props", Mr);
|
|
863
|
+
const Ir = _`
|
|
864
864
|
[theme~='dark'] {
|
|
865
865
|
/* Base (background) */
|
|
866
866
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -979,13 +979,13 @@ const Mr = _`
|
|
|
979
979
|
background: transparent;
|
|
980
980
|
}
|
|
981
981
|
`;
|
|
982
|
-
k("",
|
|
982
|
+
k("", Ir, { moduleId: "lumo-color" });
|
|
983
983
|
/**
|
|
984
984
|
* @license
|
|
985
985
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
986
986
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
987
987
|
*/
|
|
988
|
-
const
|
|
988
|
+
const Dr = _`
|
|
989
989
|
:host {
|
|
990
990
|
--lumo-size-xs: 1.625rem;
|
|
991
991
|
--lumo-size-s: 1.875rem;
|
|
@@ -1001,13 +1001,13 @@ const Ir = _`
|
|
|
1001
1001
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
1002
1002
|
}
|
|
1003
1003
|
`;
|
|
1004
|
-
W("sizing-props",
|
|
1004
|
+
W("sizing-props", Dr);
|
|
1005
1005
|
/**
|
|
1006
1006
|
* @license
|
|
1007
1007
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1008
1008
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1009
1009
|
*/
|
|
1010
|
-
const
|
|
1010
|
+
const zr = _`
|
|
1011
1011
|
:host {
|
|
1012
1012
|
/* Border radius */
|
|
1013
1013
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1109,13 +1109,13 @@ _`
|
|
|
1109
1109
|
--vaadin-input-field-value-font-weight: 500;
|
|
1110
1110
|
}
|
|
1111
1111
|
`;
|
|
1112
|
-
W("style-props",
|
|
1112
|
+
W("style-props", zr);
|
|
1113
1113
|
/**
|
|
1114
1114
|
* @license
|
|
1115
1115
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1116
1116
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1117
1117
|
*/
|
|
1118
|
-
const
|
|
1118
|
+
const Lr = _`
|
|
1119
1119
|
:host {
|
|
1120
1120
|
/* prettier-ignore */
|
|
1121
1121
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1135,7 +1135,7 @@ const zr = _`
|
|
|
1135
1135
|
--lumo-line-height-s: 1.375;
|
|
1136
1136
|
--lumo-line-height-m: 1.625;
|
|
1137
1137
|
}
|
|
1138
|
-
`,
|
|
1138
|
+
`, $r = _`
|
|
1139
1139
|
body,
|
|
1140
1140
|
:host {
|
|
1141
1141
|
font-family: var(--lumo-font-family);
|
|
@@ -1228,8 +1228,8 @@ const zr = _`
|
|
|
1228
1228
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1229
1229
|
}
|
|
1230
1230
|
`;
|
|
1231
|
-
k("",
|
|
1232
|
-
W("typography-props",
|
|
1231
|
+
k("", $r, { moduleId: "lumo-typography" });
|
|
1232
|
+
W("typography-props", Lr);
|
|
1233
1233
|
k(
|
|
1234
1234
|
"vaadin-input-container",
|
|
1235
1235
|
_`
|
|
@@ -1418,7 +1418,7 @@ k(
|
|
|
1418
1418
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1419
1419
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1420
1420
|
*/
|
|
1421
|
-
const
|
|
1421
|
+
const Rr = _`
|
|
1422
1422
|
@font-face {
|
|
1423
1423
|
font-family: 'lumo-icons';
|
|
1424
1424
|
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==)
|
|
@@ -1472,13 +1472,13 @@ const $r = _`
|
|
|
1472
1472
|
--lumo-icons-user: '\\ea2a';
|
|
1473
1473
|
}
|
|
1474
1474
|
`;
|
|
1475
|
-
W("font-icons",
|
|
1475
|
+
W("font-icons", Rr);
|
|
1476
1476
|
/**
|
|
1477
1477
|
* @license
|
|
1478
1478
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1479
1479
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1480
1480
|
*/
|
|
1481
|
-
const
|
|
1481
|
+
const Br = _`
|
|
1482
1482
|
:host {
|
|
1483
1483
|
/* Square */
|
|
1484
1484
|
--lumo-space-xs: 0.25rem;
|
|
@@ -1502,13 +1502,13 @@ const Rr = _`
|
|
|
1502
1502
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
1503
1503
|
}
|
|
1504
1504
|
`;
|
|
1505
|
-
W("spacing-props",
|
|
1505
|
+
W("spacing-props", Br);
|
|
1506
1506
|
/**
|
|
1507
1507
|
* @license
|
|
1508
1508
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1509
1509
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1510
1510
|
*/
|
|
1511
|
-
const
|
|
1511
|
+
const mi = _`
|
|
1512
1512
|
[part$='button'] {
|
|
1513
1513
|
flex: none;
|
|
1514
1514
|
width: 1em;
|
|
@@ -1536,13 +1536,13 @@ const fi = _`
|
|
|
1536
1536
|
display: block;
|
|
1537
1537
|
}
|
|
1538
1538
|
`;
|
|
1539
|
-
k("",
|
|
1539
|
+
k("", mi, { moduleId: "lumo-field-button" });
|
|
1540
1540
|
/**
|
|
1541
1541
|
* @license
|
|
1542
1542
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1543
1543
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1544
1544
|
*/
|
|
1545
|
-
const
|
|
1545
|
+
const Fr = _`
|
|
1546
1546
|
:host {
|
|
1547
1547
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
1548
1548
|
}
|
|
@@ -1604,7 +1604,7 @@ const Br = _`
|
|
|
1604
1604
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1605
1605
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1606
1606
|
*/
|
|
1607
|
-
const
|
|
1607
|
+
const _i = _`
|
|
1608
1608
|
[part='label'] {
|
|
1609
1609
|
align-self: flex-start;
|
|
1610
1610
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -1717,13 +1717,13 @@ const mi = _`
|
|
|
1717
1717
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
1718
1718
|
}
|
|
1719
1719
|
`;
|
|
1720
|
-
k("",
|
|
1720
|
+
k("", _i, { moduleId: "lumo-required-field" });
|
|
1721
1721
|
/**
|
|
1722
1722
|
* @license
|
|
1723
1723
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1724
1724
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1725
1725
|
*/
|
|
1726
|
-
const
|
|
1726
|
+
const Ur = _`
|
|
1727
1727
|
:host {
|
|
1728
1728
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
1729
1729
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -1854,8 +1854,8 @@ const Fr = _`
|
|
|
1854
1854
|
[part='clear-button']::before {
|
|
1855
1855
|
content: var(--lumo-icons-cross);
|
|
1856
1856
|
}
|
|
1857
|
-
`,
|
|
1858
|
-
k("",
|
|
1857
|
+
`, Hr = [_i, mi, Fr, Ur];
|
|
1858
|
+
k("", Hr, {
|
|
1859
1859
|
moduleId: "lumo-input-field-shared-styles"
|
|
1860
1860
|
});
|
|
1861
1861
|
/**
|
|
@@ -1879,9 +1879,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
1879
1879
|
Code distributed by Google as part of the polymer project is also
|
|
1880
1880
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
1881
1881
|
*/
|
|
1882
|
-
let
|
|
1882
|
+
let Vr = /(url\()([^)]*)(\))/g, jr = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ut, A;
|
|
1883
1883
|
function et(i, t) {
|
|
1884
|
-
if (i &&
|
|
1884
|
+
if (i && jr.test(i) || i === "//")
|
|
1885
1885
|
return i;
|
|
1886
1886
|
if (ut === void 0) {
|
|
1887
1887
|
ut = !1;
|
|
@@ -1900,7 +1900,7 @@ function et(i, t) {
|
|
|
1900
1900
|
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;
|
|
1901
1901
|
}
|
|
1902
1902
|
function se(i, t) {
|
|
1903
|
-
return i.replace(
|
|
1903
|
+
return i.replace(Vr, function(e, o, r, s) {
|
|
1904
1904
|
return o + "'" + et(r.replace(/["']/g, ""), t) + "'" + s;
|
|
1905
1905
|
});
|
|
1906
1906
|
}
|
|
@@ -1916,7 +1916,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
1916
1916
|
Code distributed by Google as part of the polymer project is also
|
|
1917
1917
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
1918
1918
|
*/
|
|
1919
|
-
const
|
|
1919
|
+
const qr = !window.ShadyDOM || !window.ShadyDOM.inUse, Yr = qr && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
1920
1920
|
(() => {
|
|
1921
1921
|
try {
|
|
1922
1922
|
const i = new CSSStyleSheet();
|
|
@@ -1927,7 +1927,7 @@ const jr = !window.ShadyDOM || !window.ShadyDOM.inUse, qr = jr && "adoptedStyleS
|
|
|
1927
1927
|
return !1;
|
|
1928
1928
|
}
|
|
1929
1929
|
})();
|
|
1930
|
-
let
|
|
1930
|
+
let Wr = window.Polymer && window.Polymer.rootPath || ne(document.baseURI || window.location.href), bt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0, Ut = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Gr = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Kr = window.Polymer && window.Polymer.legacyOptimizations || !1, Jr = window.Polymer && window.Polymer.legacyWarnings || !1, Xr = window.Polymer && window.Polymer.syncInitialRender || !1, Ht = window.Polymer && window.Polymer.legacyUndefined || !1, Zr = window.Polymer && window.Polymer.orderedComputed || !1, Oe = window.Polymer && window.Polymer.removeNestedTemplates || !1, Qr = window.Polymer && window.Polymer.fastDomIf || !1, Bn = window.Polymer && window.Polymer.suppressTemplateNotifications || !1, to = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
1931
1931
|
/**
|
|
1932
1932
|
@license
|
|
1933
1933
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -1937,14 +1937,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
1937
1937
|
Code distributed by Google as part of the polymer project is also
|
|
1938
1938
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
1939
1939
|
*/
|
|
1940
|
-
let
|
|
1940
|
+
let eo = 0;
|
|
1941
1941
|
const b = function(i) {
|
|
1942
1942
|
let t = (
|
|
1943
1943
|
/** @type {!MixinFunction} */
|
|
1944
1944
|
i.__mixinApplications
|
|
1945
1945
|
);
|
|
1946
1946
|
t || (t = /* @__PURE__ */ new WeakMap(), i.__mixinApplications = t);
|
|
1947
|
-
let e =
|
|
1947
|
+
let e = eo++;
|
|
1948
1948
|
function o(r) {
|
|
1949
1949
|
let s = (
|
|
1950
1950
|
/** @type {!MixinFunction} */
|
|
@@ -1975,14 +1975,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
1975
1975
|
Code distributed by Google as part of the polymer project is also
|
|
1976
1976
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
1977
1977
|
*/
|
|
1978
|
-
let ae = {},
|
|
1979
|
-
function
|
|
1980
|
-
ae[i] =
|
|
1978
|
+
let ae = {}, gi = {};
|
|
1979
|
+
function Me(i, t) {
|
|
1980
|
+
ae[i] = gi[i.toLowerCase()] = t;
|
|
1981
1981
|
}
|
|
1982
|
-
function
|
|
1983
|
-
return ae[i] ||
|
|
1982
|
+
function Ie(i) {
|
|
1983
|
+
return ae[i] || gi[i.toLowerCase()];
|
|
1984
1984
|
}
|
|
1985
|
-
function
|
|
1985
|
+
function io(i) {
|
|
1986
1986
|
i.querySelector("style") && console.warn("dom-module %s has style outside template", i.id);
|
|
1987
1987
|
}
|
|
1988
1988
|
class st extends HTMLElement {
|
|
@@ -2003,7 +2003,7 @@ class st extends HTMLElement {
|
|
|
2003
2003
|
*/
|
|
2004
2004
|
static import(t, e) {
|
|
2005
2005
|
if (t) {
|
|
2006
|
-
let o =
|
|
2006
|
+
let o = Ie(t);
|
|
2007
2007
|
return o && e ? o.querySelector(e) : o;
|
|
2008
2008
|
}
|
|
2009
2009
|
return null;
|
|
@@ -2051,9 +2051,9 @@ class st extends HTMLElement {
|
|
|
2051
2051
|
*/
|
|
2052
2052
|
register(t) {
|
|
2053
2053
|
if (t = t || this.id, t) {
|
|
2054
|
-
if (Ut &&
|
|
2055
|
-
throw
|
|
2056
|
-
this.id = t,
|
|
2054
|
+
if (Ut && Ie(t) !== void 0)
|
|
2055
|
+
throw Me(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2056
|
+
this.id = t, Me(t, this), io(this);
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
2059
2059
|
}
|
|
@@ -2068,14 +2068,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2068
2068
|
Code distributed by Google as part of the polymer project is also
|
|
2069
2069
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2070
2070
|
*/
|
|
2071
|
-
const
|
|
2072
|
-
function
|
|
2071
|
+
const ro = "link[rel=import][type~=css]", oo = "include", De = "shady-unscoped";
|
|
2072
|
+
function bi(i) {
|
|
2073
2073
|
return (
|
|
2074
2074
|
/** @type {?DomModule} */
|
|
2075
2075
|
st.import(i)
|
|
2076
2076
|
);
|
|
2077
2077
|
}
|
|
2078
|
-
function
|
|
2078
|
+
function ze(i) {
|
|
2079
2079
|
let t = i.body ? i.body : i;
|
|
2080
2080
|
const e = se(
|
|
2081
2081
|
t.textContent,
|
|
@@ -2083,24 +2083,24 @@ function De(i) {
|
|
|
2083
2083
|
), o = document.createElement("style");
|
|
2084
2084
|
return o.textContent = e, o;
|
|
2085
2085
|
}
|
|
2086
|
-
function
|
|
2086
|
+
function so(i) {
|
|
2087
2087
|
const t = i.trim().split(/\s+/), e = [];
|
|
2088
2088
|
for (let o = 0; o < t.length; o++)
|
|
2089
|
-
e.push(...
|
|
2089
|
+
e.push(...no(t[o]));
|
|
2090
2090
|
return e;
|
|
2091
2091
|
}
|
|
2092
|
-
function
|
|
2093
|
-
const t =
|
|
2092
|
+
function no(i) {
|
|
2093
|
+
const t = bi(i);
|
|
2094
2094
|
if (!t)
|
|
2095
2095
|
return console.warn("Could not find style data in module named", i), [];
|
|
2096
2096
|
if (t._styles === void 0) {
|
|
2097
2097
|
const e = [];
|
|
2098
|
-
e.push(...
|
|
2098
|
+
e.push(...yi(t));
|
|
2099
2099
|
const o = (
|
|
2100
2100
|
/** @type {?HTMLTemplateElement} */
|
|
2101
2101
|
t.querySelector("template")
|
|
2102
2102
|
);
|
|
2103
|
-
o && e.push(...
|
|
2103
|
+
o && e.push(...vi(
|
|
2104
2104
|
o,
|
|
2105
2105
|
/** @type {templateWithAssetPath} */
|
|
2106
2106
|
t.assetpath
|
|
@@ -2108,12 +2108,12 @@ function so(i) {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
return t._styles;
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2111
|
+
function vi(i, t) {
|
|
2112
2112
|
if (!i._styles) {
|
|
2113
2113
|
const e = [], o = i.content.querySelectorAll("style");
|
|
2114
2114
|
for (let r = 0; r < o.length; r++) {
|
|
2115
|
-
let s = o[r], n = s.getAttribute(
|
|
2116
|
-
n && e.push(...
|
|
2115
|
+
let s = o[r], n = s.getAttribute(oo);
|
|
2116
|
+
n && e.push(...so(n).filter(function(a, l, d) {
|
|
2117
2117
|
return d.indexOf(a) === l;
|
|
2118
2118
|
})), t && (s.textContent = se(
|
|
2119
2119
|
s.textContent,
|
|
@@ -2125,21 +2125,21 @@ function bi(i, t) {
|
|
|
2125
2125
|
}
|
|
2126
2126
|
return i._styles;
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2129
|
-
let t =
|
|
2130
|
-
return t ?
|
|
2128
|
+
function ao(i) {
|
|
2129
|
+
let t = bi(i);
|
|
2130
|
+
return t ? yi(t) : [];
|
|
2131
2131
|
}
|
|
2132
|
-
function
|
|
2133
|
-
const t = [], e = i.querySelectorAll(
|
|
2132
|
+
function yi(i) {
|
|
2133
|
+
const t = [], e = i.querySelectorAll(ro);
|
|
2134
2134
|
for (let o = 0; o < e.length; o++) {
|
|
2135
2135
|
let r = e[o];
|
|
2136
2136
|
if (r.import) {
|
|
2137
|
-
const s = r.import, n = r.hasAttribute(
|
|
2137
|
+
const s = r.import, n = r.hasAttribute(De);
|
|
2138
2138
|
if (n && !s._unscopedStyle) {
|
|
2139
|
-
const a =
|
|
2140
|
-
a.setAttribute(
|
|
2139
|
+
const a = ze(s);
|
|
2140
|
+
a.setAttribute(De, ""), s._unscopedStyle = a;
|
|
2141
2141
|
} else
|
|
2142
|
-
s._style || (s._style =
|
|
2142
|
+
s._style || (s._style = ze(s));
|
|
2143
2143
|
t.push(n ? s._unscopedStyle : s._style);
|
|
2144
2144
|
}
|
|
2145
2145
|
}
|
|
@@ -2171,7 +2171,7 @@ function $(i) {
|
|
|
2171
2171
|
let t = i.indexOf(".");
|
|
2172
2172
|
return t === -1 ? i : i.slice(0, t);
|
|
2173
2173
|
}
|
|
2174
|
-
function
|
|
2174
|
+
function wi(i, t) {
|
|
2175
2175
|
return i.indexOf(t + ".") === 0;
|
|
2176
2176
|
}
|
|
2177
2177
|
function nt(i, t) {
|
|
@@ -2180,8 +2180,8 @@ function nt(i, t) {
|
|
|
2180
2180
|
function vt(i, t, e) {
|
|
2181
2181
|
return t + e.slice(i.length);
|
|
2182
2182
|
}
|
|
2183
|
-
function
|
|
2184
|
-
return i === t ||
|
|
2183
|
+
function Fn(i, t) {
|
|
2184
|
+
return i === t || wi(i, t) || nt(i, t);
|
|
2185
2185
|
}
|
|
2186
2186
|
function Z(i) {
|
|
2187
2187
|
if (Array.isArray(i)) {
|
|
@@ -2195,11 +2195,11 @@ function Z(i) {
|
|
|
2195
2195
|
} else
|
|
2196
2196
|
return i;
|
|
2197
2197
|
}
|
|
2198
|
-
function
|
|
2198
|
+
function Ai(i) {
|
|
2199
2199
|
return Array.isArray(i) ? Z(i).split(".") : i.toString().split(".");
|
|
2200
2200
|
}
|
|
2201
2201
|
function v(i, t, e) {
|
|
2202
|
-
let o = i, r =
|
|
2202
|
+
let o = i, r = Ai(t);
|
|
2203
2203
|
for (let s = 0; s < r.length; s++) {
|
|
2204
2204
|
if (!o)
|
|
2205
2205
|
return;
|
|
@@ -2208,8 +2208,8 @@ function v(i, t, e) {
|
|
|
2208
2208
|
}
|
|
2209
2209
|
return e && (e.path = r.join(".")), o;
|
|
2210
2210
|
}
|
|
2211
|
-
function
|
|
2212
|
-
let o = i, r =
|
|
2211
|
+
function Le(i, t, e) {
|
|
2212
|
+
let o = i, r = Ai(t), s = r[r.length - 1];
|
|
2213
2213
|
if (r.length > 1) {
|
|
2214
2214
|
for (let n = 0; n < r.length - 1; n++) {
|
|
2215
2215
|
let a = r[n];
|
|
@@ -2230,15 +2230,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2230
2230
|
Code distributed by Google as part of the polymer project is also
|
|
2231
2231
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2232
2232
|
*/
|
|
2233
|
-
const yt = {},
|
|
2234
|
-
function
|
|
2233
|
+
const yt = {}, lo = /-[a-z]/g, co = /([A-Z])/g;
|
|
2234
|
+
function xi(i) {
|
|
2235
2235
|
return yt[i] || (yt[i] = i.indexOf("-") < 0 ? i : i.replace(
|
|
2236
|
-
|
|
2236
|
+
lo,
|
|
2237
2237
|
(t) => t[1].toUpperCase()
|
|
2238
2238
|
));
|
|
2239
2239
|
}
|
|
2240
2240
|
function Ct(i) {
|
|
2241
|
-
return yt[i] || (yt[i] = i.replace(
|
|
2241
|
+
return yt[i] || (yt[i] = i.replace(co, "-$1").toLowerCase());
|
|
2242
2242
|
}
|
|
2243
2243
|
/**
|
|
2244
2244
|
@license
|
|
@@ -2249,9 +2249,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2249
2249
|
Code distributed by Google as part of the polymer project is also
|
|
2250
2250
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2251
2251
|
*/
|
|
2252
|
-
let
|
|
2253
|
-
new window.MutationObserver(
|
|
2254
|
-
function
|
|
2252
|
+
let uo = 0, Ci = 0, U = [], ho = 0, jt = !1, Ei = document.createTextNode("");
|
|
2253
|
+
new window.MutationObserver(po).observe(Ei, { characterData: !0 });
|
|
2254
|
+
function po() {
|
|
2255
2255
|
jt = !1;
|
|
2256
2256
|
const i = U.length;
|
|
2257
2257
|
for (let t = 0; t < i; t++) {
|
|
@@ -2265,9 +2265,9 @@ function ho() {
|
|
|
2265
2265
|
});
|
|
2266
2266
|
}
|
|
2267
2267
|
}
|
|
2268
|
-
U.splice(0, i),
|
|
2268
|
+
U.splice(0, i), Ci += i;
|
|
2269
2269
|
}
|
|
2270
|
-
const
|
|
2270
|
+
const Un = {
|
|
2271
2271
|
/**
|
|
2272
2272
|
* Returns a sub-module with the async interface providing the provided
|
|
2273
2273
|
* delay.
|
|
@@ -2307,7 +2307,7 @@ const Fn = {
|
|
|
2307
2307
|
cancel(i) {
|
|
2308
2308
|
window.clearTimeout(i);
|
|
2309
2309
|
}
|
|
2310
|
-
},
|
|
2310
|
+
}, fo = {
|
|
2311
2311
|
/**
|
|
2312
2312
|
* Enqueues a function called at microtask timing.
|
|
2313
2313
|
*
|
|
@@ -2316,7 +2316,7 @@ const Fn = {
|
|
|
2316
2316
|
* @return {number} Handle used for canceling task
|
|
2317
2317
|
*/
|
|
2318
2318
|
run(i) {
|
|
2319
|
-
return jt || (jt = !0,
|
|
2319
|
+
return jt || (jt = !0, Ei.textContent = ho++), U.push(i), uo++;
|
|
2320
2320
|
},
|
|
2321
2321
|
/**
|
|
2322
2322
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -2326,7 +2326,7 @@ const Fn = {
|
|
|
2326
2326
|
* @return {void}
|
|
2327
2327
|
*/
|
|
2328
2328
|
cancel(i) {
|
|
2329
|
-
const t = i -
|
|
2329
|
+
const t = i - Ci;
|
|
2330
2330
|
if (t >= 0) {
|
|
2331
2331
|
if (!U[t])
|
|
2332
2332
|
throw new Error("invalid async handle: " + i);
|
|
@@ -2343,7 +2343,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2343
2343
|
Code distributed by Google as part of the polymer project is also
|
|
2344
2344
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2345
2345
|
*/
|
|
2346
|
-
const
|
|
2346
|
+
const mo = fo, Pi = b(
|
|
2347
2347
|
/**
|
|
2348
2348
|
* @template T
|
|
2349
2349
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -2552,7 +2552,7 @@ const fo = po, Ei = b(
|
|
|
2552
2552
|
* @override
|
|
2553
2553
|
*/
|
|
2554
2554
|
_invalidateProperties() {
|
|
2555
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
2555
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, mo.run(() => {
|
|
2556
2556
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
2557
2557
|
}));
|
|
2558
2558
|
}
|
|
@@ -2779,23 +2779,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2779
2779
|
Code distributed by Google as part of the polymer project is also
|
|
2780
2780
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2781
2781
|
*/
|
|
2782
|
-
const
|
|
2782
|
+
const Ti = {};
|
|
2783
2783
|
let ht = HTMLElement.prototype;
|
|
2784
2784
|
for (; ht; ) {
|
|
2785
2785
|
let i = Object.getOwnPropertyNames(ht);
|
|
2786
2786
|
for (let t = 0; t < i.length; t++)
|
|
2787
|
-
|
|
2787
|
+
Ti[i[t]] = !0;
|
|
2788
2788
|
ht = Object.getPrototypeOf(ht);
|
|
2789
2789
|
}
|
|
2790
|
-
const
|
|
2791
|
-
function
|
|
2792
|
-
if (!
|
|
2790
|
+
const _o = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
|
|
2791
|
+
function go(i, t) {
|
|
2792
|
+
if (!Ti[t]) {
|
|
2793
2793
|
let e = i[t];
|
|
2794
2794
|
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));
|
|
2795
2795
|
}
|
|
2796
2796
|
}
|
|
2797
|
-
const
|
|
2798
|
-
const t =
|
|
2797
|
+
const bo = b((i) => {
|
|
2798
|
+
const t = Pi(i);
|
|
2799
2799
|
class e extends t {
|
|
2800
2800
|
/**
|
|
2801
2801
|
* Generates property accessors for all attributes in the standard
|
|
@@ -2813,7 +2813,7 @@ const go = b((i) => {
|
|
|
2813
2813
|
this.observedAttributes
|
|
2814
2814
|
);
|
|
2815
2815
|
for (let s = 0; s < r.length; s++)
|
|
2816
|
-
this.prototype._createPropertyAccessor(
|
|
2816
|
+
this.prototype._createPropertyAccessor(xi(r[s]));
|
|
2817
2817
|
}
|
|
2818
2818
|
/**
|
|
2819
2819
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -2890,7 +2890,7 @@ const go = b((i) => {
|
|
|
2890
2890
|
if (r instanceof Date)
|
|
2891
2891
|
return r.toString();
|
|
2892
2892
|
if (r) {
|
|
2893
|
-
if (
|
|
2893
|
+
if (_o(r))
|
|
2894
2894
|
return (
|
|
2895
2895
|
/** @type {?} */
|
|
2896
2896
|
r
|
|
@@ -2971,7 +2971,7 @@ const go = b((i) => {
|
|
|
2971
2971
|
* @override
|
|
2972
2972
|
*/
|
|
2973
2973
|
_definePropertyAccessor(r, s) {
|
|
2974
|
-
|
|
2974
|
+
go(this, r), super._definePropertyAccessor(r, s);
|
|
2975
2975
|
}
|
|
2976
2976
|
/**
|
|
2977
2977
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3006,23 +3006,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3006
3006
|
Code distributed by Google as part of the polymer project is also
|
|
3007
3007
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3008
3008
|
*/
|
|
3009
|
-
const
|
|
3009
|
+
const vo = {
|
|
3010
3010
|
"dom-if": !0,
|
|
3011
3011
|
"dom-repeat": !0
|
|
3012
3012
|
};
|
|
3013
|
-
let
|
|
3014
|
-
function
|
|
3015
|
-
if (
|
|
3016
|
-
|
|
3013
|
+
let $e = !1, Re = !1;
|
|
3014
|
+
function yo() {
|
|
3015
|
+
if (!$e) {
|
|
3016
|
+
$e = !0;
|
|
3017
3017
|
const i = document.createElement("textarea");
|
|
3018
|
-
i.placeholder = "a",
|
|
3018
|
+
i.placeholder = "a", Re = i.placeholder === i.textContent;
|
|
3019
3019
|
}
|
|
3020
|
-
return
|
|
3020
|
+
return Re;
|
|
3021
3021
|
}
|
|
3022
|
-
function
|
|
3023
|
-
|
|
3022
|
+
function wo(i) {
|
|
3023
|
+
yo() && i.localName === "textarea" && i.placeholder && i.placeholder === i.textContent && (i.textContent = null);
|
|
3024
3024
|
}
|
|
3025
|
-
const
|
|
3025
|
+
const Ao = (() => {
|
|
3026
3026
|
const i = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3027
3027
|
"polymer-template-event-attribute-policy",
|
|
3028
3028
|
{
|
|
@@ -3041,19 +3041,19 @@ const wo = (() => {
|
|
|
3041
3041
|
t.setAttribute(o, r);
|
|
3042
3042
|
};
|
|
3043
3043
|
})();
|
|
3044
|
-
function
|
|
3044
|
+
function xo(i) {
|
|
3045
3045
|
let t = i.getAttribute("is");
|
|
3046
|
-
if (t &&
|
|
3046
|
+
if (t && vo[t]) {
|
|
3047
3047
|
let e = i;
|
|
3048
3048
|
for (e.removeAttribute("is"), i = e.ownerDocument.createElement(t), e.parentNode.replaceChild(i, e), i.appendChild(e); e.attributes.length; ) {
|
|
3049
3049
|
const { name: o } = e.attributes[0];
|
|
3050
|
-
|
|
3050
|
+
Ao(i, e, o), e.removeAttribute(o);
|
|
3051
3051
|
}
|
|
3052
3052
|
}
|
|
3053
3053
|
return i;
|
|
3054
3054
|
}
|
|
3055
|
-
function
|
|
3056
|
-
let e = t.parentInfo &&
|
|
3055
|
+
function Si(i, t) {
|
|
3056
|
+
let e = t.parentInfo && Si(i, t.parentInfo);
|
|
3057
3057
|
if (e) {
|
|
3058
3058
|
for (let o = e.firstChild, r = 0; o; o = o.nextSibling)
|
|
3059
3059
|
if (t.parentIndex === r++)
|
|
@@ -3061,23 +3061,23 @@ function Ti(i, t) {
|
|
|
3061
3061
|
} else
|
|
3062
3062
|
return i;
|
|
3063
3063
|
}
|
|
3064
|
-
function
|
|
3064
|
+
function Co(i, t, e, o) {
|
|
3065
3065
|
o.id && (t[o.id] = e);
|
|
3066
3066
|
}
|
|
3067
|
-
function
|
|
3067
|
+
function Eo(i, t, e) {
|
|
3068
3068
|
if (e.events && e.events.length)
|
|
3069
3069
|
for (let o = 0, r = e.events, s; o < r.length && (s = r[o]); o++)
|
|
3070
3070
|
i._addMethodEventListenerToNode(t, s.name, s.value, i);
|
|
3071
3071
|
}
|
|
3072
|
-
function
|
|
3072
|
+
function Po(i, t, e, o) {
|
|
3073
3073
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = o);
|
|
3074
3074
|
}
|
|
3075
|
-
function
|
|
3075
|
+
function To(i, t, e) {
|
|
3076
3076
|
return i = i._methodHost || i, function(r) {
|
|
3077
3077
|
i[e] ? i[e](r, r.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3078
3078
|
};
|
|
3079
3079
|
}
|
|
3080
|
-
const
|
|
3080
|
+
const So = b(
|
|
3081
3081
|
/**
|
|
3082
3082
|
* @template T
|
|
3083
3083
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3204,7 +3204,7 @@ const To = b(
|
|
|
3204
3204
|
/** @type {!HTMLTemplateElement} */
|
|
3205
3205
|
o
|
|
3206
3206
|
);
|
|
3207
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, r, s) || n : a.localName === "slot" && (r.hasInsertionPoint = !0),
|
|
3207
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, r, s) || n : a.localName === "slot" && (r.hasInsertionPoint = !0), wo(a), a.firstChild && this._parseTemplateChildNodes(a, r, s), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, r, s) || n), n || s.noted;
|
|
3208
3208
|
}
|
|
3209
3209
|
/**
|
|
3210
3210
|
* Parses template child nodes for the given root node.
|
|
@@ -3222,7 +3222,7 @@ const To = b(
|
|
|
3222
3222
|
static _parseTemplateChildNodes(o, r, s) {
|
|
3223
3223
|
if (!(o.localName === "script" || o.localName === "style"))
|
|
3224
3224
|
for (let n = o.firstChild, a = 0, l; n; n = l) {
|
|
3225
|
-
if (n.localName == "template" && (n =
|
|
3225
|
+
if (n.localName == "template" && (n = xo(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
3226
3226
|
let c = l;
|
|
3227
3227
|
for (; c && c.nodeType === Node.TEXT_NODE; )
|
|
3228
3228
|
n.textContent += c.textContent, l = c.nextSibling, o.removeChild(c), c = l;
|
|
@@ -3357,8 +3357,8 @@ const To = b(
|
|
|
3357
3357
|
let l = a.nodeList = new Array(s.length);
|
|
3358
3358
|
a.$ = {};
|
|
3359
3359
|
for (let d = 0, c = s.length, u; d < c && (u = s[d]); d++) {
|
|
3360
|
-
let h = l[d] =
|
|
3361
|
-
|
|
3360
|
+
let h = l[d] = Si(a, u);
|
|
3361
|
+
Co(this, a.$, h, u), Po(this, h, u, r), Eo(this, h, u);
|
|
3362
3362
|
}
|
|
3363
3363
|
return a = /** @type {!StampedTemplate} */
|
|
3364
3364
|
a, a;
|
|
@@ -3379,7 +3379,7 @@ const To = b(
|
|
|
3379
3379
|
*/
|
|
3380
3380
|
_addMethodEventListenerToNode(o, r, s, n) {
|
|
3381
3381
|
n = n || o;
|
|
3382
|
-
let a =
|
|
3382
|
+
let a = To(n, r, s);
|
|
3383
3383
|
return this._addEventListenerToNode(o, r, a), a;
|
|
3384
3384
|
}
|
|
3385
3385
|
/**
|
|
@@ -3429,7 +3429,7 @@ const lt = [], f = {
|
|
|
3429
3429
|
PROPAGATE: "__propagateEffects",
|
|
3430
3430
|
OBSERVE: "__observeEffects",
|
|
3431
3431
|
READ_ONLY: "__readOnly"
|
|
3432
|
-
},
|
|
3432
|
+
}, Ni = "__computeInfo", No = /[A-Z]/;
|
|
3433
3433
|
function Nt(i, t, e) {
|
|
3434
3434
|
let o = i[t];
|
|
3435
3435
|
if (!o)
|
|
@@ -3456,7 +3456,7 @@ function Q(i, t, e, o, r, s) {
|
|
|
3456
3456
|
}
|
|
3457
3457
|
return !1;
|
|
3458
3458
|
}
|
|
3459
|
-
function
|
|
3459
|
+
function ko(i, t, e, o, r, s, n, a) {
|
|
3460
3460
|
let l = !1, d = n ? $(o) : o, c = t[d];
|
|
3461
3461
|
if (c)
|
|
3462
3462
|
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
@@ -3469,30 +3469,30 @@ function le(i, t) {
|
|
|
3469
3469
|
/** @type {string} */
|
|
3470
3470
|
t.name
|
|
3471
3471
|
);
|
|
3472
|
-
return e == i || !!(t.structured &&
|
|
3472
|
+
return e == i || !!(t.structured && wi(e, i)) || !!(t.wildcard && nt(e, i));
|
|
3473
3473
|
} else
|
|
3474
3474
|
return !0;
|
|
3475
3475
|
}
|
|
3476
|
-
function
|
|
3476
|
+
function Be(i, t, e, o, r) {
|
|
3477
3477
|
let s = typeof r.method == "string" ? i[r.method] : r.method, n = r.property;
|
|
3478
3478
|
s ? s.call(i, i.__data[n], o[n]) : r.dynamicFn || console.warn("observer method `" + r.method + "` not defined");
|
|
3479
3479
|
}
|
|
3480
|
-
function
|
|
3480
|
+
function Oo(i, t, e, o, r) {
|
|
3481
3481
|
let s = i[f.NOTIFY], n, a = at++;
|
|
3482
3482
|
for (let d in t)
|
|
3483
|
-
t[d] && (s &&
|
|
3483
|
+
t[d] && (s && ko(i, s, a, d, e, o, r) || r && Mo(i, d, e)) && (n = !0);
|
|
3484
3484
|
let l;
|
|
3485
3485
|
n && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
3486
3486
|
}
|
|
3487
|
-
function
|
|
3487
|
+
function Mo(i, t, e) {
|
|
3488
3488
|
let o = $(t);
|
|
3489
3489
|
if (o !== t) {
|
|
3490
3490
|
let r = Ct(o) + "-changed";
|
|
3491
|
-
return
|
|
3491
|
+
return ki(i, r, e[t], t), !0;
|
|
3492
3492
|
}
|
|
3493
3493
|
return !1;
|
|
3494
3494
|
}
|
|
3495
|
-
function
|
|
3495
|
+
function ki(i, t, e, o) {
|
|
3496
3496
|
let r = {
|
|
3497
3497
|
value: e,
|
|
3498
3498
|
queueProperty: !0
|
|
@@ -3502,18 +3502,18 @@ function Ni(i, t, e, o) {
|
|
|
3502
3502
|
i
|
|
3503
3503
|
).dispatchEvent(new CustomEvent(t, { detail: r }));
|
|
3504
3504
|
}
|
|
3505
|
-
function
|
|
3505
|
+
function Io(i, t, e, o, r, s) {
|
|
3506
3506
|
let a = (s ? $(t) : t) != t ? t : null, l = a ? v(i, a) : i.__data[t];
|
|
3507
|
-
a && l === void 0 && (l = e[t]),
|
|
3507
|
+
a && l === void 0 && (l = e[t]), ki(i, r.eventName, l, a);
|
|
3508
3508
|
}
|
|
3509
|
-
function
|
|
3509
|
+
function Do(i, t, e, o, r) {
|
|
3510
3510
|
let s, n = (
|
|
3511
3511
|
/** @type {Object} */
|
|
3512
3512
|
i.detail
|
|
3513
3513
|
), a = n && n.path;
|
|
3514
3514
|
a ? (o = vt(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();
|
|
3515
3515
|
}
|
|
3516
|
-
function
|
|
3516
|
+
function zo(i, t, e, o, r) {
|
|
3517
3517
|
let s = i.__data[t];
|
|
3518
3518
|
bt && (s = bt(
|
|
3519
3519
|
s,
|
|
@@ -3523,17 +3523,17 @@ function Do(i, t, e, o, r) {
|
|
|
3523
3523
|
i
|
|
3524
3524
|
)), i._propertyToAttribute(t, r.attrName, s);
|
|
3525
3525
|
}
|
|
3526
|
-
function
|
|
3526
|
+
function Lo(i, t, e, o) {
|
|
3527
3527
|
let r = i[f.COMPUTE];
|
|
3528
3528
|
if (r)
|
|
3529
|
-
if (
|
|
3529
|
+
if (Zr) {
|
|
3530
3530
|
at++;
|
|
3531
|
-
const s =
|
|
3531
|
+
const s = Ro(i), n = [];
|
|
3532
3532
|
for (let l in t)
|
|
3533
|
-
|
|
3533
|
+
Fe(l, r, n, s, o);
|
|
3534
3534
|
let a;
|
|
3535
3535
|
for (; a = n.shift(); )
|
|
3536
|
-
|
|
3536
|
+
Oi(i, "", t, e, a) && Fe(a.methodInfo, r, n, s, o);
|
|
3537
3537
|
Object.assign(
|
|
3538
3538
|
/** @type {!Object} */
|
|
3539
3539
|
e,
|
|
@@ -3557,7 +3557,7 @@ function zo(i, t, e, o) {
|
|
|
3557
3557
|
), s = i.__dataPending, i.__dataPending = null;
|
|
3558
3558
|
}
|
|
3559
3559
|
}
|
|
3560
|
-
const
|
|
3560
|
+
const $o = (i, t, e) => {
|
|
3561
3561
|
let o = 0, r = t.length - 1, s = -1;
|
|
3562
3562
|
for (; o <= r; ) {
|
|
3563
3563
|
const n = o + r >> 1, a = e.get(t[n].methodInfo) - e.get(i.methodInfo);
|
|
@@ -3571,20 +3571,20 @@ const Lo = (i, t, e) => {
|
|
|
3571
3571
|
}
|
|
3572
3572
|
}
|
|
3573
3573
|
s < 0 && (s = r + 1), t.splice(s, 0, i);
|
|
3574
|
-
},
|
|
3574
|
+
}, Fe = (i, t, e, o, r) => {
|
|
3575
3575
|
const s = r ? $(i) : i, n = t[s];
|
|
3576
3576
|
if (n)
|
|
3577
3577
|
for (let a = 0; a < n.length; a++) {
|
|
3578
3578
|
const l = n[a];
|
|
3579
|
-
l.info.lastRun !== at && (!r || le(i, l.trigger)) && (l.info.lastRun = at,
|
|
3579
|
+
l.info.lastRun !== at && (!r || le(i, l.trigger)) && (l.info.lastRun = at, $o(l.info, e, o));
|
|
3580
3580
|
}
|
|
3581
3581
|
};
|
|
3582
|
-
function
|
|
3582
|
+
function Ro(i) {
|
|
3583
3583
|
let t = i.constructor.__orderedComputedDeps;
|
|
3584
3584
|
if (!t) {
|
|
3585
3585
|
t = /* @__PURE__ */ new Map();
|
|
3586
3586
|
const e = i[f.COMPUTE];
|
|
3587
|
-
let { counts: o, ready: r, total: s } =
|
|
3587
|
+
let { counts: o, ready: r, total: s } = Bo(i), n;
|
|
3588
3588
|
for (; n = r.shift(); ) {
|
|
3589
3589
|
t.set(n, t.size);
|
|
3590
3590
|
const a = e[n];
|
|
@@ -3598,8 +3598,8 @@ function $o(i) {
|
|
|
3598
3598
|
}
|
|
3599
3599
|
return t;
|
|
3600
3600
|
}
|
|
3601
|
-
function
|
|
3602
|
-
const t = i[
|
|
3601
|
+
function Bo(i) {
|
|
3602
|
+
const t = i[Ni], e = {}, o = i[f.COMPUTE], r = [];
|
|
3603
3603
|
let s = 0;
|
|
3604
3604
|
for (let n in t) {
|
|
3605
3605
|
const a = t[n];
|
|
@@ -3609,14 +3609,14 @@ function Ro(i) {
|
|
|
3609
3609
|
t[n] || r.push(n);
|
|
3610
3610
|
return { counts: e, ready: r, total: s };
|
|
3611
3611
|
}
|
|
3612
|
-
function
|
|
3612
|
+
function Oi(i, t, e, o, r) {
|
|
3613
3613
|
let s = qt(i, t, e, o, r);
|
|
3614
3614
|
if (s === lt)
|
|
3615
3615
|
return !1;
|
|
3616
3616
|
let n = r.methodInfo;
|
|
3617
3617
|
return i.__dataHasAccessor && i.__dataHasAccessor[n] ? i._setPendingProperty(n, s, !0) : (i[n] = s, !1);
|
|
3618
3618
|
}
|
|
3619
|
-
function
|
|
3619
|
+
function Fo(i, t, e) {
|
|
3620
3620
|
let o = i.__dataLinkedPaths;
|
|
3621
3621
|
if (o) {
|
|
3622
3622
|
let r;
|
|
@@ -3629,17 +3629,17 @@ function Bo(i, t, e) {
|
|
|
3629
3629
|
function kt(i, t, e, o, r, s, n) {
|
|
3630
3630
|
e.bindings = e.bindings || [];
|
|
3631
3631
|
let a = { kind: o, target: r, parts: s, literal: n, isCompound: s.length !== 1 };
|
|
3632
|
-
if (e.bindings.push(a),
|
|
3632
|
+
if (e.bindings.push(a), qo(a)) {
|
|
3633
3633
|
let { event: d, negate: c } = a.parts[0];
|
|
3634
3634
|
a.listenerEvent = d || Ct(r) + "-changed", a.listenerNegate = c;
|
|
3635
3635
|
}
|
|
3636
3636
|
let l = t.nodeInfoList.length;
|
|
3637
3637
|
for (let d = 0; d < a.parts.length; d++) {
|
|
3638
3638
|
let c = a.parts[d];
|
|
3639
|
-
c.compoundIndex = d,
|
|
3639
|
+
c.compoundIndex = d, Uo(i, t, a, c, l);
|
|
3640
3640
|
}
|
|
3641
3641
|
}
|
|
3642
|
-
function
|
|
3642
|
+
function Uo(i, t, e, o, r) {
|
|
3643
3643
|
if (!o.literal)
|
|
3644
3644
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
3645
3645
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -3647,26 +3647,26 @@ function Fo(i, t, e, o, r) {
|
|
|
3647
3647
|
let s = o.dependencies, n = { index: r, binding: e, part: o, evaluator: i };
|
|
3648
3648
|
for (let a = 0; a < s.length; a++) {
|
|
3649
3649
|
let l = s[a];
|
|
3650
|
-
typeof l == "string" && (l =
|
|
3651
|
-
fn:
|
|
3650
|
+
typeof l == "string" && (l = Ii(l), l.wildcard = !0), i._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
3651
|
+
fn: Ho,
|
|
3652
3652
|
info: n,
|
|
3653
3653
|
trigger: l
|
|
3654
3654
|
});
|
|
3655
3655
|
}
|
|
3656
3656
|
}
|
|
3657
3657
|
}
|
|
3658
|
-
function
|
|
3658
|
+
function Ho(i, t, e, o, r, s, n) {
|
|
3659
3659
|
let a = n[r.index], l = r.binding, d = r.part;
|
|
3660
3660
|
if (s && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
3661
3661
|
let c = e[t];
|
|
3662
3662
|
t = vt(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && i._enqueueClient(a);
|
|
3663
3663
|
} else {
|
|
3664
3664
|
let c = r.evaluator._evaluateBinding(i, d, t, e, o, s);
|
|
3665
|
-
c !== lt &&
|
|
3665
|
+
c !== lt && Vo(i, a, l, d, c);
|
|
3666
3666
|
}
|
|
3667
3667
|
}
|
|
3668
|
-
function
|
|
3669
|
-
if (r =
|
|
3668
|
+
function Vo(i, t, e, o, r) {
|
|
3669
|
+
if (r = jo(t, r, e, o), bt && (r = bt(r, e.target, e.kind, t)), e.kind == "attribute")
|
|
3670
3670
|
i._valueToNodeAttribute(
|
|
3671
3671
|
/** @type {Element} */
|
|
3672
3672
|
t,
|
|
@@ -3678,17 +3678,17 @@ function Ho(i, t, e, o, r) {
|
|
|
3678
3678
|
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);
|
|
3679
3679
|
}
|
|
3680
3680
|
}
|
|
3681
|
-
function
|
|
3681
|
+
function jo(i, t, e, o) {
|
|
3682
3682
|
if (e.isCompound) {
|
|
3683
3683
|
let r = i.__dataCompoundStorage[e.target];
|
|
3684
3684
|
r[o.compoundIndex] = t, t = r.join("");
|
|
3685
3685
|
}
|
|
3686
3686
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (i.localName === "input" || i.localName === "textarea")) && (t = t ?? ""), t;
|
|
3687
3687
|
}
|
|
3688
|
-
function
|
|
3688
|
+
function qo(i) {
|
|
3689
3689
|
return !!i.target && i.kind != "attribute" && i.kind != "text" && !i.isCompound && i.parts[0].mode === "{";
|
|
3690
3690
|
}
|
|
3691
|
-
function
|
|
3691
|
+
function Yo(i, t) {
|
|
3692
3692
|
let { nodeList: e, nodeInfoList: o } = t;
|
|
3693
3693
|
if (o.length)
|
|
3694
3694
|
for (let r = 0; r < o.length; r++) {
|
|
@@ -3696,12 +3696,12 @@ function qo(i, t) {
|
|
|
3696
3696
|
if (a)
|
|
3697
3697
|
for (let l = 0; l < a.length; l++) {
|
|
3698
3698
|
let d = a[l];
|
|
3699
|
-
|
|
3699
|
+
Wo(n, d), Go(n, i, d);
|
|
3700
3700
|
}
|
|
3701
3701
|
n.__dataHost = i;
|
|
3702
3702
|
}
|
|
3703
3703
|
}
|
|
3704
|
-
function
|
|
3704
|
+
function Wo(i, t) {
|
|
3705
3705
|
if (t.isCompound) {
|
|
3706
3706
|
let e = i.__dataCompoundStorage || (i.__dataCompoundStorage = {}), o = t.parts, r = new Array(o.length);
|
|
3707
3707
|
for (let n = 0; n < o.length; n++)
|
|
@@ -3710,15 +3710,15 @@ function Yo(i, t) {
|
|
|
3710
3710
|
e[s] = r, t.literal && t.kind == "property" && (s === "className" && (i = D(i)), i[s] = t.literal);
|
|
3711
3711
|
}
|
|
3712
3712
|
}
|
|
3713
|
-
function
|
|
3713
|
+
function Go(i, t, e) {
|
|
3714
3714
|
if (e.listenerEvent) {
|
|
3715
3715
|
let o = e.parts[0];
|
|
3716
3716
|
i.addEventListener(e.listenerEvent, function(r) {
|
|
3717
|
-
|
|
3717
|
+
Do(r, t, e.target, o.source, o.negate);
|
|
3718
3718
|
});
|
|
3719
3719
|
}
|
|
3720
3720
|
}
|
|
3721
|
-
function
|
|
3721
|
+
function Ue(i, t, e, o, r, s) {
|
|
3722
3722
|
s = t.static || s && (typeof s != "object" || s[t.methodName]);
|
|
3723
3723
|
let n = {
|
|
3724
3724
|
methodName: t.methodName,
|
|
@@ -3745,8 +3745,8 @@ function qt(i, t, e, o, r) {
|
|
|
3745
3745
|
} else
|
|
3746
3746
|
r.dynamicFn || console.warn("method `" + r.methodName + "` not defined");
|
|
3747
3747
|
}
|
|
3748
|
-
const
|
|
3749
|
-
function
|
|
3748
|
+
const Ko = [], Mi = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Jo = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Xo = "(?:'(?:[^'\\\\]|\\\\.)*')", Zo = '(?:"(?:[^"\\\\]|\\\\.)*")', Qo = "(?:" + Xo + "|" + Zo + ")", He = "(?:(" + Mi + "|" + Jo + "|" + Qo + ")\\s*)", ts = "(?:" + He + "(?:,\\s*" + He + ")*)", es = "(?:\\(\\s*(?:" + ts + "?)\\)\\s*)", is = "(" + Mi + "\\s*" + es + "?)", rs = "(\\[\\[|{{)\\s*", os = "(?:]]|}})", ss = "(?:(!)\\s*)?", ns = rs + ss + is + os, Ve = new RegExp(ns, "g");
|
|
3749
|
+
function je(i) {
|
|
3750
3750
|
let t = "";
|
|
3751
3751
|
for (let e = 0; e < i.length; e++) {
|
|
3752
3752
|
let o = i[e].literal;
|
|
@@ -3757,22 +3757,22 @@ function Ve(i) {
|
|
|
3757
3757
|
function Ot(i) {
|
|
3758
3758
|
let t = i.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
3759
3759
|
if (t) {
|
|
3760
|
-
let o = { methodName: t[1], static: !0, args:
|
|
3760
|
+
let o = { methodName: t[1], static: !0, args: Ko };
|
|
3761
3761
|
if (t[2].trim()) {
|
|
3762
3762
|
let r = t[2].replace(/\\,/g, ",").split(",");
|
|
3763
|
-
return
|
|
3763
|
+
return as(r, o);
|
|
3764
3764
|
} else
|
|
3765
3765
|
return o;
|
|
3766
3766
|
}
|
|
3767
3767
|
return null;
|
|
3768
3768
|
}
|
|
3769
|
-
function
|
|
3769
|
+
function as(i, t) {
|
|
3770
3770
|
return t.args = i.map(function(e) {
|
|
3771
|
-
let o =
|
|
3771
|
+
let o = Ii(e);
|
|
3772
3772
|
return o.literal || (t.static = !1), o;
|
|
3773
3773
|
}, this), t;
|
|
3774
3774
|
}
|
|
3775
|
-
function
|
|
3775
|
+
function Ii(i) {
|
|
3776
3776
|
let t = i.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
3777
3777
|
name: t,
|
|
3778
3778
|
value: "",
|
|
@@ -3789,16 +3789,16 @@ function Mi(i) {
|
|
|
3789
3789
|
}
|
|
3790
3790
|
return e.literal || (e.rootProperty = $(t), e.structured = Vt(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
3791
3791
|
}
|
|
3792
|
-
function
|
|
3792
|
+
function qe(i, t, e) {
|
|
3793
3793
|
let o = v(i, e);
|
|
3794
3794
|
return o === void 0 && (o = t[e]), o;
|
|
3795
3795
|
}
|
|
3796
|
-
function
|
|
3796
|
+
function Di(i, t, e, o) {
|
|
3797
3797
|
const r = { indexSplices: o };
|
|
3798
3798
|
Ht && !i._overrideLegacyUndefined && (t.splices = r), i.notifyPath(e + ".splices", r), i.notifyPath(e + ".length", t.length), Ht && !i._overrideLegacyUndefined && (r.indexSplices = []);
|
|
3799
3799
|
}
|
|
3800
3800
|
function K(i, t, e, o, r, s) {
|
|
3801
|
-
|
|
3801
|
+
Di(i, t, e, [{
|
|
3802
3802
|
index: o,
|
|
3803
3803
|
addedCount: r,
|
|
3804
3804
|
removed: s,
|
|
@@ -3806,11 +3806,11 @@ function K(i, t, e, o, r, s) {
|
|
|
3806
3806
|
type: "splice"
|
|
3807
3807
|
}]);
|
|
3808
3808
|
}
|
|
3809
|
-
function
|
|
3809
|
+
function ls(i) {
|
|
3810
3810
|
return i[0].toUpperCase() + i.substring(1);
|
|
3811
3811
|
}
|
|
3812
|
-
const
|
|
3813
|
-
const t =
|
|
3812
|
+
const ds = b((i) => {
|
|
3813
|
+
const t = So(bo(i));
|
|
3814
3814
|
class e extends t {
|
|
3815
3815
|
constructor() {
|
|
3816
3816
|
super(), this.__isPropertyEffectsClient = !0;
|
|
@@ -3989,7 +3989,7 @@ const ls = b((i) => {
|
|
|
3989
3989
|
if (!a) {
|
|
3990
3990
|
let l = v(this, r);
|
|
3991
3991
|
if (r = /** @type {string} */
|
|
3992
|
-
|
|
3992
|
+
Le(this, r, s), !r || !super._shouldPropertyChange(r, s, l))
|
|
3993
3993
|
return !1;
|
|
3994
3994
|
}
|
|
3995
3995
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -3998,7 +3998,7 @@ const ls = b((i) => {
|
|
|
3998
3998
|
s,
|
|
3999
3999
|
n
|
|
4000
4000
|
))
|
|
4001
|
-
return
|
|
4001
|
+
return Fo(
|
|
4002
4002
|
this,
|
|
4003
4003
|
/**@type{string}*/
|
|
4004
4004
|
r,
|
|
@@ -4214,7 +4214,7 @@ const ls = b((i) => {
|
|
|
4214
4214
|
let a = this.__dataHasPaths;
|
|
4215
4215
|
this.__dataHasPaths = !1;
|
|
4216
4216
|
let l;
|
|
4217
|
-
|
|
4217
|
+
Lo(this, s, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(s, n, a), this._flushClients(), Q(this, this[f.REFLECT], s, n, a), Q(this, this[f.OBSERVE], s, n, a), l && Oo(this, l, s, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
4218
4218
|
}
|
|
4219
4219
|
/**
|
|
4220
4220
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -4311,7 +4311,7 @@ const ls = b((i) => {
|
|
|
4311
4311
|
/** @type {Array} */
|
|
4312
4312
|
v(this, r, n)
|
|
4313
4313
|
);
|
|
4314
|
-
|
|
4314
|
+
Di(this, a, n.path, s);
|
|
4315
4315
|
}
|
|
4316
4316
|
/**
|
|
4317
4317
|
* Convenience method for reading a value from a path.
|
|
@@ -4359,7 +4359,7 @@ const ls = b((i) => {
|
|
|
4359
4359
|
* @public
|
|
4360
4360
|
*/
|
|
4361
4361
|
set(r, s, n) {
|
|
4362
|
-
n ?
|
|
4362
|
+
n ? Le(n, r, s) : (!this[f.READ_ONLY] || !this[f.READ_ONLY][
|
|
4363
4363
|
/** @type {string} */
|
|
4364
4364
|
r
|
|
4365
4365
|
]) && this._setPendingPropertyOrPath(r, s, !0) && this._invalidateProperties();
|
|
@@ -4514,7 +4514,7 @@ const ls = b((i) => {
|
|
|
4514
4514
|
* @protected
|
|
4515
4515
|
*/
|
|
4516
4516
|
_createReadOnlyProperty(r, s) {
|
|
4517
|
-
this._addPropertyEffect(r, f.READ_ONLY), s && (this["_set" +
|
|
4517
|
+
this._addPropertyEffect(r, f.READ_ONLY), s && (this["_set" + ls(r)] = /** @this {PropertyEffects} */
|
|
4518
4518
|
function(n) {
|
|
4519
4519
|
this._setProperty(r, n);
|
|
4520
4520
|
});
|
|
@@ -4536,7 +4536,7 @@ const ls = b((i) => {
|
|
|
4536
4536
|
_createPropertyObserver(r, s, n) {
|
|
4537
4537
|
let a = { property: r, method: s, dynamicFn: !!n };
|
|
4538
4538
|
this._addPropertyEffect(r, f.OBSERVE, {
|
|
4539
|
-
fn:
|
|
4539
|
+
fn: Be,
|
|
4540
4540
|
info: a,
|
|
4541
4541
|
trigger: { name: r }
|
|
4542
4542
|
}), n && this._addPropertyEffect(
|
|
@@ -4544,7 +4544,7 @@ const ls = b((i) => {
|
|
|
4544
4544
|
s,
|
|
4545
4545
|
f.OBSERVE,
|
|
4546
4546
|
{
|
|
4547
|
-
fn:
|
|
4547
|
+
fn: Be,
|
|
4548
4548
|
info: a,
|
|
4549
4549
|
trigger: { name: s }
|
|
4550
4550
|
}
|
|
@@ -4566,7 +4566,7 @@ const ls = b((i) => {
|
|
|
4566
4566
|
let n = Ot(r);
|
|
4567
4567
|
if (!n)
|
|
4568
4568
|
throw new Error("Malformed observer expression '" + r + "'");
|
|
4569
|
-
|
|
4569
|
+
Ue(this, n, f.OBSERVE, qt, null, s);
|
|
4570
4570
|
}
|
|
4571
4571
|
/**
|
|
4572
4572
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -4580,7 +4580,7 @@ const ls = b((i) => {
|
|
|
4580
4580
|
*/
|
|
4581
4581
|
_createNotifyingProperty(r) {
|
|
4582
4582
|
this._addPropertyEffect(r, f.NOTIFY, {
|
|
4583
|
-
fn:
|
|
4583
|
+
fn: Io,
|
|
4584
4584
|
info: {
|
|
4585
4585
|
eventName: Ct(r) + "-changed",
|
|
4586
4586
|
property: r
|
|
@@ -4601,7 +4601,7 @@ const ls = b((i) => {
|
|
|
4601
4601
|
_createReflectedProperty(r) {
|
|
4602
4602
|
let s = this.constructor.attributeNameForProperty(r);
|
|
4603
4603
|
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, {
|
|
4604
|
-
fn:
|
|
4604
|
+
fn: zo,
|
|
4605
4605
|
info: {
|
|
4606
4606
|
attrName: s
|
|
4607
4607
|
}
|
|
@@ -4624,8 +4624,8 @@ const ls = b((i) => {
|
|
|
4624
4624
|
let a = Ot(s);
|
|
4625
4625
|
if (!a)
|
|
4626
4626
|
throw new Error("Malformed computed expression '" + s + "'");
|
|
4627
|
-
const l =
|
|
4628
|
-
Nt(this,
|
|
4627
|
+
const l = Ue(this, a, f.COMPUTE, Oi, r, n);
|
|
4628
|
+
Nt(this, Ni)[r] = l;
|
|
4629
4629
|
}
|
|
4630
4630
|
/**
|
|
4631
4631
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -4646,14 +4646,14 @@ const ls = b((i) => {
|
|
|
4646
4646
|
let { name: u, structured: h, wildcard: p, value: m, literal: x } = r[d];
|
|
4647
4647
|
if (!x)
|
|
4648
4648
|
if (p) {
|
|
4649
|
-
const C = nt(u, s), y =
|
|
4649
|
+
const C = nt(u, s), y = qe(a, n, C ? s : u);
|
|
4650
4650
|
m = {
|
|
4651
4651
|
path: C ? s : u,
|
|
4652
4652
|
value: y,
|
|
4653
4653
|
base: C ? v(a, u) : y
|
|
4654
4654
|
};
|
|
4655
4655
|
} else
|
|
4656
|
-
m = h ?
|
|
4656
|
+
m = h ? qe(a, n, u) : a[u];
|
|
4657
4657
|
if (Ht && !this._overrideLegacyUndefined && m === void 0 && r.length > 1)
|
|
4658
4658
|
return lt;
|
|
4659
4659
|
l[d] = m;
|
|
@@ -4936,7 +4936,7 @@ const ls = b((i) => {
|
|
|
4936
4936
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
4937
4937
|
a.push(l);
|
|
4938
4938
|
}
|
|
4939
|
-
return n.templateInfo = s,
|
|
4939
|
+
return n.templateInfo = s, Yo(this, s), this.__dataClientsReady && (this._runEffectsForTemplate(s, this.__data, null, !1), this._flushClients()), n;
|
|
4940
4940
|
}
|
|
4941
4941
|
/**
|
|
4942
4942
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -4983,7 +4983,7 @@ const ls = b((i) => {
|
|
|
4983
4983
|
);
|
|
4984
4984
|
if (r.nodeType === Node.TEXT_NODE) {
|
|
4985
4985
|
let l = this._parseBindings(r.textContent, s);
|
|
4986
|
-
l && (r.textContent =
|
|
4986
|
+
l && (r.textContent = je(l) || " ", kt(this, s, n, "text", "textContent", l), a = !0);
|
|
4987
4987
|
}
|
|
4988
4988
|
return a;
|
|
4989
4989
|
}
|
|
@@ -5010,9 +5010,9 @@ const ls = b((i) => {
|
|
|
5010
5010
|
let d = this._parseBindings(l, s);
|
|
5011
5011
|
if (d) {
|
|
5012
5012
|
let c = a, u = "property";
|
|
5013
|
-
|
|
5014
|
-
let h =
|
|
5015
|
-
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 =
|
|
5013
|
+
No.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5014
|
+
let h = je(d);
|
|
5015
|
+
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 = xi(a)), kt(this, s, n, u, a, d, h), !0;
|
|
5016
5016
|
} else
|
|
5017
5017
|
return t._parseTemplateNodeAttribute.call(
|
|
5018
5018
|
this,
|
|
@@ -5045,10 +5045,10 @@ const ls = b((i) => {
|
|
|
5045
5045
|
n
|
|
5046
5046
|
);
|
|
5047
5047
|
const l = r.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
5048
|
-
|
|
5048
|
+
Oe && (c || u) && (l.removeChild(r), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
|
|
5049
5049
|
let h = d.hostProps;
|
|
5050
|
-
if (
|
|
5051
|
-
h && (s.hostProps = Object.assign(s.hostProps || {}, h),
|
|
5050
|
+
if (Qr && c)
|
|
5051
|
+
h && (s.hostProps = Object.assign(s.hostProps || {}, h), Oe || (n.parentInfo.noted = !0));
|
|
5052
5052
|
else {
|
|
5053
5053
|
let p = "{";
|
|
5054
5054
|
for (let m in h) {
|
|
@@ -5105,7 +5105,7 @@ const ls = b((i) => {
|
|
|
5105
5105
|
*/
|
|
5106
5106
|
static _parseBindings(r, s) {
|
|
5107
5107
|
let n = [], a = 0, l;
|
|
5108
|
-
for (; (l =
|
|
5108
|
+
for (; (l = Ve.exec(r)) !== null; ) {
|
|
5109
5109
|
l.index > a && n.push({ literal: r.slice(a, l.index) });
|
|
5110
5110
|
let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, p = "", m = -1;
|
|
5111
5111
|
d == "{" && (m = u.indexOf("::")) > 0 && (p = u.substring(m + 2), u = u.substring(0, m), h = !0);
|
|
@@ -5113,8 +5113,8 @@ const ls = b((i) => {
|
|
|
5113
5113
|
if (x) {
|
|
5114
5114
|
let { args: y, methodName: w } = x;
|
|
5115
5115
|
for (let Tt = 0; Tt < y.length; Tt++) {
|
|
5116
|
-
let
|
|
5117
|
-
|
|
5116
|
+
let ye = y[Tt];
|
|
5117
|
+
ye.literal || C.push(ye);
|
|
5118
5118
|
}
|
|
5119
5119
|
let R = s.dynamicFns;
|
|
5120
5120
|
(R && R[w] || x.static) && (C.push(w), x.dynamicFn = !0);
|
|
@@ -5128,7 +5128,7 @@ const ls = b((i) => {
|
|
|
5128
5128
|
signature: x,
|
|
5129
5129
|
dependencies: C,
|
|
5130
5130
|
event: p
|
|
5131
|
-
}), a =
|
|
5131
|
+
}), a = Ve.lastIndex;
|
|
5132
5132
|
}
|
|
5133
5133
|
if (a && a < r.length) {
|
|
5134
5134
|
let d = r.substring(a);
|
|
@@ -5169,7 +5169,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5169
5169
|
Code distributed by Google as part of the polymer project is also
|
|
5170
5170
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5171
5171
|
*/
|
|
5172
|
-
function
|
|
5172
|
+
function cs(i) {
|
|
5173
5173
|
const t = {};
|
|
5174
5174
|
for (let e in i) {
|
|
5175
5175
|
const o = i[e];
|
|
@@ -5177,8 +5177,8 @@ function ds(i) {
|
|
|
5177
5177
|
}
|
|
5178
5178
|
return t;
|
|
5179
5179
|
}
|
|
5180
|
-
const
|
|
5181
|
-
const t =
|
|
5180
|
+
const us = b((i) => {
|
|
5181
|
+
const t = Pi(i);
|
|
5182
5182
|
function e(s) {
|
|
5183
5183
|
const n = Object.getPrototypeOf(s);
|
|
5184
5184
|
return n.prototype instanceof r ? (
|
|
@@ -5191,7 +5191,7 @@ const cs = b((i) => {
|
|
|
5191
5191
|
let n = null;
|
|
5192
5192
|
if (s.hasOwnProperty(JSCompiler_renameProperty("properties", s))) {
|
|
5193
5193
|
const a = s.properties;
|
|
5194
|
-
a && (n =
|
|
5194
|
+
a && (n = cs(a));
|
|
5195
5195
|
}
|
|
5196
5196
|
s.__ownProperties = n;
|
|
5197
5197
|
}
|
|
@@ -5327,8 +5327,8 @@ const cs = b((i) => {
|
|
|
5327
5327
|
* Google as part of the polymer project is also subject to an additional IP
|
|
5328
5328
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5329
5329
|
*/
|
|
5330
|
-
const
|
|
5331
|
-
const t =
|
|
5330
|
+
const hs = "3.5.2", Ye = window.ShadyCSS && window.ShadyCSS.cssBuild, ps = b((i) => {
|
|
5331
|
+
const t = us(ds(i));
|
|
5332
5332
|
function e(l) {
|
|
5333
5333
|
if (!l.hasOwnProperty(
|
|
5334
5334
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -5356,8 +5356,8 @@ const us = "3.5.2", qe = window.ShadyCSS && window.ShadyCSS.cssBuild, hs = b((i)
|
|
|
5356
5356
|
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);
|
|
5357
5357
|
}
|
|
5358
5358
|
function s(l, d, c, u) {
|
|
5359
|
-
if (!
|
|
5360
|
-
const h = d.content.querySelectorAll("style"), p =
|
|
5359
|
+
if (!Ye) {
|
|
5360
|
+
const h = d.content.querySelectorAll("style"), p = vi(d), m = ao(c), x = d.content.firstElementChild;
|
|
5361
5361
|
for (let y = 0; y < m.length; y++) {
|
|
5362
5362
|
let w = m[y];
|
|
5363
5363
|
w.textContent = l._processStyleText(w.textContent, u), d.content.insertBefore(w, x);
|
|
@@ -5368,7 +5368,7 @@ const us = "3.5.2", qe = window.ShadyCSS && window.ShadyCSS.cssBuild, hs = b((i)
|
|
|
5368
5368
|
R !== w ? (w = w.cloneNode(!0), R.parentNode.insertBefore(w, R)) : C++, w.textContent = l._processStyleText(w.textContent, u);
|
|
5369
5369
|
}
|
|
5370
5370
|
}
|
|
5371
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c),
|
|
5371
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), to && Ye && Yr) {
|
|
5372
5372
|
const h = d.content.querySelectorAll("style");
|
|
5373
5373
|
if (h) {
|
|
5374
5374
|
let p = "";
|
|
@@ -5380,7 +5380,7 @@ const us = "3.5.2", qe = window.ShadyCSS && window.ShadyCSS.cssBuild, hs = b((i)
|
|
|
5380
5380
|
}
|
|
5381
5381
|
function n(l) {
|
|
5382
5382
|
let d = null;
|
|
5383
|
-
if (l && (!Ut ||
|
|
5383
|
+
if (l && (!Ut || Gr) && (d = /** @type {?HTMLTemplateElement} */
|
|
5384
5384
|
st.import(l, "template"), Ut && !d))
|
|
5385
5385
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
5386
5386
|
return d;
|
|
@@ -5392,7 +5392,7 @@ const us = "3.5.2", qe = window.ShadyCSS && window.ShadyCSS.cssBuild, hs = b((i)
|
|
|
5392
5392
|
* @nocollapse
|
|
5393
5393
|
*/
|
|
5394
5394
|
static get polymerElementVersion() {
|
|
5395
|
-
return
|
|
5395
|
+
return hs;
|
|
5396
5396
|
}
|
|
5397
5397
|
/**
|
|
5398
5398
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -5413,7 +5413,7 @@ const us = "3.5.2", qe = window.ShadyCSS && window.ShadyCSS.cssBuild, hs = b((i)
|
|
|
5413
5413
|
/** @type {PolymerElementConstructor} */
|
|
5414
5414
|
this.template
|
|
5415
5415
|
);
|
|
5416
|
-
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) :
|
|
5416
|
+
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : Kr || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
5417
5417
|
}
|
|
5418
5418
|
/**
|
|
5419
5419
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -5583,7 +5583,7 @@ const us = "3.5.2", qe = window.ShadyCSS && window.ShadyCSS.cssBuild, hs = b((i)
|
|
|
5583
5583
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
5584
5584
|
/** @type {!HTMLElement} */
|
|
5585
5585
|
this.localName
|
|
5586
|
-
), super._initializeProperties(), this.rootPath =
|
|
5586
|
+
), super._initializeProperties(), this.rootPath = Wr, this.importPath = this.constructor.importPath;
|
|
5587
5587
|
let d = e(this.constructor);
|
|
5588
5588
|
if (d)
|
|
5589
5589
|
for (let c in d) {
|
|
@@ -5694,7 +5694,7 @@ const us = "3.5.2", qe = window.ShadyCSS && window.ShadyCSS.cssBuild, hs = b((i)
|
|
|
5694
5694
|
_attachDom(d) {
|
|
5695
5695
|
const c = D(this);
|
|
5696
5696
|
if (c.attachShadow)
|
|
5697
|
-
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
5697
|
+
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Xr && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
5698
5698
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
5699
5699
|
}
|
|
5700
5700
|
/**
|
|
@@ -5779,7 +5779,7 @@ const us = "3.5.2", qe = window.ShadyCSS && window.ShadyCSS.cssBuild, hs = b((i)
|
|
|
5779
5779
|
* @nocollapse
|
|
5780
5780
|
*/
|
|
5781
5781
|
static _addTemplatePropertyEffect(d, c, u) {
|
|
5782
|
-
return
|
|
5782
|
+
return Jr && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
5783
5783
|
// dependencies) become accessors with template effects; ignore these
|
|
5784
5784
|
!(u.info.part.signature && u.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
5785
5785
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -5804,16 +5804,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5804
5804
|
Code distributed by Google as part of the polymer project is also
|
|
5805
5805
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5806
5806
|
*/
|
|
5807
|
-
const
|
|
5808
|
-
class
|
|
5807
|
+
const We = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (i) => i });
|
|
5808
|
+
class zi {
|
|
5809
5809
|
/**
|
|
5810
5810
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
5811
5811
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
5812
5812
|
*/
|
|
5813
5813
|
constructor(t, e) {
|
|
5814
|
-
|
|
5814
|
+
$i(t, e);
|
|
5815
5815
|
const o = e.reduce(
|
|
5816
|
-
(r, s, n) => r +
|
|
5816
|
+
(r, s, n) => r + Li(s) + t[n + 1],
|
|
5817
5817
|
t[0]
|
|
5818
5818
|
);
|
|
5819
5819
|
this.value = o.toString();
|
|
@@ -5826,8 +5826,8 @@ class Di {
|
|
|
5826
5826
|
return this.value;
|
|
5827
5827
|
}
|
|
5828
5828
|
}
|
|
5829
|
-
function
|
|
5830
|
-
if (i instanceof
|
|
5829
|
+
function Li(i) {
|
|
5830
|
+
if (i instanceof zi)
|
|
5831
5831
|
return (
|
|
5832
5832
|
/** @type {!LiteralString} */
|
|
5833
5833
|
i.value
|
|
@@ -5836,30 +5836,30 @@ function zi(i) {
|
|
|
5836
5836
|
`non-literal value passed to Polymer's htmlLiteral function: ${i}`
|
|
5837
5837
|
);
|
|
5838
5838
|
}
|
|
5839
|
-
function
|
|
5839
|
+
function fs(i) {
|
|
5840
5840
|
if (i instanceof HTMLTemplateElement)
|
|
5841
5841
|
return (
|
|
5842
5842
|
/** @type {!HTMLTemplateElement } */
|
|
5843
5843
|
i.innerHTML
|
|
5844
5844
|
);
|
|
5845
|
-
if (i instanceof
|
|
5846
|
-
return
|
|
5845
|
+
if (i instanceof zi)
|
|
5846
|
+
return Li(i);
|
|
5847
5847
|
throw new Error(
|
|
5848
5848
|
`non-template value passed to Polymer's html function: ${i}`
|
|
5849
5849
|
);
|
|
5850
5850
|
}
|
|
5851
|
-
const
|
|
5852
|
-
|
|
5851
|
+
const ms = function(t, ...e) {
|
|
5852
|
+
$i(t, e);
|
|
5853
5853
|
const o = (
|
|
5854
5854
|
/** @type {!HTMLTemplateElement} */
|
|
5855
5855
|
document.createElement("template")
|
|
5856
5856
|
);
|
|
5857
5857
|
let r = e.reduce(
|
|
5858
|
-
(s, n, a) => s +
|
|
5858
|
+
(s, n, a) => s + fs(n) + t[a + 1],
|
|
5859
5859
|
t[0]
|
|
5860
5860
|
);
|
|
5861
|
-
return
|
|
5862
|
-
},
|
|
5861
|
+
return We && (r = We.createHTML(r)), o.innerHTML = r, o;
|
|
5862
|
+
}, $i = (i, t) => {
|
|
5863
5863
|
if (!Array.isArray(i) || !Array.isArray(i.raw) || t.length !== i.length - 1)
|
|
5864
5864
|
throw new TypeError("Invalid call to the html template tag");
|
|
5865
5865
|
};
|
|
@@ -5872,7 +5872,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5872
5872
|
Code distributed by Google as part of the polymer project is also
|
|
5873
5873
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5874
5874
|
*/
|
|
5875
|
-
const
|
|
5875
|
+
const _s = ps(HTMLElement);
|
|
5876
5876
|
/**
|
|
5877
5877
|
* @license
|
|
5878
5878
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -5885,15 +5885,15 @@ function Yt(i, t, e = i.getAttribute("dir")) {
|
|
|
5885
5885
|
function Wt() {
|
|
5886
5886
|
return document.documentElement.getAttribute("dir");
|
|
5887
5887
|
}
|
|
5888
|
-
function
|
|
5888
|
+
function gs() {
|
|
5889
5889
|
const i = Wt();
|
|
5890
5890
|
P.forEach((t) => {
|
|
5891
5891
|
Yt(t, i);
|
|
5892
5892
|
});
|
|
5893
5893
|
}
|
|
5894
|
-
const
|
|
5895
|
-
|
|
5896
|
-
const
|
|
5894
|
+
const bs = new MutationObserver(gs);
|
|
5895
|
+
bs.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
5896
|
+
const Ri = (i) => class extends i {
|
|
5897
5897
|
static get properties() {
|
|
5898
5898
|
return {
|
|
5899
5899
|
/**
|
|
@@ -5954,7 +5954,7 @@ const $i = (i) => class extends i {
|
|
|
5954
5954
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
5955
5955
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5956
5956
|
*/
|
|
5957
|
-
const
|
|
5957
|
+
const vs = (i) => class extends i {
|
|
5958
5958
|
static get properties() {
|
|
5959
5959
|
return {
|
|
5960
5960
|
/**
|
|
@@ -5994,7 +5994,7 @@ const bs = (i) => class extends i {
|
|
|
5994
5994
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
5995
5995
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5996
5996
|
*/
|
|
5997
|
-
const
|
|
5997
|
+
const ys = _`
|
|
5998
5998
|
:host {
|
|
5999
5999
|
display: flex;
|
|
6000
6000
|
align-items: center;
|
|
@@ -6065,47 +6065,47 @@ const vs = _`
|
|
|
6065
6065
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6066
6066
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6067
6067
|
*/
|
|
6068
|
-
k("vaadin-input-container",
|
|
6069
|
-
class
|
|
6068
|
+
k("vaadin-input-container", ys, { moduleId: "vaadin-input-container-styles" });
|
|
6069
|
+
class ws extends vs(kr(Ri(_s))) {
|
|
6070
6070
|
static get is() {
|
|
6071
6071
|
return "vaadin-input-container";
|
|
6072
6072
|
}
|
|
6073
6073
|
static get template() {
|
|
6074
|
-
return
|
|
6074
|
+
return ms`
|
|
6075
6075
|
<slot name="prefix"></slot>
|
|
6076
6076
|
<slot></slot>
|
|
6077
6077
|
<slot name="suffix"></slot>
|
|
6078
6078
|
`;
|
|
6079
6079
|
}
|
|
6080
6080
|
}
|
|
6081
|
-
|
|
6082
|
-
const
|
|
6083
|
-
function
|
|
6081
|
+
ii(ws);
|
|
6082
|
+
const As = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, mt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
6083
|
+
function xs() {
|
|
6084
6084
|
function i() {
|
|
6085
6085
|
return !0;
|
|
6086
6086
|
}
|
|
6087
|
-
return
|
|
6087
|
+
return Bi(i);
|
|
6088
6088
|
}
|
|
6089
|
-
function
|
|
6089
|
+
function Cs() {
|
|
6090
6090
|
try {
|
|
6091
|
-
return
|
|
6091
|
+
return Es() ? !0 : Ps() ? mt ? !Ts() : !xs() : !1;
|
|
6092
6092
|
} catch {
|
|
6093
6093
|
return !1;
|
|
6094
6094
|
}
|
|
6095
6095
|
}
|
|
6096
|
-
function
|
|
6096
|
+
function Es() {
|
|
6097
6097
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
6098
6098
|
}
|
|
6099
|
-
function
|
|
6099
|
+
function Ps() {
|
|
6100
6100
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
6101
6101
|
}
|
|
6102
|
-
function
|
|
6102
|
+
function Ts() {
|
|
6103
6103
|
return !!(mt && Object.keys(mt).map((t) => mt[t]).filter((t) => t.productionMode).length > 0);
|
|
6104
6104
|
}
|
|
6105
|
-
function
|
|
6105
|
+
function Bi(i, t) {
|
|
6106
6106
|
if (typeof i != "function")
|
|
6107
6107
|
return;
|
|
6108
|
-
const e =
|
|
6108
|
+
const e = As.exec(i.toString());
|
|
6109
6109
|
if (e)
|
|
6110
6110
|
try {
|
|
6111
6111
|
i = new Function(e[1]);
|
|
@@ -6115,12 +6115,12 @@ function Ri(i, t) {
|
|
|
6115
6115
|
return i(t);
|
|
6116
6116
|
}
|
|
6117
6117
|
window.Vaadin = window.Vaadin || {};
|
|
6118
|
-
const
|
|
6118
|
+
const Ge = function(i, t) {
|
|
6119
6119
|
if (window.Vaadin.developmentMode)
|
|
6120
|
-
return
|
|
6120
|
+
return Bi(i, t);
|
|
6121
6121
|
};
|
|
6122
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
6123
|
-
function
|
|
6122
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Cs());
|
|
6123
|
+
function Ss() {
|
|
6124
6124
|
/*! vaadin-dev-mode:start
|
|
6125
6125
|
(function () {
|
|
6126
6126
|
'use strict';
|
|
@@ -6601,9 +6601,9 @@ function Ts() {
|
|
|
6601
6601
|
|
|
6602
6602
|
vaadin-dev-mode:end **/
|
|
6603
6603
|
}
|
|
6604
|
-
const
|
|
6605
|
-
if (typeof
|
|
6606
|
-
return
|
|
6604
|
+
const Ns = function() {
|
|
6605
|
+
if (typeof Ge == "function")
|
|
6606
|
+
return Ge(Ss);
|
|
6607
6607
|
};
|
|
6608
6608
|
/**
|
|
6609
6609
|
* @license
|
|
@@ -6614,10 +6614,10 @@ const Ss = function() {
|
|
|
6614
6614
|
* Code distributed by Google as part of the polymer project is also
|
|
6615
6615
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6616
6616
|
*/
|
|
6617
|
-
let
|
|
6617
|
+
let Ke = 0, Fi = 0;
|
|
6618
6618
|
const H = [];
|
|
6619
6619
|
let Gt = !1;
|
|
6620
|
-
function
|
|
6620
|
+
function ks() {
|
|
6621
6621
|
Gt = !1;
|
|
6622
6622
|
const i = H.length;
|
|
6623
6623
|
for (let t = 0; t < i; t++) {
|
|
@@ -6631,9 +6631,9 @@ function Ns() {
|
|
|
6631
6631
|
});
|
|
6632
6632
|
}
|
|
6633
6633
|
}
|
|
6634
|
-
H.splice(0, i),
|
|
6634
|
+
H.splice(0, i), Fi += i;
|
|
6635
6635
|
}
|
|
6636
|
-
const
|
|
6636
|
+
const Os = {
|
|
6637
6637
|
/**
|
|
6638
6638
|
* Returns a sub-module with the async interface providing the provided
|
|
6639
6639
|
* delay.
|
|
@@ -6673,7 +6673,7 @@ const ks = {
|
|
|
6673
6673
|
cancel(i) {
|
|
6674
6674
|
window.clearTimeout(i);
|
|
6675
6675
|
}
|
|
6676
|
-
},
|
|
6676
|
+
}, Ms = {
|
|
6677
6677
|
/**
|
|
6678
6678
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
6679
6679
|
*
|
|
@@ -6694,7 +6694,7 @@ const ks = {
|
|
|
6694
6694
|
cancel(i) {
|
|
6695
6695
|
window.cancelAnimationFrame(i);
|
|
6696
6696
|
}
|
|
6697
|
-
},
|
|
6697
|
+
}, Is = {
|
|
6698
6698
|
/**
|
|
6699
6699
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
6700
6700
|
*
|
|
@@ -6715,7 +6715,7 @@ const ks = {
|
|
|
6715
6715
|
cancel(i) {
|
|
6716
6716
|
window.cancelIdleCallback ? window.cancelIdleCallback(i) : window.clearTimeout(i);
|
|
6717
6717
|
}
|
|
6718
|
-
},
|
|
6718
|
+
}, Ds = {
|
|
6719
6719
|
/**
|
|
6720
6720
|
* Enqueues a function called at microtask timing.
|
|
6721
6721
|
*
|
|
@@ -6724,9 +6724,9 @@ const ks = {
|
|
|
6724
6724
|
* @return {number} Handle used for canceling task
|
|
6725
6725
|
*/
|
|
6726
6726
|
run(i) {
|
|
6727
|
-
Gt || (Gt = !0, queueMicrotask(() =>
|
|
6728
|
-
const t =
|
|
6729
|
-
return
|
|
6727
|
+
Gt || (Gt = !0, queueMicrotask(() => ks())), H.push(i);
|
|
6728
|
+
const t = Ke;
|
|
6729
|
+
return Ke += 1, t;
|
|
6730
6730
|
},
|
|
6731
6731
|
/**
|
|
6732
6732
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -6736,7 +6736,7 @@ const ks = {
|
|
|
6736
6736
|
* @return {void}
|
|
6737
6737
|
*/
|
|
6738
6738
|
cancel(i) {
|
|
6739
|
-
const t = i -
|
|
6739
|
+
const t = i - Fi;
|
|
6740
6740
|
if (t >= 0) {
|
|
6741
6741
|
if (!H[t])
|
|
6742
6742
|
throw new Error(`invalid async handle: ${i}`);
|
|
@@ -6845,10 +6845,10 @@ class Y {
|
|
|
6845
6845
|
return this._timer != null;
|
|
6846
6846
|
}
|
|
6847
6847
|
}
|
|
6848
|
-
function
|
|
6848
|
+
function zs(i) {
|
|
6849
6849
|
dt.add(i);
|
|
6850
6850
|
}
|
|
6851
|
-
function
|
|
6851
|
+
function Ls() {
|
|
6852
6852
|
const i = !!dt.size;
|
|
6853
6853
|
return dt.forEach((t) => {
|
|
6854
6854
|
try {
|
|
@@ -6860,10 +6860,10 @@ function zs() {
|
|
|
6860
6860
|
}
|
|
6861
6861
|
}), i;
|
|
6862
6862
|
}
|
|
6863
|
-
const
|
|
6863
|
+
const jn = () => {
|
|
6864
6864
|
let i;
|
|
6865
6865
|
do
|
|
6866
|
-
i =
|
|
6866
|
+
i = Ls();
|
|
6867
6867
|
while (i);
|
|
6868
6868
|
};
|
|
6869
6869
|
/**
|
|
@@ -6875,17 +6875,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
6875
6875
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
6876
6876
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
6877
6877
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
6878
|
-
|
|
6878
|
+
Ns();
|
|
6879
6879
|
};
|
|
6880
6880
|
let Mt;
|
|
6881
|
-
const
|
|
6881
|
+
const Je = /* @__PURE__ */ new Set(), qn = (i) => class extends Ri(i) {
|
|
6882
6882
|
/** @protected */
|
|
6883
6883
|
static finalize() {
|
|
6884
6884
|
super.finalize();
|
|
6885
6885
|
const { is: e } = this;
|
|
6886
|
-
e && !
|
|
6886
|
+
e && !Je.has(e) && (window.Vaadin.registrations.push(this), Je.add(e), window.Vaadin.developmentModeCallback && (Mt = Y.debounce(Mt, Is, () => {
|
|
6887
6887
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
6888
|
-
}),
|
|
6888
|
+
}), zs(Mt)));
|
|
6889
6889
|
}
|
|
6890
6890
|
constructor() {
|
|
6891
6891
|
super(), document.doctype === null && console.warn(
|
|
@@ -6898,7 +6898,7 @@ const Ke = /* @__PURE__ */ new Set(), jn = (i) => class extends $i(i) {
|
|
|
6898
6898
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6899
6899
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6900
6900
|
*/
|
|
6901
|
-
function
|
|
6901
|
+
function Wn(i) {
|
|
6902
6902
|
const t = [];
|
|
6903
6903
|
for (; i; ) {
|
|
6904
6904
|
if (i.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -6923,11 +6923,11 @@ function de(i) {
|
|
|
6923
6923
|
function Et(i) {
|
|
6924
6924
|
return i ? [...i].join(" ") : "";
|
|
6925
6925
|
}
|
|
6926
|
-
function
|
|
6926
|
+
function Ui(i, t, e) {
|
|
6927
6927
|
const o = de(i.getAttribute(t));
|
|
6928
6928
|
o.add(e), i.setAttribute(t, Et(o));
|
|
6929
6929
|
}
|
|
6930
|
-
function
|
|
6930
|
+
function $s(i, t, e) {
|
|
6931
6931
|
const o = de(i.getAttribute(t));
|
|
6932
6932
|
if (o.delete(e), o.size === 0) {
|
|
6933
6933
|
i.removeAttribute(t);
|
|
@@ -6935,7 +6935,7 @@ function Ls(i, t, e) {
|
|
|
6935
6935
|
}
|
|
6936
6936
|
i.setAttribute(t, Et(o));
|
|
6937
6937
|
}
|
|
6938
|
-
function
|
|
6938
|
+
function Rs(i) {
|
|
6939
6939
|
return i.nodeType === Node.TEXT_NODE && i.textContent.trim() === "";
|
|
6940
6940
|
}
|
|
6941
6941
|
/**
|
|
@@ -6943,7 +6943,7 @@ function $s(i) {
|
|
|
6943
6943
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
6944
6944
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6945
6945
|
*/
|
|
6946
|
-
class
|
|
6946
|
+
class Bs {
|
|
6947
6947
|
constructor(t, e) {
|
|
6948
6948
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
6949
6949
|
this._schedule();
|
|
@@ -6993,9 +6993,9 @@ class Rs {
|
|
|
6993
6993
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6994
6994
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6995
6995
|
*/
|
|
6996
|
-
let
|
|
6997
|
-
function
|
|
6998
|
-
return
|
|
6996
|
+
let Fs = 0;
|
|
6997
|
+
function Us() {
|
|
6998
|
+
return Fs++;
|
|
6999
6999
|
}
|
|
7000
7000
|
/**
|
|
7001
7001
|
* @license
|
|
@@ -7012,7 +7012,7 @@ class ce extends EventTarget {
|
|
|
7012
7012
|
* @protected
|
|
7013
7013
|
*/
|
|
7014
7014
|
static generateId(t, e = "default") {
|
|
7015
|
-
return `${e}-${t.localName}-${
|
|
7015
|
+
return `${e}-${t.localName}-${Us()}`;
|
|
7016
7016
|
}
|
|
7017
7017
|
constructor(t, e, o, r = {}) {
|
|
7018
7018
|
super();
|
|
@@ -7104,8 +7104,8 @@ class ce extends EventTarget {
|
|
|
7104
7104
|
*/
|
|
7105
7105
|
observeSlot() {
|
|
7106
7106
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, o = this.host.shadowRoot.querySelector(e);
|
|
7107
|
-
this.__slotObserver = new
|
|
7108
|
-
const n = this.multiple ? this.nodes : [this.node], a = r.filter((l) =>
|
|
7107
|
+
this.__slotObserver = new Bs(o, ({ addedNodes: r, removedNodes: s }) => {
|
|
7108
|
+
const n = this.multiple ? this.nodes : [this.node], a = r.filter((l) => !Rs(l) && !n.includes(l));
|
|
7109
7109
|
s.length && (this.nodes = n.filter((l) => !s.includes(l)), s.forEach((l) => {
|
|
7110
7110
|
this.teardownNode(l);
|
|
7111
7111
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -7119,7 +7119,7 @@ class ce extends EventTarget {
|
|
|
7119
7119
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
7120
7120
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7121
7121
|
*/
|
|
7122
|
-
class
|
|
7122
|
+
class Gn extends ce {
|
|
7123
7123
|
constructor(t) {
|
|
7124
7124
|
super(t, "tooltip"), this.setTarget(t);
|
|
7125
7125
|
}
|
|
@@ -7220,7 +7220,7 @@ class Wn extends ce {
|
|
|
7220
7220
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
7221
7221
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7222
7222
|
*/
|
|
7223
|
-
const
|
|
7223
|
+
const Hs = _`
|
|
7224
7224
|
[part='clear-button'] {
|
|
7225
7225
|
display: none;
|
|
7226
7226
|
cursor: default;
|
|
@@ -7239,7 +7239,7 @@ const Us = _`
|
|
|
7239
7239
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
7240
7240
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7241
7241
|
*/
|
|
7242
|
-
const
|
|
7242
|
+
const Vs = _`
|
|
7243
7243
|
:host {
|
|
7244
7244
|
display: inline-flex;
|
|
7245
7245
|
outline: none;
|
|
@@ -7279,7 +7279,7 @@ const Hs = _`
|
|
|
7279
7279
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
7280
7280
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7281
7281
|
*/
|
|
7282
|
-
const
|
|
7282
|
+
const js = _`
|
|
7283
7283
|
[class$='container'] {
|
|
7284
7284
|
display: flex;
|
|
7285
7285
|
flex-direction: column;
|
|
@@ -7293,13 +7293,13 @@ const Vs = _`
|
|
|
7293
7293
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
7294
7294
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7295
7295
|
*/
|
|
7296
|
-
const
|
|
7296
|
+
const Kn = [Vs, js, Hs];
|
|
7297
7297
|
/**
|
|
7298
7298
|
* @license
|
|
7299
7299
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7300
7300
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7301
7301
|
*/
|
|
7302
|
-
class
|
|
7302
|
+
class Jn extends ce {
|
|
7303
7303
|
constructor(t, e, o = {}) {
|
|
7304
7304
|
const { uniqueIdPrefix: r } = o;
|
|
7305
7305
|
super(t, "input", "input", {
|
|
@@ -7331,30 +7331,30 @@ window.addEventListener(
|
|
|
7331
7331
|
},
|
|
7332
7332
|
{ capture: !0 }
|
|
7333
7333
|
);
|
|
7334
|
-
function
|
|
7334
|
+
function Xn() {
|
|
7335
7335
|
let i = document.activeElement || document.body;
|
|
7336
7336
|
for (; i.shadowRoot && i.shadowRoot.activeElement; )
|
|
7337
7337
|
i = i.shadowRoot.activeElement;
|
|
7338
7338
|
return i;
|
|
7339
7339
|
}
|
|
7340
|
-
function
|
|
7340
|
+
function qs() {
|
|
7341
7341
|
return ue;
|
|
7342
7342
|
}
|
|
7343
|
-
function
|
|
7343
|
+
function Ys(i) {
|
|
7344
7344
|
const t = i.style;
|
|
7345
7345
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7346
7346
|
return !0;
|
|
7347
7347
|
const e = window.getComputedStyle(i);
|
|
7348
7348
|
return e.visibility === "hidden" || e.display === "none";
|
|
7349
7349
|
}
|
|
7350
|
-
function
|
|
7350
|
+
function Ws(i, t) {
|
|
7351
7351
|
const e = Math.max(i.tabIndex, 0), o = Math.max(t.tabIndex, 0);
|
|
7352
7352
|
return e === 0 || o === 0 ? o > e : e > o;
|
|
7353
7353
|
}
|
|
7354
|
-
function
|
|
7354
|
+
function Gs(i, t) {
|
|
7355
7355
|
const e = [];
|
|
7356
7356
|
for (; i.length > 0 && t.length > 0; )
|
|
7357
|
-
|
|
7357
|
+
Ws(i[0], t[0]) ? e.push(t.shift()) : e.push(i.shift());
|
|
7358
7358
|
return e.concat(i, t);
|
|
7359
7359
|
}
|
|
7360
7360
|
function Kt(i) {
|
|
@@ -7362,51 +7362,51 @@ function Kt(i) {
|
|
|
7362
7362
|
if (t < 2)
|
|
7363
7363
|
return i;
|
|
7364
7364
|
const e = Math.ceil(t / 2), o = Kt(i.slice(0, e)), r = Kt(i.slice(e));
|
|
7365
|
-
return
|
|
7365
|
+
return Gs(o, r);
|
|
7366
7366
|
}
|
|
7367
|
-
function
|
|
7367
|
+
function Ks(i) {
|
|
7368
7368
|
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]");
|
|
7369
7369
|
}
|
|
7370
|
-
function
|
|
7370
|
+
function Zn(i) {
|
|
7371
7371
|
return i.getRootNode().activeElement === i;
|
|
7372
7372
|
}
|
|
7373
|
-
function
|
|
7374
|
-
if (!
|
|
7373
|
+
function Js(i) {
|
|
7374
|
+
if (!Ks(i))
|
|
7375
7375
|
return -1;
|
|
7376
7376
|
const t = i.getAttribute("tabindex") || 0;
|
|
7377
7377
|
return Number(t);
|
|
7378
7378
|
}
|
|
7379
|
-
function
|
|
7380
|
-
if (i.nodeType !== Node.ELEMENT_NODE ||
|
|
7379
|
+
function Hi(i, t) {
|
|
7380
|
+
if (i.nodeType !== Node.ELEMENT_NODE || Ys(i))
|
|
7381
7381
|
return !1;
|
|
7382
7382
|
const e = (
|
|
7383
7383
|
/** @type {HTMLElement} */
|
|
7384
7384
|
i
|
|
7385
|
-
), o =
|
|
7385
|
+
), o = Js(e);
|
|
7386
7386
|
let r = o > 0;
|
|
7387
7387
|
o >= 0 && t.push(e);
|
|
7388
7388
|
let s = [];
|
|
7389
7389
|
return e.localName === "slot" ? s = e.assignedNodes({ flatten: !0 }) : s = (e.shadowRoot || e).children, [...s].forEach((n) => {
|
|
7390
|
-
r =
|
|
7390
|
+
r = Hi(n, t) || r;
|
|
7391
7391
|
}), r;
|
|
7392
7392
|
}
|
|
7393
|
-
function
|
|
7393
|
+
function Qn(i) {
|
|
7394
7394
|
const t = [];
|
|
7395
|
-
return
|
|
7395
|
+
return Hi(i, t) ? Kt(t) : t;
|
|
7396
7396
|
}
|
|
7397
7397
|
/**
|
|
7398
7398
|
* @license
|
|
7399
7399
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7400
7400
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7401
7401
|
*/
|
|
7402
|
-
const
|
|
7402
|
+
const Vi = b(
|
|
7403
7403
|
(i) => class extends i {
|
|
7404
7404
|
/**
|
|
7405
7405
|
* @protected
|
|
7406
7406
|
* @return {boolean}
|
|
7407
7407
|
*/
|
|
7408
7408
|
get _keyboardActive() {
|
|
7409
|
-
return
|
|
7409
|
+
return qs();
|
|
7410
7410
|
}
|
|
7411
7411
|
/** @protected */
|
|
7412
7412
|
ready() {
|
|
@@ -7456,7 +7456,7 @@ const Hi = b(
|
|
|
7456
7456
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7457
7457
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7458
7458
|
*/
|
|
7459
|
-
const
|
|
7459
|
+
const ji = b(
|
|
7460
7460
|
(i) => class extends i {
|
|
7461
7461
|
static get properties() {
|
|
7462
7462
|
return {
|
|
@@ -7501,7 +7501,7 @@ const Vi = b(
|
|
|
7501
7501
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7502
7502
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7503
7503
|
*/
|
|
7504
|
-
const
|
|
7504
|
+
const qi = (i) => class extends ji(i) {
|
|
7505
7505
|
static get properties() {
|
|
7506
7506
|
return {
|
|
7507
7507
|
/**
|
|
@@ -7552,8 +7552,8 @@ const ji = (i) => class extends Vi(i) {
|
|
|
7552
7552
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7553
7553
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7554
7554
|
*/
|
|
7555
|
-
const
|
|
7556
|
-
(i) => class extends
|
|
7555
|
+
const Xs = b(
|
|
7556
|
+
(i) => class extends Vi(qi(i)) {
|
|
7557
7557
|
static get properties() {
|
|
7558
7558
|
return {
|
|
7559
7559
|
/**
|
|
@@ -7772,14 +7772,14 @@ const he = b(
|
|
|
7772
7772
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7773
7773
|
*/
|
|
7774
7774
|
const It = /* @__PURE__ */ new WeakMap();
|
|
7775
|
-
function
|
|
7775
|
+
function Zs(i) {
|
|
7776
7776
|
return It.has(i) || It.set(i, /* @__PURE__ */ new Set()), It.get(i);
|
|
7777
7777
|
}
|
|
7778
|
-
function
|
|
7778
|
+
function Qs(i, t) {
|
|
7779
7779
|
const e = document.createElement("style");
|
|
7780
7780
|
e.textContent = i, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
7781
7781
|
}
|
|
7782
|
-
const
|
|
7782
|
+
const tn = b(
|
|
7783
7783
|
(i) => class extends i {
|
|
7784
7784
|
/**
|
|
7785
7785
|
* List of styles to insert into root.
|
|
@@ -7794,9 +7794,9 @@ const Qs = b(
|
|
|
7794
7794
|
}
|
|
7795
7795
|
/** @private */
|
|
7796
7796
|
__applySlotStyles() {
|
|
7797
|
-
const e = this.getRootNode(), o =
|
|
7797
|
+
const e = this.getRootNode(), o = Zs(e);
|
|
7798
7798
|
this.slotStyles.forEach((r) => {
|
|
7799
|
-
o.has(r) || (
|
|
7799
|
+
o.has(r) || (Qs(r, e), o.add(r));
|
|
7800
7800
|
});
|
|
7801
7801
|
}
|
|
7802
7802
|
}
|
|
@@ -7806,11 +7806,11 @@ const Qs = b(
|
|
|
7806
7806
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7807
7807
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7808
7808
|
*/
|
|
7809
|
-
const Pt = (i) => i.test(navigator.userAgent), Jt = (i) => i.test(navigator.platform),
|
|
7809
|
+
const Pt = (i) => i.test(navigator.userAgent), Jt = (i) => i.test(navigator.platform), en = (i) => i.test(navigator.vendor);
|
|
7810
7810
|
Pt(/Android/u);
|
|
7811
|
-
Pt(/Chrome/u) &&
|
|
7811
|
+
Pt(/Chrome/u) && en(/Google Inc/u);
|
|
7812
7812
|
Pt(/Firefox/u);
|
|
7813
|
-
const
|
|
7813
|
+
const rn = Jt(/^iPad/u) || Jt(/^Mac/u) && navigator.maxTouchPoints > 1, on = Jt(/^iPhone/u), na = on || rn, aa = Pt(/^((?!chrome|android).)*safari/iu), sn = (() => {
|
|
7814
7814
|
try {
|
|
7815
7815
|
return document.createEvent("TouchEvent"), !0;
|
|
7816
7816
|
} catch {
|
|
@@ -7822,7 +7822,7 @@ const en = Jt(/^iPad/u) || Jt(/^Mac/u) && navigator.maxTouchPoints > 1, rn = Jt(
|
|
|
7822
7822
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7823
7823
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7824
7824
|
*/
|
|
7825
|
-
const
|
|
7825
|
+
const Yi = b(
|
|
7826
7826
|
(i) => class extends i {
|
|
7827
7827
|
static get properties() {
|
|
7828
7828
|
return {
|
|
@@ -8026,7 +8026,7 @@ const qi = b(
|
|
|
8026
8026
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8027
8027
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8028
8028
|
*/
|
|
8029
|
-
const
|
|
8029
|
+
const nn = (i) => class extends Yi(he(i)) {
|
|
8030
8030
|
static get properties() {
|
|
8031
8031
|
return {
|
|
8032
8032
|
/**
|
|
@@ -8071,7 +8071,7 @@ const sn = (i) => class extends qi(he(i)) {
|
|
|
8071
8071
|
* @protected
|
|
8072
8072
|
*/
|
|
8073
8073
|
_onClearButtonMouseDown(e) {
|
|
8074
|
-
e.preventDefault(),
|
|
8074
|
+
e.preventDefault(), sn || this.inputElement.focus();
|
|
8075
8075
|
}
|
|
8076
8076
|
/**
|
|
8077
8077
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -8105,10 +8105,10 @@ const Dt = /* @__PURE__ */ new Map();
|
|
|
8105
8105
|
function pe(i) {
|
|
8106
8106
|
return Dt.has(i) || Dt.set(i, /* @__PURE__ */ new WeakMap()), Dt.get(i);
|
|
8107
8107
|
}
|
|
8108
|
-
function
|
|
8108
|
+
function Wi(i, t) {
|
|
8109
8109
|
i && i.removeAttribute(t);
|
|
8110
8110
|
}
|
|
8111
|
-
function
|
|
8111
|
+
function Gi(i, t) {
|
|
8112
8112
|
if (!i || !t)
|
|
8113
8113
|
return;
|
|
8114
8114
|
const e = pe(t);
|
|
@@ -8117,11 +8117,11 @@ function Wi(i, t) {
|
|
|
8117
8117
|
const o = de(i.getAttribute(t));
|
|
8118
8118
|
e.set(i, new Set(o));
|
|
8119
8119
|
}
|
|
8120
|
-
function
|
|
8121
|
-
if (!i)
|
|
8120
|
+
function an(i, t) {
|
|
8121
|
+
if (!i || !t)
|
|
8122
8122
|
return;
|
|
8123
8123
|
const e = pe(t), o = e.get(i);
|
|
8124
|
-
!o || o.size === 0 ? i.removeAttribute(t) :
|
|
8124
|
+
!o || o.size === 0 ? i.removeAttribute(t) : Ui(i, t, Et(o)), e.delete(i);
|
|
8125
8125
|
}
|
|
8126
8126
|
function zt(i, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
8127
8127
|
if (!i || !t)
|
|
@@ -8131,19 +8131,19 @@ function zt(i, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
8131
8131
|
r && a.delete(r), o && a.add(o);
|
|
8132
8132
|
return;
|
|
8133
8133
|
}
|
|
8134
|
-
s && (a ? o || n.delete(i) :
|
|
8134
|
+
s && (a ? o || n.delete(i) : Gi(i, t), Wi(i, t)), $s(i, t, r);
|
|
8135
8135
|
const l = o || Et(a);
|
|
8136
|
-
l &&
|
|
8136
|
+
l && Ui(i, t, l);
|
|
8137
8137
|
}
|
|
8138
|
-
function
|
|
8139
|
-
|
|
8138
|
+
function ln(i, t) {
|
|
8139
|
+
Gi(i, t), Wi(i, t);
|
|
8140
8140
|
}
|
|
8141
8141
|
/**
|
|
8142
8142
|
* @license
|
|
8143
8143
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8144
8144
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8145
8145
|
*/
|
|
8146
|
-
class
|
|
8146
|
+
class dn {
|
|
8147
8147
|
constructor(t) {
|
|
8148
8148
|
this.host = t, this.__required = !1;
|
|
8149
8149
|
}
|
|
@@ -8216,7 +8216,7 @@ class ln {
|
|
|
8216
8216
|
* @private
|
|
8217
8217
|
* */
|
|
8218
8218
|
__setAriaLabelToAttribute(t) {
|
|
8219
|
-
this.__target && (t ? (
|
|
8219
|
+
this.__target && (t ? (ln(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (an(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
8220
8220
|
}
|
|
8221
8221
|
/**
|
|
8222
8222
|
* @param {string | null | undefined} labelId
|
|
@@ -8256,7 +8256,7 @@ class ln {
|
|
|
8256
8256
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8257
8257
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8258
8258
|
*/
|
|
8259
|
-
const
|
|
8259
|
+
const Ki = b((i) => typeof i.prototype.addController == "function" ? i : class extends i {
|
|
8260
8260
|
constructor() {
|
|
8261
8261
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
8262
8262
|
}
|
|
@@ -8302,9 +8302,9 @@ E.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
8302
8302
|
E.setAttribute("aria-live", "polite");
|
|
8303
8303
|
document.body.appendChild(E);
|
|
8304
8304
|
let pt;
|
|
8305
|
-
function
|
|
8305
|
+
function cn(i, t = {}) {
|
|
8306
8306
|
const e = t.mode || "polite", o = t.timeout === void 0 ? 150 : t.timeout;
|
|
8307
|
-
e === "alert" ? (E.removeAttribute("aria-live"), E.removeAttribute("role"), pt = Y.debounce(pt,
|
|
8307
|
+
e === "alert" ? (E.removeAttribute("aria-live"), E.removeAttribute("role"), pt = Y.debounce(pt, Ms, () => {
|
|
8308
8308
|
E.setAttribute("role", "alert");
|
|
8309
8309
|
})) : (pt && pt.cancel(), E.removeAttribute("role"), E.setAttribute("aria-live", e)), E.textContent = "", setTimeout(() => {
|
|
8310
8310
|
E.textContent = i;
|
|
@@ -8430,7 +8430,7 @@ class fe extends ce {
|
|
|
8430
8430
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8431
8431
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8432
8432
|
*/
|
|
8433
|
-
class
|
|
8433
|
+
class un extends fe {
|
|
8434
8434
|
constructor(t) {
|
|
8435
8435
|
super(t, "error-message", "div");
|
|
8436
8436
|
}
|
|
@@ -8504,7 +8504,7 @@ class cn extends fe {
|
|
|
8504
8504
|
*/
|
|
8505
8505
|
updateDefaultNode(t) {
|
|
8506
8506
|
const { errorMessage: e, invalid: o } = this, r = !!(o && e && e.trim() !== "");
|
|
8507
|
-
t && (t.textContent = r ? e : "", t.hidden = !r, r &&
|
|
8507
|
+
t && (t.textContent = r ? e : "", t.hidden = !r, r && cn(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
8508
8508
|
}
|
|
8509
8509
|
}
|
|
8510
8510
|
/**
|
|
@@ -8512,7 +8512,7 @@ class cn extends fe {
|
|
|
8512
8512
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8513
8513
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8514
8514
|
*/
|
|
8515
|
-
class
|
|
8515
|
+
class hn extends fe {
|
|
8516
8516
|
constructor(t) {
|
|
8517
8517
|
super(t, "helper", null);
|
|
8518
8518
|
}
|
|
@@ -8567,7 +8567,7 @@ class un extends fe {
|
|
|
8567
8567
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8568
8568
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8569
8569
|
*/
|
|
8570
|
-
class
|
|
8570
|
+
class pn extends fe {
|
|
8571
8571
|
constructor(t) {
|
|
8572
8572
|
super(t, "label", "label");
|
|
8573
8573
|
}
|
|
@@ -8620,8 +8620,8 @@ class hn extends fe {
|
|
|
8620
8620
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8621
8621
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8622
8622
|
*/
|
|
8623
|
-
const
|
|
8624
|
-
(i) => class extends
|
|
8623
|
+
const fn = b(
|
|
8624
|
+
(i) => class extends Ki(i) {
|
|
8625
8625
|
static get properties() {
|
|
8626
8626
|
return {
|
|
8627
8627
|
/**
|
|
@@ -8635,7 +8635,7 @@ const pn = b(
|
|
|
8635
8635
|
};
|
|
8636
8636
|
}
|
|
8637
8637
|
constructor() {
|
|
8638
|
-
super(), this._labelController = new
|
|
8638
|
+
super(), this._labelController = new pn(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
8639
8639
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
8640
8640
|
});
|
|
8641
8641
|
}
|
|
@@ -8663,7 +8663,7 @@ const pn = b(
|
|
|
8663
8663
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8664
8664
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8665
8665
|
*/
|
|
8666
|
-
const
|
|
8666
|
+
const Ji = b(
|
|
8667
8667
|
(i) => class extends i {
|
|
8668
8668
|
static get properties() {
|
|
8669
8669
|
return {
|
|
@@ -8735,7 +8735,7 @@ const Ki = b(
|
|
|
8735
8735
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8736
8736
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8737
8737
|
*/
|
|
8738
|
-
const
|
|
8738
|
+
const mn = (i) => class extends Ji(fn(Ki(i))) {
|
|
8739
8739
|
static get properties() {
|
|
8740
8740
|
return {
|
|
8741
8741
|
/**
|
|
@@ -8785,7 +8785,7 @@ const fn = (i) => class extends Ki(pn(Gi(i))) {
|
|
|
8785
8785
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
8786
8786
|
}
|
|
8787
8787
|
constructor() {
|
|
8788
|
-
super(), this._fieldAriaController = new
|
|
8788
|
+
super(), this._fieldAriaController = new dn(this), this._helperController = new hn(this), this._errorController = new un(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
8789
8789
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
8790
8790
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
8791
8791
|
const { hasContent: o, node: r } = e.detail;
|
|
@@ -8876,7 +8876,7 @@ const fn = (i) => class extends Ki(pn(Gi(i))) {
|
|
|
8876
8876
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8877
8877
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8878
8878
|
*/
|
|
8879
|
-
const
|
|
8879
|
+
const _n = b(
|
|
8880
8880
|
(i) => class extends i {
|
|
8881
8881
|
static get properties() {
|
|
8882
8882
|
return {
|
|
@@ -8957,8 +8957,8 @@ const mn = b(
|
|
|
8957
8957
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8958
8958
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8959
8959
|
*/
|
|
8960
|
-
const
|
|
8961
|
-
(i) => class extends
|
|
8960
|
+
const gn = b(
|
|
8961
|
+
(i) => class extends _n(Ji(Yi(i))) {
|
|
8962
8962
|
/**
|
|
8963
8963
|
* An array of attributes which participate in the input validation.
|
|
8964
8964
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -9042,8 +9042,8 @@ const _n = b(
|
|
|
9042
9042
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9043
9043
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9044
9044
|
*/
|
|
9045
|
-
const
|
|
9046
|
-
|
|
9045
|
+
const _a = (i) => class extends tn(
|
|
9046
|
+
Xs(gn(mn(nn(he(i)))))
|
|
9047
9047
|
) {
|
|
9048
9048
|
static get properties() {
|
|
9049
9049
|
return {
|
|
@@ -9175,7 +9175,7 @@ const ma = (i) => class extends Qs(
|
|
|
9175
9175
|
}
|
|
9176
9176
|
/** @protected */
|
|
9177
9177
|
_markInputPrevented() {
|
|
9178
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = Y.debounce(this._preventInputDebouncer,
|
|
9178
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = Y.debounce(this._preventInputDebouncer, Os.after(200), () => {
|
|
9179
9179
|
this.removeAttribute("input-prevented");
|
|
9180
9180
|
});
|
|
9181
9181
|
}
|
|
@@ -9229,7 +9229,7 @@ const ma = (i) => class extends Qs(
|
|
|
9229
9229
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9230
9230
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9231
9231
|
*/
|
|
9232
|
-
class
|
|
9232
|
+
class ba {
|
|
9233
9233
|
constructor(t, e) {
|
|
9234
9234
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (o) => {
|
|
9235
9235
|
this.__initLabel(o.detail.node);
|
|
@@ -9257,7 +9257,7 @@ class ga {
|
|
|
9257
9257
|
this.input.addEventListener("click", t);
|
|
9258
9258
|
}
|
|
9259
9259
|
}
|
|
9260
|
-
const
|
|
9260
|
+
const bn = _`
|
|
9261
9261
|
:host {
|
|
9262
9262
|
/* Sizing */
|
|
9263
9263
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -9534,13 +9534,13 @@ const gn = _`
|
|
|
9534
9534
|
margin-right: 0;
|
|
9535
9535
|
}
|
|
9536
9536
|
`;
|
|
9537
|
-
k("vaadin-button",
|
|
9537
|
+
k("vaadin-button", bn, { moduleId: "lumo-button" });
|
|
9538
9538
|
/**
|
|
9539
9539
|
* @license
|
|
9540
9540
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9541
9541
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9542
9542
|
*/
|
|
9543
|
-
const
|
|
9543
|
+
const va = _`
|
|
9544
9544
|
:host {
|
|
9545
9545
|
display: inline-block;
|
|
9546
9546
|
position: relative;
|
|
@@ -9600,7 +9600,7 @@ const ba = _`
|
|
|
9600
9600
|
outline-color: GrayText;
|
|
9601
9601
|
}
|
|
9602
9602
|
}
|
|
9603
|
-
`,
|
|
9603
|
+
`, ya = (i) => i`
|
|
9604
9604
|
<div class="vaadin-button-container">
|
|
9605
9605
|
<span part="prefix" aria-hidden="true">
|
|
9606
9606
|
<slot name="prefix"></slot>
|
|
@@ -9613,33 +9613,44 @@ const ba = _`
|
|
|
9613
9613
|
</span>
|
|
9614
9614
|
</div>
|
|
9615
9615
|
<slot name="tooltip"></slot>
|
|
9616
|
-
|
|
9616
|
+
`;
|
|
9617
|
+
/**
|
|
9618
|
+
@license
|
|
9619
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
9620
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
9621
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
9622
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
9623
|
+
Code distributed by Google as part of the polymer project is also
|
|
9624
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9625
|
+
*/
|
|
9626
|
+
const vn = !1, yn = (i) => i, me = typeof document.head.style.touchAction == "string", Xt = "__polymerGestures", Lt = "__polymerGesturesHandled", Zt = "__polymerGesturesTouchAction", Xe = 25, Ze = 5, wn = 2, An = ["mousedown", "mousemove", "mouseup", "click"], xn = [0, 1, 4, 2], Cn = function() {
|
|
9617
9627
|
try {
|
|
9618
9628
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9619
9629
|
} catch {
|
|
9620
9630
|
return !1;
|
|
9621
9631
|
}
|
|
9622
9632
|
}();
|
|
9623
|
-
function
|
|
9624
|
-
return
|
|
9633
|
+
function _e(i) {
|
|
9634
|
+
return An.indexOf(i) > -1;
|
|
9625
9635
|
}
|
|
9626
|
-
let
|
|
9636
|
+
let Xi = !1;
|
|
9627
9637
|
(function() {
|
|
9628
9638
|
try {
|
|
9629
9639
|
const i = Object.defineProperty({}, "passive", {
|
|
9630
9640
|
// eslint-disable-next-line getter-return
|
|
9631
9641
|
get() {
|
|
9632
|
-
|
|
9642
|
+
Xi = !0;
|
|
9633
9643
|
}
|
|
9634
9644
|
});
|
|
9635
9645
|
window.addEventListener("test", null, i), window.removeEventListener("test", null, i);
|
|
9636
9646
|
} catch {
|
|
9637
9647
|
}
|
|
9638
9648
|
})();
|
|
9639
|
-
function
|
|
9640
|
-
|
|
9649
|
+
function En(i) {
|
|
9650
|
+
if (!(_e(i) || i === "touchend") && me && Xi && vn)
|
|
9651
|
+
return { passive: !0 };
|
|
9641
9652
|
}
|
|
9642
|
-
const
|
|
9653
|
+
const Pn = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Tn = {
|
|
9643
9654
|
button: !0,
|
|
9644
9655
|
command: !0,
|
|
9645
9656
|
fieldset: !0,
|
|
@@ -9652,15 +9663,15 @@ const En = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Pn = {
|
|
|
9652
9663
|
};
|
|
9653
9664
|
function z(i) {
|
|
9654
9665
|
const t = i.type;
|
|
9655
|
-
if (!
|
|
9666
|
+
if (!_e(t))
|
|
9656
9667
|
return !1;
|
|
9657
9668
|
if (t === "mousemove") {
|
|
9658
9669
|
let o = i.buttons === void 0 ? 1 : i.buttons;
|
|
9659
|
-
return i instanceof window.MouseEvent && !
|
|
9670
|
+
return i instanceof window.MouseEvent && !Cn && (o = xn[i.which] || 0), !!(o & 1);
|
|
9660
9671
|
}
|
|
9661
9672
|
return (i.button === void 0 ? 0 : i.button) === 0;
|
|
9662
9673
|
}
|
|
9663
|
-
function
|
|
9674
|
+
function Sn(i) {
|
|
9664
9675
|
if (i.type === "click") {
|
|
9665
9676
|
if (i.detail === 0)
|
|
9666
9677
|
return !0;
|
|
@@ -9677,6 +9688,10 @@ function Tn(i) {
|
|
|
9677
9688
|
return !1;
|
|
9678
9689
|
}
|
|
9679
9690
|
const T = {
|
|
9691
|
+
mouse: {
|
|
9692
|
+
target: null,
|
|
9693
|
+
mouseIgnoreJob: null
|
|
9694
|
+
},
|
|
9680
9695
|
touch: {
|
|
9681
9696
|
x: 0,
|
|
9682
9697
|
y: 0,
|
|
@@ -9684,9 +9699,9 @@ const T = {
|
|
|
9684
9699
|
scrollDecided: !1
|
|
9685
9700
|
}
|
|
9686
9701
|
};
|
|
9687
|
-
function
|
|
9702
|
+
function Nn(i) {
|
|
9688
9703
|
let t = "auto";
|
|
9689
|
-
const e =
|
|
9704
|
+
const e = Qi(i);
|
|
9690
9705
|
for (let o = 0, r; o < e.length; o++)
|
|
9691
9706
|
if (r = e[o], r[Zt]) {
|
|
9692
9707
|
t = r[Zt];
|
|
@@ -9694,14 +9709,14 @@ function Sn(i) {
|
|
|
9694
9709
|
}
|
|
9695
9710
|
return t;
|
|
9696
9711
|
}
|
|
9697
|
-
function
|
|
9712
|
+
function Zi(i, t, e) {
|
|
9698
9713
|
i.movefn = t, i.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9699
9714
|
}
|
|
9700
9715
|
function V(i) {
|
|
9701
9716
|
document.removeEventListener("mousemove", i.movefn), document.removeEventListener("mouseup", i.upfn), i.movefn = null, i.upfn = null;
|
|
9702
9717
|
}
|
|
9703
|
-
const
|
|
9704
|
-
function
|
|
9718
|
+
const Qi = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (i) => i.composedPath && i.composedPath() || [], ge = {}, I = [];
|
|
9719
|
+
function kn(i, t) {
|
|
9705
9720
|
let e = document.elementFromPoint(i, t), o = e;
|
|
9706
9721
|
for (; o && o.shadowRoot && !window.ShadyDOM; ) {
|
|
9707
9722
|
const r = o;
|
|
@@ -9712,13 +9727,13 @@ function Nn(i, t) {
|
|
|
9712
9727
|
return e;
|
|
9713
9728
|
}
|
|
9714
9729
|
function N(i) {
|
|
9715
|
-
const t =
|
|
9730
|
+
const t = Qi(
|
|
9716
9731
|
/** @type {?Event} */
|
|
9717
9732
|
i
|
|
9718
9733
|
);
|
|
9719
9734
|
return t.length > 0 ? t[0] : i.target;
|
|
9720
9735
|
}
|
|
9721
|
-
function
|
|
9736
|
+
function On(i) {
|
|
9722
9737
|
const t = i.type, o = i.currentTarget[Xt];
|
|
9723
9738
|
if (!o)
|
|
9724
9739
|
return;
|
|
@@ -9729,7 +9744,7 @@ function kn(i) {
|
|
|
9729
9744
|
const n = i.changedTouches[0];
|
|
9730
9745
|
if (t === "touchstart" && i.touches.length === 1 && (T.touch.id = n.identifier), T.touch.id !== n.identifier)
|
|
9731
9746
|
return;
|
|
9732
|
-
|
|
9747
|
+
me || (t === "touchstart" || t === "touchmove") && Mn(i);
|
|
9733
9748
|
}
|
|
9734
9749
|
const s = i[Lt];
|
|
9735
9750
|
if (!s.skip) {
|
|
@@ -9739,7 +9754,7 @@ function kn(i) {
|
|
|
9739
9754
|
a = I[n], r[a.name] && !s[a.name] && (s[a.name] = !0, a[t](i));
|
|
9740
9755
|
}
|
|
9741
9756
|
}
|
|
9742
|
-
function
|
|
9757
|
+
function Mn(i) {
|
|
9743
9758
|
const t = i.changedTouches[0], e = i.type;
|
|
9744
9759
|
if (e === "touchstart")
|
|
9745
9760
|
T.touch.x = t.clientX, T.touch.y = t.clientY, T.touch.scrollDecided = !1;
|
|
@@ -9747,29 +9762,29 @@ function On(i) {
|
|
|
9747
9762
|
if (T.touch.scrollDecided)
|
|
9748
9763
|
return;
|
|
9749
9764
|
T.touch.scrollDecided = !0;
|
|
9750
|
-
const o =
|
|
9765
|
+
const o = Nn(i);
|
|
9751
9766
|
let r = !1;
|
|
9752
9767
|
const s = Math.abs(T.touch.x - t.clientX), n = Math.abs(T.touch.y - t.clientY);
|
|
9753
9768
|
i.cancelable && (o === "none" ? r = !0 : o === "pan-x" ? r = n > s : o === "pan-y" && (r = s > n)), r ? i.preventDefault() : wt("track");
|
|
9754
9769
|
}
|
|
9755
9770
|
}
|
|
9756
|
-
function
|
|
9757
|
-
return
|
|
9771
|
+
function Qe(i, t, e) {
|
|
9772
|
+
return ge[t] ? (In(i, t, e), !0) : !1;
|
|
9758
9773
|
}
|
|
9759
|
-
function
|
|
9760
|
-
const o =
|
|
9774
|
+
function In(i, t, e) {
|
|
9775
|
+
const o = ge[t], r = o.deps, s = o.name;
|
|
9761
9776
|
let n = i[Xt];
|
|
9762
9777
|
n || (i[Xt] = n = {});
|
|
9763
9778
|
for (let a = 0, l, d; a < r.length; a++)
|
|
9764
|
-
l = r[a], !(
|
|
9765
|
-
i.addEventListener(t, e), o.touchAction &&
|
|
9779
|
+
l = r[a], !(Pn && _e(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, On, En(l)), d[s] = (d[s] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
9780
|
+
i.addEventListener(t, e), o.touchAction && zn(i, o.touchAction);
|
|
9766
9781
|
}
|
|
9767
|
-
function
|
|
9782
|
+
function be(i) {
|
|
9768
9783
|
I.push(i), i.emits.forEach((t) => {
|
|
9769
|
-
|
|
9784
|
+
ge[t] = i;
|
|
9770
9785
|
});
|
|
9771
9786
|
}
|
|
9772
|
-
function
|
|
9787
|
+
function Dn(i) {
|
|
9773
9788
|
for (let t = 0, e; t < I.length; t++) {
|
|
9774
9789
|
e = I[t];
|
|
9775
9790
|
for (let o = 0, r; o < e.emits.length; o++)
|
|
@@ -9778,14 +9793,14 @@ function In(i) {
|
|
|
9778
9793
|
}
|
|
9779
9794
|
return null;
|
|
9780
9795
|
}
|
|
9781
|
-
function
|
|
9782
|
-
|
|
9796
|
+
function zn(i, t) {
|
|
9797
|
+
me && i instanceof HTMLElement && Ds.run(() => {
|
|
9783
9798
|
i.style.touchAction = t;
|
|
9784
9799
|
}), i[Zt] = t;
|
|
9785
9800
|
}
|
|
9786
|
-
function
|
|
9801
|
+
function ve(i, t, e) {
|
|
9787
9802
|
const o = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9788
|
-
if (o.detail = e,
|
|
9803
|
+
if (o.detail = e, yn(
|
|
9789
9804
|
/** @type {!Node} */
|
|
9790
9805
|
i
|
|
9791
9806
|
).dispatchEvent(o), o.defaultPrevented) {
|
|
@@ -9794,10 +9809,10 @@ function be(i, t, e) {
|
|
|
9794
9809
|
}
|
|
9795
9810
|
}
|
|
9796
9811
|
function wt(i) {
|
|
9797
|
-
const t =
|
|
9812
|
+
const t = Dn(i);
|
|
9798
9813
|
t.info && (t.info.prevent = !0);
|
|
9799
9814
|
}
|
|
9800
|
-
|
|
9815
|
+
be({
|
|
9801
9816
|
name: "downup",
|
|
9802
9817
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9803
9818
|
flow: {
|
|
@@ -9829,7 +9844,7 @@ ge({
|
|
|
9829
9844
|
}, r = (s) => {
|
|
9830
9845
|
z(s) && X("up", t, s), V(e.info);
|
|
9831
9846
|
};
|
|
9832
|
-
|
|
9847
|
+
Zi(this.info, o, r), X("down", t, i);
|
|
9833
9848
|
},
|
|
9834
9849
|
/**
|
|
9835
9850
|
* @this {GestureRecognizer}
|
|
@@ -9849,7 +9864,7 @@ ge({
|
|
|
9849
9864
|
}
|
|
9850
9865
|
});
|
|
9851
9866
|
function X(i, t, e, o) {
|
|
9852
|
-
t &&
|
|
9867
|
+
t && ve(t, i, {
|
|
9853
9868
|
x: e.clientX,
|
|
9854
9869
|
y: e.clientY,
|
|
9855
9870
|
sourceEvent: e,
|
|
@@ -9859,7 +9874,7 @@ function X(i, t, e, o) {
|
|
|
9859
9874
|
}
|
|
9860
9875
|
});
|
|
9861
9876
|
}
|
|
9862
|
-
|
|
9877
|
+
be({
|
|
9863
9878
|
name: "track",
|
|
9864
9879
|
touchAction: "none",
|
|
9865
9880
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9876,7 +9891,7 @@ ge({
|
|
|
9876
9891
|
moves: [],
|
|
9877
9892
|
/** @this {GestureInfo} */
|
|
9878
9893
|
addMove(i) {
|
|
9879
|
-
this.moves.length >
|
|
9894
|
+
this.moves.length > wn && this.moves.shift(), this.moves.push(i);
|
|
9880
9895
|
},
|
|
9881
9896
|
movefn: null,
|
|
9882
9897
|
upfn: null,
|
|
@@ -9899,11 +9914,11 @@ ge({
|
|
|
9899
9914
|
return;
|
|
9900
9915
|
const t = N(i), e = this, o = (s) => {
|
|
9901
9916
|
const n = s.clientX, a = s.clientY;
|
|
9902
|
-
|
|
9917
|
+
ti(e.info, n, a) && (e.info.state = e.info.started ? s.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && wt("tap"), e.info.addMove({ x: n, y: a }), z(s) || (e.info.state = "end", V(e.info)), t && $t(e.info, t, s), e.info.started = !0);
|
|
9903
9918
|
}, r = (s) => {
|
|
9904
9919
|
e.info.started && o(s), V(e.info);
|
|
9905
9920
|
};
|
|
9906
|
-
|
|
9921
|
+
Zi(this.info, o, r), this.info.x = i.clientX, this.info.y = i.clientY;
|
|
9907
9922
|
},
|
|
9908
9923
|
/**
|
|
9909
9924
|
* @this {GestureRecognizer}
|
|
@@ -9921,7 +9936,7 @@ ge({
|
|
|
9921
9936
|
*/
|
|
9922
9937
|
touchmove(i) {
|
|
9923
9938
|
const t = N(i), e = i.changedTouches[0], o = e.clientX, r = e.clientY;
|
|
9924
|
-
|
|
9939
|
+
ti(this.info, o, r) && (this.info.state === "start" && wt("tap"), this.info.addMove({ x: o, y: r }), $t(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9925
9940
|
},
|
|
9926
9941
|
/**
|
|
9927
9942
|
* @this {GestureRecognizer}
|
|
@@ -9933,20 +9948,20 @@ ge({
|
|
|
9933
9948
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), $t(this.info, t, e));
|
|
9934
9949
|
}
|
|
9935
9950
|
});
|
|
9936
|
-
function
|
|
9951
|
+
function ti(i, t, e) {
|
|
9937
9952
|
if (i.prevent)
|
|
9938
9953
|
return !1;
|
|
9939
9954
|
if (i.started)
|
|
9940
9955
|
return !0;
|
|
9941
9956
|
const o = Math.abs(i.x - t), r = Math.abs(i.y - e);
|
|
9942
|
-
return o >=
|
|
9957
|
+
return o >= Ze || r >= Ze;
|
|
9943
9958
|
}
|
|
9944
9959
|
function $t(i, t, e) {
|
|
9945
9960
|
if (!t)
|
|
9946
9961
|
return;
|
|
9947
9962
|
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;
|
|
9948
9963
|
let a, l = 0;
|
|
9949
|
-
o && (a = r.x - o.x, l = r.y - o.y),
|
|
9964
|
+
o && (a = r.x - o.x, l = r.y - o.y), ve(t, "track", {
|
|
9950
9965
|
state: i.state,
|
|
9951
9966
|
x: e.clientX,
|
|
9952
9967
|
y: e.clientY,
|
|
@@ -9956,11 +9971,11 @@ function $t(i, t, e) {
|
|
|
9956
9971
|
ddy: l,
|
|
9957
9972
|
sourceEvent: e,
|
|
9958
9973
|
hover() {
|
|
9959
|
-
return
|
|
9974
|
+
return kn(e.clientX, e.clientY);
|
|
9960
9975
|
}
|
|
9961
9976
|
});
|
|
9962
9977
|
}
|
|
9963
|
-
|
|
9978
|
+
be({
|
|
9964
9979
|
name: "tap",
|
|
9965
9980
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9966
9981
|
flow: {
|
|
@@ -9994,7 +10009,7 @@ ge({
|
|
|
9994
10009
|
* @return {void}
|
|
9995
10010
|
*/
|
|
9996
10011
|
click(i) {
|
|
9997
|
-
z(i) &&
|
|
10012
|
+
z(i) && ei(this.info, i);
|
|
9998
10013
|
},
|
|
9999
10014
|
/**
|
|
10000
10015
|
* @this {GestureRecognizer}
|
|
@@ -10011,15 +10026,15 @@ ge({
|
|
|
10011
10026
|
* @return {void}
|
|
10012
10027
|
*/
|
|
10013
10028
|
touchend(i) {
|
|
10014
|
-
|
|
10029
|
+
ei(this.info, i.changedTouches[0], i);
|
|
10015
10030
|
}
|
|
10016
10031
|
});
|
|
10017
|
-
function
|
|
10032
|
+
function ei(i, t, e) {
|
|
10018
10033
|
const o = Math.abs(t.clientX - i.x), r = Math.abs(t.clientY - i.y), s = N(e || t);
|
|
10019
|
-
!s ||
|
|
10034
|
+
!s || Tn[
|
|
10020
10035
|
/** @type {!HTMLElement} */
|
|
10021
10036
|
s.localName
|
|
10022
|
-
] && s.hasAttribute("disabled") || (isNaN(o) || isNaN(r) || o <=
|
|
10037
|
+
] && s.hasAttribute("disabled") || (isNaN(o) || isNaN(r) || o <= Xe && r <= Xe || Sn(t)) && (i.prevent || ve(s, "tap", {
|
|
10023
10038
|
x: t.clientX,
|
|
10024
10039
|
y: t.clientY,
|
|
10025
10040
|
sourceEvent: t,
|
|
@@ -10031,7 +10046,7 @@ function ti(i, t, e) {
|
|
|
10031
10046
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10032
10047
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10033
10048
|
*/
|
|
10034
|
-
const
|
|
10049
|
+
const Ln = (i) => class extends ji(he(i)) {
|
|
10035
10050
|
/**
|
|
10036
10051
|
* An array of activation keys.
|
|
10037
10052
|
*
|
|
@@ -10046,9 +10061,9 @@ const zn = (i) => class extends Vi(he(i)) {
|
|
|
10046
10061
|
}
|
|
10047
10062
|
/** @protected */
|
|
10048
10063
|
ready() {
|
|
10049
|
-
super.ready(),
|
|
10064
|
+
super.ready(), Qe(this, "down", (e) => {
|
|
10050
10065
|
this._shouldSetActive(e) && this._setActive(!0);
|
|
10051
|
-
}),
|
|
10066
|
+
}), Qe(this, "up", () => {
|
|
10052
10067
|
this._setActive(!1);
|
|
10053
10068
|
});
|
|
10054
10069
|
}
|
|
@@ -10094,7 +10109,7 @@ const zn = (i) => class extends Vi(he(i)) {
|
|
|
10094
10109
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10095
10110
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10096
10111
|
*/
|
|
10097
|
-
const
|
|
10112
|
+
const Aa = (i) => class extends Ln(qi(Vi(i))) {
|
|
10098
10113
|
static get properties() {
|
|
10099
10114
|
return {
|
|
10100
10115
|
/**
|
|
@@ -10145,69 +10160,69 @@ const wa = (i) => class extends zn(ji(Hi(i))) {
|
|
|
10145
10160
|
}
|
|
10146
10161
|
};
|
|
10147
10162
|
export {
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10163
|
+
Zn as $,
|
|
10164
|
+
Ln as A,
|
|
10165
|
+
Aa as B,
|
|
10166
|
+
Ki as C,
|
|
10167
|
+
_n as D,
|
|
10168
|
+
qn as E,
|
|
10169
|
+
mn as F,
|
|
10170
|
+
zn as G,
|
|
10171
|
+
ce as H,
|
|
10172
|
+
_a as I,
|
|
10173
|
+
Y as J,
|
|
10174
|
+
Os as K,
|
|
10175
|
+
ba as L,
|
|
10176
|
+
Ri as M,
|
|
10177
|
+
gn as N,
|
|
10178
|
+
he as O,
|
|
10179
|
+
_s as P,
|
|
10180
|
+
qs as Q,
|
|
10181
|
+
Kn as R,
|
|
10182
|
+
Bs as S,
|
|
10183
|
+
Gn as T,
|
|
10184
|
+
Ds as U,
|
|
10185
|
+
Is as V,
|
|
10186
|
+
Ms as W,
|
|
10187
|
+
jn as X,
|
|
10188
|
+
zs as Y,
|
|
10189
|
+
aa as Z,
|
|
10190
|
+
Ji as _,
|
|
10191
|
+
ii as a,
|
|
10192
|
+
sn as a0,
|
|
10193
|
+
Xn as a1,
|
|
10194
|
+
Wn as a2,
|
|
10180
10195
|
Ut as a3,
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
|
|
10196
|
+
Kr as a4,
|
|
10197
|
+
qr as a5,
|
|
10198
|
+
Qn as a6,
|
|
10199
|
+
Us as a7,
|
|
10200
|
+
Jr as a8,
|
|
10201
|
+
bn as a9,
|
|
10202
|
+
tn as aa,
|
|
10203
|
+
kr as b,
|
|
10204
|
+
ya as c,
|
|
10190
10205
|
b as d,
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
|
|
10194
|
-
|
|
10206
|
+
ds as e,
|
|
10207
|
+
Jn as f,
|
|
10208
|
+
ji as g,
|
|
10209
|
+
ms as h,
|
|
10195
10210
|
_ as i,
|
|
10196
|
-
|
|
10197
|
-
|
|
10198
|
-
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10203
|
-
|
|
10211
|
+
Yi as j,
|
|
10212
|
+
Xs as k,
|
|
10213
|
+
_i as l,
|
|
10214
|
+
Fr as m,
|
|
10215
|
+
Vi as n,
|
|
10216
|
+
Hr as o,
|
|
10217
|
+
na as p,
|
|
10218
|
+
Ks as q,
|
|
10204
10219
|
k as r,
|
|
10205
|
-
|
|
10206
|
-
|
|
10220
|
+
va as s,
|
|
10221
|
+
Bn as t,
|
|
10207
10222
|
Fn as u,
|
|
10208
|
-
|
|
10223
|
+
vt as v,
|
|
10209
10224
|
D as w,
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10225
|
+
Un as x,
|
|
10226
|
+
fo as y,
|
|
10227
|
+
Qe as z
|
|
10213
10228
|
};
|