@everymatrix/player-account-controller-nd 1.77.20 → 1.77.22
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-DrtYcC9b.js → GeneralLogout-B8rv4tFC.js} +850 -807
- package/components/{GeneralLogout-DKqYAInU.js → GeneralLogout-BGwYe9DN.js} +878 -835
- package/components/GeneralLogout-CuvnoUn1.cjs +21 -0
- package/components/{PlayerAccountBettingHistory--hhRj7ck.js → PlayerAccountBettingHistory-B6li41wz.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BiSqE8WU.cjs → PlayerAccountBettingHistory-Cb9zY2cj.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-DCMGVw0R.js → PlayerAccountBettingHistory-CsaDo2bp.js} +1 -1
- package/components/{PlayerAccountBiometrics-BxWi0P45.cjs → PlayerAccountBiometrics-CSSQNl0K.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CP6ofhZj.js → PlayerAccountBiometrics-CYo-pc6D.js} +1 -1
- package/components/{PlayerAccountBiometrics-DYNW45kc.js → PlayerAccountBiometrics-DNcXZw6f.js} +1 -1
- package/components/{PlayerAccountClosureNd-Be4PjD5W.js → PlayerAccountClosureNd-BKkMoG9c.js} +1 -1
- package/components/{PlayerAccountClosureNd-Bb2w1N7j.js → PlayerAccountClosureNd-BSBWVcRg.js} +1 -1
- package/components/{PlayerAccountClosureNd-DOZsPniY.cjs → PlayerAccountClosureNd-CV-kahvg.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-A0bOXe1m.js → PlayerAccountControllerNd-BMoR29hP.js} +24 -24
- package/components/{PlayerAccountControllerNd-BfdBTKtN.js → PlayerAccountControllerNd-DXCBN0-A.js} +24 -24
- package/components/{PlayerAccountControllerNd-CGV8oDRz.cjs → PlayerAccountControllerNd-zuUEajsd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-SHAcf8Nt.js → PlayerAccountGamingLimits-CYnZR3hE.js} +2 -2
- package/components/{PlayerAccountGamingLimits-zokiCb6d.js → PlayerAccountGamingLimits-Cav6MkbQ.js} +2 -2
- package/components/{PlayerAccountGamingLimits-CgtraTXo.cjs → PlayerAccountGamingLimits-CiDMdVTv.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-JfRZiX2v.js → PlayerAccountGamingLimitsConfirmationModal-Bjp-Xz89.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Oye218aQ.cjs → PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DfsT4pdh.js → PlayerAccountGamingLimitsConfirmationModal-DJQcMEpU.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CqKbjdtm.cjs → PlayerAccountGamingLimitsGroupEdit-1hx4IMfZ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DCWaKY2_.js → PlayerAccountGamingLimitsGroupEdit-DDJtWF20.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-4JSQn3Bl.js → PlayerAccountGamingLimitsGroupEdit-SZidy2nv.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BXYqpBfJ.js → PlayerAccountGamingLimitsHistory2Nd-CpkOUEtK.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-Nvq8_uX_.js → PlayerAccountGamingLimitsHistory2Nd-DElLe8aj.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BNIBIjfQ.cjs → PlayerAccountGamingLimitsHistory2Nd-DJfR3lP7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-B9DyS73O.js → PlayerAccountGamingLimitsInfoCard-CC-aAGlA.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-B8n9Xh-z.js → PlayerAccountGamingLimitsInfoCard-CUC66vKq.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-i_ymYwc0.cjs → PlayerAccountGamingLimitsInfoCard-DiwA1vyP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CFi48oye.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CUVFXINy.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-zmCGq0Sj.js → PlayerAccountGamingLimitsPage2Gm16Nd-CmvNutID.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DMN7B5ze.js → PlayerAccountGamingLimitsPage2Gm16Nd-sKfAnX6Q.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-T-aSgDPp.cjs → PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-C0gOhFkE.js → PlayerAccountGamingLimitsPopup-Bot_8aLh.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BfbDg7eU.js → PlayerAccountGamingLimitsPopup-x-FJbrQl.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BSFKz2P3.cjs → PlayerAccountGamingLimitsWrapper2Nd-CNRurEB7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CG8lPHG3.js → PlayerAccountGamingLimitsWrapper2Nd-DjAaw-TO.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-k_SNLcUF.js → PlayerAccountGamingLimitsWrapper2Nd-GMfshIYm.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-CSJ9RMMv.js → PlayerAccountGeneralConfirmationModal-BYeLoNt-.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-svvBHS95.js → PlayerAccountGeneralConfirmationModal-C-kAOFaj.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DAhBES0N.cjs → PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-C6VWtDRy.js → PlayerAccountMenuNd-DXKbZacO.js} +2 -2
- package/components/{PlayerAccountMenuNd-BHe80Pmo.cjs → PlayerAccountMenuNd-Ls2Su9Yt.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-B_xJcgwC.js → PlayerAccountMenuNd-mhZb6Vht.js} +2 -2
- package/components/{PlayerAccountModal-BbRP7VlW.js → PlayerAccountModal-CkGQdZtn.js} +1 -1
- package/components/{PlayerAccountModal-jyrx-UYi.js → PlayerAccountModal-CsGNPC_Z.js} +1 -1
- package/components/{PlayerAccountModal-BmU94dvq.cjs → PlayerAccountModal-CzspHDhO.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CPu6fzQN.js → PlayerAccountNotifications-BaT3YM6b.js} +1 -1
- package/components/{PlayerAccountNotifications-DLpQPs_Z.cjs → PlayerAccountNotifications-Bv6Rwyio.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BsCs7gRl.js → PlayerAccountNotifications-CgZgKAgD.js} +1 -1
- package/components/PlayerAccountProductRestriction-CKsCHn9d.js +17532 -0
- package/components/PlayerAccountProductRestriction-Cfbg3atQ.js +17497 -0
- package/components/PlayerAccountProductRestriction-DpoND4WA.cjs +6662 -0
- package/components/{PlayerAccountSelfExclusionNd-BRaS7C0i.js → PlayerAccountSelfExclusionNd-BANDGaGw.js} +1138 -1134
- package/components/{PlayerAccountSelfExclusionNd-DmLrisE1.cjs → PlayerAccountSelfExclusionNd-BX24BZLD.cjs} +154 -154
- package/components/{PlayerAccountSelfExclusionNd-Dt8QLJ04.js → PlayerAccountSelfExclusionNd-DYXfjhxS.js} +801 -797
- package/components/{PlayerAccountTimeout-BQl58317.cjs → PlayerAccountTimeout-CaW4UDeS.cjs} +1 -1
- package/components/{PlayerAccountTimeout-DNpSaN7X.js → PlayerAccountTimeout-CkAAhRdI.js} +4 -4
- package/components/{PlayerAccountTimeout-DIz-DxbG.js → PlayerAccountTimeout-DTtDGouR.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-Cb1tEpzk.js → PlayerAccountTransactionsHistory-BEISxOCD.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-CuZTSROd.js → PlayerAccountTransactionsHistory-CA9h81DH.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DARksNiX.cjs → PlayerAccountTransactionsHistory-Ck5t3YPa.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Bo6e_W1i.cjs → PlayerActiveBonuses-CATHe2_y.cjs} +1 -1
- package/components/{PlayerActiveBonuses-C_1v3Dp9.js → PlayerActiveBonuses-LSqzOYvL.js} +2 -2
- package/components/{PlayerActiveBonuses-BKoWVEj5.js → PlayerActiveBonuses-VWO_GaqX.js} +2 -2
- package/components/{PlayerBonusCard-B929jdLa.js → PlayerBonusCard--qb8e-ea.js} +2 -2
- package/components/{PlayerBonusCard-Dbbj7PiK.cjs → PlayerBonusCard-B-Iz8g8U.cjs} +1 -1
- package/components/{PlayerBonusCard-CLLIbIAC.js → PlayerBonusCard-Bi4RwIt8.js} +2 -2
- package/components/{PlayerBonusHistory-Bb3AvUeh.js → PlayerBonusHistory-B0YgUvFz.js} +4 -4
- package/components/{PlayerBonusHistory-C8fHUQiG.js → PlayerBonusHistory-B539ZUXG.js} +4 -4
- package/components/{PlayerBonusHistory-DSlpbpnY.cjs → PlayerBonusHistory-CZ25C8D4.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-CfWYiC0R.cjs → PlayerChangePasswordNd-BgLvdsST.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-BMPS1G-x.js → PlayerChangePasswordNd-CF-Gc3RM.js} +1 -1
- package/components/{PlayerChangePasswordNd-a4ciA8uT.js → PlayerChangePasswordNd-C_teg6rf.js} +1 -1
- package/components/{PlayerDeposit-D_BcKGea.cjs → PlayerDeposit-BsyYS9xx.cjs} +1 -1
- package/components/{PlayerDeposit-BtWvsPFt.js → PlayerDeposit-Cxvn0950.js} +1 -1
- package/components/{PlayerDeposit-CKgjDS_p.js → PlayerDeposit-R6mKQO3D.js} +1 -1
- package/components/{PlayerGamingHistory-85GAlJCX.js → PlayerGamingHistory-BqHgUw0y.js} +53 -53
- package/components/{PlayerGamingHistory-DgOcSeho.cjs → PlayerGamingHistory-CzOtTx_g.cjs} +1 -1
- package/components/{PlayerGamingHistory-MvoeVXNi.js → PlayerGamingHistory-DixNpKvJ.js} +60 -60
- package/components/{PlayerPendingWithdrawals-FrqY1KDb.js → PlayerPendingWithdrawals-B2rAxqnP.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Ddzlyo-z.js → PlayerPendingWithdrawals-BAUtmuFG.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BvU3rt0E.cjs → PlayerPendingWithdrawals-Dvq9lK8F.cjs} +1 -1
- package/components/{PlayerProfileInfo-FjGL_zXc.js → PlayerProfileInfo-BH4MG2zT.js} +1 -1
- package/components/{PlayerProfileInfo-jxsvWJPJ.js → PlayerProfileInfo-CMZQudLl.js} +1 -1
- package/components/{PlayerProfileInfo-D4TmQhWw.cjs → PlayerProfileInfo-Deu0sU5P.cjs} +1 -1
- package/components/{PlayerRealityCheck-DvG9ulul.js → PlayerRealityCheck-BxMdONqn.js} +1 -1
- package/components/{PlayerRealityCheck-CRrqztDU.cjs → PlayerRealityCheck-DIybZvyh.cjs} +1 -1
- package/components/{PlayerRealityCheck-dXXyUAQS.js → PlayerRealityCheck-gwZYkAv4.js} +1 -1
- package/components/{PlayerTransactionHistory-DqaWTPn_.js → PlayerTransactionHistory-BCkkn7Gz.js} +1 -1
- package/components/{PlayerTransactionHistory-CU9hS1O1.cjs → PlayerTransactionHistory-BU4_vLyx.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DqDn6ZGZ.js → PlayerTransactionHistory-BivHmaaF.js} +1 -1
- package/components/{PlayerWithdrawal-Do_oK-gt.cjs → PlayerWithdrawal-CkSCfQ4A.cjs} +1 -1
- package/components/{PlayerWithdrawal-D_RqijZA.js → PlayerWithdrawal-D3BS3CgB.js} +1 -1
- package/components/{PlayerWithdrawal-DT208x6e.js → PlayerWithdrawal-DPTuaEYy.js} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/lazy/{general-logout-CJt_EPym.js → general-logout-B4vZx6dL.js} +1 -1
- package/lazy/{general-logout-VwRH2fjj.js → general-logout-CFifid5z.js} +1 -1
- package/lazy/{general-logout-IU1x1Xea.cjs → general-logout-CaSBnKJR.cjs} +1 -1
- package/lazy/{pam-change-password-BAl4jGx3.js → pam-change-password-B-DJH9Te.js} +1 -1
- package/lazy/{pam-change-password-CxCraf0L.js → pam-change-password-ExVqp8Pv.js} +1 -1
- package/lazy/{pam-change-password-DsZWQSPJ.cjs → pam-change-password-wXas5Bv7.cjs} +1 -1
- package/lazy/{player-account-betting-history-W5d-6kvf.cjs → player-account-betting-history-CQhAzvJh.cjs} +1 -1
- package/lazy/{player-account-betting-history-BLsvMX8j.js → player-account-betting-history-MSKUZjuA.js} +1 -1
- package/lazy/{player-account-betting-history-BtEYkdYJ.js → player-account-betting-history-yVUgLdIX.js} +1 -1
- package/lazy/{player-account-biometrics-WGdRQdtc.cjs → player-account-biometrics-B0HqtKat.cjs} +1 -1
- package/lazy/{player-account-biometrics-C0B6ceBO.js → player-account-biometrics-BhmcLku7.js} +1 -1
- package/lazy/{player-account-biometrics-Cj2riObr.js → player-account-biometrics-DbxZ4BG1.js} +1 -1
- package/lazy/{player-account-closure-nd-DUZU6Pl2.js → player-account-closure-nd-B3MP33c3.js} +1 -1
- package/lazy/{player-account-closure-nd-BjLwIiTn.js → player-account-closure-nd-C1iC5a6Q.js} +1 -1
- package/lazy/{player-account-closure-nd-ddB5BY2g.cjs → player-account-closure-nd-COo62_QY.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-BcnLtt-0.cjs → player-account-gaming-limits-B2KO28YV.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-BgPbWoM9.js → player-account-gaming-limits-HHNQGgVG.js} +1 -1
- package/lazy/{player-account-gaming-limits-Bq_z7I0X.js → player-account-gaming-limits-__D6g8d7.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-DFK9lhk4.js → player-account-gaming-limits-confirmation-modal-CCWDRskw.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-PQ1mEGig.js → player-account-gaming-limits-confirmation-modal-CNx_GNcU.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-CrVY8kKn.cjs → player-account-gaming-limits-confirmation-modal-DptuD-WG.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-DiOveV_F.js → player-account-gaming-limits-group-edit-D1qG9G3U.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-DZa1m-hg.cjs → player-account-gaming-limits-group-edit-DXnnPr1t.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-DZ-NQwiX.js → player-account-gaming-limits-group-edit-DeXbYsfI.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-ySVTYqoE.js → player-account-gaming-limits-history-2-nd-BVzWVE6E.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-yrw07e3q.js → player-account-gaming-limits-history-2-nd-DLiZSopT.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-B_ac-34P.cjs → player-account-gaming-limits-history-2-nd-rvV633ed.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-BwTVVkDf.js → player-account-gaming-limits-info-card-BZjepG64.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-iRRD_SqG.js → player-account-gaming-limits-info-card-BojxNDe7.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-CfkcaYaO.cjs → player-account-gaming-limits-info-card-Dl5AVfDR.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Y8OvSc2Q.cjs → player-account-gaming-limits-page-2-gm16-nd-CQPmk4GR.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-C-UVkNnC.js → player-account-gaming-limits-page-2-gm16-nd-CoPW-eLA.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Cl5_5vmQ.js → player-account-gaming-limits-page-2-gm16-nd-D3ThljIR.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-CjOHkI6G.js → player-account-gaming-limits-popup-BiJNbgIG.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-CJqcLl4U.js → player-account-gaming-limits-popup-ChM9VGei.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-9NdD6EUP.cjs → player-account-gaming-limits-popup-j1TLTbPI.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-69A9eFMW.js → player-account-gaming-limits-wrapper-2-nd-CF4BZGK-.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-D2wvSemh.cjs → player-account-gaming-limits-wrapper-2-nd-CMZO6pTF.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-BrcUA-Xu.js → player-account-gaming-limits-wrapper-2-nd-VKUtDvNp.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-DXfCM91S.cjs → player-account-general-confirmation-modal-BrbI8dlI.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-BLdo_e_4.js → player-account-general-confirmation-modal-Do5LkZYR.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-wRW4fsLD.js → player-account-general-confirmation-modal-UBLL_fqf.js} +1 -1
- package/lazy/{player-account-menu-nd-DzwMZ75b.js → player-account-menu-nd-C7KEvONQ.js} +1 -1
- package/lazy/{player-account-menu-nd-UHM77mv_.cjs → player-account-menu-nd-D9nyjNTs.cjs} +1 -1
- package/lazy/{player-account-menu-nd-BaPOVebr.js → player-account-menu-nd-DVgBIHo_.js} +1 -1
- package/lazy/{player-account-modal-CePPrHai.js → player-account-modal-Bh_RfFqA.js} +1 -1
- package/lazy/{player-account-modal-DFGXefj-.js → player-account-modal-ClOyjy2-.js} +1 -1
- package/lazy/{player-account-modal-CeUT04Mq.cjs → player-account-modal-rWUqp0nX.cjs} +1 -1
- package/lazy/{player-account-notifications-CEVqZIXb.js → player-account-notifications-C_gxDkRc.js} +1 -1
- package/lazy/{player-account-notifications-D3e7mY8E.js → player-account-notifications-Cp0VsRg0.js} +1 -1
- package/lazy/{player-account-notifications-rgToL67n.cjs → player-account-notifications-Do0RTOxs.cjs} +1 -1
- package/lazy/{player-account-product-restriction-CxxTItyF.cjs → player-account-product-restriction-BptSfY-X.cjs} +1 -1
- package/lazy/{player-account-product-restriction-4Nl5HFer.js → player-account-product-restriction-_EqreKWC.js} +1 -1
- package/lazy/{player-account-product-restriction-BiBV_FSj.js → player-account-product-restriction-i8J7ljC7.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-C5UUpWQU.cjs → player-account-self-exclusion-nd-BV2RBXNh.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-DpkJWZj7.js → player-account-self-exclusion-nd-B_YARsgl.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-BRt-06MK.js → player-account-self-exclusion-nd-CtR-st1p.js} +1 -1
- package/lazy/{player-account-timeout-BpIBHqXO.js → player-account-timeout-B5CC-xhy.js} +1 -1
- package/lazy/{player-account-timeout-BYnYZoSt.js → player-account-timeout-DJW4e1NW.js} +1 -1
- package/lazy/{player-account-timeout-BR8CWRvB.cjs → player-account-timeout-v3-rM2VF.cjs} +1 -1
- package/lazy/{player-account-transactions-history-BZz0kqCv.js → player-account-transactions-history-escbRwvG.js} +1 -1
- package/lazy/{player-account-transactions-history-sBb3o36z.cjs → player-account-transactions-history-mkoEUozA.cjs} +1 -1
- package/lazy/{player-account-transactions-history-DytOdcin.js → player-account-transactions-history-tTZykFHo.js} +1 -1
- package/lazy/{player-active-bonuses-Dr68gW7s.js → player-active-bonuses-BHHYgNqe.js} +1 -1
- package/lazy/{player-active-bonuses-CP0PGl8C.cjs → player-active-bonuses-CAw-zrFj.cjs} +1 -1
- package/lazy/{player-active-bonuses-CwY5yV12.js → player-active-bonuses-CW09OXoB.js} +1 -1
- package/lazy/{player-bonus-card-n_2tQTgB.cjs → player-bonus-card-B0ePpBW6.cjs} +1 -1
- package/lazy/{player-bonus-card-DNu1L-Eq.js → player-bonus-card-Cg28SuJB.js} +1 -1
- package/lazy/{player-bonus-card-CnUab1uV.js → player-bonus-card-Dy6ovb3B.js} +1 -1
- package/lazy/{player-bonus-history-CM0_ANzs.cjs → player-bonus-history-CFNJ4VSH.cjs} +1 -1
- package/lazy/{player-bonus-history-C30fc9h-.js → player-bonus-history-Cl1dUjrp.js} +1 -1
- package/lazy/{player-bonus-history--UMFLtyU.js → player-bonus-history-DOvGiYVu.js} +1 -1
- package/lazy/{player-change-password-nd-T56_Jpej.js → player-change-password-nd-CKPCgTq0.js} +1 -1
- package/lazy/{player-change-password-nd-BkNk1sC6.cjs → player-change-password-nd-DkqeEJow.cjs} +1 -1
- package/lazy/{player-change-password-nd-Co6BWrIE.js → player-change-password-nd-l35cXHd3.js} +1 -1
- package/lazy/{player-deposit-BtxtT7MG.js → player-deposit--8qY8jO_.js} +1 -1
- package/lazy/{player-deposit-Bo0mVBAg.cjs → player-deposit-DiH8nFHh.cjs} +1 -1
- package/lazy/{player-deposit-B9ZtDnuV.js → player-deposit-EEdyLxBj.js} +1 -1
- package/lazy/{player-gaming-history-M9UlHCxF.js → player-gaming-history-BCIzzZ4q.js} +1 -1
- package/lazy/{player-gaming-history-yHazJqWK.js → player-gaming-history-C0ojuB4I.js} +1 -1
- package/lazy/{player-gaming-history-DYkdJS1o.cjs → player-gaming-history-DSYvTj_Z.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-B4djgjug.cjs → player-pending-withdrawals-BgLfYIrX.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-XGuzfLFt.js → player-pending-withdrawals-D-172z23.js} +1 -1
- package/lazy/{player-pending-withdrawals-DbXl-EuM.js → player-pending-withdrawals-Drd9CD-n.js} +1 -1
- package/lazy/{player-profile-info-DIodsLWm.js → player-profile-info-C7KWsk8n.js} +1 -1
- package/lazy/{player-profile-info-BVEuHbZC.js → player-profile-info-DhYJdsrQ.js} +1 -1
- package/lazy/{player-profile-info-tohcZMRY.cjs → player-profile-info-Dm9kg_X_.cjs} +1 -1
- package/lazy/{player-reality-check-DBIB2l2N.cjs → player-reality-check-BVP9fFdH.cjs} +1 -1
- package/lazy/{player-reality-check-dTCbntHS.js → player-reality-check-Bi8DyNZ4.js} +1 -1
- package/lazy/{player-reality-check-J40z7Gx1.js → player-reality-check-l_MnmhrZ.js} +1 -1
- package/lazy/{player-transaction-history-LeSz2bCV.js → player-transaction-history-BR1t_mLP.js} +1 -1
- package/lazy/{player-transaction-history-BRDZXoOv.js → player-transaction-history-Cf-W9afZ.js} +1 -1
- package/lazy/{player-transaction-history-DHMT4Gti.cjs → player-transaction-history-D6I-TDIi.cjs} +1 -1
- package/lazy/{player-withdrawal-CHCffaqb.cjs → player-withdrawal-BHFCPLI7.cjs} +1 -1
- package/lazy/{player-withdrawal-Z8FntQe3.js → player-withdrawal-BfNJHCWn.js} +1 -1
- package/lazy/{player-withdrawal-bJhunVAU.js → player-withdrawal-p9vQKXJX.js} +1 -1
- package/lazy/{user-transaction-history-Cpfb0eII.js → user-transaction-history-9NQOfzj1.js} +1 -1
- package/lazy/{user-transaction-history-Br1_XaWZ.js → user-transaction-history-B4416U-a.js} +1 -1
- package/lazy/{user-transaction-history-BnsZBXhA.cjs → user-transaction-history-qqa609b4.cjs} +1 -1
- package/package.json +1 -1
- package/stencil/checkbox-group-input_15-BUXmpr2Q.js +20526 -0
- package/stencil/checkbox-group-input_15-BodHUPg_.cjs +6906 -0
- package/stencil/checkbox-group-input_15-Cy_0zVc_.js +20526 -0
- package/stencil/{pam-change-password-9aef79f2-7J60PYim.js → pam-change-password-9aef79f2-BNgDrDv9.js} +1 -1
- package/stencil/{pam-change-password-9aef79f2-EqCk1P6G.cjs → pam-change-password-9aef79f2-DnIvxA00.cjs} +1 -1
- package/stencil/{pam-change-password-9aef79f2-Bo-GxZRu.js → pam-change-password-9aef79f2-iXJSyAvL.js} +1 -1
- package/stencil/{pam-change-password-Bl6J7ubO.cjs → pam-change-password-Ck-zBJY5.cjs} +1 -1
- package/stencil/{pam-change-password-CJespolY.js → pam-change-password-Dl2uIdAN.js} +2 -2
- package/stencil/{pam-change-password-CJD9_I5F.js → pam-change-password-LR7MtUYb.js} +2 -2
- package/stencil/{user-transaction-history-DYykF2yx.js → user-transaction-history-C5tTyvBr.js} +2 -2
- package/stencil/{user-transaction-history-BVJmyO_o.cjs → user-transaction-history-CFcieKbG.cjs} +1 -1
- package/stencil/{user-transaction-history-CqTW4iUG.js → user-transaction-history-KNwoproP.js} +2 -2
- package/stencil/user-transaction-history_2-BdgXSIA4.cjs +6660 -0
- package/stencil/user-transaction-history_2-CcWHOflK.js +19290 -0
- package/stencil/user-transaction-history_2-DsaQIqXl.js +19268 -0
- package/components/GeneralLogout-CaOBPi7K.cjs +0 -21
- package/components/PlayerAccountProductRestriction-B5H1Oasi.cjs +0 -18195
- package/components/PlayerAccountProductRestriction-DVgYiwgH.js +0 -41373
- package/components/PlayerAccountProductRestriction-DtoqSkIG.js +0 -41338
- package/stencil/checkbox-group-input_15-BWbjzHKi.cjs +0 -18439
- package/stencil/checkbox-group-input_15-CTEOcS8L.js +0 -44357
- package/stencil/checkbox-group-input_15-Ct8fT-Xq.js +0 -44357
- package/stencil/user-transaction-history_2-B79Ly9q-.js +0 -43099
- package/stencil/user-transaction-history_2-Dq_mnGFd.cjs +0 -18193
- package/stencil/user-transaction-history_2-Dve96om3.js +0 -43121
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a5 as
|
|
2
|
-
import { d as Ee } from "./PlayerAccountProductRestriction-
|
|
1
|
+
import { a5 as Ar, a6 as Cr, a as Pr, $ as kr, S as Dr, i as Tr, s as Mr, f as oe, b as Or, n as ci, d as ne, h as ae, k as w, p as Ir, q as Fr, u as Nr, v as zr, x as ro, j as f, m as I, g as S, Y as qt, e as E, C as no, D as Lr, r as Rr, c as de, o as Ue, l as Mt, t as re, w as Ae, H as Br, y as Hr, z as $r, A as Yr, B as jr } from "./GeneralLogout-BGwYe9DN.js";
|
|
2
|
+
import { d as Ee } from "./PlayerAccountProductRestriction-Cfbg3atQ.js";
|
|
3
3
|
import "../stencil/ui-skeleton-BKQpcC4u.js";
|
|
4
|
-
import "../lazy/player-account-modal-
|
|
5
|
-
import "../lazy/player-account-general-confirmation-modal-
|
|
4
|
+
import "../lazy/player-account-modal-ClOyjy2-.js";
|
|
5
|
+
import "../lazy/player-account-general-confirmation-modal-Do5LkZYR.js";
|
|
6
6
|
/**
|
|
7
7
|
* @license
|
|
8
8
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -29,18 +29,18 @@ function be(o, t = "24.5.10") {
|
|
|
29
29
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
30
30
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31
31
|
*/
|
|
32
|
-
class
|
|
32
|
+
class Vr extends HTMLElement {
|
|
33
33
|
static get is() {
|
|
34
34
|
return "vaadin-lumo-styles";
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
be(
|
|
37
|
+
be(Vr);
|
|
38
38
|
/**
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2019 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
42
|
*/
|
|
43
|
-
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Fi = Symbol(),
|
|
43
|
+
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Fi = Symbol(), ao = /* @__PURE__ */ new WeakMap();
|
|
44
44
|
let Ni = class {
|
|
45
45
|
constructor(t, e, i) {
|
|
46
46
|
if (this._$cssResult$ = !0, i !== Fi)
|
|
@@ -52,7 +52,7 @@ let Ni = class {
|
|
|
52
52
|
const e = this.t;
|
|
53
53
|
if (Ii && t === void 0) {
|
|
54
54
|
const i = e !== void 0 && e.length === 1;
|
|
55
|
-
i && (t =
|
|
55
|
+
i && (t = ao.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && ao.set(e, t));
|
|
56
56
|
}
|
|
57
57
|
return t;
|
|
58
58
|
}
|
|
@@ -60,7 +60,7 @@ let Ni = class {
|
|
|
60
60
|
return this.cssText;
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
|
-
const
|
|
63
|
+
const Ur = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), P = (o, ...t) => {
|
|
64
64
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
65
65
|
if (n._$cssResult$ === !0)
|
|
66
66
|
return n.cssText;
|
|
@@ -69,7 +69,7 @@ const Vr = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), P = (o,
|
|
|
69
69
|
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.");
|
|
70
70
|
})(s) + o[r + 1], o[0]);
|
|
71
71
|
return new Ni(e, o, Fi);
|
|
72
|
-
},
|
|
72
|
+
}, Qo = (o, t) => {
|
|
73
73
|
if (Ii)
|
|
74
74
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
75
75
|
else
|
|
@@ -77,21 +77,21 @@ const Vr = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), P = (o,
|
|
|
77
77
|
const i = document.createElement("style"), s = Dt.litNonce;
|
|
78
78
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
79
79
|
}
|
|
80
|
-
},
|
|
80
|
+
}, lo = Ii ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
81
81
|
let e = "";
|
|
82
82
|
for (const i of t.cssRules)
|
|
83
83
|
e += i.cssText;
|
|
84
|
-
return
|
|
84
|
+
return Ur(e);
|
|
85
85
|
})(o) : o;
|
|
86
86
|
/**
|
|
87
87
|
* @license
|
|
88
88
|
* Copyright 2017 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
90
|
*/
|
|
91
|
-
const { is:
|
|
91
|
+
const { is: Wr, defineProperty: qr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Gr, getOwnPropertySymbols: Jr, getPrototypeOf: Xr } = Object, Ht = globalThis, co = Ht.trustedTypes, Zr = co ? co.emptyScript : "", Qr = Ht.reactiveElementPolyfillSupport, dt = (o, t) => o, ui = { toAttribute(o, t) {
|
|
92
92
|
switch (t) {
|
|
93
93
|
case Boolean:
|
|
94
|
-
o = o ?
|
|
94
|
+
o = o ? Zr : null;
|
|
95
95
|
break;
|
|
96
96
|
case Object:
|
|
97
97
|
case Array:
|
|
@@ -116,7 +116,7 @@ const { is: Ur, defineProperty: Wr, getOwnPropertyDescriptor: qr, getOwnProperty
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
return e;
|
|
119
|
-
} },
|
|
119
|
+
} }, es = (o, t) => !Wr(o, t), uo = { attribute: !0, type: String, converter: ui, reflect: !1, useDefault: !1, hasChanged: es };
|
|
120
120
|
Symbol.metadata ??= Symbol("metadata"), Ht.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
121
121
|
class qe extends HTMLElement {
|
|
122
122
|
static addInitializer(t) {
|
|
@@ -125,39 +125,37 @@ class qe extends HTMLElement {
|
|
|
125
125
|
static get observedAttributes() {
|
|
126
126
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
127
127
|
}
|
|
128
|
-
static createProperty(t, e =
|
|
129
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
128
|
+
static createProperty(t, e = uo) {
|
|
129
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
130
130
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
131
|
-
s !== void 0 &&
|
|
131
|
+
s !== void 0 && qr(this.prototype, t, s);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
static getPropertyDescriptor(t, e, i) {
|
|
135
|
-
const { get: s, set: r } =
|
|
135
|
+
const { get: s, set: r } = Kr(this.prototype, t) ?? { get() {
|
|
136
136
|
return this[e];
|
|
137
137
|
}, set(n) {
|
|
138
138
|
this[e] = n;
|
|
139
139
|
} };
|
|
140
|
-
return { get() {
|
|
141
|
-
return s?.call(this);
|
|
142
|
-
}, set(n) {
|
|
140
|
+
return { get: s, set(n) {
|
|
143
141
|
const a = s?.call(this);
|
|
144
|
-
r
|
|
142
|
+
r?.call(this, n), this.requestUpdate(t, a, i);
|
|
145
143
|
}, configurable: !0, enumerable: !0 };
|
|
146
144
|
}
|
|
147
145
|
static getPropertyOptions(t) {
|
|
148
|
-
return this.elementProperties.get(t) ??
|
|
146
|
+
return this.elementProperties.get(t) ?? uo;
|
|
149
147
|
}
|
|
150
148
|
static _$Ei() {
|
|
151
149
|
if (this.hasOwnProperty(dt("elementProperties")))
|
|
152
150
|
return;
|
|
153
|
-
const t =
|
|
151
|
+
const t = Xr(this);
|
|
154
152
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
155
153
|
}
|
|
156
154
|
static finalize() {
|
|
157
155
|
if (this.hasOwnProperty(dt("finalized")))
|
|
158
156
|
return;
|
|
159
157
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(dt("properties"))) {
|
|
160
|
-
const e = this.properties, i = [...
|
|
158
|
+
const e = this.properties, i = [...Gr(e), ...Jr(e)];
|
|
161
159
|
for (const s of i)
|
|
162
160
|
this.createProperty(s, e[s]);
|
|
163
161
|
}
|
|
@@ -180,9 +178,9 @@ class qe extends HTMLElement {
|
|
|
180
178
|
if (Array.isArray(t)) {
|
|
181
179
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
182
180
|
for (const s of i)
|
|
183
|
-
e.unshift(
|
|
181
|
+
e.unshift(lo(s));
|
|
184
182
|
} else
|
|
185
|
-
t !== void 0 && e.push(
|
|
183
|
+
t !== void 0 && e.push(lo(t));
|
|
186
184
|
return e;
|
|
187
185
|
}
|
|
188
186
|
static _$Eu(t, e) {
|
|
@@ -209,7 +207,7 @@ class qe extends HTMLElement {
|
|
|
209
207
|
}
|
|
210
208
|
createRenderRoot() {
|
|
211
209
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
212
|
-
return
|
|
210
|
+
return Qo(t, this.constructor.elementStyles), t;
|
|
213
211
|
}
|
|
214
212
|
connectedCallback() {
|
|
215
213
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
@@ -222,7 +220,7 @@ class qe extends HTMLElement {
|
|
|
222
220
|
attributeChangedCallback(t, e, i) {
|
|
223
221
|
this._$AK(t, i);
|
|
224
222
|
}
|
|
225
|
-
_$
|
|
223
|
+
_$ET(t, e) {
|
|
226
224
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
227
225
|
if (s !== void 0 && i.reflect === !0) {
|
|
228
226
|
const r = (i.converter?.toAttribute !== void 0 ? i.converter : ui).toAttribute(e, i.type);
|
|
@@ -233,21 +231,24 @@ class qe extends HTMLElement {
|
|
|
233
231
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
234
232
|
if (s !== void 0 && this._$Em !== s) {
|
|
235
233
|
const r = i.getPropertyOptions(s), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter : ui;
|
|
236
|
-
this._$Em = s
|
|
234
|
+
this._$Em = s;
|
|
235
|
+
const a = n.fromAttribute(e, r.type);
|
|
236
|
+
this[s] = a ?? this._$Ej?.get(s) ?? a, this._$Em = null;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
requestUpdate(t, e, i) {
|
|
240
240
|
if (t !== void 0) {
|
|
241
|
-
|
|
241
|
+
const s = this.constructor, r = this[t];
|
|
242
|
+
if (i ??= s.getPropertyOptions(t), !((i.hasChanged ?? es)(r, e) || i.useDefault && i.reflect && r === this._$Ej?.get(t) && !this.hasAttribute(s._$Eu(t, i))))
|
|
242
243
|
return;
|
|
243
|
-
this.
|
|
244
|
+
this.C(t, e, i);
|
|
244
245
|
}
|
|
245
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
246
|
+
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
246
247
|
}
|
|
247
|
-
|
|
248
|
-
this._$AL.has(t) || this._$AL.set(t, e),
|
|
248
|
+
C(t, e, { useDefault: i, reflect: s, wrapped: r }, n) {
|
|
249
|
+
i && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t) && (this._$Ej.set(t, n ?? e ?? this[t]), r !== !0 || n !== void 0) || (this._$AL.has(t) || (this.hasUpdated || i || (e = void 0), this._$AL.set(t, e)), s === !0 && this._$Em !== t && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t));
|
|
249
250
|
}
|
|
250
|
-
async _$
|
|
251
|
+
async _$EP() {
|
|
251
252
|
this.isUpdatePending = !0;
|
|
252
253
|
try {
|
|
253
254
|
await this._$ES;
|
|
@@ -271,15 +272,17 @@ class qe extends HTMLElement {
|
|
|
271
272
|
}
|
|
272
273
|
const i = this.constructor.elementProperties;
|
|
273
274
|
if (i.size > 0)
|
|
274
|
-
for (const [s, r] of i)
|
|
275
|
-
|
|
275
|
+
for (const [s, r] of i) {
|
|
276
|
+
const { wrapped: n } = r, a = this[s];
|
|
277
|
+
n !== !0 || this._$AL.has(s) || a === void 0 || this.C(s, void 0, r, a);
|
|
278
|
+
}
|
|
276
279
|
}
|
|
277
280
|
let t = !1;
|
|
278
281
|
const e = this._$AL;
|
|
279
282
|
try {
|
|
280
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((i) => i.hostUpdate?.()), this.update(e)) : this._$
|
|
283
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((i) => i.hostUpdate?.()), this.update(e)) : this._$EM();
|
|
281
284
|
} catch (i) {
|
|
282
|
-
throw t = !1, this._$
|
|
285
|
+
throw t = !1, this._$EM(), i;
|
|
283
286
|
}
|
|
284
287
|
t && this._$AE(e);
|
|
285
288
|
}
|
|
@@ -288,7 +291,7 @@ class qe extends HTMLElement {
|
|
|
288
291
|
_$AE(t) {
|
|
289
292
|
this._$EO?.forEach((e) => e.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
290
293
|
}
|
|
291
|
-
_$
|
|
294
|
+
_$EM() {
|
|
292
295
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
293
296
|
}
|
|
294
297
|
get updateComplete() {
|
|
@@ -301,46 +304,46 @@ class qe extends HTMLElement {
|
|
|
301
304
|
return !0;
|
|
302
305
|
}
|
|
303
306
|
update(t) {
|
|
304
|
-
this._$
|
|
307
|
+
this._$Eq &&= this._$Eq.forEach((e) => this._$ET(e, this[e])), this._$EM();
|
|
305
308
|
}
|
|
306
309
|
updated(t) {
|
|
307
310
|
}
|
|
308
311
|
firstUpdated(t) {
|
|
309
312
|
}
|
|
310
313
|
}
|
|
311
|
-
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(),
|
|
314
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(), Qr?.({ ReactiveElement: qe }), (Ht.reactiveElementVersions ??= []).push("2.1.1");
|
|
312
315
|
/**
|
|
313
316
|
* @license
|
|
314
317
|
* Copyright 2017 Google LLC
|
|
315
318
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
316
319
|
*/
|
|
317
|
-
const zi = globalThis, Ot = zi.trustedTypes,
|
|
318
|
-
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
319
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
320
|
-
function
|
|
320
|
+
const zi = globalThis, Ot = zi.trustedTypes, ho = Ot ? Ot.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ts = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, is = "?" + Me, en = `<${is}>`, $e = document, pt = () => $e.createComment(""), ft = (o) => o === null || typeof o != "object" && typeof o != "function", Li = Array.isArray, tn = (o) => Li(o) || typeof o?.[Symbol.iterator] == "function", Kt = `[
|
|
321
|
+
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, po = /-->/g, fo = />/g, ze = RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^
|
|
322
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), mo = /'/g, _o = /"/g, os = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), go = /* @__PURE__ */ new WeakMap(), Le = $e.createTreeWalker($e, 129);
|
|
323
|
+
function ss(o, t) {
|
|
321
324
|
if (!Li(o) || !o.hasOwnProperty("raw"))
|
|
322
325
|
throw Error("invalid template strings array");
|
|
323
|
-
return
|
|
326
|
+
return ho !== void 0 ? ho.createHTML(t) : t;
|
|
324
327
|
}
|
|
325
|
-
const
|
|
328
|
+
const on = (o, t) => {
|
|
326
329
|
const e = o.length - 1, i = [];
|
|
327
330
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = st;
|
|
328
331
|
for (let a = 0; a < e; a++) {
|
|
329
332
|
const l = o[a];
|
|
330
333
|
let c, u, d = -1, h = 0;
|
|
331
334
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
332
|
-
h = n.lastIndex, n === st ? u[1] === "!--" ? n =
|
|
335
|
+
h = n.lastIndex, n === st ? u[1] === "!--" ? n = po : u[1] !== void 0 ? n = fo : u[2] !== void 0 ? (os.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s ?? st, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? ze : u[3] === '"' ? _o : mo) : n === _o || n === mo ? n = ze : n === po || n === fo ? n = st : (n = ze, s = void 0);
|
|
333
336
|
const m = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
334
|
-
r += n === st ? l +
|
|
337
|
+
r += n === st ? l + en : d >= 0 ? (i.push(c), l.slice(0, d) + ts + l.slice(d) + Me + m) : l + Me + (d === -2 ? a : m);
|
|
335
338
|
}
|
|
336
|
-
return [
|
|
339
|
+
return [ss(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
337
340
|
};
|
|
338
341
|
class mt {
|
|
339
342
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
340
343
|
let s;
|
|
341
344
|
this.parts = [];
|
|
342
345
|
let r = 0, n = 0;
|
|
343
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
346
|
+
const a = t.length - 1, l = this.parts, [c, u] = on(t, e);
|
|
344
347
|
if (this.el = mt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
345
348
|
const d = this.el.content.firstChild;
|
|
346
349
|
d.replaceWith(...d.childNodes);
|
|
@@ -349,12 +352,12 @@ class mt {
|
|
|
349
352
|
if (s.nodeType === 1) {
|
|
350
353
|
if (s.hasAttributes())
|
|
351
354
|
for (const d of s.getAttributeNames())
|
|
352
|
-
if (d.endsWith(
|
|
355
|
+
if (d.endsWith(ts)) {
|
|
353
356
|
const h = u[n++], m = s.getAttribute(d).split(Me), b = /([.?@])?(.*)/.exec(h);
|
|
354
|
-
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ?
|
|
357
|
+
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ? rn : b[1] === "?" ? nn : b[1] === "@" ? an : $t }), s.removeAttribute(d);
|
|
355
358
|
} else
|
|
356
359
|
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
357
|
-
if (
|
|
360
|
+
if (os.test(s.tagName)) {
|
|
358
361
|
const d = s.textContent.split(Me), h = d.length - 1;
|
|
359
362
|
if (h > 0) {
|
|
360
363
|
s.textContent = Ot ? Ot.emptyScript : "";
|
|
@@ -364,7 +367,7 @@ class mt {
|
|
|
364
367
|
}
|
|
365
368
|
}
|
|
366
369
|
} else if (s.nodeType === 8)
|
|
367
|
-
if (s.data ===
|
|
370
|
+
if (s.data === is)
|
|
368
371
|
l.push({ type: 2, index: r });
|
|
369
372
|
else {
|
|
370
373
|
let d = -1;
|
|
@@ -386,7 +389,7 @@ function Qe(o, t, e = o, i) {
|
|
|
386
389
|
const r = ft(t) ? void 0 : t._$litDirective$;
|
|
387
390
|
return s?.constructor !== r && (s?._$AO?.(!1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? (e._$Co ??= [])[i] = s : e._$Cl = s), s !== void 0 && (t = Qe(o, s._$AS(o, t.values), s, i)), t;
|
|
388
391
|
}
|
|
389
|
-
class
|
|
392
|
+
class sn {
|
|
390
393
|
constructor(t, e) {
|
|
391
394
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
392
395
|
}
|
|
@@ -403,7 +406,7 @@ class on {
|
|
|
403
406
|
for (; l !== void 0; ) {
|
|
404
407
|
if (n === l.index) {
|
|
405
408
|
let c;
|
|
406
|
-
l.type === 2 ? c = new wt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
409
|
+
l.type === 2 ? c = new wt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new ln(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
407
410
|
}
|
|
408
411
|
n !== l?.index && (r = Le.nextNode(), n++);
|
|
409
412
|
}
|
|
@@ -434,7 +437,7 @@ class wt {
|
|
|
434
437
|
return this._$AB;
|
|
435
438
|
}
|
|
436
439
|
_$AI(t, e = this) {
|
|
437
|
-
t = Qe(this, t, e), ft(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
440
|
+
t = Qe(this, t, e), ft(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : tn(t) ? this.k(t) : this._(t);
|
|
438
441
|
}
|
|
439
442
|
O(t) {
|
|
440
443
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -446,17 +449,17 @@ class wt {
|
|
|
446
449
|
this._$AH !== W && ft(this._$AH) ? this._$AA.nextSibling.data = t : this.T($e.createTextNode(t)), this._$AH = t;
|
|
447
450
|
}
|
|
448
451
|
$(t) {
|
|
449
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(
|
|
452
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(ss(i.h, i.h[0]), this.options)), i);
|
|
450
453
|
if (this._$AH?._$AD === s)
|
|
451
454
|
this._$AH.p(e);
|
|
452
455
|
else {
|
|
453
|
-
const r = new
|
|
456
|
+
const r = new sn(s, this), n = r.u(this.options);
|
|
454
457
|
r.p(e), this.T(n), this._$AH = r;
|
|
455
458
|
}
|
|
456
459
|
}
|
|
457
460
|
_$AC(t) {
|
|
458
|
-
let e =
|
|
459
|
-
return e === void 0 &&
|
|
461
|
+
let e = go.get(t.strings);
|
|
462
|
+
return e === void 0 && go.set(t.strings, e = new mt(t)), e;
|
|
460
463
|
}
|
|
461
464
|
k(t) {
|
|
462
465
|
Li(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -467,7 +470,7 @@ class wt {
|
|
|
467
470
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
468
471
|
}
|
|
469
472
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
470
|
-
for (this._$AP?.(!1, !0, e); t
|
|
473
|
+
for (this._$AP?.(!1, !0, e); t !== this._$AB; ) {
|
|
471
474
|
const i = t.nextSibling;
|
|
472
475
|
t.remove(), t = i;
|
|
473
476
|
}
|
|
@@ -503,7 +506,7 @@ class $t {
|
|
|
503
506
|
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
504
507
|
}
|
|
505
508
|
}
|
|
506
|
-
class
|
|
509
|
+
class rn extends $t {
|
|
507
510
|
constructor() {
|
|
508
511
|
super(...arguments), this.type = 3;
|
|
509
512
|
}
|
|
@@ -511,7 +514,7 @@ class sn extends $t {
|
|
|
511
514
|
this.element[this.name] = t === W ? void 0 : t;
|
|
512
515
|
}
|
|
513
516
|
}
|
|
514
|
-
class
|
|
517
|
+
class nn extends $t {
|
|
515
518
|
constructor() {
|
|
516
519
|
super(...arguments), this.type = 4;
|
|
517
520
|
}
|
|
@@ -519,7 +522,7 @@ class rn extends $t {
|
|
|
519
522
|
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
520
523
|
}
|
|
521
524
|
}
|
|
522
|
-
class
|
|
525
|
+
class an extends $t {
|
|
523
526
|
constructor(t, e, i, s, r) {
|
|
524
527
|
super(t, e, i, s, r), this.type = 5;
|
|
525
528
|
}
|
|
@@ -533,7 +536,7 @@ class nn extends $t {
|
|
|
533
536
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
534
537
|
}
|
|
535
538
|
}
|
|
536
|
-
class
|
|
539
|
+
class ln {
|
|
537
540
|
constructor(t, e, i) {
|
|
538
541
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
539
542
|
}
|
|
@@ -544,9 +547,9 @@ class an {
|
|
|
544
547
|
Qe(this, t);
|
|
545
548
|
}
|
|
546
549
|
}
|
|
547
|
-
const
|
|
548
|
-
|
|
549
|
-
const
|
|
550
|
+
const cn = zi.litHtmlPolyfillSupport;
|
|
551
|
+
cn?.(mt, wt), (zi.litHtmlVersions ??= []).push("3.3.1");
|
|
552
|
+
const un = (o, t, e) => {
|
|
550
553
|
const i = e?.renderBefore ?? t;
|
|
551
554
|
let s = i._$litPart$;
|
|
552
555
|
if (s === void 0) {
|
|
@@ -560,6 +563,7 @@ const cn = (o, t, e) => {
|
|
|
560
563
|
* Copyright 2017 Google LLC
|
|
561
564
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
562
565
|
*/
|
|
566
|
+
const Ri = globalThis;
|
|
563
567
|
class Ke extends qe {
|
|
564
568
|
constructor() {
|
|
565
569
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -570,7 +574,7 @@ class Ke extends qe {
|
|
|
570
574
|
}
|
|
571
575
|
update(t) {
|
|
572
576
|
const e = this.render();
|
|
573
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
577
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = un(e, this.renderRoot, this.renderOptions);
|
|
574
578
|
}
|
|
575
579
|
connectedCallback() {
|
|
576
580
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -582,16 +586,16 @@ class Ke extends qe {
|
|
|
582
586
|
return Ze;
|
|
583
587
|
}
|
|
584
588
|
}
|
|
585
|
-
Ke._$litElement$ = !0, Ke.finalized = !0,
|
|
586
|
-
const
|
|
587
|
-
|
|
588
|
-
(
|
|
589
|
+
Ke._$litElement$ = !0, Ke.finalized = !0, Ri.litElementHydrateSupport?.({ LitElement: Ke });
|
|
590
|
+
const dn = Ri.litElementPolyfillSupport;
|
|
591
|
+
dn?.({ LitElement: Ke });
|
|
592
|
+
(Ri.litElementVersions ??= []).push("4.2.1");
|
|
589
593
|
/**
|
|
590
594
|
* @license
|
|
591
595
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
592
596
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
593
597
|
*/
|
|
594
|
-
const
|
|
598
|
+
const hn = (o) => class extends o {
|
|
595
599
|
static get properties() {
|
|
596
600
|
return {
|
|
597
601
|
/**
|
|
@@ -630,103 +634,103 @@ const dn = (o) => class extends o {
|
|
|
630
634
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
631
635
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
632
636
|
*/
|
|
633
|
-
const
|
|
634
|
-
function
|
|
637
|
+
const rs = [], di = /* @__PURE__ */ new Set(), Bi = /* @__PURE__ */ new Set();
|
|
638
|
+
function ns(o) {
|
|
635
639
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
636
640
|
}
|
|
637
|
-
function
|
|
638
|
-
return
|
|
641
|
+
function pn(o) {
|
|
642
|
+
return ns(customElements.get(o));
|
|
639
643
|
}
|
|
640
|
-
function
|
|
644
|
+
function fn(o = []) {
|
|
641
645
|
return [o].flat(1 / 0).filter((t) => t instanceof Ni ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
642
646
|
}
|
|
643
|
-
function
|
|
647
|
+
function as(o, t) {
|
|
644
648
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
645
649
|
}
|
|
646
|
-
function
|
|
650
|
+
function ls(o) {
|
|
647
651
|
return o.map((t) => t.cssText).join(`
|
|
648
652
|
`);
|
|
649
653
|
}
|
|
650
654
|
const It = "vaadin-themable-mixin-style";
|
|
651
|
-
function
|
|
655
|
+
function mn(o, t) {
|
|
652
656
|
const e = document.createElement("style");
|
|
653
|
-
e.id = It, e.textContent =
|
|
657
|
+
e.id = It, e.textContent = ls(o), t.content.appendChild(e);
|
|
654
658
|
}
|
|
655
|
-
function
|
|
659
|
+
function _n(o) {
|
|
656
660
|
if (!o.shadowRoot)
|
|
657
661
|
return;
|
|
658
662
|
const t = o.constructor;
|
|
659
663
|
if (o instanceof Ke)
|
|
660
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
664
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), Qo(o.shadowRoot, t.elementStyles);
|
|
661
665
|
else {
|
|
662
666
|
const e = o.shadowRoot.getElementById(It), i = t.prototype._template;
|
|
663
667
|
e.textContent = i.content.getElementById(It).textContent;
|
|
664
668
|
}
|
|
665
669
|
}
|
|
666
|
-
function
|
|
670
|
+
function gn(o) {
|
|
667
671
|
di.forEach((t) => {
|
|
668
672
|
const e = t.deref();
|
|
669
|
-
e instanceof o ?
|
|
673
|
+
e instanceof o ? _n(e) : e || di.delete(t);
|
|
670
674
|
});
|
|
671
675
|
}
|
|
672
|
-
function
|
|
676
|
+
function cs(o) {
|
|
673
677
|
if (o.prototype instanceof Ke)
|
|
674
678
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
675
679
|
else {
|
|
676
680
|
const t = o.prototype._template;
|
|
677
|
-
t.content.getElementById(It).textContent =
|
|
681
|
+
t.content.getElementById(It).textContent = ls(o.getStylesForThis());
|
|
678
682
|
}
|
|
679
|
-
|
|
683
|
+
Bi.forEach((t) => {
|
|
680
684
|
const e = customElements.get(t);
|
|
681
|
-
e !== o && e.prototype instanceof o &&
|
|
685
|
+
e !== o && e.prototype instanceof o && cs(e);
|
|
682
686
|
});
|
|
683
687
|
}
|
|
684
|
-
function
|
|
688
|
+
function bn(o, t) {
|
|
685
689
|
const e = o.__themes;
|
|
686
690
|
return !e || !t ? !1 : e.some(
|
|
687
691
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
688
692
|
);
|
|
689
693
|
}
|
|
690
694
|
function L(o, t, e = {}) {
|
|
691
|
-
t =
|
|
695
|
+
t = fn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : rs.push({
|
|
692
696
|
themeFor: o,
|
|
693
697
|
styles: t,
|
|
694
698
|
include: e.include,
|
|
695
699
|
moduleId: e.moduleId
|
|
696
|
-
}), o &&
|
|
697
|
-
if (
|
|
700
|
+
}), o && Bi.forEach((i) => {
|
|
701
|
+
if (as(o, i) && pn(i)) {
|
|
698
702
|
const s = customElements.get(i);
|
|
699
|
-
|
|
703
|
+
bn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
700
704
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
701
|
-
),
|
|
705
|
+
), cs(s), gn(s);
|
|
702
706
|
}
|
|
703
707
|
});
|
|
704
708
|
}
|
|
705
709
|
function hi() {
|
|
706
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
710
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : rs;
|
|
707
711
|
}
|
|
708
|
-
function
|
|
712
|
+
function vn(o = "") {
|
|
709
713
|
let t = 0;
|
|
710
714
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
711
715
|
}
|
|
712
|
-
function
|
|
716
|
+
function us(o) {
|
|
713
717
|
const t = [];
|
|
714
718
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
715
719
|
const i = hi().find((s) => s.moduleId === e);
|
|
716
|
-
i ? t.push(...
|
|
720
|
+
i ? t.push(...us(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
717
721
|
}, o.styles), t;
|
|
718
722
|
}
|
|
719
|
-
function
|
|
720
|
-
const t = `${o}-default-theme`, e = hi().filter((i) => i.moduleId !== t &&
|
|
723
|
+
function yn(o) {
|
|
724
|
+
const t = `${o}-default-theme`, e = hi().filter((i) => i.moduleId !== t && as(i.themeFor, o)).map((i) => ({
|
|
721
725
|
...i,
|
|
722
726
|
// Prepend styles from included themes
|
|
723
|
-
styles: [...
|
|
727
|
+
styles: [...us(i), ...i.styles],
|
|
724
728
|
// Map moduleId to includePriority
|
|
725
|
-
includePriority:
|
|
729
|
+
includePriority: vn(i.moduleId)
|
|
726
730
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
727
731
|
return e.length > 0 ? e : hi().filter((i) => i.moduleId === t);
|
|
728
732
|
}
|
|
729
|
-
const Ye = (o) => class extends
|
|
733
|
+
const Ye = (o) => class extends hn(o) {
|
|
730
734
|
constructor() {
|
|
731
735
|
super(), di.add(new WeakRef(this));
|
|
732
736
|
}
|
|
@@ -735,10 +739,10 @@ const Ye = (o) => class extends dn(o) {
|
|
|
735
739
|
* @protected
|
|
736
740
|
*/
|
|
737
741
|
static finalize() {
|
|
738
|
-
if (super.finalize(), this.is &&
|
|
742
|
+
if (super.finalize(), this.is && Bi.add(this.is), this.elementStyles)
|
|
739
743
|
return;
|
|
740
744
|
const e = this.prototype._template;
|
|
741
|
-
!e ||
|
|
745
|
+
!e || ns(this) || mn(this.getStylesForThis(), e);
|
|
742
746
|
}
|
|
743
747
|
/**
|
|
744
748
|
* Covers LitElement based component styling
|
|
@@ -756,7 +760,7 @@ const Ye = (o) => class extends dn(o) {
|
|
|
756
760
|
*/
|
|
757
761
|
static getStylesForThis() {
|
|
758
762
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
759
|
-
this.__themes = [...e, ...s, ...
|
|
763
|
+
this.__themes = [...e, ...s, ...yn(this.is)];
|
|
760
764
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
761
765
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
762
766
|
}
|
|
@@ -766,19 +770,19 @@ const Ye = (o) => class extends dn(o) {
|
|
|
766
770
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
767
771
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
768
772
|
*/
|
|
769
|
-
const
|
|
773
|
+
const xn = (o, ...t) => {
|
|
770
774
|
const e = document.createElement("style");
|
|
771
775
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
772
776
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
773
777
|
}, it = (o, ...t) => {
|
|
774
|
-
|
|
778
|
+
xn(`lumo-${o}`, t);
|
|
775
779
|
};
|
|
776
780
|
/**
|
|
777
781
|
* @license
|
|
778
782
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
779
783
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
780
784
|
*/
|
|
781
|
-
const
|
|
785
|
+
const wn = P`
|
|
782
786
|
:host {
|
|
783
787
|
--lumo-size-xs: 1.625rem;
|
|
784
788
|
--lumo-size-s: 1.875rem;
|
|
@@ -794,13 +798,13 @@ const xn = P`
|
|
|
794
798
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
795
799
|
}
|
|
796
800
|
`;
|
|
797
|
-
it("sizing-props",
|
|
801
|
+
it("sizing-props", wn);
|
|
798
802
|
/**
|
|
799
803
|
* @license
|
|
800
804
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
801
805
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
802
806
|
*/
|
|
803
|
-
const
|
|
807
|
+
const En = P`
|
|
804
808
|
:host {
|
|
805
809
|
/* Square */
|
|
806
810
|
--lumo-space-xs: 0.25rem;
|
|
@@ -824,13 +828,13 @@ const wn = P`
|
|
|
824
828
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
825
829
|
}
|
|
826
830
|
`;
|
|
827
|
-
it("spacing-props",
|
|
831
|
+
it("spacing-props", En);
|
|
828
832
|
/**
|
|
829
833
|
* @license
|
|
830
834
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
831
835
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
832
836
|
*/
|
|
833
|
-
const
|
|
837
|
+
const Sn = P`
|
|
834
838
|
:host {
|
|
835
839
|
/* Border radius */
|
|
836
840
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -932,13 +936,13 @@ P`
|
|
|
932
936
|
--vaadin-input-field-value-font-weight: 500;
|
|
933
937
|
}
|
|
934
938
|
`;
|
|
935
|
-
it("style-props",
|
|
939
|
+
it("style-props", Sn);
|
|
936
940
|
/**
|
|
937
941
|
* @license
|
|
938
942
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
939
943
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
940
944
|
*/
|
|
941
|
-
const
|
|
945
|
+
const An = P`
|
|
942
946
|
:host {
|
|
943
947
|
/* Base (background) */
|
|
944
948
|
--lumo-base-color: #fff;
|
|
@@ -1024,8 +1028,8 @@ const Sn = P`
|
|
|
1024
1028
|
}
|
|
1025
1029
|
}
|
|
1026
1030
|
`;
|
|
1027
|
-
it("color-props",
|
|
1028
|
-
const
|
|
1031
|
+
it("color-props", An);
|
|
1032
|
+
const Cn = P`
|
|
1029
1033
|
[theme~='dark'] {
|
|
1030
1034
|
/* Base (background) */
|
|
1031
1035
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1144,13 +1148,13 @@ const An = P`
|
|
|
1144
1148
|
background: transparent;
|
|
1145
1149
|
}
|
|
1146
1150
|
`;
|
|
1147
|
-
L("",
|
|
1151
|
+
L("", Cn, { moduleId: "lumo-color" });
|
|
1148
1152
|
/**
|
|
1149
1153
|
* @license
|
|
1150
1154
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1151
1155
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1152
1156
|
*/
|
|
1153
|
-
const
|
|
1157
|
+
const Pn = P`
|
|
1154
1158
|
:host {
|
|
1155
1159
|
/* prettier-ignore */
|
|
1156
1160
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1170,7 +1174,7 @@ const Cn = P`
|
|
|
1170
1174
|
--lumo-line-height-s: 1.375;
|
|
1171
1175
|
--lumo-line-height-m: 1.625;
|
|
1172
1176
|
}
|
|
1173
|
-
`,
|
|
1177
|
+
`, kn = P`
|
|
1174
1178
|
body,
|
|
1175
1179
|
:host {
|
|
1176
1180
|
font-family: var(--lumo-font-family);
|
|
@@ -1263,14 +1267,14 @@ const Cn = P`
|
|
|
1263
1267
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1264
1268
|
}
|
|
1265
1269
|
`;
|
|
1266
|
-
L("",
|
|
1267
|
-
it("typography-props",
|
|
1270
|
+
L("", kn, { moduleId: "lumo-typography" });
|
|
1271
|
+
it("typography-props", Pn);
|
|
1268
1272
|
/**
|
|
1269
1273
|
* @license
|
|
1270
1274
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1271
1275
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1272
1276
|
*/
|
|
1273
|
-
const
|
|
1277
|
+
const ds = P`
|
|
1274
1278
|
:host {
|
|
1275
1279
|
top: var(--lumo-space-m);
|
|
1276
1280
|
right: var(--lumo-space-m);
|
|
@@ -1336,13 +1340,13 @@ const us = P`
|
|
|
1336
1340
|
}
|
|
1337
1341
|
}
|
|
1338
1342
|
`;
|
|
1339
|
-
L("",
|
|
1343
|
+
L("", ds, { moduleId: "lumo-overlay" });
|
|
1340
1344
|
/**
|
|
1341
1345
|
* @license
|
|
1342
1346
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1343
1347
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1344
1348
|
*/
|
|
1345
|
-
const
|
|
1349
|
+
const hs = P`
|
|
1346
1350
|
:host([opening]),
|
|
1347
1351
|
:host([closing]) {
|
|
1348
1352
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1373,8 +1377,8 @@ const ds = P`
|
|
|
1373
1377
|
}
|
|
1374
1378
|
}
|
|
1375
1379
|
`;
|
|
1376
|
-
L("",
|
|
1377
|
-
const
|
|
1380
|
+
L("", hs, { moduleId: "lumo-menu-overlay-core" });
|
|
1381
|
+
const Dn = P`
|
|
1378
1382
|
/* Small viewport (bottom sheet) styles */
|
|
1379
1383
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1380
1384
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1436,9 +1440,9 @@ const kn = P`
|
|
|
1436
1440
|
transform: translateY(150%);
|
|
1437
1441
|
}
|
|
1438
1442
|
}
|
|
1439
|
-
`,
|
|
1440
|
-
L("",
|
|
1441
|
-
const
|
|
1443
|
+
`, ps = [ds, hs, Dn];
|
|
1444
|
+
L("", ps, { moduleId: "lumo-menu-overlay" });
|
|
1445
|
+
const Tn = P`
|
|
1442
1446
|
[part='overlay'] {
|
|
1443
1447
|
/*
|
|
1444
1448
|
Width:
|
|
@@ -1484,10 +1488,10 @@ const Dn = P`
|
|
|
1484
1488
|
}
|
|
1485
1489
|
}
|
|
1486
1490
|
`;
|
|
1487
|
-
L("vaadin-date-picker-overlay", [
|
|
1491
|
+
L("vaadin-date-picker-overlay", [ps, Tn], {
|
|
1488
1492
|
moduleId: "lumo-date-picker-overlay"
|
|
1489
1493
|
});
|
|
1490
|
-
const
|
|
1494
|
+
const Mn = P`
|
|
1491
1495
|
:host {
|
|
1492
1496
|
/* Sizing */
|
|
1493
1497
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1764,7 +1768,7 @@ const Tn = P`
|
|
|
1764
1768
|
margin-right: 0;
|
|
1765
1769
|
}
|
|
1766
1770
|
`;
|
|
1767
|
-
L("vaadin-button",
|
|
1771
|
+
L("vaadin-button", Mn, { moduleId: "lumo-button" });
|
|
1768
1772
|
L(
|
|
1769
1773
|
"vaadin-date-picker-year",
|
|
1770
1774
|
P`
|
|
@@ -2289,7 +2293,7 @@ L(
|
|
|
2289
2293
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2290
2294
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2291
2295
|
*/
|
|
2292
|
-
const
|
|
2296
|
+
const On = P`
|
|
2293
2297
|
@font-face {
|
|
2294
2298
|
font-family: 'lumo-icons';
|
|
2295
2299
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -2343,13 +2347,13 @@ const Mn = P`
|
|
|
2343
2347
|
--lumo-icons-user: '\\ea2a';
|
|
2344
2348
|
}
|
|
2345
2349
|
`;
|
|
2346
|
-
it("font-icons",
|
|
2350
|
+
it("font-icons", On);
|
|
2347
2351
|
/**
|
|
2348
2352
|
* @license
|
|
2349
2353
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2350
2354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2351
2355
|
*/
|
|
2352
|
-
const
|
|
2356
|
+
const fs = P`
|
|
2353
2357
|
[part$='button'] {
|
|
2354
2358
|
flex: none;
|
|
2355
2359
|
width: 1em;
|
|
@@ -2377,13 +2381,13 @@ const ps = P`
|
|
|
2377
2381
|
display: block;
|
|
2378
2382
|
}
|
|
2379
2383
|
`;
|
|
2380
|
-
L("",
|
|
2384
|
+
L("", fs, { moduleId: "lumo-field-button" });
|
|
2381
2385
|
/**
|
|
2382
2386
|
* @license
|
|
2383
2387
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2384
2388
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2385
2389
|
*/
|
|
2386
|
-
const
|
|
2390
|
+
const In = P`
|
|
2387
2391
|
:host {
|
|
2388
2392
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2389
2393
|
}
|
|
@@ -2445,7 +2449,7 @@ const On = P`
|
|
|
2445
2449
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2446
2450
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2447
2451
|
*/
|
|
2448
|
-
const
|
|
2452
|
+
const ms = P`
|
|
2449
2453
|
[part='label'] {
|
|
2450
2454
|
align-self: flex-start;
|
|
2451
2455
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2558,13 +2562,13 @@ const fs = P`
|
|
|
2558
2562
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2559
2563
|
}
|
|
2560
2564
|
`;
|
|
2561
|
-
L("",
|
|
2565
|
+
L("", ms, { moduleId: "lumo-required-field" });
|
|
2562
2566
|
/**
|
|
2563
2567
|
* @license
|
|
2564
2568
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2565
2569
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2566
2570
|
*/
|
|
2567
|
-
const
|
|
2571
|
+
const Fn = P`
|
|
2568
2572
|
:host {
|
|
2569
2573
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2570
2574
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2695,11 +2699,11 @@ const In = P`
|
|
|
2695
2699
|
[part='clear-button']::before {
|
|
2696
2700
|
content: var(--lumo-icons-cross);
|
|
2697
2701
|
}
|
|
2698
|
-
`,
|
|
2699
|
-
L("",
|
|
2702
|
+
`, _s = [ms, fs, In, Fn];
|
|
2703
|
+
L("", _s, {
|
|
2700
2704
|
moduleId: "lumo-input-field-shared-styles"
|
|
2701
2705
|
});
|
|
2702
|
-
const
|
|
2706
|
+
const Nn = P`
|
|
2703
2707
|
[part='toggle-button']::before {
|
|
2704
2708
|
content: var(--lumo-icons-calendar);
|
|
2705
2709
|
}
|
|
@@ -2722,7 +2726,7 @@ const Fn = P`
|
|
|
2722
2726
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2723
2727
|
}
|
|
2724
2728
|
`;
|
|
2725
|
-
L("vaadin-date-picker", [
|
|
2729
|
+
L("vaadin-date-picker", [_s, Nn], { moduleId: "lumo-date-picker" });
|
|
2726
2730
|
/**
|
|
2727
2731
|
@license
|
|
2728
2732
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2744,9 +2748,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2744
2748
|
Code distributed by Google as part of the polymer project is also
|
|
2745
2749
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2746
2750
|
*/
|
|
2747
|
-
let
|
|
2751
|
+
let zn = /(url\()([^)]*)(\))/g, Ln = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, St, ue;
|
|
2748
2752
|
function ht(o, t) {
|
|
2749
|
-
if (o &&
|
|
2753
|
+
if (o && Ln.test(o) || o === "//")
|
|
2750
2754
|
return o;
|
|
2751
2755
|
if (St === void 0) {
|
|
2752
2756
|
St = !1;
|
|
@@ -2764,12 +2768,12 @@ function ht(o, t) {
|
|
|
2764
2768
|
}
|
|
2765
2769
|
return ue || (ue = document.implementation.createHTMLDocument("temp"), ue.base = ue.createElement("base"), ue.head.appendChild(ue.base), ue.anchor = ue.createElement("a"), ue.body.appendChild(ue.anchor)), ue.base.href = t, ue.anchor.href = o, ue.anchor.href || o;
|
|
2766
2770
|
}
|
|
2767
|
-
function
|
|
2768
|
-
return o.replace(
|
|
2771
|
+
function Hi(o, t) {
|
|
2772
|
+
return o.replace(zn, function(e, i, s, r) {
|
|
2769
2773
|
return i + "'" + ht(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2770
2774
|
});
|
|
2771
2775
|
}
|
|
2772
|
-
function
|
|
2776
|
+
function $i(o) {
|
|
2773
2777
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2774
2778
|
}
|
|
2775
2779
|
/**
|
|
@@ -2781,9 +2785,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2781
2785
|
Code distributed by Google as part of the polymer project is also
|
|
2782
2786
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2783
2787
|
*/
|
|
2784
|
-
const
|
|
2788
|
+
const gs = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2785
2789
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2786
|
-
const
|
|
2790
|
+
const Rn = gs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2787
2791
|
(() => {
|
|
2788
2792
|
try {
|
|
2789
2793
|
const o = new CSSStyleSheet();
|
|
@@ -2794,11 +2798,11 @@ const Ln = _s && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2794
2798
|
return !1;
|
|
2795
2799
|
}
|
|
2796
2800
|
})();
|
|
2797
|
-
let
|
|
2801
|
+
let Bn = window.Polymer && window.Polymer.rootPath || $i(document.baseURI || window.location.href), Ft = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2798
2802
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2799
|
-
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2803
|
+
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Hn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, bs = window.Polymer && window.Polymer.legacyOptimizations || !1, vs = window.Polymer && window.Polymer.legacyWarnings || !1, $n = window.Polymer && window.Polymer.syncInitialRender || !1, pi = window.Polymer && window.Polymer.legacyUndefined || !1, Yn = window.Polymer && window.Polymer.orderedComputed || !1, bo = window.Polymer && window.Polymer.removeNestedTemplates || !1, jn = window.Polymer && window.Polymer.fastDomIf || !1, vo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2800
2804
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2801
|
-
let
|
|
2805
|
+
let Vn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2802
2806
|
/**
|
|
2803
2807
|
@license
|
|
2804
2808
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2808,14 +2812,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2808
2812
|
Code distributed by Google as part of the polymer project is also
|
|
2809
2813
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2810
2814
|
*/
|
|
2811
|
-
let
|
|
2815
|
+
let Un = 0;
|
|
2812
2816
|
const V = function(o) {
|
|
2813
2817
|
let t = (
|
|
2814
2818
|
/** @type {!MixinFunction} */
|
|
2815
2819
|
o.__mixinApplications
|
|
2816
2820
|
);
|
|
2817
2821
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2818
|
-
let e =
|
|
2822
|
+
let e = Un++;
|
|
2819
2823
|
function i(s) {
|
|
2820
2824
|
let r = (
|
|
2821
2825
|
/** @type {!MixinFunction} */
|
|
@@ -2846,14 +2850,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2846
2850
|
Code distributed by Google as part of the polymer project is also
|
|
2847
2851
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2848
2852
|
*/
|
|
2849
|
-
let
|
|
2850
|
-
function
|
|
2851
|
-
|
|
2853
|
+
let Yi = {}, ys = {};
|
|
2854
|
+
function yo(o, t) {
|
|
2855
|
+
Yi[o] = ys[o.toLowerCase()] = t;
|
|
2852
2856
|
}
|
|
2853
|
-
function
|
|
2854
|
-
return
|
|
2857
|
+
function xo(o) {
|
|
2858
|
+
return Yi[o] || ys[o.toLowerCase()];
|
|
2855
2859
|
}
|
|
2856
|
-
function
|
|
2860
|
+
function Wn(o) {
|
|
2857
2861
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2858
2862
|
}
|
|
2859
2863
|
class _t extends HTMLElement {
|
|
@@ -2874,7 +2878,7 @@ class _t extends HTMLElement {
|
|
|
2874
2878
|
*/
|
|
2875
2879
|
static import(t, e) {
|
|
2876
2880
|
if (t) {
|
|
2877
|
-
let i =
|
|
2881
|
+
let i = xo(t);
|
|
2878
2882
|
return i && e ? i.querySelector(e) : i;
|
|
2879
2883
|
}
|
|
2880
2884
|
return null;
|
|
@@ -2909,7 +2913,7 @@ class _t extends HTMLElement {
|
|
|
2909
2913
|
this.getAttribute("assetpath") || "",
|
|
2910
2914
|
t.baseURI
|
|
2911
2915
|
);
|
|
2912
|
-
this.__assetpath =
|
|
2916
|
+
this.__assetpath = $i(e);
|
|
2913
2917
|
}
|
|
2914
2918
|
return this.__assetpath;
|
|
2915
2919
|
}
|
|
@@ -2922,13 +2926,13 @@ class _t extends HTMLElement {
|
|
|
2922
2926
|
*/
|
|
2923
2927
|
register(t) {
|
|
2924
2928
|
if (t = t || this.id, t) {
|
|
2925
|
-
if (Nt &&
|
|
2926
|
-
throw
|
|
2927
|
-
this.id = t,
|
|
2929
|
+
if (Nt && xo(t) !== void 0)
|
|
2930
|
+
throw yo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2931
|
+
this.id = t, yo(t, this), Wn(this);
|
|
2928
2932
|
}
|
|
2929
2933
|
}
|
|
2930
2934
|
}
|
|
2931
|
-
_t.prototype.modules =
|
|
2935
|
+
_t.prototype.modules = Yi;
|
|
2932
2936
|
customElements.define("dom-module", _t);
|
|
2933
2937
|
/**
|
|
2934
2938
|
@license
|
|
@@ -2939,39 +2943,39 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2939
2943
|
Code distributed by Google as part of the polymer project is also
|
|
2940
2944
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2941
2945
|
*/
|
|
2942
|
-
const
|
|
2943
|
-
function
|
|
2946
|
+
const qn = "link[rel=import][type~=css]", Kn = "include", wo = "shady-unscoped";
|
|
2947
|
+
function xs(o) {
|
|
2944
2948
|
return (
|
|
2945
2949
|
/** @type {?DomModule} */
|
|
2946
2950
|
_t.import(o)
|
|
2947
2951
|
);
|
|
2948
2952
|
}
|
|
2949
|
-
function
|
|
2953
|
+
function Eo(o) {
|
|
2950
2954
|
let t = o.body ? o.body : o;
|
|
2951
|
-
const e =
|
|
2955
|
+
const e = Hi(
|
|
2952
2956
|
t.textContent,
|
|
2953
2957
|
o.baseURI
|
|
2954
2958
|
), i = document.createElement("style");
|
|
2955
2959
|
return i.textContent = e, i;
|
|
2956
2960
|
}
|
|
2957
|
-
function
|
|
2961
|
+
function Gn(o) {
|
|
2958
2962
|
const t = o.trim().split(/\s+/), e = [];
|
|
2959
2963
|
for (let i = 0; i < t.length; i++)
|
|
2960
|
-
e.push(...
|
|
2964
|
+
e.push(...Jn(t[i]));
|
|
2961
2965
|
return e;
|
|
2962
2966
|
}
|
|
2963
|
-
function
|
|
2964
|
-
const t =
|
|
2967
|
+
function Jn(o) {
|
|
2968
|
+
const t = xs(o);
|
|
2965
2969
|
if (!t)
|
|
2966
2970
|
return console.warn("Could not find style data in module named", o), [];
|
|
2967
2971
|
if (t._styles === void 0) {
|
|
2968
2972
|
const e = [];
|
|
2969
|
-
e.push(...
|
|
2973
|
+
e.push(...Es(t));
|
|
2970
2974
|
const i = (
|
|
2971
2975
|
/** @type {?HTMLTemplateElement} */
|
|
2972
2976
|
t.querySelector("template")
|
|
2973
2977
|
);
|
|
2974
|
-
i && e.push(...
|
|
2978
|
+
i && e.push(...ws(
|
|
2975
2979
|
i,
|
|
2976
2980
|
/** @type {templateWithAssetPath} */
|
|
2977
2981
|
t.assetpath
|
|
@@ -2979,14 +2983,14 @@ function Gn(o) {
|
|
|
2979
2983
|
}
|
|
2980
2984
|
return t._styles;
|
|
2981
2985
|
}
|
|
2982
|
-
function
|
|
2986
|
+
function ws(o, t) {
|
|
2983
2987
|
if (!o._styles) {
|
|
2984
2988
|
const e = [], i = o.content.querySelectorAll("style");
|
|
2985
2989
|
for (let s = 0; s < i.length; s++) {
|
|
2986
|
-
let r = i[s], n = r.getAttribute(
|
|
2987
|
-
n && e.push(...
|
|
2990
|
+
let r = i[s], n = r.getAttribute(Kn);
|
|
2991
|
+
n && e.push(...Gn(n).filter(function(a, l, c) {
|
|
2988
2992
|
return c.indexOf(a) === l;
|
|
2989
|
-
})), t && (r.textContent =
|
|
2993
|
+
})), t && (r.textContent = Hi(
|
|
2990
2994
|
r.textContent,
|
|
2991
2995
|
/** @type {string} */
|
|
2992
2996
|
t
|
|
@@ -2996,21 +3000,21 @@ function xs(o, t) {
|
|
|
2996
3000
|
}
|
|
2997
3001
|
return o._styles;
|
|
2998
3002
|
}
|
|
2999
|
-
function
|
|
3000
|
-
let t =
|
|
3001
|
-
return t ?
|
|
3003
|
+
function Xn(o) {
|
|
3004
|
+
let t = xs(o);
|
|
3005
|
+
return t ? Es(t) : [];
|
|
3002
3006
|
}
|
|
3003
|
-
function
|
|
3004
|
-
const t = [], e = o.querySelectorAll(
|
|
3007
|
+
function Es(o) {
|
|
3008
|
+
const t = [], e = o.querySelectorAll(qn);
|
|
3005
3009
|
for (let i = 0; i < e.length; i++) {
|
|
3006
3010
|
let s = e[i];
|
|
3007
3011
|
if (s.import) {
|
|
3008
|
-
const r = s.import, n = s.hasAttribute(
|
|
3012
|
+
const r = s.import, n = s.hasAttribute(wo);
|
|
3009
3013
|
if (n && !r._unscopedStyle) {
|
|
3010
|
-
const a =
|
|
3011
|
-
a.setAttribute(
|
|
3014
|
+
const a = Eo(r);
|
|
3015
|
+
a.setAttribute(wo, ""), r._unscopedStyle = a;
|
|
3012
3016
|
} else
|
|
3013
|
-
r._style || (r._style =
|
|
3017
|
+
r._style || (r._style = Eo(r));
|
|
3014
3018
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3015
3019
|
}
|
|
3016
3020
|
}
|
|
@@ -3042,7 +3046,7 @@ function je(o) {
|
|
|
3042
3046
|
let t = o.indexOf(".");
|
|
3043
3047
|
return t === -1 ? o : o.slice(0, t);
|
|
3044
3048
|
}
|
|
3045
|
-
function
|
|
3049
|
+
function Ss(o, t) {
|
|
3046
3050
|
return o.indexOf(t + ".") === 0;
|
|
3047
3051
|
}
|
|
3048
3052
|
function gt(o, t) {
|
|
@@ -3051,8 +3055,8 @@ function gt(o, t) {
|
|
|
3051
3055
|
function bt(o, t, e) {
|
|
3052
3056
|
return t + e.slice(o.length);
|
|
3053
3057
|
}
|
|
3054
|
-
function
|
|
3055
|
-
return o === t ||
|
|
3058
|
+
function Zn(o, t) {
|
|
3059
|
+
return o === t || Ss(o, t) || gt(o, t);
|
|
3056
3060
|
}
|
|
3057
3061
|
function ct(o) {
|
|
3058
3062
|
if (Array.isArray(o)) {
|
|
@@ -3066,11 +3070,11 @@ function ct(o) {
|
|
|
3066
3070
|
} else
|
|
3067
3071
|
return o;
|
|
3068
3072
|
}
|
|
3069
|
-
function
|
|
3073
|
+
function As(o) {
|
|
3070
3074
|
return Array.isArray(o) ? ct(o).split(".") : o.toString().split(".");
|
|
3071
3075
|
}
|
|
3072
3076
|
function se(o, t, e) {
|
|
3073
|
-
let i = o, s =
|
|
3077
|
+
let i = o, s = As(t);
|
|
3074
3078
|
for (let r = 0; r < s.length; r++) {
|
|
3075
3079
|
if (!i)
|
|
3076
3080
|
return;
|
|
@@ -3079,8 +3083,8 @@ function se(o, t, e) {
|
|
|
3079
3083
|
}
|
|
3080
3084
|
return e && (e.path = s.join(".")), i;
|
|
3081
3085
|
}
|
|
3082
|
-
function
|
|
3083
|
-
let i = o, s =
|
|
3086
|
+
function So(o, t, e) {
|
|
3087
|
+
let i = o, s = As(t), r = s[s.length - 1];
|
|
3084
3088
|
if (s.length > 1) {
|
|
3085
3089
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3086
3090
|
let a = s[n];
|
|
@@ -3101,15 +3105,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3101
3105
|
Code distributed by Google as part of the polymer project is also
|
|
3102
3106
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3103
3107
|
*/
|
|
3104
|
-
const zt = {},
|
|
3105
|
-
function
|
|
3108
|
+
const zt = {}, Qn = /-[a-z]/g, ea = /([A-Z])/g;
|
|
3109
|
+
function Cs(o) {
|
|
3106
3110
|
return zt[o] || (zt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3107
|
-
|
|
3111
|
+
Qn,
|
|
3108
3112
|
(t) => t[1].toUpperCase()
|
|
3109
3113
|
));
|
|
3110
3114
|
}
|
|
3111
3115
|
function Yt(o) {
|
|
3112
|
-
return zt[o] || (zt[o] = o.replace(
|
|
3116
|
+
return zt[o] || (zt[o] = o.replace(ea, "-$1").toLowerCase());
|
|
3113
3117
|
}
|
|
3114
3118
|
/**
|
|
3115
3119
|
@license
|
|
@@ -3120,9 +3124,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3120
3124
|
Code distributed by Google as part of the polymer project is also
|
|
3121
3125
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3122
3126
|
*/
|
|
3123
|
-
let
|
|
3124
|
-
new window.MutationObserver(
|
|
3125
|
-
function
|
|
3127
|
+
let ta = 0, Ps = 0, Ge = [], ia = 0, mi = !1, ks = document.createTextNode("");
|
|
3128
|
+
new window.MutationObserver(oa).observe(ks, { characterData: !0 });
|
|
3129
|
+
function oa() {
|
|
3126
3130
|
mi = !1;
|
|
3127
3131
|
const o = Ge.length;
|
|
3128
3132
|
for (let t = 0; t < o; t++) {
|
|
@@ -3136,9 +3140,9 @@ function ia() {
|
|
|
3136
3140
|
});
|
|
3137
3141
|
}
|
|
3138
3142
|
}
|
|
3139
|
-
Ge.splice(0, o),
|
|
3143
|
+
Ge.splice(0, o), Ps += o;
|
|
3140
3144
|
}
|
|
3141
|
-
const
|
|
3145
|
+
const sa = {
|
|
3142
3146
|
/**
|
|
3143
3147
|
* Returns a sub-module with the async interface providing the provided
|
|
3144
3148
|
* delay.
|
|
@@ -3178,7 +3182,7 @@ const oa = {
|
|
|
3178
3182
|
cancel(o) {
|
|
3179
3183
|
window.clearTimeout(o);
|
|
3180
3184
|
}
|
|
3181
|
-
},
|
|
3185
|
+
}, Ds = {
|
|
3182
3186
|
/**
|
|
3183
3187
|
* Enqueues a function called at microtask timing.
|
|
3184
3188
|
*
|
|
@@ -3187,7 +3191,7 @@ const oa = {
|
|
|
3187
3191
|
* @return {number} Handle used for canceling task
|
|
3188
3192
|
*/
|
|
3189
3193
|
run(o) {
|
|
3190
|
-
return mi || (mi = !0,
|
|
3194
|
+
return mi || (mi = !0, ks.textContent = ia++), Ge.push(o), ta++;
|
|
3191
3195
|
},
|
|
3192
3196
|
/**
|
|
3193
3197
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3197,7 +3201,7 @@ const oa = {
|
|
|
3197
3201
|
* @return {void}
|
|
3198
3202
|
*/
|
|
3199
3203
|
cancel(o) {
|
|
3200
|
-
const t = o -
|
|
3204
|
+
const t = o - Ps;
|
|
3201
3205
|
if (t >= 0) {
|
|
3202
3206
|
if (!Ge[t])
|
|
3203
3207
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3214,7 +3218,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3214
3218
|
Code distributed by Google as part of the polymer project is also
|
|
3215
3219
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3216
3220
|
*/
|
|
3217
|
-
const
|
|
3221
|
+
const ra = Ds, Ts = V(
|
|
3218
3222
|
/**
|
|
3219
3223
|
* @template T
|
|
3220
3224
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3423,7 +3427,7 @@ const sa = ks, Ds = V(
|
|
|
3423
3427
|
* @override
|
|
3424
3428
|
*/
|
|
3425
3429
|
_invalidateProperties() {
|
|
3426
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3430
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, ra.run(() => {
|
|
3427
3431
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3428
3432
|
}));
|
|
3429
3433
|
}
|
|
@@ -3650,23 +3654,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3650
3654
|
Code distributed by Google as part of the polymer project is also
|
|
3651
3655
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3652
3656
|
*/
|
|
3653
|
-
const
|
|
3657
|
+
const Ms = {};
|
|
3654
3658
|
let At = HTMLElement.prototype;
|
|
3655
3659
|
for (; At; ) {
|
|
3656
3660
|
let o = Object.getOwnPropertyNames(At);
|
|
3657
3661
|
for (let t = 0; t < o.length; t++)
|
|
3658
|
-
|
|
3662
|
+
Ms[o[t]] = !0;
|
|
3659
3663
|
At = Object.getPrototypeOf(At);
|
|
3660
3664
|
}
|
|
3661
|
-
const
|
|
3662
|
-
function
|
|
3663
|
-
if (!
|
|
3665
|
+
const na = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3666
|
+
function aa(o, t) {
|
|
3667
|
+
if (!Ms[t]) {
|
|
3664
3668
|
let e = o[t];
|
|
3665
3669
|
e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
|
|
3666
3670
|
}
|
|
3667
3671
|
}
|
|
3668
|
-
const
|
|
3669
|
-
const t =
|
|
3672
|
+
const la = V((o) => {
|
|
3673
|
+
const t = Ts(o);
|
|
3670
3674
|
class e extends t {
|
|
3671
3675
|
/**
|
|
3672
3676
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3684,7 +3688,7 @@ const aa = V((o) => {
|
|
|
3684
3688
|
this.observedAttributes
|
|
3685
3689
|
);
|
|
3686
3690
|
for (let r = 0; r < s.length; r++)
|
|
3687
|
-
this.prototype._createPropertyAccessor(
|
|
3691
|
+
this.prototype._createPropertyAccessor(Cs(s[r]));
|
|
3688
3692
|
}
|
|
3689
3693
|
/**
|
|
3690
3694
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3761,7 +3765,7 @@ const aa = V((o) => {
|
|
|
3761
3765
|
if (s instanceof Date)
|
|
3762
3766
|
return s.toString();
|
|
3763
3767
|
if (s) {
|
|
3764
|
-
if (
|
|
3768
|
+
if (na(s))
|
|
3765
3769
|
return (
|
|
3766
3770
|
/** @type {?} */
|
|
3767
3771
|
s
|
|
@@ -3842,7 +3846,7 @@ const aa = V((o) => {
|
|
|
3842
3846
|
* @override
|
|
3843
3847
|
*/
|
|
3844
3848
|
_definePropertyAccessor(s, r) {
|
|
3845
|
-
|
|
3849
|
+
aa(this, s), super._definePropertyAccessor(s, r);
|
|
3846
3850
|
}
|
|
3847
3851
|
/**
|
|
3848
3852
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3877,23 +3881,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3877
3881
|
Code distributed by Google as part of the polymer project is also
|
|
3878
3882
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3879
3883
|
*/
|
|
3880
|
-
const
|
|
3884
|
+
const ca = {
|
|
3881
3885
|
"dom-if": !0,
|
|
3882
3886
|
"dom-repeat": !0
|
|
3883
3887
|
};
|
|
3884
|
-
let
|
|
3885
|
-
function
|
|
3886
|
-
if (!
|
|
3887
|
-
|
|
3888
|
+
let Ao = !1, Co = !1;
|
|
3889
|
+
function ua() {
|
|
3890
|
+
if (!Ao) {
|
|
3891
|
+
Ao = !0;
|
|
3888
3892
|
const o = document.createElement("textarea");
|
|
3889
|
-
o.placeholder = "a",
|
|
3893
|
+
o.placeholder = "a", Co = o.placeholder === o.textContent;
|
|
3890
3894
|
}
|
|
3891
|
-
return
|
|
3895
|
+
return Co;
|
|
3892
3896
|
}
|
|
3893
|
-
function
|
|
3894
|
-
|
|
3897
|
+
function da(o) {
|
|
3898
|
+
ua() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3895
3899
|
}
|
|
3896
|
-
const
|
|
3900
|
+
const ha = (() => {
|
|
3897
3901
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3898
3902
|
"polymer-template-event-attribute-policy",
|
|
3899
3903
|
{
|
|
@@ -3912,19 +3916,19 @@ const da = (() => {
|
|
|
3912
3916
|
t.setAttribute(i, s);
|
|
3913
3917
|
};
|
|
3914
3918
|
})();
|
|
3915
|
-
function
|
|
3919
|
+
function pa(o) {
|
|
3916
3920
|
let t = o.getAttribute("is");
|
|
3917
|
-
if (t &&
|
|
3921
|
+
if (t && ca[t]) {
|
|
3918
3922
|
let e = o;
|
|
3919
3923
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3920
3924
|
const { name: i } = e.attributes[0];
|
|
3921
|
-
|
|
3925
|
+
ha(o, e, i), e.removeAttribute(i);
|
|
3922
3926
|
}
|
|
3923
3927
|
}
|
|
3924
3928
|
return o;
|
|
3925
3929
|
}
|
|
3926
|
-
function
|
|
3927
|
-
let e = t.parentInfo &&
|
|
3930
|
+
function Os(o, t) {
|
|
3931
|
+
let e = t.parentInfo && Os(o, t.parentInfo);
|
|
3928
3932
|
if (e) {
|
|
3929
3933
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
3930
3934
|
if (t.parentIndex === s++)
|
|
@@ -3932,23 +3936,23 @@ function Ms(o, t) {
|
|
|
3932
3936
|
} else
|
|
3933
3937
|
return o;
|
|
3934
3938
|
}
|
|
3935
|
-
function
|
|
3939
|
+
function fa(o, t, e, i) {
|
|
3936
3940
|
i.id && (t[i.id] = e);
|
|
3937
3941
|
}
|
|
3938
|
-
function
|
|
3942
|
+
function ma(o, t, e) {
|
|
3939
3943
|
if (e.events && e.events.length)
|
|
3940
3944
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
3941
3945
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
3942
3946
|
}
|
|
3943
|
-
function
|
|
3947
|
+
function _a(o, t, e, i) {
|
|
3944
3948
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
3945
3949
|
}
|
|
3946
|
-
function
|
|
3950
|
+
function ga(o, t, e) {
|
|
3947
3951
|
return o = o._methodHost || o, function(s) {
|
|
3948
3952
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3949
3953
|
};
|
|
3950
3954
|
}
|
|
3951
|
-
const
|
|
3955
|
+
const ba = V(
|
|
3952
3956
|
/**
|
|
3953
3957
|
* @template T
|
|
3954
3958
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4075,7 +4079,7 @@ const ga = V(
|
|
|
4075
4079
|
/** @type {!HTMLTemplateElement} */
|
|
4076
4080
|
i
|
|
4077
4081
|
);
|
|
4078
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4082
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), da(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4079
4083
|
}
|
|
4080
4084
|
/**
|
|
4081
4085
|
* Parses template child nodes for the given root node.
|
|
@@ -4093,7 +4097,7 @@ const ga = V(
|
|
|
4093
4097
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4094
4098
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4095
4099
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4096
|
-
if (n.localName == "template" && (n =
|
|
4100
|
+
if (n.localName == "template" && (n = pa(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4097
4101
|
let u = l;
|
|
4098
4102
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4099
4103
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4228,8 +4232,8 @@ const ga = V(
|
|
|
4228
4232
|
let l = a.nodeList = new Array(r.length);
|
|
4229
4233
|
a.$ = {};
|
|
4230
4234
|
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4231
|
-
let h = l[c] =
|
|
4232
|
-
|
|
4235
|
+
let h = l[c] = Os(a, d);
|
|
4236
|
+
fa(this, a.$, h, d), _a(this, h, d, s), ma(this, h, d);
|
|
4233
4237
|
}
|
|
4234
4238
|
return a = /** @type {!StampedTemplate} */
|
|
4235
4239
|
a, a;
|
|
@@ -4250,7 +4254,7 @@ const ga = V(
|
|
|
4250
4254
|
*/
|
|
4251
4255
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4252
4256
|
n = n || i;
|
|
4253
|
-
let a =
|
|
4257
|
+
let a = ga(n, s, r);
|
|
4254
4258
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4255
4259
|
}
|
|
4256
4260
|
/**
|
|
@@ -4300,7 +4304,7 @@ const yt = [], D = {
|
|
|
4300
4304
|
PROPAGATE: "__propagateEffects",
|
|
4301
4305
|
OBSERVE: "__observeEffects",
|
|
4302
4306
|
READ_ONLY: "__readOnly"
|
|
4303
|
-
},
|
|
4307
|
+
}, Is = "__computeInfo", va = /[A-Z]/;
|
|
4304
4308
|
function Gt(o, t, e) {
|
|
4305
4309
|
let i = o[t];
|
|
4306
4310
|
if (!i)
|
|
@@ -4321,49 +4325,49 @@ function ut(o, t, e, i, s, r) {
|
|
|
4321
4325
|
let c = s ? je(l) : l, u = t[c];
|
|
4322
4326
|
if (u)
|
|
4323
4327
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4324
|
-
(!m.info || m.info.lastRun !== a) && (!s ||
|
|
4328
|
+
(!m.info || m.info.lastRun !== a) && (!s || ji(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
|
|
4325
4329
|
}
|
|
4326
4330
|
return n;
|
|
4327
4331
|
}
|
|
4328
4332
|
return !1;
|
|
4329
4333
|
}
|
|
4330
|
-
function
|
|
4334
|
+
function ya(o, t, e, i, s, r, n, a) {
|
|
4331
4335
|
let l = !1, c = n ? je(i) : i, u = t[c];
|
|
4332
4336
|
if (u)
|
|
4333
4337
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4334
|
-
(!m.info || m.info.lastRun !== e) && (!n ||
|
|
4338
|
+
(!m.info || m.info.lastRun !== e) && (!n || ji(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
|
|
4335
4339
|
return l;
|
|
4336
4340
|
}
|
|
4337
|
-
function
|
|
4341
|
+
function ji(o, t) {
|
|
4338
4342
|
if (t) {
|
|
4339
4343
|
let e = (
|
|
4340
4344
|
/** @type {string} */
|
|
4341
4345
|
t.name
|
|
4342
4346
|
);
|
|
4343
|
-
return e == o || !!(t.structured &&
|
|
4347
|
+
return e == o || !!(t.structured && Ss(e, o)) || !!(t.wildcard && gt(e, o));
|
|
4344
4348
|
} else
|
|
4345
4349
|
return !0;
|
|
4346
4350
|
}
|
|
4347
|
-
function
|
|
4351
|
+
function Po(o, t, e, i, s) {
|
|
4348
4352
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4349
4353
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4350
4354
|
}
|
|
4351
|
-
function
|
|
4355
|
+
function xa(o, t, e, i, s) {
|
|
4352
4356
|
let r = o[D.NOTIFY], n, a = vt++;
|
|
4353
4357
|
for (let c in t)
|
|
4354
|
-
t[c] && (r &&
|
|
4358
|
+
t[c] && (r && ya(o, r, a, c, e, i, s) || s && wa(o, c, e)) && (n = !0);
|
|
4355
4359
|
let l;
|
|
4356
4360
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4357
4361
|
}
|
|
4358
|
-
function
|
|
4362
|
+
function wa(o, t, e) {
|
|
4359
4363
|
let i = je(t);
|
|
4360
4364
|
if (i !== t) {
|
|
4361
4365
|
let s = Yt(i) + "-changed";
|
|
4362
|
-
return
|
|
4366
|
+
return Fs(o, s, e[t], t), !0;
|
|
4363
4367
|
}
|
|
4364
4368
|
return !1;
|
|
4365
4369
|
}
|
|
4366
|
-
function
|
|
4370
|
+
function Fs(o, t, e, i) {
|
|
4367
4371
|
let s = {
|
|
4368
4372
|
value: e,
|
|
4369
4373
|
queueProperty: !0
|
|
@@ -4373,18 +4377,18 @@ function Is(o, t, e, i) {
|
|
|
4373
4377
|
o
|
|
4374
4378
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4375
4379
|
}
|
|
4376
|
-
function
|
|
4380
|
+
function Ea(o, t, e, i, s, r) {
|
|
4377
4381
|
let a = (r ? je(t) : t) != t ? t : null, l = a ? se(o, a) : o.__data[t];
|
|
4378
|
-
a && l === void 0 && (l = e[t]),
|
|
4382
|
+
a && l === void 0 && (l = e[t]), Fs(o, s.eventName, l, a);
|
|
4379
4383
|
}
|
|
4380
|
-
function
|
|
4384
|
+
function Sa(o, t, e, i, s) {
|
|
4381
4385
|
let r, n = (
|
|
4382
4386
|
/** @type {Object} */
|
|
4383
4387
|
o.detail
|
|
4384
4388
|
), a = n && n.path;
|
|
4385
4389
|
a ? (i = bt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[D.READ_ONLY] || !t[D.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4386
4390
|
}
|
|
4387
|
-
function
|
|
4391
|
+
function Aa(o, t, e, i, s) {
|
|
4388
4392
|
let r = o.__data[t];
|
|
4389
4393
|
Ft && (r = Ft(
|
|
4390
4394
|
r,
|
|
@@ -4394,17 +4398,17 @@ function Sa(o, t, e, i, s) {
|
|
|
4394
4398
|
o
|
|
4395
4399
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4396
4400
|
}
|
|
4397
|
-
function
|
|
4401
|
+
function Ca(o, t, e, i) {
|
|
4398
4402
|
let s = o[D.COMPUTE];
|
|
4399
4403
|
if (s)
|
|
4400
|
-
if (
|
|
4404
|
+
if (Yn) {
|
|
4401
4405
|
vt++;
|
|
4402
|
-
const r =
|
|
4406
|
+
const r = ka(o), n = [];
|
|
4403
4407
|
for (let l in t)
|
|
4404
|
-
|
|
4408
|
+
ko(l, s, n, r, i);
|
|
4405
4409
|
let a;
|
|
4406
4410
|
for (; a = n.shift(); )
|
|
4407
|
-
|
|
4411
|
+
Ns(o, "", t, e, a) && ko(a.methodInfo, s, n, r, i);
|
|
4408
4412
|
Object.assign(
|
|
4409
4413
|
/** @type {!Object} */
|
|
4410
4414
|
e,
|
|
@@ -4428,7 +4432,7 @@ function Aa(o, t, e, i) {
|
|
|
4428
4432
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4429
4433
|
}
|
|
4430
4434
|
}
|
|
4431
|
-
const
|
|
4435
|
+
const Pa = (o, t, e) => {
|
|
4432
4436
|
let i = 0, s = t.length - 1, r = -1;
|
|
4433
4437
|
for (; i <= s; ) {
|
|
4434
4438
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4442,20 +4446,20 @@ const Ca = (o, t, e) => {
|
|
|
4442
4446
|
}
|
|
4443
4447
|
}
|
|
4444
4448
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4445
|
-
},
|
|
4449
|
+
}, ko = (o, t, e, i, s) => {
|
|
4446
4450
|
const r = s ? je(o) : o, n = t[r];
|
|
4447
4451
|
if (n)
|
|
4448
4452
|
for (let a = 0; a < n.length; a++) {
|
|
4449
4453
|
const l = n[a];
|
|
4450
|
-
l.info.lastRun !== vt && (!s ||
|
|
4454
|
+
l.info.lastRun !== vt && (!s || ji(o, l.trigger)) && (l.info.lastRun = vt, Pa(l.info, e, i));
|
|
4451
4455
|
}
|
|
4452
4456
|
};
|
|
4453
|
-
function
|
|
4457
|
+
function ka(o) {
|
|
4454
4458
|
let t = o.constructor.__orderedComputedDeps;
|
|
4455
4459
|
if (!t) {
|
|
4456
4460
|
t = /* @__PURE__ */ new Map();
|
|
4457
4461
|
const e = o[D.COMPUTE];
|
|
4458
|
-
let { counts: i, ready: s, total: r } =
|
|
4462
|
+
let { counts: i, ready: s, total: r } = Da(o), n;
|
|
4459
4463
|
for (; n = s.shift(); ) {
|
|
4460
4464
|
t.set(n, t.size);
|
|
4461
4465
|
const a = e[n];
|
|
@@ -4469,8 +4473,8 @@ function Pa(o) {
|
|
|
4469
4473
|
}
|
|
4470
4474
|
return t;
|
|
4471
4475
|
}
|
|
4472
|
-
function
|
|
4473
|
-
const t = o[
|
|
4476
|
+
function Da(o) {
|
|
4477
|
+
const t = o[Is], e = {}, i = o[D.COMPUTE], s = [];
|
|
4474
4478
|
let r = 0;
|
|
4475
4479
|
for (let n in t) {
|
|
4476
4480
|
const a = t[n];
|
|
@@ -4480,14 +4484,14 @@ function ka(o) {
|
|
|
4480
4484
|
t[n] || s.push(n);
|
|
4481
4485
|
return { counts: e, ready: s, total: r };
|
|
4482
4486
|
}
|
|
4483
|
-
function
|
|
4487
|
+
function Ns(o, t, e, i, s) {
|
|
4484
4488
|
let r = _i(o, t, e, i, s);
|
|
4485
4489
|
if (r === yt)
|
|
4486
4490
|
return !1;
|
|
4487
4491
|
let n = s.methodInfo;
|
|
4488
4492
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4489
4493
|
}
|
|
4490
|
-
function
|
|
4494
|
+
function Ta(o, t, e) {
|
|
4491
4495
|
let i = o.__dataLinkedPaths;
|
|
4492
4496
|
if (i) {
|
|
4493
4497
|
let s;
|
|
@@ -4500,17 +4504,17 @@ function Da(o, t, e) {
|
|
|
4500
4504
|
function Jt(o, t, e, i, s, r, n) {
|
|
4501
4505
|
e.bindings = e.bindings || [];
|
|
4502
4506
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4503
|
-
if (e.bindings.push(a),
|
|
4507
|
+
if (e.bindings.push(a), Na(a)) {
|
|
4504
4508
|
let { event: c, negate: u } = a.parts[0];
|
|
4505
4509
|
a.listenerEvent = c || Yt(s) + "-changed", a.listenerNegate = u;
|
|
4506
4510
|
}
|
|
4507
4511
|
let l = t.nodeInfoList.length;
|
|
4508
4512
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4509
4513
|
let u = a.parts[c];
|
|
4510
|
-
u.compoundIndex = c,
|
|
4514
|
+
u.compoundIndex = c, Ma(o, t, a, u, l);
|
|
4511
4515
|
}
|
|
4512
4516
|
}
|
|
4513
|
-
function
|
|
4517
|
+
function Ma(o, t, e, i, s) {
|
|
4514
4518
|
if (!i.literal)
|
|
4515
4519
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4516
4520
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4518,26 +4522,26 @@ function Ta(o, t, e, i, s) {
|
|
|
4518
4522
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4519
4523
|
for (let a = 0; a < r.length; a++) {
|
|
4520
4524
|
let l = r[a];
|
|
4521
|
-
typeof l == "string" && (l =
|
|
4522
|
-
fn:
|
|
4525
|
+
typeof l == "string" && (l = Ls(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4526
|
+
fn: Oa,
|
|
4523
4527
|
info: n,
|
|
4524
4528
|
trigger: l
|
|
4525
4529
|
});
|
|
4526
4530
|
}
|
|
4527
4531
|
}
|
|
4528
4532
|
}
|
|
4529
|
-
function
|
|
4533
|
+
function Oa(o, t, e, i, s, r, n) {
|
|
4530
4534
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4531
4535
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4532
4536
|
let u = e[t];
|
|
4533
4537
|
t = bt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4534
4538
|
} else {
|
|
4535
4539
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4536
|
-
u !== yt &&
|
|
4540
|
+
u !== yt && Ia(o, a, l, c, u);
|
|
4537
4541
|
}
|
|
4538
4542
|
}
|
|
4539
|
-
function
|
|
4540
|
-
if (s =
|
|
4543
|
+
function Ia(o, t, e, i, s) {
|
|
4544
|
+
if (s = Fa(t, s, e, i), Ft && (s = Ft(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4541
4545
|
o._valueToNodeAttribute(
|
|
4542
4546
|
/** @type {Element} */
|
|
4543
4547
|
t,
|
|
@@ -4549,17 +4553,17 @@ function Oa(o, t, e, i, s) {
|
|
|
4549
4553
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[D.READ_ONLY] || !t[D.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4550
4554
|
}
|
|
4551
4555
|
}
|
|
4552
|
-
function
|
|
4556
|
+
function Fa(o, t, e, i) {
|
|
4553
4557
|
if (e.isCompound) {
|
|
4554
4558
|
let s = o.__dataCompoundStorage[e.target];
|
|
4555
4559
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4556
4560
|
}
|
|
4557
4561
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4558
4562
|
}
|
|
4559
|
-
function
|
|
4563
|
+
function Na(o) {
|
|
4560
4564
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4561
4565
|
}
|
|
4562
|
-
function
|
|
4566
|
+
function za(o, t) {
|
|
4563
4567
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4564
4568
|
if (i.length)
|
|
4565
4569
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4567,12 +4571,12 @@ function Na(o, t) {
|
|
|
4567
4571
|
if (a)
|
|
4568
4572
|
for (let l = 0; l < a.length; l++) {
|
|
4569
4573
|
let c = a[l];
|
|
4570
|
-
|
|
4574
|
+
La(n, c), Ra(n, o, c);
|
|
4571
4575
|
}
|
|
4572
4576
|
n.__dataHost = o;
|
|
4573
4577
|
}
|
|
4574
4578
|
}
|
|
4575
|
-
function
|
|
4579
|
+
function La(o, t) {
|
|
4576
4580
|
if (t.isCompound) {
|
|
4577
4581
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4578
4582
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4581,15 +4585,15 @@ function za(o, t) {
|
|
|
4581
4585
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = K(o)), o[r] = t.literal);
|
|
4582
4586
|
}
|
|
4583
4587
|
}
|
|
4584
|
-
function
|
|
4588
|
+
function Ra(o, t, e) {
|
|
4585
4589
|
if (e.listenerEvent) {
|
|
4586
4590
|
let i = e.parts[0];
|
|
4587
4591
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4588
|
-
|
|
4592
|
+
Sa(s, t, e.target, i.source, i.negate);
|
|
4589
4593
|
});
|
|
4590
4594
|
}
|
|
4591
4595
|
}
|
|
4592
|
-
function
|
|
4596
|
+
function Do(o, t, e, i, s, r) {
|
|
4593
4597
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4594
4598
|
let n = {
|
|
4595
4599
|
methodName: t.methodName,
|
|
@@ -4616,8 +4620,8 @@ function _i(o, t, e, i, s) {
|
|
|
4616
4620
|
} else
|
|
4617
4621
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4618
4622
|
}
|
|
4619
|
-
const
|
|
4620
|
-
function
|
|
4623
|
+
const Ba = [], zs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ha = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", $a = "(?:'(?:[^'\\\\]|\\\\.)*')", Ya = '(?:"(?:[^"\\\\]|\\\\.)*")', ja = "(?:" + $a + "|" + Ya + ")", To = "(?:(" + zs + "|" + Ha + "|" + ja + ")\\s*)", Va = "(?:" + To + "(?:,\\s*" + To + ")*)", Ua = "(?:\\(\\s*(?:" + Va + "?)\\)\\s*)", Wa = "(" + zs + "\\s*" + Ua + "?)", qa = "(\\[\\[|{{)\\s*", Ka = "(?:]]|}})", Ga = "(?:(!)\\s*)?", Ja = qa + Ga + Wa + Ka, Mo = new RegExp(Ja, "g");
|
|
4624
|
+
function Oo(o) {
|
|
4621
4625
|
let t = "";
|
|
4622
4626
|
for (let e = 0; e < o.length; e++) {
|
|
4623
4627
|
let i = o[e].literal;
|
|
@@ -4628,22 +4632,22 @@ function Mo(o) {
|
|
|
4628
4632
|
function Xt(o) {
|
|
4629
4633
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4630
4634
|
if (t) {
|
|
4631
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4635
|
+
let i = { methodName: t[1], static: !0, args: Ba };
|
|
4632
4636
|
if (t[2].trim()) {
|
|
4633
4637
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4634
|
-
return
|
|
4638
|
+
return Xa(s, i);
|
|
4635
4639
|
} else
|
|
4636
4640
|
return i;
|
|
4637
4641
|
}
|
|
4638
4642
|
return null;
|
|
4639
4643
|
}
|
|
4640
|
-
function
|
|
4644
|
+
function Xa(o, t) {
|
|
4641
4645
|
return t.args = o.map(function(e) {
|
|
4642
|
-
let i =
|
|
4646
|
+
let i = Ls(e);
|
|
4643
4647
|
return i.literal || (t.static = !1), i;
|
|
4644
4648
|
}, this), t;
|
|
4645
4649
|
}
|
|
4646
|
-
function
|
|
4650
|
+
function Ls(o) {
|
|
4647
4651
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4648
4652
|
name: t,
|
|
4649
4653
|
value: "",
|
|
@@ -4660,16 +4664,16 @@ function zs(o) {
|
|
|
4660
4664
|
}
|
|
4661
4665
|
return e.literal || (e.rootProperty = je(t), e.structured = fi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4662
4666
|
}
|
|
4663
|
-
function
|
|
4667
|
+
function Io(o, t, e) {
|
|
4664
4668
|
let i = se(o, e);
|
|
4665
4669
|
return i === void 0 && (i = t[e]), i;
|
|
4666
4670
|
}
|
|
4667
|
-
function
|
|
4671
|
+
function Rs(o, t, e, i) {
|
|
4668
4672
|
const s = { indexSplices: i };
|
|
4669
4673
|
pi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), pi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4670
4674
|
}
|
|
4671
4675
|
function rt(o, t, e, i, s, r) {
|
|
4672
|
-
|
|
4676
|
+
Rs(o, t, e, [{
|
|
4673
4677
|
index: i,
|
|
4674
4678
|
addedCount: s,
|
|
4675
4679
|
removed: r,
|
|
@@ -4677,11 +4681,11 @@ function rt(o, t, e, i, s, r) {
|
|
|
4677
4681
|
type: "splice"
|
|
4678
4682
|
}]);
|
|
4679
4683
|
}
|
|
4680
|
-
function
|
|
4684
|
+
function Za(o) {
|
|
4681
4685
|
return o[0].toUpperCase() + o.substring(1);
|
|
4682
4686
|
}
|
|
4683
|
-
const
|
|
4684
|
-
const t =
|
|
4687
|
+
const Vi = V((o) => {
|
|
4688
|
+
const t = ba(la(o));
|
|
4685
4689
|
class e extends t {
|
|
4686
4690
|
constructor() {
|
|
4687
4691
|
super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
|
|
@@ -4860,7 +4864,7 @@ const ji = V((o) => {
|
|
|
4860
4864
|
if (!a) {
|
|
4861
4865
|
let l = se(this, s);
|
|
4862
4866
|
if (s = /** @type {string} */
|
|
4863
|
-
|
|
4867
|
+
So(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4864
4868
|
return !1;
|
|
4865
4869
|
}
|
|
4866
4870
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4869,7 +4873,7 @@ const ji = V((o) => {
|
|
|
4869
4873
|
r,
|
|
4870
4874
|
n
|
|
4871
4875
|
))
|
|
4872
|
-
return
|
|
4876
|
+
return Ta(
|
|
4873
4877
|
this,
|
|
4874
4878
|
/**@type{string}*/
|
|
4875
4879
|
s,
|
|
@@ -5085,7 +5089,7 @@ const ji = V((o) => {
|
|
|
5085
5089
|
let a = this.__dataHasPaths;
|
|
5086
5090
|
this.__dataHasPaths = !1;
|
|
5087
5091
|
let l;
|
|
5088
|
-
|
|
5092
|
+
Ca(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ut(this, this[D.REFLECT], r, n, a), ut(this, this[D.OBSERVE], r, n, a), l && xa(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5089
5093
|
}
|
|
5090
5094
|
/**
|
|
5091
5095
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5182,7 +5186,7 @@ const ji = V((o) => {
|
|
|
5182
5186
|
/** @type {Array} */
|
|
5183
5187
|
se(this, s, n)
|
|
5184
5188
|
);
|
|
5185
|
-
|
|
5189
|
+
Rs(this, a, n.path, r);
|
|
5186
5190
|
}
|
|
5187
5191
|
/**
|
|
5188
5192
|
* Convenience method for reading a value from a path.
|
|
@@ -5230,7 +5234,7 @@ const ji = V((o) => {
|
|
|
5230
5234
|
* @public
|
|
5231
5235
|
*/
|
|
5232
5236
|
set(s, r, n) {
|
|
5233
|
-
n ?
|
|
5237
|
+
n ? So(n, s, r) : (!this[D.READ_ONLY] || !this[D.READ_ONLY][
|
|
5234
5238
|
/** @type {string} */
|
|
5235
5239
|
s
|
|
5236
5240
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5385,7 +5389,7 @@ const ji = V((o) => {
|
|
|
5385
5389
|
* @protected
|
|
5386
5390
|
*/
|
|
5387
5391
|
_createReadOnlyProperty(s, r) {
|
|
5388
|
-
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" +
|
|
5392
|
+
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" + Za(s)] = /** @this {PropertyEffects} */
|
|
5389
5393
|
function(n) {
|
|
5390
5394
|
this._setProperty(s, n);
|
|
5391
5395
|
});
|
|
@@ -5407,7 +5411,7 @@ const ji = V((o) => {
|
|
|
5407
5411
|
_createPropertyObserver(s, r, n) {
|
|
5408
5412
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5409
5413
|
this._addPropertyEffect(s, D.OBSERVE, {
|
|
5410
|
-
fn:
|
|
5414
|
+
fn: Po,
|
|
5411
5415
|
info: a,
|
|
5412
5416
|
trigger: { name: s }
|
|
5413
5417
|
}), n && this._addPropertyEffect(
|
|
@@ -5415,7 +5419,7 @@ const ji = V((o) => {
|
|
|
5415
5419
|
r,
|
|
5416
5420
|
D.OBSERVE,
|
|
5417
5421
|
{
|
|
5418
|
-
fn:
|
|
5422
|
+
fn: Po,
|
|
5419
5423
|
info: a,
|
|
5420
5424
|
trigger: { name: r }
|
|
5421
5425
|
}
|
|
@@ -5437,7 +5441,7 @@ const ji = V((o) => {
|
|
|
5437
5441
|
let n = Xt(s);
|
|
5438
5442
|
if (!n)
|
|
5439
5443
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5440
|
-
|
|
5444
|
+
Do(this, n, D.OBSERVE, _i, null, r);
|
|
5441
5445
|
}
|
|
5442
5446
|
/**
|
|
5443
5447
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5451,7 +5455,7 @@ const ji = V((o) => {
|
|
|
5451
5455
|
*/
|
|
5452
5456
|
_createNotifyingProperty(s) {
|
|
5453
5457
|
this._addPropertyEffect(s, D.NOTIFY, {
|
|
5454
|
-
fn:
|
|
5458
|
+
fn: Ea,
|
|
5455
5459
|
info: {
|
|
5456
5460
|
eventName: Yt(s) + "-changed",
|
|
5457
5461
|
property: s
|
|
@@ -5472,7 +5476,7 @@ const ji = V((o) => {
|
|
|
5472
5476
|
_createReflectedProperty(s) {
|
|
5473
5477
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5474
5478
|
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, D.REFLECT, {
|
|
5475
|
-
fn:
|
|
5479
|
+
fn: Aa,
|
|
5476
5480
|
info: {
|
|
5477
5481
|
attrName: r
|
|
5478
5482
|
}
|
|
@@ -5495,8 +5499,8 @@ const ji = V((o) => {
|
|
|
5495
5499
|
let a = Xt(r);
|
|
5496
5500
|
if (!a)
|
|
5497
5501
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5498
|
-
const l =
|
|
5499
|
-
Gt(this,
|
|
5502
|
+
const l = Do(this, a, D.COMPUTE, Ns, s, n);
|
|
5503
|
+
Gt(this, Is)[s] = l;
|
|
5500
5504
|
}
|
|
5501
5505
|
/**
|
|
5502
5506
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5517,14 +5521,14 @@ const ji = V((o) => {
|
|
|
5517
5521
|
let { name: d, structured: h, wildcard: m, value: b, literal: p } = s[c];
|
|
5518
5522
|
if (!p)
|
|
5519
5523
|
if (m) {
|
|
5520
|
-
const g = gt(d, r), y =
|
|
5524
|
+
const g = gt(d, r), y = Io(a, n, g ? r : d);
|
|
5521
5525
|
b = {
|
|
5522
5526
|
path: g ? r : d,
|
|
5523
5527
|
value: y,
|
|
5524
5528
|
base: g ? se(a, d) : y
|
|
5525
5529
|
};
|
|
5526
5530
|
} else
|
|
5527
|
-
b = h ?
|
|
5531
|
+
b = h ? Io(a, n, d) : a[d];
|
|
5528
5532
|
if (pi && !this._overrideLegacyUndefined && b === void 0 && s.length > 1)
|
|
5529
5533
|
return yt;
|
|
5530
5534
|
l[c] = b;
|
|
@@ -5807,7 +5811,7 @@ const ji = V((o) => {
|
|
|
5807
5811
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5808
5812
|
a.push(l);
|
|
5809
5813
|
}
|
|
5810
|
-
return n.templateInfo = r,
|
|
5814
|
+
return n.templateInfo = r, za(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5811
5815
|
}
|
|
5812
5816
|
/**
|
|
5813
5817
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5854,7 +5858,7 @@ const ji = V((o) => {
|
|
|
5854
5858
|
);
|
|
5855
5859
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5856
5860
|
let l = this._parseBindings(s.textContent, r);
|
|
5857
|
-
l && (s.textContent =
|
|
5861
|
+
l && (s.textContent = Oo(l) || " ", Jt(this, r, n, "text", "textContent", l), a = !0);
|
|
5858
5862
|
}
|
|
5859
5863
|
return a;
|
|
5860
5864
|
}
|
|
@@ -5881,9 +5885,9 @@ const ji = V((o) => {
|
|
|
5881
5885
|
let c = this._parseBindings(l, r);
|
|
5882
5886
|
if (c) {
|
|
5883
5887
|
let u = a, d = "property";
|
|
5884
|
-
|
|
5885
|
-
let h =
|
|
5886
|
-
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a =
|
|
5888
|
+
va.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5889
|
+
let h = Oo(c);
|
|
5890
|
+
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = Cs(a)), Jt(this, r, n, d, a, c, h), !0;
|
|
5887
5891
|
} else
|
|
5888
5892
|
return t._parseTemplateNodeAttribute.call(
|
|
5889
5893
|
this,
|
|
@@ -5916,10 +5920,10 @@ const ji = V((o) => {
|
|
|
5916
5920
|
n
|
|
5917
5921
|
);
|
|
5918
5922
|
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5919
|
-
|
|
5923
|
+
bo && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5920
5924
|
let h = c.hostProps;
|
|
5921
|
-
if (
|
|
5922
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5925
|
+
if (jn && u)
|
|
5926
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), bo || (n.parentInfo.noted = !0));
|
|
5923
5927
|
else {
|
|
5924
5928
|
let m = "{";
|
|
5925
5929
|
for (let b in h) {
|
|
@@ -5976,7 +5980,7 @@ const ji = V((o) => {
|
|
|
5976
5980
|
*/
|
|
5977
5981
|
static _parseBindings(s, r) {
|
|
5978
5982
|
let n = [], a = 0, l;
|
|
5979
|
-
for (; (l =
|
|
5983
|
+
for (; (l = Mo.exec(s)) !== null; ) {
|
|
5980
5984
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5981
5985
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", b = -1;
|
|
5982
5986
|
c == "{" && (b = d.indexOf("::")) > 0 && (m = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
@@ -5999,7 +6003,7 @@ const ji = V((o) => {
|
|
|
5999
6003
|
signature: p,
|
|
6000
6004
|
dependencies: g,
|
|
6001
6005
|
event: m
|
|
6002
|
-
}), a =
|
|
6006
|
+
}), a = Mo.lastIndex;
|
|
6003
6007
|
}
|
|
6004
6008
|
if (a && a < s.length) {
|
|
6005
6009
|
let c = s.substring(a);
|
|
@@ -6049,7 +6053,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6049
6053
|
Code distributed by Google as part of the polymer project is also
|
|
6050
6054
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6051
6055
|
*/
|
|
6052
|
-
function
|
|
6056
|
+
function Qa(o) {
|
|
6053
6057
|
const t = {};
|
|
6054
6058
|
for (let e in o) {
|
|
6055
6059
|
const i = o[e];
|
|
@@ -6057,8 +6061,8 @@ function Za(o) {
|
|
|
6057
6061
|
}
|
|
6058
6062
|
return t;
|
|
6059
6063
|
}
|
|
6060
|
-
const
|
|
6061
|
-
const t =
|
|
6064
|
+
const el = V((o) => {
|
|
6065
|
+
const t = Ts(o);
|
|
6062
6066
|
function e(r) {
|
|
6063
6067
|
const n = Object.getPrototypeOf(r);
|
|
6064
6068
|
return n.prototype instanceof s ? (
|
|
@@ -6071,7 +6075,7 @@ const Qa = V((o) => {
|
|
|
6071
6075
|
let n = null;
|
|
6072
6076
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6073
6077
|
const a = r.properties;
|
|
6074
|
-
a && (n =
|
|
6078
|
+
a && (n = Qa(a));
|
|
6075
6079
|
}
|
|
6076
6080
|
r.__ownProperties = n;
|
|
6077
6081
|
}
|
|
@@ -6208,8 +6212,8 @@ const Qa = V((o) => {
|
|
|
6208
6212
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6209
6213
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6210
6214
|
*/
|
|
6211
|
-
const
|
|
6212
|
-
const t =
|
|
6215
|
+
const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o) => {
|
|
6216
|
+
const t = el(Vi(o));
|
|
6213
6217
|
function e(l) {
|
|
6214
6218
|
if (!l.hasOwnProperty(
|
|
6215
6219
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6237,8 +6241,8 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6237
6241
|
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
6238
6242
|
}
|
|
6239
6243
|
function r(l, c, u, d) {
|
|
6240
|
-
if (!
|
|
6241
|
-
const h = c.content.querySelectorAll("style"), m =
|
|
6244
|
+
if (!Fo) {
|
|
6245
|
+
const h = c.content.querySelectorAll("style"), m = ws(c), b = Xn(u), p = c.content.firstElementChild;
|
|
6242
6246
|
for (let y = 0; y < b.length; y++) {
|
|
6243
6247
|
let v = b[y];
|
|
6244
6248
|
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
@@ -6249,7 +6253,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6249
6253
|
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : g++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6250
6254
|
}
|
|
6251
6255
|
}
|
|
6252
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6256
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), Vn && Fo && Rn) {
|
|
6253
6257
|
const h = c.content.querySelectorAll("style");
|
|
6254
6258
|
if (h) {
|
|
6255
6259
|
let m = "";
|
|
@@ -6261,7 +6265,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6261
6265
|
}
|
|
6262
6266
|
function n(l) {
|
|
6263
6267
|
let c = null;
|
|
6264
|
-
if (l && (!Nt ||
|
|
6268
|
+
if (l && (!Nt || Hn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6265
6269
|
_t.import(l, "template"), Nt && !c))
|
|
6266
6270
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6267
6271
|
return c;
|
|
@@ -6273,7 +6277,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6273
6277
|
* @nocollapse
|
|
6274
6278
|
*/
|
|
6275
6279
|
static get polymerElementVersion() {
|
|
6276
|
-
return
|
|
6280
|
+
return tl;
|
|
6277
6281
|
}
|
|
6278
6282
|
/**
|
|
6279
6283
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6294,7 +6298,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6294
6298
|
/** @type {PolymerElementConstructor} */
|
|
6295
6299
|
this.template
|
|
6296
6300
|
);
|
|
6297
|
-
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) :
|
|
6301
|
+
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) : bs || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
6298
6302
|
}
|
|
6299
6303
|
/**
|
|
6300
6304
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6431,7 +6435,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6431
6435
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6432
6436
|
const c = this.importMeta;
|
|
6433
6437
|
if (c)
|
|
6434
|
-
this._importPath =
|
|
6438
|
+
this._importPath = $i(c.url);
|
|
6435
6439
|
else {
|
|
6436
6440
|
const u = _t.import(
|
|
6437
6441
|
/** @type {PolymerElementConstructor} */
|
|
@@ -6464,7 +6468,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6464
6468
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6465
6469
|
/** @type {!HTMLElement} */
|
|
6466
6470
|
this.localName
|
|
6467
|
-
), super._initializeProperties(), this.rootPath =
|
|
6471
|
+
), super._initializeProperties(), this.rootPath = Bn, this.importPath = this.constructor.importPath;
|
|
6468
6472
|
let c = e(this.constructor);
|
|
6469
6473
|
if (c)
|
|
6470
6474
|
for (let u in c) {
|
|
@@ -6496,7 +6500,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6496
6500
|
* @nocollapse
|
|
6497
6501
|
*/
|
|
6498
6502
|
static _processStyleText(c, u) {
|
|
6499
|
-
return
|
|
6503
|
+
return Hi(c, u);
|
|
6500
6504
|
}
|
|
6501
6505
|
/**
|
|
6502
6506
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6575,7 +6579,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6575
6579
|
_attachDom(c) {
|
|
6576
6580
|
const u = K(this);
|
|
6577
6581
|
if (u.attachShadow)
|
|
6578
|
-
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6582
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), $n && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6579
6583
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6580
6584
|
}
|
|
6581
6585
|
/**
|
|
@@ -6660,7 +6664,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = V((o)
|
|
|
6660
6664
|
* @nocollapse
|
|
6661
6665
|
*/
|
|
6662
6666
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6663
|
-
return
|
|
6667
|
+
return vs && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6664
6668
|
// dependencies) become accessors with template effects; ignore these
|
|
6665
6669
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6666
6670
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6685,16 +6689,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6685
6689
|
Code distributed by Google as part of the polymer project is also
|
|
6686
6690
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6687
6691
|
*/
|
|
6688
|
-
const
|
|
6689
|
-
class
|
|
6692
|
+
const No = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6693
|
+
class Bs {
|
|
6690
6694
|
/**
|
|
6691
6695
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6692
6696
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6693
6697
|
*/
|
|
6694
6698
|
constructor(t, e) {
|
|
6695
|
-
|
|
6699
|
+
$s(t, e);
|
|
6696
6700
|
const i = e.reduce(
|
|
6697
|
-
(s, r, n) => s +
|
|
6701
|
+
(s, r, n) => s + Hs(r) + t[n + 1],
|
|
6698
6702
|
t[0]
|
|
6699
6703
|
);
|
|
6700
6704
|
this.value = i.toString();
|
|
@@ -6707,8 +6711,8 @@ class Rs {
|
|
|
6707
6711
|
return this.value;
|
|
6708
6712
|
}
|
|
6709
6713
|
}
|
|
6710
|
-
function
|
|
6711
|
-
if (o instanceof
|
|
6714
|
+
function Hs(o) {
|
|
6715
|
+
if (o instanceof Bs)
|
|
6712
6716
|
return (
|
|
6713
6717
|
/** @type {!LiteralString} */
|
|
6714
6718
|
o.value
|
|
@@ -6717,30 +6721,30 @@ function Bs(o) {
|
|
|
6717
6721
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6718
6722
|
);
|
|
6719
6723
|
}
|
|
6720
|
-
function
|
|
6724
|
+
function ol(o) {
|
|
6721
6725
|
if (o instanceof HTMLTemplateElement)
|
|
6722
6726
|
return (
|
|
6723
6727
|
/** @type {!HTMLTemplateElement } */
|
|
6724
6728
|
o.innerHTML
|
|
6725
6729
|
);
|
|
6726
|
-
if (o instanceof
|
|
6727
|
-
return
|
|
6730
|
+
if (o instanceof Bs)
|
|
6731
|
+
return Hs(o);
|
|
6728
6732
|
throw new Error(
|
|
6729
6733
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6730
6734
|
);
|
|
6731
6735
|
}
|
|
6732
6736
|
const Ve = function(t, ...e) {
|
|
6733
|
-
|
|
6737
|
+
$s(t, e);
|
|
6734
6738
|
const i = (
|
|
6735
6739
|
/** @type {!HTMLTemplateElement} */
|
|
6736
6740
|
document.createElement("template")
|
|
6737
6741
|
);
|
|
6738
6742
|
let s = e.reduce(
|
|
6739
|
-
(r, n, a) => r +
|
|
6743
|
+
(r, n, a) => r + ol(n) + t[a + 1],
|
|
6740
6744
|
t[0]
|
|
6741
6745
|
);
|
|
6742
|
-
return
|
|
6743
|
-
},
|
|
6746
|
+
return No && (s = No.createHTML(s)), i.innerHTML = s, i;
|
|
6747
|
+
}, $s = (o, t) => {
|
|
6744
6748
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6745
6749
|
throw new TypeError("Invalid call to the html template tag");
|
|
6746
6750
|
};
|
|
@@ -6753,7 +6757,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6753
6757
|
Code distributed by Google as part of the polymer project is also
|
|
6754
6758
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6755
6759
|
*/
|
|
6756
|
-
const Ie =
|
|
6760
|
+
const Ie = il(HTMLElement);
|
|
6757
6761
|
/**
|
|
6758
6762
|
* @license
|
|
6759
6763
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6766,14 +6770,14 @@ function gi(o, t, e = o.getAttribute("dir")) {
|
|
|
6766
6770
|
function bi() {
|
|
6767
6771
|
return document.documentElement.getAttribute("dir");
|
|
6768
6772
|
}
|
|
6769
|
-
function
|
|
6773
|
+
function sl() {
|
|
6770
6774
|
const o = bi();
|
|
6771
6775
|
we.forEach((t) => {
|
|
6772
6776
|
gi(t, o);
|
|
6773
6777
|
});
|
|
6774
6778
|
}
|
|
6775
|
-
const
|
|
6776
|
-
|
|
6779
|
+
const rl = new MutationObserver(sl);
|
|
6780
|
+
rl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6777
6781
|
const jt = (o) => class extends o {
|
|
6778
6782
|
static get properties() {
|
|
6779
6783
|
return {
|
|
@@ -6835,7 +6839,7 @@ const jt = (o) => class extends o {
|
|
|
6835
6839
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6836
6840
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6837
6841
|
*/
|
|
6838
|
-
const
|
|
6842
|
+
const nl = (o) => class extends o {
|
|
6839
6843
|
static get properties() {
|
|
6840
6844
|
return {
|
|
6841
6845
|
/**
|
|
@@ -6875,7 +6879,7 @@ const rl = (o) => class extends o {
|
|
|
6875
6879
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6876
6880
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6877
6881
|
*/
|
|
6878
|
-
const
|
|
6882
|
+
const al = P`
|
|
6879
6883
|
:host {
|
|
6880
6884
|
display: flex;
|
|
6881
6885
|
align-items: center;
|
|
@@ -6946,8 +6950,8 @@ const nl = P`
|
|
|
6946
6950
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6947
6951
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6948
6952
|
*/
|
|
6949
|
-
L("vaadin-input-container",
|
|
6950
|
-
class
|
|
6953
|
+
L("vaadin-input-container", al, { moduleId: "vaadin-input-container-styles" });
|
|
6954
|
+
class ll extends nl(Ye(jt(Ie))) {
|
|
6951
6955
|
static get is() {
|
|
6952
6956
|
return "vaadin-input-container";
|
|
6953
6957
|
}
|
|
@@ -6959,13 +6963,13 @@ class al extends rl(Ye(jt(Ie))) {
|
|
|
6959
6963
|
`;
|
|
6960
6964
|
}
|
|
6961
6965
|
}
|
|
6962
|
-
be(
|
|
6966
|
+
be(ll);
|
|
6963
6967
|
/**
|
|
6964
6968
|
* @license
|
|
6965
6969
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6966
6970
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6967
6971
|
*/
|
|
6968
|
-
const
|
|
6972
|
+
const cl = P`
|
|
6969
6973
|
:host {
|
|
6970
6974
|
z-index: 200;
|
|
6971
6975
|
position: fixed;
|
|
@@ -7030,18 +7034,18 @@ const ll = P`
|
|
|
7030
7034
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7031
7035
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7032
7036
|
*/
|
|
7033
|
-
let
|
|
7037
|
+
let Ui = !1;
|
|
7034
7038
|
window.addEventListener(
|
|
7035
7039
|
"keydown",
|
|
7036
7040
|
() => {
|
|
7037
|
-
|
|
7041
|
+
Ui = !0;
|
|
7038
7042
|
},
|
|
7039
7043
|
{ capture: !0 }
|
|
7040
7044
|
);
|
|
7041
7045
|
window.addEventListener(
|
|
7042
7046
|
"mousedown",
|
|
7043
7047
|
() => {
|
|
7044
|
-
|
|
7048
|
+
Ui = !1;
|
|
7045
7049
|
},
|
|
7046
7050
|
{ capture: !0 }
|
|
7047
7051
|
);
|
|
@@ -7051,24 +7055,24 @@ function vi() {
|
|
|
7051
7055
|
o = o.shadowRoot.activeElement;
|
|
7052
7056
|
return o;
|
|
7053
7057
|
}
|
|
7054
|
-
function
|
|
7055
|
-
return
|
|
7058
|
+
function Wi() {
|
|
7059
|
+
return Ui;
|
|
7056
7060
|
}
|
|
7057
|
-
function
|
|
7061
|
+
function ul(o) {
|
|
7058
7062
|
const t = o.style;
|
|
7059
7063
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7060
7064
|
return !0;
|
|
7061
7065
|
const e = window.getComputedStyle(o);
|
|
7062
7066
|
return e.visibility === "hidden" || e.display === "none";
|
|
7063
7067
|
}
|
|
7064
|
-
function
|
|
7068
|
+
function dl(o, t) {
|
|
7065
7069
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7066
7070
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7067
7071
|
}
|
|
7068
|
-
function
|
|
7072
|
+
function hl(o, t) {
|
|
7069
7073
|
const e = [];
|
|
7070
7074
|
for (; o.length > 0 && t.length > 0; )
|
|
7071
|
-
|
|
7075
|
+
dl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7072
7076
|
return e.concat(o, t);
|
|
7073
7077
|
}
|
|
7074
7078
|
function yi(o) {
|
|
@@ -7076,37 +7080,37 @@ function yi(o) {
|
|
|
7076
7080
|
if (t < 2)
|
|
7077
7081
|
return o;
|
|
7078
7082
|
const e = Math.ceil(t / 2), i = yi(o.slice(0, e)), s = yi(o.slice(e));
|
|
7079
|
-
return
|
|
7083
|
+
return hl(i, s);
|
|
7080
7084
|
}
|
|
7081
|
-
function
|
|
7085
|
+
function Ys(o) {
|
|
7082
7086
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7083
7087
|
}
|
|
7084
|
-
function
|
|
7088
|
+
function pl(o) {
|
|
7085
7089
|
return o.getRootNode().activeElement === o;
|
|
7086
7090
|
}
|
|
7087
|
-
function
|
|
7088
|
-
if (
|
|
7091
|
+
function fl(o) {
|
|
7092
|
+
if (!Ys(o))
|
|
7089
7093
|
return -1;
|
|
7090
7094
|
const t = o.getAttribute("tabindex") || 0;
|
|
7091
7095
|
return Number(t);
|
|
7092
7096
|
}
|
|
7093
|
-
function
|
|
7094
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7097
|
+
function js(o, t) {
|
|
7098
|
+
if (o.nodeType !== Node.ELEMENT_NODE || ul(o))
|
|
7095
7099
|
return !1;
|
|
7096
7100
|
const e = (
|
|
7097
7101
|
/** @type {HTMLElement} */
|
|
7098
7102
|
o
|
|
7099
|
-
), i =
|
|
7103
|
+
), i = fl(e);
|
|
7100
7104
|
let s = i > 0;
|
|
7101
7105
|
i >= 0 && t.push(e);
|
|
7102
7106
|
let r = [];
|
|
7103
7107
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7104
|
-
s =
|
|
7108
|
+
s = js(n, t) || s;
|
|
7105
7109
|
}), s;
|
|
7106
7110
|
}
|
|
7107
|
-
function
|
|
7111
|
+
function ml(o) {
|
|
7108
7112
|
const t = [];
|
|
7109
|
-
return
|
|
7113
|
+
return js(o, t) ? yi(t) : t;
|
|
7110
7114
|
}
|
|
7111
7115
|
/**
|
|
7112
7116
|
@license
|
|
@@ -7117,23 +7121,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7117
7121
|
Code distributed by Google as part of the polymer project is also
|
|
7118
7122
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7119
7123
|
*/
|
|
7120
|
-
let xi = !1,
|
|
7121
|
-
function
|
|
7124
|
+
let xi = !1, _l = [], Vs = [];
|
|
7125
|
+
function gl() {
|
|
7122
7126
|
xi = !0, requestAnimationFrame(function() {
|
|
7123
|
-
xi = !1,
|
|
7124
|
-
|
|
7127
|
+
xi = !1, bl(_l), setTimeout(function() {
|
|
7128
|
+
vl(Vs);
|
|
7125
7129
|
});
|
|
7126
7130
|
});
|
|
7127
7131
|
}
|
|
7128
|
-
function
|
|
7132
|
+
function bl(o) {
|
|
7129
7133
|
for (; o.length; )
|
|
7130
|
-
|
|
7134
|
+
Us(o.shift());
|
|
7131
7135
|
}
|
|
7132
|
-
function
|
|
7136
|
+
function vl(o) {
|
|
7133
7137
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7134
|
-
|
|
7138
|
+
Us(o.shift());
|
|
7135
7139
|
}
|
|
7136
|
-
function
|
|
7140
|
+
function Us(o) {
|
|
7137
7141
|
const t = o[0], e = o[1], i = o[2];
|
|
7138
7142
|
try {
|
|
7139
7143
|
e.apply(t, i);
|
|
@@ -7143,21 +7147,21 @@ function Vs(o) {
|
|
|
7143
7147
|
});
|
|
7144
7148
|
}
|
|
7145
7149
|
}
|
|
7146
|
-
function
|
|
7147
|
-
xi ||
|
|
7150
|
+
function Ws(o, t, e) {
|
|
7151
|
+
xi || gl(), Vs.push([o, t, e]);
|
|
7148
7152
|
}
|
|
7149
7153
|
/**
|
|
7150
7154
|
* @license
|
|
7151
7155
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7152
7156
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7153
7157
|
*/
|
|
7154
|
-
const Vt = (o) => o.test(navigator.userAgent), wi = (o) => o.test(navigator.platform),
|
|
7158
|
+
const Vt = (o) => o.test(navigator.userAgent), wi = (o) => o.test(navigator.platform), yl = (o) => o.test(navigator.vendor);
|
|
7155
7159
|
Vt(/Android/u);
|
|
7156
|
-
Vt(/Chrome/u) &&
|
|
7160
|
+
Vt(/Chrome/u) && yl(/Google Inc/u);
|
|
7157
7161
|
Vt(/Firefox/u);
|
|
7158
|
-
const
|
|
7162
|
+
const xl = wi(/^iPad/u) || wi(/^Mac/u) && navigator.maxTouchPoints > 1, wl = wi(/^iPhone/u), qs = wl || xl;
|
|
7159
7163
|
Vt(/^((?!chrome|android).)*safari/iu);
|
|
7160
|
-
const
|
|
7164
|
+
const El = (() => {
|
|
7161
7165
|
try {
|
|
7162
7166
|
return document.createEvent("TouchEvent"), !0;
|
|
7163
7167
|
} catch {
|
|
@@ -7170,10 +7174,10 @@ const wl = (() => {
|
|
|
7170
7174
|
* SPDX-License-Identifier: MIT
|
|
7171
7175
|
*/
|
|
7172
7176
|
let We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {}, Zt = 0;
|
|
7173
|
-
const
|
|
7177
|
+
const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
7174
7178
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7175
|
-
},
|
|
7176
|
-
if (!
|
|
7179
|
+
}, Sl = (o, t) => zo(o) ? t.map((e) => {
|
|
7180
|
+
if (!zo(e))
|
|
7177
7181
|
return Qt(e, "is not a valid element"), null;
|
|
7178
7182
|
let i = e;
|
|
7179
7183
|
for (; i && i !== o; ) {
|
|
@@ -7182,8 +7186,8 @@ const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
|
7182
7186
|
i = i.getRootNode().host;
|
|
7183
7187
|
}
|
|
7184
7188
|
return Qt(e, "is not contained inside", o), null;
|
|
7185
|
-
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []),
|
|
7186
|
-
const s =
|
|
7189
|
+
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []), Al = (o, t, e, i) => {
|
|
7190
|
+
const s = Sl(t, Array.isArray(o) ? o : [o]);
|
|
7187
7191
|
Pt[e] || (Pt[e] = /* @__PURE__ */ new WeakMap());
|
|
7188
7192
|
const r = Pt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7189
7193
|
if (!d || a.has(d))
|
|
@@ -7213,16 +7217,16 @@ const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
|
7213
7217
|
We.set(d, h), r.set(d, m), h || (Ct.has(d) ? Ct.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7214
7218
|
}), Zt -= 1, Zt || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {});
|
|
7215
7219
|
};
|
|
7216
|
-
},
|
|
7220
|
+
}, Ks = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7217
7221
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7218
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7222
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Al(i, t, e, "aria-hidden");
|
|
7219
7223
|
};
|
|
7220
7224
|
/**
|
|
7221
7225
|
* @license
|
|
7222
7226
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7223
7227
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7224
7228
|
*/
|
|
7225
|
-
class
|
|
7229
|
+
class Cl {
|
|
7226
7230
|
/**
|
|
7227
7231
|
* @param {HTMLElement} host
|
|
7228
7232
|
*/
|
|
@@ -7238,7 +7242,7 @@ class Al {
|
|
|
7238
7242
|
*/
|
|
7239
7243
|
showModal() {
|
|
7240
7244
|
const t = this.callback();
|
|
7241
|
-
this.__showOthers =
|
|
7245
|
+
this.__showOthers = Ks(t);
|
|
7242
7246
|
}
|
|
7243
7247
|
/**
|
|
7244
7248
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7253,7 +7257,7 @@ class Al {
|
|
|
7253
7257
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7254
7258
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7255
7259
|
*/
|
|
7256
|
-
class
|
|
7260
|
+
class Pl {
|
|
7257
7261
|
/**
|
|
7258
7262
|
* Saves the given node as a target for restoring focus to
|
|
7259
7263
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7281,7 +7285,7 @@ class Cl {
|
|
|
7281
7285
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7282
7286
|
*/
|
|
7283
7287
|
const ei = [];
|
|
7284
|
-
class
|
|
7288
|
+
class kl {
|
|
7285
7289
|
/**
|
|
7286
7290
|
* @param {HTMLElement} host
|
|
7287
7291
|
*/
|
|
@@ -7295,7 +7299,7 @@ class Pl {
|
|
|
7295
7299
|
* @private
|
|
7296
7300
|
*/
|
|
7297
7301
|
get __focusableElements() {
|
|
7298
|
-
return
|
|
7302
|
+
return ml(this.__trapNode);
|
|
7299
7303
|
}
|
|
7300
7304
|
/**
|
|
7301
7305
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7305,7 +7309,7 @@ class Pl {
|
|
|
7305
7309
|
*/
|
|
7306
7310
|
get __focusedElementIndex() {
|
|
7307
7311
|
const t = this.__focusableElements;
|
|
7308
|
-
return t.indexOf(t.filter(
|
|
7312
|
+
return t.indexOf(t.filter(pl).pop());
|
|
7309
7313
|
}
|
|
7310
7314
|
hostConnected() {
|
|
7311
7315
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7418,7 +7422,7 @@ const ot = V((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7418
7422
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7419
7423
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7420
7424
|
*/
|
|
7421
|
-
const
|
|
7425
|
+
const Dl = (o) => class extends ot(o) {
|
|
7422
7426
|
static get properties() {
|
|
7423
7427
|
return {
|
|
7424
7428
|
/**
|
|
@@ -7449,7 +7453,7 @@ const kl = (o) => class extends ot(o) {
|
|
|
7449
7453
|
};
|
|
7450
7454
|
}
|
|
7451
7455
|
constructor() {
|
|
7452
|
-
super(), this.__ariaModalController = new
|
|
7456
|
+
super(), this.__ariaModalController = new Cl(this), this.__focusTrapController = new kl(this), this.__focusRestorationController = new Pl();
|
|
7453
7457
|
}
|
|
7454
7458
|
/** @protected */
|
|
7455
7459
|
ready() {
|
|
@@ -7462,7 +7466,7 @@ const kl = (o) => class extends ot(o) {
|
|
|
7462
7466
|
*/
|
|
7463
7467
|
_resetFocus() {
|
|
7464
7468
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7465
|
-
const e = !
|
|
7469
|
+
const e = !Wi();
|
|
7466
7470
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7467
7471
|
}
|
|
7468
7472
|
}
|
|
@@ -7520,7 +7524,7 @@ const kl = (o) => class extends ot(o) {
|
|
|
7520
7524
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7521
7525
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7522
7526
|
*/
|
|
7523
|
-
const
|
|
7527
|
+
const Gs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Ei = () => Gs().filter((o) => o.$.overlay), Tl = (o) => o === Ei().pop(), Ml = (o) => class extends o {
|
|
7524
7528
|
constructor() {
|
|
7525
7529
|
super(), this._hasOverlayStackMixin = !0;
|
|
7526
7530
|
}
|
|
@@ -7531,14 +7535,14 @@ const Ks = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7531
7535
|
* @protected
|
|
7532
7536
|
*/
|
|
7533
7537
|
get _last() {
|
|
7534
|
-
return
|
|
7538
|
+
return Tl(this);
|
|
7535
7539
|
}
|
|
7536
7540
|
/**
|
|
7537
7541
|
* Brings the overlay as visually the frontmost one.
|
|
7538
7542
|
*/
|
|
7539
7543
|
bringToFront() {
|
|
7540
7544
|
let e = "";
|
|
7541
|
-
const i =
|
|
7545
|
+
const i = Gs().filter((s) => s !== this).pop();
|
|
7542
7546
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7543
7547
|
}
|
|
7544
7548
|
/** @protected */
|
|
@@ -7561,7 +7565,7 @@ const Ks = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7561
7565
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7562
7566
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7563
7567
|
*/
|
|
7564
|
-
const
|
|
7568
|
+
const Ol = (o) => class extends Dl(Ml(o)) {
|
|
7565
7569
|
static get properties() {
|
|
7566
7570
|
return {
|
|
7567
7571
|
/**
|
|
@@ -7634,7 +7638,7 @@ const Ml = (o) => class extends kl(Tl(o)) {
|
|
|
7634
7638
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7635
7639
|
}
|
|
7636
7640
|
constructor() {
|
|
7637
|
-
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this),
|
|
7641
|
+
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), qs && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7638
7642
|
}
|
|
7639
7643
|
/** @protected */
|
|
7640
7644
|
ready() {
|
|
@@ -7702,7 +7706,7 @@ const Ml = (o) => class extends kl(Tl(o)) {
|
|
|
7702
7706
|
}
|
|
7703
7707
|
/** @private */
|
|
7704
7708
|
_openedChanged(e, i) {
|
|
7705
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7709
|
+
e ? (this._saveFocus(), this._animatedOpening(), Ws(this, () => {
|
|
7706
7710
|
this._trapFocus();
|
|
7707
7711
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7708
7712
|
this.dispatchEvent(s);
|
|
@@ -7827,7 +7831,7 @@ const Ml = (o) => class extends kl(Tl(o)) {
|
|
|
7827
7831
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7828
7832
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7829
7833
|
*/
|
|
7830
|
-
function
|
|
7834
|
+
function Il(o) {
|
|
7831
7835
|
const t = [];
|
|
7832
7836
|
for (; o; ) {
|
|
7833
7837
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7846,25 +7850,25 @@ function Ol(o) {
|
|
|
7846
7850
|
}
|
|
7847
7851
|
return t;
|
|
7848
7852
|
}
|
|
7849
|
-
function
|
|
7853
|
+
function qi(o) {
|
|
7850
7854
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7851
7855
|
}
|
|
7852
7856
|
function Ut(o) {
|
|
7853
7857
|
return o ? [...o].join(" ") : "";
|
|
7854
7858
|
}
|
|
7855
|
-
function
|
|
7856
|
-
const i =
|
|
7859
|
+
function Js(o, t, e) {
|
|
7860
|
+
const i = qi(o.getAttribute(t));
|
|
7857
7861
|
i.add(e), o.setAttribute(t, Ut(i));
|
|
7858
7862
|
}
|
|
7859
|
-
function
|
|
7860
|
-
const i =
|
|
7863
|
+
function Fl(o, t, e) {
|
|
7864
|
+
const i = qi(o.getAttribute(t));
|
|
7861
7865
|
if (i.delete(e), i.size === 0) {
|
|
7862
7866
|
o.removeAttribute(t);
|
|
7863
7867
|
return;
|
|
7864
7868
|
}
|
|
7865
7869
|
o.setAttribute(t, Ut(i));
|
|
7866
7870
|
}
|
|
7867
|
-
function
|
|
7871
|
+
function Nl(o) {
|
|
7868
7872
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7869
7873
|
}
|
|
7870
7874
|
/**
|
|
@@ -7872,7 +7876,7 @@ function Fl(o) {
|
|
|
7872
7876
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7873
7877
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7874
7878
|
*/
|
|
7875
|
-
function
|
|
7879
|
+
function zl(o, t) {
|
|
7876
7880
|
let e = null;
|
|
7877
7881
|
const i = document.documentElement;
|
|
7878
7882
|
function s() {
|
|
@@ -7912,13 +7916,13 @@ const ti = {
|
|
|
7912
7916
|
}, ii = {
|
|
7913
7917
|
start: "left",
|
|
7914
7918
|
end: "right"
|
|
7915
|
-
},
|
|
7919
|
+
}, Lo = new ResizeObserver((o) => {
|
|
7916
7920
|
setTimeout(() => {
|
|
7917
7921
|
o.forEach((t) => {
|
|
7918
7922
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7919
7923
|
});
|
|
7920
7924
|
});
|
|
7921
|
-
}),
|
|
7925
|
+
}), Ll = (o) => class extends o {
|
|
7922
7926
|
static get properties() {
|
|
7923
7927
|
return {
|
|
7924
7928
|
/**
|
|
@@ -8017,9 +8021,9 @@ const ti = {
|
|
|
8017
8021
|
}
|
|
8018
8022
|
/** @private */
|
|
8019
8023
|
__addUpdatePositionEventListeners() {
|
|
8020
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8024
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Il(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8021
8025
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8022
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8026
|
+
}), this.positionTarget && (this.__observePositionTargetMove = zl(this.positionTarget, () => {
|
|
8023
8027
|
this._updatePosition();
|
|
8024
8028
|
}));
|
|
8025
8029
|
}
|
|
@@ -8031,7 +8035,7 @@ const ti = {
|
|
|
8031
8035
|
}
|
|
8032
8036
|
/** @private */
|
|
8033
8037
|
__overlayOpenedChanged(e, i) {
|
|
8034
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8038
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, Lo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Lo.observe(i))), e) {
|
|
8035
8039
|
const s = getComputedStyle(this);
|
|
8036
8040
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8037
8041
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8153,7 +8157,7 @@ const ti = {
|
|
|
8153
8157
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8154
8158
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8155
8159
|
*/
|
|
8156
|
-
const
|
|
8160
|
+
const Rl = (o) => class extends Ll(Ol(o)) {
|
|
8157
8161
|
/**
|
|
8158
8162
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8159
8163
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8170,7 +8174,7 @@ const Ll = (o) => class extends zl(Ml(o)) {
|
|
|
8170
8174
|
* @override
|
|
8171
8175
|
*/
|
|
8172
8176
|
_mouseDownListener(e) {
|
|
8173
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) &&
|
|
8177
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !Ys(e.composedPath()[0]) && e.preventDefault();
|
|
8174
8178
|
}
|
|
8175
8179
|
};
|
|
8176
8180
|
/**
|
|
@@ -8178,7 +8182,7 @@ const Ll = (o) => class extends zl(Ml(o)) {
|
|
|
8178
8182
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8179
8183
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8180
8184
|
*/
|
|
8181
|
-
const
|
|
8185
|
+
const Bl = P`
|
|
8182
8186
|
[part='overlay'] {
|
|
8183
8187
|
display: flex;
|
|
8184
8188
|
flex: auto;
|
|
@@ -8199,10 +8203,10 @@ const Rl = P`
|
|
|
8199
8203
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8200
8204
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8201
8205
|
*/
|
|
8202
|
-
L("vaadin-date-picker-overlay", [
|
|
8206
|
+
L("vaadin-date-picker-overlay", [cl, Bl], {
|
|
8203
8207
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8204
8208
|
});
|
|
8205
|
-
class
|
|
8209
|
+
class Hl extends Rl(jt(Ye(Ie))) {
|
|
8206
8210
|
static get is() {
|
|
8207
8211
|
return "vaadin-date-picker-overlay";
|
|
8208
8212
|
}
|
|
@@ -8217,34 +8221,34 @@ class Bl extends Ll(jt(Ye(Ie))) {
|
|
|
8217
8221
|
`;
|
|
8218
8222
|
}
|
|
8219
8223
|
}
|
|
8220
|
-
be(
|
|
8221
|
-
const
|
|
8222
|
-
function
|
|
8224
|
+
be(Hl);
|
|
8225
|
+
const $l = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Tt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8226
|
+
function Yl() {
|
|
8223
8227
|
function o() {
|
|
8224
8228
|
return !0;
|
|
8225
8229
|
}
|
|
8226
|
-
return
|
|
8230
|
+
return Xs(o);
|
|
8227
8231
|
}
|
|
8228
|
-
function
|
|
8232
|
+
function jl() {
|
|
8229
8233
|
try {
|
|
8230
|
-
return
|
|
8234
|
+
return Vl() ? !0 : Ul() ? Tt ? !Wl() : !Yl() : !1;
|
|
8231
8235
|
} catch {
|
|
8232
8236
|
return !1;
|
|
8233
8237
|
}
|
|
8234
8238
|
}
|
|
8235
|
-
function
|
|
8239
|
+
function Vl() {
|
|
8236
8240
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8237
8241
|
}
|
|
8238
|
-
function
|
|
8242
|
+
function Ul() {
|
|
8239
8243
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8240
8244
|
}
|
|
8241
|
-
function
|
|
8245
|
+
function Wl() {
|
|
8242
8246
|
return !!(Tt && Object.keys(Tt).map((t) => Tt[t]).filter((t) => t.productionMode).length > 0);
|
|
8243
8247
|
}
|
|
8244
|
-
function
|
|
8248
|
+
function Xs(o, t) {
|
|
8245
8249
|
if (typeof o != "function")
|
|
8246
8250
|
return;
|
|
8247
|
-
const e =
|
|
8251
|
+
const e = $l.exec(o.toString());
|
|
8248
8252
|
if (e)
|
|
8249
8253
|
try {
|
|
8250
8254
|
o = new Function(e[1]);
|
|
@@ -8254,12 +8258,12 @@ function Js(o, t) {
|
|
|
8254
8258
|
return o(t);
|
|
8255
8259
|
}
|
|
8256
8260
|
window.Vaadin = window.Vaadin || {};
|
|
8257
|
-
const
|
|
8261
|
+
const Ro = function(o, t) {
|
|
8258
8262
|
if (window.Vaadin.developmentMode)
|
|
8259
|
-
return
|
|
8263
|
+
return Xs(o, t);
|
|
8260
8264
|
};
|
|
8261
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8262
|
-
function
|
|
8265
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = jl());
|
|
8266
|
+
function ql() {
|
|
8263
8267
|
/*! vaadin-dev-mode:start
|
|
8264
8268
|
(function () {
|
|
8265
8269
|
'use strict';
|
|
@@ -8740,9 +8744,9 @@ function Wl() {
|
|
|
8740
8744
|
|
|
8741
8745
|
vaadin-dev-mode:end **/
|
|
8742
8746
|
}
|
|
8743
|
-
const
|
|
8744
|
-
if (typeof
|
|
8745
|
-
return
|
|
8747
|
+
const Kl = function() {
|
|
8748
|
+
if (typeof Ro == "function")
|
|
8749
|
+
return Ro(ql);
|
|
8746
8750
|
};
|
|
8747
8751
|
/**
|
|
8748
8752
|
* @license
|
|
@@ -8753,10 +8757,10 @@ const ql = function() {
|
|
|
8753
8757
|
* Code distributed by Google as part of the polymer project is also
|
|
8754
8758
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8755
8759
|
*/
|
|
8756
|
-
let
|
|
8760
|
+
let Bo = 0, Zs = 0;
|
|
8757
8761
|
const Je = [];
|
|
8758
8762
|
let Si = !1;
|
|
8759
|
-
function
|
|
8763
|
+
function Gl() {
|
|
8760
8764
|
Si = !1;
|
|
8761
8765
|
const o = Je.length;
|
|
8762
8766
|
for (let t = 0; t < o; t++) {
|
|
@@ -8770,7 +8774,7 @@ function Kl() {
|
|
|
8770
8774
|
});
|
|
8771
8775
|
}
|
|
8772
8776
|
}
|
|
8773
|
-
Je.splice(0, o),
|
|
8777
|
+
Je.splice(0, o), Zs += o;
|
|
8774
8778
|
}
|
|
8775
8779
|
const Lt = {
|
|
8776
8780
|
/**
|
|
@@ -8812,7 +8816,7 @@ const Lt = {
|
|
|
8812
8816
|
cancel(o) {
|
|
8813
8817
|
window.clearTimeout(o);
|
|
8814
8818
|
}
|
|
8815
|
-
},
|
|
8819
|
+
}, Jl = {
|
|
8816
8820
|
/**
|
|
8817
8821
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8818
8822
|
*
|
|
@@ -8833,7 +8837,7 @@ const Lt = {
|
|
|
8833
8837
|
cancel(o) {
|
|
8834
8838
|
window.cancelAnimationFrame(o);
|
|
8835
8839
|
}
|
|
8836
|
-
},
|
|
8840
|
+
}, Xl = {
|
|
8837
8841
|
/**
|
|
8838
8842
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8839
8843
|
*
|
|
@@ -8854,7 +8858,7 @@ const Lt = {
|
|
|
8854
8858
|
cancel(o) {
|
|
8855
8859
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8856
8860
|
}
|
|
8857
|
-
},
|
|
8861
|
+
}, Zl = {
|
|
8858
8862
|
/**
|
|
8859
8863
|
* Enqueues a function called at microtask timing.
|
|
8860
8864
|
*
|
|
@@ -8863,9 +8867,9 @@ const Lt = {
|
|
|
8863
8867
|
* @return {number} Handle used for canceling task
|
|
8864
8868
|
*/
|
|
8865
8869
|
run(o) {
|
|
8866
|
-
Si || (Si = !0, queueMicrotask(() =>
|
|
8867
|
-
const t =
|
|
8868
|
-
return
|
|
8870
|
+
Si || (Si = !0, queueMicrotask(() => Gl())), Je.push(o);
|
|
8871
|
+
const t = Bo;
|
|
8872
|
+
return Bo += 1, t;
|
|
8869
8873
|
},
|
|
8870
8874
|
/**
|
|
8871
8875
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8875,7 +8879,7 @@ const Lt = {
|
|
|
8875
8879
|
* @return {void}
|
|
8876
8880
|
*/
|
|
8877
8881
|
cancel(o) {
|
|
8878
|
-
const t = o -
|
|
8882
|
+
const t = o - Zs;
|
|
8879
8883
|
if (t >= 0) {
|
|
8880
8884
|
if (!Je[t])
|
|
8881
8885
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -8984,7 +8988,7 @@ let et = class Ci {
|
|
|
8984
8988
|
return this._timer != null;
|
|
8985
8989
|
}
|
|
8986
8990
|
};
|
|
8987
|
-
function
|
|
8991
|
+
function Ql(o) {
|
|
8988
8992
|
Ai.add(o);
|
|
8989
8993
|
}
|
|
8990
8994
|
/**
|
|
@@ -8996,17 +9000,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
8996
9000
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
8997
9001
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
8998
9002
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
8999
|
-
|
|
9003
|
+
Kl();
|
|
9000
9004
|
};
|
|
9001
9005
|
let oi;
|
|
9002
|
-
const
|
|
9006
|
+
const Ho = /* @__PURE__ */ new Set(), Qs = (o) => class extends jt(o) {
|
|
9003
9007
|
/** @protected */
|
|
9004
9008
|
static finalize() {
|
|
9005
9009
|
super.finalize();
|
|
9006
9010
|
const { is: e } = this;
|
|
9007
|
-
e && !
|
|
9011
|
+
e && !Ho.has(e) && (window.Vaadin.registrations.push(this), Ho.add(e), window.Vaadin.developmentModeCallback && (oi = et.debounce(oi, Xl, () => {
|
|
9008
9012
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9009
|
-
}),
|
|
9013
|
+
}), Ql(oi)));
|
|
9010
9014
|
}
|
|
9011
9015
|
constructor() {
|
|
9012
9016
|
super(), document.doctype === null && console.warn(
|
|
@@ -9019,7 +9023,7 @@ const Bo = /* @__PURE__ */ new Set(), Zs = (o) => class extends jt(o) {
|
|
|
9019
9023
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9020
9024
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9021
9025
|
*/
|
|
9022
|
-
class
|
|
9026
|
+
class ec {
|
|
9023
9027
|
constructor(t, e) {
|
|
9024
9028
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9025
9029
|
this._schedule();
|
|
@@ -9069,9 +9073,9 @@ class Ql {
|
|
|
9069
9073
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9070
9074
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9071
9075
|
*/
|
|
9072
|
-
let
|
|
9073
|
-
function
|
|
9074
|
-
return
|
|
9076
|
+
let tc = 0;
|
|
9077
|
+
function er() {
|
|
9078
|
+
return tc++;
|
|
9075
9079
|
}
|
|
9076
9080
|
/**
|
|
9077
9081
|
* @license
|
|
@@ -9088,7 +9092,7 @@ class Re extends EventTarget {
|
|
|
9088
9092
|
* @protected
|
|
9089
9093
|
*/
|
|
9090
9094
|
static generateId(t, e = "default") {
|
|
9091
|
-
return `${e}-${t.localName}-${
|
|
9095
|
+
return `${e}-${t.localName}-${er()}`;
|
|
9092
9096
|
}
|
|
9093
9097
|
constructor(t, e, i, s = {}) {
|
|
9094
9098
|
super();
|
|
@@ -9180,8 +9184,8 @@ class Re extends EventTarget {
|
|
|
9180
9184
|
*/
|
|
9181
9185
|
observeSlot() {
|
|
9182
9186
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9183
|
-
this.__slotObserver = new
|
|
9184
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9187
|
+
this.__slotObserver = new ec(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9188
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Nl(l) && !n.includes(l));
|
|
9185
9189
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9186
9190
|
this.teardownNode(l);
|
|
9187
9191
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9195,7 +9199,7 @@ class Re extends EventTarget {
|
|
|
9195
9199
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9196
9200
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9197
9201
|
*/
|
|
9198
|
-
class
|
|
9202
|
+
class tr extends Re {
|
|
9199
9203
|
constructor(t) {
|
|
9200
9204
|
super(t, "tooltip"), this.setTarget(t);
|
|
9201
9205
|
}
|
|
@@ -9296,7 +9300,7 @@ class er extends Re {
|
|
|
9296
9300
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9297
9301
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9298
9302
|
*/
|
|
9299
|
-
const
|
|
9303
|
+
const ic = P`
|
|
9300
9304
|
:host {
|
|
9301
9305
|
display: inline-block;
|
|
9302
9306
|
position: relative;
|
|
@@ -9356,7 +9360,7 @@ const tc = P`
|
|
|
9356
9360
|
outline-color: GrayText;
|
|
9357
9361
|
}
|
|
9358
9362
|
}
|
|
9359
|
-
`,
|
|
9363
|
+
`, oc = (o) => o`
|
|
9360
9364
|
<div class="vaadin-button-container">
|
|
9361
9365
|
<span part="prefix" aria-hidden="true">
|
|
9362
9366
|
<slot name="prefix"></slot>
|
|
@@ -9379,33 +9383,33 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9379
9383
|
Code distributed by Google as part of the polymer project is also
|
|
9380
9384
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9381
9385
|
*/
|
|
9382
|
-
const
|
|
9386
|
+
const sc = (o) => o, ir = typeof document.head.style.touchAction == "string", Pi = "__polymerGestures", si = "__polymerGesturesHandled", ki = "__polymerGesturesTouchAction", $o = 25, Yo = 5, rc = 2, nc = ["mousedown", "mousemove", "mouseup", "click"], ac = [0, 1, 4, 2], lc = function() {
|
|
9383
9387
|
try {
|
|
9384
9388
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9385
9389
|
} catch {
|
|
9386
9390
|
return !1;
|
|
9387
9391
|
}
|
|
9388
9392
|
}();
|
|
9389
|
-
function
|
|
9390
|
-
return
|
|
9393
|
+
function Ki(o) {
|
|
9394
|
+
return nc.indexOf(o) > -1;
|
|
9391
9395
|
}
|
|
9392
|
-
let
|
|
9396
|
+
let cc = !1;
|
|
9393
9397
|
(function() {
|
|
9394
9398
|
try {
|
|
9395
9399
|
const o = Object.defineProperty({}, "passive", {
|
|
9396
9400
|
// eslint-disable-next-line getter-return
|
|
9397
9401
|
get() {
|
|
9398
|
-
|
|
9402
|
+
cc = !0;
|
|
9399
9403
|
}
|
|
9400
9404
|
});
|
|
9401
9405
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9402
9406
|
} catch {
|
|
9403
9407
|
}
|
|
9404
9408
|
})();
|
|
9405
|
-
function
|
|
9406
|
-
|
|
9409
|
+
function uc(o) {
|
|
9410
|
+
Ki(o);
|
|
9407
9411
|
}
|
|
9408
|
-
const
|
|
9412
|
+
const dc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), hc = {
|
|
9409
9413
|
button: !0,
|
|
9410
9414
|
command: !0,
|
|
9411
9415
|
fieldset: !0,
|
|
@@ -9418,15 +9422,15 @@ const uc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), dc = {
|
|
|
9418
9422
|
};
|
|
9419
9423
|
function He(o) {
|
|
9420
9424
|
const t = o.type;
|
|
9421
|
-
if (!
|
|
9425
|
+
if (!Ki(t))
|
|
9422
9426
|
return !1;
|
|
9423
9427
|
if (t === "mousemove") {
|
|
9424
9428
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9425
|
-
return o instanceof window.MouseEvent && !
|
|
9429
|
+
return o instanceof window.MouseEvent && !lc && (i = ac[o.which] || 0), !!(i & 1);
|
|
9426
9430
|
}
|
|
9427
9431
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9428
9432
|
}
|
|
9429
|
-
function
|
|
9433
|
+
function pc(o) {
|
|
9430
9434
|
if (o.type === "click") {
|
|
9431
9435
|
if (o.detail === 0)
|
|
9432
9436
|
return !0;
|
|
@@ -9450,9 +9454,9 @@ const Se = {
|
|
|
9450
9454
|
scrollDecided: !1
|
|
9451
9455
|
}
|
|
9452
9456
|
};
|
|
9453
|
-
function
|
|
9457
|
+
function fc(o) {
|
|
9454
9458
|
let t = "auto";
|
|
9455
|
-
const e =
|
|
9459
|
+
const e = sr(o);
|
|
9456
9460
|
for (let i = 0, s; i < e.length; i++)
|
|
9457
9461
|
if (s = e[i], s[ki]) {
|
|
9458
9462
|
t = s[ki];
|
|
@@ -9460,14 +9464,14 @@ function pc(o) {
|
|
|
9460
9464
|
}
|
|
9461
9465
|
return t;
|
|
9462
9466
|
}
|
|
9463
|
-
function
|
|
9467
|
+
function or(o, t, e) {
|
|
9464
9468
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9465
9469
|
}
|
|
9466
9470
|
function Xe(o) {
|
|
9467
9471
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9468
9472
|
}
|
|
9469
|
-
const
|
|
9470
|
-
function
|
|
9473
|
+
const sr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Gi = {}, Be = [];
|
|
9474
|
+
function mc(o, t) {
|
|
9471
9475
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9472
9476
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9473
9477
|
const s = i;
|
|
@@ -9478,13 +9482,13 @@ function fc(o, t) {
|
|
|
9478
9482
|
return e;
|
|
9479
9483
|
}
|
|
9480
9484
|
function Oe(o) {
|
|
9481
|
-
const t =
|
|
9485
|
+
const t = sr(
|
|
9482
9486
|
/** @type {?Event} */
|
|
9483
9487
|
o
|
|
9484
9488
|
);
|
|
9485
9489
|
return t.length > 0 ? t[0] : o.target;
|
|
9486
9490
|
}
|
|
9487
|
-
function
|
|
9491
|
+
function _c(o) {
|
|
9488
9492
|
const t = o.type, i = o.currentTarget[Pi];
|
|
9489
9493
|
if (!i)
|
|
9490
9494
|
return;
|
|
@@ -9495,7 +9499,7 @@ function mc(o) {
|
|
|
9495
9499
|
const n = o.changedTouches[0];
|
|
9496
9500
|
if (t === "touchstart" && o.touches.length === 1 && (Se.touch.id = n.identifier), Se.touch.id !== n.identifier)
|
|
9497
9501
|
return;
|
|
9498
|
-
|
|
9502
|
+
ir || (t === "touchstart" || t === "touchmove") && gc(o);
|
|
9499
9503
|
}
|
|
9500
9504
|
const r = o[si];
|
|
9501
9505
|
if (!r.skip) {
|
|
@@ -9505,7 +9509,7 @@ function mc(o) {
|
|
|
9505
9509
|
a = Be[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9506
9510
|
}
|
|
9507
9511
|
}
|
|
9508
|
-
function
|
|
9512
|
+
function gc(o) {
|
|
9509
9513
|
const t = o.changedTouches[0], e = o.type;
|
|
9510
9514
|
if (e === "touchstart")
|
|
9511
9515
|
Se.touch.x = t.clientX, Se.touch.y = t.clientY, Se.touch.scrollDecided = !1;
|
|
@@ -9513,29 +9517,29 @@ function _c(o) {
|
|
|
9513
9517
|
if (Se.touch.scrollDecided)
|
|
9514
9518
|
return;
|
|
9515
9519
|
Se.touch.scrollDecided = !0;
|
|
9516
|
-
const i =
|
|
9520
|
+
const i = fc(o);
|
|
9517
9521
|
let s = !1;
|
|
9518
9522
|
const r = Math.abs(Se.touch.x - t.clientX), n = Math.abs(Se.touch.y - t.clientY);
|
|
9519
9523
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Rt("track");
|
|
9520
9524
|
}
|
|
9521
9525
|
}
|
|
9522
9526
|
function ge(o, t, e) {
|
|
9523
|
-
return
|
|
9527
|
+
return Gi[t] ? (bc(o, t, e), !0) : !1;
|
|
9524
9528
|
}
|
|
9525
|
-
function
|
|
9526
|
-
const i =
|
|
9529
|
+
function bc(o, t, e) {
|
|
9530
|
+
const i = Gi[t], s = i.deps, r = i.name;
|
|
9527
9531
|
let n = o[Pi];
|
|
9528
9532
|
n || (o[Pi] = n = {});
|
|
9529
9533
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9530
|
-
l = s[a], !(
|
|
9531
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9534
|
+
l = s[a], !(dc && Ki(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, _c, uc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9535
|
+
o.addEventListener(t, e), i.touchAction && rr(o, i.touchAction);
|
|
9532
9536
|
}
|
|
9533
|
-
function
|
|
9537
|
+
function Ji(o) {
|
|
9534
9538
|
Be.push(o), o.emits.forEach((t) => {
|
|
9535
|
-
|
|
9539
|
+
Gi[t] = o;
|
|
9536
9540
|
});
|
|
9537
9541
|
}
|
|
9538
|
-
function
|
|
9542
|
+
function vc(o) {
|
|
9539
9543
|
for (let t = 0, e; t < Be.length; t++) {
|
|
9540
9544
|
e = Be[t];
|
|
9541
9545
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9544,14 +9548,14 @@ function bc(o) {
|
|
|
9544
9548
|
}
|
|
9545
9549
|
return null;
|
|
9546
9550
|
}
|
|
9547
|
-
function
|
|
9548
|
-
|
|
9551
|
+
function rr(o, t) {
|
|
9552
|
+
ir && o instanceof HTMLElement && Zl.run(() => {
|
|
9549
9553
|
o.style.touchAction = t;
|
|
9550
9554
|
}), o[ki] = t;
|
|
9551
9555
|
}
|
|
9552
|
-
function
|
|
9556
|
+
function Xi(o, t, e) {
|
|
9553
9557
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9554
|
-
if (i.detail = e,
|
|
9558
|
+
if (i.detail = e, sc(
|
|
9555
9559
|
/** @type {!Node} */
|
|
9556
9560
|
o
|
|
9557
9561
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9560,10 +9564,10 @@ function Ji(o, t, e) {
|
|
|
9560
9564
|
}
|
|
9561
9565
|
}
|
|
9562
9566
|
function Rt(o) {
|
|
9563
|
-
const t =
|
|
9567
|
+
const t = vc(o);
|
|
9564
9568
|
t.info && (t.info.prevent = !0);
|
|
9565
9569
|
}
|
|
9566
|
-
|
|
9570
|
+
Ji({
|
|
9567
9571
|
name: "downup",
|
|
9568
9572
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9569
9573
|
flow: {
|
|
@@ -9595,7 +9599,7 @@ Gi({
|
|
|
9595
9599
|
}, s = (r) => {
|
|
9596
9600
|
He(r) && at("up", t, r), Xe(e.info);
|
|
9597
9601
|
};
|
|
9598
|
-
|
|
9602
|
+
or(this.info, i, s), at("down", t, o);
|
|
9599
9603
|
},
|
|
9600
9604
|
/**
|
|
9601
9605
|
* @this {GestureRecognizer}
|
|
@@ -9615,7 +9619,7 @@ Gi({
|
|
|
9615
9619
|
}
|
|
9616
9620
|
});
|
|
9617
9621
|
function at(o, t, e, i) {
|
|
9618
|
-
t &&
|
|
9622
|
+
t && Xi(t, o, {
|
|
9619
9623
|
x: e.clientX,
|
|
9620
9624
|
y: e.clientY,
|
|
9621
9625
|
sourceEvent: e,
|
|
@@ -9625,7 +9629,7 @@ function at(o, t, e, i) {
|
|
|
9625
9629
|
}
|
|
9626
9630
|
});
|
|
9627
9631
|
}
|
|
9628
|
-
|
|
9632
|
+
Ji({
|
|
9629
9633
|
name: "track",
|
|
9630
9634
|
touchAction: "none",
|
|
9631
9635
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9642,7 +9646,7 @@ Gi({
|
|
|
9642
9646
|
moves: [],
|
|
9643
9647
|
/** @this {GestureInfo} */
|
|
9644
9648
|
addMove(o) {
|
|
9645
|
-
this.moves.length >
|
|
9649
|
+
this.moves.length > rc && this.moves.shift(), this.moves.push(o);
|
|
9646
9650
|
},
|
|
9647
9651
|
movefn: null,
|
|
9648
9652
|
upfn: null,
|
|
@@ -9665,11 +9669,11 @@ Gi({
|
|
|
9665
9669
|
return;
|
|
9666
9670
|
const t = Oe(o), e = this, i = (r) => {
|
|
9667
9671
|
const n = r.clientX, a = r.clientY;
|
|
9668
|
-
|
|
9672
|
+
jo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Rt("tap"), e.info.addMove({ x: n, y: a }), He(r) || (e.info.state = "end", Xe(e.info)), t && ri(e.info, t, r), e.info.started = !0);
|
|
9669
9673
|
}, s = (r) => {
|
|
9670
9674
|
e.info.started && i(r), Xe(e.info);
|
|
9671
9675
|
};
|
|
9672
|
-
|
|
9676
|
+
or(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9673
9677
|
},
|
|
9674
9678
|
/**
|
|
9675
9679
|
* @this {GestureRecognizer}
|
|
@@ -9687,7 +9691,7 @@ Gi({
|
|
|
9687
9691
|
*/
|
|
9688
9692
|
touchmove(o) {
|
|
9689
9693
|
const t = Oe(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9690
|
-
|
|
9694
|
+
jo(this.info, i, s) && (this.info.state === "start" && Rt("tap"), this.info.addMove({ x: i, y: s }), ri(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9691
9695
|
},
|
|
9692
9696
|
/**
|
|
9693
9697
|
* @this {GestureRecognizer}
|
|
@@ -9699,20 +9703,20 @@ Gi({
|
|
|
9699
9703
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), ri(this.info, t, e));
|
|
9700
9704
|
}
|
|
9701
9705
|
});
|
|
9702
|
-
function
|
|
9706
|
+
function jo(o, t, e) {
|
|
9703
9707
|
if (o.prevent)
|
|
9704
9708
|
return !1;
|
|
9705
9709
|
if (o.started)
|
|
9706
9710
|
return !0;
|
|
9707
9711
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9708
|
-
return i >=
|
|
9712
|
+
return i >= Yo || s >= Yo;
|
|
9709
9713
|
}
|
|
9710
9714
|
function ri(o, t, e) {
|
|
9711
9715
|
if (!t)
|
|
9712
9716
|
return;
|
|
9713
9717
|
const i = o.moves[o.moves.length - 2], s = o.moves[o.moves.length - 1], r = s.x - o.x, n = s.y - o.y;
|
|
9714
9718
|
let a, l = 0;
|
|
9715
|
-
i && (a = s.x - i.x, l = s.y - i.y),
|
|
9719
|
+
i && (a = s.x - i.x, l = s.y - i.y), Xi(t, "track", {
|
|
9716
9720
|
state: o.state,
|
|
9717
9721
|
x: e.clientX,
|
|
9718
9722
|
y: e.clientY,
|
|
@@ -9722,11 +9726,11 @@ function ri(o, t, e) {
|
|
|
9722
9726
|
ddy: l,
|
|
9723
9727
|
sourceEvent: e,
|
|
9724
9728
|
hover() {
|
|
9725
|
-
return
|
|
9729
|
+
return mc(e.clientX, e.clientY);
|
|
9726
9730
|
}
|
|
9727
9731
|
});
|
|
9728
9732
|
}
|
|
9729
|
-
|
|
9733
|
+
Ji({
|
|
9730
9734
|
name: "tap",
|
|
9731
9735
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9732
9736
|
flow: {
|
|
@@ -9760,7 +9764,7 @@ Gi({
|
|
|
9760
9764
|
* @return {void}
|
|
9761
9765
|
*/
|
|
9762
9766
|
click(o) {
|
|
9763
|
-
He(o) &&
|
|
9767
|
+
He(o) && Vo(this.info, o);
|
|
9764
9768
|
},
|
|
9765
9769
|
/**
|
|
9766
9770
|
* @this {GestureRecognizer}
|
|
@@ -9777,15 +9781,15 @@ Gi({
|
|
|
9777
9781
|
* @return {void}
|
|
9778
9782
|
*/
|
|
9779
9783
|
touchend(o) {
|
|
9780
|
-
|
|
9784
|
+
Vo(this.info, o.changedTouches[0], o);
|
|
9781
9785
|
}
|
|
9782
9786
|
});
|
|
9783
|
-
function
|
|
9787
|
+
function Vo(o, t, e) {
|
|
9784
9788
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Oe(e || t);
|
|
9785
|
-
!r ||
|
|
9789
|
+
!r || hc[
|
|
9786
9790
|
/** @type {!HTMLElement} */
|
|
9787
9791
|
r.localName
|
|
9788
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9792
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= $o && s <= $o || pc(t)) && (o.prevent || Xi(r, "tap", {
|
|
9789
9793
|
x: t.clientX,
|
|
9790
9794
|
y: t.clientY,
|
|
9791
9795
|
sourceEvent: t,
|
|
@@ -9797,7 +9801,7 @@ function jo(o, t, e) {
|
|
|
9797
9801
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9798
9802
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9799
9803
|
*/
|
|
9800
|
-
const
|
|
9804
|
+
const nr = V(
|
|
9801
9805
|
(o) => class extends o {
|
|
9802
9806
|
static get properties() {
|
|
9803
9807
|
return {
|
|
@@ -9904,7 +9908,7 @@ const Wt = V(
|
|
|
9904
9908
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9905
9909
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9906
9910
|
*/
|
|
9907
|
-
const
|
|
9911
|
+
const yc = (o) => class extends nr(Wt(o)) {
|
|
9908
9912
|
/**
|
|
9909
9913
|
* An array of activation keys.
|
|
9910
9914
|
*
|
|
@@ -9967,14 +9971,14 @@ const vc = (o) => class extends rr(Wt(o)) {
|
|
|
9967
9971
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9968
9972
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9969
9973
|
*/
|
|
9970
|
-
const
|
|
9974
|
+
const Zi = V(
|
|
9971
9975
|
(o) => class extends o {
|
|
9972
9976
|
/**
|
|
9973
9977
|
* @protected
|
|
9974
9978
|
* @return {boolean}
|
|
9975
9979
|
*/
|
|
9976
9980
|
get _keyboardActive() {
|
|
9977
|
-
return
|
|
9981
|
+
return Wi();
|
|
9978
9982
|
}
|
|
9979
9983
|
/** @protected */
|
|
9980
9984
|
ready() {
|
|
@@ -10024,7 +10028,7 @@ const Xi = V(
|
|
|
10024
10028
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10025
10029
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10026
10030
|
*/
|
|
10027
|
-
const
|
|
10031
|
+
const ar = (o) => class extends nr(o) {
|
|
10028
10032
|
static get properties() {
|
|
10029
10033
|
return {
|
|
10030
10034
|
/**
|
|
@@ -10075,7 +10079,7 @@ const nr = (o) => class extends rr(o) {
|
|
|
10075
10079
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10076
10080
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10077
10081
|
*/
|
|
10078
|
-
const
|
|
10082
|
+
const xc = (o) => class extends yc(ar(Zi(o))) {
|
|
10079
10083
|
static get properties() {
|
|
10080
10084
|
return {
|
|
10081
10085
|
/**
|
|
@@ -10130,26 +10134,26 @@ const yc = (o) => class extends vc(nr(Xi(o))) {
|
|
|
10130
10134
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10131
10135
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10132
10136
|
*/
|
|
10133
|
-
L("vaadin-button",
|
|
10134
|
-
class
|
|
10137
|
+
L("vaadin-button", ic, { moduleId: "vaadin-button-styles" });
|
|
10138
|
+
class wc extends xc(Qs(Ye(ot(Ie)))) {
|
|
10135
10139
|
static get is() {
|
|
10136
10140
|
return "vaadin-button";
|
|
10137
10141
|
}
|
|
10138
10142
|
static get template() {
|
|
10139
|
-
return
|
|
10143
|
+
return oc(Ve);
|
|
10140
10144
|
}
|
|
10141
10145
|
/** @protected */
|
|
10142
10146
|
ready() {
|
|
10143
|
-
super.ready(), this._tooltipController = new
|
|
10147
|
+
super.ready(), this._tooltipController = new tr(this), this.addController(this._tooltipController);
|
|
10144
10148
|
}
|
|
10145
10149
|
}
|
|
10146
|
-
be(
|
|
10150
|
+
be(wc);
|
|
10147
10151
|
/**
|
|
10148
10152
|
* @license
|
|
10149
10153
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10150
10154
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10151
10155
|
*/
|
|
10152
|
-
function
|
|
10156
|
+
function Ec(o) {
|
|
10153
10157
|
let t = o.getDay();
|
|
10154
10158
|
t === 0 && (t = 7);
|
|
10155
10159
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10164,7 +10168,7 @@ function Di(o) {
|
|
|
10164
10168
|
function Ce(o, t, e = Di) {
|
|
10165
10169
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10166
10170
|
}
|
|
10167
|
-
function
|
|
10171
|
+
function Qi(o) {
|
|
10168
10172
|
return {
|
|
10169
10173
|
day: o.getDate(),
|
|
10170
10174
|
month: o.getMonth(),
|
|
@@ -10174,12 +10178,12 @@ function Zi(o) {
|
|
|
10174
10178
|
function tt(o, t, e, i) {
|
|
10175
10179
|
let s = !1;
|
|
10176
10180
|
if (typeof i == "function" && o) {
|
|
10177
|
-
const r =
|
|
10181
|
+
const r = Qi(o);
|
|
10178
10182
|
s = i(r);
|
|
10179
10183
|
}
|
|
10180
10184
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10181
10185
|
}
|
|
10182
|
-
function
|
|
10186
|
+
function lr(o, t) {
|
|
10183
10187
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10184
10188
|
if (!i)
|
|
10185
10189
|
return e;
|
|
@@ -10189,11 +10193,11 @@ function ar(o, t) {
|
|
|
10189
10193
|
return s < r ? i : e;
|
|
10190
10194
|
});
|
|
10191
10195
|
}
|
|
10192
|
-
function
|
|
10196
|
+
function cr(o) {
|
|
10193
10197
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10194
10198
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10195
10199
|
}
|
|
10196
|
-
function
|
|
10200
|
+
function Sc(o, t, e = 0, i = 1) {
|
|
10197
10201
|
if (t > 99)
|
|
10198
10202
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10199
10203
|
if (t < 0)
|
|
@@ -10208,15 +10212,15 @@ function lt(o) {
|
|
|
10208
10212
|
const e = new Date(0, 0);
|
|
10209
10213
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10210
10214
|
}
|
|
10211
|
-
function
|
|
10215
|
+
function Ac(o) {
|
|
10212
10216
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10213
10217
|
let e = "", i = "0000", s = o.year;
|
|
10214
10218
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10215
10219
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10216
10220
|
return [r, n, a].join("-");
|
|
10217
10221
|
}
|
|
10218
|
-
function
|
|
10219
|
-
return o instanceof Date ?
|
|
10222
|
+
function Cc(o) {
|
|
10223
|
+
return o instanceof Date ? Ac({
|
|
10220
10224
|
year: o.getFullYear(),
|
|
10221
10225
|
month: o.getMonth(),
|
|
10222
10226
|
day: o.getDate()
|
|
@@ -10323,9 +10327,9 @@ class Bt {
|
|
|
10323
10327
|
}
|
|
10324
10328
|
}
|
|
10325
10329
|
let xt = /* @__PURE__ */ new Set();
|
|
10326
|
-
const
|
|
10330
|
+
const Pc = function(o) {
|
|
10327
10331
|
xt.add(o);
|
|
10328
|
-
},
|
|
10332
|
+
}, kc = function() {
|
|
10329
10333
|
const o = !!xt.size;
|
|
10330
10334
|
return xt.forEach((t) => {
|
|
10331
10335
|
try {
|
|
@@ -10346,10 +10350,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10346
10350
|
Code distributed by Google as part of the polymer project is also
|
|
10347
10351
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10348
10352
|
*/
|
|
10349
|
-
const
|
|
10353
|
+
const eo = function() {
|
|
10350
10354
|
let o, t;
|
|
10351
10355
|
do
|
|
10352
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10356
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = kc();
|
|
10353
10357
|
while (o || t);
|
|
10354
10358
|
};
|
|
10355
10359
|
/**
|
|
@@ -10357,8 +10361,8 @@ const Qi = function() {
|
|
|
10357
10361
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10358
10362
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10359
10363
|
*/
|
|
10360
|
-
const
|
|
10361
|
-
|
|
10364
|
+
const ur = document.createElement("template");
|
|
10365
|
+
ur.innerHTML = `
|
|
10362
10366
|
<style>
|
|
10363
10367
|
:host {
|
|
10364
10368
|
display: block;
|
|
@@ -10409,9 +10413,9 @@ cr.innerHTML = `
|
|
|
10409
10413
|
<div id="fullHeight"></div>
|
|
10410
10414
|
</div>
|
|
10411
10415
|
`;
|
|
10412
|
-
class
|
|
10416
|
+
class dr extends HTMLElement {
|
|
10413
10417
|
constructor() {
|
|
10414
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10418
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(ur.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10415
10419
|
}
|
|
10416
10420
|
/**
|
|
10417
10421
|
* @return {boolean}
|
|
@@ -10471,7 +10475,7 @@ class ur extends HTMLElement {
|
|
|
10471
10475
|
* waiting for the debouncer to resolve.
|
|
10472
10476
|
*/
|
|
10473
10477
|
forceUpdate() {
|
|
10474
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10478
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), eo();
|
|
10475
10479
|
}
|
|
10476
10480
|
/**
|
|
10477
10481
|
* @protected
|
|
@@ -10527,7 +10531,7 @@ class ur extends HTMLElement {
|
|
|
10527
10531
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10528
10532
|
const s = document.createElement("div");
|
|
10529
10533
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10530
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10534
|
+
const r = `vaadin-infinite-scroller-item-content-${er()}`, n = document.createElement("slot");
|
|
10531
10535
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10532
10536
|
}
|
|
10533
10537
|
}), requestAnimationFrame(() => {
|
|
@@ -10568,8 +10572,8 @@ class ur extends HTMLElement {
|
|
|
10568
10572
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10569
10573
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10570
10574
|
*/
|
|
10571
|
-
const
|
|
10572
|
-
|
|
10575
|
+
const hr = document.createElement("template");
|
|
10576
|
+
hr.innerHTML = `
|
|
10573
10577
|
<style>
|
|
10574
10578
|
:host {
|
|
10575
10579
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10582,12 +10586,12 @@ dr.innerHTML = `
|
|
|
10582
10586
|
}
|
|
10583
10587
|
</style>
|
|
10584
10588
|
`;
|
|
10585
|
-
class
|
|
10589
|
+
class Dc extends dr {
|
|
10586
10590
|
static get is() {
|
|
10587
10591
|
return "vaadin-date-picker-month-scroller";
|
|
10588
10592
|
}
|
|
10589
10593
|
constructor() {
|
|
10590
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10594
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(hr.content.cloneNode(!0));
|
|
10591
10595
|
}
|
|
10592
10596
|
/**
|
|
10593
10597
|
* @protected
|
|
@@ -10603,17 +10607,17 @@ class kc extends ur {
|
|
|
10603
10607
|
* @override
|
|
10604
10608
|
*/
|
|
10605
10609
|
_updateElement(t, e) {
|
|
10606
|
-
t.month =
|
|
10610
|
+
t.month = cr(e);
|
|
10607
10611
|
}
|
|
10608
10612
|
}
|
|
10609
|
-
be(
|
|
10613
|
+
be(Dc);
|
|
10610
10614
|
/**
|
|
10611
10615
|
* @license
|
|
10612
10616
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10613
10617
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10614
10618
|
*/
|
|
10615
|
-
const
|
|
10616
|
-
|
|
10619
|
+
const pr = document.createElement("template");
|
|
10620
|
+
pr.innerHTML = `
|
|
10617
10621
|
<style>
|
|
10618
10622
|
:host {
|
|
10619
10623
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10648,12 +10652,12 @@ hr.innerHTML = `
|
|
|
10648
10652
|
}
|
|
10649
10653
|
</style>
|
|
10650
10654
|
`;
|
|
10651
|
-
class
|
|
10655
|
+
class Tc extends dr {
|
|
10652
10656
|
static get is() {
|
|
10653
10657
|
return "vaadin-date-picker-year-scroller";
|
|
10654
10658
|
}
|
|
10655
10659
|
constructor() {
|
|
10656
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10660
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(pr.content.cloneNode(!0));
|
|
10657
10661
|
}
|
|
10658
10662
|
/**
|
|
10659
10663
|
* @protected
|
|
@@ -10677,13 +10681,13 @@ class Dc extends ur {
|
|
|
10677
10681
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10678
10682
|
}
|
|
10679
10683
|
}
|
|
10680
|
-
be(
|
|
10684
|
+
be(Tc);
|
|
10681
10685
|
/**
|
|
10682
10686
|
* @license
|
|
10683
10687
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10684
10688
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10685
10689
|
*/
|
|
10686
|
-
const
|
|
10690
|
+
const Mc = (o) => class extends o {
|
|
10687
10691
|
static get properties() {
|
|
10688
10692
|
return {
|
|
10689
10693
|
year: {
|
|
@@ -10709,7 +10713,7 @@ const Tc = (o) => class extends o {
|
|
|
10709
10713
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10710
10714
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10711
10715
|
*/
|
|
10712
|
-
class
|
|
10716
|
+
class Oc extends Ye(Mc(Ie)) {
|
|
10713
10717
|
static get is() {
|
|
10714
10718
|
return "vaadin-date-picker-year";
|
|
10715
10719
|
}
|
|
@@ -10726,7 +10730,7 @@ class Mc extends Ye(Tc(Ie)) {
|
|
|
10726
10730
|
`;
|
|
10727
10731
|
}
|
|
10728
10732
|
}
|
|
10729
|
-
be(
|
|
10733
|
+
be(Oc);
|
|
10730
10734
|
/**
|
|
10731
10735
|
@license
|
|
10732
10736
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10736,13 +10740,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10736
10740
|
Code distributed by Google as part of the polymer project is also
|
|
10737
10741
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10738
10742
|
*/
|
|
10739
|
-
function
|
|
10743
|
+
function to(o, t, e, i, s) {
|
|
10740
10744
|
let r;
|
|
10741
10745
|
s && (r = typeof e == "object" && e !== null, r && (i = o.__dataTemp[t]));
|
|
10742
10746
|
let n = i !== e && (i === i || e === e);
|
|
10743
10747
|
return r && n && (o.__dataTemp[t] = e), n;
|
|
10744
10748
|
}
|
|
10745
|
-
const
|
|
10749
|
+
const io = V((o) => {
|
|
10746
10750
|
class t extends o {
|
|
10747
10751
|
/**
|
|
10748
10752
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10762,11 +10766,11 @@ const to = V((o) => {
|
|
|
10762
10766
|
* @protected
|
|
10763
10767
|
*/
|
|
10764
10768
|
_shouldPropertyChange(i, s, r) {
|
|
10765
|
-
return
|
|
10769
|
+
return to(this, i, s, r, !0);
|
|
10766
10770
|
}
|
|
10767
10771
|
}
|
|
10768
10772
|
return t;
|
|
10769
|
-
}),
|
|
10773
|
+
}), Ic = V((o) => {
|
|
10770
10774
|
class t extends o {
|
|
10771
10775
|
/** @nocollapse */
|
|
10772
10776
|
static get properties() {
|
|
@@ -10798,12 +10802,12 @@ const to = V((o) => {
|
|
|
10798
10802
|
* @protected
|
|
10799
10803
|
*/
|
|
10800
10804
|
_shouldPropertyChange(i, s, r) {
|
|
10801
|
-
return
|
|
10805
|
+
return to(this, i, s, r, this.mutableData);
|
|
10802
10806
|
}
|
|
10803
10807
|
}
|
|
10804
10808
|
return t;
|
|
10805
10809
|
});
|
|
10806
|
-
|
|
10810
|
+
io._mutablePropertyChange = to;
|
|
10807
10811
|
/**
|
|
10808
10812
|
@license
|
|
10809
10813
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10823,13 +10827,13 @@ Mi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10823
10827
|
writable: !0
|
|
10824
10828
|
}
|
|
10825
10829
|
});
|
|
10826
|
-
const
|
|
10827
|
-
function
|
|
10830
|
+
const fr = Vi(Mi), Fc = io(fr);
|
|
10831
|
+
function Nc(o, t) {
|
|
10828
10832
|
Ti = o, Object.setPrototypeOf(o, t.prototype), new t(), Ti = null;
|
|
10829
10833
|
}
|
|
10830
|
-
const
|
|
10834
|
+
const zc = Vi(class {
|
|
10831
10835
|
});
|
|
10832
|
-
function
|
|
10836
|
+
function Lc(o, t) {
|
|
10833
10837
|
for (let e = 0; e < t.length; e++) {
|
|
10834
10838
|
let i = t[e];
|
|
10835
10839
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10847,7 +10851,7 @@ function zc(o, t) {
|
|
|
10847
10851
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10848
10852
|
}
|
|
10849
10853
|
}
|
|
10850
|
-
class Fe extends
|
|
10854
|
+
class Fe extends zc {
|
|
10851
10855
|
constructor(t) {
|
|
10852
10856
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10853
10857
|
let e = [];
|
|
@@ -10916,7 +10920,7 @@ class Fe extends Nc {
|
|
|
10916
10920
|
* @protected
|
|
10917
10921
|
*/
|
|
10918
10922
|
_showHideChildren(t) {
|
|
10919
|
-
|
|
10923
|
+
Lc(t, this.children);
|
|
10920
10924
|
}
|
|
10921
10925
|
/**
|
|
10922
10926
|
* Overrides default property-effects implementation to intercept
|
|
@@ -10969,31 +10973,31 @@ Fe.prototype.__templatizeOptions;
|
|
|
10969
10973
|
Fe.prototype._methodHost;
|
|
10970
10974
|
Fe.prototype.__templatizeOwner;
|
|
10971
10975
|
Fe.prototype.__hostProps;
|
|
10972
|
-
const
|
|
10976
|
+
const Rc = io(
|
|
10973
10977
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10974
10978
|
// TemplateInstanceBase is a constructor function.
|
|
10975
10979
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10976
10980
|
Fe
|
|
10977
10981
|
);
|
|
10978
|
-
function
|
|
10982
|
+
function Uo(o) {
|
|
10979
10983
|
let t = o.__dataHost;
|
|
10980
10984
|
return t && t._methodHost || t;
|
|
10981
10985
|
}
|
|
10982
|
-
function
|
|
10983
|
-
let i = e.mutableData ?
|
|
10986
|
+
function Bc(o, t, e) {
|
|
10987
|
+
let i = e.mutableData ? Rc : Fe;
|
|
10984
10988
|
Oi.mixin && (i = Oi.mixin(i));
|
|
10985
10989
|
let s = class extends i {
|
|
10986
10990
|
};
|
|
10987
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
10991
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Yc(s, o, t, e), s;
|
|
10988
10992
|
}
|
|
10989
|
-
function
|
|
10993
|
+
function Hc(o, t, e, i) {
|
|
10990
10994
|
let s = e.forwardHostProp;
|
|
10991
10995
|
if (s && t.hasHostProps) {
|
|
10992
10996
|
const r = o.localName == "template";
|
|
10993
10997
|
let n = t.templatizeTemplateClass;
|
|
10994
10998
|
if (!n) {
|
|
10995
10999
|
if (r) {
|
|
10996
|
-
let l = e.mutableData ?
|
|
11000
|
+
let l = e.mutableData ? Fc : fr;
|
|
10997
11001
|
class c extends l {
|
|
10998
11002
|
}
|
|
10999
11003
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11008,12 +11012,12 @@ function Bc(o, t, e, i) {
|
|
|
11008
11012
|
n.prototype._addPropertyEffect(
|
|
11009
11013
|
"_host_" + l,
|
|
11010
11014
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11011
|
-
{ fn:
|
|
11015
|
+
{ fn: $c(l, s) }
|
|
11012
11016
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11013
|
-
|
|
11017
|
+
vs && i && Uc(t, e, i);
|
|
11014
11018
|
}
|
|
11015
11019
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11016
|
-
|
|
11020
|
+
Nc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11017
11021
|
else {
|
|
11018
11022
|
Object.setPrototypeOf(o, n.prototype);
|
|
11019
11023
|
const a = t.hostProps;
|
|
@@ -11025,7 +11029,7 @@ function Bc(o, t, e, i) {
|
|
|
11025
11029
|
}
|
|
11026
11030
|
}
|
|
11027
11031
|
}
|
|
11028
|
-
function
|
|
11032
|
+
function $c(o, t) {
|
|
11029
11033
|
return function(i, s, r) {
|
|
11030
11034
|
t.call(
|
|
11031
11035
|
i.__templatizeOwner,
|
|
@@ -11034,7 +11038,7 @@ function Hc(o, t) {
|
|
|
11034
11038
|
);
|
|
11035
11039
|
};
|
|
11036
11040
|
}
|
|
11037
|
-
function
|
|
11041
|
+
function Yc(o, t, e, i) {
|
|
11038
11042
|
let s = e.hostProps || {};
|
|
11039
11043
|
for (let r in i.instanceProps) {
|
|
11040
11044
|
delete s[r];
|
|
@@ -11042,7 +11046,7 @@ function $c(o, t, e, i) {
|
|
|
11042
11046
|
n && o.prototype._addPropertyEffect(
|
|
11043
11047
|
r,
|
|
11044
11048
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11045
|
-
{ fn:
|
|
11049
|
+
{ fn: jc(r, n) }
|
|
11046
11050
|
);
|
|
11047
11051
|
}
|
|
11048
11052
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11050,10 +11054,10 @@ function $c(o, t, e, i) {
|
|
|
11050
11054
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11051
11055
|
r,
|
|
11052
11056
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11053
|
-
{ fn:
|
|
11057
|
+
{ fn: Vc() }
|
|
11054
11058
|
);
|
|
11055
11059
|
}
|
|
11056
|
-
function
|
|
11060
|
+
function jc(o, t) {
|
|
11057
11061
|
return function(i, s, r) {
|
|
11058
11062
|
t.call(
|
|
11059
11063
|
i.__templatizeOwner,
|
|
@@ -11063,22 +11067,22 @@ function Yc(o, t) {
|
|
|
11063
11067
|
);
|
|
11064
11068
|
};
|
|
11065
11069
|
}
|
|
11066
|
-
function
|
|
11070
|
+
function Vc() {
|
|
11067
11071
|
return function(t, e, i) {
|
|
11068
11072
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11069
11073
|
};
|
|
11070
11074
|
}
|
|
11071
11075
|
function Oi(o, t, e) {
|
|
11072
|
-
if (Nt && !
|
|
11076
|
+
if (Nt && !Uo(o))
|
|
11073
11077
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11074
11078
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11075
11079
|
e || {}, o.__templatizeOwner)
|
|
11076
11080
|
throw new Error("A <template> can only be templatized once");
|
|
11077
11081
|
o.__templatizeOwner = t;
|
|
11078
11082
|
let s = (t ? t.constructor : Fe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11079
|
-
r || (r =
|
|
11080
|
-
const n =
|
|
11081
|
-
|
|
11083
|
+
r || (r = Bc(o, s, e), s.templatizeInstanceClass = r);
|
|
11084
|
+
const n = Uo(o);
|
|
11085
|
+
Hc(o, s, e, n);
|
|
11082
11086
|
let a = class extends r {
|
|
11083
11087
|
};
|
|
11084
11088
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11086,7 +11090,7 @@ function Oi(o, t, e) {
|
|
|
11086
11090
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11087
11091
|
a, a;
|
|
11088
11092
|
}
|
|
11089
|
-
function
|
|
11093
|
+
function Uc(o, t, e) {
|
|
11090
11094
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11091
11095
|
for (let n in s)
|
|
11092
11096
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11100,7 +11104,7 @@ function Vc(o, t, e) {
|
|
|
11100
11104
|
}
|
|
11101
11105
|
}
|
|
11102
11106
|
}
|
|
11103
|
-
function
|
|
11107
|
+
function Wc(o, t) {
|
|
11104
11108
|
let e;
|
|
11105
11109
|
for (; t; )
|
|
11106
11110
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11121,11 +11125,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11121
11125
|
Code distributed by Google as part of the polymer project is also
|
|
11122
11126
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11123
11127
|
*/
|
|
11124
|
-
let
|
|
11125
|
-
function
|
|
11126
|
-
if (
|
|
11127
|
-
if (!
|
|
11128
|
-
|
|
11128
|
+
let Wo = !1;
|
|
11129
|
+
function qc() {
|
|
11130
|
+
if (bs && !gs) {
|
|
11131
|
+
if (!Wo) {
|
|
11132
|
+
Wo = !0;
|
|
11129
11133
|
const o = document.createElement("style");
|
|
11130
11134
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11131
11135
|
}
|
|
@@ -11142,8 +11146,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11142
11146
|
Code distributed by Google as part of the polymer project is also
|
|
11143
11147
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11144
11148
|
*/
|
|
11145
|
-
const
|
|
11146
|
-
class
|
|
11149
|
+
const Kc = Ic(Ie);
|
|
11150
|
+
class qo extends Kc {
|
|
11147
11151
|
// Not needed to find template; can be removed once the analyzer
|
|
11148
11152
|
// can find the tag name from customElements.define call
|
|
11149
11153
|
static get is() {
|
|
@@ -11238,7 +11242,7 @@ class Wo extends qc {
|
|
|
11238
11242
|
*/
|
|
11239
11243
|
renderedItemCount: {
|
|
11240
11244
|
type: Number,
|
|
11241
|
-
notify: !
|
|
11245
|
+
notify: !vo,
|
|
11242
11246
|
readOnly: !0
|
|
11243
11247
|
},
|
|
11244
11248
|
/**
|
|
@@ -11321,7 +11325,7 @@ class Wo extends qc {
|
|
|
11321
11325
|
* @return {void}
|
|
11322
11326
|
*/
|
|
11323
11327
|
connectedCallback() {
|
|
11324
|
-
if (super.connectedCallback(),
|
|
11328
|
+
if (super.connectedCallback(), qc() || (this.style.display = "none"), this.__isDetached) {
|
|
11325
11329
|
this.__isDetached = !1;
|
|
11326
11330
|
let t = K(K(this).parentNode);
|
|
11327
11331
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11371,7 +11375,7 @@ class Wo extends qc {
|
|
|
11371
11375
|
* @param {*} value Value to notify
|
|
11372
11376
|
*/
|
|
11373
11377
|
notifyInstanceProp: function(s, r, n) {
|
|
11374
|
-
if (
|
|
11378
|
+
if (Zn(this.as, r)) {
|
|
11375
11379
|
let a = s[this.itemsIndexAs];
|
|
11376
11380
|
r == this.as && (this.items[a] = n);
|
|
11377
11381
|
let l = bt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11427,9 +11431,9 @@ class Wo extends qc {
|
|
|
11427
11431
|
__debounceRender(t, e = 0) {
|
|
11428
11432
|
this.__renderDebouncer = Bt.debounce(
|
|
11429
11433
|
this.__renderDebouncer,
|
|
11430
|
-
e > 0 ?
|
|
11434
|
+
e > 0 ? sa.after(e) : Ds,
|
|
11431
11435
|
t.bind(this)
|
|
11432
|
-
),
|
|
11436
|
+
), Pc(this.__renderDebouncer);
|
|
11433
11437
|
}
|
|
11434
11438
|
/**
|
|
11435
11439
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11440,7 +11444,7 @@ class Wo extends qc {
|
|
|
11440
11444
|
* @return {void}
|
|
11441
11445
|
*/
|
|
11442
11446
|
render() {
|
|
11443
|
-
this.__debounceRender(this.__render),
|
|
11447
|
+
this.__debounceRender(this.__render), eo();
|
|
11444
11448
|
}
|
|
11445
11449
|
__render() {
|
|
11446
11450
|
if (!this.__ensureTemplatized())
|
|
@@ -11449,7 +11453,7 @@ class Wo extends qc {
|
|
|
11449
11453
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11450
11454
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11451
11455
|
this.__chunkingId = null, this.__continueChunking();
|
|
11452
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11456
|
+
})), this._setRenderedItemCount(this.__instances.length), (!vo || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11453
11457
|
bubbles: !0,
|
|
11454
11458
|
composed: !0
|
|
11455
11459
|
}));
|
|
@@ -11589,16 +11593,16 @@ class Wo extends qc {
|
|
|
11589
11593
|
* the element.
|
|
11590
11594
|
*/
|
|
11591
11595
|
modelForElement(t) {
|
|
11592
|
-
return
|
|
11596
|
+
return Wc(this.template, t);
|
|
11593
11597
|
}
|
|
11594
11598
|
}
|
|
11595
|
-
customElements.define(
|
|
11599
|
+
customElements.define(qo.is, qo);
|
|
11596
11600
|
/**
|
|
11597
11601
|
* @license
|
|
11598
11602
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11599
11603
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11600
11604
|
*/
|
|
11601
|
-
const
|
|
11605
|
+
const Gc = (o) => class extends Zi(o) {
|
|
11602
11606
|
static get properties() {
|
|
11603
11607
|
return {
|
|
11604
11608
|
/**
|
|
@@ -11781,7 +11785,7 @@ const Kc = (o) => class extends Xi(o) {
|
|
|
11781
11785
|
/** @protected */
|
|
11782
11786
|
__getWeekNumber(e) {
|
|
11783
11787
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11784
|
-
return
|
|
11788
|
+
return Ec(i);
|
|
11785
11789
|
}
|
|
11786
11790
|
/** @protected */
|
|
11787
11791
|
__getDayAriaLabel(e) {
|
|
@@ -11796,7 +11800,7 @@ const Kc = (o) => class extends Xi(o) {
|
|
|
11796
11800
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11797
11801
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11798
11802
|
*/
|
|
11799
|
-
const
|
|
11803
|
+
const Jc = P`
|
|
11800
11804
|
:host {
|
|
11801
11805
|
display: block;
|
|
11802
11806
|
}
|
|
@@ -11858,10 +11862,10 @@ const Gc = P`
|
|
|
11858
11862
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11859
11863
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11860
11864
|
*/
|
|
11861
|
-
L("vaadin-month-calendar",
|
|
11865
|
+
L("vaadin-month-calendar", Jc, {
|
|
11862
11866
|
moduleId: "vaadin-month-calendar-styles"
|
|
11863
11867
|
});
|
|
11864
|
-
class
|
|
11868
|
+
class Xc extends Gc(Ye(Ie)) {
|
|
11865
11869
|
static get template() {
|
|
11866
11870
|
return Ve`
|
|
11867
11871
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -11969,13 +11973,13 @@ class Jc extends Kc(Ye(Ie)) {
|
|
|
11969
11973
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
11970
11974
|
}
|
|
11971
11975
|
}
|
|
11972
|
-
be(
|
|
11976
|
+
be(Xc);
|
|
11973
11977
|
/**
|
|
11974
11978
|
* @license
|
|
11975
11979
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11976
11980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11977
11981
|
*/
|
|
11978
|
-
class
|
|
11982
|
+
class mr {
|
|
11979
11983
|
constructor(t, e) {
|
|
11980
11984
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
11981
11985
|
}
|
|
@@ -12003,7 +12007,7 @@ class fr {
|
|
|
12003
12007
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12004
12008
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12005
12009
|
*/
|
|
12006
|
-
const
|
|
12010
|
+
const Zc = (o) => class extends o {
|
|
12007
12011
|
static get properties() {
|
|
12008
12012
|
return {
|
|
12009
12013
|
scrollDuration: {
|
|
@@ -12131,7 +12135,7 @@ const Xc = (o) => class extends o {
|
|
|
12131
12135
|
}
|
|
12132
12136
|
/** @protected */
|
|
12133
12137
|
_addListeners() {
|
|
12134
|
-
|
|
12138
|
+
rr(this.$.scrollers, "pan-y"), ge(this.$.scrollers, "track", this._track.bind(this)), ge(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), ge(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), ge(
|
|
12135
12139
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12136
12140
|
"tap",
|
|
12137
12141
|
this._toggleYearScroller.bind(this)
|
|
@@ -12140,7 +12144,7 @@ const Xc = (o) => class extends o {
|
|
|
12140
12144
|
/** @protected */
|
|
12141
12145
|
_initControllers() {
|
|
12142
12146
|
this.addController(
|
|
12143
|
-
new
|
|
12147
|
+
new mr(this._desktopMediaQuery, (e) => {
|
|
12144
12148
|
this._desktopMode = e;
|
|
12145
12149
|
})
|
|
12146
12150
|
), this.addController(
|
|
@@ -12332,7 +12336,7 @@ const Xc = (o) => class extends o {
|
|
|
12332
12336
|
}
|
|
12333
12337
|
/** @protected */
|
|
12334
12338
|
_formatDisplayed(e, i, s) {
|
|
12335
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12339
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate(Qi(e)) : s;
|
|
12336
12340
|
}
|
|
12337
12341
|
/** @private */
|
|
12338
12342
|
_onTodayTap() {
|
|
@@ -12449,7 +12453,7 @@ const Xc = (o) => class extends o {
|
|
|
12449
12453
|
}
|
|
12450
12454
|
/** @private */
|
|
12451
12455
|
_yearAfterXMonths(e) {
|
|
12452
|
-
return
|
|
12456
|
+
return cr(e).getFullYear();
|
|
12453
12457
|
}
|
|
12454
12458
|
/** @private */
|
|
12455
12459
|
_differenceInMonths(e, i) {
|
|
@@ -12554,14 +12558,14 @@ const Xc = (o) => class extends o {
|
|
|
12554
12558
|
}
|
|
12555
12559
|
async focusDateElement(e = !0) {
|
|
12556
12560
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || await new Promise((i) => {
|
|
12557
|
-
|
|
12558
|
-
|
|
12561
|
+
Ws(this, () => {
|
|
12562
|
+
eo(), i();
|
|
12559
12563
|
});
|
|
12560
12564
|
}), e && this.revealDate(this.focusedDate), this._revealPromise && await this._revealPromise, this.__tryFocusDate();
|
|
12561
12565
|
}
|
|
12562
12566
|
/** @private */
|
|
12563
12567
|
_focusClosestDate(e) {
|
|
12564
|
-
this.focusDate(
|
|
12568
|
+
this.focusDate(lr(e, [this.minDate, this.maxDate]));
|
|
12565
12569
|
}
|
|
12566
12570
|
/** @private */
|
|
12567
12571
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12612,7 +12616,7 @@ const Xc = (o) => class extends o {
|
|
|
12612
12616
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12613
12617
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12614
12618
|
*/
|
|
12615
|
-
const
|
|
12619
|
+
const Qc = P`
|
|
12616
12620
|
:host {
|
|
12617
12621
|
display: flex;
|
|
12618
12622
|
flex-direction: column;
|
|
@@ -12678,10 +12682,10 @@ const Zc = P`
|
|
|
12678
12682
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12679
12683
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12680
12684
|
*/
|
|
12681
|
-
L("vaadin-date-picker-overlay-content",
|
|
12685
|
+
L("vaadin-date-picker-overlay-content", Qc, {
|
|
12682
12686
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12683
12687
|
});
|
|
12684
|
-
class
|
|
12688
|
+
class eu extends Zc(
|
|
12685
12689
|
ot(Ye(jt(Ie)))
|
|
12686
12690
|
) {
|
|
12687
12691
|
static get template() {
|
|
@@ -12715,14 +12719,14 @@ class Qc extends Xc(
|
|
|
12715
12719
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12716
12720
|
}
|
|
12717
12721
|
}
|
|
12718
|
-
be(
|
|
12722
|
+
be(eu);
|
|
12719
12723
|
/**
|
|
12720
12724
|
* @license
|
|
12721
12725
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12722
12726
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12723
12727
|
*/
|
|
12724
|
-
const
|
|
12725
|
-
(o) => class extends
|
|
12728
|
+
const _r = V(
|
|
12729
|
+
(o) => class extends Zi(ar(o)) {
|
|
12726
12730
|
static get properties() {
|
|
12727
12731
|
return {
|
|
12728
12732
|
/**
|
|
@@ -12879,14 +12883,14 @@ const mr = V(
|
|
|
12879
12883
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12880
12884
|
*/
|
|
12881
12885
|
const ni = /* @__PURE__ */ new WeakMap();
|
|
12882
|
-
function
|
|
12886
|
+
function tu(o) {
|
|
12883
12887
|
return ni.has(o) || ni.set(o, /* @__PURE__ */ new Set()), ni.get(o);
|
|
12884
12888
|
}
|
|
12885
|
-
function
|
|
12889
|
+
function iu(o, t) {
|
|
12886
12890
|
const e = document.createElement("style");
|
|
12887
12891
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12888
12892
|
}
|
|
12889
|
-
const
|
|
12893
|
+
const ou = V(
|
|
12890
12894
|
(o) => class extends o {
|
|
12891
12895
|
/**
|
|
12892
12896
|
* List of styles to insert into root.
|
|
@@ -12901,9 +12905,9 @@ const iu = V(
|
|
|
12901
12905
|
}
|
|
12902
12906
|
/** @private */
|
|
12903
12907
|
__applySlotStyles() {
|
|
12904
|
-
const e = this.getRootNode(), i =
|
|
12908
|
+
const e = this.getRootNode(), i = tu(e);
|
|
12905
12909
|
this.slotStyles.forEach((s) => {
|
|
12906
|
-
i.has(s) || (
|
|
12910
|
+
i.has(s) || (iu(s, e), i.add(s));
|
|
12907
12911
|
});
|
|
12908
12912
|
}
|
|
12909
12913
|
}
|
|
@@ -12913,7 +12917,7 @@ const iu = V(
|
|
|
12913
12917
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12914
12918
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12915
12919
|
*/
|
|
12916
|
-
const
|
|
12920
|
+
const gr = V(
|
|
12917
12921
|
(o) => class extends o {
|
|
12918
12922
|
static get properties() {
|
|
12919
12923
|
return {
|
|
@@ -13117,7 +13121,7 @@ const _r = V(
|
|
|
13117
13121
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13118
13122
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13119
13123
|
*/
|
|
13120
|
-
const
|
|
13124
|
+
const su = (o) => class extends gr(Wt(o)) {
|
|
13121
13125
|
static get properties() {
|
|
13122
13126
|
return {
|
|
13123
13127
|
/**
|
|
@@ -13162,7 +13166,7 @@ const ou = (o) => class extends _r(Wt(o)) {
|
|
|
13162
13166
|
* @protected
|
|
13163
13167
|
*/
|
|
13164
13168
|
_onClearButtonMouseDown(e) {
|
|
13165
|
-
e.preventDefault(),
|
|
13169
|
+
e.preventDefault(), El || this.inputElement.focus();
|
|
13166
13170
|
}
|
|
13167
13171
|
/**
|
|
13168
13172
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13193,48 +13197,48 @@ const ou = (o) => class extends _r(Wt(o)) {
|
|
|
13193
13197
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13194
13198
|
*/
|
|
13195
13199
|
const ai = /* @__PURE__ */ new Map();
|
|
13196
|
-
function
|
|
13200
|
+
function oo(o) {
|
|
13197
13201
|
return ai.has(o) || ai.set(o, /* @__PURE__ */ new WeakMap()), ai.get(o);
|
|
13198
13202
|
}
|
|
13199
|
-
function
|
|
13203
|
+
function br(o, t) {
|
|
13200
13204
|
o && o.removeAttribute(t);
|
|
13201
13205
|
}
|
|
13202
|
-
function
|
|
13206
|
+
function vr(o, t) {
|
|
13203
13207
|
if (!o || !t)
|
|
13204
13208
|
return;
|
|
13205
|
-
const e =
|
|
13209
|
+
const e = oo(t);
|
|
13206
13210
|
if (e.has(o))
|
|
13207
13211
|
return;
|
|
13208
|
-
const i =
|
|
13212
|
+
const i = qi(o.getAttribute(t));
|
|
13209
13213
|
e.set(o, new Set(i));
|
|
13210
13214
|
}
|
|
13211
|
-
function
|
|
13212
|
-
if (!o)
|
|
13215
|
+
function ru(o, t) {
|
|
13216
|
+
if (!o || !t)
|
|
13213
13217
|
return;
|
|
13214
|
-
const e =
|
|
13215
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13218
|
+
const e = oo(t), i = e.get(o);
|
|
13219
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Js(o, t, Ut(i)), e.delete(o);
|
|
13216
13220
|
}
|
|
13217
13221
|
function li(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13218
13222
|
if (!o || !t)
|
|
13219
13223
|
return;
|
|
13220
|
-
const { newId: i, oldId: s, fromUser: r } = e, n =
|
|
13224
|
+
const { newId: i, oldId: s, fromUser: r } = e, n = oo(t), a = n.get(o);
|
|
13221
13225
|
if (!r && a) {
|
|
13222
13226
|
s && a.delete(s), i && a.add(i);
|
|
13223
13227
|
return;
|
|
13224
13228
|
}
|
|
13225
|
-
r && (a ? i || n.delete(o) :
|
|
13229
|
+
r && (a ? i || n.delete(o) : vr(o, t), br(o, t)), Fl(o, t, s);
|
|
13226
13230
|
const l = i || Ut(a);
|
|
13227
|
-
l &&
|
|
13231
|
+
l && Js(o, t, l);
|
|
13228
13232
|
}
|
|
13229
|
-
function
|
|
13230
|
-
|
|
13233
|
+
function nu(o, t) {
|
|
13234
|
+
vr(o, t), br(o, t);
|
|
13231
13235
|
}
|
|
13232
13236
|
/**
|
|
13233
13237
|
* @license
|
|
13234
13238
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13235
13239
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13236
13240
|
*/
|
|
13237
|
-
class
|
|
13241
|
+
class au {
|
|
13238
13242
|
constructor(t) {
|
|
13239
13243
|
this.host = t, this.__required = !1;
|
|
13240
13244
|
}
|
|
@@ -13307,7 +13311,7 @@ class nu {
|
|
|
13307
13311
|
* @private
|
|
13308
13312
|
* */
|
|
13309
13313
|
__setAriaLabelToAttribute(t) {
|
|
13310
|
-
this.__target && (t ? (
|
|
13314
|
+
this.__target && (t ? (nu(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (ru(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13311
13315
|
}
|
|
13312
13316
|
/**
|
|
13313
13317
|
* @param {string | null | undefined} labelId
|
|
@@ -13353,9 +13357,9 @@ pe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13353
13357
|
pe.setAttribute("aria-live", "polite");
|
|
13354
13358
|
document.body.appendChild(pe);
|
|
13355
13359
|
let kt;
|
|
13356
|
-
function
|
|
13360
|
+
function lu(o, t = {}) {
|
|
13357
13361
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13358
|
-
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), kt = et.debounce(kt,
|
|
13362
|
+
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), kt = et.debounce(kt, Jl, () => {
|
|
13359
13363
|
pe.setAttribute("role", "alert");
|
|
13360
13364
|
})) : (kt && kt.cancel(), pe.removeAttribute("role"), pe.setAttribute("aria-live", e)), pe.textContent = "", setTimeout(() => {
|
|
13361
13365
|
pe.textContent = o;
|
|
@@ -13366,7 +13370,7 @@ function au(o, t = {}) {
|
|
|
13366
13370
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13367
13371
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13368
13372
|
*/
|
|
13369
|
-
class
|
|
13373
|
+
class so extends Re {
|
|
13370
13374
|
constructor(t, e, i, s = {}) {
|
|
13371
13375
|
super(t, e, i, { ...s, useUniqueId: !0 });
|
|
13372
13376
|
}
|
|
@@ -13481,7 +13485,7 @@ class oo extends Re {
|
|
|
13481
13485
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13482
13486
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13483
13487
|
*/
|
|
13484
|
-
class
|
|
13488
|
+
class cu extends so {
|
|
13485
13489
|
constructor(t) {
|
|
13486
13490
|
super(t, "error-message", "div");
|
|
13487
13491
|
}
|
|
@@ -13555,7 +13559,7 @@ class lu extends oo {
|
|
|
13555
13559
|
*/
|
|
13556
13560
|
updateDefaultNode(t) {
|
|
13557
13561
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13558
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13562
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && lu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13559
13563
|
}
|
|
13560
13564
|
}
|
|
13561
13565
|
/**
|
|
@@ -13563,7 +13567,7 @@ class lu extends oo {
|
|
|
13563
13567
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13564
13568
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13565
13569
|
*/
|
|
13566
|
-
class
|
|
13570
|
+
class uu extends so {
|
|
13567
13571
|
constructor(t) {
|
|
13568
13572
|
super(t, "helper", null);
|
|
13569
13573
|
}
|
|
@@ -13618,7 +13622,7 @@ class cu extends oo {
|
|
|
13618
13622
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13619
13623
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13620
13624
|
*/
|
|
13621
|
-
class
|
|
13625
|
+
class du extends so {
|
|
13622
13626
|
constructor(t) {
|
|
13623
13627
|
super(t, "label", "label");
|
|
13624
13628
|
}
|
|
@@ -13671,7 +13675,7 @@ class uu extends oo {
|
|
|
13671
13675
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13672
13676
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13673
13677
|
*/
|
|
13674
|
-
const
|
|
13678
|
+
const hu = V(
|
|
13675
13679
|
(o) => class extends ot(o) {
|
|
13676
13680
|
static get properties() {
|
|
13677
13681
|
return {
|
|
@@ -13686,7 +13690,7 @@ const du = V(
|
|
|
13686
13690
|
};
|
|
13687
13691
|
}
|
|
13688
13692
|
constructor() {
|
|
13689
|
-
super(), this._labelController = new
|
|
13693
|
+
super(), this._labelController = new du(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13690
13694
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13691
13695
|
});
|
|
13692
13696
|
}
|
|
@@ -13714,7 +13718,7 @@ const du = V(
|
|
|
13714
13718
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13715
13719
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13716
13720
|
*/
|
|
13717
|
-
const
|
|
13721
|
+
const yr = V(
|
|
13718
13722
|
(o) => class extends o {
|
|
13719
13723
|
static get properties() {
|
|
13720
13724
|
return {
|
|
@@ -13786,7 +13790,7 @@ const vr = V(
|
|
|
13786
13790
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13787
13791
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13788
13792
|
*/
|
|
13789
|
-
const
|
|
13793
|
+
const pu = (o) => class extends yr(hu(ot(o))) {
|
|
13790
13794
|
static get properties() {
|
|
13791
13795
|
return {
|
|
13792
13796
|
/**
|
|
@@ -13836,7 +13840,7 @@ const hu = (o) => class extends vr(du(ot(o))) {
|
|
|
13836
13840
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13837
13841
|
}
|
|
13838
13842
|
constructor() {
|
|
13839
|
-
super(), this._fieldAriaController = new
|
|
13843
|
+
super(), this._fieldAriaController = new au(this), this._helperController = new uu(this), this._errorController = new cu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13840
13844
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13841
13845
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13842
13846
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13927,7 +13931,7 @@ const hu = (o) => class extends vr(du(ot(o))) {
|
|
|
13927
13931
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13928
13932
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13929
13933
|
*/
|
|
13930
|
-
const
|
|
13934
|
+
const fu = V(
|
|
13931
13935
|
(o) => class extends o {
|
|
13932
13936
|
static get properties() {
|
|
13933
13937
|
return {
|
|
@@ -14008,8 +14012,8 @@ const pu = V(
|
|
|
14008
14012
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14009
14013
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14010
14014
|
*/
|
|
14011
|
-
const
|
|
14012
|
-
(o) => class extends
|
|
14015
|
+
const xr = V(
|
|
14016
|
+
(o) => class extends fu(yr(gr(o))) {
|
|
14013
14017
|
/**
|
|
14014
14018
|
* An array of attributes which participate in the input validation.
|
|
14015
14019
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14093,8 +14097,8 @@ const yr = V(
|
|
|
14093
14097
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14094
14098
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14095
14099
|
*/
|
|
14096
|
-
const
|
|
14097
|
-
|
|
14100
|
+
const mu = (o) => class extends ou(
|
|
14101
|
+
_r(xr(pu(su(Wt(o)))))
|
|
14098
14102
|
) {
|
|
14099
14103
|
static get properties() {
|
|
14100
14104
|
return {
|
|
@@ -14280,7 +14284,7 @@ const fu = (o) => class extends iu(
|
|
|
14280
14284
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14281
14285
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14282
14286
|
*/
|
|
14283
|
-
class
|
|
14287
|
+
class _u extends Re {
|
|
14284
14288
|
constructor(t, e, i = {}) {
|
|
14285
14289
|
const { uniqueIdPrefix: s } = i;
|
|
14286
14290
|
super(t, "input", "input", {
|
|
@@ -14297,7 +14301,7 @@ class mu extends Re {
|
|
|
14297
14301
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14298
14302
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14299
14303
|
*/
|
|
14300
|
-
class
|
|
14304
|
+
class gu {
|
|
14301
14305
|
constructor(t, e) {
|
|
14302
14306
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14303
14307
|
this.__initLabel(i.detail.node);
|
|
@@ -14330,7 +14334,7 @@ class _u {
|
|
|
14330
14334
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14331
14335
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14332
14336
|
*/
|
|
14333
|
-
const
|
|
14337
|
+
const bu = P`
|
|
14334
14338
|
[part='clear-button'] {
|
|
14335
14339
|
display: none;
|
|
14336
14340
|
cursor: default;
|
|
@@ -14349,7 +14353,7 @@ const gu = P`
|
|
|
14349
14353
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14350
14354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14351
14355
|
*/
|
|
14352
|
-
const
|
|
14356
|
+
const vu = P`
|
|
14353
14357
|
:host {
|
|
14354
14358
|
display: inline-flex;
|
|
14355
14359
|
outline: none;
|
|
@@ -14389,7 +14393,7 @@ const bu = P`
|
|
|
14389
14393
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14390
14394
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14391
14395
|
*/
|
|
14392
|
-
const
|
|
14396
|
+
const yu = P`
|
|
14393
14397
|
[class$='container'] {
|
|
14394
14398
|
display: flex;
|
|
14395
14399
|
flex-direction: column;
|
|
@@ -14403,13 +14407,13 @@ const vu = P`
|
|
|
14403
14407
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14404
14408
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14405
14409
|
*/
|
|
14406
|
-
const
|
|
14410
|
+
const xu = [vu, yu, bu];
|
|
14407
14411
|
/**
|
|
14408
14412
|
* @license
|
|
14409
14413
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14410
14414
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14411
14415
|
*/
|
|
14412
|
-
const
|
|
14416
|
+
const wu = (o) => class extends o {
|
|
14413
14417
|
static get properties() {
|
|
14414
14418
|
return {
|
|
14415
14419
|
/**
|
|
@@ -14456,7 +14460,7 @@ const xu = (o) => class extends o {
|
|
|
14456
14460
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14457
14461
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14458
14462
|
*/
|
|
14459
|
-
class
|
|
14463
|
+
class Eu {
|
|
14460
14464
|
/**
|
|
14461
14465
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14462
14466
|
*/
|
|
@@ -14475,8 +14479,8 @@ class wu {
|
|
|
14475
14479
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14476
14480
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14477
14481
|
*/
|
|
14478
|
-
const
|
|
14479
|
-
ot(
|
|
14482
|
+
const Su = (o) => class extends wu(
|
|
14483
|
+
ot(_r(xr(Wt(o))))
|
|
14480
14484
|
) {
|
|
14481
14485
|
static get properties() {
|
|
14482
14486
|
return {
|
|
@@ -14681,7 +14685,7 @@ const Eu = (o) => class extends xu(
|
|
|
14681
14685
|
if (i.length === 3) {
|
|
14682
14686
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14683
14687
|
const l = this.referenceDate ? lt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14684
|
-
a =
|
|
14688
|
+
a = Sc(l, a, n, r);
|
|
14685
14689
|
}
|
|
14686
14690
|
} else
|
|
14687
14691
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14755,7 +14759,7 @@ const Eu = (o) => class extends xu(
|
|
|
14755
14759
|
/** @private */
|
|
14756
14760
|
_ios: {
|
|
14757
14761
|
type: Boolean,
|
|
14758
|
-
value:
|
|
14762
|
+
value: qs
|
|
14759
14763
|
},
|
|
14760
14764
|
/** @private */
|
|
14761
14765
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14843,7 +14847,7 @@ const Eu = (o) => class extends xu(
|
|
|
14843
14847
|
* @protected
|
|
14844
14848
|
*/
|
|
14845
14849
|
_onFocus(e) {
|
|
14846
|
-
super._onFocus(e), this._noInput && !
|
|
14850
|
+
super._onFocus(e), this._noInput && !Wi() && e.target.blur();
|
|
14847
14851
|
}
|
|
14848
14852
|
/**
|
|
14849
14853
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14855,10 +14859,10 @@ const Eu = (o) => class extends xu(
|
|
|
14855
14859
|
/** @protected */
|
|
14856
14860
|
ready() {
|
|
14857
14861
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14858
|
-
new
|
|
14862
|
+
new mr(this._fullscreenMediaQuery, (i) => {
|
|
14859
14863
|
this._fullscreen = i;
|
|
14860
14864
|
})
|
|
14861
|
-
), this.addController(new
|
|
14865
|
+
), this.addController(new Eu(this));
|
|
14862
14866
|
const e = this.$.overlay;
|
|
14863
14867
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14864
14868
|
}
|
|
@@ -14914,7 +14918,7 @@ const Eu = (o) => class extends xu(
|
|
|
14914
14918
|
*/
|
|
14915
14919
|
__formatDate(e) {
|
|
14916
14920
|
if (this.i18n.formatDate)
|
|
14917
|
-
return this.i18n.formatDate(
|
|
14921
|
+
return this.i18n.formatDate(Qi(e));
|
|
14918
14922
|
}
|
|
14919
14923
|
/**
|
|
14920
14924
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15016,7 +15020,7 @@ const Eu = (o) => class extends xu(
|
|
|
15016
15020
|
}
|
|
15017
15021
|
/** @private */
|
|
15018
15022
|
_formatISO(e) {
|
|
15019
|
-
return
|
|
15023
|
+
return Cc(e);
|
|
15020
15024
|
}
|
|
15021
15025
|
/** @protected */
|
|
15022
15026
|
_inputElementChanged(e) {
|
|
@@ -15082,12 +15086,12 @@ const Eu = (o) => class extends xu(
|
|
|
15082
15086
|
const r = this._nativeInput;
|
|
15083
15087
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15084
15088
|
const n = this._noInput ? e : [r, e];
|
|
15085
|
-
this.__showOthers =
|
|
15089
|
+
this.__showOthers = Ks(n);
|
|
15086
15090
|
}
|
|
15087
15091
|
/** @private */
|
|
15088
15092
|
_getInitialPosition() {
|
|
15089
15093
|
const e = lt(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15090
|
-
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15094
|
+
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? lr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15091
15095
|
}
|
|
15092
15096
|
/**
|
|
15093
15097
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15248,7 +15252,7 @@ const Eu = (o) => class extends xu(
|
|
|
15248
15252
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15249
15253
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15250
15254
|
*/
|
|
15251
|
-
const
|
|
15255
|
+
const Au = P`
|
|
15252
15256
|
:host([opened]) {
|
|
15253
15257
|
pointer-events: auto;
|
|
15254
15258
|
}
|
|
@@ -15267,8 +15271,8 @@ const Su = P`
|
|
|
15267
15271
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15268
15272
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15269
15273
|
*/
|
|
15270
|
-
L("vaadin-date-picker", [
|
|
15271
|
-
class
|
|
15274
|
+
L("vaadin-date-picker", [xu, Au], { moduleId: "vaadin-date-picker-styles" });
|
|
15275
|
+
class Cu extends Su(mu(Ye(Qs(Ie)))) {
|
|
15272
15276
|
static get is() {
|
|
15273
15277
|
return "vaadin-date-picker";
|
|
15274
15278
|
}
|
|
@@ -15328,7 +15332,7 @@ class Au extends Eu(fu(Ye(Zs(Ie)))) {
|
|
|
15328
15332
|
/** @protected */
|
|
15329
15333
|
ready() {
|
|
15330
15334
|
super.ready(), this.addController(
|
|
15331
|
-
new
|
|
15335
|
+
new _u(
|
|
15332
15336
|
this,
|
|
15333
15337
|
(e) => {
|
|
15334
15338
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15340,7 +15344,7 @@ class Au extends Eu(fu(Ye(Zs(Ie)))) {
|
|
|
15340
15344
|
uniqueIdPrefix: "search-input"
|
|
15341
15345
|
}
|
|
15342
15346
|
)
|
|
15343
|
-
), this.addController(new
|
|
15347
|
+
), this.addController(new gu(this.inputElement, this._labelController)), this._tooltipController = new tr(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
15344
15348
|
}
|
|
15345
15349
|
/** @private */
|
|
15346
15350
|
_onVaadinOverlayClose(t) {
|
|
@@ -15356,12 +15360,12 @@ class Au extends Eu(fu(Ye(Zs(Ie)))) {
|
|
|
15356
15360
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15357
15361
|
}
|
|
15358
15362
|
}
|
|
15359
|
-
be(
|
|
15360
|
-
var
|
|
15363
|
+
be(Cu);
|
|
15364
|
+
var wr = { exports: {} };
|
|
15361
15365
|
(function(o, t) {
|
|
15362
15366
|
(function(e, i) {
|
|
15363
15367
|
o.exports = i();
|
|
15364
|
-
})(
|
|
15368
|
+
})(Cr, function() {
|
|
15365
15369
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d\d/, r = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(p) {
|
|
15366
15370
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15367
15371
|
}, c = function(p) {
|
|
@@ -15486,16 +15490,16 @@ var xr = { exports: {} };
|
|
|
15486
15490
|
};
|
|
15487
15491
|
};
|
|
15488
15492
|
});
|
|
15489
|
-
})(
|
|
15490
|
-
var
|
|
15491
|
-
const
|
|
15492
|
-
function
|
|
15493
|
-
|
|
15493
|
+
})(wr);
|
|
15494
|
+
var Pu = wr.exports;
|
|
15495
|
+
const ku = /* @__PURE__ */ Ar(Pu);
|
|
15496
|
+
function Ko(o, t) {
|
|
15497
|
+
Pr(o, t);
|
|
15494
15498
|
}
|
|
15495
|
-
function
|
|
15496
|
-
|
|
15499
|
+
function Du(o) {
|
|
15500
|
+
kr.set(o);
|
|
15497
15501
|
}
|
|
15498
|
-
const
|
|
15502
|
+
const Go = {
|
|
15499
15503
|
en: {
|
|
15500
15504
|
titleSelfExclusion: "Self-Exclusion",
|
|
15501
15505
|
selfExclusionText: "<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",
|
|
@@ -15871,14 +15875,14 @@ const Ko = {
|
|
|
15871
15875
|
InvalidSession: "Oturum süresi doldu."
|
|
15872
15876
|
}
|
|
15873
15877
|
};
|
|
15874
|
-
function
|
|
15875
|
-
|
|
15878
|
+
function Tu(o) {
|
|
15879
|
+
Or(o, "svelte-gvegix", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
15876
15880
|
}
|
|
15877
|
-
function
|
|
15881
|
+
function Jo(o, t, e) {
|
|
15878
15882
|
const i = o.slice();
|
|
15879
15883
|
return i[56] = t[e], i;
|
|
15880
15884
|
}
|
|
15881
|
-
function
|
|
15885
|
+
function Mu(o) {
|
|
15882
15886
|
let t, e, i, s, r = (
|
|
15883
15887
|
/*$_*/
|
|
15884
15888
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -15912,29 +15916,29 @@ function Tu(o) {
|
|
|
15912
15916
|
o[22]("save") + ""
|
|
15913
15917
|
), fe, Pe, ke, De, Te, ve, ye, te = (
|
|
15914
15918
|
/*isMobile*/
|
|
15915
|
-
o[24] &&
|
|
15916
|
-
), ce =
|
|
15919
|
+
o[24] && Iu(o)
|
|
15920
|
+
), ce = no(
|
|
15917
15921
|
/*selfExclusionPeriods*/
|
|
15918
15922
|
o[11]
|
|
15919
15923
|
), O = [];
|
|
15920
15924
|
for (let x = 0; x < ce.length; x += 1)
|
|
15921
|
-
O[x] = Jo(
|
|
15925
|
+
O[x] = Xo(Jo(o, ce, x));
|
|
15922
15926
|
let z = (
|
|
15923
15927
|
/*isUntilDate*/
|
|
15924
|
-
o[18] &&
|
|
15928
|
+
o[18] && Zo(o)
|
|
15925
15929
|
);
|
|
15926
15930
|
function xe(x, M) {
|
|
15927
15931
|
return (
|
|
15928
15932
|
/*isPermanentSelfExclusion*/
|
|
15929
|
-
x[17] ?
|
|
15933
|
+
x[17] ? zu : (
|
|
15930
15934
|
/*isDateSelected*/
|
|
15931
|
-
x[19] ?
|
|
15935
|
+
x[19] ? Fu : Nu
|
|
15932
15936
|
)
|
|
15933
15937
|
);
|
|
15934
15938
|
}
|
|
15935
15939
|
let me = xe(o), X = me(o), _e = (
|
|
15936
15940
|
/*showConfirmationModal*/
|
|
15937
|
-
o[25] &&
|
|
15941
|
+
o[25] && Lu(o)
|
|
15938
15942
|
);
|
|
15939
15943
|
return {
|
|
15940
15944
|
c() {
|
|
@@ -15944,7 +15948,7 @@ function Tu(o) {
|
|
|
15944
15948
|
), C = I(), A = w("div"), k = w("div"), G = w("p"), $ = re(U), R = I(), T = Ae("svg"), F = Ae("g"), N = Ae("path"), J = I(), B = w("div");
|
|
15945
15949
|
for (let x = 0; x < O.length; x += 1)
|
|
15946
15950
|
O[x].c();
|
|
15947
|
-
le = I(), z && z.c(), he = I(), q = w("div"), X.c(), Q = I(), Y = w("div"), H = w("button"), fe = re(ee), De = I(), _e && _e.c(), Te =
|
|
15951
|
+
le = I(), z && z.c(), he = I(), q = w("div"), X.c(), Q = I(), Y = w("div"), H = w("button"), fe = re(ee), De = I(), _e && _e.c(), Te = Br(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
15948
15952
|
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href", v = "mailto:" + /*supportemail*/
|
|
15949
15953
|
o[4]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15950
15954
|
(o[24] ? "SelfExclusionDescriptionMobile" : "")), E(N, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), E(N, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), Ue(
|
|
@@ -16032,14 +16036,14 @@ function Tu(o) {
|
|
|
16032
16036
|
), M[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16033
16037
|
138414080
|
|
16034
16038
|
) {
|
|
16035
|
-
ce =
|
|
16039
|
+
ce = no(
|
|
16036
16040
|
/*selfExclusionPeriods*/
|
|
16037
16041
|
x[11]
|
|
16038
16042
|
);
|
|
16039
16043
|
let j;
|
|
16040
16044
|
for (j = 0; j < ce.length; j += 1) {
|
|
16041
|
-
const Et =
|
|
16042
|
-
O[j] ? O[j].p(Et, M) : (O[j] =
|
|
16045
|
+
const Et = Jo(x, ce, j);
|
|
16046
|
+
O[j] ? O[j].p(Et, M) : (O[j] = Xo(Et), O[j].c(), O[j].m(B, null));
|
|
16043
16047
|
}
|
|
16044
16048
|
for (; j < O.length; j += 1)
|
|
16045
16049
|
O[j].d(1);
|
|
@@ -16058,7 +16062,7 @@ function Tu(o) {
|
|
|
16058
16062
|
/*isPeriodDropDownToggled*/
|
|
16059
16063
|
x[20]
|
|
16060
16064
|
), /*isUntilDate*/
|
|
16061
|
-
x[18] ? z ? z.p(x, M) : (z =
|
|
16065
|
+
x[18] ? z ? z.p(x, M) : (z = Zo(x), z.c(), z.m(e, he)) : z && (z.d(1), z = null), me === (me = xe(x)) && X ? X.p(x, M) : (X.d(1), X = me(x), X && (X.c(), X.m(q, null))), M[0] & /*$_*/
|
|
16062
16066
|
4194304 && ee !== (ee = /*$_*/
|
|
16063
16067
|
x[22]("save") + "") && de(fe, ee), M[0] & /*isDateSelected*/
|
|
16064
16068
|
524288 && Pe !== (Pe = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16068,16 +16072,16 @@ function Tu(o) {
|
|
|
16068
16072
|
x[25] && _e.p(x, M);
|
|
16069
16073
|
},
|
|
16070
16074
|
d(x) {
|
|
16071
|
-
x && (ne(t), ne(De), ne(Te)), te && te.d(),
|
|
16075
|
+
x && (ne(t), ne(De), ne(Te)), te && te.d(), Lr(O, x), z && z.d(), X.d(), _e && _e.d(x), ve = !1, Rr(ye);
|
|
16072
16076
|
}
|
|
16073
16077
|
};
|
|
16074
16078
|
}
|
|
16075
|
-
function
|
|
16079
|
+
function Ou(o) {
|
|
16076
16080
|
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g, y, v, C, A, k;
|
|
16077
16081
|
function G(R, T) {
|
|
16078
16082
|
return (
|
|
16079
16083
|
/*isMobile*/
|
|
16080
|
-
R[24] ?
|
|
16084
|
+
R[24] ? Bu : Ru
|
|
16081
16085
|
);
|
|
16082
16086
|
}
|
|
16083
16087
|
let $ = G(o)(o);
|
|
@@ -16146,7 +16150,7 @@ function Mu(o) {
|
|
|
16146
16150
|
}
|
|
16147
16151
|
};
|
|
16148
16152
|
}
|
|
16149
|
-
function
|
|
16153
|
+
function Iu(o) {
|
|
16150
16154
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16151
16155
|
/*$_*/
|
|
16152
16156
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -16173,7 +16177,7 @@ function Ou(o) {
|
|
|
16173
16177
|
}
|
|
16174
16178
|
};
|
|
16175
16179
|
}
|
|
16176
|
-
function
|
|
16180
|
+
function Xo(o) {
|
|
16177
16181
|
let t, e = (
|
|
16178
16182
|
/*$_*/
|
|
16179
16183
|
o[22](`${/*period*/
|
|
@@ -16206,7 +16210,7 @@ function Jo(o) {
|
|
|
16206
16210
|
}
|
|
16207
16211
|
};
|
|
16208
16212
|
}
|
|
16209
|
-
function
|
|
16213
|
+
function Zo(o) {
|
|
16210
16214
|
let t, e, i = (
|
|
16211
16215
|
/*$_*/
|
|
16212
16216
|
o[22]("duration") + ""
|
|
@@ -16270,7 +16274,7 @@ function Xo(o) {
|
|
|
16270
16274
|
}
|
|
16271
16275
|
};
|
|
16272
16276
|
}
|
|
16273
|
-
function
|
|
16277
|
+
function Fu(o) {
|
|
16274
16278
|
let t, e, i = (
|
|
16275
16279
|
/*$_*/
|
|
16276
16280
|
o[22]("temporarySelfExclusion", {
|
|
@@ -16312,7 +16316,7 @@ function Iu(o) {
|
|
|
16312
16316
|
}
|
|
16313
16317
|
};
|
|
16314
16318
|
}
|
|
16315
|
-
function
|
|
16319
|
+
function Nu(o) {
|
|
16316
16320
|
let t, e, i = (
|
|
16317
16321
|
/*$_*/
|
|
16318
16322
|
o[22]("noPeriodSelected") + ""
|
|
@@ -16334,7 +16338,7 @@ function Fu(o) {
|
|
|
16334
16338
|
}
|
|
16335
16339
|
};
|
|
16336
16340
|
}
|
|
16337
|
-
function
|
|
16341
|
+
function zu(o) {
|
|
16338
16342
|
let t, e, i = (
|
|
16339
16343
|
/*$_*/
|
|
16340
16344
|
o[22]("permanentSelfExclusion") + ""
|
|
@@ -16356,7 +16360,7 @@ function Nu(o) {
|
|
|
16356
16360
|
}
|
|
16357
16361
|
};
|
|
16358
16362
|
}
|
|
16359
|
-
function
|
|
16363
|
+
function Lu(o) {
|
|
16360
16364
|
let t, e, i, s;
|
|
16361
16365
|
return {
|
|
16362
16366
|
c() {
|
|
@@ -16471,7 +16475,7 @@ function zu(o) {
|
|
|
16471
16475
|
}
|
|
16472
16476
|
};
|
|
16473
16477
|
}
|
|
16474
|
-
function
|
|
16478
|
+
function Ru(o) {
|
|
16475
16479
|
let t;
|
|
16476
16480
|
return {
|
|
16477
16481
|
c() {
|
|
@@ -16485,7 +16489,7 @@ function Lu(o) {
|
|
|
16485
16489
|
}
|
|
16486
16490
|
};
|
|
16487
16491
|
}
|
|
16488
|
-
function
|
|
16492
|
+
function Bu(o) {
|
|
16489
16493
|
let t;
|
|
16490
16494
|
return {
|
|
16491
16495
|
c() {
|
|
@@ -16499,12 +16503,12 @@ function Ru(o) {
|
|
|
16499
16503
|
}
|
|
16500
16504
|
};
|
|
16501
16505
|
}
|
|
16502
|
-
function
|
|
16506
|
+
function Hu(o) {
|
|
16503
16507
|
let t;
|
|
16504
16508
|
function e(r, n) {
|
|
16505
16509
|
return (
|
|
16506
16510
|
/*skeletonLoading*/
|
|
16507
|
-
r[21] ?
|
|
16511
|
+
r[21] ? Ou : Mu
|
|
16508
16512
|
);
|
|
16509
16513
|
}
|
|
16510
16514
|
let i = e(o), s = i(o);
|
|
@@ -16525,21 +16529,21 @@ function Bu(o) {
|
|
|
16525
16529
|
}
|
|
16526
16530
|
};
|
|
16527
16531
|
}
|
|
16528
|
-
function
|
|
16532
|
+
function $u(o, t, e) {
|
|
16529
16533
|
let i;
|
|
16530
|
-
|
|
16531
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, k = y.toUpperCase(), G = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", J = "selectAPeriod", B = "", le = "", he =
|
|
16534
|
+
Ir(o, Fr, (_) => e(22, i = _)), Ee.extend(ku);
|
|
16535
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, k = y.toUpperCase(), G = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", J = "selectAPeriod", B = "", le = "", he = Nr($) !== "PC", q = !1, Q = !1, Y = !1, H = !1, ee = g === "true", fe = !0;
|
|
16532
16536
|
const Pe = () => {
|
|
16533
16537
|
fetch(p).then((Z) => Z.json()).then((Z) => {
|
|
16534
16538
|
Object.keys(Z).forEach((ie) => {
|
|
16535
|
-
|
|
16539
|
+
Ko(ie, Z[ie]);
|
|
16536
16540
|
});
|
|
16537
16541
|
}).catch((Z) => {
|
|
16538
16542
|
console.log(Z);
|
|
16539
16543
|
});
|
|
16540
16544
|
};
|
|
16541
|
-
Object.keys(
|
|
16542
|
-
|
|
16545
|
+
Object.keys(Go).forEach((_) => {
|
|
16546
|
+
Ko(_, Go[_]);
|
|
16543
16547
|
});
|
|
16544
16548
|
const ke = () => {
|
|
16545
16549
|
let _ = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
@@ -16677,20 +16681,20 @@ function Hu(o, t, e) {
|
|
|
16677
16681
|
A
|
|
16678
16682
|
);
|
|
16679
16683
|
};
|
|
16680
|
-
|
|
16684
|
+
zr(() => (window.addEventListener("message", De, !1), () => {
|
|
16681
16685
|
A.removeEventListener("change", xe), window.removeEventListener("message", De);
|
|
16682
16686
|
}));
|
|
16683
16687
|
const X = () => {
|
|
16684
|
-
|
|
16688
|
+
Du(a);
|
|
16685
16689
|
}, _e = () => z(), x = () => ve(), M = (_) => ye(_);
|
|
16686
16690
|
function j(_) {
|
|
16687
|
-
|
|
16691
|
+
ro[_ ? "unshift" : "push"](() => {
|
|
16688
16692
|
A = _, e(10, A);
|
|
16689
16693
|
});
|
|
16690
16694
|
}
|
|
16691
16695
|
const Et = (_) => ce(_);
|
|
16692
|
-
function
|
|
16693
|
-
|
|
16696
|
+
function Sr(_) {
|
|
16697
|
+
ro[_ ? "unshift" : "push"](() => {
|
|
16694
16698
|
C = _, e(9, C);
|
|
16695
16699
|
});
|
|
16696
16700
|
}
|
|
@@ -16702,9 +16706,9 @@ function Hu(o, t, e) {
|
|
|
16702
16706
|
1073741827 | o.$$.dirty[1] & /*gmversion*/
|
|
16703
16707
|
1 && s && r && n && l && ke(), o.$$.dirty[0] & /*calendar*/
|
|
16704
16708
|
1024 && A && me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16705
|
-
576 && h && C &&
|
|
16706
|
-
640 && m && C &&
|
|
16707
|
-
768 && b && C &&
|
|
16709
|
+
576 && h && C && Hr(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16710
|
+
640 && m && C && $r(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16711
|
+
768 && b && C && Yr(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16708
16712
|
2 && p && Pe();
|
|
16709
16713
|
}, ee && te(), [
|
|
16710
16714
|
r,
|
|
@@ -16748,17 +16752,17 @@ function Hu(o, t, e) {
|
|
|
16748
16752
|
M,
|
|
16749
16753
|
j,
|
|
16750
16754
|
Et,
|
|
16751
|
-
|
|
16755
|
+
Sr
|
|
16752
16756
|
];
|
|
16753
16757
|
}
|
|
16754
|
-
class
|
|
16758
|
+
class Er extends Dr {
|
|
16755
16759
|
constructor(t) {
|
|
16756
|
-
super(),
|
|
16760
|
+
super(), Tr(
|
|
16757
16761
|
this,
|
|
16758
16762
|
t,
|
|
16763
|
+
$u,
|
|
16759
16764
|
Hu,
|
|
16760
|
-
|
|
16761
|
-
Tr,
|
|
16765
|
+
Mr,
|
|
16762
16766
|
{
|
|
16763
16767
|
endpoint: 30,
|
|
16764
16768
|
session: 0,
|
|
@@ -16776,7 +16780,7 @@ class wr extends kr {
|
|
|
16776
16780
|
dateformat: 34,
|
|
16777
16781
|
sendnotificationemail: 35
|
|
16778
16782
|
},
|
|
16779
|
-
|
|
16783
|
+
Tu,
|
|
16780
16784
|
[-1, -1]
|
|
16781
16785
|
);
|
|
16782
16786
|
}
|
|
@@ -16871,12 +16875,12 @@ class wr extends kr {
|
|
|
16871
16875
|
this.$$set({ sendnotificationemail: t }), oe();
|
|
16872
16876
|
}
|
|
16873
16877
|
}
|
|
16874
|
-
|
|
16875
|
-
const
|
|
16878
|
+
jr(Er, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16879
|
+
const Pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16876
16880
|
__proto__: null,
|
|
16877
|
-
default:
|
|
16881
|
+
default: Er
|
|
16878
16882
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16879
16883
|
export {
|
|
16880
|
-
|
|
16881
|
-
|
|
16884
|
+
ku as C,
|
|
16885
|
+
Pd as P
|
|
16882
16886
|
};
|