@everymatrix/player-account-controller-nd 1.99.57 → 1.99.59
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-8wMTGRDy.js +341 -0
- package/components/GeneralLogout-B_Tr6McQ.cjs +1 -0
- package/components/GeneralLogout-Df2tEV_j.js +324 -0
- package/components/{PlayerAccountBettingHistory-D3D7fRrn.js → PlayerAccountBettingHistory-C1DpLVso.js} +1 -1
- package/components/{PlayerAccountBettingHistory-D01FrOcJ.cjs → PlayerAccountBettingHistory-CEHzLPmX.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-Cp8RCvhE.js → PlayerAccountBettingHistory-CWBfZhuO.js} +1 -1
- package/components/{PlayerAccountBiometrics-_4h8POSD.js → PlayerAccountBiometrics-BrF2QlJ9.js} +2 -2
- package/components/{PlayerAccountBiometrics-DQsR8Ilb.js → PlayerAccountBiometrics-CatuEsZS.js} +2 -2
- package/components/{PlayerAccountBiometrics-CoPy8ESX.cjs → PlayerAccountBiometrics-Qkot14Nw.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-DmeRoIbt.cjs → PlayerAccountBiometricsAction-CpV0a4zN.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BAO_z3qD.js → PlayerAccountBiometricsAction-PXIbQUKQ.js} +3 -5
- package/components/{PlayerAccountBiometricsAction-esgdbYyz.js → PlayerAccountBiometricsAction-yS5_Epi1.js} +3 -5
- package/components/{PlayerAccountClosureNd-Bz3t9ttg.cjs → PlayerAccountClosureNd--GHgFzVF.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-CXR_W2eZ.js → PlayerAccountClosureNd-BXRvTzVO.js} +2 -2
- package/components/{PlayerAccountClosureNd-CVYwiK-z.js → PlayerAccountClosureNd-CBS8QECX.js} +2 -2
- package/components/{PlayerAccountControllerNd-DZq-N_en.js → PlayerAccountControllerNd-BpyLuXtA.js} +980 -1036
- package/components/{PlayerAccountControllerNd-B9Hz03zk.js → PlayerAccountControllerNd-CoEaKJEO.js} +959 -1015
- package/components/PlayerAccountControllerNd-DV54Hl05.cjs +21 -0
- package/components/{PlayerAccountGamingLimits-C6gxLQ3E.js → PlayerAccountGamingLimits-B6CJyCXE.js} +2 -2
- package/components/{PlayerAccountGamingLimits-Be-qry93.js → PlayerAccountGamingLimits-BVyoTWZr.js} +2 -2
- package/components/{PlayerAccountGamingLimits-t2VfU11n.cjs → PlayerAccountGamingLimits-CHNQrQ6Z.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BDI-v41T.cjs → PlayerAccountGamingLimitsConfirmationModal-B-Pbd0f9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BD0hFl45.js → PlayerAccountGamingLimitsConfirmationModal-CwK5s6-X.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BklblELe.js → PlayerAccountGamingLimitsConfirmationModal-Dqp0L0N-.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-jVGSXPAY.js → PlayerAccountGamingLimitsGroupEdit-8vRP46ti.js} +8 -9
- package/components/{PlayerAccountGamingLimitsGroupEdit-CkumFGQ6.js → PlayerAccountGamingLimitsGroupEdit-CFaQW5Xw.js} +8 -9
- package/components/{PlayerAccountGamingLimitsGroupEdit-B2i5QkAE.cjs → PlayerAccountGamingLimitsGroupEdit-P7eVJD4o.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BcrLSPv-.js → PlayerAccountGamingLimitsHistory2Nd-AwepMJyS.js} +2 -3
- package/components/{PlayerAccountGamingLimitsHistory2Nd-3-waWQA7.cjs → PlayerAccountGamingLimitsHistory2Nd-BZZbRy1H.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CikWVS9w.js → PlayerAccountGamingLimitsHistory2Nd-BfDvaj4E.js} +2 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-BvLqgBkK.js → PlayerAccountGamingLimitsInfoCard-Cq1G2koe.js} +8 -12
- package/components/{PlayerAccountGamingLimitsInfoCard-CFcynB3C.cjs → PlayerAccountGamingLimitsInfoCard-ES6K2FOK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BOiShaeL.js → PlayerAccountGamingLimitsInfoCard-IVhOyKZj.js} +8 -12
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DU2xNjzp.js → PlayerAccountGamingLimitsPage2Gm16Nd-CYxIxOg9.js} +32 -62
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BnQjv_3s.js → PlayerAccountGamingLimitsPage2Gm16Nd-DuDWXcpD.js} +32 -62
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-81YpvKld.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-u5EAdak4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B9tmApcW.js → PlayerAccountGamingLimitsPopup-Bx181x-m.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-uLhHFnIt.cjs → PlayerAccountGamingLimitsPopup-DiHAugt4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BdEYmjKr.js → PlayerAccountGamingLimitsPopup-h3EBnoNt.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DbTZZ8Dg.js → PlayerAccountGamingLimitsWrapper2Nd-ByYbfRQi.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-bLU5_Kd7.cjs → PlayerAccountGamingLimitsWrapper2Nd-ChustIby.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-B1cdrNPL.js → PlayerAccountGamingLimitsWrapper2Nd-DWMV7anS.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-BGqoTnUD.cjs → PlayerAccountGeneralConfirmationModal-Ccfy5jx9.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BcAvCDQY.js → PlayerAccountGeneralConfirmationModal-CjzyuNjK.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CpV4Ex1d.js → PlayerAccountGeneralConfirmationModal-Dm3aP6fQ.js} +1 -1
- package/components/PlayerAccountMenuNd-BFf_Ixaf.cjs +1 -0
- package/components/{PlayerAccountMenuNd-4kBmPNMz.js → PlayerAccountMenuNd-DL1FWOfl.js} +336 -306
- package/components/{PlayerAccountMenuNd-BTgbj0cc.js → PlayerAccountMenuNd-KNvWHKmn.js} +326 -296
- package/components/{PlayerAccountModal--JPuPLdW.cjs → PlayerAccountModal--QiSnBtU.cjs} +1 -1
- package/components/{PlayerAccountModal-B5Jq46h-.js → PlayerAccountModal-D3qATKj_.js} +1 -1
- package/components/{PlayerAccountModal-clTGQZoK.js → PlayerAccountModal-he9-3Ol-.js} +1 -1
- package/components/{PlayerAccountNotifications-SRvR6RTr.js → PlayerAccountNotifications-BcQ8FD-W.js} +4 -6
- package/components/{PlayerAccountNotifications-DzglTOmF.cjs → PlayerAccountNotifications-DgJedpa5.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CyMVU8WN.js → PlayerAccountNotifications-DukGyUEV.js} +4 -6
- package/components/{PlayerAccountProductRestriction-CAd5GwAv.js → PlayerAccountProductRestriction-B6O6nkZO.js} +7 -8
- package/components/{PlayerAccountProductRestriction-BSRQjFUY.js → PlayerAccountProductRestriction-DJ63eG4V.js} +7 -8
- package/components/{PlayerAccountProductRestriction-Bs_lioi7.cjs → PlayerAccountProductRestriction-DLCUKXpq.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-Cd6fgOLE.js → PlayerAccountReviewFrequency-B18AfnLo.js} +2 -2
- package/components/{PlayerAccountReviewFrequency-LHfElWYo.js → PlayerAccountReviewFrequency-CrVq3J9v.js} +2 -2
- package/components/{PlayerAccountReviewFrequency-Bbm_F21W.cjs → PlayerAccountReviewFrequency-pumQi-YF.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-D_j8dm93.cjs → PlayerAccountSelfExclusionNd-B2nwt48V.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-DOJC9Bi5.js → PlayerAccountSelfExclusionNd-CNgCn8AR.js} +25 -36
- package/components/{PlayerAccountSelfExclusionNd-D2tx7gYr.js → PlayerAccountSelfExclusionNd-Dm4TeIxj.js} +25 -36
- package/components/{PlayerAccountTimeout-smgfv3yM.cjs → PlayerAccountTimeout-BPaAKgDV.cjs} +1 -1
- package/components/{PlayerAccountTimeout-Ch_dooxi.js → PlayerAccountTimeout-BfQ_DNvm.js} +67 -121
- package/components/{PlayerAccountTimeout-bCoOhnR7.js → PlayerAccountTimeout-CehfycL4.js} +67 -121
- package/components/{PlayerAccountTransactionsHistory-C2mxHD-U.js → PlayerAccountTransactionsHistory-BOPm3c-l.js} +15 -25
- package/components/{PlayerAccountTransactionsHistory-IB-vVqYY.js → PlayerAccountTransactionsHistory-CjIjNZDr.js} +15 -25
- package/components/{PlayerAccountTransactionsHistory-FND7W59V.cjs → PlayerAccountTransactionsHistory-Vz1GbV6a.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BgTPpn9y.cjs → PlayerActiveBonuses-BmLW2U7z.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DRTLKKnI.js → PlayerActiveBonuses-DQEG7VVC.js} +2 -2
- package/components/{PlayerActiveBonuses-57KNz3cI.js → PlayerActiveBonuses-DjZI3Tsj.js} +2 -2
- package/components/{PlayerBonusCard-CaX8E9OY.cjs → PlayerBonusCard-B_y306PB.cjs} +1 -1
- package/components/{PlayerBonusCard-jnoTrJae.js → PlayerBonusCard-BkeNJuRG.js} +2 -2
- package/components/{PlayerBonusCard-CpXSivFs.js → PlayerBonusCard-q_atpoy1.js} +2 -2
- package/components/{PlayerBonusHistory-B0ex6wqe.js → PlayerBonusHistory-B8UyMG2i.js} +470 -822
- package/components/{PlayerBonusHistory-BuF-VL1k.js → PlayerBonusHistory-Dfiz7Ufs.js} +470 -822
- package/components/{PlayerBonusHistory-BVnV8MqL.cjs → PlayerBonusHistory-Dy8GRg7K.cjs} +2 -2
- package/components/{PlayerChangePasswordNd-BCHBajaF.js → PlayerChangePasswordNd-B-ckQb5j.js} +5 -9
- package/components/{PlayerChangePasswordNd-QZLMqjWU.js → PlayerChangePasswordNd-Q0-0LzFd.js} +5 -9
- package/components/{PlayerChangePasswordNd-CC3pwQWJ.cjs → PlayerChangePasswordNd-kfBqQcFU.cjs} +1 -1
- package/components/{PlayerDeposit-BJAR6_3H.cjs → PlayerDeposit-CUNykiS2.cjs} +1 -1
- package/components/{PlayerDeposit-D1IpmMXz.js → PlayerDeposit-D9pnDQ72.js} +1 -1
- package/components/{PlayerDeposit-DikKTEx4.js → PlayerDeposit-IWUtmkdA.js} +1 -1
- package/components/{PlayerGamingHistory-CUoADsMs.js → PlayerGamingHistory-BwA7bue0.js} +3 -3
- package/components/{PlayerGamingHistory-CdD2Lxtv.cjs → PlayerGamingHistory-CAWcXMDM.cjs} +1 -1
- package/components/{PlayerGamingHistory-IPBZPnpj.js → PlayerGamingHistory-D2ygyFQj.js} +3 -3
- package/components/{PlayerPendingWithdrawals-D4Y9jthC.js → PlayerPendingWithdrawals-B1DtNkWj.js} +1 -1
- package/components/{PlayerPendingWithdrawals-DvWVyPCS.cjs → PlayerPendingWithdrawals-CmaTv3Xo.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B7H-JUv7.js → PlayerPendingWithdrawals-NruoAjs2.js} +1 -1
- package/components/{PlayerProfileInfo-Cf961l29.cjs → PlayerProfileInfo-BN_nmL2_.cjs} +1 -1
- package/components/{PlayerProfileInfo-CLQ2Y4GH.js → PlayerProfileInfo-BlAtv9JQ.js} +13 -15
- package/components/{PlayerProfileInfo-Dch5K0G-.js → PlayerProfileInfo-C6mpr0NI.js} +13 -15
- package/components/{PlayerRealityCheck-2w2h0rdY.js → PlayerRealityCheck-BMEE0YuO.js} +2 -2
- package/components/{PlayerRealityCheck-Cjed2DM0.cjs → PlayerRealityCheck-C07ALoZc.cjs} +1 -1
- package/components/{PlayerRealityCheck-C1MlmN26.js → PlayerRealityCheck-e4OXfVRc.js} +2 -2
- package/components/{PlayerTransactionHistory-DSTNZpVy.cjs → PlayerTransactionHistory-BGMhKZ1A.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BDvQ3fi3.js → PlayerTransactionHistory-CpG8GGZl.js} +1 -1
- package/components/{PlayerTransactionHistory-D98di8hi.js → PlayerTransactionHistory-Du0SUmkH.js} +1 -1
- package/components/{PlayerWithdrawal-DnE5PUJb.js → PlayerWithdrawal-C5VtcCek.js} +1 -1
- package/components/{PlayerWithdrawal-D79Y-_2R.cjs → PlayerWithdrawal-DC7xcl_E.cjs} +1 -1
- package/components/{PlayerWithdrawal-rw1uLJhT.js → PlayerWithdrawal-DZrMEmpo.js} +1 -1
- package/components/{QrSessionGenerator-CB42oUGc.js → QrSessionGenerator-BWEmjjNF.js} +13 -25
- package/components/{QrSessionGenerator-ZOQdf5F5.cjs → QrSessionGenerator-GLH14lh4.cjs} +1 -1
- package/components/{QrSessionGenerator-BphBsAvU.js → QrSessionGenerator-Vv6Go1KV.js} +13 -25
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/lazy/{general-logout-DsJ6hkNf.js → general-logout-BRa7oFTH.js} +1 -1
- package/lazy/{general-logout-CFrS_9dU.js → general-logout-CLYmbIxd.js} +1 -1
- package/lazy/{general-logout-D5Ung-lY.cjs → general-logout-YWvdiNnI.cjs} +1 -1
- package/lazy/{pam-change-password-YH41lYLQ.js → pam-change-password-CQt7gN7c.js} +22 -24
- package/lazy/{pam-change-password-Rbve9bg2.js → pam-change-password-DhlCSZKU.js} +22 -24
- package/lazy/{pam-change-password-BlRpneHq.cjs → pam-change-password-gS1FNvTB.cjs} +1 -1
- package/lazy/{player-account-betting-history-BtH4ftFX.cjs → player-account-betting-history-BU7En8At.cjs} +1 -1
- package/lazy/{player-account-betting-history-RDPl4Obe.js → player-account-betting-history-DarYTbFb.js} +1 -1
- package/lazy/{player-account-betting-history-BEN_dGnE.js → player-account-betting-history-kZZmwxEQ.js} +1 -1
- package/lazy/{player-account-biometrics-cykL54tX.js → player-account-biometrics-9Jp_DBRA.js} +1 -1
- package/lazy/{player-account-biometrics-n8Xmi2WW.js → player-account-biometrics-BHuyyrb4.js} +1 -1
- package/lazy/{player-account-biometrics-C3GtsDxz.cjs → player-account-biometrics-C6UudRfc.cjs} +1 -1
- package/lazy/{player-account-biometrics-action-DBItDD7x.js → player-account-biometrics-action-9_34yNMa.js} +1 -1
- package/lazy/{player-account-biometrics-action-D6ipP-LU.js → player-account-biometrics-action-CHMqzmo6.js} +1 -1
- package/lazy/{player-account-biometrics-action-dvkC2fWQ.cjs → player-account-biometrics-action-D5uhErfh.cjs} +1 -1
- package/lazy/{player-account-closure-nd-CFZI7t3B.js → player-account-closure-nd-Bk3IGPQs.js} +1 -1
- package/lazy/{player-account-closure-nd-RiodQhcq.cjs → player-account-closure-nd-C4ZcOm71.cjs} +1 -1
- package/lazy/{player-account-closure-nd-DZnemB7S.js → player-account-closure-nd-RKYEJxSX.js} +1 -1
- package/lazy/{player-account-gaming-limits-Bqm0vBAQ.cjs → player-account-gaming-limits-CvvZ8lBz.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-DnNEyRcR.js → player-account-gaming-limits-LSQdj5rC.js} +1 -1
- package/lazy/{player-account-gaming-limits-C7F9ucYx.js → player-account-gaming-limits-X-DXA1to.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-DTG6yZdl.js → player-account-gaming-limits-confirmation-modal-C81iaJi7.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-C3FoJV89.js → player-account-gaming-limits-confirmation-modal-CQboPROf.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-B4gaW750.cjs → player-account-gaming-limits-confirmation-modal-D-MdzvHG.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-CnqGt4cd.cjs → player-account-gaming-limits-group-edit-C2KG_WD3.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-D16l--pM.js → player-account-gaming-limits-group-edit-QPhaZZ4g.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-Dto4z4EL.js → player-account-gaming-limits-group-edit-XTdrALvy.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-p9W3RPU-.js → player-account-gaming-limits-history-2-nd-BwwKHGUP.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-CecbwM2O.cjs → player-account-gaming-limits-history-2-nd-C8VqM5qX.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-LDQWboJ1.js → player-account-gaming-limits-history-2-nd-D55d3WUh.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-CLqTFS2T.js → player-account-gaming-limits-info-card-BYvB6TfO.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-UyrysudJ.js → player-account-gaming-limits-info-card-DvizEm9E.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-QD3lUxcL.cjs → player-account-gaming-limits-info-card-EIbtUiFM.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Cibo08Bn.cjs → player-account-gaming-limits-page-2-gm16-nd-Bdc9AF2V.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-BUfBB52j.js → player-account-gaming-limits-page-2-gm16-nd-DCs5ekLS.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CQXdZ8f4.js → player-account-gaming-limits-page-2-gm16-nd-jL3g5EM3.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-BBsuNmoR.js → player-account-gaming-limits-popup-C-FxPjHK.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-DEO7lTSD.js → player-account-gaming-limits-popup-NmLrg23B.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-BzM5_dTF.cjs → player-account-gaming-limits-popup-q2ChaCJV.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-4ozoGun3.js → player-account-gaming-limits-wrapper-2-nd-B1CLqxg8.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-miug8Ajh.cjs → player-account-gaming-limits-wrapper-2-nd-Ct4Ot1zY.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-_Z_wXEpe.js → player-account-gaming-limits-wrapper-2-nd-N9xKrQL4.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-x52iq0YJ.js → player-account-general-confirmation-modal-C_falRjk.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-DdE0jwHh.cjs → player-account-general-confirmation-modal-PTOjbtqO.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-x8QuV9Cd.js → player-account-general-confirmation-modal-tWM1iF7D.js} +1 -1
- package/lazy/{player-account-menu-nd-CL82HZd_.js → player-account-menu-nd-BUXebTFM.js} +1 -1
- package/lazy/{player-account-menu-nd-Czpr7no8.js → player-account-menu-nd-ByiaAuBh.js} +1 -1
- package/lazy/{player-account-menu-nd-Bpzvx_LO.cjs → player-account-menu-nd-D57UZIdB.cjs} +1 -1
- package/lazy/{player-account-modal-CIoIScmM.js → player-account-modal-C_OUrtid.js} +1 -1
- package/lazy/{player-account-modal-DBLRe1Ex.cjs → player-account-modal-Dhnkrozt.cjs} +1 -1
- package/lazy/{player-account-modal-BL5t02yq.js → player-account-modal-DmNBMFMU.js} +1 -1
- package/lazy/{player-account-notifications-C4bh2YR5.js → player-account-notifications-BUT2JjWt.js} +1 -1
- package/lazy/{player-account-notifications-BWRxLwXW.cjs → player-account-notifications-PdMNdxWj.cjs} +1 -1
- package/lazy/{player-account-notifications-CMILNc9l.js → player-account-notifications-fxN7fdL1.js} +1 -1
- package/lazy/{player-account-product-restriction-DnQksvCD.js → player-account-product-restriction-DJQ6_-Qa.js} +1 -1
- package/lazy/{player-account-product-restriction-DsA5hhnI.js → player-account-product-restriction-Dl4xRpdd.js} +1 -1
- package/lazy/{player-account-product-restriction-Ji8vQJo8.cjs → player-account-product-restriction-RKQRrg0d.cjs} +1 -1
- package/lazy/{player-account-review-frequency-vePlrMAE.js → player-account-review-frequency-C8e3Ofe6.js} +1 -1
- package/lazy/{player-account-review-frequency-aAg_2V4X.cjs → player-account-review-frequency-CaFEVUiS.cjs} +1 -1
- package/lazy/{player-account-review-frequency-4VFneOty.js → player-account-review-frequency-Dbt7jaw2.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-BSIQn2TM.cjs → player-account-self-exclusion-nd-C3m55rUx.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-CEaC31x8.js → player-account-self-exclusion-nd-CMzyeF2O.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-Bx062VTE.js → player-account-self-exclusion-nd-igOQinVk.js} +1 -1
- package/lazy/{player-account-timeout-DbNdLVYa.js → player-account-timeout-B036_0d9.js} +1 -1
- package/lazy/{player-account-timeout-DoHH77Rp.js → player-account-timeout-BEUUFWEp.js} +1 -1
- package/lazy/{player-account-timeout-BxtlDR7r.cjs → player-account-timeout-BMpiKef8.cjs} +1 -1
- package/lazy/{player-account-transactions-history-DXhhuvHq.js → player-account-transactions-history-BnoNxzuA.js} +1 -1
- package/lazy/{player-account-transactions-history-CIY8swrv.js → player-account-transactions-history-CyT_-CGQ.js} +1 -1
- package/lazy/{player-account-transactions-history-Dj7UF5dc.cjs → player-account-transactions-history-TfnyUsxn.cjs} +1 -1
- package/lazy/{player-active-bonuses-Khr8VT6p.js → player-active-bonuses-C6aV91wc.js} +1 -1
- package/lazy/{player-active-bonuses-BaDYXmq2.cjs → player-active-bonuses-CsFNdeVv.cjs} +1 -1
- package/lazy/{player-active-bonuses-DByUKN7e.js → player-active-bonuses-DqiT3imY.js} +1 -1
- package/lazy/{player-bonus-card-D9HNTP66.js → player-bonus-card-BkThed60.js} +1 -1
- package/lazy/{player-bonus-card-D6lljebJ.js → player-bonus-card-CmK7JuVs.js} +1 -1
- package/lazy/{player-bonus-card-DnjPmaCI.cjs → player-bonus-card-DDxqinXp.cjs} +1 -1
- package/lazy/{player-bonus-history-Bsx-OEjJ.cjs → player-bonus-history-B90I1d8P.cjs} +1 -1
- package/lazy/{player-bonus-history-CD3XVV-z.js → player-bonus-history-BTmzGOZd.js} +1 -1
- package/lazy/{player-bonus-history-CxwzP2u2.js → player-bonus-history-BjewgN6o.js} +1 -1
- package/lazy/{player-change-password-nd-C0KM4Gk8.js → player-change-password-nd--Eu7RVPL.js} +1 -1
- package/lazy/{player-change-password-nd-CRfRqZP8.js → player-change-password-nd-CYgC2SpI.js} +1 -1
- package/lazy/{player-change-password-nd-D3wLNqpo.cjs → player-change-password-nd-CcOG3Nyt.cjs} +1 -1
- package/lazy/{player-deposit-Dx-r2oaE.js → player-deposit-CCOOcgA1.js} +1 -1
- package/lazy/{player-deposit-BcJI6bUC.cjs → player-deposit-CqMXvpaZ.cjs} +1 -1
- package/lazy/{player-deposit-AmkNyXVI.js → player-deposit-zE7TJYA1.js} +1 -1
- package/lazy/{player-gaming-history-DHASAZeW.cjs → player-gaming-history-CC0GsrpC.cjs} +1 -1
- package/lazy/{player-gaming-history-DW8EeH6b.js → player-gaming-history-CXi3vfwK.js} +1 -1
- package/lazy/{player-gaming-history-_TJLCkKO.js → player-gaming-history-W5sKfQCt.js} +1 -1
- package/lazy/{player-kyc-verification-CzP6GbxM.js → player-kyc-verification-BCZaFaTM.js} +2 -3
- package/lazy/{player-kyc-verification-qxyiuQFV.js → player-kyc-verification-CCSlizSF.js} +2 -3
- package/lazy/{player-pending-withdrawals-BoZRt0Zx.js → player-pending-withdrawals-BEyih5KL.js} +1 -1
- package/lazy/{player-pending-withdrawals-r2KpAFvQ.js → player-pending-withdrawals-C9x40s9Q.js} +1 -1
- package/lazy/{player-pending-withdrawals-CC_1Dn8R.cjs → player-pending-withdrawals-CrKrRCCj.cjs} +1 -1
- package/lazy/{player-profile-info-BBLnjY90.cjs → player-profile-info-CQYbmwAF.cjs} +1 -1
- package/lazy/{player-profile-info-Df0cbh-E.js → player-profile-info-Ch4sM284.js} +1 -1
- package/lazy/{player-profile-info-D_gHtcXG.js → player-profile-info-DJFe5Jxb.js} +1 -1
- package/lazy/{player-reality-check-ENdrYgmc.js → player-reality-check-BTj6SqVv.js} +1 -1
- package/lazy/{player-reality-check-Cc2gytwr.js → player-reality-check-CBG_fMO9.js} +1 -1
- package/lazy/{player-reality-check-ce2pcAaK.cjs → player-reality-check-Cwcwss6e.cjs} +1 -1
- package/lazy/{player-transaction-history-I_pu9eO-.cjs → player-transaction-history-BIvw4k1U.cjs} +1 -1
- package/lazy/{player-transaction-history-BGR9tKcW.js → player-transaction-history-D1OE0Quq.js} +1 -1
- package/lazy/{player-transaction-history-DuPUuF40.js → player-transaction-history-h8r2RnJt.js} +1 -1
- package/lazy/{player-withdrawal-DHvHyNrV.js → player-withdrawal-Bqkfqbul.js} +1 -1
- package/lazy/{player-withdrawal-Drv1YDwt.cjs → player-withdrawal-CXGIJvjX.cjs} +1 -1
- package/lazy/{player-withdrawal-CRb2DJ-C.js → player-withdrawal-DO_9su_q.js} +1 -1
- package/lazy/{qr-session-generator-B2klSHg4.js → qr-session-generator-BER1sOvn.js} +1 -1
- package/lazy/{qr-session-generator-B-FCQITY.cjs → qr-session-generator-C3ny9pzb.cjs} +1 -1
- package/lazy/{qr-session-generator-B-Qbaq1s.js → qr-session-generator-WfzXLYdK.js} +1 -1
- package/lazy/{ui-skeleton-D_9rhDxL.js → ui-skeleton-BY0RPGFe.js} +2 -3
- package/lazy/{ui-skeleton-BBQWByBl.js → ui-skeleton-X4nG3YRg.js} +2 -3
- package/lazy/{user-deposit-withdrawal-d9iF0j_x.js → user-deposit-withdrawal-CW2M1VxT.js} +22 -24
- package/lazy/{user-deposit-withdrawal-CoRVJsis.js → user-deposit-withdrawal-DSpPqpYe.js} +22 -24
- package/lazy/{user-transaction-history-Djawy1ZV.cjs → user-transaction-history-BotBOUvU.cjs} +1 -1
- package/lazy/{user-transaction-history-aIst3Kg0.js → user-transaction-history-CPk9X09g.js} +23 -25
- package/lazy/{user-transaction-history-BmB73QI_.js → user-transaction-history-CrRzN-Te.js} +23 -25
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-Ct_58vrG.js → checkbox-group-input_16-41494D-0.js} +471 -823
- package/stencil/{checkbox-group-input_16-BNFLgAEe.js → checkbox-group-input_16-D6LWZJu6.js} +471 -823
- package/stencil/{checkbox-group-input_16-D2G5IVGH.cjs → checkbox-group-input_16-mmCvpN9q.cjs} +2 -2
- package/stencil/{pam-change-password-173e4b25-Cfp_QE3-.js → pam-change-password-173e4b25-BBLKAOOj.js} +4 -7
- package/stencil/{pam-change-password-173e4b25-D4_5ZrVs.js → pam-change-password-173e4b25-Cmr-X1N4.js} +4 -7
- package/stencil/{pam-change-password-173e4b25-CZfB3WXD.cjs → pam-change-password-173e4b25-D9eRF4Nt.cjs} +1 -1
- package/stencil/{pam-change-password-Cy5rTiCb.js → pam-change-password-CDrVbMgt.js} +2 -2
- package/stencil/{pam-change-password-CSlnUJXh.cjs → pam-change-password-D8zIOztx.cjs} +1 -1
- package/stencil/{pam-change-password-C2WYWYwE.js → pam-change-password-jQlm4Ntx.js} +2 -2
- package/stencil/{player-kyc-verification-D_rF_mQm.js → player-kyc-verification-B29q2vLG.js} +4 -7
- package/stencil/{player-kyc-verification-DxrMs1Nv.js → player-kyc-verification-k-PCXQJX.js} +4 -7
- package/stencil/{player-step-up-auth_2-D4i7tfhP.js → player-step-up-auth_2-C-cJSHQZ.js} +26 -51
- package/stencil/{player-step-up-auth_2-BdP6VjsY.js → player-step-up-auth_2-DfgrMpFE.js} +26 -51
- package/stencil/{ui-skeleton-fEyshHrf.js → ui-skeleton-CSmLZsc_.js} +2 -2
- package/stencil/{ui-skeleton-Dd7tqzYw.js → ui-skeleton-D0qfL-IU.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-DMVI4VdD.js → ui-skeleton-ed169f8f-BYlKntRA.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-W8BHwBHY.js → ui-skeleton-ed169f8f-Bpwbv5t6.js} +1 -1
- package/stencil/{user-deposit-withdrawal-CC2LR4wK.js → user-deposit-withdrawal-3gchXK1B.js} +2 -2
- package/stencil/{user-deposit-withdrawal-BrzuBosZ.js → user-deposit-withdrawal-AIGWdUm_.js} +2 -2
- package/stencil/{user-transaction-history-BOBJWKcb.cjs → user-transaction-history-C6AKFwdI.cjs} +1 -1
- package/stencil/{user-transaction-history-C20PiMa8.js → user-transaction-history-CYiC9O9-.js} +2 -2
- package/stencil/{user-transaction-history-C9LS9_nf.js → user-transaction-history-DU1vLXrT.js} +2 -2
- package/stencil/{user-transaction-history_2-DQiK7wWw.js → user-transaction-history_2-B4cqW1zN.js} +472 -827
- package/stencil/{user-transaction-history_2-TdcvgBHP.cjs → user-transaction-history_2-B_I6pgbz.cjs} +2 -2
- package/stencil/{user-transaction-history_2-DXgLBYyf.js → user-transaction-history_2-C0gXLzko.js} +472 -827
- package/components/GeneralLogout-C5n5m71X.cjs +0 -1
- package/components/GeneralLogout-C8E8aXMD.js +0 -300
- package/components/GeneralLogout-DMFKYWMf.js +0 -300
- package/components/PlayerAccountControllerNd-e1VySKxR.cjs +0 -21
- package/components/PlayerAccountMenuNd-D3FRbsrU.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as ie, c as O, h as u, g as zt, H as Oo, f as xa } from "../lazy/pam-change-password-
|
|
2
|
-
import { s as L, a as oe, b as oi } from "./pam-change-password-173e4b25-
|
|
3
|
-
import { P as vv } from "./pam-change-password-173e4b25-
|
|
1
|
+
import { r as ie, c as O, h as u, g as zt, H as Oo, f as xa } from "../lazy/pam-change-password-CQt7gN7c.js";
|
|
2
|
+
import { s as L, a as oe, b as oi } from "./pam-change-password-173e4b25-BBLKAOOj.js";
|
|
3
|
+
import { P as vv } from "./pam-change-password-173e4b25-BBLKAOOj.js";
|
|
4
4
|
const $s = "en", Ye = {
|
|
5
5
|
en: {
|
|
6
6
|
dateError: "The selected date should be between {min} and {max}",
|
|
@@ -1602,11 +1602,9 @@ function Ol(i, e) {
|
|
|
1602
1602
|
function Vl(i) {
|
|
1603
1603
|
return function(e) {
|
|
1604
1604
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.match(i.matchPattern);
|
|
1605
|
-
if (!r)
|
|
1606
|
-
return null;
|
|
1605
|
+
if (!r) return null;
|
|
1607
1606
|
var a = r[0], o = e.match(i.parsePattern);
|
|
1608
|
-
if (!o)
|
|
1609
|
-
return null;
|
|
1607
|
+
if (!o) return null;
|
|
1610
1608
|
var n = i.valueCallback ? i.valueCallback(o[0]) : o[0];
|
|
1611
1609
|
n = t.valueCallback ? t.valueCallback(n) : n;
|
|
1612
1610
|
var s = e.slice(a.length);
|
|
@@ -1763,14 +1761,12 @@ function ed(i) {
|
|
|
1763
1761
|
}
|
|
1764
1762
|
function Ia(i, e) {
|
|
1765
1763
|
(e == null || e > i.length) && (e = i.length);
|
|
1766
|
-
for (var t = 0, r = Array(e); t < e; t++)
|
|
1767
|
-
r[t] = i[t];
|
|
1764
|
+
for (var t = 0, r = Array(e); t < e; t++) r[t] = i[t];
|
|
1768
1765
|
return r;
|
|
1769
1766
|
}
|
|
1770
1767
|
function td(i, e) {
|
|
1771
1768
|
if (i) {
|
|
1772
|
-
if (typeof i == "string")
|
|
1773
|
-
return Ia(i, e);
|
|
1769
|
+
if (typeof i == "string") return Ia(i, e);
|
|
1774
1770
|
var t = {}.toString.call(i).slice(8, -1);
|
|
1775
1771
|
return t === "Object" && i.constructor && (t = i.constructor.name), t === "Map" || t === "Set" ? Array.from(i) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Ia(i, e) : void 0;
|
|
1776
1772
|
}
|
|
@@ -1817,8 +1813,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1817
1813
|
try {
|
|
1818
1814
|
n || t.return == null || t.return();
|
|
1819
1815
|
} finally {
|
|
1820
|
-
if (s)
|
|
1821
|
-
throw o;
|
|
1816
|
+
if (s) throw o;
|
|
1822
1817
|
}
|
|
1823
1818
|
}
|
|
1824
1819
|
};
|
|
@@ -1831,8 +1826,7 @@ function id(i, e) {
|
|
|
1831
1826
|
return i;
|
|
1832
1827
|
}
|
|
1833
1828
|
function _(i) {
|
|
1834
|
-
if (i === void 0)
|
|
1835
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1829
|
+
if (i === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1836
1830
|
return i;
|
|
1837
1831
|
}
|
|
1838
1832
|
function ir(i, e) {
|
|
@@ -1841,8 +1835,7 @@ function ir(i, e) {
|
|
|
1841
1835
|
}, ir(i, e);
|
|
1842
1836
|
}
|
|
1843
1837
|
function T(i, e) {
|
|
1844
|
-
if (typeof e != "function" && e !== null)
|
|
1845
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
1838
|
+
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1846
1839
|
i.prototype = Object.create(e && e.prototype, {
|
|
1847
1840
|
constructor: {
|
|
1848
1841
|
value: i,
|
|
@@ -1869,10 +1862,8 @@ function qo() {
|
|
|
1869
1862
|
})();
|
|
1870
1863
|
}
|
|
1871
1864
|
function rd(i, e) {
|
|
1872
|
-
if (e && (ke(e) == "object" || typeof e == "function"))
|
|
1873
|
-
|
|
1874
|
-
if (e !== void 0)
|
|
1875
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1865
|
+
if (e && (ke(e) == "object" || typeof e == "function")) return e;
|
|
1866
|
+
if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1876
1867
|
return _(i);
|
|
1877
1868
|
}
|
|
1878
1869
|
function P(i) {
|
|
@@ -1882,23 +1873,19 @@ function P(i) {
|
|
|
1882
1873
|
if (e) {
|
|
1883
1874
|
var a = si(this).constructor;
|
|
1884
1875
|
t = Reflect.construct(r, arguments, a);
|
|
1885
|
-
} else
|
|
1886
|
-
t = r.apply(this, arguments);
|
|
1876
|
+
} else t = r.apply(this, arguments);
|
|
1887
1877
|
return rd(this, t);
|
|
1888
1878
|
};
|
|
1889
1879
|
}
|
|
1890
1880
|
function C(i, e) {
|
|
1891
|
-
if (!(i instanceof e))
|
|
1892
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1881
|
+
if (!(i instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
1893
1882
|
}
|
|
1894
1883
|
function ad(i, e) {
|
|
1895
|
-
if (ke(i) != "object" || !i)
|
|
1896
|
-
return i;
|
|
1884
|
+
if (ke(i) != "object" || !i) return i;
|
|
1897
1885
|
var t;
|
|
1898
1886
|
if (typeof Symbol < "u" && (t = i[Symbol.toPrimitive]) !== void 0) {
|
|
1899
1887
|
var r = t.call(i, e);
|
|
1900
|
-
if (ke(r) != "object")
|
|
1901
|
-
return r;
|
|
1888
|
+
if (ke(r) != "object") return r;
|
|
1902
1889
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1903
1890
|
}
|
|
1904
1891
|
return (e === "string" ? String : Number)(i);
|
|
@@ -3614,8 +3601,7 @@ function Ie(i, e, t, r) {
|
|
|
3614
3601
|
};
|
|
3615
3602
|
for (ne.s(); !(Oe = ne.n()).done; ) {
|
|
3616
3603
|
var fa = Rs();
|
|
3617
|
-
if (ke(fa) === "object")
|
|
3618
|
-
return fa.v;
|
|
3604
|
+
if (ke(fa) === "object") return fa.v;
|
|
3619
3605
|
}
|
|
3620
3606
|
} catch (K) {
|
|
3621
3607
|
ne.e(K);
|
|
@@ -3952,13 +3938,10 @@ function lh(i, e, t, r = !1) {
|
|
|
3952
3938
|
return e;
|
|
3953
3939
|
}
|
|
3954
3940
|
var dh = Object.defineProperty, hh = Object.defineProperties, ch = Object.getOwnPropertyDescriptors, Oa = Object.getOwnPropertySymbols, uh = Object.prototype.hasOwnProperty, ph = Object.prototype.propertyIsEnumerable, rr = (i, e, t) => e in i ? dh(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, di = (i, e) => {
|
|
3955
|
-
for (var t in e || (e = {}))
|
|
3956
|
-
|
|
3957
|
-
if (Oa)
|
|
3958
|
-
for (var t of Oa(e))
|
|
3959
|
-
ph.call(e, t) && rr(i, t, e[t]);
|
|
3941
|
+
for (var t in e || (e = {})) uh.call(e, t) && rr(i, t, e[t]);
|
|
3942
|
+
if (Oa) for (var t of Oa(e)) ph.call(e, t) && rr(i, t, e[t]);
|
|
3960
3943
|
return i;
|
|
3961
|
-
}, Xo = (i, e) => hh(i, ch(e)), ee = (i, e, t) =>
|
|
3944
|
+
}, Xo = (i, e) => hh(i, ch(e)), ee = (i, e, t) => rr(i, typeof e != "symbol" ? e + "" : e, t), hi = (i, e, t) => new Promise((r, a) => {
|
|
3962
3945
|
var o = (l) => {
|
|
3963
3946
|
try {
|
|
3964
3947
|
s(t.next(l));
|
|
@@ -3984,8 +3967,7 @@ function w(i, e = "24.5.10") {
|
|
|
3984
3967
|
return e;
|
|
3985
3968
|
} });
|
|
3986
3969
|
const t = customElements.get(i.is);
|
|
3987
|
-
if (!t)
|
|
3988
|
-
customElements.define(i.is, i);
|
|
3970
|
+
if (!t) customElements.define(i.is, i);
|
|
3989
3971
|
else {
|
|
3990
3972
|
const r = t.version;
|
|
3991
3973
|
r && i.version && r === i.version ? console.warn(`The component ${i.is} has been loaded twice`) : console.error(`Tried to define ${i.is} version ${i.version} when version ${t.version} is already in use. Something will probably break.`);
|
|
@@ -4010,8 +3992,7 @@ w(mh);
|
|
|
4010
3992
|
const ii = globalThis, Dr = ii.ShadowRoot && (ii.ShadyCSS === void 0 || ii.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Or = Symbol(), Va = /* @__PURE__ */ new WeakMap();
|
|
4011
3993
|
let Vr = class {
|
|
4012
3994
|
constructor(i, e, t) {
|
|
4013
|
-
if (this._$cssResult$ = !0, t !== Or)
|
|
4014
|
-
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
3995
|
+
if (this._$cssResult$ = !0, t !== Or) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
4015
3996
|
this.cssText = i, this.t = e;
|
|
4016
3997
|
}
|
|
4017
3998
|
get styleSheet() {
|
|
@@ -4029,25 +4010,20 @@ let Vr = class {
|
|
|
4029
4010
|
};
|
|
4030
4011
|
const fh = (i) => new Vr(typeof i == "string" ? i : i + "", void 0, Or), f = (i, ...e) => {
|
|
4031
4012
|
const t = i.length === 1 ? i[0] : e.reduce((r, a, o) => r + ((n) => {
|
|
4032
|
-
if (n._$cssResult$ === !0)
|
|
4033
|
-
|
|
4034
|
-
if (typeof n == "number")
|
|
4035
|
-
return n;
|
|
4013
|
+
if (n._$cssResult$ === !0) return n.cssText;
|
|
4014
|
+
if (typeof n == "number") return n;
|
|
4036
4015
|
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.");
|
|
4037
4016
|
})(a) + i[o + 1], i[0]);
|
|
4038
4017
|
return new Vr(t, i, Or);
|
|
4039
4018
|
}, Qo = (i, e) => {
|
|
4040
|
-
if (Dr)
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
a !== void 0 && r.setAttribute("nonce", a), r.textContent = t.cssText, i.appendChild(r);
|
|
4046
|
-
}
|
|
4019
|
+
if (Dr) i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
4020
|
+
else for (const t of e) {
|
|
4021
|
+
const r = document.createElement("style"), a = ii.litNonce;
|
|
4022
|
+
a !== void 0 && r.setAttribute("nonce", a), r.textContent = t.cssText, i.appendChild(r);
|
|
4023
|
+
}
|
|
4047
4024
|
}, Ma = Dr ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
|
|
4048
4025
|
let t = "";
|
|
4049
|
-
for (const r of e.cssRules)
|
|
4050
|
-
t += r.cssText;
|
|
4026
|
+
for (const r of e.cssRules) t += r.cssText;
|
|
4051
4027
|
return fh(t);
|
|
4052
4028
|
})(i) : i;
|
|
4053
4029
|
/**
|
|
@@ -4116,25 +4092,20 @@ let We = class extends HTMLElement {
|
|
|
4116
4092
|
return (e = this.elementProperties.get(i)) != null ? e : La;
|
|
4117
4093
|
}
|
|
4118
4094
|
static _$Ei() {
|
|
4119
|
-
if (this.hasOwnProperty(xt("elementProperties")))
|
|
4120
|
-
return;
|
|
4095
|
+
if (this.hasOwnProperty(xt("elementProperties"))) return;
|
|
4121
4096
|
const i = wh(this);
|
|
4122
4097
|
i.finalize(), i.l !== void 0 && (this.l = [...i.l]), this.elementProperties = new Map(i.elementProperties);
|
|
4123
4098
|
}
|
|
4124
4099
|
static finalize() {
|
|
4125
|
-
if (this.hasOwnProperty(xt("finalized")))
|
|
4126
|
-
return;
|
|
4100
|
+
if (this.hasOwnProperty(xt("finalized"))) return;
|
|
4127
4101
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(xt("properties"))) {
|
|
4128
4102
|
const e = this.properties, t = [...bh(e), ...yh(e)];
|
|
4129
|
-
for (const r of t)
|
|
4130
|
-
this.createProperty(r, e[r]);
|
|
4103
|
+
for (const r of t) this.createProperty(r, e[r]);
|
|
4131
4104
|
}
|
|
4132
4105
|
const i = this[Symbol.metadata];
|
|
4133
4106
|
if (i !== null) {
|
|
4134
4107
|
const e = litPropertyMetadata.get(i);
|
|
4135
|
-
if (e !== void 0)
|
|
4136
|
-
for (const [t, r] of e)
|
|
4137
|
-
this.elementProperties.set(t, r);
|
|
4108
|
+
if (e !== void 0) for (const [t, r] of e) this.elementProperties.set(t, r);
|
|
4138
4109
|
}
|
|
4139
4110
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
4140
4111
|
for (const [e, t] of this.elementProperties) {
|
|
@@ -4147,10 +4118,8 @@ let We = class extends HTMLElement {
|
|
|
4147
4118
|
const e = [];
|
|
4148
4119
|
if (Array.isArray(i)) {
|
|
4149
4120
|
const t = new Set(i.flat(1 / 0).reverse());
|
|
4150
|
-
for (const r of t)
|
|
4151
|
-
|
|
4152
|
-
} else
|
|
4153
|
-
i !== void 0 && e.push(Ma(i));
|
|
4121
|
+
for (const r of t) e.unshift(Ma(r));
|
|
4122
|
+
} else i !== void 0 && e.push(Ma(i));
|
|
4154
4123
|
return e;
|
|
4155
4124
|
}
|
|
4156
4125
|
static _$Eu(i, e) {
|
|
@@ -4174,8 +4143,7 @@ let We = class extends HTMLElement {
|
|
|
4174
4143
|
}
|
|
4175
4144
|
_$E_() {
|
|
4176
4145
|
const i = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
4177
|
-
for (const t of e.keys())
|
|
4178
|
-
this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
|
|
4146
|
+
for (const t of e.keys()) this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
|
|
4179
4147
|
i.size > 0 && (this._$Ep = i);
|
|
4180
4148
|
}
|
|
4181
4149
|
createRenderRoot() {
|
|
@@ -4224,8 +4192,7 @@ let We = class extends HTMLElement {
|
|
|
4224
4192
|
var o, n;
|
|
4225
4193
|
if (i !== void 0) {
|
|
4226
4194
|
const s = this.constructor;
|
|
4227
|
-
if (r === !1 && (a = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((o = t.hasChanged) != null ? o : Jo)(a, e) || t.useDefault && t.reflect && a === ((n = this._$Ej) == null ? void 0 : n.get(i)) && !this.hasAttribute(s._$Eu(i, t))))
|
|
4228
|
-
return;
|
|
4195
|
+
if (r === !1 && (a = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((o = t.hasChanged) != null ? o : Jo)(a, e) || t.useDefault && t.reflect && a === ((n = this._$Ej) == null ? void 0 : n.get(i)) && !this.hasAttribute(s._$Eu(i, t)))) return;
|
|
4229
4196
|
this.C(i, e, t);
|
|
4230
4197
|
}
|
|
4231
4198
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -4251,20 +4218,17 @@ let We = class extends HTMLElement {
|
|
|
4251
4218
|
}
|
|
4252
4219
|
performUpdate() {
|
|
4253
4220
|
var i;
|
|
4254
|
-
if (!this.isUpdatePending)
|
|
4255
|
-
return;
|
|
4221
|
+
if (!this.isUpdatePending) return;
|
|
4256
4222
|
if (!this.hasUpdated) {
|
|
4257
4223
|
if (this.renderRoot != null || (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
4258
|
-
for (const [a, o] of this._$Ep)
|
|
4259
|
-
this[a] = o;
|
|
4224
|
+
for (const [a, o] of this._$Ep) this[a] = o;
|
|
4260
4225
|
this._$Ep = void 0;
|
|
4261
4226
|
}
|
|
4262
4227
|
const r = this.constructor.elementProperties;
|
|
4263
|
-
if (r.size > 0)
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
}
|
|
4228
|
+
if (r.size > 0) for (const [a, o] of r) {
|
|
4229
|
+
const { wrapped: n } = o, s = this[a];
|
|
4230
|
+
n !== !0 || this._$AL.has(a) || s === void 0 || this.C(a, void 0, o, s);
|
|
4231
|
+
}
|
|
4268
4232
|
}
|
|
4269
4233
|
let e = !1;
|
|
4270
4234
|
const t = this._$AL;
|
|
@@ -4318,8 +4282,7 @@ const ci = globalThis, Fa = (i) => i, ui = ci.trustedTypes, $a = ui ? ui.createP
|
|
|
4318
4282
|
\f\r]`, mt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ba = /-->/g, Ha = />/g, Ve = RegExp(`>|${$i}(?:([^\\s"'>=/]+)(${$i}*=${$i}*(?:[^
|
|
4319
4283
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ua = /'/g, qa = /"/g, tn = /^(?:script|style|textarea|title)$/i, tt = Symbol.for("lit-noChange"), X = Symbol.for("lit-nothing"), ja = /* @__PURE__ */ new WeakMap(), Ne = Fe.createTreeWalker(Fe, 129);
|
|
4320
4284
|
function rn(i, e) {
|
|
4321
|
-
if (!Mr(i) || !i.hasOwnProperty("raw"))
|
|
4322
|
-
throw Error("invalid template strings array");
|
|
4285
|
+
if (!Mr(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
4323
4286
|
return $a !== void 0 ? $a.createHTML(e) : e;
|
|
4324
4287
|
}
|
|
4325
4288
|
const Eh = (i, e) => {
|
|
@@ -4328,8 +4291,7 @@ const Eh = (i, e) => {
|
|
|
4328
4291
|
for (let s = 0; s < t; s++) {
|
|
4329
4292
|
const l = i[s];
|
|
4330
4293
|
let d, h, c = -1, m = 0;
|
|
4331
|
-
for (; m < l.length && (n.lastIndex = m, h = n.exec(l), h !== null); )
|
|
4332
|
-
m = n.lastIndex, n === mt ? h[1] === "!--" ? n = Ba : h[1] !== void 0 ? n = Ha : h[2] !== void 0 ? (tn.test(h[2]) && (a = RegExp("</" + h[2], "g")), n = Ve) : h[3] !== void 0 && (n = Ve) : n === Ve ? h[0] === ">" ? (n = a ?? mt, c = -1) : h[1] === void 0 ? c = -2 : (c = n.lastIndex - h[2].length, d = h[1], n = h[3] === void 0 ? Ve : h[3] === '"' ? qa : Ua) : n === qa || n === Ua ? n = Ve : n === Ba || n === Ha ? n = mt : (n = Ve, a = void 0);
|
|
4294
|
+
for (; m < l.length && (n.lastIndex = m, h = n.exec(l), h !== null); ) m = n.lastIndex, n === mt ? h[1] === "!--" ? n = Ba : h[1] !== void 0 ? n = Ha : h[2] !== void 0 ? (tn.test(h[2]) && (a = RegExp("</" + h[2], "g")), n = Ve) : h[3] !== void 0 && (n = Ve) : n === Ve ? h[0] === ">" ? (n = a ?? mt, c = -1) : h[1] === void 0 ? c = -2 : (c = n.lastIndex - h[2].length, d = h[1], n = h[3] === void 0 ? Ve : h[3] === '"' ? qa : Ua) : n === qa || n === Ua ? n = Ve : n === Ba || n === Ha ? n = mt : (n = Ve, a = void 0);
|
|
4333
4295
|
const p = n === Ve && i[s + 1].startsWith("/>") ? " " : "";
|
|
4334
4296
|
o += n === mt ? l + Ch : c >= 0 ? (r.push(d), l.slice(0, c) + Zo + l.slice(c) + Te + p) : l + Te + (c === -2 ? s : p);
|
|
4335
4297
|
}
|
|
@@ -4347,30 +4309,23 @@ class St {
|
|
|
4347
4309
|
}
|
|
4348
4310
|
for (; (a = Ne.nextNode()) !== null && l.length < s; ) {
|
|
4349
4311
|
if (a.nodeType === 1) {
|
|
4350
|
-
if (a.hasAttributes())
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
l.push({ type: 1, index: o, name: y[2], strings: p, ctor: y[1] === "." ? Ih : y[1] === "?" ? Th : y[1] === "@" ? Ph : xi }), a.removeAttribute(c);
|
|
4355
|
-
} else
|
|
4356
|
-
c.startsWith(Te) && (l.push({ type: 6, index: o }), a.removeAttribute(c));
|
|
4312
|
+
if (a.hasAttributes()) for (const c of a.getAttributeNames()) if (c.endsWith(Zo)) {
|
|
4313
|
+
const m = h[n++], p = a.getAttribute(c).split(Te), y = /([.?@])?(.*)/.exec(m);
|
|
4314
|
+
l.push({ type: 1, index: o, name: y[2], strings: p, ctor: y[1] === "." ? Ih : y[1] === "?" ? Th : y[1] === "@" ? Ph : xi }), a.removeAttribute(c);
|
|
4315
|
+
} else c.startsWith(Te) && (l.push({ type: 6, index: o }), a.removeAttribute(c));
|
|
4357
4316
|
if (tn.test(a.tagName)) {
|
|
4358
4317
|
const c = a.textContent.split(Te), m = c.length - 1;
|
|
4359
4318
|
if (m > 0) {
|
|
4360
4319
|
a.textContent = ui ? ui.emptyScript : "";
|
|
4361
|
-
for (let p = 0; p < m; p++)
|
|
4362
|
-
a.append(c[p], kt()), Ne.nextNode(), l.push({ type: 2, index: ++o });
|
|
4320
|
+
for (let p = 0; p < m; p++) a.append(c[p], kt()), Ne.nextNode(), l.push({ type: 2, index: ++o });
|
|
4363
4321
|
a.append(c[m], kt());
|
|
4364
4322
|
}
|
|
4365
4323
|
}
|
|
4366
|
-
} else if (a.nodeType === 8)
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
for (; (c = a.data.indexOf(Te, c + 1)) !== -1; )
|
|
4372
|
-
l.push({ type: 7, index: o }), c += Te.length - 1;
|
|
4373
|
-
}
|
|
4324
|
+
} else if (a.nodeType === 8) if (a.data === en) l.push({ type: 2, index: o });
|
|
4325
|
+
else {
|
|
4326
|
+
let c = -1;
|
|
4327
|
+
for (; (c = a.data.indexOf(Te, c + 1)) !== -1; ) l.push({ type: 7, index: o }), c += Te.length - 1;
|
|
4328
|
+
}
|
|
4374
4329
|
o++;
|
|
4375
4330
|
}
|
|
4376
4331
|
}
|
|
@@ -4381,8 +4336,7 @@ class St {
|
|
|
4381
4336
|
}
|
|
4382
4337
|
function it(i, e, t = i, r) {
|
|
4383
4338
|
var a, o, n;
|
|
4384
|
-
if (e === tt)
|
|
4385
|
-
return e;
|
|
4339
|
+
if (e === tt) return e;
|
|
4386
4340
|
let s = r !== void 0 ? (a = t._$Co) == null ? void 0 : a[r] : t._$Cl;
|
|
4387
4341
|
const l = Et(e) ? void 0 : e._$litDirective$;
|
|
4388
4342
|
return s?.constructor !== l && ((o = s?._$AO) == null || o.call(s, !1), l === void 0 ? s = void 0 : (s = new l(i), s._$AT(i, t, r)), r !== void 0 ? ((n = t._$Co) != null ? n : t._$Co = [])[r] = s : t._$Cl = s), s !== void 0 && (e = it(i, s._$AS(i, e.values), s, r)), e;
|
|
@@ -4413,8 +4367,7 @@ class Sh {
|
|
|
4413
4367
|
}
|
|
4414
4368
|
p(e) {
|
|
4415
4369
|
let t = 0;
|
|
4416
|
-
for (const r of this._$AV)
|
|
4417
|
-
r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
|
|
4370
|
+
for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
|
|
4418
4371
|
}
|
|
4419
4372
|
}
|
|
4420
4373
|
class Lt {
|
|
@@ -4452,8 +4405,7 @@ class Lt {
|
|
|
4452
4405
|
$(e) {
|
|
4453
4406
|
var t;
|
|
4454
4407
|
const { values: r, _$litType$: a } = e, o = typeof a == "number" ? this._$AC(e) : (a.el === void 0 && (a.el = St.createElement(rn(a.h, a.h[0]), this.options)), a);
|
|
4455
|
-
if (((t = this._$AH) == null ? void 0 : t._$AD) === o)
|
|
4456
|
-
this._$AH.p(r);
|
|
4408
|
+
if (((t = this._$AH) == null ? void 0 : t._$AD) === o) this._$AH.p(r);
|
|
4457
4409
|
else {
|
|
4458
4410
|
const n = new Sh(o, this), s = n.u(this.options);
|
|
4459
4411
|
n.p(r), this.T(s), this._$AH = n;
|
|
@@ -4467,8 +4419,7 @@ class Lt {
|
|
|
4467
4419
|
Mr(this._$AH) || (this._$AH = [], this._$AR());
|
|
4468
4420
|
const t = this._$AH;
|
|
4469
4421
|
let r, a = 0;
|
|
4470
|
-
for (const o of e)
|
|
4471
|
-
a === t.length ? t.push(r = new Lt(this.O(kt()), this.O(kt()), this, this.options)) : r = t[a], r._$AI(o), a++;
|
|
4422
|
+
for (const o of e) a === t.length ? t.push(r = new Lt(this.O(kt()), this.O(kt()), this, this.options)) : r = t[a], r._$AI(o), a++;
|
|
4472
4423
|
a < t.length && (this._$AR(r && r._$AB.nextSibling, a), t.length = a);
|
|
4473
4424
|
}
|
|
4474
4425
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -4496,13 +4447,11 @@ class xi {
|
|
|
4496
4447
|
_$AI(e, t = this, r, a) {
|
|
4497
4448
|
const o = this.strings;
|
|
4498
4449
|
let n = !1;
|
|
4499
|
-
if (o === void 0)
|
|
4500
|
-
e = it(this, e, t, 0), n = !Et(e) || e !== this._$AH && e !== tt, n && (this._$AH = e);
|
|
4450
|
+
if (o === void 0) e = it(this, e, t, 0), n = !Et(e) || e !== this._$AH && e !== tt, n && (this._$AH = e);
|
|
4501
4451
|
else {
|
|
4502
4452
|
const s = e;
|
|
4503
4453
|
let l, d;
|
|
4504
|
-
for (e = o[0], l = 0; l < o.length - 1; l++)
|
|
4505
|
-
d = it(this, s[r + l], t, l), d === tt && (d = this._$AH[l]), n || (n = !Et(d) || d !== this._$AH[l]), d === X ? e = X : e !== X && (e += (d ?? "") + o[l + 1]), this._$AH[l] = d;
|
|
4454
|
+
for (e = o[0], l = 0; l < o.length - 1; l++) d = it(this, s[r + l], t, l), d === tt && (d = this._$AH[l]), n || (n = !Et(d) || d !== this._$AH[l]), d === X ? e = X : e !== X && (e += (d ?? "") + o[l + 1]), this._$AH[l] = d;
|
|
4506
4455
|
}
|
|
4507
4456
|
n && !a && this.j(e);
|
|
4508
4457
|
}
|
|
@@ -4532,8 +4481,7 @@ class Ph extends xi {
|
|
|
4532
4481
|
}
|
|
4533
4482
|
_$AI(e, t = this) {
|
|
4534
4483
|
var r;
|
|
4535
|
-
if ((e = (r = it(this, e, t, 0)) != null ? r : X) === tt)
|
|
4536
|
-
return;
|
|
4484
|
+
if ((e = (r = it(this, e, t, 0)) != null ? r : X) === tt) return;
|
|
4537
4485
|
const a = this._$AH, o = e === X && a !== X || e.capture !== a.capture || e.once !== a.once || e.passive !== a.passive, n = e !== X && (a === X || o);
|
|
4538
4486
|
o && this.element.removeEventListener(this.name, this, a), n && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
4539
4487
|
}
|
|
@@ -4647,11 +4595,9 @@ function Vh(i, e) {
|
|
|
4647
4595
|
t.id = pi, t.textContent = ln(i), e.content.appendChild(t);
|
|
4648
4596
|
}
|
|
4649
4597
|
function Mh(i) {
|
|
4650
|
-
if (!i.shadowRoot)
|
|
4651
|
-
return;
|
|
4598
|
+
if (!i.shadowRoot) return;
|
|
4652
4599
|
const e = i.constructor;
|
|
4653
|
-
if (i instanceof Ge)
|
|
4654
|
-
[...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), Qo(i.shadowRoot, e.elementStyles);
|
|
4600
|
+
if (i instanceof Ge) [...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), Qo(i.shadowRoot, e.elementStyles);
|
|
4655
4601
|
else {
|
|
4656
4602
|
const t = i.shadowRoot.getElementById(pi), r = e.prototype._template;
|
|
4657
4603
|
t.textContent = r.content.getElementById(pi).textContent;
|
|
@@ -4664,8 +4610,7 @@ function Nh(i) {
|
|
|
4664
4610
|
});
|
|
4665
4611
|
}
|
|
4666
4612
|
function dn(i) {
|
|
4667
|
-
if (i.prototype instanceof Ge)
|
|
4668
|
-
i.elementStyles = i.finalizeStyles(i.styles);
|
|
4613
|
+
if (i.prototype instanceof Ge) i.elementStyles = i.finalizeStyles(i.styles);
|
|
4669
4614
|
else {
|
|
4670
4615
|
const e = i.prototype._template;
|
|
4671
4616
|
e.content.getElementById(pi).textContent = ln(i.getStylesForThis());
|
|
@@ -4710,8 +4655,7 @@ const z = (i) => class extends Ci(i) {
|
|
|
4710
4655
|
super(), or.add(new WeakRef(this));
|
|
4711
4656
|
}
|
|
4712
4657
|
static finalize() {
|
|
4713
|
-
if (super.finalize(), this.is && Nr.add(this.is), this.elementStyles)
|
|
4714
|
-
return;
|
|
4658
|
+
if (super.finalize(), this.is && Nr.add(this.is), this.elementStyles) return;
|
|
4715
4659
|
const e = this.prototype._template;
|
|
4716
4660
|
!e || nn(this) || Vh(this.getStylesForThis(), e);
|
|
4717
4661
|
}
|
|
@@ -5618,8 +5562,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
5618
5562
|
*/
|
|
5619
5563
|
let Gh = /(url\()([^)]*)(\))/g, Kh = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Gt, se;
|
|
5620
5564
|
function Ct(i, e) {
|
|
5621
|
-
if (i && Kh.test(i) || i === "//")
|
|
5622
|
-
return i;
|
|
5565
|
+
if (i && Kh.test(i) || i === "//") return i;
|
|
5623
5566
|
if (Gt === void 0) {
|
|
5624
5567
|
Gt = !1;
|
|
5625
5568
|
try {
|
|
@@ -5628,12 +5571,11 @@ function Ct(i, e) {
|
|
|
5628
5571
|
} catch {
|
|
5629
5572
|
}
|
|
5630
5573
|
}
|
|
5631
|
-
if (e || (e = document.baseURI || window.location.href), Gt)
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
}
|
|
5574
|
+
if (e || (e = document.baseURI || window.location.href), Gt) try {
|
|
5575
|
+
return new URL(i, e).href;
|
|
5576
|
+
} catch {
|
|
5577
|
+
return i;
|
|
5578
|
+
}
|
|
5637
5579
|
return se || (se = document.implementation.createHTMLDocument("temp"), se.base = se.createElement("base"), se.head.appendChild(se.base), se.anchor = se.createElement("a"), se.body.appendChild(se.anchor)), se.base.href = e, se.anchor.href = i, se.anchor.href || i;
|
|
5638
5580
|
}
|
|
5639
5581
|
function zr(i, e) {
|
|
@@ -5680,8 +5622,7 @@ const W = function(i) {
|
|
|
5680
5622
|
let t = rc++;
|
|
5681
5623
|
function r(a) {
|
|
5682
5624
|
let o = a.__mixinSet;
|
|
5683
|
-
if (o && o[t])
|
|
5684
|
-
return a;
|
|
5625
|
+
if (o && o[t]) return a;
|
|
5685
5626
|
let n = e, s = n.get(a);
|
|
5686
5627
|
if (!s) {
|
|
5687
5628
|
s = i(a), n.set(a, s);
|
|
@@ -5734,8 +5675,7 @@ class Tt extends HTMLElement {
|
|
|
5734
5675
|
}
|
|
5735
5676
|
register(e) {
|
|
5736
5677
|
if (e = e || this.id, e) {
|
|
5737
|
-
if (fi && eo(e) !== void 0)
|
|
5738
|
-
throw Za(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5678
|
+
if (fi && eo(e) !== void 0) throw Za(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5739
5679
|
this.id = e, Za(e, this), ac(this);
|
|
5740
5680
|
}
|
|
5741
5681
|
}
|
|
@@ -5762,14 +5702,12 @@ function io(i) {
|
|
|
5762
5702
|
}
|
|
5763
5703
|
function sc(i) {
|
|
5764
5704
|
const e = i.trim().split(/\s+/), t = [];
|
|
5765
|
-
for (let r = 0; r < e.length; r++)
|
|
5766
|
-
t.push(...lc(e[r]));
|
|
5705
|
+
for (let r = 0; r < e.length; r++) t.push(...lc(e[r]));
|
|
5767
5706
|
return t;
|
|
5768
5707
|
}
|
|
5769
5708
|
function lc(i) {
|
|
5770
5709
|
const e = fn(i);
|
|
5771
|
-
if (!e)
|
|
5772
|
-
return console.warn("Could not find style data in module named", i), [];
|
|
5710
|
+
if (!e) return console.warn("Could not find style data in module named", i), [];
|
|
5773
5711
|
if (e._styles === void 0) {
|
|
5774
5712
|
const t = [];
|
|
5775
5713
|
t.push(..._n(e));
|
|
@@ -5804,8 +5742,7 @@ function _n(i) {
|
|
|
5804
5742
|
if (n && !o._unscopedStyle) {
|
|
5805
5743
|
const s = io(o);
|
|
5806
5744
|
s.setAttribute(to, ""), o._unscopedStyle = s;
|
|
5807
|
-
} else
|
|
5808
|
-
o._style || (o._style = io(o));
|
|
5745
|
+
} else o._style || (o._style = io(o));
|
|
5809
5746
|
e.push(n ? o._unscopedStyle : o._style);
|
|
5810
5747
|
}
|
|
5811
5748
|
}
|
|
@@ -5854,12 +5791,10 @@ function bt(i) {
|
|
|
5854
5791
|
let e = [];
|
|
5855
5792
|
for (let t = 0; t < i.length; t++) {
|
|
5856
5793
|
let r = i[t].toString().split(".");
|
|
5857
|
-
for (let a = 0; a < r.length; a++)
|
|
5858
|
-
e.push(r[a]);
|
|
5794
|
+
for (let a = 0; a < r.length; a++) e.push(r[a]);
|
|
5859
5795
|
}
|
|
5860
5796
|
return e.join(".");
|
|
5861
|
-
} else
|
|
5862
|
-
return i;
|
|
5797
|
+
} else return i;
|
|
5863
5798
|
}
|
|
5864
5799
|
function bn(i) {
|
|
5865
5800
|
return Array.isArray(i) ? bt(i).split(".") : i.toString().split(".");
|
|
@@ -5867,8 +5802,7 @@ function bn(i) {
|
|
|
5867
5802
|
function re(i, e, t) {
|
|
5868
5803
|
let r = i, a = bn(e);
|
|
5869
5804
|
for (let o = 0; o < a.length; o++) {
|
|
5870
|
-
if (!r)
|
|
5871
|
-
return;
|
|
5805
|
+
if (!r) return;
|
|
5872
5806
|
let n = a[o];
|
|
5873
5807
|
r = r[n];
|
|
5874
5808
|
}
|
|
@@ -5879,12 +5813,10 @@ function ro(i, e, t) {
|
|
|
5879
5813
|
if (a.length > 1) {
|
|
5880
5814
|
for (let n = 0; n < a.length - 1; n++) {
|
|
5881
5815
|
let s = a[n];
|
|
5882
|
-
if (r = r[s], !r)
|
|
5883
|
-
return;
|
|
5816
|
+
if (r = r[s], !r) return;
|
|
5884
5817
|
}
|
|
5885
5818
|
r[o] = t;
|
|
5886
|
-
} else
|
|
5887
|
-
r[e] = t;
|
|
5819
|
+
} else r[e] = t;
|
|
5888
5820
|
return a.join(".");
|
|
5889
5821
|
}
|
|
5890
5822
|
/**
|
|
@@ -5919,14 +5851,13 @@ function fc() {
|
|
|
5919
5851
|
const i = Ke.length;
|
|
5920
5852
|
for (let e = 0; e < i; e++) {
|
|
5921
5853
|
let t = Ke[e];
|
|
5922
|
-
if (t)
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
}
|
|
5854
|
+
if (t) try {
|
|
5855
|
+
t();
|
|
5856
|
+
} catch (r) {
|
|
5857
|
+
setTimeout(() => {
|
|
5858
|
+
throw r;
|
|
5859
|
+
});
|
|
5860
|
+
}
|
|
5930
5861
|
}
|
|
5931
5862
|
Ke.splice(0, i), wn += i;
|
|
5932
5863
|
}
|
|
@@ -5945,8 +5876,7 @@ const vc = { after(i) {
|
|
|
5945
5876
|
}, cancel(i) {
|
|
5946
5877
|
const e = i - wn;
|
|
5947
5878
|
if (e >= 0) {
|
|
5948
|
-
if (!Ke[e])
|
|
5949
|
-
throw new Error("invalid async handle: " + i);
|
|
5879
|
+
if (!Ke[e]) throw new Error("invalid async handle: " + i);
|
|
5950
5880
|
Ke[e] = null;
|
|
5951
5881
|
}
|
|
5952
5882
|
} };
|
|
@@ -5963,8 +5893,7 @@ const _c = Cn, kn = W((i) => {
|
|
|
5963
5893
|
class e extends i {
|
|
5964
5894
|
static createProperties(r) {
|
|
5965
5895
|
const a = this.prototype;
|
|
5966
|
-
for (let o in r)
|
|
5967
|
-
o in a || a._createPropertyAccessor(o);
|
|
5896
|
+
for (let o in r) o in a || a._createPropertyAccessor(o);
|
|
5968
5897
|
}
|
|
5969
5898
|
static attributeNameForProperty(r) {
|
|
5970
5899
|
return r.toLowerCase();
|
|
@@ -5994,8 +5923,7 @@ const _c = Cn, kn = W((i) => {
|
|
|
5994
5923
|
this.__dataReady = !0, this._flushProperties();
|
|
5995
5924
|
}
|
|
5996
5925
|
_initializeProperties() {
|
|
5997
|
-
for (let r in this.__dataHasAccessor)
|
|
5998
|
-
this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
|
|
5926
|
+
for (let r in this.__dataHasAccessor) this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
|
|
5999
5927
|
}
|
|
6000
5928
|
_initializeInstanceProperties(r) {
|
|
6001
5929
|
Object.assign(this, r);
|
|
@@ -6084,8 +6012,7 @@ const En = {};
|
|
|
6084
6012
|
let Kt = HTMLElement.prototype;
|
|
6085
6013
|
for (; Kt; ) {
|
|
6086
6014
|
let i = Object.getOwnPropertyNames(Kt);
|
|
6087
|
-
for (let e = 0; e < i.length; e++)
|
|
6088
|
-
En[i[e]] = !0;
|
|
6015
|
+
for (let e = 0; e < i.length; e++) En[i[e]] = !0;
|
|
6089
6016
|
Kt = Object.getPrototypeOf(Kt);
|
|
6090
6017
|
}
|
|
6091
6018
|
const gc = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
|
|
@@ -6100,8 +6027,7 @@ const yc = W((i) => {
|
|
|
6100
6027
|
class t extends e {
|
|
6101
6028
|
static createPropertiesForAttributes() {
|
|
6102
6029
|
let a = this.observedAttributes;
|
|
6103
|
-
for (let o = 0; o < a.length; o++)
|
|
6104
|
-
this.prototype._createPropertyAccessor(yn(a[o]));
|
|
6030
|
+
for (let o = 0; o < a.length; o++) this.prototype._createPropertyAccessor(yn(a[o]));
|
|
6105
6031
|
}
|
|
6106
6032
|
static attributeNameForProperty(a) {
|
|
6107
6033
|
return ki(a);
|
|
@@ -6110,8 +6036,7 @@ const yc = W((i) => {
|
|
|
6110
6036
|
this.__dataProto && (this._initializeProtoProperties(this.__dataProto), this.__dataProto = null), super._initializeProperties();
|
|
6111
6037
|
}
|
|
6112
6038
|
_initializeProtoProperties(a) {
|
|
6113
|
-
for (let o in a)
|
|
6114
|
-
this._setProperty(o, a[o]);
|
|
6039
|
+
for (let o in a) this._setProperty(o, a[o]);
|
|
6115
6040
|
}
|
|
6116
6041
|
_ensureAttribute(a, o) {
|
|
6117
6042
|
const n = this;
|
|
@@ -6120,11 +6045,9 @@ const yc = W((i) => {
|
|
|
6120
6045
|
_serializeValue(a) {
|
|
6121
6046
|
switch (typeof a) {
|
|
6122
6047
|
case "object":
|
|
6123
|
-
if (a instanceof Date)
|
|
6124
|
-
return a.toString();
|
|
6048
|
+
if (a instanceof Date) return a.toString();
|
|
6125
6049
|
if (a) {
|
|
6126
|
-
if (gc(a))
|
|
6127
|
-
return a;
|
|
6050
|
+
if (gc(a)) return a;
|
|
6128
6051
|
try {
|
|
6129
6052
|
return JSON.stringify(a);
|
|
6130
6053
|
} catch {
|
|
@@ -6220,19 +6143,14 @@ function Ec(i) {
|
|
|
6220
6143
|
function Sn(i, e) {
|
|
6221
6144
|
let t = e.parentInfo && Sn(i, e.parentInfo);
|
|
6222
6145
|
if (t) {
|
|
6223
|
-
for (let r = t.firstChild, a = 0; r; r = r.nextSibling)
|
|
6224
|
-
|
|
6225
|
-
return r;
|
|
6226
|
-
} else
|
|
6227
|
-
return i;
|
|
6146
|
+
for (let r = t.firstChild, a = 0; r; r = r.nextSibling) if (e.parentIndex === a++) return r;
|
|
6147
|
+
} else return i;
|
|
6228
6148
|
}
|
|
6229
6149
|
function Sc(i, e, t, r) {
|
|
6230
6150
|
r.id && (e[r.id] = t);
|
|
6231
6151
|
}
|
|
6232
6152
|
function Ic(i, e, t) {
|
|
6233
|
-
if (t.events && t.events.length)
|
|
6234
|
-
for (let r = 0, a = t.events, o; r < a.length && (o = a[r]); r++)
|
|
6235
|
-
i._addMethodEventListenerToNode(e, o.name, o.value, i);
|
|
6153
|
+
if (t.events && t.events.length) for (let r = 0, a = t.events, o; r < a.length && (o = a[r]); r++) i._addMethodEventListenerToNode(e, o.name, o.value, i);
|
|
6236
6154
|
}
|
|
6237
6155
|
function Tc(i, e, t, r) {
|
|
6238
6156
|
t.templateInfo && (e._templateInfo = t.templateInfo, e._parentTemplateInfo = r);
|
|
@@ -6259,20 +6177,18 @@ const Ac = W((i) => {
|
|
|
6259
6177
|
return s.localName == "template" && !s.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(s, a, o) || n : s.localName === "slot" && (a.hasInsertionPoint = !0), Cc(s), s.firstChild && this._parseTemplateChildNodes(s, a, o), s.hasAttributes && s.hasAttributes() && (n = this._parseTemplateNodeAttributes(s, a, o) || n), n || o.noted;
|
|
6260
6178
|
}
|
|
6261
6179
|
static _parseTemplateChildNodes(r, a, o) {
|
|
6262
|
-
if (!(r.localName === "script" || r.localName === "style"))
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
r.removeChild(n);
|
|
6270
|
-
continue;
|
|
6271
|
-
}
|
|
6180
|
+
if (!(r.localName === "script" || r.localName === "style")) for (let n = r.firstChild, s = 0, l; n; n = l) {
|
|
6181
|
+
if (n.localName == "template" && (n = Ec(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
6182
|
+
let h = l;
|
|
6183
|
+
for (; h && h.nodeType === Node.TEXT_NODE; ) n.textContent += h.textContent, l = h.nextSibling, r.removeChild(h), h = l;
|
|
6184
|
+
if (a.stripWhiteSpace && !n.textContent.trim()) {
|
|
6185
|
+
r.removeChild(n);
|
|
6186
|
+
continue;
|
|
6272
6187
|
}
|
|
6273
|
-
let d = { parentIndex: s, parentInfo: o };
|
|
6274
|
-
this._parseTemplateNode(n, a, d) && (d.infoIndex = a.nodeInfoList.push(d) - 1), n.parentNode && s++;
|
|
6275
6188
|
}
|
|
6189
|
+
let d = { parentIndex: s, parentInfo: o };
|
|
6190
|
+
this._parseTemplateNode(n, a, d) && (d.infoIndex = a.nodeInfoList.push(d) - 1), n.parentNode && s++;
|
|
6191
|
+
}
|
|
6276
6192
|
}
|
|
6277
6193
|
static _parseTemplateNestedTemplate(r, a, o) {
|
|
6278
6194
|
let n = r, s = this._parseTemplate(n, a);
|
|
@@ -6280,8 +6196,7 @@ const Ac = W((i) => {
|
|
|
6280
6196
|
}
|
|
6281
6197
|
static _parseTemplateNodeAttributes(r, a, o) {
|
|
6282
6198
|
let n = !1, s = Array.from(r.attributes);
|
|
6283
|
-
for (let l = s.length - 1, d; d = s[l]; l--)
|
|
6284
|
-
n = this._parseTemplateNodeAttribute(r, a, o, d.name, d.value) || n;
|
|
6199
|
+
for (let l = s.length - 1, d; d = s[l]; l--) n = this._parseTemplateNodeAttribute(r, a, o, d.name, d.value) || n;
|
|
6285
6200
|
return n;
|
|
6286
6201
|
}
|
|
6287
6202
|
static _parseTemplateNodeAttribute(r, a, o, n, s) {
|
|
@@ -6332,14 +6247,11 @@ let Dt = 0;
|
|
|
6332
6247
|
const Ot = [], D = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, In = "__computeInfo", Dc = /[A-Z]/;
|
|
6333
6248
|
function Bi(i, e, t) {
|
|
6334
6249
|
let r = i[e];
|
|
6335
|
-
if (!r)
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
for (let
|
|
6339
|
-
|
|
6340
|
-
for (let s = 0; s < o.length; s++)
|
|
6341
|
-
n[s] = o[s];
|
|
6342
|
-
}
|
|
6250
|
+
if (!r) r = i[e] = {};
|
|
6251
|
+
else if (!i.hasOwnProperty(e) && (r = i[e] = Object.create(i[e]), t)) for (let a in r) {
|
|
6252
|
+
let o = r[a], n = r[a] = Array(o.length);
|
|
6253
|
+
for (let s = 0; s < o.length; s++) n[s] = o[s];
|
|
6254
|
+
}
|
|
6343
6255
|
return r;
|
|
6344
6256
|
}
|
|
6345
6257
|
function yt(i, e, t, r, a, o) {
|
|
@@ -6348,9 +6260,7 @@ function yt(i, e, t, r, a, o) {
|
|
|
6348
6260
|
const s = Dt++;
|
|
6349
6261
|
for (let l in t) {
|
|
6350
6262
|
let d = a ? $e(l) : l, h = e[d];
|
|
6351
|
-
if (h)
|
|
6352
|
-
for (let c = 0, m = h.length, p; c < m && (p = h[c]); c++)
|
|
6353
|
-
(!p.info || p.info.lastRun !== s) && (!a || Fr(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, a, o), n = !0);
|
|
6263
|
+
if (h) for (let c = 0, m = h.length, p; c < m && (p = h[c]); c++) (!p.info || p.info.lastRun !== s) && (!a || Fr(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, a, o), n = !0);
|
|
6354
6264
|
}
|
|
6355
6265
|
return n;
|
|
6356
6266
|
}
|
|
@@ -6358,17 +6268,14 @@ function yt(i, e, t, r, a, o) {
|
|
|
6358
6268
|
}
|
|
6359
6269
|
function Oc(i, e, t, r, a, o, n, s) {
|
|
6360
6270
|
let l = !1, d = n ? $e(r) : r, h = e[d];
|
|
6361
|
-
if (h)
|
|
6362
|
-
for (let c = 0, m = h.length, p; c < m && (p = h[c]); c++)
|
|
6363
|
-
(!p.info || p.info.lastRun !== t) && (!n || Fr(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, a, o, p.info, n, s), l = !0);
|
|
6271
|
+
if (h) for (let c = 0, m = h.length, p; c < m && (p = h[c]); c++) (!p.info || p.info.lastRun !== t) && (!n || Fr(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, a, o, p.info, n, s), l = !0);
|
|
6364
6272
|
return l;
|
|
6365
6273
|
}
|
|
6366
6274
|
function Fr(i, e) {
|
|
6367
6275
|
if (e) {
|
|
6368
6276
|
let t = e.name;
|
|
6369
6277
|
return t == i || !!(e.structured && gn(t, i)) || !!(e.wildcard && Pt(t, i));
|
|
6370
|
-
} else
|
|
6371
|
-
return !0;
|
|
6278
|
+
} else return !0;
|
|
6372
6279
|
}
|
|
6373
6280
|
function no(i, e, t, r, a) {
|
|
6374
6281
|
let o = typeof a.method == "string" ? i[a.method] : a.method, n = a.property;
|
|
@@ -6376,8 +6283,7 @@ function no(i, e, t, r, a) {
|
|
|
6376
6283
|
}
|
|
6377
6284
|
function Vc(i, e, t, r, a) {
|
|
6378
6285
|
let o = i[D.NOTIFY], n, s = Dt++;
|
|
6379
|
-
for (let d in e)
|
|
6380
|
-
e[d] && (o && Oc(i, o, s, d, t, r, a) || a && Mc(i, d, t)) && (n = !0);
|
|
6286
|
+
for (let d in e) e[d] && (o && Oc(i, o, s, d, t, r, a) || a && Mc(i, d, t)) && (n = !0);
|
|
6381
6287
|
let l;
|
|
6382
6288
|
n && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
6383
6289
|
}
|
|
@@ -6407,30 +6313,24 @@ function Lc(i, e, t, r, a) {
|
|
|
6407
6313
|
}
|
|
6408
6314
|
function Rc(i, e, t, r) {
|
|
6409
6315
|
let a = i[D.COMPUTE];
|
|
6410
|
-
if (a)
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
let o = e;
|
|
6422
|
-
for (; yt(i, a, o, t, r); )
|
|
6423
|
-
Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), o = i.__dataPending, i.__dataPending = null;
|
|
6424
|
-
}
|
|
6316
|
+
if (a) if (ec) {
|
|
6317
|
+
Dt++;
|
|
6318
|
+
const o = $c(i), n = [];
|
|
6319
|
+
for (let l in e) so(l, a, n, o, r);
|
|
6320
|
+
let s;
|
|
6321
|
+
for (; s = n.shift(); ) Pn(i, "", e, t, s) && so(s.methodInfo, a, n, o, r);
|
|
6322
|
+
Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), i.__dataPending = null;
|
|
6323
|
+
} else {
|
|
6324
|
+
let o = e;
|
|
6325
|
+
for (; yt(i, a, o, t, r); ) Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), o = i.__dataPending, i.__dataPending = null;
|
|
6326
|
+
}
|
|
6425
6327
|
}
|
|
6426
6328
|
const Fc = (i, e, t) => {
|
|
6427
6329
|
let r = 0, a = e.length - 1, o = -1;
|
|
6428
6330
|
for (; r <= a; ) {
|
|
6429
6331
|
const n = r + a >> 1, s = t.get(e[n].methodInfo) - t.get(i.methodInfo);
|
|
6430
|
-
if (s < 0)
|
|
6431
|
-
|
|
6432
|
-
else if (s > 0)
|
|
6433
|
-
a = n - 1;
|
|
6332
|
+
if (s < 0) r = n + 1;
|
|
6333
|
+
else if (s > 0) a = n - 1;
|
|
6434
6334
|
else {
|
|
6435
6335
|
o = n;
|
|
6436
6336
|
break;
|
|
@@ -6439,11 +6339,10 @@ const Fc = (i, e, t) => {
|
|
|
6439
6339
|
o < 0 && (o = a + 1), e.splice(o, 0, i);
|
|
6440
6340
|
}, so = (i, e, t, r, a) => {
|
|
6441
6341
|
const o = a ? $e(i) : i, n = e[o];
|
|
6442
|
-
if (n)
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
}
|
|
6342
|
+
if (n) for (let s = 0; s < n.length; s++) {
|
|
6343
|
+
const l = n[s];
|
|
6344
|
+
l.info.lastRun !== Dt && (!a || Fr(i, l.trigger)) && (l.info.lastRun = Dt, Fc(l.info, t, r));
|
|
6345
|
+
}
|
|
6447
6346
|
};
|
|
6448
6347
|
function $c(i) {
|
|
6449
6348
|
let e = i.constructor.__orderedComputedDeps;
|
|
@@ -6470,14 +6369,12 @@ function Bc(i) {
|
|
|
6470
6369
|
const s = e[n];
|
|
6471
6370
|
o += t[n] = s.args.filter((l) => !l.literal).length + (s.dynamicFn ? 1 : 0);
|
|
6472
6371
|
}
|
|
6473
|
-
for (let n in r)
|
|
6474
|
-
e[n] || a.push(n);
|
|
6372
|
+
for (let n in r) e[n] || a.push(n);
|
|
6475
6373
|
return { counts: t, ready: a, total: o };
|
|
6476
6374
|
}
|
|
6477
6375
|
function Pn(i, e, t, r, a) {
|
|
6478
6376
|
let o = hr(i, e, t, r, a);
|
|
6479
|
-
if (o === Ot)
|
|
6480
|
-
return !1;
|
|
6377
|
+
if (o === Ot) return !1;
|
|
6481
6378
|
let n = a.methodInfo;
|
|
6482
6379
|
return i.__dataHasAccessor && i.__dataHasAccessor[n] ? i._setPendingProperty(n, o, !0) : (i[n] = o, !1);
|
|
6483
6380
|
}
|
|
@@ -6505,16 +6402,14 @@ function Hi(i, e, t, r, a, o, n) {
|
|
|
6505
6402
|
}
|
|
6506
6403
|
}
|
|
6507
6404
|
function Uc(i, e, t, r, a) {
|
|
6508
|
-
if (!r.literal)
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
let
|
|
6513
|
-
|
|
6514
|
-
let l = o[s];
|
|
6515
|
-
typeof l == "string" && (l = Dn(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: qc, info: n, trigger: l });
|
|
6516
|
-
}
|
|
6405
|
+
if (!r.literal) if (t.kind === "attribute" && t.target[0] === "-") console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
|
|
6406
|
+
else {
|
|
6407
|
+
let o = r.dependencies, n = { index: a, binding: t, part: r, evaluator: i };
|
|
6408
|
+
for (let s = 0; s < o.length; s++) {
|
|
6409
|
+
let l = o[s];
|
|
6410
|
+
typeof l == "string" && (l = Dn(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: qc, info: n, trigger: l });
|
|
6517
6411
|
}
|
|
6412
|
+
}
|
|
6518
6413
|
}
|
|
6519
6414
|
function qc(i, e, t, r, a, o, n) {
|
|
6520
6415
|
let s = n[a.index], l = a.binding, d = a.part;
|
|
@@ -6527,8 +6422,7 @@ function qc(i, e, t, r, a, o, n) {
|
|
|
6527
6422
|
}
|
|
6528
6423
|
}
|
|
6529
6424
|
function jc(i, e, t, r, a) {
|
|
6530
|
-
if (a = Wc(e, a, t, r), mi && (a = mi(a, t.target, t.kind, e)), t.kind == "attribute")
|
|
6531
|
-
i._valueToNodeAttribute(e, a, t.target);
|
|
6425
|
+
if (a = Wc(e, a, t, r), mi && (a = mi(a, t.target, t.kind, e)), t.kind == "attribute") i._valueToNodeAttribute(e, a, t.target);
|
|
6532
6426
|
else {
|
|
6533
6427
|
let o = t.target;
|
|
6534
6428
|
e.__isPropertyEffectsClient && e.__dataHasAccessor && e.__dataHasAccessor[o] ? (!e[D.READ_ONLY] || !e[D.READ_ONLY][o]) && e._setPendingProperty(o, a) && i._enqueueClient(e) : i._setUnmanagedPropertyToNode(e, o, a);
|
|
@@ -6546,22 +6440,19 @@ function Yc(i) {
|
|
|
6546
6440
|
}
|
|
6547
6441
|
function Gc(i, e) {
|
|
6548
6442
|
let { nodeList: t, nodeInfoList: r } = e;
|
|
6549
|
-
if (r.length)
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
let d = s[l];
|
|
6555
|
-
Kc(n, d), Xc(n, i, d);
|
|
6556
|
-
}
|
|
6557
|
-
n.__dataHost = i;
|
|
6443
|
+
if (r.length) for (let a = 0; a < r.length; a++) {
|
|
6444
|
+
let o = r[a], n = t[a], s = o.bindings;
|
|
6445
|
+
if (s) for (let l = 0; l < s.length; l++) {
|
|
6446
|
+
let d = s[l];
|
|
6447
|
+
Kc(n, d), Xc(n, i, d);
|
|
6558
6448
|
}
|
|
6449
|
+
n.__dataHost = i;
|
|
6450
|
+
}
|
|
6559
6451
|
}
|
|
6560
6452
|
function Kc(i, e) {
|
|
6561
6453
|
if (e.isCompound) {
|
|
6562
6454
|
let t = i.__dataCompoundStorage || (i.__dataCompoundStorage = {}), r = e.parts, a = new Array(r.length);
|
|
6563
|
-
for (let n = 0; n < r.length; n++)
|
|
6564
|
-
a[n] = r[n].literal;
|
|
6455
|
+
for (let n = 0; n < r.length; n++) a[n] = r[n].literal;
|
|
6565
6456
|
let o = e.target;
|
|
6566
6457
|
t[o] = a, e.literal && e.kind == "property" && (o === "className" && (i = J(i)), i[o] = e.literal);
|
|
6567
6458
|
}
|
|
@@ -6577,8 +6468,7 @@ function Xc(i, e, t) {
|
|
|
6577
6468
|
function lo(i, e, t, r, a, o) {
|
|
6578
6469
|
o = e.static || o && (typeof o != "object" || o[e.methodName]);
|
|
6579
6470
|
let n = { methodName: e.methodName, args: e.args, methodInfo: a, dynamicFn: o };
|
|
6580
|
-
for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++)
|
|
6581
|
-
l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: n, trigger: l });
|
|
6471
|
+
for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++) l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: n, trigger: l });
|
|
6582
6472
|
return o && i._addPropertyEffect(e.methodName, t, { fn: r, info: n }), n;
|
|
6583
6473
|
}
|
|
6584
6474
|
function hr(i, e, t, r, a) {
|
|
@@ -6586,8 +6476,7 @@ function hr(i, e, t, r, a) {
|
|
|
6586
6476
|
if (n) {
|
|
6587
6477
|
let s = i._marshalArgs(a.args, e, t);
|
|
6588
6478
|
return s === Ot ? Ot : n.apply(o, s);
|
|
6589
|
-
} else
|
|
6590
|
-
a.dynamicFn || console.warn("method `" + a.methodName + "` not defined");
|
|
6479
|
+
} else a.dynamicFn || console.warn("method `" + a.methodName + "` not defined");
|
|
6591
6480
|
}
|
|
6592
6481
|
const Qc = [], An = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Jc = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Zc = "(?:'(?:[^'\\\\]|\\\\.)*')", eu = '(?:"(?:[^"\\\\]|\\\\.)*")', tu = "(?:" + Zc + "|" + eu + ")", ho = "(?:(" + An + "|" + Jc + "|" + tu + ")\\s*)", iu = "(?:" + ho + "(?:,\\s*" + ho + ")*)", ru = "(?:\\(\\s*(?:" + iu + "?)\\)\\s*)", au = "(" + An + "\\s*" + ru + "?)", ou = "(\\[\\[|{{)\\s*", nu = "(?:]]|}})", su = "(?:(!)\\s*)?", lu = ou + su + au + nu, co = new RegExp(lu, "g");
|
|
6593
6482
|
function uo(i) {
|
|
@@ -6605,8 +6494,7 @@ function Ui(i) {
|
|
|
6605
6494
|
if (e[2].trim()) {
|
|
6606
6495
|
let r = e[2].replace(/\\,/g, ",").split(",");
|
|
6607
6496
|
return du(r, t);
|
|
6608
|
-
} else
|
|
6609
|
-
return t;
|
|
6497
|
+
} else return t;
|
|
6610
6498
|
}
|
|
6611
6499
|
return null;
|
|
6612
6500
|
}
|
|
@@ -6666,8 +6554,7 @@ const $r = W((i) => {
|
|
|
6666
6554
|
}
|
|
6667
6555
|
_initializeInstanceProperties(a) {
|
|
6668
6556
|
let o = this[D.READ_ONLY];
|
|
6669
|
-
for (let n in a)
|
|
6670
|
-
(!o || !o[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = a[n]);
|
|
6557
|
+
for (let n in a) (!o || !o[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = a[n]);
|
|
6671
6558
|
}
|
|
6672
6559
|
_addPropertyEffect(a, o, n) {
|
|
6673
6560
|
this._createPropertyAccessor(a, o == D.READ_ONLY);
|
|
@@ -6698,14 +6585,11 @@ const $r = W((i) => {
|
|
|
6698
6585
|
if (s || $e(Array.isArray(a) ? a[0] : a) !== a) {
|
|
6699
6586
|
if (!s) {
|
|
6700
6587
|
let l = re(this, a);
|
|
6701
|
-
if (a = ro(this, a, o), !a || !super._shouldPropertyChange(a, o, l))
|
|
6702
|
-
return !1;
|
|
6588
|
+
if (a = ro(this, a, o), !a || !super._shouldPropertyChange(a, o, l)) return !1;
|
|
6703
6589
|
}
|
|
6704
|
-
if (this.__dataHasPaths = !0, this._setPendingProperty(a, o, n))
|
|
6705
|
-
return Hc(this, a, o), !0;
|
|
6590
|
+
if (this.__dataHasPaths = !0, this._setPendingProperty(a, o, n)) return Hc(this, a, o), !0;
|
|
6706
6591
|
} else {
|
|
6707
|
-
if (this.__dataHasAccessor && this.__dataHasAccessor[a])
|
|
6708
|
-
return this._setPendingProperty(a, o, n);
|
|
6592
|
+
if (this.__dataHasAccessor && this.__dataHasAccessor[a]) return this._setPendingProperty(a, o, n);
|
|
6709
6593
|
this[a] = o;
|
|
6710
6594
|
}
|
|
6711
6595
|
return !1;
|
|
@@ -6743,8 +6627,7 @@ const $r = W((i) => {
|
|
|
6743
6627
|
this.__enableOrFlushClients();
|
|
6744
6628
|
}
|
|
6745
6629
|
setProperties(a, o) {
|
|
6746
|
-
for (let n in a)
|
|
6747
|
-
(o || !this[D.READ_ONLY] || !this[D.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, a[n], !0);
|
|
6630
|
+
for (let n in a) (o || !this[D.READ_ONLY] || !this[D.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, a[n], !0);
|
|
6748
6631
|
this._invalidateProperties();
|
|
6749
6632
|
}
|
|
6750
6633
|
ready() {
|
|
@@ -6762,8 +6645,7 @@ const $r = W((i) => {
|
|
|
6762
6645
|
_runEffectsForTemplate(a, o, n, s) {
|
|
6763
6646
|
const l = (d, h) => {
|
|
6764
6647
|
yt(this, a.propertyEffects, d, n, h, a.nodeList);
|
|
6765
|
-
for (let c = a.firstChild; c; c = c.nextSibling)
|
|
6766
|
-
this._runEffectsForTemplate(c, d, n, h);
|
|
6648
|
+
for (let c = a.firstChild; c; c = c.nextSibling) this._runEffectsForTemplate(c, d, n, h);
|
|
6767
6649
|
};
|
|
6768
6650
|
a.runEffects ? a.runEffects(l, o, s) : l(o, s);
|
|
6769
6651
|
}
|
|
@@ -6810,8 +6692,7 @@ const $r = W((i) => {
|
|
|
6810
6692
|
if (arguments.length == 1) {
|
|
6811
6693
|
let s = { path: "" };
|
|
6812
6694
|
o = re(this, a, s), n = s.path;
|
|
6813
|
-
} else
|
|
6814
|
-
Array.isArray(a) ? n = bt(a) : n = a;
|
|
6695
|
+
} else Array.isArray(a) ? n = bt(a) : n = a;
|
|
6815
6696
|
this._setPendingPropertyOrPath(n, o, !0, !0) && this._invalidateProperties();
|
|
6816
6697
|
}
|
|
6817
6698
|
_createReadOnlyProperty(a, o) {
|
|
@@ -6825,8 +6706,7 @@ const $r = W((i) => {
|
|
|
6825
6706
|
}
|
|
6826
6707
|
_createMethodObserver(a, o) {
|
|
6827
6708
|
let n = Ui(a);
|
|
6828
|
-
if (!n)
|
|
6829
|
-
throw new Error("Malformed observer expression '" + a + "'");
|
|
6709
|
+
if (!n) throw new Error("Malformed observer expression '" + a + "'");
|
|
6830
6710
|
lo(this, n, D.OBSERVE, hr, null, o);
|
|
6831
6711
|
}
|
|
6832
6712
|
_createNotifyingProperty(a) {
|
|
@@ -6838,8 +6718,7 @@ const $r = W((i) => {
|
|
|
6838
6718
|
}
|
|
6839
6719
|
_createComputedProperty(a, o, n) {
|
|
6840
6720
|
let s = Ui(o);
|
|
6841
|
-
if (!s)
|
|
6842
|
-
throw new Error("Malformed computed expression '" + o + "'");
|
|
6721
|
+
if (!s) throw new Error("Malformed computed expression '" + o + "'");
|
|
6843
6722
|
const l = lo(this, s, D.COMPUTE, Pn, a, n);
|
|
6844
6723
|
Bi(this, In)[a] = l;
|
|
6845
6724
|
}
|
|
@@ -6847,14 +6726,11 @@ const $r = W((i) => {
|
|
|
6847
6726
|
const s = this.__data, l = [];
|
|
6848
6727
|
for (let d = 0, h = a.length; d < h; d++) {
|
|
6849
6728
|
let { name: c, structured: m, wildcard: p, value: y, literal: M } = a[d];
|
|
6850
|
-
if (!M)
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
y = m ? po(s, n, c) : s[c];
|
|
6856
|
-
if (sr && !this._overrideLegacyUndefined && y === void 0 && a.length > 1)
|
|
6857
|
-
return Ot;
|
|
6729
|
+
if (!M) if (p) {
|
|
6730
|
+
const A = Pt(c, o), x = po(s, n, A ? o : c);
|
|
6731
|
+
y = { path: A ? o : c, value: x, base: A ? re(s, c) : x };
|
|
6732
|
+
} else y = m ? po(s, n, c) : s[c];
|
|
6733
|
+
if (sr && !this._overrideLegacyUndefined && y === void 0 && a.length > 1) return Ot;
|
|
6858
6734
|
l[d] = y;
|
|
6859
6735
|
}
|
|
6860
6736
|
return l;
|
|
@@ -6885,18 +6761,13 @@ const $r = W((i) => {
|
|
|
6885
6761
|
}
|
|
6886
6762
|
_bindTemplate(a, o) {
|
|
6887
6763
|
let n = this.constructor._parseTemplate(a), s = this.__preBoundTemplateInfo == n;
|
|
6888
|
-
if (!s)
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
const l = a._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
|
|
6896
|
-
n.parent = l, l.lastChild = n, n.previousSibling = d, d ? d.nextSibling = n : l.firstChild = n;
|
|
6897
|
-
}
|
|
6898
|
-
else
|
|
6899
|
-
this.__preBoundTemplateInfo = n;
|
|
6764
|
+
if (!s) for (let l in n.propertyEffects) this._createPropertyAccessor(l);
|
|
6765
|
+
if (o) if (n = Object.create(n), n.wasPreBound = s, !this.__templateInfo) this.__templateInfo = n;
|
|
6766
|
+
else {
|
|
6767
|
+
const l = a._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
|
|
6768
|
+
n.parent = l, l.lastChild = n, n.previousSibling = d, d ? d.nextSibling = n : l.firstChild = n;
|
|
6769
|
+
}
|
|
6770
|
+
else this.__preBoundTemplateInfo = n;
|
|
6900
6771
|
return n;
|
|
6901
6772
|
}
|
|
6902
6773
|
static _addTemplatePropertyEffect(a, o, n) {
|
|
@@ -6910,8 +6781,7 @@ const $r = W((i) => {
|
|
|
6910
6781
|
let n = super._stampTemplate(a, o);
|
|
6911
6782
|
if (vt.pop(), o.nodeList = n.nodeList, !o.wasPreBound) {
|
|
6912
6783
|
let s = o.childNodes = [];
|
|
6913
|
-
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
6914
|
-
s.push(l);
|
|
6784
|
+
for (let l = n.firstChild; l; l = l.nextSibling) s.push(l);
|
|
6915
6785
|
}
|
|
6916
6786
|
return n.templateInfo = o, Gc(this, o), this.__dataClientsReady && (this._runEffectsForTemplate(o, this.__data, null, !1), this._flushClients()), n;
|
|
6917
6787
|
}
|
|
@@ -6939,16 +6809,14 @@ const $r = W((i) => {
|
|
|
6939
6809
|
Dc.test(s) ? c = "attribute" : s[s.length - 1] == "$" && (s = s.slice(0, -1), c = "attribute");
|
|
6940
6810
|
let m = uo(d);
|
|
6941
6811
|
return m && c == "attribute" && (s == "class" && a.hasAttribute("class") && (m += " " + a.getAttribute(s)), a.setAttribute(s, m)), c == "attribute" && h == "disable-upgrade$" && a.setAttribute(s, ""), a.localName === "input" && h === "value" && a.setAttribute(h, ""), a.removeAttribute(h), c === "property" && (s = yn(s)), Hi(this, o, n, c, s, d, m), !0;
|
|
6942
|
-
} else
|
|
6943
|
-
return e._parseTemplateNodeAttribute.call(this, a, o, n, s, l);
|
|
6812
|
+
} else return e._parseTemplateNodeAttribute.call(this, a, o, n, s, l);
|
|
6944
6813
|
}
|
|
6945
6814
|
static _parseTemplateNestedTemplate(a, o, n) {
|
|
6946
6815
|
let s = e._parseTemplateNestedTemplate.call(this, a, o, n);
|
|
6947
6816
|
const l = a.parentNode, d = n.templateInfo, h = l.localName === "dom-if", c = l.localName === "dom-repeat";
|
|
6948
6817
|
Qa && (h || c) && (l.removeChild(a), n = n.parentInfo, n.templateInfo = d, n.noted = !0, s = !1);
|
|
6949
6818
|
let m = d.hostProps;
|
|
6950
|
-
if (tc && h)
|
|
6951
|
-
m && (o.hostProps = Object.assign(o.hostProps || {}, m), Qa || (n.parentInfo.noted = !0));
|
|
6819
|
+
if (tc && h) m && (o.hostProps = Object.assign(o.hostProps || {}, m), Qa || (n.parentInfo.noted = !0));
|
|
6952
6820
|
else {
|
|
6953
6821
|
let p = "{";
|
|
6954
6822
|
for (let y in m) {
|
|
@@ -6973,8 +6841,7 @@ const $r = W((i) => {
|
|
|
6973
6841
|
}
|
|
6974
6842
|
let U = o.dynamicFns;
|
|
6975
6843
|
(U && U[I] || M.static) && (A.push(I), M.dynamicFn = !0);
|
|
6976
|
-
} else
|
|
6977
|
-
A.push(c);
|
|
6844
|
+
} else A.push(c);
|
|
6978
6845
|
n.push({ source: c, mode: d, negate: h, customEvent: m, signature: M, dependencies: A, event: p }), s = co.lastIndex;
|
|
6979
6846
|
}
|
|
6980
6847
|
if (s && s < a.length) {
|
|
@@ -7129,8 +6996,7 @@ const pu = "3.5.2", mo = window.ShadyCSS && window.ShadyCSS.cssBuild, mu = W((i)
|
|
|
7129
6996
|
}
|
|
7130
6997
|
function n(l) {
|
|
7131
6998
|
let d = null;
|
|
7132
|
-
if (l && (!fi || Jh) && (d = Tt.import(l, "template"), fi && !d))
|
|
7133
|
-
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6999
|
+
if (l && (!fi || Jh) && (d = Tt.import(l, "template"), fi && !d)) throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
7134
7000
|
return d;
|
|
7135
7001
|
}
|
|
7136
7002
|
class s extends e {
|
|
@@ -7147,13 +7013,11 @@ const pu = "3.5.2", mo = window.ShadyCSS && window.ShadyCSS.cssBuild, mu = W((i)
|
|
|
7147
7013
|
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : un || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
7148
7014
|
}
|
|
7149
7015
|
static createProperties(d) {
|
|
7150
|
-
for (let h in d)
|
|
7151
|
-
a(this.prototype, h, d[h], d);
|
|
7016
|
+
for (let h in d) a(this.prototype, h, d[h], d);
|
|
7152
7017
|
}
|
|
7153
7018
|
static createObservers(d, h) {
|
|
7154
7019
|
const c = this.prototype;
|
|
7155
|
-
for (let m = 0; m < d.length; m++)
|
|
7156
|
-
c._createMethodObserver(d[m], h);
|
|
7020
|
+
for (let m = 0; m < d.length; m++) c._createMethodObserver(d[m], h);
|
|
7157
7021
|
}
|
|
7158
7022
|
static get template() {
|
|
7159
7023
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_template", this))) {
|
|
@@ -7168,8 +7032,7 @@ const pu = "3.5.2", mo = window.ShadyCSS && window.ShadyCSS.cssBuild, mu = W((i)
|
|
|
7168
7032
|
static get importPath() {
|
|
7169
7033
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
7170
7034
|
const d = this.importMeta;
|
|
7171
|
-
if (d)
|
|
7172
|
-
this._importPath = Lr(d.url);
|
|
7035
|
+
if (d) this._importPath = Lr(d.url);
|
|
7173
7036
|
else {
|
|
7174
7037
|
const h = Tt.import(this.is);
|
|
7175
7038
|
this._importPath = h && h.assetpath || Object.getPrototypeOf(this.prototype).constructor.importPath;
|
|
@@ -7183,14 +7046,13 @@ const pu = "3.5.2", mo = window.ShadyCSS && window.ShadyCSS.cssBuild, mu = W((i)
|
|
|
7183
7046
|
_initializeProperties() {
|
|
7184
7047
|
this.constructor.finalize(), this.constructor._finalizeTemplate(this.localName), super._initializeProperties(), this.rootPath = Qh, this.importPath = this.constructor.importPath;
|
|
7185
7048
|
let d = t(this.constructor);
|
|
7186
|
-
if (d)
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
this._hasAccessor(h) ? this._setPendingProperty(h, m, !0) : this[h] = m;
|
|
7192
|
-
}
|
|
7049
|
+
if (d) for (let h in d) {
|
|
7050
|
+
let c = d[h];
|
|
7051
|
+
if (this._canApplyPropertyDefault(h)) {
|
|
7052
|
+
let m = typeof c.value == "function" ? c.value.call(this) : c.value;
|
|
7053
|
+
this._hasAccessor(h) ? this._setPendingProperty(h, m, !0) : this[h] = m;
|
|
7193
7054
|
}
|
|
7055
|
+
}
|
|
7194
7056
|
}
|
|
7195
7057
|
_canApplyPropertyDefault(d) {
|
|
7196
7058
|
return !this.hasOwnProperty(d);
|
|
@@ -7217,8 +7079,7 @@ const pu = "3.5.2", mo = window.ShadyCSS && window.ShadyCSS.cssBuild, mu = W((i)
|
|
|
7217
7079
|
}
|
|
7218
7080
|
_attachDom(d) {
|
|
7219
7081
|
const h = J(this);
|
|
7220
|
-
if (h.attachShadow)
|
|
7221
|
-
return d ? (h.shadowRoot || (h.attachShadow({ mode: "open", shadyUpgradeFragment: d }), h.shadowRoot.appendChild(d), this.constructor._styleSheet && (h.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Zh && window.ShadyDOM && window.ShadyDOM.flushInitial(h.shadowRoot), h.shadowRoot) : null;
|
|
7082
|
+
if (h.attachShadow) return d ? (h.shadowRoot || (h.attachShadow({ mode: "open", shadyUpgradeFragment: d }), h.shadowRoot.appendChild(d), this.constructor._styleSheet && (h.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Zh && window.ShadyDOM && window.ShadyDOM.flushInitial(h.shadowRoot), h.shadowRoot) : null;
|
|
7222
7083
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
7223
7084
|
}
|
|
7224
7085
|
updateStyles(d) {
|
|
@@ -7257,15 +7118,12 @@ class Vn {
|
|
|
7257
7118
|
}
|
|
7258
7119
|
}
|
|
7259
7120
|
function Mn(i) {
|
|
7260
|
-
if (i instanceof Vn)
|
|
7261
|
-
return i.value;
|
|
7121
|
+
if (i instanceof Vn) return i.value;
|
|
7262
7122
|
throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${i}`);
|
|
7263
7123
|
}
|
|
7264
7124
|
function fu(i) {
|
|
7265
|
-
if (i instanceof HTMLTemplateElement)
|
|
7266
|
-
|
|
7267
|
-
if (i instanceof Vn)
|
|
7268
|
-
return Mn(i);
|
|
7125
|
+
if (i instanceof HTMLTemplateElement) return i.innerHTML;
|
|
7126
|
+
if (i instanceof Vn) return Mn(i);
|
|
7269
7127
|
throw new Error(`non-template value passed to Polymer's html function: ${i}`);
|
|
7270
7128
|
}
|
|
7271
7129
|
const E = function(i, ...e) {
|
|
@@ -7274,8 +7132,7 @@ const E = function(i, ...e) {
|
|
|
7274
7132
|
let r = e.reduce((a, o, n) => a + fu(o) + i[n + 1], i[0]);
|
|
7275
7133
|
return fo && (r = fo.createHTML(r)), t.innerHTML = r, t;
|
|
7276
7134
|
}, Nn = (i, e) => {
|
|
7277
|
-
if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1)
|
|
7278
|
-
throw new TypeError("Invalid call to the html template tag");
|
|
7135
|
+
if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1) throw new TypeError("Invalid call to the html template tag");
|
|
7279
7136
|
};
|
|
7280
7137
|
/**
|
|
7281
7138
|
@license
|
|
@@ -7310,21 +7167,18 @@ function wu() {
|
|
|
7310
7167
|
return !!(ri && Object.keys(ri).map((i) => ri[i]).filter((i) => i.productionMode).length > 0);
|
|
7311
7168
|
}
|
|
7312
7169
|
function zn(i, e) {
|
|
7313
|
-
if (typeof i != "function")
|
|
7314
|
-
return;
|
|
7170
|
+
if (typeof i != "function") return;
|
|
7315
7171
|
const t = vu.exec(i.toString());
|
|
7316
|
-
if (t)
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
}
|
|
7172
|
+
if (t) try {
|
|
7173
|
+
i = new Function(t[1]);
|
|
7174
|
+
} catch (r) {
|
|
7175
|
+
console.log("vaadin-development-mode-detector: uncommentAndRun() failed", r);
|
|
7176
|
+
}
|
|
7322
7177
|
return i(e);
|
|
7323
7178
|
}
|
|
7324
7179
|
window.Vaadin = window.Vaadin || {};
|
|
7325
7180
|
const vo = function(i, e) {
|
|
7326
|
-
if (window.Vaadin.developmentMode)
|
|
7327
|
-
return zn(i, e);
|
|
7181
|
+
if (window.Vaadin.developmentMode) return zn(i, e);
|
|
7328
7182
|
};
|
|
7329
7183
|
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = gu());
|
|
7330
7184
|
function xu() {
|
|
@@ -7809,8 +7663,7 @@ function xu() {
|
|
|
7809
7663
|
vaadin-dev-mode:end **/
|
|
7810
7664
|
}
|
|
7811
7665
|
const Cu = function() {
|
|
7812
|
-
if (typeof vo == "function")
|
|
7813
|
-
return vo(xu);
|
|
7666
|
+
if (typeof vo == "function") return vo(xu);
|
|
7814
7667
|
};
|
|
7815
7668
|
/**
|
|
7816
7669
|
* @license
|
|
@@ -7829,14 +7682,13 @@ function ku() {
|
|
|
7829
7682
|
const i = Xe.length;
|
|
7830
7683
|
for (let e = 0; e < i; e++) {
|
|
7831
7684
|
const t = Xe[e];
|
|
7832
|
-
if (t)
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
}
|
|
7685
|
+
if (t) try {
|
|
7686
|
+
t();
|
|
7687
|
+
} catch (r) {
|
|
7688
|
+
setTimeout(() => {
|
|
7689
|
+
throw r;
|
|
7690
|
+
});
|
|
7691
|
+
}
|
|
7840
7692
|
}
|
|
7841
7693
|
Xe.splice(0, i), Ln += i;
|
|
7842
7694
|
}
|
|
@@ -7865,8 +7717,7 @@ const Pe = { after(i) {
|
|
|
7865
7717
|
}, cancel(i) {
|
|
7866
7718
|
const e = i - Ln;
|
|
7867
7719
|
if (e >= 0) {
|
|
7868
|
-
if (!Xe[e])
|
|
7869
|
-
throw new Error(`invalid async handle: ${i}`);
|
|
7720
|
+
if (!Xe[e]) throw new Error(`invalid async handle: ${i}`);
|
|
7870
7721
|
Xe[e] = null;
|
|
7871
7722
|
}
|
|
7872
7723
|
} };
|
|
@@ -7957,8 +7808,7 @@ const de = (i) => class extends i {
|
|
|
7957
7808
|
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), pr(this, mr(), null));
|
|
7958
7809
|
}
|
|
7959
7810
|
attributeChangedCallback(e, t, r) {
|
|
7960
|
-
if (super.attributeChangedCallback(e, t, r), e !== "dir")
|
|
7961
|
-
return;
|
|
7811
|
+
if (super.attributeChangedCallback(e, t, r), e !== "dir") return;
|
|
7962
7812
|
const a = mr(), o = r === a && ye.indexOf(this) === -1, n = !r && t && ye.indexOf(this) === -1;
|
|
7963
7813
|
o || n ? (this.__subscribe(), pr(this, a, r)) : r !== a && t === a && this.__unsubscribe();
|
|
7964
7814
|
}
|
|
@@ -8122,10 +7972,9 @@ class te extends EventTarget {
|
|
|
8122
7972
|
if (e.length === 0) {
|
|
8123
7973
|
const t = this.attachDefaultNode();
|
|
8124
7974
|
t && (this.nodes = [t], this.initNode(t));
|
|
8125
|
-
} else
|
|
8126
|
-
this.
|
|
8127
|
-
|
|
8128
|
-
});
|
|
7975
|
+
} else this.nodes = e, e.forEach((t) => {
|
|
7976
|
+
this.initAddedNode(t);
|
|
7977
|
+
});
|
|
8129
7978
|
}
|
|
8130
7979
|
attachDefaultNode() {
|
|
8131
7980
|
const { host: e, slotName: t, tagName: r } = this;
|
|
@@ -8246,8 +8095,7 @@ function Un(i) {
|
|
|
8246
8095
|
const Lu = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Ru = { button: !0, command: !0, fieldset: !0, input: !0, keygen: !0, optgroup: !0, option: !0, select: !0, textarea: !0 };
|
|
8247
8096
|
function Le(i) {
|
|
8248
8097
|
const e = i.type;
|
|
8249
|
-
if (!Un(e))
|
|
8250
|
-
return !1;
|
|
8098
|
+
if (!Un(e)) return !1;
|
|
8251
8099
|
if (e === "mousemove") {
|
|
8252
8100
|
let t = i.buttons === void 0 ? 1 : i.buttons;
|
|
8253
8101
|
return i instanceof window.MouseEvent && !zu && (t = Nu[i.which] || 0), !!(t & 1);
|
|
@@ -8256,11 +8104,9 @@ function Le(i) {
|
|
|
8256
8104
|
}
|
|
8257
8105
|
function Fu(i) {
|
|
8258
8106
|
if (i.type === "click") {
|
|
8259
|
-
if (i.detail === 0)
|
|
8260
|
-
return !0;
|
|
8107
|
+
if (i.detail === 0) return !0;
|
|
8261
8108
|
const e = Ae(i);
|
|
8262
|
-
if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE)
|
|
8263
|
-
return !0;
|
|
8109
|
+
if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE) return !0;
|
|
8264
8110
|
const t = e.getBoundingClientRect(), r = i.pageX, a = i.pageY;
|
|
8265
8111
|
return !(r >= t.left && r <= t.right && a >= t.top && a <= t.bottom);
|
|
8266
8112
|
}
|
|
@@ -8270,11 +8116,10 @@ const we = { touch: { x: 0, y: 0, id: -1, scrollDecided: !1 } };
|
|
|
8270
8116
|
function $u(i) {
|
|
8271
8117
|
let e = "auto";
|
|
8272
8118
|
const t = jn(i);
|
|
8273
|
-
for (let r = 0, a; r < t.length; r++)
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
}
|
|
8119
|
+
for (let r = 0, a; r < t.length; r++) if (a = t[r], a[vr]) {
|
|
8120
|
+
e = a[vr];
|
|
8121
|
+
break;
|
|
8122
|
+
}
|
|
8278
8123
|
return e;
|
|
8279
8124
|
}
|
|
8280
8125
|
function qn(i, e, t) {
|
|
@@ -8288,8 +8133,7 @@ function Bu(i, e) {
|
|
|
8288
8133
|
let t = document.elementFromPoint(i, e), r = t;
|
|
8289
8134
|
for (; r && r.shadowRoot && !window.ShadyDOM; ) {
|
|
8290
8135
|
const a = r;
|
|
8291
|
-
if (r = r.shadowRoot.elementFromPoint(i, e), a === r)
|
|
8292
|
-
break;
|
|
8136
|
+
if (r = r.shadowRoot.elementFromPoint(i, e), a === r) break;
|
|
8293
8137
|
r && (t = r);
|
|
8294
8138
|
}
|
|
8295
8139
|
return t;
|
|
@@ -8300,32 +8144,25 @@ function Ae(i) {
|
|
|
8300
8144
|
}
|
|
8301
8145
|
function Hu(i) {
|
|
8302
8146
|
const e = i.type, t = i.currentTarget[fr];
|
|
8303
|
-
if (!t)
|
|
8304
|
-
return;
|
|
8147
|
+
if (!t) return;
|
|
8305
8148
|
const r = t[e];
|
|
8306
|
-
if (!r)
|
|
8307
|
-
return;
|
|
8149
|
+
if (!r) return;
|
|
8308
8150
|
if (!i[ji] && (i[ji] = {}, e.startsWith("touch"))) {
|
|
8309
8151
|
const o = i.changedTouches[0];
|
|
8310
|
-
if (e === "touchstart" && i.touches.length === 1 && (we.touch.id = o.identifier), we.touch.id !== o.identifier)
|
|
8311
|
-
return;
|
|
8152
|
+
if (e === "touchstart" && i.touches.length === 1 && (we.touch.id = o.identifier), we.touch.id !== o.identifier) return;
|
|
8312
8153
|
Hn || (e === "touchstart" || e === "touchmove") && Uu(i);
|
|
8313
8154
|
}
|
|
8314
8155
|
const a = i[ji];
|
|
8315
8156
|
if (!a.skip) {
|
|
8316
|
-
for (let o = 0, n; o < ze.length; o++)
|
|
8317
|
-
|
|
8318
|
-
for (let o = 0, n; o < ze.length; o++)
|
|
8319
|
-
n = ze[o], r[n.name] && !a[n.name] && (a[n.name] = !0, n[e](i));
|
|
8157
|
+
for (let o = 0, n; o < ze.length; o++) n = ze[o], r[n.name] && !a[n.name] && n.flow && n.flow.start.indexOf(i.type) > -1 && n.reset && n.reset();
|
|
8158
|
+
for (let o = 0, n; o < ze.length; o++) n = ze[o], r[n.name] && !a[n.name] && (a[n.name] = !0, n[e](i));
|
|
8320
8159
|
}
|
|
8321
8160
|
}
|
|
8322
8161
|
function Uu(i) {
|
|
8323
8162
|
const e = i.changedTouches[0], t = i.type;
|
|
8324
|
-
if (t === "touchstart")
|
|
8325
|
-
we.touch.x = e.clientX, we.touch.y = e.clientY, we.touch.scrollDecided = !1;
|
|
8163
|
+
if (t === "touchstart") we.touch.x = e.clientX, we.touch.y = e.clientY, we.touch.scrollDecided = !1;
|
|
8326
8164
|
else if (t === "touchmove") {
|
|
8327
|
-
if (we.touch.scrollDecided)
|
|
8328
|
-
return;
|
|
8165
|
+
if (we.touch.scrollDecided) return;
|
|
8329
8166
|
we.touch.scrollDecided = !0;
|
|
8330
8167
|
const r = $u(i);
|
|
8331
8168
|
let a = !1;
|
|
@@ -8340,8 +8177,7 @@ function qu(i, e, t) {
|
|
|
8340
8177
|
const r = Ur[e], a = r.deps, o = r.name;
|
|
8341
8178
|
let n = i[fr];
|
|
8342
8179
|
n || (i[fr] = n = {});
|
|
8343
|
-
for (let s = 0, l, d; s < a.length; s++)
|
|
8344
|
-
l = a[s], !(Lu && Un(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Hu, void 0), d[o] = (d[o] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
8180
|
+
for (let s = 0, l, d; s < a.length; s++) l = a[s], !(Lu && Un(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Hu, void 0), d[o] = (d[o] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
8345
8181
|
i.addEventListener(e, t), r.touchAction && Wn(i, r.touchAction);
|
|
8346
8182
|
}
|
|
8347
8183
|
function qr(i) {
|
|
@@ -8352,9 +8188,7 @@ function qr(i) {
|
|
|
8352
8188
|
function ju(i) {
|
|
8353
8189
|
for (let e = 0, t; e < ze.length; e++) {
|
|
8354
8190
|
t = ze[e];
|
|
8355
|
-
for (let r = 0, a; r < t.emits.length; r++)
|
|
8356
|
-
if (a = t.emits[r], a === i)
|
|
8357
|
-
return t;
|
|
8191
|
+
for (let r = 0, a; r < t.emits.length; r++) if (a = t.emits[r], a === i) return t;
|
|
8358
8192
|
}
|
|
8359
8193
|
return null;
|
|
8360
8194
|
}
|
|
@@ -8377,8 +8211,7 @@ function gi(i) {
|
|
|
8377
8211
|
qr({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["down", "up"], info: { movefn: null, upfn: null }, reset() {
|
|
8378
8212
|
Qe(this.info);
|
|
8379
8213
|
}, mousedown(i) {
|
|
8380
|
-
if (!Le(i))
|
|
8381
|
-
return;
|
|
8214
|
+
if (!Le(i)) return;
|
|
8382
8215
|
const e = Ae(i), t = this, r = (o) => {
|
|
8383
8216
|
Le(o) || (_t("up", e, o), Qe(t.info));
|
|
8384
8217
|
}, a = (o) => {
|
|
@@ -8400,8 +8233,7 @@ qr({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
8400
8233
|
}, movefn: null, upfn: null, prevent: !1 }, reset() {
|
|
8401
8234
|
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Qe(this.info);
|
|
8402
8235
|
}, mousedown(i) {
|
|
8403
|
-
if (!Le(i))
|
|
8404
|
-
return;
|
|
8236
|
+
if (!Le(i)) return;
|
|
8405
8237
|
const e = Ae(i), t = this, r = (o) => {
|
|
8406
8238
|
const n = o.clientX, s = o.clientY;
|
|
8407
8239
|
wo(t.info, n, s) && (t.info.state = t.info.started ? o.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && gi("tap"), t.info.addMove({ x: n, y: s }), Le(o) || (t.info.state = "end", Qe(t.info)), e && Wi(t.info, e, o), t.info.started = !0);
|
|
@@ -8420,16 +8252,13 @@ qr({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
8420
8252
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), Wi(this.info, e, t));
|
|
8421
8253
|
} });
|
|
8422
8254
|
function wo(i, e, t) {
|
|
8423
|
-
if (i.prevent)
|
|
8424
|
-
|
|
8425
|
-
if (i.started)
|
|
8426
|
-
return !0;
|
|
8255
|
+
if (i.prevent) return !1;
|
|
8256
|
+
if (i.started) return !0;
|
|
8427
8257
|
const r = Math.abs(i.x - e), a = Math.abs(i.y - t);
|
|
8428
8258
|
return r >= yo || a >= yo;
|
|
8429
8259
|
}
|
|
8430
8260
|
function Wi(i, e, t) {
|
|
8431
|
-
if (!e)
|
|
8432
|
-
return;
|
|
8261
|
+
if (!e) return;
|
|
8433
8262
|
const r = i.moves[i.moves.length - 2], a = i.moves[i.moves.length - 1], o = a.x - i.x, n = a.y - i.y;
|
|
8434
8263
|
let s, l = 0;
|
|
8435
8264
|
r && (s = a.x - r.x, l = a.y - r.y), jr(e, "track", { state: i.state, x: t.clientX, y: t.clientY, dx: o, dy: n, ddx: s, ddy: l, sourceEvent: t, hover() {
|
|
@@ -8546,8 +8375,7 @@ window.addEventListener("mousedown", () => {
|
|
|
8546
8375
|
}, { capture: !0 });
|
|
8547
8376
|
function _r() {
|
|
8548
8377
|
let i = document.activeElement || document.body;
|
|
8549
|
-
for (; i.shadowRoot && i.shadowRoot.activeElement; )
|
|
8550
|
-
i = i.shadowRoot.activeElement;
|
|
8378
|
+
for (; i.shadowRoot && i.shadowRoot.activeElement; ) i = i.shadowRoot.activeElement;
|
|
8551
8379
|
return i;
|
|
8552
8380
|
}
|
|
8553
8381
|
function Si() {
|
|
@@ -8555,8 +8383,7 @@ function Si() {
|
|
|
8555
8383
|
}
|
|
8556
8384
|
function Yn(i) {
|
|
8557
8385
|
const e = i.style;
|
|
8558
|
-
if (e.visibility === "hidden" || e.display === "none")
|
|
8559
|
-
return !0;
|
|
8386
|
+
if (e.visibility === "hidden" || e.display === "none") return !0;
|
|
8560
8387
|
const t = window.getComputedStyle(i);
|
|
8561
8388
|
return t.visibility === "hidden" || t.display === "none";
|
|
8562
8389
|
}
|
|
@@ -8566,14 +8393,12 @@ function Wu(i, e) {
|
|
|
8566
8393
|
}
|
|
8567
8394
|
function Yu(i, e) {
|
|
8568
8395
|
const t = [];
|
|
8569
|
-
for (; i.length > 0 && e.length > 0; )
|
|
8570
|
-
Wu(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
|
|
8396
|
+
for (; i.length > 0 && e.length > 0; ) Wu(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
|
|
8571
8397
|
return t.concat(i, e);
|
|
8572
8398
|
}
|
|
8573
8399
|
function gr(i) {
|
|
8574
8400
|
const e = i.length;
|
|
8575
|
-
if (e < 2)
|
|
8576
|
-
return i;
|
|
8401
|
+
if (e < 2) return i;
|
|
8577
8402
|
const t = Math.ceil(e / 2), r = gr(i.slice(0, t)), a = gr(i.slice(t));
|
|
8578
8403
|
return Yu(r, a);
|
|
8579
8404
|
}
|
|
@@ -8587,14 +8412,12 @@ function Kr(i) {
|
|
|
8587
8412
|
return i.getRootNode().activeElement === i;
|
|
8588
8413
|
}
|
|
8589
8414
|
function Gu(i) {
|
|
8590
|
-
if (!Gr(i))
|
|
8591
|
-
return -1;
|
|
8415
|
+
if (!Gr(i)) return -1;
|
|
8592
8416
|
const e = i.getAttribute("tabindex") || 0;
|
|
8593
8417
|
return Number(e);
|
|
8594
8418
|
}
|
|
8595
8419
|
function Gn(i, e) {
|
|
8596
|
-
if (i.nodeType !== Node.ELEMENT_NODE || Yn(i))
|
|
8597
|
-
return !1;
|
|
8420
|
+
if (i.nodeType !== Node.ELEMENT_NODE || Yn(i)) return !1;
|
|
8598
8421
|
const t = i, r = Gu(t);
|
|
8599
8422
|
let a = r > 0;
|
|
8600
8423
|
r >= 0 && e.push(t);
|
|
@@ -8858,23 +8681,19 @@ function Xn(i, e) {
|
|
|
8858
8681
|
i && i.removeAttribute(e);
|
|
8859
8682
|
}
|
|
8860
8683
|
function Qn(i, e) {
|
|
8861
|
-
if (!i || !e)
|
|
8862
|
-
return;
|
|
8684
|
+
if (!i || !e) return;
|
|
8863
8685
|
const t = Qr(e);
|
|
8864
|
-
if (t.has(i))
|
|
8865
|
-
return;
|
|
8686
|
+
if (t.has(i)) return;
|
|
8866
8687
|
const r = Br(i.getAttribute(e));
|
|
8867
8688
|
t.set(i, new Set(r));
|
|
8868
8689
|
}
|
|
8869
8690
|
function Qu(i, e) {
|
|
8870
|
-
if (!i || !e)
|
|
8871
|
-
return;
|
|
8691
|
+
if (!i || !e) return;
|
|
8872
8692
|
const t = Qr(e), r = t.get(i);
|
|
8873
8693
|
!r || r.size === 0 ? i.removeAttribute(e) : Bn(i, e, Ei(r)), t.delete(i);
|
|
8874
8694
|
}
|
|
8875
8695
|
function Je(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
|
|
8876
|
-
if (!i || !e)
|
|
8877
|
-
return;
|
|
8696
|
+
if (!i || !e) return;
|
|
8878
8697
|
const { newId: r, oldId: a, fromUser: o } = t, n = Qr(e), s = n.get(i);
|
|
8879
8698
|
if (!o && s) {
|
|
8880
8699
|
a && s.delete(a), r && s.add(r);
|
|
@@ -9217,8 +9036,7 @@ const Ti = (i) => class extends Zr(ip(be(i))) {
|
|
|
9217
9036
|
if (e) {
|
|
9218
9037
|
const t = this._errorNode;
|
|
9219
9038
|
this._fieldAriaController.setErrorId(t && t.id);
|
|
9220
|
-
} else
|
|
9221
|
-
this._fieldAriaController.setErrorId(null);
|
|
9039
|
+
} else this._fieldAriaController.setErrorId(null);
|
|
9222
9040
|
});
|
|
9223
9041
|
}
|
|
9224
9042
|
};
|
|
@@ -9685,8 +9503,7 @@ const sp = (i) => class extends Ti(He(nt(i))) {
|
|
|
9685
9503
|
if (t && t.isConnected) {
|
|
9686
9504
|
const r = this.__checkboxes.map((a) => a.inputElement);
|
|
9687
9505
|
this._tooltipController.setAriaTarget(r);
|
|
9688
|
-
} else
|
|
9689
|
-
this._tooltipController.setAriaTarget([]);
|
|
9506
|
+
} else this._tooltipController.setAriaTarget([]);
|
|
9690
9507
|
});
|
|
9691
9508
|
}
|
|
9692
9509
|
get __checkboxes() {
|
|
@@ -11210,12 +11027,10 @@ function _p() {
|
|
|
11210
11027
|
});
|
|
11211
11028
|
}
|
|
11212
11029
|
function gp(i) {
|
|
11213
|
-
for (; i.length; )
|
|
11214
|
-
rs(i.shift());
|
|
11030
|
+
for (; i.length; ) rs(i.shift());
|
|
11215
11031
|
}
|
|
11216
11032
|
function bp(i) {
|
|
11217
|
-
for (let e = 0, t = i.length; e < t; e++)
|
|
11218
|
-
rs(i.shift());
|
|
11033
|
+
for (let e = 0, t = i.length; e < t; e++) rs(i.shift());
|
|
11219
11034
|
}
|
|
11220
11035
|
function rs(i) {
|
|
11221
11036
|
const e = i[0], t = i[1], r = i[2];
|
|
@@ -11255,12 +11070,10 @@ let je = /* @__PURE__ */ new WeakMap(), Qt = /* @__PURE__ */ new WeakMap(), Jt =
|
|
|
11255
11070
|
const Co = (i) => i && i.nodeType === Node.ELEMENT_NODE, Ki = (...i) => {
|
|
11256
11071
|
console.error(`Error: ${i.join(" ")}. Skip setting aria-hidden.`);
|
|
11257
11072
|
}, kp = (i, e) => Co(i) ? e.map((t) => {
|
|
11258
|
-
if (!Co(t))
|
|
11259
|
-
return Ki(t, "is not a valid element"), null;
|
|
11073
|
+
if (!Co(t)) return Ki(t, "is not a valid element"), null;
|
|
11260
11074
|
let r = t;
|
|
11261
11075
|
for (; r && r !== i; ) {
|
|
11262
|
-
if (i.contains(r))
|
|
11263
|
-
return t;
|
|
11076
|
+
if (i.contains(r)) return t;
|
|
11264
11077
|
r = r.getRootNode().host;
|
|
11265
11078
|
}
|
|
11266
11079
|
return Ki(t, "is not contained inside", i), null;
|
|
@@ -11268,25 +11081,21 @@ const Co = (i) => i && i.nodeType === Node.ELEMENT_NODE, Ki = (...i) => {
|
|
|
11268
11081
|
const a = kp(e, Array.isArray(i) ? i : [i]);
|
|
11269
11082
|
Jt[t] || (Jt[t] = /* @__PURE__ */ new WeakMap());
|
|
11270
11083
|
const o = Jt[t], n = [], s = /* @__PURE__ */ new Set(), l = new Set(a), d = (c) => {
|
|
11271
|
-
if (!c || s.has(c))
|
|
11272
|
-
return;
|
|
11084
|
+
if (!c || s.has(c)) return;
|
|
11273
11085
|
s.add(c);
|
|
11274
11086
|
const m = c.assignedSlot;
|
|
11275
11087
|
m && d(m), d(c.parentNode || c.host);
|
|
11276
11088
|
};
|
|
11277
11089
|
a.forEach(d);
|
|
11278
11090
|
const h = (c) => {
|
|
11279
|
-
if (!c || l.has(c))
|
|
11280
|
-
return;
|
|
11091
|
+
if (!c || l.has(c)) return;
|
|
11281
11092
|
const m = c.shadowRoot;
|
|
11282
11093
|
(m ? [...c.children, ...m.children] : [...c.children]).forEach((p) => {
|
|
11283
|
-
if (!["template", "script", "style"].includes(p.localName))
|
|
11284
|
-
|
|
11285
|
-
|
|
11286
|
-
|
|
11287
|
-
|
|
11288
|
-
je.set(p, A), o.set(p, x), n.push(p), A === 1 && M && Qt.set(p, !0), x === 1 && p.setAttribute(t, "true"), M || p.setAttribute(r, "true");
|
|
11289
|
-
}
|
|
11094
|
+
if (!["template", "script", "style"].includes(p.localName)) if (s.has(p)) h(p);
|
|
11095
|
+
else {
|
|
11096
|
+
const y = p.getAttribute(r), M = y !== null && y !== "false", A = (je.get(p) || 0) + 1, x = (o.get(p) || 0) + 1;
|
|
11097
|
+
je.set(p, A), o.set(p, x), n.push(p), A === 1 && M && Qt.set(p, !0), x === 1 && p.setAttribute(t, "true"), M || p.setAttribute(r, "true");
|
|
11098
|
+
}
|
|
11290
11099
|
});
|
|
11291
11100
|
};
|
|
11292
11101
|
return h(e), s.clear(), Gi += 1, () => {
|
|
@@ -11327,8 +11136,7 @@ class Ip {
|
|
|
11327
11136
|
}
|
|
11328
11137
|
restoreFocus(e) {
|
|
11329
11138
|
const t = this.focusNode;
|
|
11330
|
-
if (!t)
|
|
11331
|
-
return;
|
|
11139
|
+
if (!t) return;
|
|
11332
11140
|
const r = e ? e.preventScroll : !1;
|
|
11333
11141
|
_r() === document.body ? setTimeout(() => t.focus({ preventScroll: r })) : t.focus({ preventScroll: r }), this.focusNode = null;
|
|
11334
11142
|
}
|
|
@@ -11357,8 +11165,7 @@ class Tp {
|
|
|
11357
11165
|
document.removeEventListener("keydown", this.__onKeyDown);
|
|
11358
11166
|
}
|
|
11359
11167
|
trapFocus(e) {
|
|
11360
|
-
if (this.__trapNode = e, this.__focusableElements.length === 0)
|
|
11361
|
-
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
11168
|
+
if (this.__trapNode = e, this.__focusableElements.length === 0) throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
11362
11169
|
Xi.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
11363
11170
|
}
|
|
11364
11171
|
releaseFocus() {
|
|
@@ -11408,12 +11215,10 @@ const Pp = (i) => class extends be(i) {
|
|
|
11408
11215
|
return e === document.body || this._deepContains(e);
|
|
11409
11216
|
}
|
|
11410
11217
|
_deepContains(e) {
|
|
11411
|
-
if (this.contains(e))
|
|
11412
|
-
return !0;
|
|
11218
|
+
if (this.contains(e)) return !0;
|
|
11413
11219
|
let t = e;
|
|
11414
11220
|
const r = e.ownerDocument;
|
|
11415
|
-
for (; t && t !== r && t !== this; )
|
|
11416
|
-
t = t.parentNode || t.host;
|
|
11221
|
+
for (; t && t !== r && t !== this; ) t = t.parentNode || t.host;
|
|
11417
11222
|
return t === this;
|
|
11418
11223
|
}
|
|
11419
11224
|
};
|
|
@@ -11443,8 +11248,7 @@ const os = () => Array.from(document.body.children).filter((i) => i instanceof H
|
|
|
11443
11248
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
11444
11249
|
const e = Cr();
|
|
11445
11250
|
let t;
|
|
11446
|
-
for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); )
|
|
11447
|
-
;
|
|
11251
|
+
for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); ) ;
|
|
11448
11252
|
}
|
|
11449
11253
|
};
|
|
11450
11254
|
/**
|
|
@@ -11483,8 +11287,7 @@ const Ut = (i) => class extends Pp(ns(i)) {
|
|
|
11483
11287
|
this.dispatchEvent(t), t.defaultPrevented || (this.opened = !1);
|
|
11484
11288
|
}
|
|
11485
11289
|
_detectIosNavbar() {
|
|
11486
|
-
if (!this.opened)
|
|
11487
|
-
return;
|
|
11290
|
+
if (!this.opened) return;
|
|
11488
11291
|
const e = window.innerHeight, t = window.innerWidth > e, r = document.documentElement.clientHeight;
|
|
11489
11292
|
t && r > e ? this.style.setProperty("--vaadin-overlay-viewport-bottom", `${r - e}px`) : this.style.setProperty("--vaadin-overlay-viewport-bottom", "0");
|
|
11490
11293
|
}
|
|
@@ -11565,8 +11368,7 @@ const Ut = (i) => class extends Pp(ns(i)) {
|
|
|
11565
11368
|
this._mouseDownInside = !1, this._mouseUpInside = !1;
|
|
11566
11369
|
return;
|
|
11567
11370
|
}
|
|
11568
|
-
if (!this._shouldCloseOnOutsideClick(e))
|
|
11569
|
-
return;
|
|
11371
|
+
if (!this._shouldCloseOnOutsideClick(e)) return;
|
|
11570
11372
|
const t = new CustomEvent("vaadin-overlay-outside-click", { bubbles: !0, cancelable: !0, detail: { sourceEvent: e } });
|
|
11571
11373
|
this.dispatchEvent(t), this.opened && !t.defaultPrevented && this.close(e);
|
|
11572
11374
|
}
|
|
@@ -11591,15 +11393,13 @@ function Dp(i, e) {
|
|
|
11591
11393
|
function o(n = !1, s = 1) {
|
|
11592
11394
|
a();
|
|
11593
11395
|
const { left: l, top: d, width: h, height: c } = i.getBoundingClientRect();
|
|
11594
|
-
if (n || e(), !h || !c)
|
|
11595
|
-
return;
|
|
11396
|
+
if (n || e(), !h || !c) return;
|
|
11596
11397
|
const m = Math.floor(d), p = Math.floor(r.clientWidth - (l + h)), y = Math.floor(r.clientHeight - (d + c)), M = Math.floor(l), A = { rootMargin: `${-m}px ${-p}px ${-y}px ${-M}px`, threshold: Math.max(0, Math.min(1, s)) || 1 };
|
|
11597
11398
|
let x = !0;
|
|
11598
11399
|
function I(U) {
|
|
11599
11400
|
let F = U[0].intersectionRatio;
|
|
11600
11401
|
if (F !== s) {
|
|
11601
|
-
if (!x)
|
|
11602
|
-
return o();
|
|
11402
|
+
if (!x) return o();
|
|
11603
11403
|
F === 0 && (F = 1e-7), o(!1, F);
|
|
11604
11404
|
}
|
|
11605
11405
|
x = !1;
|
|
@@ -11662,8 +11462,7 @@ const Qi = { start: "top", end: "bottom" }, Ji = { start: "left", end: "right" }
|
|
|
11662
11462
|
e.target instanceof Node && this.contains(e.target) || this._updatePosition();
|
|
11663
11463
|
}
|
|
11664
11464
|
_updatePosition() {
|
|
11665
|
-
if (!this.positionTarget || !this.opened || !this.__margins)
|
|
11666
|
-
return;
|
|
11465
|
+
if (!this.positionTarget || !this.opened || !this.__margins) return;
|
|
11667
11466
|
const e = this.positionTarget.getBoundingClientRect();
|
|
11668
11467
|
if (e.width === 0 && e.height === 0 && this.opened) {
|
|
11669
11468
|
this.opened = !1;
|
|
@@ -11924,10 +11723,8 @@ function rt(i, e, t, r) {
|
|
|
11924
11723
|
}
|
|
11925
11724
|
function ls(i, e) {
|
|
11926
11725
|
return e.filter((t) => t !== void 0).reduce((t, r) => {
|
|
11927
|
-
if (!r)
|
|
11928
|
-
|
|
11929
|
-
if (!t)
|
|
11930
|
-
return r;
|
|
11726
|
+
if (!r) return t;
|
|
11727
|
+
if (!t) return r;
|
|
11931
11728
|
const a = Math.abs(i.getTime() - r.getTime()), o = Math.abs(t.getTime() - i.getTime());
|
|
11932
11729
|
return a < o ? r : t;
|
|
11933
11730
|
});
|
|
@@ -11937,17 +11734,14 @@ function ds(i) {
|
|
|
11937
11734
|
return t.setDate(1), t.setMonth(parseInt(i) + e.getMonth()), t;
|
|
11938
11735
|
}
|
|
11939
11736
|
function Rp(i, e, t = 0, r = 1) {
|
|
11940
|
-
if (e > 99)
|
|
11941
|
-
|
|
11942
|
-
if (e < 0)
|
|
11943
|
-
throw new Error("The provided year cannot be negative.");
|
|
11737
|
+
if (e > 99) throw new Error("The provided year cannot have more than 2 digits.");
|
|
11738
|
+
if (e < 0) throw new Error("The provided year cannot be negative.");
|
|
11944
11739
|
let a = e + Math.floor(i.getFullYear() / 100) * 100;
|
|
11945
11740
|
return i < new Date(a - 50, t, r) ? a -= 100 : i > new Date(a + 50, t, r) && (a += 100), a;
|
|
11946
11741
|
}
|
|
11947
11742
|
function gt(i) {
|
|
11948
11743
|
const e = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(i);
|
|
11949
|
-
if (!e)
|
|
11950
|
-
return;
|
|
11744
|
+
if (!e) return;
|
|
11951
11745
|
const t = new Date(0, 0);
|
|
11952
11746
|
return t.setFullYear(parseInt(e[1], 10)), t.setMonth(parseInt(e[2], 10) - 1), t.setDate(parseInt(e[3], 10)), t;
|
|
11953
11747
|
}
|
|
@@ -12139,8 +11933,7 @@ class cs extends HTMLElement {
|
|
|
12139
11933
|
this._buffers[t].translateY = this._buffers[t ? 0 : 1].translateY + this._bufferHeight * (t ? -1 : 1), this._buffers[t].style.transform = `translate3d(0, ${this._buffers[t].translateY}px, 0)`, this._buffers[t].updated = !1, this._buffers.reverse();
|
|
12140
11934
|
}
|
|
12141
11935
|
_scroll() {
|
|
12142
|
-
if (this._scrollDisabled)
|
|
12143
|
-
return;
|
|
11936
|
+
if (this._scrollDisabled) return;
|
|
12144
11937
|
const e = this.$.scroller.scrollTop;
|
|
12145
11938
|
(e < this._bufferHeight || e > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
12146
11939
|
const t = this.itemHeight + this.bufferOffset, r = e > this._buffers[1].translateY + t, a = e < this._buffers[0].translateY + t;
|
|
@@ -12170,8 +11963,7 @@ class cs extends HTMLElement {
|
|
|
12170
11963
|
});
|
|
12171
11964
|
}
|
|
12172
11965
|
_ensureStampedInstance(e) {
|
|
12173
|
-
if (e.firstElementChild)
|
|
12174
|
-
return;
|
|
11966
|
+
if (e.firstElementChild) return;
|
|
12175
11967
|
const t = e.instance;
|
|
12176
11968
|
e.instance = this._createElement(), e.appendChild(e.instance), Object.keys(t).forEach((r) => {
|
|
12177
11969
|
e.instance[r] = t[r];
|
|
@@ -12385,18 +12177,13 @@ const Xp = $r(class {
|
|
|
12385
12177
|
function Qp(i, e) {
|
|
12386
12178
|
for (let t = 0; t < e.length; t++) {
|
|
12387
12179
|
let r = e[t];
|
|
12388
|
-
if (!!i != !!r.__hideTemplateChildren__)
|
|
12389
|
-
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
const a = r.__polymerReplaced__;
|
|
12396
|
-
a && J(J(a).parentNode).replaceChild(r, a);
|
|
12397
|
-
}
|
|
12398
|
-
else
|
|
12399
|
-
r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
|
|
12180
|
+
if (!!i != !!r.__hideTemplateChildren__) if (r.nodeType === Node.TEXT_NODE) i ? (r.__polymerTextContent__ = r.textContent, r.textContent = "") : r.textContent = r.__polymerTextContent__;
|
|
12181
|
+
else if (r.localName === "slot") if (i) r.__polymerReplaced__ = document.createComment("hidden-slot"), J(J(r).parentNode).replaceChild(r.__polymerReplaced__, r);
|
|
12182
|
+
else {
|
|
12183
|
+
const a = r.__polymerReplaced__;
|
|
12184
|
+
a && J(J(a).parentNode).replaceChild(r, a);
|
|
12185
|
+
}
|
|
12186
|
+
else r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
|
|
12400
12187
|
r.__hideTemplateChildren__ = i, r._showHideChildren && r._showHideChildren(i);
|
|
12401
12188
|
}
|
|
12402
12189
|
}
|
|
@@ -12405,27 +12192,22 @@ class ca extends Xp {
|
|
|
12405
12192
|
super(), this._configureProperties(e), this.root = this._stampTemplate(this.__dataHost);
|
|
12406
12193
|
let t = [];
|
|
12407
12194
|
this.children = t;
|
|
12408
|
-
for (let a = this.root.firstChild; a; a = a.nextSibling)
|
|
12409
|
-
t.push(a), a.__templatizeInstance = this;
|
|
12195
|
+
for (let a = this.root.firstChild; a; a = a.nextSibling) t.push(a), a.__templatizeInstance = this;
|
|
12410
12196
|
this.__templatizeOwner && this.__templatizeOwner.__hideTemplateChildren__ && this._showHideChildren(!0);
|
|
12411
12197
|
let r = this.__templatizeOptions;
|
|
12412
12198
|
(e && r.instanceProps || !r.instanceProps) && this._enableProperties();
|
|
12413
12199
|
}
|
|
12414
12200
|
_configureProperties(e) {
|
|
12415
|
-
if (this.__templatizeOptions.forwardHostProp)
|
|
12416
|
-
|
|
12417
|
-
this._setPendingProperty(t, this.__dataHost["_host_" + t]);
|
|
12418
|
-
for (let t in e)
|
|
12419
|
-
this._setPendingProperty(t, e[t]);
|
|
12201
|
+
if (this.__templatizeOptions.forwardHostProp) for (let t in this.__hostProps) this._setPendingProperty(t, this.__dataHost["_host_" + t]);
|
|
12202
|
+
for (let t in e) this._setPendingProperty(t, e[t]);
|
|
12420
12203
|
}
|
|
12421
12204
|
forwardHostProp(e, t) {
|
|
12422
12205
|
this._setPendingPropertyOrPath(e, t, !1, !0) && this.__dataHost._enqueueClient(this);
|
|
12423
12206
|
}
|
|
12424
12207
|
_addEventListenerToNode(e, t, r) {
|
|
12425
|
-
if (this._methodHost && this.__templatizeOptions.parentModel)
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
});
|
|
12208
|
+
if (this._methodHost && this.__templatizeOptions.parentModel) this._methodHost._addEventListenerToNode(e, t, (a) => {
|
|
12209
|
+
a.model = this, r(a);
|
|
12210
|
+
});
|
|
12429
12211
|
else {
|
|
12430
12212
|
let a = this.__dataHost.__dataHost;
|
|
12431
12213
|
a && a._addEventListenerToNode(e, t, r);
|
|
@@ -12483,20 +12265,17 @@ function em(i, e, t, r) {
|
|
|
12483
12265
|
n = e.templatizeTemplateClass = d;
|
|
12484
12266
|
}
|
|
12485
12267
|
let s = e.hostProps;
|
|
12486
|
-
for (let l in s)
|
|
12487
|
-
n.prototype._addPropertyEffect("_host_" + l, n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: tm(l, a) }), n.prototype._createNotifyingProperty("_host_" + l);
|
|
12268
|
+
for (let l in s) n.prototype._addPropertyEffect("_host_" + l, n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: tm(l, a) }), n.prototype._createNotifyingProperty("_host_" + l);
|
|
12488
12269
|
pn && r && om(e, t, r);
|
|
12489
12270
|
}
|
|
12490
|
-
if (i.__dataProto && Object.assign(i.__data, i.__dataProto), o)
|
|
12491
|
-
Kp(i, n), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
|
|
12271
|
+
if (i.__dataProto && Object.assign(i.__data, i.__dataProto), o) Kp(i, n), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
|
|
12492
12272
|
else {
|
|
12493
12273
|
Object.setPrototypeOf(i, n.prototype);
|
|
12494
12274
|
const s = e.hostProps;
|
|
12495
|
-
for (let l in s)
|
|
12496
|
-
|
|
12497
|
-
|
|
12498
|
-
|
|
12499
|
-
}
|
|
12275
|
+
for (let l in s) if (l = "_host_" + l, l in i) {
|
|
12276
|
+
const d = i[l];
|
|
12277
|
+
delete i[l], i.__data[l] = d;
|
|
12278
|
+
}
|
|
12500
12279
|
}
|
|
12501
12280
|
}
|
|
12502
12281
|
}
|
|
@@ -12512,9 +12291,7 @@ function im(i, e, t, r) {
|
|
|
12512
12291
|
let n = r.notifyInstanceProp;
|
|
12513
12292
|
n && i.prototype._addPropertyEffect(o, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: rm(o, n) });
|
|
12514
12293
|
}
|
|
12515
|
-
if (r.forwardHostProp && e.__dataHost)
|
|
12516
|
-
for (let o in a)
|
|
12517
|
-
t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(o, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: am() });
|
|
12294
|
+
if (r.forwardHostProp && e.__dataHost) for (let o in a) t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(o, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: am() });
|
|
12518
12295
|
}
|
|
12519
12296
|
function rm(i, e) {
|
|
12520
12297
|
return function(t, r, a) {
|
|
@@ -12527,10 +12304,8 @@ function am() {
|
|
|
12527
12304
|
};
|
|
12528
12305
|
}
|
|
12529
12306
|
function Ir(i, e, t) {
|
|
12530
|
-
if (fi && !Eo(i))
|
|
12531
|
-
|
|
12532
|
-
if (t = t || {}, i.__templatizeOwner)
|
|
12533
|
-
throw new Error("A <template> can only be templatized once");
|
|
12307
|
+
if (fi && !Eo(i)) throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
12308
|
+
if (t = t || {}, i.__templatizeOwner) throw new Error("A <template> can only be templatized once");
|
|
12534
12309
|
i.__templatizeOwner = e;
|
|
12535
12310
|
let r = (e ? e.constructor : ca)._parseTemplate(i), a = r.templatizeInstanceClass;
|
|
12536
12311
|
a || (a = Zp(i, r, t), r.templatizeInstanceClass = a);
|
|
@@ -12542,28 +12317,22 @@ function Ir(i, e, t) {
|
|
|
12542
12317
|
}
|
|
12543
12318
|
function om(i, e, t) {
|
|
12544
12319
|
const r = t.constructor._properties, { propertyEffects: a } = i, { instanceProps: o } = e;
|
|
12545
|
-
for (let n in a)
|
|
12546
|
-
|
|
12547
|
-
|
|
12548
|
-
|
|
12549
|
-
|
|
12550
|
-
|
|
12551
|
-
|
|
12552
|
-
break;
|
|
12553
|
-
}
|
|
12320
|
+
for (let n in a) if (!r[n] && !(o && o[n])) {
|
|
12321
|
+
const s = a[n];
|
|
12322
|
+
for (let l = 0; l < s.length; l++) {
|
|
12323
|
+
const { part: d } = s[l].info;
|
|
12324
|
+
if (!(d.signature && d.signature.static)) {
|
|
12325
|
+
console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);
|
|
12326
|
+
break;
|
|
12554
12327
|
}
|
|
12555
12328
|
}
|
|
12329
|
+
}
|
|
12556
12330
|
}
|
|
12557
12331
|
function nm(i, e) {
|
|
12558
12332
|
let t;
|
|
12559
|
-
for (; e; )
|
|
12560
|
-
|
|
12561
|
-
|
|
12562
|
-
e = t.__dataHost;
|
|
12563
|
-
else
|
|
12564
|
-
return t;
|
|
12565
|
-
else
|
|
12566
|
-
e = J(e).parentNode;
|
|
12333
|
+
for (; e; ) if (t = e.__dataHost ? e : e.__templatizeInstance) if (t.__dataHost != i) e = t.__dataHost;
|
|
12334
|
+
else return t;
|
|
12335
|
+
else e = J(e).parentNode;
|
|
12567
12336
|
return null;
|
|
12568
12337
|
}
|
|
12569
12338
|
/**
|
|
@@ -12615,16 +12384,14 @@ class Io extends lm {
|
|
|
12615
12384
|
}
|
|
12616
12385
|
disconnectedCallback() {
|
|
12617
12386
|
super.disconnectedCallback(), this.__isDetached = !0;
|
|
12618
|
-
for (let e = 0; e < this.__instances.length; e++)
|
|
12619
|
-
this.__detachInstance(e);
|
|
12387
|
+
for (let e = 0; e < this.__instances.length; e++) this.__detachInstance(e);
|
|
12620
12388
|
this.__chunkingId && cancelAnimationFrame(this.__chunkingId);
|
|
12621
12389
|
}
|
|
12622
12390
|
connectedCallback() {
|
|
12623
12391
|
if (super.connectedCallback(), sm() || (this.style.display = "none"), this.__isDetached) {
|
|
12624
12392
|
this.__isDetached = !1;
|
|
12625
12393
|
let e = J(J(this).parentNode);
|
|
12626
|
-
for (let t = 0; t < this.__instances.length; t++)
|
|
12627
|
-
this.__attachInstance(t, e);
|
|
12394
|
+
for (let t = 0; t < this.__instances.length; t++) this.__attachInstance(t, e);
|
|
12628
12395
|
this.__chunkingId && this.__render();
|
|
12629
12396
|
}
|
|
12630
12397
|
}
|
|
@@ -12634,18 +12401,15 @@ class Io extends lm {
|
|
|
12634
12401
|
let t = this.template = e._templateInfo ? e : this.querySelector("template");
|
|
12635
12402
|
if (!t) {
|
|
12636
12403
|
let a = new MutationObserver(() => {
|
|
12637
|
-
if (this.querySelector("template"))
|
|
12638
|
-
|
|
12639
|
-
else
|
|
12640
|
-
throw new Error("dom-repeat requires a <template> child");
|
|
12404
|
+
if (this.querySelector("template")) a.disconnect(), this.__render();
|
|
12405
|
+
else throw new Error("dom-repeat requires a <template> child");
|
|
12641
12406
|
});
|
|
12642
12407
|
return a.observe(this, { childList: !0 }), !1;
|
|
12643
12408
|
}
|
|
12644
12409
|
let r = {};
|
|
12645
12410
|
r[this.as] = !0, r[this.indexAs] = !0, r[this.itemsIndexAs] = !0, this.__ctor = Ir(t, this, { mutableData: this.mutableData, parentModel: !0, instanceProps: r, forwardHostProp: function(a, o) {
|
|
12646
12411
|
let n = this.__instances;
|
|
12647
|
-
for (let s = 0, l; s < n.length && (l = n[s]); s++)
|
|
12648
|
-
l.forwardHostProp(a, o);
|
|
12412
|
+
for (let s = 0, l; s < n.length && (l = n[s]); s++) l.forwardHostProp(a, o);
|
|
12649
12413
|
}, notifyInstanceProp: function(a, o, n) {
|
|
12650
12414
|
if (hc(this.as, o)) {
|
|
12651
12415
|
let s = a[this.itemsIndexAs];
|
|
@@ -12683,12 +12447,10 @@ class Io extends lm {
|
|
|
12683
12447
|
}
|
|
12684
12448
|
__handleObservedPaths(e) {
|
|
12685
12449
|
if (this.__sortFn || this.__filterFn) {
|
|
12686
|
-
if (!e)
|
|
12687
|
-
this.__debounceRender(this.__render, this.delay);
|
|
12450
|
+
if (!e) this.__debounceRender(this.__render, this.delay);
|
|
12688
12451
|
else if (this.__observePaths) {
|
|
12689
12452
|
let t = this.__observePaths;
|
|
12690
|
-
for (let r = 0; r < t.length; r++)
|
|
12691
|
-
e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
|
|
12453
|
+
for (let r = 0; r < t.length; r++) e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
|
|
12692
12454
|
}
|
|
12693
12455
|
}
|
|
12694
12456
|
}
|
|
@@ -12702,8 +12464,7 @@ class Io extends lm {
|
|
|
12702
12464
|
this.__debounceRender(this.__render), la();
|
|
12703
12465
|
}
|
|
12704
12466
|
__render() {
|
|
12705
|
-
if (!this.__ensureTemplatized())
|
|
12706
|
-
return;
|
|
12467
|
+
if (!this.__ensureTemplatized()) return;
|
|
12707
12468
|
let e = this.items || [];
|
|
12708
12469
|
const t = this.__sortAndFilterItems(e), r = this.__calculateLimit(t.length);
|
|
12709
12470
|
this.__updateInstances(e, r, t), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
@@ -12712,8 +12473,7 @@ class Io extends lm {
|
|
|
12712
12473
|
}
|
|
12713
12474
|
__sortAndFilterItems(e) {
|
|
12714
12475
|
let t = new Array(e.length);
|
|
12715
|
-
for (let r = 0; r < e.length; r++)
|
|
12716
|
-
t[r] = r;
|
|
12476
|
+
for (let r = 0; r < e.length; r++) t[r] = r;
|
|
12717
12477
|
return this.__filterFn && (t = t.filter((r, a, o) => this.__filterFn(e[r], a, o))), this.__sortFn && t.sort((r, a) => this.__sortFn(e[r], e[a])), t;
|
|
12718
12478
|
}
|
|
12719
12479
|
__calculateLimit(e) {
|
|
@@ -12739,8 +12499,7 @@ class Io extends lm {
|
|
|
12739
12499
|
let n = this.__instances[o], s = r[o], l = e[s];
|
|
12740
12500
|
a[s] = o, n ? (n._setPendingProperty(this.as, l), n._setPendingProperty(this.indexAs, o), n._setPendingProperty(this.itemsIndexAs, s), n._flushProperties()) : this.__insertInstance(l, o, s);
|
|
12741
12501
|
}
|
|
12742
|
-
for (let n = this.__instances.length - 1; n >= o; n--)
|
|
12743
|
-
this.__detachAndRemoveInstance(n);
|
|
12502
|
+
for (let n = this.__instances.length - 1; n >= o; n--) this.__detachAndRemoveInstance(n);
|
|
12744
12503
|
}
|
|
12745
12504
|
__detachInstance(e) {
|
|
12746
12505
|
let t = this.__instances[e];
|
|
@@ -12768,8 +12527,7 @@ class Io extends lm {
|
|
|
12768
12527
|
return J(J(this).parentNode).insertBefore(a.root, n), this.__instances[t] = a, a;
|
|
12769
12528
|
}
|
|
12770
12529
|
_showHideChildren(e) {
|
|
12771
|
-
for (let t = 0; t < this.__instances.length; t++)
|
|
12772
|
-
this.__instances[t]._showHideChildren(e);
|
|
12530
|
+
for (let t = 0; t < this.__instances.length; t++) this.__instances[t]._showHideChildren(e);
|
|
12773
12531
|
}
|
|
12774
12532
|
__handleItemPath(e, t) {
|
|
12775
12533
|
let r = e.slice(6), a = r.indexOf("."), o = a < 0 ? r : r.substring(0, a);
|
|
@@ -12822,8 +12580,7 @@ const dm = (i) => class extends He(i) {
|
|
|
12822
12580
|
return o.setFullYear(e.getFullYear()), o.setMonth(e.getMonth() + 1), o.setDate(0), t && r && t.getMonth() === r.getMonth() && t.getMonth() === e.getMonth() && r.getDate() - t.getDate() >= 0 ? !1 : !rt(a, t, r) && !rt(o, t, r);
|
|
12823
12581
|
}
|
|
12824
12582
|
_getTitle(e, t) {
|
|
12825
|
-
if (!(e === void 0 || t === void 0))
|
|
12826
|
-
return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
|
|
12583
|
+
if (!(e === void 0 || t === void 0)) return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
|
|
12827
12584
|
}
|
|
12828
12585
|
_onMonthGridTouchStart() {
|
|
12829
12586
|
this._notTapping = !1, setTimeout(() => {
|
|
@@ -12834,12 +12591,10 @@ const dm = (i) => class extends He(i) {
|
|
|
12834
12591
|
e.setDate(e.getDate() + t);
|
|
12835
12592
|
}
|
|
12836
12593
|
_applyFirstDayOfWeek(e, t) {
|
|
12837
|
-
if (!(e === void 0 || t === void 0))
|
|
12838
|
-
return e.slice(t).concat(e.slice(0, t));
|
|
12594
|
+
if (!(e === void 0 || t === void 0)) return e.slice(t).concat(e.slice(0, t));
|
|
12839
12595
|
}
|
|
12840
12596
|
_getWeekDayNames(e, t) {
|
|
12841
|
-
if (e === void 0 || t === void 0)
|
|
12842
|
-
return [];
|
|
12597
|
+
if (e === void 0 || t === void 0) return [];
|
|
12843
12598
|
const { weekdays: r, weekdaysShort: a, firstDayOfWeek: o } = e, n = this._applyFirstDayOfWeek(a, o);
|
|
12844
12599
|
return this._applyFirstDayOfWeek(r, o).map((s, l) => ({ weekDay: s, weekDayShort: n[l] })).slice(0, 7);
|
|
12845
12600
|
}
|
|
@@ -12856,14 +12611,11 @@ const dm = (i) => class extends He(i) {
|
|
|
12856
12611
|
return Ce(/* @__PURE__ */ new Date(), e);
|
|
12857
12612
|
}
|
|
12858
12613
|
_getDays(e, t) {
|
|
12859
|
-
if (e === void 0 || t === void 0)
|
|
12860
|
-
return [];
|
|
12614
|
+
if (e === void 0 || t === void 0) return [];
|
|
12861
12615
|
const r = new Date(0, 0);
|
|
12862
|
-
for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; )
|
|
12863
|
-
this._dateAdd(r, -1);
|
|
12616
|
+
for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; ) this._dateAdd(r, -1);
|
|
12864
12617
|
const a = [], o = r.getMonth(), n = e.getMonth();
|
|
12865
|
-
for (; r.getMonth() === n || r.getMonth() === o; )
|
|
12866
|
-
a.push(r.getMonth() === n ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
|
|
12618
|
+
for (; r.getMonth() === n || r.getMonth() === o; ) a.push(r.getMonth() === n ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
|
|
12867
12619
|
return a;
|
|
12868
12620
|
}
|
|
12869
12621
|
_getWeeks(e) {
|
|
@@ -12880,8 +12632,7 @@ const dm = (i) => class extends He(i) {
|
|
|
12880
12632
|
return Lp(t);
|
|
12881
12633
|
}
|
|
12882
12634
|
__getDayAriaLabel(e) {
|
|
12883
|
-
if (!e)
|
|
12884
|
-
return "";
|
|
12635
|
+
if (!e) return "";
|
|
12885
12636
|
let t = `${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;
|
|
12886
12637
|
return this._isToday(e) && (t += `, ${this.i18n.today}`), t;
|
|
12887
12638
|
}
|
|
@@ -13023,15 +12774,13 @@ class cm extends dm(z(S)) {
|
|
|
13023
12774
|
return Ce(e, t);
|
|
13024
12775
|
}
|
|
13025
12776
|
__getDayAriaSelected(e, t) {
|
|
13026
|
-
if (this.__isDaySelected(e, t))
|
|
13027
|
-
return "true";
|
|
12777
|
+
if (this.__isDaySelected(e, t)) return "true";
|
|
13028
12778
|
}
|
|
13029
12779
|
__isDayDisabled(e, t, r, a) {
|
|
13030
12780
|
return !rt(e, t, r, a);
|
|
13031
12781
|
}
|
|
13032
12782
|
__getDayAriaDisabled(e, t, r, a) {
|
|
13033
|
-
if (!(e === void 0 || t === void 0 && r === void 0 && a === void 0) && this.__isDayDisabled(e, t, r, a))
|
|
13034
|
-
return "true";
|
|
12783
|
+
if (!(e === void 0 || t === void 0 && r === void 0 && a === void 0) && this.__isDayDisabled(e, t, r, a)) return "true";
|
|
13035
12784
|
}
|
|
13036
12785
|
__getDayTabindex(e, t) {
|
|
13037
12786
|
return this.__isDayFocused(e, t) ? "0" : "-1";
|
|
@@ -13160,8 +12909,7 @@ const um = (i) => class extends i {
|
|
|
13160
12909
|
this.revealDate(e);
|
|
13161
12910
|
}
|
|
13162
12911
|
revealDate(e, t = !0) {
|
|
13163
|
-
if (!e)
|
|
13164
|
-
return;
|
|
12912
|
+
if (!e) return;
|
|
13165
12913
|
const r = this._differenceInMonths(e, this._originDate);
|
|
13166
12914
|
if (this.__useSubMonthScrolling) {
|
|
13167
12915
|
const s = this._calculateWeekScrollOffset(e);
|
|
@@ -13175,8 +12923,7 @@ const um = (i) => class extends i {
|
|
|
13175
12923
|
const t = new Date(0, 0);
|
|
13176
12924
|
t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth()), t.setDate(1);
|
|
13177
12925
|
let r = 0;
|
|
13178
|
-
for (; t.getDate() < e.getDate(); )
|
|
13179
|
-
t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
|
|
12926
|
+
for (; t.getDate() < e.getDate(); ) t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
|
|
13180
12927
|
return r / 6;
|
|
13181
12928
|
}
|
|
13182
12929
|
_initialPositionChanged(e) {
|
|
@@ -13246,8 +12993,7 @@ const um = (i) => class extends i {
|
|
|
13246
12993
|
if (d < this.scrollDuration) {
|
|
13247
12994
|
const h = a(d, n, this._targetPosition - n, this.scrollDuration);
|
|
13248
12995
|
this._monthScroller.position = h, window.requestAnimationFrame(s);
|
|
13249
|
-
} else
|
|
13250
|
-
this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: n } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, r(), this._revealPromise = void 0;
|
|
12996
|
+
} else this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: n } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, r(), this._revealPromise = void 0;
|
|
13251
12997
|
setTimeout(this._repositionYearScroller.bind(this), 1);
|
|
13252
12998
|
};
|
|
13253
12999
|
window.requestAnimationFrame(s);
|
|
@@ -13256,25 +13002,23 @@ const um = (i) => class extends i {
|
|
|
13256
13002
|
return Math.min(t.max, Math.max(t.min, e));
|
|
13257
13003
|
}
|
|
13258
13004
|
_handleTrack(e) {
|
|
13259
|
-
if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10)
|
|
13260
|
-
return;
|
|
13005
|
+
if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10) return;
|
|
13261
13006
|
Math.abs(e.detail.ddx) > this._yearScrollerWidth / 3 && this._toggleAnimateClass(!0);
|
|
13262
13007
|
const t = this._translateX + e.detail.ddx;
|
|
13263
13008
|
this._translateX = this._limit(t, { min: 0, max: this._yearScrollerWidth });
|
|
13264
13009
|
}
|
|
13265
13010
|
_track(e) {
|
|
13266
|
-
if (!this._desktopMode)
|
|
13267
|
-
|
|
13268
|
-
|
|
13269
|
-
|
|
13270
|
-
|
|
13271
|
-
|
|
13272
|
-
|
|
13273
|
-
|
|
13274
|
-
|
|
13275
|
-
|
|
13276
|
-
|
|
13277
|
-
}
|
|
13011
|
+
if (!this._desktopMode) switch (e.detail.state) {
|
|
13012
|
+
case "start":
|
|
13013
|
+
this._toggleAnimateClass(!1);
|
|
13014
|
+
break;
|
|
13015
|
+
case "track":
|
|
13016
|
+
this._handleTrack(e);
|
|
13017
|
+
break;
|
|
13018
|
+
case "end":
|
|
13019
|
+
this._toggleAnimateClass(!0), this._translateX >= this._yearScrollerWidth / 2 ? this._closeYearScroller() : this._openYearScroller();
|
|
13020
|
+
break;
|
|
13021
|
+
}
|
|
13278
13022
|
}
|
|
13279
13023
|
_toggleAnimateClass(e) {
|
|
13280
13024
|
e ? this.classList.add("animate") : this.classList.remove("animate");
|
|
@@ -13614,8 +13358,7 @@ const pa = W((i) => class extends Xr(Zr(Ft(i))) {
|
|
|
13614
13358
|
this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`);
|
|
13615
13359
|
}
|
|
13616
13360
|
_constraintsChanged(e, ...t) {
|
|
13617
|
-
if (!e)
|
|
13618
|
-
return;
|
|
13361
|
+
if (!e) return;
|
|
13619
13362
|
const r = this._hasValidConstraints(t), a = this.__previousHasConstraints && !r;
|
|
13620
13363
|
(this._hasValue || this.invalid) && r ? this.validate() : a && this._setInvalid(!1), this.__previousHasConstraints = r;
|
|
13621
13364
|
}
|
|
@@ -13688,12 +13431,11 @@ const Di = (i) => class extends fs(Ii(pa(Ti(_m(Be(i)))))) {
|
|
|
13688
13431
|
this.allowedCharPattern && e.data && !this.__allowedTextRegExp.test(e.data) && (e.preventDefault(), this._markInputPrevented());
|
|
13689
13432
|
}
|
|
13690
13433
|
_allowedCharPatternChanged(e) {
|
|
13691
|
-
if (e)
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
}
|
|
13434
|
+
if (e) try {
|
|
13435
|
+
this.__allowedCharRegExp = new RegExp(`^${e}$`, "u"), this.__allowedTextRegExp = new RegExp(`^${e}*$`, "u");
|
|
13436
|
+
} catch (t) {
|
|
13437
|
+
console.error(t);
|
|
13438
|
+
}
|
|
13697
13439
|
}
|
|
13698
13440
|
};
|
|
13699
13441
|
/**
|
|
@@ -13788,8 +13530,7 @@ const qt = (i) => class extends i {
|
|
|
13788
13530
|
return ["__updateOverlayClassNames(overlayClass, _overlayElement)"];
|
|
13789
13531
|
}
|
|
13790
13532
|
__updateOverlayClassNames(e, t) {
|
|
13791
|
-
if (!t || e === void 0)
|
|
13792
|
-
return;
|
|
13533
|
+
if (!t || e === void 0) return;
|
|
13793
13534
|
const { classList: r } = t;
|
|
13794
13535
|
if (this.__initialClasses || (this.__initialClasses = new Set(r)), Array.isArray(this.__previousClasses)) {
|
|
13795
13536
|
const o = this.__previousClasses.filter((n) => !this.__initialClasses.has(n));
|
|
@@ -13832,10 +13573,8 @@ const bm = (i) => class extends qt(be(Ii(pa(Be(i))))) {
|
|
|
13832
13573
|
const s = this.referenceDate ? gt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
13833
13574
|
n = Rp(s, n, o, a);
|
|
13834
13575
|
}
|
|
13835
|
-
} else
|
|
13836
|
-
|
|
13837
|
-
if (a !== void 0)
|
|
13838
|
-
return { day: a, month: o, year: n };
|
|
13576
|
+
} else t.length === 2 ? (o = parseInt(t[0]) - 1, a = parseInt(t[1])) : t.length === 1 && (a = parseInt(t[0]));
|
|
13577
|
+
if (a !== void 0) return { day: a, month: o, year: n };
|
|
13839
13578
|
}, formatTitle: (e, t) => `${e} ${t}` }) }, min: { type: String, sync: !0 }, max: { type: String, sync: !0 }, isDateDisabled: { type: Function }, _minDate: { type: Date, computed: "__computeMinOrMaxDate(min)", sync: !0 }, _maxDate: { type: Date, computed: "__computeMinOrMaxDate(max)", sync: !0 }, _noInput: { type: Boolean, computed: "_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)" }, _ios: { type: Boolean, value: aa }, _focusOverlayOnOpen: Boolean, _overlayContent: { type: Object, sync: !0 }, _hasInputValue: { type: Boolean } };
|
|
13840
13579
|
}
|
|
13841
13580
|
static get observers() {
|
|
@@ -13885,8 +13624,7 @@ const bm = (i) => class extends qt(be(Ii(pa(Be(i))))) {
|
|
|
13885
13624
|
this.$.overlay.close();
|
|
13886
13625
|
}
|
|
13887
13626
|
_overlayRenderer(e) {
|
|
13888
|
-
if (e.firstChild)
|
|
13889
|
-
return;
|
|
13627
|
+
if (e.firstChild) return;
|
|
13890
13628
|
const t = document.createElement("vaadin-date-picker-overlay-content");
|
|
13891
13629
|
e.appendChild(t), this._overlayContent = t, t.addEventListener("close", () => {
|
|
13892
13630
|
this._close();
|
|
@@ -13903,15 +13641,12 @@ const bm = (i) => class extends qt(be(Ii(pa(Be(i))))) {
|
|
|
13903
13641
|
}), t.addEventListener("click", (r) => r.stopPropagation());
|
|
13904
13642
|
}
|
|
13905
13643
|
__parseDate(e) {
|
|
13906
|
-
if (!this.i18n.parseDate)
|
|
13907
|
-
return;
|
|
13644
|
+
if (!this.i18n.parseDate) return;
|
|
13908
13645
|
let t = this.i18n.parseDate(e);
|
|
13909
|
-
if (t && (t = gt(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime()))
|
|
13910
|
-
return t;
|
|
13646
|
+
if (t && (t = gt(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime())) return t;
|
|
13911
13647
|
}
|
|
13912
13648
|
__formatDate(e) {
|
|
13913
|
-
if (this.i18n.formatDate)
|
|
13914
|
-
return this.i18n.formatDate(sa(e));
|
|
13649
|
+
if (this.i18n.formatDate) return this.i18n.formatDate(sa(e));
|
|
13915
13650
|
}
|
|
13916
13651
|
checkValidity() {
|
|
13917
13652
|
const e = this._inputElementValue, t = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), r = !this._selectedDate || rt(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
@@ -14001,8 +13736,7 @@ const bm = (i) => class extends qt(be(Ii(pa(Be(i))))) {
|
|
|
14001
13736
|
if (this._ignoreFocusedDateChange = !0, this.i18n.parseDate) {
|
|
14002
13737
|
const e = this._inputElementValue || "", t = this.__parseDate(e);
|
|
14003
13738
|
t ? this.__commitDate(t) : (this.__keepInputValue = !0, this.__commitDate(null), this.__keepInputValue = !1);
|
|
14004
|
-
} else
|
|
14005
|
-
this._focusedDate && this.__commitDate(this._focusedDate);
|
|
13739
|
+
} else this._focusedDate && this.__commitDate(this._focusedDate);
|
|
14006
13740
|
this._ignoreFocusedDateChange = !1;
|
|
14007
13741
|
}
|
|
14008
13742
|
_onOverlayClosed() {
|
|
@@ -14379,8 +14113,7 @@ const Im = (i) => class extends fs(nt(He(Ft(i)))) {
|
|
|
14379
14113
|
return !(e.relatedTarget === this._revealNode || e.relatedTarget === this.inputElement && e.target === this._revealNode);
|
|
14380
14114
|
}
|
|
14381
14115
|
_setFocused(e) {
|
|
14382
|
-
if (super._setFocused(e), !e)
|
|
14383
|
-
this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
|
|
14116
|
+
if (super._setFocused(e), !e) this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
|
|
14384
14117
|
else {
|
|
14385
14118
|
const t = this.getRootNode().activeElement === this._revealNode;
|
|
14386
14119
|
this.toggleAttribute("focus-ring", this._keyboardActive && !t);
|
|
@@ -14655,8 +14388,7 @@ const ks = (i) => class extends i {
|
|
|
14655
14388
|
e && this.setAttribute("dir", e);
|
|
14656
14389
|
}
|
|
14657
14390
|
requestContentUpdate() {
|
|
14658
|
-
if (!this.renderer || this.hidden)
|
|
14659
|
-
return;
|
|
14391
|
+
if (!this.renderer || this.hidden) return;
|
|
14660
14392
|
const e = { index: this.index, item: this.item, focused: this.focused, selected: this.selected };
|
|
14661
14393
|
this.renderer(this, this._owner, e);
|
|
14662
14394
|
}
|
|
@@ -14814,8 +14546,7 @@ const To = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Mm
|
|
|
14814
14546
|
if (i == null) {
|
|
14815
14547
|
let e = this._physicalTop + this._scrollOffset;
|
|
14816
14548
|
i = this._iterateItems((t, r) => {
|
|
14817
|
-
if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition)
|
|
14818
|
-
return r;
|
|
14549
|
+
if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition) return r;
|
|
14819
14550
|
}) || 0, this._firstVisibleIndexVal = i;
|
|
14820
14551
|
}
|
|
14821
14552
|
return i;
|
|
@@ -14847,24 +14578,20 @@ const To = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Mm
|
|
|
14847
14578
|
const a = [], o = this._hiddenContentSize * this._ratio, n = this._virtualStart, s = this._virtualEnd, l = this._physicalCount;
|
|
14848
14579
|
let d = this._physicalTop + this._scrollOffset;
|
|
14849
14580
|
const h = this._physicalBottom + this._scrollOffset, c = this._scrollPosition, m = this._scrollBottom;
|
|
14850
|
-
for (i ? (e = this._physicalStart, t = c - d) : (e = this._physicalEnd, t = h - m); r = this._getPhysicalSizeIncrement(e), t -= r, !(a.length >= l || t <= o); )
|
|
14851
|
-
if (
|
|
14852
|
-
|
|
14853
|
-
|
|
14854
|
-
|
|
14855
|
-
|
|
14856
|
-
|
|
14857
|
-
break;
|
|
14858
|
-
a.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
|
|
14859
|
-
}
|
|
14581
|
+
for (i ? (e = this._physicalStart, t = c - d) : (e = this._physicalEnd, t = h - m); r = this._getPhysicalSizeIncrement(e), t -= r, !(a.length >= l || t <= o); ) if (i) {
|
|
14582
|
+
if (s + a.length + 1 >= this._virtualCount || d + r >= c - this._scrollOffset) break;
|
|
14583
|
+
a.push(e), d += r, e = (e + 1) % l;
|
|
14584
|
+
} else {
|
|
14585
|
+
if (n - a.length <= 0 || d + this._physicalSize - r <= m) break;
|
|
14586
|
+
a.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
|
|
14587
|
+
}
|
|
14860
14588
|
return { indexes: a, physicalTop: d - this._scrollOffset };
|
|
14861
14589
|
}, _update(i, e) {
|
|
14862
14590
|
if (!(i && i.length === 0 || this._physicalCount === 0)) {
|
|
14863
|
-
if (this._assignModels(i), this._updateMetrics(i), e)
|
|
14864
|
-
|
|
14865
|
-
|
|
14866
|
-
|
|
14867
|
-
}
|
|
14591
|
+
if (this._assignModels(i), this._updateMetrics(i), e) for (; e.length; ) {
|
|
14592
|
+
const t = e.pop();
|
|
14593
|
+
this._physicalTop -= this._getPhysicalSizeIncrement(t);
|
|
14594
|
+
}
|
|
14868
14595
|
this._positionItems(), this._updateScrollerSize();
|
|
14869
14596
|
}
|
|
14870
14597
|
}, _isClientFull() {
|
|
@@ -14876,34 +14603,25 @@ const To = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Mm
|
|
|
14876
14603
|
if (e > 0) {
|
|
14877
14604
|
const r = window.performance.now();
|
|
14878
14605
|
[].push.apply(this._physicalItems, this._createPool(e));
|
|
14879
|
-
for (let a = 0; a < e; a++)
|
|
14880
|
-
this._physicalSizes.push(0);
|
|
14606
|
+
for (let a = 0; a < e; a++) this._physicalSizes.push(0);
|
|
14881
14607
|
this._physicalCount += e, this._physicalStart > this._physicalEnd && this._isIndexRendered(this._focusedVirtualIndex) && this._getPhysicalIndex(this._focusedVirtualIndex) < this._physicalEnd && (this._physicalStart += e), this._update(), this._templateCost = (window.performance.now() - r) / e, t = Math.round(this._physicalCount * 0.5);
|
|
14882
14608
|
}
|
|
14883
14609
|
this._virtualEnd >= this._virtualCount - 1 || t === 0 || (this._isClientFull() ? this._physicalSize < this._optPhysicalSize && this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, this._clamp(Math.round(50 / this._templateCost), 1, t)), Rn) : this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, t), _i));
|
|
14884
14610
|
}
|
|
14885
14611
|
}, _render() {
|
|
14886
|
-
if (!(!this.isAttached || !this._isVisible))
|
|
14887
|
-
|
|
14888
|
-
|
|
14889
|
-
|
|
14890
|
-
} else
|
|
14891
|
-
this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(Po));
|
|
14612
|
+
if (!(!this.isAttached || !this._isVisible)) if (this._physicalCount !== 0) {
|
|
14613
|
+
const i = this._getReusables(!0);
|
|
14614
|
+
this._physicalTop = i.physicalTop, this._virtualStart += i.indexes.length, this._physicalStart += i.indexes.length, this._update(i.indexes), this._update(), this._increasePoolIfNeeded(0);
|
|
14615
|
+
} else this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(Po));
|
|
14892
14616
|
}, _itemsChanged(i) {
|
|
14893
14617
|
i.path === "items" && (this._virtualStart = 0, this._physicalTop = 0, this._virtualCount = this.items ? this.items.length : 0, this._physicalIndexForKey = {}, this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._physicalItems || (this._physicalItems = []), this._physicalSizes || (this._physicalSizes = []), this._physicalStart = 0, this._scrollTop > this._scrollOffset && this._resetScrollPosition(0), this._debounce("_render", this._render, Vt));
|
|
14894
14618
|
}, _iterateItems(i, e) {
|
|
14895
14619
|
let t, r, a, o;
|
|
14896
14620
|
if (arguments.length === 2 && e) {
|
|
14897
|
-
for (o = 0; o < e.length; o++)
|
|
14898
|
-
if (t = e[o], r = this._computeVidx(t), (a = i.call(this, t, r)) != null)
|
|
14899
|
-
return a;
|
|
14621
|
+
for (o = 0; o < e.length; o++) if (t = e[o], r = this._computeVidx(t), (a = i.call(this, t, r)) != null) return a;
|
|
14900
14622
|
} else {
|
|
14901
|
-
for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++)
|
|
14902
|
-
|
|
14903
|
-
return a;
|
|
14904
|
-
for (t = 0; t < this._physicalStart; t++, r++)
|
|
14905
|
-
if ((a = i.call(this, t, r)) != null)
|
|
14906
|
-
return a;
|
|
14623
|
+
for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++) if ((a = i.call(this, t, r)) != null) return a;
|
|
14624
|
+
for (t = 0; t < this._physicalStart; t++, r++) if ((a = i.call(this, t, r)) != null) return a;
|
|
14907
14625
|
}
|
|
14908
14626
|
}, _computeVidx(i) {
|
|
14909
14627
|
return i >= this._physicalStart ? this._virtualStart + (i - this._physicalStart) : this._virtualStart + (this._physicalCount - this._physicalStart) + i;
|
|
@@ -14928,13 +14646,11 @@ const To = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Mm
|
|
|
14928
14646
|
const e = this._physicalBottom + Math.max(this._virtualCount - this._physicalCount - this._virtualStart, 0) * this._physicalAverage;
|
|
14929
14647
|
this._estScrollHeight = e, (i || this._scrollHeight === 0 || this._scrollPosition >= e - this._physicalSize || Math.abs(e - this._scrollHeight) >= this._viewportHeight) && (this.$.items.style.height = `${e}px`, this._scrollHeight = e);
|
|
14930
14648
|
}, scrollToIndex(i) {
|
|
14931
|
-
if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (wt(), this._physicalCount === 0))
|
|
14932
|
-
return;
|
|
14649
|
+
if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (wt(), this._physicalCount === 0)) return;
|
|
14933
14650
|
i = this._clamp(i, 0, this._virtualCount - 1), (!this._isIndexRendered(i) || i >= this._maxVirtualStart) && (this._virtualStart = i - 1), this._assignModels(), this._updateMetrics(), this._physicalTop = this._virtualStart * this._physicalAverage;
|
|
14934
14651
|
let e = this._physicalStart, t = this._virtualStart, r = 0;
|
|
14935
14652
|
const a = this._hiddenContentSize;
|
|
14936
|
-
for (; t < i && r <= a; )
|
|
14937
|
-
r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
|
|
14653
|
+
for (; t < i && r <= a; ) r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
|
|
14938
14654
|
this._updateScrollerSize(!0), this._positionItems(), this._resetScrollPosition(this._physicalTop + this._scrollOffset + r), this._increasePoolIfNeeded(0), this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null;
|
|
14939
14655
|
}, _resetAverage() {
|
|
14940
14656
|
this._physicalAverage = 0, this._physicalAverageCount = 0;
|
|
@@ -14986,8 +14702,7 @@ class Ss {
|
|
|
14986
14702
|
return this.__getVisibleElements().some((e) => e.__virtualizerPlaceholder);
|
|
14987
14703
|
}
|
|
14988
14704
|
scrollToIndex(e) {
|
|
14989
|
-
if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight)
|
|
14990
|
-
return;
|
|
14705
|
+
if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight) return;
|
|
14991
14706
|
delete this.__pendingScrollToIndex, this._physicalCount <= 3 && this.flush(), e = this._clamp(e, 0, this.size - 1);
|
|
14992
14707
|
const t = this.__getVisibleElements().length;
|
|
14993
14708
|
let r = Math.floor(e / this.size * this._virtualCount);
|
|
@@ -15012,8 +14727,7 @@ class Ss {
|
|
|
15012
14727
|
}
|
|
15013
14728
|
__getBorderBoxHeight(e) {
|
|
15014
14729
|
const t = getComputedStyle(e), r = parseFloat(t.height) || 0;
|
|
15015
|
-
if (t.boxSizing === "border-box")
|
|
15016
|
-
return r;
|
|
14730
|
+
if (t.boxSizing === "border-box") return r;
|
|
15017
14731
|
const a = parseFloat(t.paddingBottom) || 0, o = parseFloat(t.paddingTop) || 0, n = parseFloat(t.borderBottomWidth) || 0, s = parseFloat(t.borderTopWidth) || 0;
|
|
15018
14732
|
return r + a + o + n + s;
|
|
15019
14733
|
}
|
|
@@ -15023,8 +14737,7 @@ class Ss {
|
|
|
15023
14737
|
__afterElementsUpdated(e) {
|
|
15024
14738
|
e.forEach((t) => {
|
|
15025
14739
|
const r = t.offsetHeight;
|
|
15026
|
-
if (r === 0)
|
|
15027
|
-
t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = le.debounce(this.__placeholderClearDebouncer, Vt, () => this._resizeHandler());
|
|
14740
|
+
if (r === 0) t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = le.debounce(this.__placeholderClearDebouncer, Vt, () => this._resizeHandler());
|
|
15028
14741
|
else {
|
|
15029
14742
|
this.__elementHeightQueue.push(r), this.__elementHeightQueue.shift();
|
|
15030
14743
|
const a = this.__elementHeightQueue.filter((o) => o !== void 0);
|
|
@@ -15040,8 +14753,7 @@ class Ss {
|
|
|
15040
14753
|
return this.__size;
|
|
15041
14754
|
}
|
|
15042
14755
|
set size(e) {
|
|
15043
|
-
if (e === this.size)
|
|
15044
|
-
return;
|
|
14756
|
+
if (e === this.size) return;
|
|
15045
14757
|
this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.cancel(), this._debouncers && this._debouncers._increasePoolIfNeeded && this._debouncers._increasePoolIfNeeded.cancel(), this.__preventElementUpdates = !0;
|
|
15046
14758
|
let t, r;
|
|
15047
14759
|
if (e > 0 && (t = this.adjustedFirstVisibleIndex, r = this.__getIndexScrollOffset(t)), this.__size = e, this._itemsChanged({ path: "items" }), wt(), e > 0) {
|
|
@@ -15105,19 +14817,16 @@ class Ss {
|
|
|
15105
14817
|
return t.indexOf(e) === 0 && e.__virtualIndex > 0;
|
|
15106
14818
|
}
|
|
15107
14819
|
__onElementFocused(e) {
|
|
15108
|
-
if (!this.reorderElements)
|
|
15109
|
-
return;
|
|
14820
|
+
if (!this.reorderElements) return;
|
|
15110
14821
|
const t = e.detail.element;
|
|
15111
|
-
if (!t)
|
|
15112
|
-
return;
|
|
14822
|
+
if (!t) return;
|
|
15113
14823
|
const r = this.__getVisibleElements();
|
|
15114
14824
|
(this.__previousFocusableSiblingMissing(t, r) || this.__nextFocusableSiblingMissing(t, r)) && this.flush();
|
|
15115
14825
|
const a = this.__getVisibleElements();
|
|
15116
14826
|
this.__nextFocusableSiblingMissing(t, a) ? (this._scrollTop += Math.ceil(t.getBoundingClientRect().bottom) - Math.floor(this.scrollTarget.getBoundingClientRect().bottom - 1), this.flush()) : this.__previousFocusableSiblingMissing(t, a) && (this._scrollTop -= Math.ceil(this.scrollTarget.getBoundingClientRect().top + 1) - Math.floor(t.getBoundingClientRect().top), this.flush());
|
|
15117
14827
|
}
|
|
15118
14828
|
_scrollHandler() {
|
|
15119
|
-
if (this.scrollTarget.offsetHeight === 0)
|
|
15120
|
-
return;
|
|
14829
|
+
if (this.scrollTarget.offsetHeight === 0) return;
|
|
15121
14830
|
this._adjustVirtualIndexOffset(this._scrollTop - (this.__previousScrollTop || 0));
|
|
15122
14831
|
const e = this.scrollTarget.scrollTop - this._scrollPosition;
|
|
15123
14832
|
if (super._scrollHandler(), this._physicalCount !== 0) {
|
|
@@ -15127,8 +14836,7 @@ class Ss {
|
|
|
15127
14836
|
e && (this.__fixInvalidItemPositioningDebouncer = le.debounce(this.__fixInvalidItemPositioningDebouncer, Pe.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING), () => this.__fixInvalidItemPositioning())), this.reorderElements && (this.__scrollReorderDebouncer = le.debounce(this.__scrollReorderDebouncer, Pe.after(this.timeouts.SCROLL_REORDER), () => this.__reorderElements())), this.__previousScrollTop = this._scrollTop, this._scrollTop === 0 && this.firstVisibleIndex !== 0 && Math.abs(e) > 0 && this.scrollToIndex(0);
|
|
15128
14837
|
}
|
|
15129
14838
|
__fixInvalidItemPositioning() {
|
|
15130
|
-
if (!this.scrollTarget.isConnected)
|
|
15131
|
-
return;
|
|
14839
|
+
if (!this.scrollTarget.isConnected) return;
|
|
15132
14840
|
const e = this._physicalTop > this._scrollTop, t = this._physicalBottom < this._scrollBottom, r = this.adjustedFirstVisibleIndex === 0, a = this.adjustedLastVisibleIndex === this.size - 1;
|
|
15133
14841
|
if (e && !r || t && !a) {
|
|
15134
14842
|
const o = t, n = this._ratio;
|
|
@@ -15136,8 +14844,7 @@ class Ss {
|
|
|
15136
14844
|
}
|
|
15137
14845
|
}
|
|
15138
14846
|
__onWheel(e) {
|
|
15139
|
-
if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY))
|
|
15140
|
-
return;
|
|
14847
|
+
if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY)) return;
|
|
15141
14848
|
let t = e.deltaY;
|
|
15142
14849
|
if (e.deltaMode === WheelEvent.DOM_DELTA_LINE ? t *= this._scrollLineHeight : e.deltaMode === WheelEvent.DOM_DELTA_PAGE && (t *= this._scrollPageHeight), this._deltaYAcc || (this._deltaYAcc = 0), this._wheelAnimationFrame) {
|
|
15143
14850
|
this._deltaYAcc += t, e.preventDefault();
|
|
@@ -15152,12 +14859,9 @@ class Ss {
|
|
|
15152
14859
|
})) : this._hasResidualMomentum && r <= this._previousMomentum || this._ignoreNewWheel ? e.preventDefault() : r > this._previousMomentum && (this._hasResidualMomentum = !1), this._previousMomentum = r;
|
|
15153
14860
|
}
|
|
15154
14861
|
_hasScrolledAncestor(e, t, r) {
|
|
15155
|
-
if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host)
|
|
15156
|
-
|
|
15157
|
-
if (
|
|
15158
|
-
return !0;
|
|
15159
|
-
if (e !== this && e.parentElement)
|
|
15160
|
-
return this._hasScrolledAncestor(e.parentElement, t, r);
|
|
14862
|
+
if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host) return !1;
|
|
14863
|
+
if (this._canScroll(e, t, r) && ["auto", "scroll"].indexOf(getComputedStyle(e).overflow) !== -1) return !0;
|
|
14864
|
+
if (e !== this && e.parentElement) return this._hasScrolledAncestor(e.parentElement, t, r);
|
|
15161
14865
|
}
|
|
15162
14866
|
_canScroll(e, t, r) {
|
|
15163
14867
|
return r > 0 && e.scrollTop < e.scrollHeight - e.offsetHeight || r < 0 && e.scrollTop > 0 || t > 0 && e.scrollLeft < e.scrollWidth - e.offsetWidth || t < 0 && e.scrollLeft > 0;
|
|
@@ -15166,16 +14870,14 @@ class Ss {
|
|
|
15166
14870
|
if (this._physicalCount > 2 && e) {
|
|
15167
14871
|
const t = Math.ceil(this._optPhysicalSize / this._physicalAverage) - this._physicalCount;
|
|
15168
14872
|
super._increasePoolIfNeeded(Math.max(e, Math.min(100, t)));
|
|
15169
|
-
} else
|
|
15170
|
-
super._increasePoolIfNeeded(e);
|
|
14873
|
+
} else super._increasePoolIfNeeded(e);
|
|
15171
14874
|
}
|
|
15172
14875
|
get _optPhysicalSize() {
|
|
15173
14876
|
const e = super._optPhysicalSize;
|
|
15174
14877
|
return e <= 0 || this.__hasPlaceholders() ? e : e + this.__getItemHeightBuffer();
|
|
15175
14878
|
}
|
|
15176
14879
|
__getItemHeightBuffer() {
|
|
15177
|
-
if (this._physicalCount === 0)
|
|
15178
|
-
return 0;
|
|
14880
|
+
if (this._physicalCount === 0) return 0;
|
|
15179
14881
|
const e = Math.ceil(this._viewportHeight * (this._maxPages - 1) / 2), t = Math.max(...this._physicalSizes);
|
|
15180
14882
|
return t > Math.min(...this._physicalSizes) ? Math.max(0, t - e) : 0;
|
|
15181
14883
|
}
|
|
@@ -15195,15 +14897,10 @@ class Ss {
|
|
|
15195
14897
|
}
|
|
15196
14898
|
this.__pendingReorder = !1;
|
|
15197
14899
|
const e = this._virtualStart + (this._vidxOffset || 0), t = this.__getVisibleElements(), r = this.__getFocusedElement(t) || t[0];
|
|
15198
|
-
if (!r)
|
|
15199
|
-
return;
|
|
14900
|
+
if (!r) return;
|
|
15200
14901
|
const a = r.__virtualIndex - e, o = t.indexOf(r) - a;
|
|
15201
|
-
if (o > 0)
|
|
15202
|
-
|
|
15203
|
-
this.elementsContainer.appendChild(t[n]);
|
|
15204
|
-
else if (o < 0)
|
|
15205
|
-
for (let n = t.length + o; n < t.length; n++)
|
|
15206
|
-
this.elementsContainer.insertBefore(t[n], t[0]);
|
|
14902
|
+
if (o > 0) for (let n = 0; n < o; n++) this.elementsContainer.appendChild(t[n]);
|
|
14903
|
+
else if (o < 0) for (let n = t.length + o; n < t.length; n++) this.elementsContainer.insertBefore(t[n], t[0]);
|
|
15207
14904
|
if (Cp) {
|
|
15208
14905
|
const { transform: n } = this.scrollTarget.style;
|
|
15209
14906
|
this.scrollTarget.style.transform = "translateZ(0)", setTimeout(() => {
|
|
@@ -15213,10 +14910,8 @@ class Ss {
|
|
|
15213
14910
|
}
|
|
15214
14911
|
_adjustVirtualIndexOffset(e) {
|
|
15215
14912
|
const t = this._maxVirtualIndexOffset;
|
|
15216
|
-
if (this._virtualCount >= this.size)
|
|
15217
|
-
|
|
15218
|
-
else if (this.__skipNextVirtualIndexAdjust)
|
|
15219
|
-
this.__skipNextVirtualIndexAdjust = !1;
|
|
14913
|
+
if (this._virtualCount >= this.size) this._vidxOffset = 0;
|
|
14914
|
+
else if (this.__skipNextVirtualIndexAdjust) this.__skipNextVirtualIndexAdjust = !1;
|
|
15220
14915
|
else if (Math.abs(e) > 1e4) {
|
|
15221
14916
|
const r = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.clientHeight);
|
|
15222
14917
|
this._vidxOffset = Math.round(r * t);
|
|
@@ -15289,14 +14984,12 @@ const Is = (i) => class extends i {
|
|
|
15289
14984
|
this.__virtualizer && (this.items && (this.__virtualizer.size = this.items.length), this.opened && this.__virtualizer.update());
|
|
15290
14985
|
}
|
|
15291
14986
|
scrollIntoView(e) {
|
|
15292
|
-
if (!this.__virtualizer || !(this.opened && e >= 0))
|
|
15293
|
-
return;
|
|
14987
|
+
if (!this.__virtualizer || !(this.opened && e >= 0)) return;
|
|
15294
14988
|
const t = this._visibleItemsCount();
|
|
15295
14989
|
let r = e;
|
|
15296
14990
|
e > this.__virtualizer.lastVisibleIndex - 1 ? (this.__virtualizer.scrollToIndex(e), r = e - t + 1) : e > this.__virtualizer.firstVisibleIndex && (r = this.__virtualizer.firstVisibleIndex), this.__virtualizer.scrollToIndex(Math.max(0, r));
|
|
15297
14991
|
const a = [...this.children].find((l) => !l.hidden && l.index === this.__virtualizer.lastVisibleIndex);
|
|
15298
|
-
if (!a || e !== a.index)
|
|
15299
|
-
return;
|
|
14992
|
+
if (!a || e !== a.index) return;
|
|
15300
14993
|
const o = a.getBoundingClientRect(), n = this.getBoundingClientRect(), s = o.bottom - n.bottom + this._viewportTotalPaddingBottom;
|
|
15301
14994
|
s > 0 && (this.scrollTop += s);
|
|
15302
14995
|
}
|
|
@@ -15421,10 +15114,8 @@ function wi(i, e, t = 0) {
|
|
|
15421
15114
|
let r = e;
|
|
15422
15115
|
for (const a of i.subCaches) {
|
|
15423
15116
|
const o = a.parentCacheIndex;
|
|
15424
|
-
if (r <= o)
|
|
15425
|
-
|
|
15426
|
-
if (r <= o + a.flatSize)
|
|
15427
|
-
return wi(a, r - o - 1, t + 1);
|
|
15117
|
+
if (r <= o) break;
|
|
15118
|
+
if (r <= o + a.flatSize) return wi(a, r - o - 1, t + 1);
|
|
15428
15119
|
r -= a.flatSize;
|
|
15429
15120
|
}
|
|
15430
15121
|
return { cache: i, item: i.items[r], index: r, page: Math.floor(r / i.pageSize), level: t };
|
|
@@ -15432,13 +15123,11 @@ function wi(i, e, t = 0) {
|
|
|
15432
15123
|
function Ts({ getItemId: i }, e, t, r = 0, a = 0) {
|
|
15433
15124
|
for (let o = 0; o < e.items.length; o++) {
|
|
15434
15125
|
const n = e.items[o];
|
|
15435
|
-
if (n && i(n) === i(t))
|
|
15436
|
-
return { cache: e, level: r, item: n, index: o, page: Math.floor(o / e.pageSize), subCache: e.getSubCache(o), flatIndex: a + e.getFlatIndex(o) };
|
|
15126
|
+
if (n && i(n) === i(t)) return { cache: e, level: r, item: n, index: o, page: Math.floor(o / e.pageSize), subCache: e.getSubCache(o), flatIndex: a + e.getFlatIndex(o) };
|
|
15437
15127
|
}
|
|
15438
15128
|
for (const o of e.subCaches) {
|
|
15439
15129
|
const n = a + e.getFlatIndex(o.parentCacheIndex), s = Ts({ getItemId: i }, o, t, r + 1, n + 1);
|
|
15440
|
-
if (s)
|
|
15441
|
-
return s;
|
|
15130
|
+
if (s) return s;
|
|
15442
15131
|
}
|
|
15443
15132
|
}
|
|
15444
15133
|
function Ps(i, [e, ...t], r = 0) {
|
|
@@ -15478,8 +15167,7 @@ class ma {
|
|
|
15478
15167
|
if (this.__size !== e) {
|
|
15479
15168
|
if (this.__size = e, this.context.placeholder !== void 0) {
|
|
15480
15169
|
this.items.length = e || 0;
|
|
15481
|
-
for (let r = 0; r < e; r++)
|
|
15482
|
-
(t = this.items)[r] || (t[r] = this.context.placeholder);
|
|
15170
|
+
for (let r = 0; r < e; r++) (t = this.items)[r] || (t[r] = this.context.placeholder);
|
|
15483
15171
|
}
|
|
15484
15172
|
Object.keys(this.pendingRequests).forEach((r) => {
|
|
15485
15173
|
parseInt(r) * this.pageSize >= this.size && delete this.pendingRequests[r];
|
|
@@ -15599,8 +15287,7 @@ class $m extends EventTarget {
|
|
|
15599
15287
|
return new ma(this.__cacheContext, this.pageSize, e);
|
|
15600
15288
|
}
|
|
15601
15289
|
__loadCachePage(e, t) {
|
|
15602
|
-
if (!this.dataProvider || e.pendingRequests[t])
|
|
15603
|
-
return;
|
|
15290
|
+
if (!this.dataProvider || e.pendingRequests[t]) return;
|
|
15604
15291
|
let r = { page: t, pageSize: this.pageSize, parentItem: e.parentItem };
|
|
15605
15292
|
this.dataProviderParams && (r = di(di({}, r), this.dataProviderParams()));
|
|
15606
15293
|
const a = (o, n) => {
|
|
@@ -15629,8 +15316,7 @@ const As = (i) => class extends i {
|
|
|
15629
15316
|
}
|
|
15630
15317
|
ready() {
|
|
15631
15318
|
super.ready(), this._scroller.addEventListener("index-requested", (e) => {
|
|
15632
|
-
if (!this._shouldFetchData())
|
|
15633
|
-
return;
|
|
15319
|
+
if (!this._shouldFetchData()) return;
|
|
15634
15320
|
const t = e.detail.index;
|
|
15635
15321
|
t !== void 0 && this.__dataProviderController.ensureFlatIndexLoaded(t);
|
|
15636
15322
|
}), this.__dataProviderInitialized = !0, this.dataProvider && this.__synchronizeControllerState();
|
|
@@ -15675,8 +15361,7 @@ const As = (i) => class extends i {
|
|
|
15675
15361
|
}
|
|
15676
15362
|
}
|
|
15677
15363
|
_pageSizeChanged(e, t) {
|
|
15678
|
-
if (Math.floor(e) !== e || e < 1)
|
|
15679
|
-
throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
|
|
15364
|
+
if (Math.floor(e) !== e || e < 1) throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
|
|
15680
15365
|
this.__dataProviderController.setPageSize(e), this.clearCache();
|
|
15681
15366
|
}
|
|
15682
15367
|
_dataProviderChanged(e, t) {
|
|
@@ -15685,8 +15370,7 @@ const As = (i) => class extends i {
|
|
|
15685
15370
|
}), this.__dataProviderController.setDataProvider(e), this.clearCache();
|
|
15686
15371
|
}
|
|
15687
15372
|
_ensureItemsOrDataProvider(e) {
|
|
15688
|
-
if (this.items !== void 0 && this.dataProvider !== void 0)
|
|
15689
|
-
throw e(), new Error("Using `items` and `dataProvider` together is not supported");
|
|
15373
|
+
if (this.items !== void 0 && this.dataProvider !== void 0) throw e(), new Error("Using `items` and `dataProvider` together is not supported");
|
|
15690
15374
|
}
|
|
15691
15375
|
_warnDataProviderValue(e, t) {
|
|
15692
15376
|
if (e && t !== "" && (this.selectedItem === void 0 || this.selectedItem === null)) {
|
|
@@ -15783,11 +15467,10 @@ const Ds = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15783
15467
|
}, r.requestContentUpdate(), this._scroller = t;
|
|
15784
15468
|
}
|
|
15785
15469
|
_updateScroller(e, t, r, a, o, n, s, l, d, h) {
|
|
15786
|
-
if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: a, selectedItem: o, itemIdPath: n, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: h }), e.performUpdate && !e.hasUpdated))
|
|
15787
|
-
|
|
15788
|
-
|
|
15789
|
-
|
|
15790
|
-
}
|
|
15470
|
+
if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: a, selectedItem: o, itemIdPath: n, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: h }), e.performUpdate && !e.hasUpdated)) try {
|
|
15471
|
+
e.performUpdate();
|
|
15472
|
+
} catch {
|
|
15473
|
+
}
|
|
15791
15474
|
}
|
|
15792
15475
|
_openedOrItemsChanged(e, t, r, a) {
|
|
15793
15476
|
this._overlayOpened = e && (a || r || !!(t && t.length));
|
|
@@ -15803,14 +15486,12 @@ const Ds = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15803
15486
|
}
|
|
15804
15487
|
_updateActiveDescendant(e) {
|
|
15805
15488
|
const t = this._nativeInput;
|
|
15806
|
-
if (!t)
|
|
15807
|
-
return;
|
|
15489
|
+
if (!t) return;
|
|
15808
15490
|
const r = this._getItemElements().find((a) => a.index === e);
|
|
15809
15491
|
r ? t.setAttribute("aria-activedescendant", r.id) : t.removeAttribute("aria-activedescendant");
|
|
15810
15492
|
}
|
|
15811
15493
|
_openedChanged(e, t) {
|
|
15812
|
-
if (t === void 0)
|
|
15813
|
-
return;
|
|
15494
|
+
if (t === void 0) return;
|
|
15814
15495
|
e ? !this._isInputFocused() && !xr && this.inputElement && this.inputElement.focus() : this._onClosed();
|
|
15815
15496
|
const r = this._nativeInput;
|
|
15816
15497
|
r && (r.setAttribute("aria-expanded", !!e), e ? r.setAttribute("aria-controls", this._scroller.id) : r.removeAttribute("aria-controls"));
|
|
@@ -15851,20 +15532,17 @@ const Ds = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15851
15532
|
if (this.opened) {
|
|
15852
15533
|
const e = this._dropdownItems;
|
|
15853
15534
|
e && (this._focusedIndex = Math.min(e.length - 1, this._focusedIndex + 1), this._prefillFocusedItemLabel());
|
|
15854
|
-
} else
|
|
15855
|
-
this.open();
|
|
15535
|
+
} else this.open();
|
|
15856
15536
|
}
|
|
15857
15537
|
_onArrowUp() {
|
|
15858
15538
|
if (this.opened) {
|
|
15859
|
-
if (this._focusedIndex > -1)
|
|
15860
|
-
this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
15539
|
+
if (this._focusedIndex > -1) this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
15861
15540
|
else {
|
|
15862
15541
|
const e = this._dropdownItems;
|
|
15863
15542
|
e && (this._focusedIndex = e.length - 1);
|
|
15864
15543
|
}
|
|
15865
15544
|
this._prefillFocusedItemLabel();
|
|
15866
|
-
} else
|
|
15867
|
-
this.open();
|
|
15545
|
+
} else this.open();
|
|
15868
15546
|
}
|
|
15869
15547
|
_prefillFocusedItemLabel() {
|
|
15870
15548
|
if (this._focusedIndex > -1) {
|
|
@@ -15925,8 +15603,7 @@ const Ds = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15925
15603
|
if (this._focusedIndex > -1) {
|
|
15926
15604
|
const e = this._dropdownItems[this._focusedIndex];
|
|
15927
15605
|
this.selectedItem !== e && (this.selectedItem = e), this._inputElementValue = this._getItemLabel(this.selectedItem), this._focusedIndex = -1;
|
|
15928
|
-
} else if (this._inputElementValue === "" || this._inputElementValue === void 0)
|
|
15929
|
-
this.selectedItem = null, this.allowCustomValue && (this.value = "");
|
|
15606
|
+
} else if (this._inputElementValue === "" || this._inputElementValue === void 0) this.selectedItem = null, this.allowCustomValue && (this.value = "");
|
|
15930
15607
|
else {
|
|
15931
15608
|
const e = [this.selectedItem, ...this._dropdownItems || []], t = e[this.__getItemIndexByLabel(e, this._inputElementValue)];
|
|
15932
15609
|
if (this.allowCustomValue && !t) {
|
|
@@ -15934,8 +15611,7 @@ const Ds = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15934
15611
|
this._lastCustomValue = r;
|
|
15935
15612
|
const a = new CustomEvent("custom-value-set", { detail: r, composed: !0, cancelable: !0, bubbles: !0 });
|
|
15936
15613
|
this.dispatchEvent(a), a.defaultPrevented || (this.value = r);
|
|
15937
|
-
} else
|
|
15938
|
-
!this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
|
|
15614
|
+
} else !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
|
|
15939
15615
|
}
|
|
15940
15616
|
this._detectAndDispatchChange(), this._clearSelectionRange(), this._clearFilter();
|
|
15941
15617
|
}
|
|
@@ -15959,12 +15635,10 @@ const Ds = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15959
15635
|
this.allowCustomValue && !this.selectedItem ? this._inputElementValue = this.value : this._inputElementValue = this._getItemLabel(this.selectedItem);
|
|
15960
15636
|
}
|
|
15961
15637
|
_selectedItemChanged(e) {
|
|
15962
|
-
if (e == null)
|
|
15963
|
-
this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
|
|
15638
|
+
if (e == null) this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
|
|
15964
15639
|
else {
|
|
15965
15640
|
const t = this._getItemValue(e);
|
|
15966
|
-
if (this.value !== t && (this.value = t, this.value !== t))
|
|
15967
|
-
return;
|
|
15641
|
+
if (this.value !== t && (this.value = t, this.value !== t)) return;
|
|
15968
15642
|
this._toggleHasValue(!0), this._inputElementValue = this._getItemLabel(e);
|
|
15969
15643
|
}
|
|
15970
15644
|
}
|
|
@@ -16561,8 +16235,7 @@ class Qm extends As(Ds(z(S))) {
|
|
|
16561
16235
|
}
|
|
16562
16236
|
_onEnter(e) {
|
|
16563
16237
|
if (this.opened) {
|
|
16564
|
-
if (e.preventDefault(), e.stopPropagation(), this.readonly)
|
|
16565
|
-
this.close();
|
|
16238
|
+
if (e.preventDefault(), e.stopPropagation(), this.readonly) this.close();
|
|
16566
16239
|
else if (this._hasValidInputValue()) {
|
|
16567
16240
|
const t = this._dropdownItems[this._focusedIndex];
|
|
16568
16241
|
this._commitValue(), this._focusedIndex = this._dropdownItems.indexOf(t);
|
|
@@ -16871,8 +16544,7 @@ class Zm extends Os(Di(z(he(S)))) {
|
|
|
16871
16544
|
if (this._toggleHasValue(this._hasValue), this._hasValue) {
|
|
16872
16545
|
const t = this._mergeItemLabels(e);
|
|
16873
16546
|
this.__tmpA11yPlaceholder === void 0 && (this.__savedPlaceholder = this.placeholder), this.__tmpA11yPlaceholder = t, this.placeholder = t;
|
|
16874
|
-
} else
|
|
16875
|
-
this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
|
|
16547
|
+
} else this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
|
|
16876
16548
|
this.__updateChips(), this.requestContentUpdate(), this.opened && this.$.comboBox.$.overlay._updateOverlayWidth();
|
|
16877
16549
|
}
|
|
16878
16550
|
_getItemLabel(e) {
|
|
@@ -16883,9 +16555,7 @@ class Zm extends Os(Di(z(he(S)))) {
|
|
|
16883
16555
|
}
|
|
16884
16556
|
_findIndex(e, t, r) {
|
|
16885
16557
|
if (r && e) {
|
|
16886
|
-
for (let a = 0; a < t.length; a++)
|
|
16887
|
-
if (t[a] && t[a][r] === e[r])
|
|
16888
|
-
return a;
|
|
16558
|
+
for (let a = 0; a < t.length; a++) if (t[a] && t[a][r] === e[r]) return a;
|
|
16889
16559
|
return -1;
|
|
16890
16560
|
}
|
|
16891
16561
|
return t.indexOf(e);
|
|
@@ -16913,8 +16583,7 @@ class Zm extends Os(Di(z(he(S)))) {
|
|
|
16913
16583
|
return;
|
|
16914
16584
|
}
|
|
16915
16585
|
t.splice(r, 1);
|
|
16916
|
-
} else
|
|
16917
|
-
t.push(e), o = !0;
|
|
16586
|
+
} else t.push(e), o = !0;
|
|
16918
16587
|
this.__updateSelection(t), this.__clearInternalValue(), this.__announceItem(a, o, t.length);
|
|
16919
16588
|
}
|
|
16920
16589
|
__updateSelection(e) {
|
|
@@ -16938,8 +16607,7 @@ class Zm extends Os(Di(z(he(S)))) {
|
|
|
16938
16607
|
return e.setAttribute("count", t), e.setAttribute("hidden", ""), e.style.visibility = "", a;
|
|
16939
16608
|
}
|
|
16940
16609
|
__updateChips() {
|
|
16941
|
-
if (!this._inputField || !this.inputElement)
|
|
16942
|
-
return;
|
|
16610
|
+
if (!this._inputField || !this.inputElement) return;
|
|
16943
16611
|
this._chips.forEach((n) => {
|
|
16944
16612
|
n.remove();
|
|
16945
16613
|
});
|
|
@@ -16958,8 +16626,7 @@ class Zm extends Os(Di(z(he(S)))) {
|
|
|
16958
16626
|
for (; n.length > 1; ) {
|
|
16959
16627
|
n.pop().remove(), s.unshift(e.pop());
|
|
16960
16628
|
const d = s.length > 0 ? r + this.__getOverflowWidth() : r;
|
|
16961
|
-
if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d)
|
|
16962
|
-
break;
|
|
16629
|
+
if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d) break;
|
|
16963
16630
|
}
|
|
16964
16631
|
n.length === 1 && (n[0].style.maxWidth = `${Math.max(o, a)}px`);
|
|
16965
16632
|
}
|
|
@@ -16968,13 +16635,11 @@ class Zm extends Os(Di(z(he(S)))) {
|
|
|
16968
16635
|
}
|
|
16969
16636
|
for (let n = e.length - 1, s = null; n >= 0; n--) {
|
|
16970
16637
|
const l = this.__createChip(e[n]);
|
|
16971
|
-
if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > a)
|
|
16972
|
-
|
|
16973
|
-
|
|
16974
|
-
|
|
16975
|
-
|
|
16976
|
-
break;
|
|
16977
|
-
}
|
|
16638
|
+
if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > a) if (s === null) l.style.maxWidth = `${Math.max(o, a)}px`;
|
|
16639
|
+
else {
|
|
16640
|
+
l.remove();
|
|
16641
|
+
break;
|
|
16642
|
+
}
|
|
16978
16643
|
e.pop(), s = l;
|
|
16979
16644
|
}
|
|
16980
16645
|
this._overflowItems = e;
|
|
@@ -17000,41 +16665,37 @@ class Zm extends Os(Di(z(he(S)))) {
|
|
|
17000
16665
|
_onKeyDown(e) {
|
|
17001
16666
|
super._onKeyDown(e);
|
|
17002
16667
|
const t = this._chips;
|
|
17003
|
-
if (!this.readonly && t.length > 0)
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
|
|
17007
|
-
|
|
17008
|
-
|
|
17009
|
-
|
|
17010
|
-
|
|
17011
|
-
|
|
17012
|
-
|
|
17013
|
-
|
|
17014
|
-
|
|
17015
|
-
|
|
17016
|
-
|
|
17017
|
-
}
|
|
16668
|
+
if (!this.readonly && t.length > 0) switch (e.key) {
|
|
16669
|
+
case "Backspace":
|
|
16670
|
+
this._onBackSpace(t);
|
|
16671
|
+
break;
|
|
16672
|
+
case "ArrowLeft":
|
|
16673
|
+
this._onArrowLeft(t, e);
|
|
16674
|
+
break;
|
|
16675
|
+
case "ArrowRight":
|
|
16676
|
+
this._onArrowRight(t, e);
|
|
16677
|
+
break;
|
|
16678
|
+
default:
|
|
16679
|
+
this._focusedChipIndex = -1;
|
|
16680
|
+
break;
|
|
16681
|
+
}
|
|
17018
16682
|
}
|
|
17019
16683
|
_onArrowLeft(e, t) {
|
|
17020
|
-
if (this.inputElement.selectionStart !== 0)
|
|
17021
|
-
return;
|
|
16684
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
17022
16685
|
const r = this._focusedChipIndex;
|
|
17023
16686
|
r !== -1 && t.preventDefault();
|
|
17024
16687
|
let a;
|
|
17025
16688
|
this.__isRTL ? r === e.length - 1 ? a = -1 : r > -1 && (a = r + 1) : r === -1 ? a = e.length - 1 : r > 0 && (a = r - 1), a !== void 0 && (this._focusedChipIndex = a);
|
|
17026
16689
|
}
|
|
17027
16690
|
_onArrowRight(e, t) {
|
|
17028
|
-
if (this.inputElement.selectionStart !== 0)
|
|
17029
|
-
return;
|
|
16691
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
17030
16692
|
const r = this._focusedChipIndex;
|
|
17031
16693
|
r !== -1 && t.preventDefault();
|
|
17032
16694
|
let a;
|
|
17033
16695
|
this.__isRTL ? r === -1 ? a = e.length - 1 : r > 0 && (a = r - 1) : r === e.length - 1 ? a = -1 : r > -1 && (a = r + 1), a !== void 0 && (this._focusedChipIndex = a);
|
|
17034
16696
|
}
|
|
17035
16697
|
_onBackSpace(e) {
|
|
17036
|
-
if (this.inputElement.selectionStart !== 0)
|
|
17037
|
-
return;
|
|
16698
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
17038
16699
|
const t = this._focusedChipIndex;
|
|
17039
16700
|
t === -1 ? this._focusedChipIndex = e.length - 1 : (this.__removeItem(e[t].item), this._focusedChipIndex = -1);
|
|
17040
16701
|
}
|
|
@@ -17469,8 +17130,7 @@ class xe extends qt(Ci(he(S))) {
|
|
|
17469
17130
|
this.renderer && this.renderer(this._card, this);
|
|
17470
17131
|
}
|
|
17471
17132
|
_rendererChanged(e, t, r) {
|
|
17472
|
-
if (!r)
|
|
17473
|
-
return;
|
|
17133
|
+
if (!r) return;
|
|
17474
17134
|
const a = this._oldRenderer !== e;
|
|
17475
17135
|
this._oldRenderer = e, a && (r.innerHTML = "", delete r._$litPart$), t && (this._didAnimateNotificationAppend || this._animatedAppendNotificationCard(), this.requestContentUpdate());
|
|
17476
17136
|
}
|
|
@@ -17752,8 +17412,7 @@ const lf = (i) => class extends Be(i) {
|
|
|
17752
17412
|
return Array.from(this.children);
|
|
17753
17413
|
}
|
|
17754
17414
|
_onKeyDown(e) {
|
|
17755
|
-
if (super._onKeyDown(e), e.metaKey || e.ctrlKey)
|
|
17756
|
-
return;
|
|
17415
|
+
if (super._onKeyDown(e), e.metaKey || e.ctrlKey) return;
|
|
17757
17416
|
const { key: t } = e, r = this._getItems() || [], a = r.indexOf(this.focused);
|
|
17758
17417
|
let o, n;
|
|
17759
17418
|
const s = !this._vertical && this.getAttribute("dir") === "rtl" ? -1 : 1;
|
|
@@ -17778,8 +17437,7 @@ const lf = (i) => class extends Be(i) {
|
|
|
17778
17437
|
for (let s = 0; typeof n == "number" && s < o; s += 1, n += r || 1) {
|
|
17779
17438
|
n < 0 ? n = o - 1 : n >= o && (n = 0);
|
|
17780
17439
|
const l = e[n];
|
|
17781
|
-
if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, a))
|
|
17782
|
-
return n;
|
|
17440
|
+
if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, a)) return n;
|
|
17783
17441
|
}
|
|
17784
17442
|
return -1;
|
|
17785
17443
|
}
|
|
@@ -17838,8 +17496,7 @@ const zs = (i) => class extends lf(i) {
|
|
|
17838
17496
|
return e.filter((t) => t._hasVaadinItemMixin);
|
|
17839
17497
|
}
|
|
17840
17498
|
_onClick(e) {
|
|
17841
|
-
if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented)
|
|
17842
|
-
return;
|
|
17499
|
+
if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented) return;
|
|
17843
17500
|
const t = this._filterItems(e.composedPath())[0];
|
|
17844
17501
|
let r;
|
|
17845
17502
|
t && !t.disabled && (r = this.items.indexOf(t)) >= 0 && (this.selected = r);
|
|
@@ -17855,8 +17512,7 @@ const zs = (i) => class extends lf(i) {
|
|
|
17855
17512
|
return e.textContent.replace(/[^\p{L}\p{Nd}]/gu, "").toLowerCase().startsWith(this._searchBuf);
|
|
17856
17513
|
}
|
|
17857
17514
|
_onKeyDown(e) {
|
|
17858
|
-
if (e.metaKey || e.ctrlKey)
|
|
17859
|
-
return;
|
|
17515
|
+
if (e.metaKey || e.ctrlKey) return;
|
|
17860
17516
|
const t = e.key, r = this.items.indexOf(this.focused);
|
|
17861
17517
|
if (/[\p{L}\p{Nd}]/u.test(t) && t.length === 1) {
|
|
17862
17518
|
const a = this._searchKey(r, t);
|
|
@@ -17882,15 +17538,13 @@ const zs = (i) => class extends lf(i) {
|
|
|
17882
17538
|
}
|
|
17883
17539
|
_scrollToItem(e) {
|
|
17884
17540
|
const t = this.items[e];
|
|
17885
|
-
if (!t)
|
|
17886
|
-
return;
|
|
17541
|
+
if (!t) return;
|
|
17887
17542
|
const r = this._vertical ? ["top", "bottom"] : this._isRTL ? ["right", "left"] : ["left", "right"], a = this._scrollerElement.getBoundingClientRect(), o = (this.items[e + 1] || t).getBoundingClientRect(), n = (this.items[e - 1] || t).getBoundingClientRect();
|
|
17888
17543
|
let s = 0;
|
|
17889
17544
|
!this._isRTL && o[r[1]] >= a[r[1]] || this._isRTL && o[r[1]] <= a[r[1]] ? s = o[r[1]] - a[r[1]] : (!this._isRTL && n[r[0]] <= a[r[0]] || this._isRTL && n[r[0]] >= a[r[0]]) && (s = n[r[0]] - a[r[0]]), this._scroll(s);
|
|
17890
17545
|
}
|
|
17891
17546
|
_scroll(e) {
|
|
17892
|
-
if (this._vertical)
|
|
17893
|
-
this._scrollerElement.scrollTop += e;
|
|
17547
|
+
if (this._vertical) this._scrollerElement.scrollTop += e;
|
|
17894
17548
|
else {
|
|
17895
17549
|
const t = this.getAttribute("dir") || "ltr", r = Ns(this._scrollerElement, t) + e;
|
|
17896
17550
|
sf(this._scrollerElement, t, r);
|
|
@@ -18167,8 +17821,7 @@ const _f = (i) => class extends qt(Ii(Xr(Be(Ti(i))))) {
|
|
|
18167
17821
|
}
|
|
18168
17822
|
_onKeyDown(e) {
|
|
18169
17823
|
if (e.target === this.focusElement && !this.readonly && !this.disabled && !this.opened) {
|
|
18170
|
-
if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key))
|
|
18171
|
-
e.preventDefault(), this.opened = !0;
|
|
17824
|
+
if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key)) e.preventDefault(), this.opened = !0;
|
|
18172
17825
|
else if (/[\p{L}\p{Nd}]/u.test(e.key) && e.key.length === 1) {
|
|
18173
17826
|
const t = this._menuElement.selected, r = t !== void 0 ? t : -1, a = this._menuElement._searchKey(r, e.key);
|
|
18174
17827
|
a >= 0 && (this.__dispatchChangePending = !0, this._updateAriaLive(!0), this._menuElement.selected = a);
|
|
@@ -18188,8 +17841,7 @@ const _f = (i) => class extends qt(Ii(Xr(Be(Ti(i))))) {
|
|
|
18188
17841
|
this._updateAriaLive(!1), t.style.setProperty("--vaadin-select-text-field-width", `${r.offsetWidth}px`);
|
|
18189
17842
|
const a = this.hasAttribute("focus-ring");
|
|
18190
17843
|
this._openedWithFocusRing = a, a && this.removeAttribute("focus-ring");
|
|
18191
|
-
} else
|
|
18192
|
-
this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
|
|
17844
|
+
} else this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
|
|
18193
17845
|
this.__oldOpened = e;
|
|
18194
17846
|
}
|
|
18195
17847
|
}
|
|
@@ -18227,12 +17879,10 @@ const _f = (i) => class extends qt(Ii(Xr(Be(Ti(i))))) {
|
|
|
18227
17879
|
}
|
|
18228
17880
|
__updateValueButton() {
|
|
18229
17881
|
const e = this.focusElement;
|
|
18230
|
-
if (!e)
|
|
18231
|
-
return;
|
|
17882
|
+
if (!e) return;
|
|
18232
17883
|
e.innerHTML = "";
|
|
18233
17884
|
const t = this._items[this._menuElement.selected];
|
|
18234
|
-
if (e.removeAttribute("placeholder"), this._hasContent(t))
|
|
18235
|
-
this.__attachSelectedItem(t);
|
|
17885
|
+
if (e.removeAttribute("placeholder"), this._hasContent(t)) this.__attachSelectedItem(t);
|
|
18236
17886
|
else if (this.placeholder) {
|
|
18237
17887
|
const a = this.__createItemElement({ label: this.placeholder });
|
|
18238
17888
|
this.__appendValueItemElement(a, e), e.setAttribute("placeholder", "");
|
|
@@ -18242,8 +17892,7 @@ const _f = (i) => class extends qt(Ii(Xr(Be(Ti(i))))) {
|
|
|
18242
17892
|
Je(e, "aria-labelledby", r), (this.accessibleName || this.accessibleNameRef) && this._setCustomAriaLabelledBy(this.accessibleNameRef || this._srLabelController.defaultId);
|
|
18243
17893
|
}
|
|
18244
17894
|
_hasContent(e) {
|
|
18245
|
-
if (!e)
|
|
18246
|
-
return !1;
|
|
17895
|
+
if (!e) return !1;
|
|
18247
17896
|
const t = !!(e.hasAttribute("label") ? e.getAttribute("label") : e.textContent.trim()), r = e.childElementCount > 0;
|
|
18248
17897
|
return t || r;
|
|
18249
17898
|
}
|
|
@@ -19566,8 +19215,7 @@ const Af = (i) => class extends Os(zs(i)) {
|
|
|
19566
19215
|
this.__direction * n < 1 && (n = this.__direction * (this._scrollOffset - o)), this._scroll(n);
|
|
19567
19216
|
}
|
|
19568
19217
|
_isItemVisible(e, t, r, a) {
|
|
19569
|
-
if (this._vertical)
|
|
19570
|
-
throw new Error("Visibility check is only supported for horizontal tabs.");
|
|
19218
|
+
if (this._vertical) throw new Error("Visibility check is only supported for horizontal tabs.");
|
|
19571
19219
|
const o = this.__isRTL ? r : t, n = this.__isRTL ? t : r, s = a.right - o, l = a.left + n, d = e.getBoundingClientRect();
|
|
19572
19220
|
return s > Math.floor(d.left) && l < Math.ceil(d.right);
|
|
19573
19221
|
}
|