@everymatrix/player-account-controller-nd 1.99.58 → 1.99.60

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.
Files changed (248) hide show
  1. package/components/{GeneralLogout-hzxcca4g.js → GeneralLogout-8wMTGRDy.js} +1 -1
  2. package/components/{GeneralLogout-DE1G5qne.cjs → GeneralLogout-B_Tr6McQ.cjs} +1 -1
  3. package/components/{GeneralLogout-DAcREKuX.js → GeneralLogout-Df2tEV_j.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-XkhknU8q.js → PlayerAccountBettingHistory-C1DpLVso.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-D1dYetLd.cjs → PlayerAccountBettingHistory-CEHzLPmX.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-CAy1vCGg.js → PlayerAccountBettingHistory-CWBfZhuO.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-DJBary0q.js → PlayerAccountBiometrics-BrF2QlJ9.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-CO93zEnR.js → PlayerAccountBiometrics-CatuEsZS.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-BoEpHqqy.cjs → PlayerAccountBiometrics-Qkot14Nw.cjs} +1 -1
  10. package/components/{PlayerAccountBiometricsAction-C_jU-jZP.cjs → PlayerAccountBiometricsAction-CpV0a4zN.cjs} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-BCVjGoBT.js → PlayerAccountBiometricsAction-PXIbQUKQ.js} +3 -5
  12. package/components/{PlayerAccountBiometricsAction-DZjOSonC.js → PlayerAccountBiometricsAction-yS5_Epi1.js} +3 -5
  13. package/components/{PlayerAccountClosureNd-CX4GufC3.cjs → PlayerAccountClosureNd--GHgFzVF.cjs} +1 -1
  14. package/components/{PlayerAccountClosureNd-BRIAFwYy.js → PlayerAccountClosureNd-BXRvTzVO.js} +2 -2
  15. package/components/{PlayerAccountClosureNd-Cf6kp8Na.js → PlayerAccountClosureNd-CBS8QECX.js} +2 -2
  16. package/components/{PlayerAccountControllerNd-DDqzFGRm.js → PlayerAccountControllerNd-BpyLuXtA.js} +113 -193
  17. package/components/{PlayerAccountControllerNd-D6zZL73A.js → PlayerAccountControllerNd-CoEaKJEO.js} +112 -192
  18. package/components/{PlayerAccountControllerNd-BSIEz5Rm.cjs → PlayerAccountControllerNd-DV54Hl05.cjs} +2 -2
  19. package/components/{PlayerAccountGamingLimits-CCr3u4pe.js → PlayerAccountGamingLimits-B6CJyCXE.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-e7fD3Bxq.js → PlayerAccountGamingLimits-BVyoTWZr.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-CCX33x-o.cjs → PlayerAccountGamingLimits-CHNQrQ6Z.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-D1SNvaxD.cjs → PlayerAccountGamingLimitsConfirmationModal-B-Pbd0f9.cjs} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-BH6Tba2q.js → PlayerAccountGamingLimitsConfirmationModal-CwK5s6-X.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DIiS6l5I.js → PlayerAccountGamingLimitsConfirmationModal-Dqp0L0N-.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-qKWvI2q6.js → PlayerAccountGamingLimitsGroupEdit-8vRP46ti.js} +8 -9
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-C5fMFwVN.js → PlayerAccountGamingLimitsGroupEdit-CFaQW5Xw.js} +8 -9
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-ywqXTXzi.cjs → PlayerAccountGamingLimitsGroupEdit-P7eVJD4o.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsHistory2Nd-DMjRNmzP.js → PlayerAccountGamingLimitsHistory2Nd-AwepMJyS.js} +2 -3
  29. package/components/{PlayerAccountGamingLimitsHistory2Nd-ChJ3Ab0E.cjs → PlayerAccountGamingLimitsHistory2Nd-BZZbRy1H.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2Nd-dwuJSphW.js → PlayerAccountGamingLimitsHistory2Nd-BfDvaj4E.js} +2 -3
  31. package/components/{PlayerAccountGamingLimitsInfoCard-3NfO092R.js → PlayerAccountGamingLimitsInfoCard-Cq1G2koe.js} +8 -12
  32. package/components/{PlayerAccountGamingLimitsInfoCard-9--NlOvC.cjs → PlayerAccountGamingLimitsInfoCard-ES6K2FOK.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsInfoCard-lHAWQT7p.js → PlayerAccountGamingLimitsInfoCard-IVhOyKZj.js} +8 -12
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DdWk1fdR.js → PlayerAccountGamingLimitsPage2Gm16Nd-CYxIxOg9.js} +32 -62
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dlb-5Vcj.js → PlayerAccountGamingLimitsPage2Gm16Nd-DuDWXcpD.js} +32 -62
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-oV37_3_p.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-u5EAdak4.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-cgXDnT2G.js → PlayerAccountGamingLimitsPopup-Bx181x-m.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-COjds8OD.cjs → PlayerAccountGamingLimitsPopup-DiHAugt4.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-BjEyH__S.js → PlayerAccountGamingLimitsPopup-h3EBnoNt.js} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DGd21odS.js → PlayerAccountGamingLimitsWrapper2Nd-ByYbfRQi.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2Nd-z1Wmbuq4.cjs → PlayerAccountGamingLimitsWrapper2Nd-ChustIby.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DCdd3vYk.js → PlayerAccountGamingLimitsWrapper2Nd-DWMV7anS.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-BBYjzyYd.cjs → PlayerAccountGeneralConfirmationModal-Ccfy5jx9.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-BgB3TB3Z.js → PlayerAccountGeneralConfirmationModal-CjzyuNjK.js} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-C_hu4Oo-.js → PlayerAccountGeneralConfirmationModal-Dm3aP6fQ.js} +1 -1
  46. package/components/{PlayerAccountMenuNd-BkjFBJ94.cjs → PlayerAccountMenuNd-BFf_Ixaf.cjs} +1 -1
  47. package/components/{PlayerAccountMenuNd-DOWSOBNS.js → PlayerAccountMenuNd-DL1FWOfl.js} +3 -3
  48. package/components/{PlayerAccountMenuNd-BpFSNP_K.js → PlayerAccountMenuNd-KNvWHKmn.js} +3 -3
  49. package/components/{PlayerAccountModal-B0JRSvRH.cjs → PlayerAccountModal--QiSnBtU.cjs} +1 -1
  50. package/components/{PlayerAccountModal-DIk_55DN.js → PlayerAccountModal-D3qATKj_.js} +1 -1
  51. package/components/{PlayerAccountModal-Cbpt2l2m.js → PlayerAccountModal-he9-3Ol-.js} +1 -1
  52. package/components/{PlayerAccountNotifications-COi9jF2W.js → PlayerAccountNotifications-BcQ8FD-W.js} +4 -6
  53. package/components/{PlayerAccountNotifications-DeHuoBfU.cjs → PlayerAccountNotifications-DgJedpa5.cjs} +1 -1
  54. package/components/{PlayerAccountNotifications-BSWIN_g6.js → PlayerAccountNotifications-DukGyUEV.js} +4 -6
  55. package/components/{PlayerAccountProductRestriction-DXYWhNHH.js → PlayerAccountProductRestriction-B6O6nkZO.js} +7 -8
  56. package/components/{PlayerAccountProductRestriction-vMbM9MNm.js → PlayerAccountProductRestriction-DJ63eG4V.js} +7 -8
  57. package/components/{PlayerAccountProductRestriction-Cksx5toT.cjs → PlayerAccountProductRestriction-DLCUKXpq.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-B_JEbZ4y.js → PlayerAccountReviewFrequency-B18AfnLo.js} +2 -2
  59. package/components/{PlayerAccountReviewFrequency-Cv2NA5bq.js → PlayerAccountReviewFrequency-CrVq3J9v.js} +2 -2
  60. package/components/{PlayerAccountReviewFrequency-Mhnjx9vQ.cjs → PlayerAccountReviewFrequency-pumQi-YF.cjs} +1 -1
  61. package/components/{PlayerAccountSelfExclusionNd-rVVmjj7C.cjs → PlayerAccountSelfExclusionNd-B2nwt48V.cjs} +1 -1
  62. package/components/{PlayerAccountSelfExclusionNd-C2ouNxtj.js → PlayerAccountSelfExclusionNd-CNgCn8AR.js} +25 -36
  63. package/components/{PlayerAccountSelfExclusionNd-B_RPUgf_.js → PlayerAccountSelfExclusionNd-Dm4TeIxj.js} +25 -36
  64. package/components/{PlayerAccountTimeout-CsGl9foN.cjs → PlayerAccountTimeout-BPaAKgDV.cjs} +1 -1
  65. package/components/{PlayerAccountTimeout-CdF679jb.js → PlayerAccountTimeout-BfQ_DNvm.js} +67 -121
  66. package/components/{PlayerAccountTimeout-BBul9svU.js → PlayerAccountTimeout-CehfycL4.js} +67 -121
  67. package/components/{PlayerAccountTransactionsHistory-BW-CSSlN.js → PlayerAccountTransactionsHistory-BOPm3c-l.js} +15 -25
  68. package/components/{PlayerAccountTransactionsHistory-U181A9Te.js → PlayerAccountTransactionsHistory-CjIjNZDr.js} +15 -25
  69. package/components/{PlayerAccountTransactionsHistory-CgtRAbkK.cjs → PlayerAccountTransactionsHistory-Vz1GbV6a.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-BPo4OyXA.cjs → PlayerActiveBonuses-BmLW2U7z.cjs} +1 -1
  71. package/components/{PlayerActiveBonuses-DWO_c6oE.js → PlayerActiveBonuses-DQEG7VVC.js} +2 -2
  72. package/components/{PlayerActiveBonuses-DeaT3RZQ.js → PlayerActiveBonuses-DjZI3Tsj.js} +2 -2
  73. package/components/{PlayerBonusCard-BTra1xmi.cjs → PlayerBonusCard-B_y306PB.cjs} +1 -1
  74. package/components/{PlayerBonusCard-CDcf8f1V.js → PlayerBonusCard-BkeNJuRG.js} +2 -2
  75. package/components/{PlayerBonusCard-B45NLNI4.js → PlayerBonusCard-q_atpoy1.js} +2 -2
  76. package/components/{PlayerBonusHistory-C3VrbKCo.js → PlayerBonusHistory-B8UyMG2i.js} +470 -822
  77. package/components/{PlayerBonusHistory-BcHojOjX.js → PlayerBonusHistory-Dfiz7Ufs.js} +470 -822
  78. package/components/{PlayerBonusHistory-mbc4-NJM.cjs → PlayerBonusHistory-Dy8GRg7K.cjs} +2 -2
  79. package/components/{PlayerChangePasswordNd-ZGaQjOxh.js → PlayerChangePasswordNd-B-ckQb5j.js} +5 -9
  80. package/components/{PlayerChangePasswordNd-StJSiXQi.js → PlayerChangePasswordNd-Q0-0LzFd.js} +5 -9
  81. package/components/{PlayerChangePasswordNd-DAKYArPi.cjs → PlayerChangePasswordNd-kfBqQcFU.cjs} +1 -1
  82. package/components/{PlayerDeposit-CULrlbaj.cjs → PlayerDeposit-CUNykiS2.cjs} +1 -1
  83. package/components/{PlayerDeposit-DcrT6NM5.js → PlayerDeposit-D9pnDQ72.js} +1 -1
  84. package/components/{PlayerDeposit-THdXz9PJ.js → PlayerDeposit-IWUtmkdA.js} +1 -1
  85. package/components/{PlayerGamingHistory-tOWY4wQc.js → PlayerGamingHistory-BwA7bue0.js} +3 -3
  86. package/components/{PlayerGamingHistory-Bi3vSyAP.cjs → PlayerGamingHistory-CAWcXMDM.cjs} +1 -1
  87. package/components/{PlayerGamingHistory-OjfxwzM3.js → PlayerGamingHistory-D2ygyFQj.js} +3 -3
  88. package/components/{PlayerPendingWithdrawals-HaGN7vcO.js → PlayerPendingWithdrawals-B1DtNkWj.js} +1 -1
  89. package/components/{PlayerPendingWithdrawals-BrRw6On8.cjs → PlayerPendingWithdrawals-CmaTv3Xo.cjs} +1 -1
  90. package/components/{PlayerPendingWithdrawals-DdJBITfy.js → PlayerPendingWithdrawals-NruoAjs2.js} +1 -1
  91. package/components/{PlayerProfileInfo-B2jofHHZ.cjs → PlayerProfileInfo-BN_nmL2_.cjs} +1 -1
  92. package/components/{PlayerProfileInfo-oXqyvS0n.js → PlayerProfileInfo-BlAtv9JQ.js} +13 -15
  93. package/components/{PlayerProfileInfo-Fks_j7dG.js → PlayerProfileInfo-C6mpr0NI.js} +13 -15
  94. package/components/{PlayerRealityCheck-CnmsSUD-.js → PlayerRealityCheck-BMEE0YuO.js} +2 -2
  95. package/components/{PlayerRealityCheck-Pof9wQKF.cjs → PlayerRealityCheck-C07ALoZc.cjs} +1 -1
  96. package/components/{PlayerRealityCheck-BYhGlTIr.js → PlayerRealityCheck-e4OXfVRc.js} +2 -2
  97. package/components/{PlayerTransactionHistory-D4PMj0yu.cjs → PlayerTransactionHistory-BGMhKZ1A.cjs} +1 -1
  98. package/components/{PlayerTransactionHistory-BdgwvkWD.js → PlayerTransactionHistory-CpG8GGZl.js} +1 -1
  99. package/components/{PlayerTransactionHistory-Bl2ynx42.js → PlayerTransactionHistory-Du0SUmkH.js} +1 -1
  100. package/components/{PlayerWithdrawal-pTo28WG0.js → PlayerWithdrawal-C5VtcCek.js} +1 -1
  101. package/components/{PlayerWithdrawal-D4j7gnQO.cjs → PlayerWithdrawal-DC7xcl_E.cjs} +1 -1
  102. package/components/{PlayerWithdrawal-DHfd9JO-.js → PlayerWithdrawal-DZrMEmpo.js} +1 -1
  103. package/components/{QrSessionGenerator-CMi9EJ3z.js → QrSessionGenerator-BWEmjjNF.js} +13 -25
  104. package/components/{QrSessionGenerator-zb4CoxMc.cjs → QrSessionGenerator-GLH14lh4.cjs} +1 -1
  105. package/components/{QrSessionGenerator-ByWQd2Ww.js → QrSessionGenerator-Vv6Go1KV.js} +13 -25
  106. package/es2015/player-account-controller-nd.cjs +1 -1
  107. package/es2015/player-account-controller-nd.js +1 -1
  108. package/esnext/player-account-controller-nd.js +1 -1
  109. package/lazy/{general-logout-CGZ9g6z0.js → general-logout-BRa7oFTH.js} +1 -1
  110. package/lazy/{general-logout-D5Mm_VU_.js → general-logout-CLYmbIxd.js} +1 -1
  111. package/lazy/{general-logout-Dl65wE-i.cjs → general-logout-YWvdiNnI.cjs} +1 -1
  112. package/lazy/{pam-change-password-YH41lYLQ.js → pam-change-password-CQt7gN7c.js} +22 -24
  113. package/lazy/{pam-change-password-Rbve9bg2.js → pam-change-password-DhlCSZKU.js} +22 -24
  114. package/lazy/{pam-change-password-BlRpneHq.cjs → pam-change-password-gS1FNvTB.cjs} +1 -1
  115. package/lazy/{player-account-betting-history-YegSobZE.cjs → player-account-betting-history-BU7En8At.cjs} +1 -1
  116. package/lazy/{player-account-betting-history-BtRNsGdH.js → player-account-betting-history-DarYTbFb.js} +1 -1
  117. package/lazy/{player-account-betting-history-D0D53Fp2.js → player-account-betting-history-kZZmwxEQ.js} +1 -1
  118. package/lazy/{player-account-biometrics-lVJOgS5W.js → player-account-biometrics-9Jp_DBRA.js} +1 -1
  119. package/lazy/{player-account-biometrics-Z_Uled3B.js → player-account-biometrics-BHuyyrb4.js} +1 -1
  120. package/lazy/{player-account-biometrics-ksd6XNnu.cjs → player-account-biometrics-C6UudRfc.cjs} +1 -1
  121. package/lazy/{player-account-biometrics-action-3j7grMAO.js → player-account-biometrics-action-9_34yNMa.js} +1 -1
  122. package/lazy/{player-account-biometrics-action-vKXS62Ob.js → player-account-biometrics-action-CHMqzmo6.js} +1 -1
  123. package/lazy/{player-account-biometrics-action-DZ89dBTy.cjs → player-account-biometrics-action-D5uhErfh.cjs} +1 -1
  124. package/lazy/{player-account-closure-nd-BL-w5-Zh.js → player-account-closure-nd-Bk3IGPQs.js} +1 -1
  125. package/lazy/{player-account-closure-nd-DqaPSBqI.cjs → player-account-closure-nd-C4ZcOm71.cjs} +1 -1
  126. package/lazy/{player-account-closure-nd-BrEfra5h.js → player-account-closure-nd-RKYEJxSX.js} +1 -1
  127. package/lazy/{player-account-gaming-limits-BUs2Xm1Y.cjs → player-account-gaming-limits-CvvZ8lBz.cjs} +1 -1
  128. package/lazy/{player-account-gaming-limits-CDK98q-T.js → player-account-gaming-limits-LSQdj5rC.js} +1 -1
  129. package/lazy/{player-account-gaming-limits-BqrEl_dr.js → player-account-gaming-limits-X-DXA1to.js} +1 -1
  130. package/lazy/{player-account-gaming-limits-confirmation-modal-BpQLh714.js → player-account-gaming-limits-confirmation-modal-C81iaJi7.js} +1 -1
  131. package/lazy/{player-account-gaming-limits-confirmation-modal-BRRIGM4D.js → player-account-gaming-limits-confirmation-modal-CQboPROf.js} +1 -1
  132. package/lazy/{player-account-gaming-limits-confirmation-modal-BvCuS-YC.cjs → player-account-gaming-limits-confirmation-modal-D-MdzvHG.cjs} +1 -1
  133. package/lazy/{player-account-gaming-limits-group-edit-CfUcK0T-.cjs → player-account-gaming-limits-group-edit-C2KG_WD3.cjs} +1 -1
  134. package/lazy/{player-account-gaming-limits-group-edit-Cxls2CRm.js → player-account-gaming-limits-group-edit-QPhaZZ4g.js} +1 -1
  135. package/lazy/{player-account-gaming-limits-group-edit-CTqHhP5e.js → player-account-gaming-limits-group-edit-XTdrALvy.js} +1 -1
  136. package/lazy/{player-account-gaming-limits-history-2-nd-BSe1kTbG.js → player-account-gaming-limits-history-2-nd-BwwKHGUP.js} +1 -1
  137. package/lazy/{player-account-gaming-limits-history-2-nd-BT5VG3PA.cjs → player-account-gaming-limits-history-2-nd-C8VqM5qX.cjs} +1 -1
  138. package/lazy/{player-account-gaming-limits-history-2-nd-8wq8ZksT.js → player-account-gaming-limits-history-2-nd-D55d3WUh.js} +1 -1
  139. package/lazy/{player-account-gaming-limits-info-card-BTY6_XTu.js → player-account-gaming-limits-info-card-BYvB6TfO.js} +1 -1
  140. package/lazy/{player-account-gaming-limits-info-card-DlELJghe.js → player-account-gaming-limits-info-card-DvizEm9E.js} +1 -1
  141. package/lazy/{player-account-gaming-limits-info-card-BFlK_Kyp.cjs → player-account-gaming-limits-info-card-EIbtUiFM.cjs} +1 -1
  142. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CS6n0CD7.cjs → player-account-gaming-limits-page-2-gm16-nd-Bdc9AF2V.cjs} +1 -1
  143. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-C3vC8f91.js → player-account-gaming-limits-page-2-gm16-nd-DCs5ekLS.js} +1 -1
  144. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DL8mJnBd.js → player-account-gaming-limits-page-2-gm16-nd-jL3g5EM3.js} +1 -1
  145. package/lazy/{player-account-gaming-limits-popup-ChQMBIi4.js → player-account-gaming-limits-popup-C-FxPjHK.js} +1 -1
  146. package/lazy/{player-account-gaming-limits-popup-BZ0pgEQj.js → player-account-gaming-limits-popup-NmLrg23B.js} +1 -1
  147. package/lazy/{player-account-gaming-limits-popup-C9LHubZ5.cjs → player-account-gaming-limits-popup-q2ChaCJV.cjs} +1 -1
  148. package/lazy/{player-account-gaming-limits-wrapper-2-nd-DuDWa-EF.js → player-account-gaming-limits-wrapper-2-nd-B1CLqxg8.js} +1 -1
  149. package/lazy/{player-account-gaming-limits-wrapper-2-nd-BRqOnXTj.cjs → player-account-gaming-limits-wrapper-2-nd-Ct4Ot1zY.cjs} +1 -1
  150. package/lazy/{player-account-gaming-limits-wrapper-2-nd-BLRsq-6k.js → player-account-gaming-limits-wrapper-2-nd-N9xKrQL4.js} +1 -1
  151. package/lazy/{player-account-general-confirmation-modal--HCilWzL.js → player-account-general-confirmation-modal-C_falRjk.js} +1 -1
  152. package/lazy/{player-account-general-confirmation-modal-BVezEO85.cjs → player-account-general-confirmation-modal-PTOjbtqO.cjs} +1 -1
  153. package/lazy/{player-account-general-confirmation-modal-BVOLODHo.js → player-account-general-confirmation-modal-tWM1iF7D.js} +1 -1
  154. package/lazy/{player-account-menu-nd-DmQnVgLs.js → player-account-menu-nd-BUXebTFM.js} +1 -1
  155. package/lazy/{player-account-menu-nd-DEaKsJwE.js → player-account-menu-nd-ByiaAuBh.js} +1 -1
  156. package/lazy/{player-account-menu-nd-C84EOh2Z.cjs → player-account-menu-nd-D57UZIdB.cjs} +1 -1
  157. package/lazy/{player-account-modal-sq0boxfH.js → player-account-modal-C_OUrtid.js} +1 -1
  158. package/lazy/{player-account-modal-CyDkof9V.cjs → player-account-modal-Dhnkrozt.cjs} +1 -1
  159. package/lazy/{player-account-modal-_R3DlDyk.js → player-account-modal-DmNBMFMU.js} +1 -1
  160. package/lazy/{player-account-notifications-BxqcVI6r.js → player-account-notifications-BUT2JjWt.js} +1 -1
  161. package/lazy/{player-account-notifications-BJdZRhbt.cjs → player-account-notifications-PdMNdxWj.cjs} +1 -1
  162. package/lazy/{player-account-notifications-KO8aidPQ.js → player-account-notifications-fxN7fdL1.js} +1 -1
  163. package/lazy/{player-account-product-restriction-XzfoTiUL.js → player-account-product-restriction-DJQ6_-Qa.js} +1 -1
  164. package/lazy/{player-account-product-restriction-CdV4A_Q1.js → player-account-product-restriction-Dl4xRpdd.js} +1 -1
  165. package/lazy/{player-account-product-restriction-C2KIx4ug.cjs → player-account-product-restriction-RKQRrg0d.cjs} +1 -1
  166. package/lazy/{player-account-review-frequency-CAWm9ruH.js → player-account-review-frequency-C8e3Ofe6.js} +1 -1
  167. package/lazy/{player-account-review-frequency-CGZwajWN.cjs → player-account-review-frequency-CaFEVUiS.cjs} +1 -1
  168. package/lazy/{player-account-review-frequency-DCItKt4Y.js → player-account-review-frequency-Dbt7jaw2.js} +1 -1
  169. package/lazy/{player-account-self-exclusion-nd-BvqFyx7e.cjs → player-account-self-exclusion-nd-C3m55rUx.cjs} +1 -1
  170. package/lazy/{player-account-self-exclusion-nd-tTIK6ZX2.js → player-account-self-exclusion-nd-CMzyeF2O.js} +1 -1
  171. package/lazy/{player-account-self-exclusion-nd-4bApEK4f.js → player-account-self-exclusion-nd-igOQinVk.js} +1 -1
  172. package/lazy/{player-account-timeout-B5u3PFUS.js → player-account-timeout-B036_0d9.js} +1 -1
  173. package/lazy/{player-account-timeout-BUWAzN7Q.js → player-account-timeout-BEUUFWEp.js} +1 -1
  174. package/lazy/{player-account-timeout-DKXz2_XT.cjs → player-account-timeout-BMpiKef8.cjs} +1 -1
  175. package/lazy/{player-account-transactions-history-CoAqwzrw.js → player-account-transactions-history-BnoNxzuA.js} +1 -1
  176. package/lazy/{player-account-transactions-history-BeqShBGP.js → player-account-transactions-history-CyT_-CGQ.js} +1 -1
  177. package/lazy/{player-account-transactions-history-CAQw-19U.cjs → player-account-transactions-history-TfnyUsxn.cjs} +1 -1
  178. package/lazy/{player-active-bonuses-CJseEz5v.js → player-active-bonuses-C6aV91wc.js} +1 -1
  179. package/lazy/{player-active-bonuses-fvbFAgX-.cjs → player-active-bonuses-CsFNdeVv.cjs} +1 -1
  180. package/lazy/{player-active-bonuses-DbUl-0-V.js → player-active-bonuses-DqiT3imY.js} +1 -1
  181. package/lazy/{player-bonus-card-CsQaALnV.js → player-bonus-card-BkThed60.js} +1 -1
  182. package/lazy/{player-bonus-card-DJjpxQs0.js → player-bonus-card-CmK7JuVs.js} +1 -1
  183. package/lazy/{player-bonus-card-D5ePfc0C.cjs → player-bonus-card-DDxqinXp.cjs} +1 -1
  184. package/lazy/{player-bonus-history-CRDhOz9p.cjs → player-bonus-history-B90I1d8P.cjs} +1 -1
  185. package/lazy/{player-bonus-history-5YlWeuM4.js → player-bonus-history-BTmzGOZd.js} +1 -1
  186. package/lazy/{player-bonus-history-Xas_WVgS.js → player-bonus-history-BjewgN6o.js} +1 -1
  187. package/lazy/{player-change-password-nd-CSm1iznG.js → player-change-password-nd--Eu7RVPL.js} +1 -1
  188. package/lazy/{player-change-password-nd-lKKYchhB.js → player-change-password-nd-CYgC2SpI.js} +1 -1
  189. package/lazy/{player-change-password-nd-CCBotjF7.cjs → player-change-password-nd-CcOG3Nyt.cjs} +1 -1
  190. package/lazy/{player-deposit-B_amCwBL.js → player-deposit-CCOOcgA1.js} +1 -1
  191. package/lazy/{player-deposit-CZfZIxMw.cjs → player-deposit-CqMXvpaZ.cjs} +1 -1
  192. package/lazy/{player-deposit-BOBG0KMM.js → player-deposit-zE7TJYA1.js} +1 -1
  193. package/lazy/{player-gaming-history-BatyEh8b.cjs → player-gaming-history-CC0GsrpC.cjs} +1 -1
  194. package/lazy/{player-gaming-history-BC8w4m8I.js → player-gaming-history-CXi3vfwK.js} +1 -1
  195. package/lazy/{player-gaming-history-_nBx93s6.js → player-gaming-history-W5sKfQCt.js} +1 -1
  196. package/lazy/{player-kyc-verification-CzP6GbxM.js → player-kyc-verification-BCZaFaTM.js} +2 -3
  197. package/lazy/{player-kyc-verification-qxyiuQFV.js → player-kyc-verification-CCSlizSF.js} +2 -3
  198. package/lazy/{player-pending-withdrawals-f2rwNVEj.js → player-pending-withdrawals-BEyih5KL.js} +1 -1
  199. package/lazy/{player-pending-withdrawals-DV3MBtND.js → player-pending-withdrawals-C9x40s9Q.js} +1 -1
  200. package/lazy/{player-pending-withdrawals-CfAFtOlc.cjs → player-pending-withdrawals-CrKrRCCj.cjs} +1 -1
  201. package/lazy/{player-profile-info-DeHpz5pE.cjs → player-profile-info-CQYbmwAF.cjs} +1 -1
  202. package/lazy/{player-profile-info-DAZ7LlzK.js → player-profile-info-Ch4sM284.js} +1 -1
  203. package/lazy/{player-profile-info-CaxAMHDu.js → player-profile-info-DJFe5Jxb.js} +1 -1
  204. package/lazy/{player-reality-check-dyAKwU9X.js → player-reality-check-BTj6SqVv.js} +1 -1
  205. package/lazy/{player-reality-check-b5PNqNZV.js → player-reality-check-CBG_fMO9.js} +1 -1
  206. package/lazy/{player-reality-check-CtgZIvUM.cjs → player-reality-check-Cwcwss6e.cjs} +1 -1
  207. package/lazy/{player-transaction-history-BQ3UXBCh.cjs → player-transaction-history-BIvw4k1U.cjs} +1 -1
  208. package/lazy/{player-transaction-history-C2ANpFes.js → player-transaction-history-D1OE0Quq.js} +1 -1
  209. package/lazy/{player-transaction-history-Ff12cwAz.js → player-transaction-history-h8r2RnJt.js} +1 -1
  210. package/lazy/{player-withdrawal-CoifhnTL.js → player-withdrawal-Bqkfqbul.js} +1 -1
  211. package/lazy/{player-withdrawal-CczkqHIH.cjs → player-withdrawal-CXGIJvjX.cjs} +1 -1
  212. package/lazy/{player-withdrawal-B2w8jt3A.js → player-withdrawal-DO_9su_q.js} +1 -1
  213. package/lazy/{qr-session-generator-DY9m0dQQ.js → qr-session-generator-BER1sOvn.js} +1 -1
  214. package/lazy/{qr-session-generator-2LDpjyU7.cjs → qr-session-generator-C3ny9pzb.cjs} +1 -1
  215. package/lazy/{qr-session-generator-BmChnpgC.js → qr-session-generator-WfzXLYdK.js} +1 -1
  216. package/lazy/{ui-skeleton-D_9rhDxL.js → ui-skeleton-BY0RPGFe.js} +2 -3
  217. package/lazy/{ui-skeleton-BBQWByBl.js → ui-skeleton-X4nG3YRg.js} +2 -3
  218. package/lazy/{user-deposit-withdrawal-d9iF0j_x.js → user-deposit-withdrawal-CW2M1VxT.js} +22 -24
  219. package/lazy/{user-deposit-withdrawal-CoRVJsis.js → user-deposit-withdrawal-DSpPqpYe.js} +22 -24
  220. package/lazy/{user-transaction-history-Djawy1ZV.cjs → user-transaction-history-BotBOUvU.cjs} +1 -1
  221. package/lazy/{user-transaction-history-aIst3Kg0.js → user-transaction-history-CPk9X09g.js} +23 -25
  222. package/lazy/{user-transaction-history-BmB73QI_.js → user-transaction-history-CrRzN-Te.js} +23 -25
  223. package/package.json +1 -1
  224. package/stencil/{checkbox-group-input_16-Ct_58vrG.js → checkbox-group-input_16-41494D-0.js} +471 -823
  225. package/stencil/{checkbox-group-input_16-BNFLgAEe.js → checkbox-group-input_16-D6LWZJu6.js} +471 -823
  226. package/stencil/{checkbox-group-input_16-D2G5IVGH.cjs → checkbox-group-input_16-mmCvpN9q.cjs} +2 -2
  227. package/stencil/{pam-change-password-173e4b25-Cfp_QE3-.js → pam-change-password-173e4b25-BBLKAOOj.js} +4 -7
  228. package/stencil/{pam-change-password-173e4b25-D4_5ZrVs.js → pam-change-password-173e4b25-Cmr-X1N4.js} +4 -7
  229. package/stencil/{pam-change-password-173e4b25-CZfB3WXD.cjs → pam-change-password-173e4b25-D9eRF4Nt.cjs} +1 -1
  230. package/stencil/{pam-change-password-Cy5rTiCb.js → pam-change-password-CDrVbMgt.js} +2 -2
  231. package/stencil/{pam-change-password-CSlnUJXh.cjs → pam-change-password-D8zIOztx.cjs} +1 -1
  232. package/stencil/{pam-change-password-C2WYWYwE.js → pam-change-password-jQlm4Ntx.js} +2 -2
  233. package/stencil/{player-kyc-verification-D_rF_mQm.js → player-kyc-verification-B29q2vLG.js} +4 -7
  234. package/stencil/{player-kyc-verification-DxrMs1Nv.js → player-kyc-verification-k-PCXQJX.js} +4 -7
  235. package/stencil/{player-step-up-auth_2-D4i7tfhP.js → player-step-up-auth_2-C-cJSHQZ.js} +26 -51
  236. package/stencil/{player-step-up-auth_2-BdP6VjsY.js → player-step-up-auth_2-DfgrMpFE.js} +26 -51
  237. package/stencil/{ui-skeleton-fEyshHrf.js → ui-skeleton-CSmLZsc_.js} +2 -2
  238. package/stencil/{ui-skeleton-Dd7tqzYw.js → ui-skeleton-D0qfL-IU.js} +2 -2
  239. package/stencil/{ui-skeleton-ed169f8f-DMVI4VdD.js → ui-skeleton-ed169f8f-BYlKntRA.js} +1 -1
  240. package/stencil/{ui-skeleton-ed169f8f-W8BHwBHY.js → ui-skeleton-ed169f8f-Bpwbv5t6.js} +1 -1
  241. package/stencil/{user-deposit-withdrawal-CC2LR4wK.js → user-deposit-withdrawal-3gchXK1B.js} +2 -2
  242. package/stencil/{user-deposit-withdrawal-BrzuBosZ.js → user-deposit-withdrawal-AIGWdUm_.js} +2 -2
  243. package/stencil/{user-transaction-history-BOBJWKcb.cjs → user-transaction-history-C6AKFwdI.cjs} +1 -1
  244. package/stencil/{user-transaction-history-C20PiMa8.js → user-transaction-history-CYiC9O9-.js} +2 -2
  245. package/stencil/{user-transaction-history-C9LS9_nf.js → user-transaction-history-DU1vLXrT.js} +2 -2
  246. package/stencil/{user-transaction-history_2-DQiK7wWw.js → user-transaction-history_2-B4cqW1zN.js} +472 -827
  247. package/stencil/{user-transaction-history_2-TdcvgBHP.cjs → user-transaction-history_2-B_I6pgbz.cjs} +2 -2
  248. package/stencil/{user-transaction-history_2-DXgLBYyf.js → user-transaction-history_2-C0gXLzko.js} +472 -827
@@ -1,5 +1,5 @@
1
- import { a as Cl, $ as kl, S as El, i as Pl, s as Al, f as he, b as Tl, n as Ai, d as xe, u as gt, r as _, c as Ce, p as E, x as tt, e as j, q as ye, v as Ae, t as L, g as Il, h as Sl, j as Dl, o as Ol, y as mt, k as ci, K as to, l as Nr, m as sa, w as Ml, A as Nl, B as zl, C as Bl, D as Ll } from "./PlayerAccountControllerNd-D6zZL73A.js";
2
- import "../lazy/player-bonus-card-CsQaALnV.js";
1
+ import { a as Cl, $ as kl, S as El, i as Pl, s as Al, f as he, b as Tl, n as Ai, d as xe, u as gt, r as _, c as Ce, p as E, x as tt, e as j, q as ye, v as Ae, t as L, g as Il, h as Sl, j as Dl, o as Ol, y as mt, k as ci, K as to, l as Nr, m as sa, w as Ml, A as Nl, B as zl, C as Bl, D as Ll } from "./PlayerAccountControllerNd-CoEaKJEO.js";
2
+ import "../lazy/player-bonus-card-BkThed60.js";
3
3
  function He(i) {
4
4
  "@babel/helpers - typeof";
5
5
  return He = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -1125,11 +1125,9 @@ function wd(i, e) {
1125
1125
  function xd(i) {
1126
1126
  return function(e) {
1127
1127
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.match(i.matchPattern);
1128
- if (!r)
1129
- return null;
1128
+ if (!r) return null;
1130
1129
  var o = r[0], n = e.match(i.parsePattern);
1131
- if (!n)
1132
- return null;
1130
+ if (!n) return null;
1133
1131
  var a = i.valueCallback ? i.valueCallback(n[0]) : n[0];
1134
1132
  a = t.valueCallback ? t.valueCallback(a) : a;
1135
1133
  var s = e.slice(o.length);
@@ -1292,14 +1290,12 @@ function If(i) {
1292
1290
  }
1293
1291
  function Ko(i, e) {
1294
1292
  (e == null || e > i.length) && (e = i.length);
1295
- for (var t = 0, r = Array(e); t < e; t++)
1296
- r[t] = i[t];
1293
+ for (var t = 0, r = Array(e); t < e; t++) r[t] = i[t];
1297
1294
  return r;
1298
1295
  }
1299
1296
  function $d(i, e) {
1300
1297
  if (i) {
1301
- if (typeof i == "string")
1302
- return Ko(i, e);
1298
+ if (typeof i == "string") return Ko(i, e);
1303
1299
  var t = {}.toString.call(i).slice(8, -1);
1304
1300
  return t === "Object" && i.constructor && (t = i.constructor.name), t === "Map" || t === "Set" ? Array.from(i) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Ko(i, e) : void 0;
1305
1301
  }
@@ -1346,15 +1342,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1346
1342
  try {
1347
1343
  a || t.return == null || t.return();
1348
1344
  } finally {
1349
- if (s)
1350
- throw n;
1345
+ if (s) throw n;
1351
1346
  }
1352
1347
  }
1353
1348
  };
1354
1349
  }
1355
1350
  function y(i) {
1356
- if (i === void 0)
1357
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1351
+ if (i === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1358
1352
  return i;
1359
1353
  }
1360
1354
  function Ii(i, e) {
@@ -1363,8 +1357,7 @@ function Ii(i, e) {
1363
1357
  }, Ii(i, e);
1364
1358
  }
1365
1359
  function F(i, e) {
1366
- if (typeof e != "function" && e !== null)
1367
- throw new TypeError("Super expression must either be null or a function");
1360
+ if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
1368
1361
  i.prototype = Object.create(e && e.prototype, {
1369
1362
  constructor: {
1370
1363
  value: i,
@@ -1391,10 +1384,8 @@ function va() {
1391
1384
  })();
1392
1385
  }
1393
1386
  function Wd(i, e) {
1394
- if (e && (He(e) == "object" || typeof e == "function"))
1395
- return e;
1396
- if (e !== void 0)
1397
- throw new TypeError("Derived constructors may only return object or undefined");
1387
+ if (e && (He(e) == "object" || typeof e == "function")) return e;
1388
+ if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
1398
1389
  return y(i);
1399
1390
  }
1400
1391
  function R(i) {
@@ -1404,23 +1395,19 @@ function R(i) {
1404
1395
  if (e) {
1405
1396
  var o = Br(this).constructor;
1406
1397
  t = Reflect.construct(r, arguments, o);
1407
- } else
1408
- t = r.apply(this, arguments);
1398
+ } else t = r.apply(this, arguments);
1409
1399
  return Wd(this, t);
1410
1400
  };
1411
1401
  }
1412
1402
  function M(i, e) {
1413
- if (!(i instanceof e))
1414
- throw new TypeError("Cannot call a class as a function");
1403
+ if (!(i instanceof e)) throw new TypeError("Cannot call a class as a function");
1415
1404
  }
1416
1405
  function qd(i, e) {
1417
- if (He(i) != "object" || !i)
1418
- return i;
1406
+ if (He(i) != "object" || !i) return i;
1419
1407
  var t;
1420
1408
  if (typeof Symbol < "u" && (t = i[Symbol.toPrimitive]) !== void 0) {
1421
1409
  var r = t.call(i, e);
1422
- if (He(r) != "object")
1423
- return r;
1410
+ if (He(r) != "object") return r;
1424
1411
  throw new TypeError("@@toPrimitive must return a primitive value.");
1425
1412
  }
1426
1413
  return (e === "string" ? String : Number)(i);
@@ -3136,8 +3123,7 @@ function Qo(i, e, t, r) {
3136
3123
  };
3137
3124
  for (S.s(); !(ne = S.n()).done; ) {
3138
3125
  var fe = Se();
3139
- if (He(fe) === "object")
3140
- return fe.v;
3126
+ if (He(fe) === "object") return fe.v;
3141
3127
  }
3142
3128
  } catch (Q) {
3143
3129
  S.e(Q);
@@ -3306,13 +3292,10 @@ async function Wc(i, e, t) {
3306
3292
  });
3307
3293
  }
3308
3294
  var qc = Object.defineProperty, Yc = Object.defineProperties, jc = Object.getOwnPropertyDescriptors, tn = Object.getOwnPropertySymbols, Gc = Object.prototype.hasOwnProperty, Kc = Object.prototype.propertyIsEnumerable, Si = (i, e, t) => e in i ? qc(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Fr = (i, e) => {
3309
- for (var t in e || (e = {}))
3310
- Gc.call(e, t) && Si(i, t, e[t]);
3311
- if (tn)
3312
- for (var t of tn(e))
3313
- Kc.call(e, t) && Si(i, t, e[t]);
3295
+ for (var t in e || (e = {})) Gc.call(e, t) && Si(i, t, e[t]);
3296
+ if (tn) for (var t of tn(e)) Kc.call(e, t) && Si(i, t, e[t]);
3314
3297
  return i;
3315
- }, Ca = (i, e) => Yc(i, jc(e)), pe = (i, e, t) => (Si(i, typeof e != "symbol" ? e + "" : e, t), t), Rr = (i, e, t) => new Promise((r, o) => {
3298
+ }, Ca = (i, e) => Yc(i, jc(e)), pe = (i, e, t) => Si(i, typeof e != "symbol" ? e + "" : e, t), Rr = (i, e, t) => new Promise((r, o) => {
3316
3299
  var n = (l) => {
3317
3300
  try {
3318
3301
  s(t.next(l));
@@ -3338,8 +3321,7 @@ function A(i, e = "24.5.10") {
3338
3321
  return e;
3339
3322
  } });
3340
3323
  const t = customElements.get(i.is);
3341
- if (!t)
3342
- customElements.define(i.is, i);
3324
+ if (!t) customElements.define(i.is, i);
3343
3325
  else {
3344
3326
  const r = t.version;
3345
3327
  r && i.version && r === i.version ? console.warn(`The component ${i.is} has been loaded twice`) : console.error(`Tried to define ${i.is} version ${i.version} when version ${t.version} is already in use. Something will probably break.`);
@@ -3364,8 +3346,7 @@ A(Xc);
3364
3346
  const Dr = globalThis, no = Dr.ShadowRoot && (Dr.ShadyCSS === void 0 || Dr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ao = Symbol(), rn = /* @__PURE__ */ new WeakMap();
3365
3347
  let so = class {
3366
3348
  constructor(i, e, t) {
3367
- if (this._$cssResult$ = !0, t !== ao)
3368
- throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
3349
+ if (this._$cssResult$ = !0, t !== ao) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
3369
3350
  this.cssText = i, this.t = e;
3370
3351
  }
3371
3352
  get styleSheet() {
@@ -3383,25 +3364,20 @@ let so = class {
3383
3364
  };
3384
3365
  const Qc = (i) => new so(typeof i == "string" ? i : i + "", void 0, ao), g = (i, ...e) => {
3385
3366
  const t = i.length === 1 ? i[0] : e.reduce((r, o, n) => r + ((a) => {
3386
- if (a._$cssResult$ === !0)
3387
- return a.cssText;
3388
- if (typeof a == "number")
3389
- return a;
3367
+ if (a._$cssResult$ === !0) return a.cssText;
3368
+ if (typeof a == "number") return a;
3390
3369
  throw Error("Value passed to 'css' function must be a 'css' function result: " + a + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
3391
3370
  })(o) + i[n + 1], i[0]);
3392
3371
  return new so(t, i, ao);
3393
3372
  }, ka = (i, e) => {
3394
- if (no)
3395
- i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
3396
- else
3397
- for (const t of e) {
3398
- const r = document.createElement("style"), o = Dr.litNonce;
3399
- o !== void 0 && r.setAttribute("nonce", o), r.textContent = t.cssText, i.appendChild(r);
3400
- }
3373
+ if (no) i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
3374
+ else for (const t of e) {
3375
+ const r = document.createElement("style"), o = Dr.litNonce;
3376
+ o !== void 0 && r.setAttribute("nonce", o), r.textContent = t.cssText, i.appendChild(r);
3377
+ }
3401
3378
  }, on = no ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
3402
3379
  let t = "";
3403
- for (const r of e.cssRules)
3404
- t += r.cssText;
3380
+ for (const r of e.cssRules) t += r.cssText;
3405
3381
  return Qc(t);
3406
3382
  })(i) : i;
3407
3383
  /**
@@ -3470,25 +3446,20 @@ let vt = class extends HTMLElement {
3470
3446
  return (e = this.elementProperties.get(i)) != null ? e : sn;
3471
3447
  }
3472
3448
  static _$Ei() {
3473
- if (this.hasOwnProperty(Qt("elementProperties")))
3474
- return;
3449
+ if (this.hasOwnProperty(Qt("elementProperties"))) return;
3475
3450
  const i = iu(this);
3476
3451
  i.finalize(), i.l !== void 0 && (this.l = [...i.l]), this.elementProperties = new Map(i.elementProperties);
3477
3452
  }
3478
3453
  static finalize() {
3479
- if (this.hasOwnProperty(Qt("finalized")))
3480
- return;
3454
+ if (this.hasOwnProperty(Qt("finalized"))) return;
3481
3455
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Qt("properties"))) {
3482
3456
  const e = this.properties, t = [...tu(e), ...ru(e)];
3483
- for (const r of t)
3484
- this.createProperty(r, e[r]);
3457
+ for (const r of t) this.createProperty(r, e[r]);
3485
3458
  }
3486
3459
  const i = this[Symbol.metadata];
3487
3460
  if (i !== null) {
3488
3461
  const e = litPropertyMetadata.get(i);
3489
- if (e !== void 0)
3490
- for (const [t, r] of e)
3491
- this.elementProperties.set(t, r);
3462
+ if (e !== void 0) for (const [t, r] of e) this.elementProperties.set(t, r);
3492
3463
  }
3493
3464
  this._$Eh = /* @__PURE__ */ new Map();
3494
3465
  for (const [e, t] of this.elementProperties) {
@@ -3501,10 +3472,8 @@ let vt = class extends HTMLElement {
3501
3472
  const e = [];
3502
3473
  if (Array.isArray(i)) {
3503
3474
  const t = new Set(i.flat(1 / 0).reverse());
3504
- for (const r of t)
3505
- e.unshift(on(r));
3506
- } else
3507
- i !== void 0 && e.push(on(i));
3475
+ for (const r of t) e.unshift(on(r));
3476
+ } else i !== void 0 && e.push(on(i));
3508
3477
  return e;
3509
3478
  }
3510
3479
  static _$Eu(i, e) {
@@ -3528,8 +3497,7 @@ let vt = class extends HTMLElement {
3528
3497
  }
3529
3498
  _$E_() {
3530
3499
  const i = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
3531
- for (const t of e.keys())
3532
- this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
3500
+ for (const t of e.keys()) this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
3533
3501
  i.size > 0 && (this._$Ep = i);
3534
3502
  }
3535
3503
  createRenderRoot() {
@@ -3578,8 +3546,7 @@ let vt = class extends HTMLElement {
3578
3546
  var n, a;
3579
3547
  if (i !== void 0) {
3580
3548
  const s = this.constructor;
3581
- if (r === !1 && (o = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((n = t.hasChanged) != null ? n : Ea)(o, e) || t.useDefault && t.reflect && o === ((a = this._$Ej) == null ? void 0 : a.get(i)) && !this.hasAttribute(s._$Eu(i, t))))
3582
- return;
3549
+ if (r === !1 && (o = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((n = t.hasChanged) != null ? n : Ea)(o, e) || t.useDefault && t.reflect && o === ((a = this._$Ej) == null ? void 0 : a.get(i)) && !this.hasAttribute(s._$Eu(i, t)))) return;
3583
3550
  this.C(i, e, t);
3584
3551
  }
3585
3552
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -3605,20 +3572,17 @@ let vt = class extends HTMLElement {
3605
3572
  }
3606
3573
  performUpdate() {
3607
3574
  var i;
3608
- if (!this.isUpdatePending)
3609
- return;
3575
+ if (!this.isUpdatePending) return;
3610
3576
  if (!this.hasUpdated) {
3611
3577
  if (this.renderRoot != null || (this.renderRoot = this.createRenderRoot()), this._$Ep) {
3612
- for (const [o, n] of this._$Ep)
3613
- this[o] = n;
3578
+ for (const [o, n] of this._$Ep) this[o] = n;
3614
3579
  this._$Ep = void 0;
3615
3580
  }
3616
3581
  const r = this.constructor.elementProperties;
3617
- if (r.size > 0)
3618
- for (const [o, n] of r) {
3619
- const { wrapped: a } = n, s = this[o];
3620
- a !== !0 || this._$AL.has(o) || s === void 0 || this.C(o, void 0, n, s);
3621
- }
3582
+ if (r.size > 0) for (const [o, n] of r) {
3583
+ const { wrapped: a } = n, s = this[o];
3584
+ a !== !0 || this._$AL.has(o) || s === void 0 || this.C(o, void 0, n, s);
3585
+ }
3622
3586
  }
3623
3587
  let e = !1;
3624
3588
  const t = this._$AL;
@@ -3672,8 +3636,7 @@ const Vr = globalThis, dn = (i) => i, Hr = Vr.trustedTypes, cn = Hr ? Hr.createP
3672
3636
  \f\r]`, $t = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, un = /-->/g, hn = />/g, Ze = RegExp(`>|${hi}(?:([^\\s"'>=/]+)(${hi}*=${hi}*(?:[^
3673
3637
  \f\r"'\`<>=]|("|')|))|$)`, "g"), pn = /'/g, mn = /"/g, Ta = /^(?:script|style|textarea|title)$/i, Pt = Symbol.for("lit-noChange"), le = Symbol.for("lit-nothing"), _n = /* @__PURE__ */ new WeakMap(), rt = at.createTreeWalker(at, 129);
3674
3638
  function Ia(i, e) {
3675
- if (!lo(i) || !i.hasOwnProperty("raw"))
3676
- throw Error("invalid template strings array");
3639
+ if (!lo(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
3677
3640
  return cn !== void 0 ? cn.createHTML(e) : e;
3678
3641
  }
3679
3642
  const su = (i, e) => {
@@ -3682,8 +3645,7 @@ const su = (i, e) => {
3682
3645
  for (let s = 0; s < t; s++) {
3683
3646
  const l = i[s];
3684
3647
  let d, c, u = -1, h = 0;
3685
- for (; h < l.length && (a.lastIndex = h, c = a.exec(l), c !== null); )
3686
- h = a.lastIndex, a === $t ? c[1] === "!--" ? a = un : c[1] !== void 0 ? a = hn : c[2] !== void 0 ? (Ta.test(c[2]) && (o = RegExp("</" + c[2], "g")), a = Ze) : c[3] !== void 0 && (a = Ze) : a === Ze ? c[0] === ">" ? (a = o ?? $t, u = -1) : c[1] === void 0 ? u = -2 : (u = a.lastIndex - c[2].length, d = c[1], a = c[3] === void 0 ? Ze : c[3] === '"' ? mn : pn) : a === mn || a === pn ? a = Ze : a === un || a === hn ? a = $t : (a = Ze, o = void 0);
3648
+ for (; h < l.length && (a.lastIndex = h, c = a.exec(l), c !== null); ) h = a.lastIndex, a === $t ? c[1] === "!--" ? a = un : c[1] !== void 0 ? a = hn : c[2] !== void 0 ? (Ta.test(c[2]) && (o = RegExp("</" + c[2], "g")), a = Ze) : c[3] !== void 0 && (a = Ze) : a === Ze ? c[0] === ">" ? (a = o ?? $t, u = -1) : c[1] === void 0 ? u = -2 : (u = a.lastIndex - c[2].length, d = c[1], a = c[3] === void 0 ? Ze : c[3] === '"' ? mn : pn) : a === mn || a === pn ? a = Ze : a === un || a === hn ? a = $t : (a = Ze, o = void 0);
3687
3649
  const p = a === Ze && i[s + 1].startsWith("/>") ? " " : "";
3688
3650
  n += a === $t ? l + nu : u >= 0 ? (r.push(d), l.slice(0, u) + Pa + l.slice(u) + Ye + p) : l + Ye + (u === -2 ? s : p);
3689
3651
  }
@@ -3701,30 +3663,23 @@ class tr {
3701
3663
  }
3702
3664
  for (; (o = rt.nextNode()) !== null && l.length < s; ) {
3703
3665
  if (o.nodeType === 1) {
3704
- if (o.hasAttributes())
3705
- for (const u of o.getAttributeNames())
3706
- if (u.endsWith(Pa)) {
3707
- const h = c[a++], p = o.getAttribute(u).split(Ye), m = /([.?@])?(.*)/.exec(h);
3708
- l.push({ type: 1, index: n, name: m[2], strings: p, ctor: m[1] === "." ? du : m[1] === "?" ? cu : m[1] === "@" ? uu : Qr }), o.removeAttribute(u);
3709
- } else
3710
- u.startsWith(Ye) && (l.push({ type: 6, index: n }), o.removeAttribute(u));
3666
+ if (o.hasAttributes()) for (const u of o.getAttributeNames()) if (u.endsWith(Pa)) {
3667
+ const h = c[a++], p = o.getAttribute(u).split(Ye), m = /([.?@])?(.*)/.exec(h);
3668
+ l.push({ type: 1, index: n, name: m[2], strings: p, ctor: m[1] === "." ? du : m[1] === "?" ? cu : m[1] === "@" ? uu : Qr }), o.removeAttribute(u);
3669
+ } else u.startsWith(Ye) && (l.push({ type: 6, index: n }), o.removeAttribute(u));
3711
3670
  if (Ta.test(o.tagName)) {
3712
3671
  const u = o.textContent.split(Ye), h = u.length - 1;
3713
3672
  if (h > 0) {
3714
3673
  o.textContent = Hr ? Hr.emptyScript : "";
3715
- for (let p = 0; p < h; p++)
3716
- o.append(u[p], Zt()), rt.nextNode(), l.push({ type: 2, index: ++n });
3674
+ for (let p = 0; p < h; p++) o.append(u[p], Zt()), rt.nextNode(), l.push({ type: 2, index: ++n });
3717
3675
  o.append(u[h], Zt());
3718
3676
  }
3719
3677
  }
3720
- } else if (o.nodeType === 8)
3721
- if (o.data === Aa)
3722
- l.push({ type: 2, index: n });
3723
- else {
3724
- let u = -1;
3725
- for (; (u = o.data.indexOf(Ye, u + 1)) !== -1; )
3726
- l.push({ type: 7, index: n }), u += Ye.length - 1;
3727
- }
3678
+ } else if (o.nodeType === 8) if (o.data === Aa) l.push({ type: 2, index: n });
3679
+ else {
3680
+ let u = -1;
3681
+ for (; (u = o.data.indexOf(Ye, u + 1)) !== -1; ) l.push({ type: 7, index: n }), u += Ye.length - 1;
3682
+ }
3728
3683
  n++;
3729
3684
  }
3730
3685
  }
@@ -3735,8 +3690,7 @@ class tr {
3735
3690
  }
3736
3691
  function At(i, e, t = i, r) {
3737
3692
  var o, n, a;
3738
- if (e === Pt)
3739
- return e;
3693
+ if (e === Pt) return e;
3740
3694
  let s = r !== void 0 ? (o = t._$Co) == null ? void 0 : o[r] : t._$Cl;
3741
3695
  const l = er(e) ? void 0 : e._$litDirective$;
3742
3696
  return s?.constructor !== l && ((n = s?._$AO) == null || n.call(s, !1), l === void 0 ? s = void 0 : (s = new l(i), s._$AT(i, t, r)), r !== void 0 ? ((a = t._$Co) != null ? a : t._$Co = [])[r] = s : t._$Cl = s), s !== void 0 && (e = At(i, s._$AS(i, e.values), s, r)), e;
@@ -3767,8 +3721,7 @@ class lu {
3767
3721
  }
3768
3722
  p(e) {
3769
3723
  let t = 0;
3770
- for (const r of this._$AV)
3771
- r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
3724
+ for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
3772
3725
  }
3773
3726
  }
3774
3727
  class ur {
@@ -3806,8 +3759,7 @@ class ur {
3806
3759
  $(e) {
3807
3760
  var t;
3808
3761
  const { values: r, _$litType$: o } = e, n = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = tr.createElement(Ia(o.h, o.h[0]), this.options)), o);
3809
- if (((t = this._$AH) == null ? void 0 : t._$AD) === n)
3810
- this._$AH.p(r);
3762
+ if (((t = this._$AH) == null ? void 0 : t._$AD) === n) this._$AH.p(r);
3811
3763
  else {
3812
3764
  const a = new lu(n, this), s = a.u(this.options);
3813
3765
  a.p(r), this.T(s), this._$AH = a;
@@ -3821,8 +3773,7 @@ class ur {
3821
3773
  lo(this._$AH) || (this._$AH = [], this._$AR());
3822
3774
  const t = this._$AH;
3823
3775
  let r, o = 0;
3824
- for (const n of e)
3825
- o === t.length ? t.push(r = new ur(this.O(Zt()), this.O(Zt()), this, this.options)) : r = t[o], r._$AI(n), o++;
3776
+ for (const n of e) o === t.length ? t.push(r = new ur(this.O(Zt()), this.O(Zt()), this, this.options)) : r = t[o], r._$AI(n), o++;
3826
3777
  o < t.length && (this._$AR(r && r._$AB.nextSibling, o), t.length = o);
3827
3778
  }
3828
3779
  _$AR(e = this._$AA.nextSibling, t) {
@@ -3850,13 +3801,11 @@ class Qr {
3850
3801
  _$AI(e, t = this, r, o) {
3851
3802
  const n = this.strings;
3852
3803
  let a = !1;
3853
- if (n === void 0)
3854
- e = At(this, e, t, 0), a = !er(e) || e !== this._$AH && e !== Pt, a && (this._$AH = e);
3804
+ if (n === void 0) e = At(this, e, t, 0), a = !er(e) || e !== this._$AH && e !== Pt, a && (this._$AH = e);
3855
3805
  else {
3856
3806
  const s = e;
3857
3807
  let l, d;
3858
- for (e = n[0], l = 0; l < n.length - 1; l++)
3859
- d = At(this, s[r + l], t, l), d === Pt && (d = this._$AH[l]), a || (a = !er(d) || d !== this._$AH[l]), d === le ? e = le : e !== le && (e += (d ?? "") + n[l + 1]), this._$AH[l] = d;
3808
+ for (e = n[0], l = 0; l < n.length - 1; l++) d = At(this, s[r + l], t, l), d === Pt && (d = this._$AH[l]), a || (a = !er(d) || d !== this._$AH[l]), d === le ? e = le : e !== le && (e += (d ?? "") + n[l + 1]), this._$AH[l] = d;
3860
3809
  }
3861
3810
  a && !o && this.j(e);
3862
3811
  }
@@ -3886,8 +3835,7 @@ class uu extends Qr {
3886
3835
  }
3887
3836
  _$AI(e, t = this) {
3888
3837
  var r;
3889
- if ((e = (r = At(this, e, t, 0)) != null ? r : le) === Pt)
3890
- return;
3838
+ if ((e = (r = At(this, e, t, 0)) != null ? r : le) === Pt) return;
3891
3839
  const o = this._$AH, n = e === le && o !== le || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, a = e !== le && (o === le || n);
3892
3840
  n && this.element.removeEventListener(this.name, this, o), a && this.element.addEventListener(this.name, this, e), this._$AH = e;
3893
3841
  }
@@ -4001,11 +3949,9 @@ function _u(i, e) {
4001
3949
  t.id = Ur, t.textContent = Na(i), e.content.appendChild(t);
4002
3950
  }
4003
3951
  function fu(i) {
4004
- if (!i.shadowRoot)
4005
- return;
3952
+ if (!i.shadowRoot) return;
4006
3953
  const e = i.constructor;
4007
- if (i instanceof bt)
4008
- [...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), ka(i.shadowRoot, e.elementStyles);
3954
+ if (i instanceof bt) [...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), ka(i.shadowRoot, e.elementStyles);
4009
3955
  else {
4010
3956
  const t = i.shadowRoot.getElementById(Ur), r = e.prototype._template;
4011
3957
  t.textContent = r.content.getElementById(Ur).textContent;
@@ -4018,8 +3964,7 @@ function vu(i) {
4018
3964
  });
4019
3965
  }
4020
3966
  function za(i) {
4021
- if (i.prototype instanceof bt)
4022
- i.elementStyles = i.finalizeStyles(i.styles);
3967
+ if (i.prototype instanceof bt) i.elementStyles = i.finalizeStyles(i.styles);
4023
3968
  else {
4024
3969
  const e = i.prototype._template;
4025
3970
  e.content.getElementById(Ur).textContent = Na(i.getStylesForThis());
@@ -4064,8 +4009,7 @@ const q = (i) => class extends Jr(i) {
4064
4009
  super(), Oi.add(new WeakRef(this));
4065
4010
  }
4066
4011
  static finalize() {
4067
- if (super.finalize(), this.is && co.add(this.is), this.elementStyles)
4068
- return;
4012
+ if (super.finalize(), this.is && co.add(this.is), this.elementStyles) return;
4069
4013
  const e = this.prototype._template;
4070
4014
  !e || Oa(this) || _u(this.getStylesForThis(), e);
4071
4015
  }
@@ -4972,8 +4916,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
4972
4916
  */
4973
4917
  let Su = /(url\()([^)]*)(\))/g, Du = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Cr, be;
4974
4918
  function Jt(i, e) {
4975
- if (i && Du.test(i) || i === "//")
4976
- return i;
4919
+ if (i && Du.test(i) || i === "//") return i;
4977
4920
  if (Cr === void 0) {
4978
4921
  Cr = !1;
4979
4922
  try {
@@ -4982,12 +4925,11 @@ function Jt(i, e) {
4982
4925
  } catch {
4983
4926
  }
4984
4927
  }
4985
- if (e || (e = document.baseURI || window.location.href), Cr)
4986
- try {
4987
- return new URL(i, e).href;
4988
- } catch {
4989
- return i;
4990
- }
4928
+ if (e || (e = document.baseURI || window.location.href), Cr) try {
4929
+ return new URL(i, e).href;
4930
+ } catch {
4931
+ return i;
4932
+ }
4991
4933
  return be || (be = document.implementation.createHTMLDocument("temp"), be.base = be.createElement("base"), be.head.appendChild(be.base), be.anchor = be.createElement("a"), be.body.appendChild(be.anchor)), be.base.href = e, be.anchor.href = i, be.anchor.href || i;
4992
4934
  }
4993
4935
  function uo(i, e) {
@@ -5040,8 +4982,7 @@ const oe = function(i) {
5040
4982
  let t = Ru++;
5041
4983
  function r(o) {
5042
4984
  let n = o.__mixinSet;
5043
- if (n && n[t])
5044
- return o;
4985
+ if (n && n[t]) return o;
5045
4986
  let a = e, s = a.get(o);
5046
4987
  if (!s) {
5047
4988
  s = i(o), a.set(o, s);
@@ -5094,8 +5035,7 @@ class ir extends HTMLElement {
5094
5035
  }
5095
5036
  register(e) {
5096
5037
  if (e = e || this.id, e) {
5097
- if (Wr && kn(e) !== void 0)
5098
- throw Cn(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
5038
+ if (Wr && kn(e) !== void 0) throw Cn(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
5099
5039
  this.id = e, Cn(e, this), Vu(this);
5100
5040
  }
5101
5041
  }
@@ -5122,14 +5062,12 @@ function Pn(i) {
5122
5062
  }
5123
5063
  function $u(i) {
5124
5064
  const e = i.trim().split(/\s+/), t = [];
5125
- for (let r = 0; r < e.length; r++)
5126
- t.push(...Wu(e[r]));
5065
+ for (let r = 0; r < e.length; r++) t.push(...Wu(e[r]));
5127
5066
  return t;
5128
5067
  }
5129
5068
  function Wu(i) {
5130
5069
  const e = Ha(i);
5131
- if (!e)
5132
- return console.warn("Could not find style data in module named", i), [];
5070
+ if (!e) return console.warn("Could not find style data in module named", i), [];
5133
5071
  if (e._styles === void 0) {
5134
5072
  const t = [];
5135
5073
  t.push(...$a(e));
@@ -5164,8 +5102,7 @@ function $a(i) {
5164
5102
  if (a && !n._unscopedStyle) {
5165
5103
  const s = Pn(n);
5166
5104
  s.setAttribute(En, ""), n._unscopedStyle = s;
5167
- } else
5168
- n._style || (n._style = Pn(n));
5105
+ } else n._style || (n._style = Pn(n));
5169
5106
  e.push(a ? n._unscopedStyle : n._style);
5170
5107
  }
5171
5108
  }
@@ -5214,12 +5151,10 @@ function Gt(i) {
5214
5151
  let e = [];
5215
5152
  for (let t = 0; t < i.length; t++) {
5216
5153
  let r = i[t].toString().split(".");
5217
- for (let o = 0; o < r.length; o++)
5218
- e.push(r[o]);
5154
+ for (let o = 0; o < r.length; o++) e.push(r[o]);
5219
5155
  }
5220
5156
  return e.join(".");
5221
- } else
5222
- return i;
5157
+ } else return i;
5223
5158
  }
5224
5159
  function qa(i) {
5225
5160
  return Array.isArray(i) ? Gt(i).split(".") : i.toString().split(".");
@@ -5227,8 +5162,7 @@ function qa(i) {
5227
5162
  function ve(i, e, t) {
5228
5163
  let r = i, o = qa(e);
5229
5164
  for (let n = 0; n < o.length; n++) {
5230
- if (!r)
5231
- return;
5165
+ if (!r) return;
5232
5166
  let a = o[n];
5233
5167
  r = r[a];
5234
5168
  }
@@ -5239,12 +5173,10 @@ function An(i, e, t) {
5239
5173
  if (o.length > 1) {
5240
5174
  for (let a = 0; a < o.length - 1; a++) {
5241
5175
  let s = o[a];
5242
- if (r = r[s], !r)
5243
- return;
5176
+ if (r = r[s], !r) return;
5244
5177
  }
5245
5178
  r[n] = t;
5246
- } else
5247
- r[e] = t;
5179
+ } else r[e] = t;
5248
5180
  return o.join(".");
5249
5181
  }
5250
5182
  /**
@@ -5279,14 +5211,13 @@ function Qu() {
5279
5211
  const i = yt.length;
5280
5212
  for (let e = 0; e < i; e++) {
5281
5213
  let t = yt[e];
5282
- if (t)
5283
- try {
5284
- t();
5285
- } catch (r) {
5286
- setTimeout(() => {
5287
- throw r;
5288
- });
5289
- }
5214
+ if (t) try {
5215
+ t();
5216
+ } catch (r) {
5217
+ setTimeout(() => {
5218
+ throw r;
5219
+ });
5220
+ }
5290
5221
  }
5291
5222
  yt.splice(0, i), ja += i;
5292
5223
  }
@@ -5305,8 +5236,7 @@ const Ju = { after(i) {
5305
5236
  }, cancel(i) {
5306
5237
  const e = i - ja;
5307
5238
  if (e >= 0) {
5308
- if (!yt[e])
5309
- throw new Error("invalid async handle: " + i);
5239
+ if (!yt[e]) throw new Error("invalid async handle: " + i);
5310
5240
  yt[e] = null;
5311
5241
  }
5312
5242
  } };
@@ -5323,8 +5253,7 @@ const Zu = Ka, Xa = oe((i) => {
5323
5253
  class e extends i {
5324
5254
  static createProperties(r) {
5325
5255
  const o = this.prototype;
5326
- for (let n in r)
5327
- n in o || o._createPropertyAccessor(n);
5256
+ for (let n in r) n in o || o._createPropertyAccessor(n);
5328
5257
  }
5329
5258
  static attributeNameForProperty(r) {
5330
5259
  return r.toLowerCase();
@@ -5354,8 +5283,7 @@ const Zu = Ka, Xa = oe((i) => {
5354
5283
  this.__dataReady = !0, this._flushProperties();
5355
5284
  }
5356
5285
  _initializeProperties() {
5357
- for (let r in this.__dataHasAccessor)
5358
- this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
5286
+ for (let r in this.__dataHasAccessor) this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
5359
5287
  }
5360
5288
  _initializeInstanceProperties(r) {
5361
5289
  Object.assign(this, r);
@@ -5444,8 +5372,7 @@ const Qa = {};
5444
5372
  let kr = HTMLElement.prototype;
5445
5373
  for (; kr; ) {
5446
5374
  let i = Object.getOwnPropertyNames(kr);
5447
- for (let e = 0; e < i.length; e++)
5448
- Qa[i[e]] = !0;
5375
+ for (let e = 0; e < i.length; e++) Qa[i[e]] = !0;
5449
5376
  kr = Object.getPrototypeOf(kr);
5450
5377
  }
5451
5378
  const eh = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
@@ -5460,8 +5387,7 @@ const rh = oe((i) => {
5460
5387
  class t extends e {
5461
5388
  static createPropertiesForAttributes() {
5462
5389
  let o = this.observedAttributes;
5463
- for (let n = 0; n < o.length; n++)
5464
- this.prototype._createPropertyAccessor(Ya(o[n]));
5390
+ for (let n = 0; n < o.length; n++) this.prototype._createPropertyAccessor(Ya(o[n]));
5465
5391
  }
5466
5392
  static attributeNameForProperty(o) {
5467
5393
  return Zr(o);
@@ -5470,8 +5396,7 @@ const rh = oe((i) => {
5470
5396
  this.__dataProto && (this._initializeProtoProperties(this.__dataProto), this.__dataProto = null), super._initializeProperties();
5471
5397
  }
5472
5398
  _initializeProtoProperties(o) {
5473
- for (let n in o)
5474
- this._setProperty(n, o[n]);
5399
+ for (let n in o) this._setProperty(n, o[n]);
5475
5400
  }
5476
5401
  _ensureAttribute(o, n) {
5477
5402
  const a = this;
@@ -5480,11 +5405,9 @@ const rh = oe((i) => {
5480
5405
  _serializeValue(o) {
5481
5406
  switch (typeof o) {
5482
5407
  case "object":
5483
- if (o instanceof Date)
5484
- return o.toString();
5408
+ if (o instanceof Date) return o.toString();
5485
5409
  if (o) {
5486
- if (eh(o))
5487
- return o;
5410
+ if (eh(o)) return o;
5488
5411
  try {
5489
5412
  return JSON.stringify(o);
5490
5413
  } catch {
@@ -5580,19 +5503,14 @@ function sh(i) {
5580
5503
  function Ja(i, e) {
5581
5504
  let t = e.parentInfo && Ja(i, e.parentInfo);
5582
5505
  if (t) {
5583
- for (let r = t.firstChild, o = 0; r; r = r.nextSibling)
5584
- if (e.parentIndex === o++)
5585
- return r;
5586
- } else
5587
- return i;
5506
+ for (let r = t.firstChild, o = 0; r; r = r.nextSibling) if (e.parentIndex === o++) return r;
5507
+ } else return i;
5588
5508
  }
5589
5509
  function lh(i, e, t, r) {
5590
5510
  r.id && (e[r.id] = t);
5591
5511
  }
5592
5512
  function dh(i, e, t) {
5593
- if (t.events && t.events.length)
5594
- for (let r = 0, o = t.events, n; r < o.length && (n = o[r]); r++)
5595
- i._addMethodEventListenerToNode(e, n.name, n.value, i);
5513
+ if (t.events && t.events.length) for (let r = 0, o = t.events, n; r < o.length && (n = o[r]); r++) i._addMethodEventListenerToNode(e, n.name, n.value, i);
5596
5514
  }
5597
5515
  function ch(i, e, t, r) {
5598
5516
  t.templateInfo && (e._templateInfo = t.templateInfo, e._parentTemplateInfo = r);
@@ -5619,20 +5537,18 @@ const hh = oe((i) => {
5619
5537
  return s.localName == "template" && !s.hasAttribute("preserve-content") ? a = this._parseTemplateNestedTemplate(s, o, n) || a : s.localName === "slot" && (o.hasInsertionPoint = !0), nh(s), s.firstChild && this._parseTemplateChildNodes(s, o, n), s.hasAttributes && s.hasAttributes() && (a = this._parseTemplateNodeAttributes(s, o, n) || a), a || n.noted;
5620
5538
  }
5621
5539
  static _parseTemplateChildNodes(r, o, n) {
5622
- if (!(r.localName === "script" || r.localName === "style"))
5623
- for (let a = r.firstChild, s = 0, l; a; a = l) {
5624
- if (a.localName == "template" && (a = sh(a)), l = a.nextSibling, a.nodeType === Node.TEXT_NODE) {
5625
- let c = l;
5626
- for (; c && c.nodeType === Node.TEXT_NODE; )
5627
- a.textContent += c.textContent, l = c.nextSibling, r.removeChild(c), c = l;
5628
- if (o.stripWhiteSpace && !a.textContent.trim()) {
5629
- r.removeChild(a);
5630
- continue;
5631
- }
5540
+ if (!(r.localName === "script" || r.localName === "style")) for (let a = r.firstChild, s = 0, l; a; a = l) {
5541
+ if (a.localName == "template" && (a = sh(a)), l = a.nextSibling, a.nodeType === Node.TEXT_NODE) {
5542
+ let c = l;
5543
+ for (; c && c.nodeType === Node.TEXT_NODE; ) a.textContent += c.textContent, l = c.nextSibling, r.removeChild(c), c = l;
5544
+ if (o.stripWhiteSpace && !a.textContent.trim()) {
5545
+ r.removeChild(a);
5546
+ continue;
5632
5547
  }
5633
- let d = { parentIndex: s, parentInfo: n };
5634
- this._parseTemplateNode(a, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), a.parentNode && s++;
5635
5548
  }
5549
+ let d = { parentIndex: s, parentInfo: n };
5550
+ this._parseTemplateNode(a, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), a.parentNode && s++;
5551
+ }
5636
5552
  }
5637
5553
  static _parseTemplateNestedTemplate(r, o, n) {
5638
5554
  let a = r, s = this._parseTemplate(a, o);
@@ -5640,8 +5556,7 @@ const hh = oe((i) => {
5640
5556
  }
5641
5557
  static _parseTemplateNodeAttributes(r, o, n) {
5642
5558
  let a = !1, s = Array.from(r.attributes);
5643
- for (let l = s.length - 1, d; d = s[l]; l--)
5644
- a = this._parseTemplateNodeAttribute(r, o, n, d.name, d.value) || a;
5559
+ for (let l = s.length - 1, d; d = s[l]; l--) a = this._parseTemplateNodeAttribute(r, o, n, d.name, d.value) || a;
5645
5560
  return a;
5646
5561
  }
5647
5562
  static _parseTemplateNodeAttribute(r, o, n, a, s) {
@@ -5692,14 +5607,11 @@ let ar = 0;
5692
5607
  const sr = [], H = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, Za = "__computeInfo", ph = /[A-Z]/;
5693
5608
  function pi(i, e, t) {
5694
5609
  let r = i[e];
5695
- if (!r)
5696
- r = i[e] = {};
5697
- else if (!i.hasOwnProperty(e) && (r = i[e] = Object.create(i[e]), t))
5698
- for (let o in r) {
5699
- let n = r[o], a = r[o] = Array(n.length);
5700
- for (let s = 0; s < n.length; s++)
5701
- a[s] = n[s];
5702
- }
5610
+ if (!r) r = i[e] = {};
5611
+ else if (!i.hasOwnProperty(e) && (r = i[e] = Object.create(i[e]), t)) for (let o in r) {
5612
+ let n = r[o], a = r[o] = Array(n.length);
5613
+ for (let s = 0; s < n.length; s++) a[s] = n[s];
5614
+ }
5703
5615
  return r;
5704
5616
  }
5705
5617
  function Kt(i, e, t, r, o, n) {
@@ -5708,9 +5620,7 @@ function Kt(i, e, t, r, o, n) {
5708
5620
  const s = ar++;
5709
5621
  for (let l in t) {
5710
5622
  let d = o ? st(l) : l, c = e[d];
5711
- if (c)
5712
- for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
5713
- (!p.info || p.info.lastRun !== s) && (!o || mo(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, o, n), a = !0);
5623
+ if (c) for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++) (!p.info || p.info.lastRun !== s) && (!o || mo(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, o, n), a = !0);
5714
5624
  }
5715
5625
  return a;
5716
5626
  }
@@ -5718,17 +5628,14 @@ function Kt(i, e, t, r, o, n) {
5718
5628
  }
5719
5629
  function mh(i, e, t, r, o, n, a, s) {
5720
5630
  let l = !1, d = a ? st(r) : r, c = e[d];
5721
- if (c)
5722
- for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
5723
- (!p.info || p.info.lastRun !== t) && (!a || mo(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, o, n, p.info, a, s), l = !0);
5631
+ if (c) for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++) (!p.info || p.info.lastRun !== t) && (!a || mo(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, o, n, p.info, a, s), l = !0);
5724
5632
  return l;
5725
5633
  }
5726
5634
  function mo(i, e) {
5727
5635
  if (e) {
5728
5636
  let t = e.name;
5729
5637
  return t == i || !!(e.structured && Wa(t, i)) || !!(e.wildcard && or(t, i));
5730
- } else
5731
- return !0;
5638
+ } else return !0;
5732
5639
  }
5733
5640
  function Sn(i, e, t, r, o) {
5734
5641
  let n = typeof o.method == "string" ? i[o.method] : o.method, a = o.property;
@@ -5736,8 +5643,7 @@ function Sn(i, e, t, r, o) {
5736
5643
  }
5737
5644
  function _h(i, e, t, r, o) {
5738
5645
  let n = i[H.NOTIFY], a, s = ar++;
5739
- for (let d in e)
5740
- e[d] && (n && mh(i, n, s, d, t, r, o) || o && fh(i, d, t)) && (a = !0);
5646
+ for (let d in e) e[d] && (n && mh(i, n, s, d, t, r, o) || o && fh(i, d, t)) && (a = !0);
5741
5647
  let l;
5742
5648
  a && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
5743
5649
  }
@@ -5767,30 +5673,24 @@ function bh(i, e, t, r, o) {
5767
5673
  }
5768
5674
  function yh(i, e, t, r) {
5769
5675
  let o = i[H.COMPUTE];
5770
- if (o)
5771
- if (Bu) {
5772
- ar++;
5773
- const n = xh(i), a = [];
5774
- for (let l in e)
5775
- Dn(l, o, a, n, r);
5776
- let s;
5777
- for (; s = a.shift(); )
5778
- ts(i, "", e, t, s) && Dn(s.methodInfo, o, a, n, r);
5779
- Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), i.__dataPending = null;
5780
- } else {
5781
- let n = e;
5782
- for (; Kt(i, o, n, t, r); )
5783
- Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), n = i.__dataPending, i.__dataPending = null;
5784
- }
5676
+ if (o) if (Bu) {
5677
+ ar++;
5678
+ const n = xh(i), a = [];
5679
+ for (let l in e) Dn(l, o, a, n, r);
5680
+ let s;
5681
+ for (; s = a.shift(); ) ts(i, "", e, t, s) && Dn(s.methodInfo, o, a, n, r);
5682
+ Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), i.__dataPending = null;
5683
+ } else {
5684
+ let n = e;
5685
+ for (; Kt(i, o, n, t, r); ) Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), n = i.__dataPending, i.__dataPending = null;
5686
+ }
5785
5687
  }
5786
5688
  const wh = (i, e, t) => {
5787
5689
  let r = 0, o = e.length - 1, n = -1;
5788
5690
  for (; r <= o; ) {
5789
5691
  const a = r + o >> 1, s = t.get(e[a].methodInfo) - t.get(i.methodInfo);
5790
- if (s < 0)
5791
- r = a + 1;
5792
- else if (s > 0)
5793
- o = a - 1;
5692
+ if (s < 0) r = a + 1;
5693
+ else if (s > 0) o = a - 1;
5794
5694
  else {
5795
5695
  n = a;
5796
5696
  break;
@@ -5799,11 +5699,10 @@ const wh = (i, e, t) => {
5799
5699
  n < 0 && (n = o + 1), e.splice(n, 0, i);
5800
5700
  }, Dn = (i, e, t, r, o) => {
5801
5701
  const n = o ? st(i) : i, a = e[n];
5802
- if (a)
5803
- for (let s = 0; s < a.length; s++) {
5804
- const l = a[s];
5805
- l.info.lastRun !== ar && (!o || mo(i, l.trigger)) && (l.info.lastRun = ar, wh(l.info, t, r));
5806
- }
5702
+ if (a) for (let s = 0; s < a.length; s++) {
5703
+ const l = a[s];
5704
+ l.info.lastRun !== ar && (!o || mo(i, l.trigger)) && (l.info.lastRun = ar, wh(l.info, t, r));
5705
+ }
5807
5706
  };
5808
5707
  function xh(i) {
5809
5708
  let e = i.constructor.__orderedComputedDeps;
@@ -5830,14 +5729,12 @@ function Ch(i) {
5830
5729
  const s = e[a];
5831
5730
  n += t[a] = s.args.filter((l) => !l.literal).length + (s.dynamicFn ? 1 : 0);
5832
5731
  }
5833
- for (let a in r)
5834
- e[a] || o.push(a);
5732
+ for (let a in r) e[a] || o.push(a);
5835
5733
  return { counts: t, ready: o, total: n };
5836
5734
  }
5837
5735
  function ts(i, e, t, r, o) {
5838
5736
  let n = Li(i, e, t, r, o);
5839
- if (n === sr)
5840
- return !1;
5737
+ if (n === sr) return !1;
5841
5738
  let a = o.methodInfo;
5842
5739
  return i.__dataHasAccessor && i.__dataHasAccessor[a] ? i._setPendingProperty(a, n, !0) : (i[a] = n, !1);
5843
5740
  }
@@ -5865,16 +5762,14 @@ function mi(i, e, t, r, o, n, a) {
5865
5762
  }
5866
5763
  }
5867
5764
  function Eh(i, e, t, r, o) {
5868
- if (!r.literal)
5869
- if (t.kind === "attribute" && t.target[0] === "-")
5870
- console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
5871
- else {
5872
- let n = r.dependencies, a = { index: o, binding: t, part: r, evaluator: i };
5873
- for (let s = 0; s < n.length; s++) {
5874
- let l = n[s];
5875
- typeof l == "string" && (l = is(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: Ph, info: a, trigger: l });
5876
- }
5765
+ if (!r.literal) if (t.kind === "attribute" && t.target[0] === "-") console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
5766
+ else {
5767
+ let n = r.dependencies, a = { index: o, binding: t, part: r, evaluator: i };
5768
+ for (let s = 0; s < n.length; s++) {
5769
+ let l = n[s];
5770
+ typeof l == "string" && (l = is(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: Ph, info: a, trigger: l });
5877
5771
  }
5772
+ }
5878
5773
  }
5879
5774
  function Ph(i, e, t, r, o, n, a) {
5880
5775
  let s = a[o.index], l = o.binding, d = o.part;
@@ -5887,8 +5782,7 @@ function Ph(i, e, t, r, o, n, a) {
5887
5782
  }
5888
5783
  }
5889
5784
  function Ah(i, e, t, r, o) {
5890
- if (o = Th(e, o, t, r), $r && (o = $r(o, t.target, t.kind, e)), t.kind == "attribute")
5891
- i._valueToNodeAttribute(e, o, t.target);
5785
+ if (o = Th(e, o, t, r), $r && (o = $r(o, t.target, t.kind, e)), t.kind == "attribute") i._valueToNodeAttribute(e, o, t.target);
5892
5786
  else {
5893
5787
  let n = t.target;
5894
5788
  e.__isPropertyEffectsClient && e.__dataHasAccessor && e.__dataHasAccessor[n] ? (!e[H.READ_ONLY] || !e[H.READ_ONLY][n]) && e._setPendingProperty(n, o) && i._enqueueClient(e) : i._setUnmanagedPropertyToNode(e, n, o);
@@ -5906,22 +5800,19 @@ function Ih(i) {
5906
5800
  }
5907
5801
  function Sh(i, e) {
5908
5802
  let { nodeList: t, nodeInfoList: r } = e;
5909
- if (r.length)
5910
- for (let o = 0; o < r.length; o++) {
5911
- let n = r[o], a = t[o], s = n.bindings;
5912
- if (s)
5913
- for (let l = 0; l < s.length; l++) {
5914
- let d = s[l];
5915
- Dh(a, d), Oh(a, i, d);
5916
- }
5917
- a.__dataHost = i;
5803
+ if (r.length) for (let o = 0; o < r.length; o++) {
5804
+ let n = r[o], a = t[o], s = n.bindings;
5805
+ if (s) for (let l = 0; l < s.length; l++) {
5806
+ let d = s[l];
5807
+ Dh(a, d), Oh(a, i, d);
5918
5808
  }
5809
+ a.__dataHost = i;
5810
+ }
5919
5811
  }
5920
5812
  function Dh(i, e) {
5921
5813
  if (e.isCompound) {
5922
5814
  let t = i.__dataCompoundStorage || (i.__dataCompoundStorage = {}), r = e.parts, o = new Array(r.length);
5923
- for (let a = 0; a < r.length; a++)
5924
- o[a] = r[a].literal;
5815
+ for (let a = 0; a < r.length; a++) o[a] = r[a].literal;
5925
5816
  let n = e.target;
5926
5817
  t[n] = o, e.literal && e.kind == "property" && (n === "className" && (i = ce(i)), i[n] = e.literal);
5927
5818
  }
@@ -5937,8 +5828,7 @@ function Oh(i, e, t) {
5937
5828
  function On(i, e, t, r, o, n) {
5938
5829
  n = e.static || n && (typeof n != "object" || n[e.methodName]);
5939
5830
  let a = { methodName: e.methodName, args: e.args, methodInfo: o, dynamicFn: n };
5940
- for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++)
5941
- l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: a, trigger: l });
5831
+ for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++) l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: a, trigger: l });
5942
5832
  return n && i._addPropertyEffect(e.methodName, t, { fn: r, info: a }), a;
5943
5833
  }
5944
5834
  function Li(i, e, t, r, o) {
@@ -5946,8 +5836,7 @@ function Li(i, e, t, r, o) {
5946
5836
  if (a) {
5947
5837
  let s = i._marshalArgs(o.args, e, t);
5948
5838
  return s === sr ? sr : a.apply(n, s);
5949
- } else
5950
- o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
5839
+ } else o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
5951
5840
  }
5952
5841
  const Mh = [], rs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Nh = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", zh = "(?:'(?:[^'\\\\]|\\\\.)*')", Bh = '(?:"(?:[^"\\\\]|\\\\.)*")', Lh = "(?:" + zh + "|" + Bh + ")", Mn = "(?:(" + rs + "|" + Nh + "|" + Lh + ")\\s*)", Fh = "(?:" + Mn + "(?:,\\s*" + Mn + ")*)", Rh = "(?:\\(\\s*(?:" + Fh + "?)\\)\\s*)", Vh = "(" + rs + "\\s*" + Rh + "?)", Hh = "(\\[\\[|{{)\\s*", Uh = "(?:]]|}})", $h = "(?:(!)\\s*)?", Wh = Hh + $h + Vh + Uh, Nn = new RegExp(Wh, "g");
5953
5842
  function zn(i) {
@@ -5965,8 +5854,7 @@ function _i(i) {
5965
5854
  if (e[2].trim()) {
5966
5855
  let r = e[2].replace(/\\,/g, "&comma;").split(",");
5967
5856
  return qh(r, t);
5968
- } else
5969
- return t;
5857
+ } else return t;
5970
5858
  }
5971
5859
  return null;
5972
5860
  }
@@ -6026,8 +5914,7 @@ const _o = oe((i) => {
6026
5914
  }
6027
5915
  _initializeInstanceProperties(o) {
6028
5916
  let n = this[H.READ_ONLY];
6029
- for (let a in o)
6030
- (!n || !n[a]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[a] = this.__dataPending[a] = o[a]);
5917
+ for (let a in o) (!n || !n[a]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[a] = this.__dataPending[a] = o[a]);
6031
5918
  }
6032
5919
  _addPropertyEffect(o, n, a) {
6033
5920
  this._createPropertyAccessor(o, n == H.READ_ONLY);
@@ -6058,14 +5945,11 @@ const _o = oe((i) => {
6058
5945
  if (s || st(Array.isArray(o) ? o[0] : o) !== o) {
6059
5946
  if (!s) {
6060
5947
  let l = ve(this, o);
6061
- if (o = An(this, o, n), !o || !super._shouldPropertyChange(o, n, l))
6062
- return !1;
5948
+ if (o = An(this, o, n), !o || !super._shouldPropertyChange(o, n, l)) return !1;
6063
5949
  }
6064
- if (this.__dataHasPaths = !0, this._setPendingProperty(o, n, a))
6065
- return kh(this, o, n), !0;
5950
+ if (this.__dataHasPaths = !0, this._setPendingProperty(o, n, a)) return kh(this, o, n), !0;
6066
5951
  } else {
6067
- if (this.__dataHasAccessor && this.__dataHasAccessor[o])
6068
- return this._setPendingProperty(o, n, a);
5952
+ if (this.__dataHasAccessor && this.__dataHasAccessor[o]) return this._setPendingProperty(o, n, a);
6069
5953
  this[o] = n;
6070
5954
  }
6071
5955
  return !1;
@@ -6103,8 +5987,7 @@ const _o = oe((i) => {
6103
5987
  this.__enableOrFlushClients();
6104
5988
  }
6105
5989
  setProperties(o, n) {
6106
- for (let a in o)
6107
- (n || !this[H.READ_ONLY] || !this[H.READ_ONLY][a]) && this._setPendingPropertyOrPath(a, o[a], !0);
5990
+ for (let a in o) (n || !this[H.READ_ONLY] || !this[H.READ_ONLY][a]) && this._setPendingPropertyOrPath(a, o[a], !0);
6108
5991
  this._invalidateProperties();
6109
5992
  }
6110
5993
  ready() {
@@ -6122,8 +6005,7 @@ const _o = oe((i) => {
6122
6005
  _runEffectsForTemplate(o, n, a, s) {
6123
6006
  const l = (d, c) => {
6124
6007
  Kt(this, o.propertyEffects, d, a, c, o.nodeList);
6125
- for (let u = o.firstChild; u; u = u.nextSibling)
6126
- this._runEffectsForTemplate(u, d, a, c);
6008
+ for (let u = o.firstChild; u; u = u.nextSibling) this._runEffectsForTemplate(u, d, a, c);
6127
6009
  };
6128
6010
  o.runEffects ? o.runEffects(l, n, s) : l(n, s);
6129
6011
  }
@@ -6170,8 +6052,7 @@ const _o = oe((i) => {
6170
6052
  if (arguments.length == 1) {
6171
6053
  let s = { path: "" };
6172
6054
  n = ve(this, o, s), a = s.path;
6173
- } else
6174
- Array.isArray(o) ? a = Gt(o) : a = o;
6055
+ } else Array.isArray(o) ? a = Gt(o) : a = o;
6175
6056
  this._setPendingPropertyOrPath(a, n, !0, !0) && this._invalidateProperties();
6176
6057
  }
6177
6058
  _createReadOnlyProperty(o, n) {
@@ -6185,8 +6066,7 @@ const _o = oe((i) => {
6185
6066
  }
6186
6067
  _createMethodObserver(o, n) {
6187
6068
  let a = _i(o);
6188
- if (!a)
6189
- throw new Error("Malformed observer expression '" + o + "'");
6069
+ if (!a) throw new Error("Malformed observer expression '" + o + "'");
6190
6070
  On(this, a, H.OBSERVE, Li, null, n);
6191
6071
  }
6192
6072
  _createNotifyingProperty(o) {
@@ -6198,8 +6078,7 @@ const _o = oe((i) => {
6198
6078
  }
6199
6079
  _createComputedProperty(o, n, a) {
6200
6080
  let s = _i(n);
6201
- if (!s)
6202
- throw new Error("Malformed computed expression '" + n + "'");
6081
+ if (!s) throw new Error("Malformed computed expression '" + n + "'");
6203
6082
  const l = On(this, s, H.COMPUTE, ts, o, a);
6204
6083
  pi(this, Za)[o] = l;
6205
6084
  }
@@ -6207,14 +6086,11 @@ const _o = oe((i) => {
6207
6086
  const s = this.__data, l = [];
6208
6087
  for (let d = 0, c = o.length; d < c; d++) {
6209
6088
  let { name: u, structured: h, wildcard: p, value: m, literal: f } = o[d];
6210
- if (!f)
6211
- if (p) {
6212
- const x = or(u, n), P = Bn(s, a, x ? n : u);
6213
- m = { path: x ? n : u, value: P, base: x ? ve(s, u) : P };
6214
- } else
6215
- m = h ? Bn(s, a, u) : s[u];
6216
- if (Ni && !this._overrideLegacyUndefined && m === void 0 && o.length > 1)
6217
- return sr;
6089
+ if (!f) if (p) {
6090
+ const x = or(u, n), P = Bn(s, a, x ? n : u);
6091
+ m = { path: x ? n : u, value: P, base: x ? ve(s, u) : P };
6092
+ } else m = h ? Bn(s, a, u) : s[u];
6093
+ if (Ni && !this._overrideLegacyUndefined && m === void 0 && o.length > 1) return sr;
6218
6094
  l[d] = m;
6219
6095
  }
6220
6096
  return l;
@@ -6245,18 +6121,13 @@ const _o = oe((i) => {
6245
6121
  }
6246
6122
  _bindTemplate(o, n) {
6247
6123
  let a = this.constructor._parseTemplate(o), s = this.__preBoundTemplateInfo == a;
6248
- if (!s)
6249
- for (let l in a.propertyEffects)
6250
- this._createPropertyAccessor(l);
6251
- if (n)
6252
- if (a = Object.create(a), a.wasPreBound = s, !this.__templateInfo)
6253
- this.__templateInfo = a;
6254
- else {
6255
- const l = o._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
6256
- a.parent = l, l.lastChild = a, a.previousSibling = d, d ? d.nextSibling = a : l.firstChild = a;
6257
- }
6258
- else
6259
- this.__preBoundTemplateInfo = a;
6124
+ if (!s) for (let l in a.propertyEffects) this._createPropertyAccessor(l);
6125
+ if (n) if (a = Object.create(a), a.wasPreBound = s, !this.__templateInfo) this.__templateInfo = a;
6126
+ else {
6127
+ const l = o._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
6128
+ a.parent = l, l.lastChild = a, a.previousSibling = d, d ? d.nextSibling = a : l.firstChild = a;
6129
+ }
6130
+ else this.__preBoundTemplateInfo = a;
6260
6131
  return a;
6261
6132
  }
6262
6133
  static _addTemplatePropertyEffect(o, n, a) {
@@ -6270,8 +6141,7 @@ const _o = oe((i) => {
6270
6141
  let a = super._stampTemplate(o, n);
6271
6142
  if (qt.pop(), n.nodeList = a.nodeList, !n.wasPreBound) {
6272
6143
  let s = n.childNodes = [];
6273
- for (let l = a.firstChild; l; l = l.nextSibling)
6274
- s.push(l);
6144
+ for (let l = a.firstChild; l; l = l.nextSibling) s.push(l);
6275
6145
  }
6276
6146
  return a.templateInfo = n, Sh(this, n), this.__dataClientsReady && (this._runEffectsForTemplate(n, this.__data, null, !1), this._flushClients()), a;
6277
6147
  }
@@ -6299,16 +6169,14 @@ const _o = oe((i) => {
6299
6169
  ph.test(s) ? u = "attribute" : s[s.length - 1] == "$" && (s = s.slice(0, -1), u = "attribute");
6300
6170
  let h = zn(d);
6301
6171
  return h && u == "attribute" && (s == "class" && o.hasAttribute("class") && (h += " " + o.getAttribute(s)), o.setAttribute(s, h)), u == "attribute" && c == "disable-upgrade$" && o.setAttribute(s, ""), o.localName === "input" && c === "value" && o.setAttribute(c, ""), o.removeAttribute(c), u === "property" && (s = Ya(s)), mi(this, n, a, u, s, d, h), !0;
6302
- } else
6303
- return e._parseTemplateNodeAttribute.call(this, o, n, a, s, l);
6172
+ } else return e._parseTemplateNodeAttribute.call(this, o, n, a, s, l);
6304
6173
  }
6305
6174
  static _parseTemplateNestedTemplate(o, n, a) {
6306
6175
  let s = e._parseTemplateNestedTemplate.call(this, o, n, a);
6307
6176
  const l = o.parentNode, d = a.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
6308
6177
  wn && (c || u) && (l.removeChild(o), a = a.parentInfo, a.templateInfo = d, a.noted = !0, s = !1);
6309
6178
  let h = d.hostProps;
6310
- if (Lu && c)
6311
- h && (n.hostProps = Object.assign(n.hostProps || {}, h), wn || (a.parentInfo.noted = !0));
6179
+ if (Lu && c) h && (n.hostProps = Object.assign(n.hostProps || {}, h), wn || (a.parentInfo.noted = !0));
6312
6180
  else {
6313
6181
  let p = "{";
6314
6182
  for (let m in h) {
@@ -6333,8 +6201,7 @@ const _o = oe((i) => {
6333
6201
  }
6334
6202
  let V = n.dynamicFns;
6335
6203
  (V && V[C] || f.static) && (x.push(C), f.dynamicFn = !0);
6336
- } else
6337
- x.push(u);
6204
+ } else x.push(u);
6338
6205
  a.push({ source: u, mode: d, negate: c, customEvent: h, signature: f, dependencies: x, event: p }), s = Nn.lastIndex;
6339
6206
  }
6340
6207
  if (s && s < o.length) {
@@ -6490,8 +6357,7 @@ const Kh = "3.5.2", Ln = window.ShadyCSS && window.ShadyCSS.cssBuild, Xh = oe((i
6490
6357
  }
6491
6358
  function a(l) {
6492
6359
  let d = null;
6493
- if (l && (!Wr || Nu) && (d = ir.import(l, "template"), Wr && !d))
6494
- throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
6360
+ if (l && (!Wr || Nu) && (d = ir.import(l, "template"), Wr && !d)) throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
6495
6361
  return d;
6496
6362
  }
6497
6363
  class s extends e {
@@ -6508,13 +6374,11 @@ const Kh = "3.5.2", Ln = window.ShadyCSS && window.ShadyCSS.cssBuild, Xh = oe((i
6508
6374
  d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : Fa || (d = d.cloneNode(!0))), this.prototype._template = d;
6509
6375
  }
6510
6376
  static createProperties(d) {
6511
- for (let c in d)
6512
- o(this.prototype, c, d[c], d);
6377
+ for (let c in d) o(this.prototype, c, d[c], d);
6513
6378
  }
6514
6379
  static createObservers(d, c) {
6515
6380
  const u = this.prototype;
6516
- for (let h = 0; h < d.length; h++)
6517
- u._createMethodObserver(d[h], c);
6381
+ for (let h = 0; h < d.length; h++) u._createMethodObserver(d[h], c);
6518
6382
  }
6519
6383
  static get template() {
6520
6384
  if (!this.hasOwnProperty(JSCompiler_renameProperty("_template", this))) {
@@ -6529,8 +6393,7 @@ const Kh = "3.5.2", Ln = window.ShadyCSS && window.ShadyCSS.cssBuild, Xh = oe((i
6529
6393
  static get importPath() {
6530
6394
  if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
6531
6395
  const d = this.importMeta;
6532
- if (d)
6533
- this._importPath = ho(d.url);
6396
+ if (d) this._importPath = ho(d.url);
6534
6397
  else {
6535
6398
  const c = ir.import(this.is);
6536
6399
  this._importPath = c && c.assetpath || Object.getPrototypeOf(this.prototype).constructor.importPath;
@@ -6544,14 +6407,13 @@ const Kh = "3.5.2", Ln = window.ShadyCSS && window.ShadyCSS.cssBuild, Xh = oe((i
6544
6407
  _initializeProperties() {
6545
6408
  this.constructor.finalize(), this.constructor._finalizeTemplate(this.localName), super._initializeProperties(), this.rootPath = Mu, this.importPath = this.constructor.importPath;
6546
6409
  let d = t(this.constructor);
6547
- if (d)
6548
- for (let c in d) {
6549
- let u = d[c];
6550
- if (this._canApplyPropertyDefault(c)) {
6551
- let h = typeof u.value == "function" ? u.value.call(this) : u.value;
6552
- this._hasAccessor(c) ? this._setPendingProperty(c, h, !0) : this[c] = h;
6553
- }
6410
+ if (d) for (let c in d) {
6411
+ let u = d[c];
6412
+ if (this._canApplyPropertyDefault(c)) {
6413
+ let h = typeof u.value == "function" ? u.value.call(this) : u.value;
6414
+ this._hasAccessor(c) ? this._setPendingProperty(c, h, !0) : this[c] = h;
6554
6415
  }
6416
+ }
6555
6417
  }
6556
6418
  _canApplyPropertyDefault(d) {
6557
6419
  return !this.hasOwnProperty(d);
@@ -6578,8 +6440,7 @@ const Kh = "3.5.2", Ln = window.ShadyCSS && window.ShadyCSS.cssBuild, Xh = oe((i
6578
6440
  }
6579
6441
  _attachDom(d) {
6580
6442
  const c = ce(this);
6581
- if (c.attachShadow)
6582
- return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), zu && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
6443
+ if (c.attachShadow) return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), zu && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
6583
6444
  throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
6584
6445
  }
6585
6446
  updateStyles(d) {
@@ -6618,15 +6479,12 @@ class ns {
6618
6479
  }
6619
6480
  }
6620
6481
  function as(i) {
6621
- if (i instanceof ns)
6622
- return i.value;
6482
+ if (i instanceof ns) return i.value;
6623
6483
  throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${i}`);
6624
6484
  }
6625
6485
  function Qh(i) {
6626
- if (i instanceof HTMLTemplateElement)
6627
- return i.innerHTML;
6628
- if (i instanceof ns)
6629
- return as(i);
6486
+ if (i instanceof HTMLTemplateElement) return i.innerHTML;
6487
+ if (i instanceof ns) return as(i);
6630
6488
  throw new Error(`non-template value passed to Polymer's html function: ${i}`);
6631
6489
  }
6632
6490
  const z = function(i, ...e) {
@@ -6635,8 +6493,7 @@ const z = function(i, ...e) {
6635
6493
  let r = e.reduce((o, n, a) => o + Qh(n) + i[a + 1], i[0]);
6636
6494
  return Fn && (r = Fn.createHTML(r)), t.innerHTML = r, t;
6637
6495
  }, ss = (i, e) => {
6638
- if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1)
6639
- throw new TypeError("Invalid call to the html template tag");
6496
+ if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1) throw new TypeError("Invalid call to the html template tag");
6640
6497
  };
6641
6498
  /**
6642
6499
  @license
@@ -6671,21 +6528,18 @@ function ip() {
6671
6528
  return !!(Or && Object.keys(Or).map((i) => Or[i]).filter((i) => i.productionMode).length > 0);
6672
6529
  }
6673
6530
  function ls(i, e) {
6674
- if (typeof i != "function")
6675
- return;
6531
+ if (typeof i != "function") return;
6676
6532
  const t = Jh.exec(i.toString());
6677
- if (t)
6678
- try {
6679
- i = new Function(t[1]);
6680
- } catch (r) {
6681
- console.log("vaadin-development-mode-detector: uncommentAndRun() failed", r);
6682
- }
6533
+ if (t) try {
6534
+ i = new Function(t[1]);
6535
+ } catch (r) {
6536
+ console.log("vaadin-development-mode-detector: uncommentAndRun() failed", r);
6537
+ }
6683
6538
  return i(e);
6684
6539
  }
6685
6540
  window.Vaadin = window.Vaadin || {};
6686
6541
  const Rn = function(i, e) {
6687
- if (window.Vaadin.developmentMode)
6688
- return ls(i, e);
6542
+ if (window.Vaadin.developmentMode) return ls(i, e);
6689
6543
  };
6690
6544
  window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = ep());
6691
6545
  function op() {
@@ -7170,8 +7024,7 @@ function op() {
7170
7024
  vaadin-dev-mode:end **/
7171
7025
  }
7172
7026
  const np = function() {
7173
- if (typeof Rn == "function")
7174
- return Rn(op);
7027
+ if (typeof Rn == "function") return Rn(op);
7175
7028
  };
7176
7029
  /**
7177
7030
  * @license
@@ -7190,14 +7043,13 @@ function ap() {
7190
7043
  const i = wt.length;
7191
7044
  for (let e = 0; e < i; e++) {
7192
7045
  const t = wt[e];
7193
- if (t)
7194
- try {
7195
- t();
7196
- } catch (r) {
7197
- setTimeout(() => {
7198
- throw r;
7199
- });
7200
- }
7046
+ if (t) try {
7047
+ t();
7048
+ } catch (r) {
7049
+ setTimeout(() => {
7050
+ throw r;
7051
+ });
7052
+ }
7201
7053
  }
7202
7054
  wt.splice(0, i), ds += i;
7203
7055
  }
@@ -7226,8 +7078,7 @@ const je = { after(i) {
7226
7078
  }, cancel(i) {
7227
7079
  const e = i - ds;
7228
7080
  if (e >= 0) {
7229
- if (!wt[e])
7230
- throw new Error(`invalid async handle: ${i}`);
7081
+ if (!wt[e]) throw new Error(`invalid async handle: ${i}`);
7231
7082
  wt[e] = null;
7232
7083
  }
7233
7084
  } };
@@ -7318,8 +7169,7 @@ const ke = (i) => class extends i {
7318
7169
  super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Vi(this, Hi(), null));
7319
7170
  }
7320
7171
  attributeChangedCallback(e, t, r) {
7321
- if (super.attributeChangedCallback(e, t, r), e !== "dir")
7322
- return;
7172
+ if (super.attributeChangedCallback(e, t, r), e !== "dir") return;
7323
7173
  const o = Hi(), n = r === o && Le.indexOf(this) === -1, a = !r && t && Le.indexOf(this) === -1;
7324
7174
  n || a ? (this.__subscribe(), Vi(this, o, r)) : r !== o && t === o && this.__unsubscribe();
7325
7175
  }
@@ -7483,10 +7333,9 @@ class _e extends EventTarget {
7483
7333
  if (e.length === 0) {
7484
7334
  const t = this.attachDefaultNode();
7485
7335
  t && (this.nodes = [t], this.initNode(t));
7486
- } else
7487
- this.nodes = e, e.forEach((t) => {
7488
- this.initAddedNode(t);
7489
- });
7336
+ } else this.nodes = e, e.forEach((t) => {
7337
+ this.initAddedNode(t);
7338
+ });
7490
7339
  }
7491
7340
  attachDefaultNode() {
7492
7341
  const { host: e, slotName: t, tagName: r } = this;
@@ -7609,8 +7458,7 @@ let bp = !1;
7609
7458
  const yp = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), wp = { button: !0, command: !0, fieldset: !0, input: !0, keygen: !0, optgroup: !0, option: !0, select: !0, textarea: !0 };
7610
7459
  function ot(i) {
7611
7460
  const e = i.type;
7612
- if (!_s(e))
7613
- return !1;
7461
+ if (!_s(e)) return !1;
7614
7462
  if (e === "mousemove") {
7615
7463
  let t = i.buttons === void 0 ? 1 : i.buttons;
7616
7464
  return i instanceof window.MouseEvent && !gp && (t = vp[i.which] || 0), !!(t & 1);
@@ -7619,11 +7467,9 @@ function ot(i) {
7619
7467
  }
7620
7468
  function xp(i) {
7621
7469
  if (i.type === "click") {
7622
- if (i.detail === 0)
7623
- return !0;
7470
+ if (i.detail === 0) return !0;
7624
7471
  const e = Ge(i);
7625
- if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE)
7626
- return !0;
7472
+ if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE) return !0;
7627
7473
  const t = e.getBoundingClientRect(), r = i.pageX, o = i.pageY;
7628
7474
  return !(r >= t.left && r <= t.right && o >= t.top && o <= t.bottom);
7629
7475
  }
@@ -7633,11 +7479,10 @@ const Fe = { touch: { x: 0, y: 0, id: -1, scrollDecided: !1 } };
7633
7479
  function Cp(i) {
7634
7480
  let e = "auto";
7635
7481
  const t = vs(i);
7636
- for (let r = 0, o; r < t.length; r++)
7637
- if (o = t[r], o[$i]) {
7638
- e = o[$i];
7639
- break;
7640
- }
7482
+ for (let r = 0, o; r < t.length; r++) if (o = t[r], o[$i]) {
7483
+ e = o[$i];
7484
+ break;
7485
+ }
7641
7486
  return e;
7642
7487
  }
7643
7488
  function fs(i, e, t) {
@@ -7651,8 +7496,7 @@ function kp(i, e) {
7651
7496
  let t = document.elementFromPoint(i, e), r = t;
7652
7497
  for (; r && r.shadowRoot && !window.ShadyDOM; ) {
7653
7498
  const o = r;
7654
- if (r = r.shadowRoot.elementFromPoint(i, e), o === r)
7655
- break;
7499
+ if (r = r.shadowRoot.elementFromPoint(i, e), o === r) break;
7656
7500
  r && (t = r);
7657
7501
  }
7658
7502
  return t;
@@ -7663,32 +7507,25 @@ function Ge(i) {
7663
7507
  }
7664
7508
  function Ep(i) {
7665
7509
  const e = i.type, t = i.currentTarget[Ui];
7666
- if (!t)
7667
- return;
7510
+ if (!t) return;
7668
7511
  const r = t[e];
7669
- if (!r)
7670
- return;
7512
+ if (!r) return;
7671
7513
  if (!i[vi] && (i[vi] = {}, e.startsWith("touch"))) {
7672
7514
  const n = i.changedTouches[0];
7673
- if (e === "touchstart" && i.touches.length === 1 && (Fe.touch.id = n.identifier), Fe.touch.id !== n.identifier)
7674
- return;
7515
+ if (e === "touchstart" && i.touches.length === 1 && (Fe.touch.id = n.identifier), Fe.touch.id !== n.identifier) return;
7675
7516
  ms || (e === "touchstart" || e === "touchmove") && Pp(i);
7676
7517
  }
7677
7518
  const o = i[vi];
7678
7519
  if (!o.skip) {
7679
- for (let n = 0, a; n < it.length; n++)
7680
- a = it[n], r[a.name] && !o[a.name] && a.flow && a.flow.start.indexOf(i.type) > -1 && a.reset && a.reset();
7681
- for (let n = 0, a; n < it.length; n++)
7682
- a = it[n], r[a.name] && !o[a.name] && (o[a.name] = !0, a[e](i));
7520
+ for (let n = 0, a; n < it.length; n++) a = it[n], r[a.name] && !o[a.name] && a.flow && a.flow.start.indexOf(i.type) > -1 && a.reset && a.reset();
7521
+ for (let n = 0, a; n < it.length; n++) a = it[n], r[a.name] && !o[a.name] && (o[a.name] = !0, a[e](i));
7683
7522
  }
7684
7523
  }
7685
7524
  function Pp(i) {
7686
7525
  const e = i.changedTouches[0], t = i.type;
7687
- if (t === "touchstart")
7688
- Fe.touch.x = e.clientX, Fe.touch.y = e.clientY, Fe.touch.scrollDecided = !1;
7526
+ if (t === "touchstart") Fe.touch.x = e.clientX, Fe.touch.y = e.clientY, Fe.touch.scrollDecided = !1;
7689
7527
  else if (t === "touchmove") {
7690
- if (Fe.touch.scrollDecided)
7691
- return;
7528
+ if (Fe.touch.scrollDecided) return;
7692
7529
  Fe.touch.scrollDecided = !0;
7693
7530
  const r = Cp(i);
7694
7531
  let o = !1;
@@ -7703,8 +7540,7 @@ function Ap(i, e, t) {
7703
7540
  const r = go[e], o = r.deps, n = r.name;
7704
7541
  let a = i[Ui];
7705
7542
  a || (i[Ui] = a = {});
7706
- for (let s = 0, l, d; s < o.length; s++)
7707
- l = o[s], !(yp && _s(l) && l !== "click") && (d = a[l], d || (a[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Ep, void 0), d[n] = (d[n] || 0) + 1, d._count = (d._count || 0) + 1);
7543
+ for (let s = 0, l, d; s < o.length; s++) l = o[s], !(yp && _s(l) && l !== "click") && (d = a[l], d || (a[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Ep, void 0), d[n] = (d[n] || 0) + 1, d._count = (d._count || 0) + 1);
7708
7544
  i.addEventListener(e, t), r.touchAction && gs(i, r.touchAction);
7709
7545
  }
7710
7546
  function bo(i) {
@@ -7715,9 +7551,7 @@ function bo(i) {
7715
7551
  function Tp(i) {
7716
7552
  for (let e = 0, t; e < it.length; e++) {
7717
7553
  t = it[e];
7718
- for (let r = 0, o; r < t.emits.length; r++)
7719
- if (o = t.emits[r], o === i)
7720
- return t;
7554
+ for (let r = 0, o; r < t.emits.length; r++) if (o = t.emits[r], o === i) return t;
7721
7555
  }
7722
7556
  return null;
7723
7557
  }
@@ -7740,8 +7574,7 @@ function jr(i) {
7740
7574
  bo({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["down", "up"], info: { movefn: null, upfn: null }, reset() {
7741
7575
  xt(this.info);
7742
7576
  }, mousedown(i) {
7743
- if (!ot(i))
7744
- return;
7577
+ if (!ot(i)) return;
7745
7578
  const e = Ge(i), t = this, r = (n) => {
7746
7579
  ot(n) || (Yt("up", e, n), xt(t.info));
7747
7580
  }, o = (n) => {
@@ -7763,8 +7596,7 @@ bo({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
7763
7596
  }, movefn: null, upfn: null, prevent: !1 }, reset() {
7764
7597
  this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, xt(this.info);
7765
7598
  }, mousedown(i) {
7766
- if (!ot(i))
7767
- return;
7599
+ if (!ot(i)) return;
7768
7600
  const e = Ge(i), t = this, r = (n) => {
7769
7601
  const a = n.clientX, s = n.clientY;
7770
7602
  Wn(t.info, a, s) && (t.info.state = t.info.started ? n.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && jr("tap"), t.info.addMove({ x: a, y: s }), ot(n) || (t.info.state = "end", xt(t.info)), e && gi(t.info, e, n), t.info.started = !0);
@@ -7783,16 +7615,13 @@ bo({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
7783
7615
  this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), gi(this.info, e, t));
7784
7616
  } });
7785
7617
  function Wn(i, e, t) {
7786
- if (i.prevent)
7787
- return !1;
7788
- if (i.started)
7789
- return !0;
7618
+ if (i.prevent) return !1;
7619
+ if (i.started) return !0;
7790
7620
  const r = Math.abs(i.x - e), o = Math.abs(i.y - t);
7791
7621
  return r >= $n || o >= $n;
7792
7622
  }
7793
7623
  function gi(i, e, t) {
7794
- if (!e)
7795
- return;
7624
+ if (!e) return;
7796
7625
  const r = i.moves[i.moves.length - 2], o = i.moves[i.moves.length - 1], n = o.x - i.x, a = o.y - i.y;
7797
7626
  let s, l = 0;
7798
7627
  r && (s = o.x - r.x, l = o.y - r.y), yo(e, "track", { state: i.state, x: t.clientX, y: t.clientY, dx: n, dy: a, ddx: s, ddy: l, sourceEvent: t, hover() {
@@ -7909,8 +7738,7 @@ window.addEventListener("mousedown", () => {
7909
7738
  }, { capture: !0 });
7910
7739
  function Wi() {
7911
7740
  let i = document.activeElement || document.body;
7912
- for (; i.shadowRoot && i.shadowRoot.activeElement; )
7913
- i = i.shadowRoot.activeElement;
7741
+ for (; i.shadowRoot && i.shadowRoot.activeElement; ) i = i.shadowRoot.activeElement;
7914
7742
  return i;
7915
7743
  }
7916
7744
  function ti() {
@@ -7918,8 +7746,7 @@ function ti() {
7918
7746
  }
7919
7747
  function bs(i) {
7920
7748
  const e = i.style;
7921
- if (e.visibility === "hidden" || e.display === "none")
7922
- return !0;
7749
+ if (e.visibility === "hidden" || e.display === "none") return !0;
7923
7750
  const t = window.getComputedStyle(i);
7924
7751
  return t.visibility === "hidden" || t.display === "none";
7925
7752
  }
@@ -7929,14 +7756,12 @@ function Ip(i, e) {
7929
7756
  }
7930
7757
  function Sp(i, e) {
7931
7758
  const t = [];
7932
- for (; i.length > 0 && e.length > 0; )
7933
- Ip(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
7759
+ for (; i.length > 0 && e.length > 0; ) Ip(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
7934
7760
  return t.concat(i, e);
7935
7761
  }
7936
7762
  function qi(i) {
7937
7763
  const e = i.length;
7938
- if (e < 2)
7939
- return i;
7764
+ if (e < 2) return i;
7940
7765
  const t = Math.ceil(e / 2), r = qi(i.slice(0, t)), o = qi(i.slice(t));
7941
7766
  return Sp(r, o);
7942
7767
  }
@@ -7950,14 +7775,12 @@ function ko(i) {
7950
7775
  return i.getRootNode().activeElement === i;
7951
7776
  }
7952
7777
  function Dp(i) {
7953
- if (!Co(i))
7954
- return -1;
7778
+ if (!Co(i)) return -1;
7955
7779
  const e = i.getAttribute("tabindex") || 0;
7956
7780
  return Number(e);
7957
7781
  }
7958
7782
  function ys(i, e) {
7959
- if (i.nodeType !== Node.ELEMENT_NODE || bs(i))
7960
- return !1;
7783
+ if (i.nodeType !== Node.ELEMENT_NODE || bs(i)) return !1;
7961
7784
  const t = i, r = Dp(t);
7962
7785
  let o = r > 0;
7963
7786
  r >= 0 && e.push(t);
@@ -8221,23 +8044,19 @@ function xs(i, e) {
8221
8044
  i && i.removeAttribute(e);
8222
8045
  }
8223
8046
  function Cs(i, e) {
8224
- if (!i || !e)
8225
- return;
8047
+ if (!i || !e) return;
8226
8048
  const t = Po(e);
8227
- if (t.has(i))
8228
- return;
8049
+ if (t.has(i)) return;
8229
8050
  const r = fo(i.getAttribute(e));
8230
8051
  t.set(i, new Set(r));
8231
8052
  }
8232
8053
  function Np(i, e) {
8233
- if (!i || !e)
8234
- return;
8054
+ if (!i || !e) return;
8235
8055
  const t = Po(e), r = t.get(i);
8236
8056
  !r || r.size === 0 ? i.removeAttribute(e) : ps(i, e, ei(r)), t.delete(i);
8237
8057
  }
8238
8058
  function Ct(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
8239
- if (!i || !e)
8240
- return;
8059
+ if (!i || !e) return;
8241
8060
  const { newId: r, oldId: o, fromUser: n } = t, a = Po(e), s = a.get(i);
8242
8061
  if (!n && s) {
8243
8062
  o && s.delete(o), r && s.add(r);
@@ -8580,8 +8399,7 @@ const ii = (i) => class extends To(Rp(ze(i))) {
8580
8399
  if (e) {
8581
8400
  const t = this._errorNode;
8582
8401
  this._fieldAriaController.setErrorId(t && t.id);
8583
- } else
8584
- this._fieldAriaController.setErrorId(null);
8402
+ } else this._fieldAriaController.setErrorId(null);
8585
8403
  });
8586
8404
  }
8587
8405
  };
@@ -9048,8 +8866,7 @@ const Wp = (i) => class extends ii(dt(Dt(i))) {
9048
8866
  if (t && t.isConnected) {
9049
8867
  const r = this.__checkboxes.map((o) => o.inputElement);
9050
8868
  this._tooltipController.setAriaTarget(r);
9051
- } else
9052
- this._tooltipController.setAriaTarget([]);
8869
+ } else this._tooltipController.setAriaTarget([]);
9053
8870
  });
9054
8871
  }
9055
8872
  get __checkboxes() {
@@ -10573,12 +10390,10 @@ function em() {
10573
10390
  });
10574
10391
  }
10575
10392
  function tm(i) {
10576
- for (; i.length; )
10577
- Is(i.shift());
10393
+ for (; i.length; ) Is(i.shift());
10578
10394
  }
10579
10395
  function rm(i) {
10580
- for (let e = 0, t = i.length; e < t; e++)
10581
- Is(i.shift());
10396
+ for (let e = 0, t = i.length; e < t; e++) Is(i.shift());
10582
10397
  }
10583
10398
  function Is(i) {
10584
10399
  const e = i[0], t = i[1], r = i[2];
@@ -10618,12 +10433,10 @@ let ft = /* @__PURE__ */ new WeakMap(), Pr = /* @__PURE__ */ new WeakMap(), Ar =
10618
10433
  const Yn = (i) => i && i.nodeType === Node.ELEMENT_NODE, wi = (...i) => {
10619
10434
  console.error(`Error: ${i.join(" ")}. Skip setting aria-hidden.`);
10620
10435
  }, sm = (i, e) => Yn(i) ? e.map((t) => {
10621
- if (!Yn(t))
10622
- return wi(t, "is not a valid element"), null;
10436
+ if (!Yn(t)) return wi(t, "is not a valid element"), null;
10623
10437
  let r = t;
10624
10438
  for (; r && r !== i; ) {
10625
- if (i.contains(r))
10626
- return t;
10439
+ if (i.contains(r)) return t;
10627
10440
  r = r.getRootNode().host;
10628
10441
  }
10629
10442
  return wi(t, "is not contained inside", i), null;
@@ -10631,25 +10444,21 @@ const Yn = (i) => i && i.nodeType === Node.ELEMENT_NODE, wi = (...i) => {
10631
10444
  const o = sm(e, Array.isArray(i) ? i : [i]);
10632
10445
  Ar[t] || (Ar[t] = /* @__PURE__ */ new WeakMap());
10633
10446
  const n = Ar[t], a = [], s = /* @__PURE__ */ new Set(), l = new Set(o), d = (u) => {
10634
- if (!u || s.has(u))
10635
- return;
10447
+ if (!u || s.has(u)) return;
10636
10448
  s.add(u);
10637
10449
  const h = u.assignedSlot;
10638
10450
  h && d(h), d(u.parentNode || u.host);
10639
10451
  };
10640
10452
  o.forEach(d);
10641
10453
  const c = (u) => {
10642
- if (!u || l.has(u))
10643
- return;
10454
+ if (!u || l.has(u)) return;
10644
10455
  const h = u.shadowRoot;
10645
10456
  (h ? [...u.children, ...h.children] : [...u.children]).forEach((p) => {
10646
- if (!["template", "script", "style"].includes(p.localName))
10647
- if (s.has(p))
10648
- c(p);
10649
- else {
10650
- const m = p.getAttribute(r), f = m !== null && m !== "false", x = (ft.get(p) || 0) + 1, P = (n.get(p) || 0) + 1;
10651
- ft.set(p, x), n.set(p, P), a.push(p), x === 1 && f && Pr.set(p, !0), P === 1 && p.setAttribute(t, "true"), f || p.setAttribute(r, "true");
10652
- }
10457
+ if (!["template", "script", "style"].includes(p.localName)) if (s.has(p)) c(p);
10458
+ else {
10459
+ const m = p.getAttribute(r), f = m !== null && m !== "false", x = (ft.get(p) || 0) + 1, P = (n.get(p) || 0) + 1;
10460
+ ft.set(p, x), n.set(p, P), a.push(p), x === 1 && f && Pr.set(p, !0), P === 1 && p.setAttribute(t, "true"), f || p.setAttribute(r, "true");
10461
+ }
10653
10462
  });
10654
10463
  };
10655
10464
  return c(e), s.clear(), yi += 1, () => {
@@ -10690,8 +10499,7 @@ class cm {
10690
10499
  }
10691
10500
  restoreFocus(e) {
10692
10501
  const t = this.focusNode;
10693
- if (!t)
10694
- return;
10502
+ if (!t) return;
10695
10503
  const r = e ? e.preventScroll : !1;
10696
10504
  Wi() === document.body ? setTimeout(() => t.focus({ preventScroll: r })) : t.focus({ preventScroll: r }), this.focusNode = null;
10697
10505
  }
@@ -10720,8 +10528,7 @@ class um {
10720
10528
  document.removeEventListener("keydown", this.__onKeyDown);
10721
10529
  }
10722
10530
  trapFocus(e) {
10723
- if (this.__trapNode = e, this.__focusableElements.length === 0)
10724
- throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
10531
+ if (this.__trapNode = e, this.__focusableElements.length === 0) throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
10725
10532
  xi.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
10726
10533
  }
10727
10534
  releaseFocus() {
@@ -10771,12 +10578,10 @@ const hm = (i) => class extends ze(i) {
10771
10578
  return e === document.body || this._deepContains(e);
10772
10579
  }
10773
10580
  _deepContains(e) {
10774
- if (this.contains(e))
10775
- return !0;
10581
+ if (this.contains(e)) return !0;
10776
10582
  let t = e;
10777
10583
  const r = e.ownerDocument;
10778
- for (; t && t !== r && t !== this; )
10779
- t = t.parentNode || t.host;
10584
+ for (; t && t !== r && t !== this; ) t = t.parentNode || t.host;
10780
10585
  return t === this;
10781
10586
  }
10782
10587
  };
@@ -10806,8 +10611,7 @@ const Ds = () => Array.from(document.body.children).filter((i) => i instanceof H
10806
10611
  this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
10807
10612
  const e = Xi();
10808
10613
  let t;
10809
- for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); )
10810
- ;
10614
+ for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); ) ;
10811
10615
  }
10812
10616
  };
10813
10617
  /**
@@ -10846,8 +10650,7 @@ const vr = (i) => class extends hm(Os(i)) {
10846
10650
  this.dispatchEvent(t), t.defaultPrevented || (this.opened = !1);
10847
10651
  }
10848
10652
  _detectIosNavbar() {
10849
- if (!this.opened)
10850
- return;
10653
+ if (!this.opened) return;
10851
10654
  const e = window.innerHeight, t = window.innerWidth > e, r = document.documentElement.clientHeight;
10852
10655
  t && r > e ? this.style.setProperty("--vaadin-overlay-viewport-bottom", `${r - e}px`) : this.style.setProperty("--vaadin-overlay-viewport-bottom", "0");
10853
10656
  }
@@ -10928,8 +10731,7 @@ const vr = (i) => class extends hm(Os(i)) {
10928
10731
  this._mouseDownInside = !1, this._mouseUpInside = !1;
10929
10732
  return;
10930
10733
  }
10931
- if (!this._shouldCloseOnOutsideClick(e))
10932
- return;
10734
+ if (!this._shouldCloseOnOutsideClick(e)) return;
10933
10735
  const t = new CustomEvent("vaadin-overlay-outside-click", { bubbles: !0, cancelable: !0, detail: { sourceEvent: e } });
10934
10736
  this.dispatchEvent(t), this.opened && !t.defaultPrevented && this.close(e);
10935
10737
  }
@@ -10954,15 +10756,13 @@ function mm(i, e) {
10954
10756
  function n(a = !1, s = 1) {
10955
10757
  o();
10956
10758
  const { left: l, top: d, width: c, height: u } = i.getBoundingClientRect();
10957
- if (a || e(), !c || !u)
10958
- return;
10759
+ if (a || e(), !c || !u) return;
10959
10760
  const h = Math.floor(d), p = Math.floor(r.clientWidth - (l + c)), m = Math.floor(r.clientHeight - (d + u)), f = Math.floor(l), x = { rootMargin: `${-h}px ${-p}px ${-m}px ${-f}px`, threshold: Math.max(0, Math.min(1, s)) || 1 };
10960
10761
  let P = !0;
10961
10762
  function C(V) {
10962
10763
  let T = V[0].intersectionRatio;
10963
10764
  if (T !== s) {
10964
- if (!P)
10965
- return n();
10765
+ if (!P) return n();
10966
10766
  T === 0 && (T = 1e-7), n(!1, T);
10967
10767
  }
10968
10768
  P = !1;
@@ -11025,8 +10825,7 @@ const Ci = { start: "top", end: "bottom" }, ki = { start: "left", end: "right" }
11025
10825
  e.target instanceof Node && this.contains(e.target) || this._updatePosition();
11026
10826
  }
11027
10827
  _updatePosition() {
11028
- if (!this.positionTarget || !this.opened || !this.__margins)
11029
- return;
10828
+ if (!this.positionTarget || !this.opened || !this.__margins) return;
11030
10829
  const e = this.positionTarget.getBoundingClientRect();
11031
10830
  if (e.width === 0 && e.height === 0 && this.opened) {
11032
10831
  this.opened = !1;
@@ -11287,10 +11086,8 @@ function Tt(i, e, t, r) {
11287
11086
  }
11288
11087
  function Ns(i, e) {
11289
11088
  return e.filter((t) => t !== void 0).reduce((t, r) => {
11290
- if (!r)
11291
- return t;
11292
- if (!t)
11293
- return r;
11089
+ if (!r) return t;
11090
+ if (!t) return r;
11294
11091
  const o = Math.abs(i.getTime() - r.getTime()), n = Math.abs(t.getTime() - i.getTime());
11295
11092
  return o < n ? r : t;
11296
11093
  });
@@ -11300,17 +11097,14 @@ function zs(i) {
11300
11097
  return t.setDate(1), t.setMonth(parseInt(i) + e.getMonth()), t;
11301
11098
  }
11302
11099
  function wm(i, e, t = 0, r = 1) {
11303
- if (e > 99)
11304
- throw new Error("The provided year cannot have more than 2 digits.");
11305
- if (e < 0)
11306
- throw new Error("The provided year cannot be negative.");
11100
+ if (e > 99) throw new Error("The provided year cannot have more than 2 digits.");
11101
+ if (e < 0) throw new Error("The provided year cannot be negative.");
11307
11102
  let o = e + Math.floor(i.getFullYear() / 100) * 100;
11308
11103
  return i < new Date(o - 50, t, r) ? o -= 100 : i > new Date(o + 50, t, r) && (o += 100), o;
11309
11104
  }
11310
11105
  function jt(i) {
11311
11106
  const e = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(i);
11312
- if (!e)
11313
- return;
11107
+ if (!e) return;
11314
11108
  const t = new Date(0, 0);
11315
11109
  return t.setFullYear(parseInt(e[1], 10)), t.setMonth(parseInt(e[2], 10) - 1), t.setDate(parseInt(e[3], 10)), t;
11316
11110
  }
@@ -11502,8 +11296,7 @@ class Ls extends HTMLElement {
11502
11296
  this._buffers[t].translateY = this._buffers[t ? 0 : 1].translateY + this._bufferHeight * (t ? -1 : 1), this._buffers[t].style.transform = `translate3d(0, ${this._buffers[t].translateY}px, 0)`, this._buffers[t].updated = !1, this._buffers.reverse();
11503
11297
  }
11504
11298
  _scroll() {
11505
- if (this._scrollDisabled)
11506
- return;
11299
+ if (this._scrollDisabled) return;
11507
11300
  const e = this.$.scroller.scrollTop;
11508
11301
  (e < this._bufferHeight || e > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
11509
11302
  const t = this.itemHeight + this.bufferOffset, r = e > this._buffers[1].translateY + t, o = e < this._buffers[0].translateY + t;
@@ -11533,8 +11326,7 @@ class Ls extends HTMLElement {
11533
11326
  });
11534
11327
  }
11535
11328
  _ensureStampedInstance(e) {
11536
- if (e.firstElementChild)
11537
- return;
11329
+ if (e.firstElementChild) return;
11538
11330
  const t = e.instance;
11539
11331
  e.instance = this._createElement(), e.appendChild(e.instance), Object.keys(t).forEach((r) => {
11540
11332
  e.instance[r] = t[r];
@@ -11748,18 +11540,13 @@ const Mm = _o(class {
11748
11540
  function Nm(i, e) {
11749
11541
  for (let t = 0; t < e.length; t++) {
11750
11542
  let r = e[t];
11751
- if (!!i != !!r.__hideTemplateChildren__)
11752
- if (r.nodeType === Node.TEXT_NODE)
11753
- i ? (r.__polymerTextContent__ = r.textContent, r.textContent = "") : r.textContent = r.__polymerTextContent__;
11754
- else if (r.localName === "slot")
11755
- if (i)
11756
- r.__polymerReplaced__ = document.createComment("hidden-slot"), ce(ce(r).parentNode).replaceChild(r.__polymerReplaced__, r);
11757
- else {
11758
- const o = r.__polymerReplaced__;
11759
- o && ce(ce(o).parentNode).replaceChild(r, o);
11760
- }
11761
- else
11762
- r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
11543
+ if (!!i != !!r.__hideTemplateChildren__) if (r.nodeType === Node.TEXT_NODE) i ? (r.__polymerTextContent__ = r.textContent, r.textContent = "") : r.textContent = r.__polymerTextContent__;
11544
+ else if (r.localName === "slot") if (i) r.__polymerReplaced__ = document.createComment("hidden-slot"), ce(ce(r).parentNode).replaceChild(r.__polymerReplaced__, r);
11545
+ else {
11546
+ const o = r.__polymerReplaced__;
11547
+ o && ce(ce(o).parentNode).replaceChild(r, o);
11548
+ }
11549
+ else r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
11763
11550
  r.__hideTemplateChildren__ = i, r._showHideChildren && r._showHideChildren(i);
11764
11551
  }
11765
11552
  }
@@ -11768,27 +11555,22 @@ class Xe extends Mm {
11768
11555
  super(), this._configureProperties(e), this.root = this._stampTemplate(this.__dataHost);
11769
11556
  let t = [];
11770
11557
  this.children = t;
11771
- for (let o = this.root.firstChild; o; o = o.nextSibling)
11772
- t.push(o), o.__templatizeInstance = this;
11558
+ for (let o = this.root.firstChild; o; o = o.nextSibling) t.push(o), o.__templatizeInstance = this;
11773
11559
  this.__templatizeOwner && this.__templatizeOwner.__hideTemplateChildren__ && this._showHideChildren(!0);
11774
11560
  let r = this.__templatizeOptions;
11775
11561
  (e && r.instanceProps || !r.instanceProps) && this._enableProperties();
11776
11562
  }
11777
11563
  _configureProperties(e) {
11778
- if (this.__templatizeOptions.forwardHostProp)
11779
- for (let t in this.__hostProps)
11780
- this._setPendingProperty(t, this.__dataHost["_host_" + t]);
11781
- for (let t in e)
11782
- this._setPendingProperty(t, e[t]);
11564
+ if (this.__templatizeOptions.forwardHostProp) for (let t in this.__hostProps) this._setPendingProperty(t, this.__dataHost["_host_" + t]);
11565
+ for (let t in e) this._setPendingProperty(t, e[t]);
11783
11566
  }
11784
11567
  forwardHostProp(e, t) {
11785
11568
  this._setPendingPropertyOrPath(e, t, !1, !0) && this.__dataHost._enqueueClient(this);
11786
11569
  }
11787
11570
  _addEventListenerToNode(e, t, r) {
11788
- if (this._methodHost && this.__templatizeOptions.parentModel)
11789
- this._methodHost._addEventListenerToNode(e, t, (o) => {
11790
- o.model = this, r(o);
11791
- });
11571
+ if (this._methodHost && this.__templatizeOptions.parentModel) this._methodHost._addEventListenerToNode(e, t, (o) => {
11572
+ o.model = this, r(o);
11573
+ });
11792
11574
  else {
11793
11575
  let o = this.__dataHost.__dataHost;
11794
11576
  o && o._addEventListenerToNode(e, t, r);
@@ -11851,20 +11633,17 @@ function Lm(i, e, t, r) {
11851
11633
  a = e.templatizeTemplateClass = d;
11852
11634
  }
11853
11635
  let s = e.hostProps;
11854
- for (let l in s)
11855
- a.prototype._addPropertyEffect("_host_" + l, a.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: Fm(l, o) }), a.prototype._createNotifyingProperty("_host_" + l);
11636
+ for (let l in s) a.prototype._addPropertyEffect("_host_" + l, a.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: Fm(l, o) }), a.prototype._createNotifyingProperty("_host_" + l);
11856
11637
  Ra && r && Um(e, t, r);
11857
11638
  }
11858
- if (i.__dataProto && Object.assign(i.__data, i.__dataProto), n)
11859
- Om(i, a), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
11639
+ if (i.__dataProto && Object.assign(i.__data, i.__dataProto), n) Om(i, a), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
11860
11640
  else {
11861
11641
  Object.setPrototypeOf(i, a.prototype);
11862
11642
  const s = e.hostProps;
11863
- for (let l in s)
11864
- if (l = "_host_" + l, l in i) {
11865
- const d = i[l];
11866
- delete i[l], i.__data[l] = d;
11867
- }
11643
+ for (let l in s) if (l = "_host_" + l, l in i) {
11644
+ const d = i[l];
11645
+ delete i[l], i.__data[l] = d;
11646
+ }
11868
11647
  }
11869
11648
  }
11870
11649
  }
@@ -11880,9 +11659,7 @@ function Rm(i, e, t, r) {
11880
11659
  let a = r.notifyInstanceProp;
11881
11660
  a && i.prototype._addPropertyEffect(n, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: Vm(n, a) });
11882
11661
  }
11883
- if (r.forwardHostProp && e.__dataHost)
11884
- for (let n in o)
11885
- t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(n, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: Hm() });
11662
+ if (r.forwardHostProp && e.__dataHost) for (let n in o) t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(n, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: Hm() });
11886
11663
  }
11887
11664
  function Vm(i, e) {
11888
11665
  return function(t, r, o) {
@@ -11895,10 +11672,8 @@ function Hm() {
11895
11672
  };
11896
11673
  }
11897
11674
  function eo(i, e, t) {
11898
- if (Wr && !Gn(i))
11899
- throw new Error("strictTemplatePolicy: template owner not trusted");
11900
- if (t = t || {}, i.__templatizeOwner)
11901
- throw new Error("A <template> can only be templatized once");
11675
+ if (Wr && !Gn(i)) throw new Error("strictTemplatePolicy: template owner not trusted");
11676
+ if (t = t || {}, i.__templatizeOwner) throw new Error("A <template> can only be templatized once");
11902
11677
  i.__templatizeOwner = e;
11903
11678
  let r = (e ? e.constructor : Xe)._parseTemplate(i), o = r.templatizeInstanceClass;
11904
11679
  o || (o = Bm(i, r, t), r.templatizeInstanceClass = o);
@@ -11910,28 +11685,22 @@ function eo(i, e, t) {
11910
11685
  }
11911
11686
  function Um(i, e, t) {
11912
11687
  const r = t.constructor._properties, { propertyEffects: o } = i, { instanceProps: n } = e;
11913
- for (let a in o)
11914
- if (!r[a] && !(n && n[a])) {
11915
- const s = o[a];
11916
- for (let l = 0; l < s.length; l++) {
11917
- const { part: d } = s[l].info;
11918
- if (!(d.signature && d.signature.static)) {
11919
- console.warn(`Property '${a}' used in template but not declared in 'properties'; attribute will not be observed.`);
11920
- break;
11921
- }
11688
+ for (let a in o) if (!r[a] && !(n && n[a])) {
11689
+ const s = o[a];
11690
+ for (let l = 0; l < s.length; l++) {
11691
+ const { part: d } = s[l].info;
11692
+ if (!(d.signature && d.signature.static)) {
11693
+ console.warn(`Property '${a}' used in template but not declared in 'properties'; attribute will not be observed.`);
11694
+ break;
11922
11695
  }
11923
11696
  }
11697
+ }
11924
11698
  }
11925
11699
  function $m(i, e) {
11926
11700
  let t;
11927
- for (; e; )
11928
- if (t = e.__dataHost ? e : e.__templatizeInstance)
11929
- if (t.__dataHost != i)
11930
- e = t.__dataHost;
11931
- else
11932
- return t;
11933
- else
11934
- e = ce(e).parentNode;
11701
+ for (; e; ) if (t = e.__dataHost ? e : e.__templatizeInstance) if (t.__dataHost != i) e = t.__dataHost;
11702
+ else return t;
11703
+ else e = ce(e).parentNode;
11935
11704
  return null;
11936
11705
  }
11937
11706
  /**
@@ -11983,16 +11752,14 @@ class Xn extends qm {
11983
11752
  }
11984
11753
  disconnectedCallback() {
11985
11754
  super.disconnectedCallback(), this.__isDetached = !0;
11986
- for (let e = 0; e < this.__instances.length; e++)
11987
- this.__detachInstance(e);
11755
+ for (let e = 0; e < this.__instances.length; e++) this.__detachInstance(e);
11988
11756
  this.__chunkingId && cancelAnimationFrame(this.__chunkingId);
11989
11757
  }
11990
11758
  connectedCallback() {
11991
11759
  if (super.connectedCallback(), Wm() || (this.style.display = "none"), this.__isDetached) {
11992
11760
  this.__isDetached = !1;
11993
11761
  let e = ce(ce(this).parentNode);
11994
- for (let t = 0; t < this.__instances.length; t++)
11995
- this.__attachInstance(t, e);
11762
+ for (let t = 0; t < this.__instances.length; t++) this.__attachInstance(t, e);
11996
11763
  this.__chunkingId && this.__render();
11997
11764
  }
11998
11765
  }
@@ -12002,18 +11769,15 @@ class Xn extends qm {
12002
11769
  let t = this.template = e._templateInfo ? e : this.querySelector("template");
12003
11770
  if (!t) {
12004
11771
  let o = new MutationObserver(() => {
12005
- if (this.querySelector("template"))
12006
- o.disconnect(), this.__render();
12007
- else
12008
- throw new Error("dom-repeat requires a <template> child");
11772
+ if (this.querySelector("template")) o.disconnect(), this.__render();
11773
+ else throw new Error("dom-repeat requires a <template> child");
12009
11774
  });
12010
11775
  return o.observe(this, { childList: !0 }), !1;
12011
11776
  }
12012
11777
  let r = {};
12013
11778
  r[this.as] = !0, r[this.indexAs] = !0, r[this.itemsIndexAs] = !0, this.__ctor = eo(t, this, { mutableData: this.mutableData, parentModel: !0, instanceProps: r, forwardHostProp: function(o, n) {
12014
11779
  let a = this.__instances;
12015
- for (let s = 0, l; s < a.length && (l = a[s]); s++)
12016
- l.forwardHostProp(o, n);
11780
+ for (let s = 0, l; s < a.length && (l = a[s]); s++) l.forwardHostProp(o, n);
12017
11781
  }, notifyInstanceProp: function(o, n, a) {
12018
11782
  if (Yu(this.as, n)) {
12019
11783
  let s = o[this.itemsIndexAs];
@@ -12051,12 +11815,10 @@ class Xn extends qm {
12051
11815
  }
12052
11816
  __handleObservedPaths(e) {
12053
11817
  if (this.__sortFn || this.__filterFn) {
12054
- if (!e)
12055
- this.__debounceRender(this.__render, this.delay);
11818
+ if (!e) this.__debounceRender(this.__render, this.delay);
12056
11819
  else if (this.__observePaths) {
12057
11820
  let t = this.__observePaths;
12058
- for (let r = 0; r < t.length; r++)
12059
- e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
11821
+ for (let r = 0; r < t.length; r++) e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
12060
11822
  }
12061
11823
  }
12062
11824
  }
@@ -12070,8 +11832,7 @@ class Xn extends qm {
12070
11832
  this.__debounceRender(this.__render), Lo();
12071
11833
  }
12072
11834
  __render() {
12073
- if (!this.__ensureTemplatized())
12074
- return;
11835
+ if (!this.__ensureTemplatized()) return;
12075
11836
  let e = this.items || [];
12076
11837
  const t = this.__sortAndFilterItems(e), r = this.__calculateLimit(t.length);
12077
11838
  this.__updateInstances(e, r, t), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
@@ -12080,8 +11841,7 @@ class Xn extends qm {
12080
11841
  }
12081
11842
  __sortAndFilterItems(e) {
12082
11843
  let t = new Array(e.length);
12083
- for (let r = 0; r < e.length; r++)
12084
- t[r] = r;
11844
+ for (let r = 0; r < e.length; r++) t[r] = r;
12085
11845
  return this.__filterFn && (t = t.filter((r, o, n) => this.__filterFn(e[r], o, n))), this.__sortFn && t.sort((r, o) => this.__sortFn(e[r], e[o])), t;
12086
11846
  }
12087
11847
  __calculateLimit(e) {
@@ -12107,8 +11867,7 @@ class Xn extends qm {
12107
11867
  let a = this.__instances[n], s = r[n], l = e[s];
12108
11868
  o[s] = n, a ? (a._setPendingProperty(this.as, l), a._setPendingProperty(this.indexAs, n), a._setPendingProperty(this.itemsIndexAs, s), a._flushProperties()) : this.__insertInstance(l, n, s);
12109
11869
  }
12110
- for (let a = this.__instances.length - 1; a >= n; a--)
12111
- this.__detachAndRemoveInstance(a);
11870
+ for (let a = this.__instances.length - 1; a >= n; a--) this.__detachAndRemoveInstance(a);
12112
11871
  }
12113
11872
  __detachInstance(e) {
12114
11873
  let t = this.__instances[e];
@@ -12136,8 +11895,7 @@ class Xn extends qm {
12136
11895
  return ce(ce(this).parentNode).insertBefore(o.root, a), this.__instances[t] = o, o;
12137
11896
  }
12138
11897
  _showHideChildren(e) {
12139
- for (let t = 0; t < this.__instances.length; t++)
12140
- this.__instances[t]._showHideChildren(e);
11898
+ for (let t = 0; t < this.__instances.length; t++) this.__instances[t]._showHideChildren(e);
12141
11899
  }
12142
11900
  __handleItemPath(e, t) {
12143
11901
  let r = e.slice(6), o = r.indexOf("."), n = o < 0 ? r : r.substring(0, o);
@@ -12190,8 +11948,7 @@ const Ym = (i) => class extends dt(i) {
12190
11948
  return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), t && r && t.getMonth() === r.getMonth() && t.getMonth() === e.getMonth() && r.getDate() - t.getDate() >= 0 ? !1 : !Tt(o, t, r) && !Tt(n, t, r);
12191
11949
  }
12192
11950
  _getTitle(e, t) {
12193
- if (!(e === void 0 || t === void 0))
12194
- return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
11951
+ if (!(e === void 0 || t === void 0)) return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
12195
11952
  }
12196
11953
  _onMonthGridTouchStart() {
12197
11954
  this._notTapping = !1, setTimeout(() => {
@@ -12202,12 +11959,10 @@ const Ym = (i) => class extends dt(i) {
12202
11959
  e.setDate(e.getDate() + t);
12203
11960
  }
12204
11961
  _applyFirstDayOfWeek(e, t) {
12205
- if (!(e === void 0 || t === void 0))
12206
- return e.slice(t).concat(e.slice(0, t));
11962
+ if (!(e === void 0 || t === void 0)) return e.slice(t).concat(e.slice(0, t));
12207
11963
  }
12208
11964
  _getWeekDayNames(e, t) {
12209
- if (e === void 0 || t === void 0)
12210
- return [];
11965
+ if (e === void 0 || t === void 0) return [];
12211
11966
  const { weekdays: r, weekdaysShort: o, firstDayOfWeek: n } = e, a = this._applyFirstDayOfWeek(o, n);
12212
11967
  return this._applyFirstDayOfWeek(r, n).map((s, l) => ({ weekDay: s, weekDayShort: a[l] })).slice(0, 7);
12213
11968
  }
@@ -12224,14 +11979,11 @@ const Ym = (i) => class extends dt(i) {
12224
11979
  return Ve(/* @__PURE__ */ new Date(), e);
12225
11980
  }
12226
11981
  _getDays(e, t) {
12227
- if (e === void 0 || t === void 0)
12228
- return [];
11982
+ if (e === void 0 || t === void 0) return [];
12229
11983
  const r = new Date(0, 0);
12230
- for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; )
12231
- this._dateAdd(r, -1);
11984
+ for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; ) this._dateAdd(r, -1);
12232
11985
  const o = [], n = r.getMonth(), a = e.getMonth();
12233
- for (; r.getMonth() === a || r.getMonth() === n; )
12234
- o.push(r.getMonth() === a ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
11986
+ for (; r.getMonth() === a || r.getMonth() === n; ) o.push(r.getMonth() === a ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
12235
11987
  return o;
12236
11988
  }
12237
11989
  _getWeeks(e) {
@@ -12248,8 +12000,7 @@ const Ym = (i) => class extends dt(i) {
12248
12000
  return ym(t);
12249
12001
  }
12250
12002
  __getDayAriaLabel(e) {
12251
- if (!e)
12252
- return "";
12003
+ if (!e) return "";
12253
12004
  let t = `${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;
12254
12005
  return this._isToday(e) && (t += `, ${this.i18n.today}`), t;
12255
12006
  }
@@ -12391,15 +12142,13 @@ class Gm extends Ym(q(B)) {
12391
12142
  return Ve(e, t);
12392
12143
  }
12393
12144
  __getDayAriaSelected(e, t) {
12394
- if (this.__isDaySelected(e, t))
12395
- return "true";
12145
+ if (this.__isDaySelected(e, t)) return "true";
12396
12146
  }
12397
12147
  __isDayDisabled(e, t, r, o) {
12398
12148
  return !Tt(e, t, r, o);
12399
12149
  }
12400
12150
  __getDayAriaDisabled(e, t, r, o) {
12401
- if (!(e === void 0 || t === void 0 && r === void 0 && o === void 0) && this.__isDayDisabled(e, t, r, o))
12402
- return "true";
12151
+ if (!(e === void 0 || t === void 0 && r === void 0 && o === void 0) && this.__isDayDisabled(e, t, r, o)) return "true";
12403
12152
  }
12404
12153
  __getDayTabindex(e, t) {
12405
12154
  return this.__isDayFocused(e, t) ? "0" : "-1";
@@ -12528,8 +12277,7 @@ const Km = (i) => class extends i {
12528
12277
  this.revealDate(e);
12529
12278
  }
12530
12279
  revealDate(e, t = !0) {
12531
- if (!e)
12532
- return;
12280
+ if (!e) return;
12533
12281
  const r = this._differenceInMonths(e, this._originDate);
12534
12282
  if (this.__useSubMonthScrolling) {
12535
12283
  const s = this._calculateWeekScrollOffset(e);
@@ -12543,8 +12291,7 @@ const Km = (i) => class extends i {
12543
12291
  const t = new Date(0, 0);
12544
12292
  t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth()), t.setDate(1);
12545
12293
  let r = 0;
12546
- for (; t.getDate() < e.getDate(); )
12547
- t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
12294
+ for (; t.getDate() < e.getDate(); ) t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
12548
12295
  return r / 6;
12549
12296
  }
12550
12297
  _initialPositionChanged(e) {
@@ -12614,8 +12361,7 @@ const Km = (i) => class extends i {
12614
12361
  if (d < this.scrollDuration) {
12615
12362
  const c = o(d, a, this._targetPosition - a, this.scrollDuration);
12616
12363
  this._monthScroller.position = c, window.requestAnimationFrame(s);
12617
- } else
12618
- this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: a } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, r(), this._revealPromise = void 0;
12364
+ } else this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: a } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, r(), this._revealPromise = void 0;
12619
12365
  setTimeout(this._repositionYearScroller.bind(this), 1);
12620
12366
  };
12621
12367
  window.requestAnimationFrame(s);
@@ -12624,25 +12370,23 @@ const Km = (i) => class extends i {
12624
12370
  return Math.min(t.max, Math.max(t.min, e));
12625
12371
  }
12626
12372
  _handleTrack(e) {
12627
- if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10)
12628
- return;
12373
+ if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10) return;
12629
12374
  Math.abs(e.detail.ddx) > this._yearScrollerWidth / 3 && this._toggleAnimateClass(!0);
12630
12375
  const t = this._translateX + e.detail.ddx;
12631
12376
  this._translateX = this._limit(t, { min: 0, max: this._yearScrollerWidth });
12632
12377
  }
12633
12378
  _track(e) {
12634
- if (!this._desktopMode)
12635
- switch (e.detail.state) {
12636
- case "start":
12637
- this._toggleAnimateClass(!1);
12638
- break;
12639
- case "track":
12640
- this._handleTrack(e);
12641
- break;
12642
- case "end":
12643
- this._toggleAnimateClass(!0), this._translateX >= this._yearScrollerWidth / 2 ? this._closeYearScroller() : this._openYearScroller();
12644
- break;
12645
- }
12379
+ if (!this._desktopMode) switch (e.detail.state) {
12380
+ case "start":
12381
+ this._toggleAnimateClass(!1);
12382
+ break;
12383
+ case "track":
12384
+ this._handleTrack(e);
12385
+ break;
12386
+ case "end":
12387
+ this._toggleAnimateClass(!0), this._translateX >= this._yearScrollerWidth / 2 ? this._closeYearScroller() : this._openYearScroller();
12388
+ break;
12389
+ }
12646
12390
  }
12647
12391
  _toggleAnimateClass(e) {
12648
12392
  e ? this.classList.add("animate") : this.classList.remove("animate");
@@ -12982,8 +12726,7 @@ const Ho = oe((i) => class extends Eo(To(pr(i))) {
12982
12726
  this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`);
12983
12727
  }
12984
12728
  _constraintsChanged(e, ...t) {
12985
- if (!e)
12986
- return;
12729
+ if (!e) return;
12987
12730
  const r = this._hasValidConstraints(t), o = this.__previousHasConstraints && !r;
12988
12731
  (this._hasValue || this.invalid) && r ? this.validate() : o && this._setInvalid(!1), this.__previousHasConstraints = r;
12989
12732
  }
@@ -13056,12 +12799,11 @@ const ai = (i) => class extends Hs(ri(Ho(ii(e_(lt(i)))))) {
13056
12799
  this.allowedCharPattern && e.data && !this.__allowedTextRegExp.test(e.data) && (e.preventDefault(), this._markInputPrevented());
13057
12800
  }
13058
12801
  _allowedCharPatternChanged(e) {
13059
- if (e)
13060
- try {
13061
- this.__allowedCharRegExp = new RegExp(`^${e}$`, "u"), this.__allowedTextRegExp = new RegExp(`^${e}*$`, "u");
13062
- } catch (t) {
13063
- console.error(t);
13064
- }
12802
+ if (e) try {
12803
+ this.__allowedCharRegExp = new RegExp(`^${e}$`, "u"), this.__allowedTextRegExp = new RegExp(`^${e}*$`, "u");
12804
+ } catch (t) {
12805
+ console.error(t);
12806
+ }
13065
12807
  }
13066
12808
  };
13067
12809
  /**
@@ -13156,8 +12898,7 @@ const gr = (i) => class extends i {
13156
12898
  return ["__updateOverlayClassNames(overlayClass, _overlayElement)"];
13157
12899
  }
13158
12900
  __updateOverlayClassNames(e, t) {
13159
- if (!t || e === void 0)
13160
- return;
12901
+ if (!t || e === void 0) return;
13161
12902
  const { classList: r } = t;
13162
12903
  if (this.__initialClasses || (this.__initialClasses = new Set(r)), Array.isArray(this.__previousClasses)) {
13163
12904
  const n = this.__previousClasses.filter((a) => !this.__initialClasses.has(a));
@@ -13200,10 +12941,8 @@ const r_ = (i) => class extends gr(ze(ri(Ho(lt(i))))) {
13200
12941
  const s = this.referenceDate ? jt(this.referenceDate) : /* @__PURE__ */ new Date();
13201
12942
  a = wm(s, a, n, o);
13202
12943
  }
13203
- } else
13204
- t.length === 2 ? (n = parseInt(t[0]) - 1, o = parseInt(t[1])) : t.length === 1 && (o = parseInt(t[0]));
13205
- if (o !== void 0)
13206
- return { day: o, month: n, year: a };
12944
+ } else t.length === 2 ? (n = parseInt(t[0]) - 1, o = parseInt(t[1])) : t.length === 1 && (o = parseInt(t[0]));
12945
+ if (o !== void 0) return { day: o, month: n, year: a };
13207
12946
  }, formatTitle: (e, t) => `${e} ${t}` }) }, min: { type: String, sync: !0 }, max: { type: String, sync: !0 }, isDateDisabled: { type: Function }, _minDate: { type: Date, computed: "__computeMinOrMaxDate(min)", sync: !0 }, _maxDate: { type: Date, computed: "__computeMinOrMaxDate(max)", sync: !0 }, _noInput: { type: Boolean, computed: "_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)" }, _ios: { type: Boolean, value: Mo }, _focusOverlayOnOpen: Boolean, _overlayContent: { type: Object, sync: !0 }, _hasInputValue: { type: Boolean } };
13208
12947
  }
13209
12948
  static get observers() {
@@ -13253,8 +12992,7 @@ const r_ = (i) => class extends gr(ze(ri(Ho(lt(i))))) {
13253
12992
  this.$.overlay.close();
13254
12993
  }
13255
12994
  _overlayRenderer(e) {
13256
- if (e.firstChild)
13257
- return;
12995
+ if (e.firstChild) return;
13258
12996
  const t = document.createElement("vaadin-date-picker-overlay-content");
13259
12997
  e.appendChild(t), this._overlayContent = t, t.addEventListener("close", () => {
13260
12998
  this._close();
@@ -13271,15 +13009,12 @@ const r_ = (i) => class extends gr(ze(ri(Ho(lt(i))))) {
13271
13009
  }), t.addEventListener("click", (r) => r.stopPropagation());
13272
13010
  }
13273
13011
  __parseDate(e) {
13274
- if (!this.i18n.parseDate)
13275
- return;
13012
+ if (!this.i18n.parseDate) return;
13276
13013
  let t = this.i18n.parseDate(e);
13277
- if (t && (t = jt(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime()))
13278
- return t;
13014
+ if (t && (t = jt(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime())) return t;
13279
13015
  }
13280
13016
  __formatDate(e) {
13281
- if (this.i18n.formatDate)
13282
- return this.i18n.formatDate(Bo(e));
13017
+ if (this.i18n.formatDate) return this.i18n.formatDate(Bo(e));
13283
13018
  }
13284
13019
  checkValidity() {
13285
13020
  const e = this._inputElementValue, t = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), r = !this._selectedDate || Tt(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
@@ -13369,8 +13104,7 @@ const r_ = (i) => class extends gr(ze(ri(Ho(lt(i))))) {
13369
13104
  if (this._ignoreFocusedDateChange = !0, this.i18n.parseDate) {
13370
13105
  const e = this._inputElementValue || "", t = this.__parseDate(e);
13371
13106
  t ? this.__commitDate(t) : (this.__keepInputValue = !0, this.__commitDate(null), this.__keepInputValue = !1);
13372
- } else
13373
- this._focusedDate && this.__commitDate(this._focusedDate);
13107
+ } else this._focusedDate && this.__commitDate(this._focusedDate);
13374
13108
  this._ignoreFocusedDateChange = !1;
13375
13109
  }
13376
13110
  _onOverlayClosed() {
@@ -13747,8 +13481,7 @@ const c_ = (i) => class extends Hs(Dt(dt(pr(i)))) {
13747
13481
  return !(e.relatedTarget === this._revealNode || e.relatedTarget === this.inputElement && e.target === this._revealNode);
13748
13482
  }
13749
13483
  _setFocused(e) {
13750
- if (super._setFocused(e), !e)
13751
- this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
13484
+ if (super._setFocused(e), !e) this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
13752
13485
  else {
13753
13486
  const t = this.getRootNode().activeElement === this._revealNode;
13754
13487
  this.toggleAttribute("focus-ring", this._keyboardActive && !t);
@@ -14023,8 +13756,7 @@ const Xs = (i) => class extends i {
14023
13756
  e && this.setAttribute("dir", e);
14024
13757
  }
14025
13758
  requestContentUpdate() {
14026
- if (!this.renderer || this.hidden)
14027
- return;
13759
+ if (!this.renderer || this.hidden) return;
14028
13760
  const e = { index: this.index, item: this.item, focused: this.focused, selected: this.selected };
14029
13761
  this.renderer(this, this._owner, e);
14030
13762
  }
@@ -14182,8 +13914,7 @@ const Qn = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), v_
14182
13914
  if (i == null) {
14183
13915
  let e = this._physicalTop + this._scrollOffset;
14184
13916
  i = this._iterateItems((t, r) => {
14185
- if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition)
14186
- return r;
13917
+ if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition) return r;
14187
13918
  }) || 0, this._firstVisibleIndexVal = i;
14188
13919
  }
14189
13920
  return i;
@@ -14215,24 +13946,20 @@ const Qn = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), v_
14215
13946
  const o = [], n = this._hiddenContentSize * this._ratio, a = this._virtualStart, s = this._virtualEnd, l = this._physicalCount;
14216
13947
  let d = this._physicalTop + this._scrollOffset;
14217
13948
  const c = this._physicalBottom + this._scrollOffset, u = this._scrollPosition, h = this._scrollBottom;
14218
- for (i ? (e = this._physicalStart, t = u - d) : (e = this._physicalEnd, t = c - h); r = this._getPhysicalSizeIncrement(e), t -= r, !(o.length >= l || t <= n); )
14219
- if (i) {
14220
- if (s + o.length + 1 >= this._virtualCount || d + r >= u - this._scrollOffset)
14221
- break;
14222
- o.push(e), d += r, e = (e + 1) % l;
14223
- } else {
14224
- if (a - o.length <= 0 || d + this._physicalSize - r <= h)
14225
- break;
14226
- o.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
14227
- }
13949
+ for (i ? (e = this._physicalStart, t = u - d) : (e = this._physicalEnd, t = c - h); r = this._getPhysicalSizeIncrement(e), t -= r, !(o.length >= l || t <= n); ) if (i) {
13950
+ if (s + o.length + 1 >= this._virtualCount || d + r >= u - this._scrollOffset) break;
13951
+ o.push(e), d += r, e = (e + 1) % l;
13952
+ } else {
13953
+ if (a - o.length <= 0 || d + this._physicalSize - r <= h) break;
13954
+ o.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
13955
+ }
14228
13956
  return { indexes: o, physicalTop: d - this._scrollOffset };
14229
13957
  }, _update(i, e) {
14230
13958
  if (!(i && i.length === 0 || this._physicalCount === 0)) {
14231
- if (this._assignModels(i), this._updateMetrics(i), e)
14232
- for (; e.length; ) {
14233
- const t = e.pop();
14234
- this._physicalTop -= this._getPhysicalSizeIncrement(t);
14235
- }
13959
+ if (this._assignModels(i), this._updateMetrics(i), e) for (; e.length; ) {
13960
+ const t = e.pop();
13961
+ this._physicalTop -= this._getPhysicalSizeIncrement(t);
13962
+ }
14236
13963
  this._positionItems(), this._updateScrollerSize();
14237
13964
  }
14238
13965
  }, _isClientFull() {
@@ -14244,34 +13971,25 @@ const Qn = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), v_
14244
13971
  if (e > 0) {
14245
13972
  const r = window.performance.now();
14246
13973
  [].push.apply(this._physicalItems, this._createPool(e));
14247
- for (let o = 0; o < e; o++)
14248
- this._physicalSizes.push(0);
13974
+ for (let o = 0; o < e; o++) this._physicalSizes.push(0);
14249
13975
  this._physicalCount += e, this._physicalStart > this._physicalEnd && this._isIndexRendered(this._focusedVirtualIndex) && this._getPhysicalIndex(this._focusedVirtualIndex) < this._physicalEnd && (this._physicalStart += e), this._update(), this._templateCost = (window.performance.now() - r) / e, t = Math.round(this._physicalCount * 0.5);
14250
13976
  }
14251
13977
  this._virtualEnd >= this._virtualCount - 1 || t === 0 || (this._isClientFull() ? this._physicalSize < this._optPhysicalSize && this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, this._clamp(Math.round(50 / this._templateCost), 1, t)), cs) : this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, t), Yr));
14252
13978
  }
14253
13979
  }, _render() {
14254
- if (!(!this.isAttached || !this._isVisible))
14255
- if (this._physicalCount !== 0) {
14256
- const i = this._getReusables(!0);
14257
- this._physicalTop = i.physicalTop, this._virtualStart += i.indexes.length, this._physicalStart += i.indexes.length, this._update(i.indexes), this._update(), this._increasePoolIfNeeded(0);
14258
- } else
14259
- this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(Jn));
13980
+ if (!(!this.isAttached || !this._isVisible)) if (this._physicalCount !== 0) {
13981
+ const i = this._getReusables(!0);
13982
+ this._physicalTop = i.physicalTop, this._virtualStart += i.indexes.length, this._physicalStart += i.indexes.length, this._update(i.indexes), this._update(), this._increasePoolIfNeeded(0);
13983
+ } else this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(Jn));
14260
13984
  }, _itemsChanged(i) {
14261
13985
  i.path === "items" && (this._virtualStart = 0, this._physicalTop = 0, this._virtualCount = this.items ? this.items.length : 0, this._physicalIndexForKey = {}, this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._physicalItems || (this._physicalItems = []), this._physicalSizes || (this._physicalSizes = []), this._physicalStart = 0, this._scrollTop > this._scrollOffset && this._resetScrollPosition(0), this._debounce("_render", this._render, lr));
14262
13986
  }, _iterateItems(i, e) {
14263
13987
  let t, r, o, n;
14264
13988
  if (arguments.length === 2 && e) {
14265
- for (n = 0; n < e.length; n++)
14266
- if (t = e[n], r = this._computeVidx(t), (o = i.call(this, t, r)) != null)
14267
- return o;
13989
+ for (n = 0; n < e.length; n++) if (t = e[n], r = this._computeVidx(t), (o = i.call(this, t, r)) != null) return o;
14268
13990
  } else {
14269
- for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++)
14270
- if ((o = i.call(this, t, r)) != null)
14271
- return o;
14272
- for (t = 0; t < this._physicalStart; t++, r++)
14273
- if ((o = i.call(this, t, r)) != null)
14274
- return o;
13991
+ for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++) if ((o = i.call(this, t, r)) != null) return o;
13992
+ for (t = 0; t < this._physicalStart; t++, r++) if ((o = i.call(this, t, r)) != null) return o;
14275
13993
  }
14276
13994
  }, _computeVidx(i) {
14277
13995
  return i >= this._physicalStart ? this._virtualStart + (i - this._physicalStart) : this._virtualStart + (this._physicalCount - this._physicalStart) + i;
@@ -14296,13 +14014,11 @@ const Qn = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), v_
14296
14014
  const e = this._physicalBottom + Math.max(this._virtualCount - this._physicalCount - this._virtualStart, 0) * this._physicalAverage;
14297
14015
  this._estScrollHeight = e, (i || this._scrollHeight === 0 || this._scrollPosition >= e - this._physicalSize || Math.abs(e - this._scrollHeight) >= this._viewportHeight) && (this.$.items.style.height = `${e}px`, this._scrollHeight = e);
14298
14016
  }, scrollToIndex(i) {
14299
- if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (Xt(), this._physicalCount === 0))
14300
- return;
14017
+ if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (Xt(), this._physicalCount === 0)) return;
14301
14018
  i = this._clamp(i, 0, this._virtualCount - 1), (!this._isIndexRendered(i) || i >= this._maxVirtualStart) && (this._virtualStart = i - 1), this._assignModels(), this._updateMetrics(), this._physicalTop = this._virtualStart * this._physicalAverage;
14302
14019
  let e = this._physicalStart, t = this._virtualStart, r = 0;
14303
14020
  const o = this._hiddenContentSize;
14304
- for (; t < i && r <= o; )
14305
- r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
14021
+ for (; t < i && r <= o; ) r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
14306
14022
  this._updateScrollerSize(!0), this._positionItems(), this._resetScrollPosition(this._physicalTop + this._scrollOffset + r), this._increasePoolIfNeeded(0), this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null;
14307
14023
  }, _resetAverage() {
14308
14024
  this._physicalAverage = 0, this._physicalAverageCount = 0;
@@ -14354,8 +14070,7 @@ class Js {
14354
14070
  return this.__getVisibleElements().some((e) => e.__virtualizerPlaceholder);
14355
14071
  }
14356
14072
  scrollToIndex(e) {
14357
- if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight)
14358
- return;
14073
+ if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight) return;
14359
14074
  delete this.__pendingScrollToIndex, this._physicalCount <= 3 && this.flush(), e = this._clamp(e, 0, this.size - 1);
14360
14075
  const t = this.__getVisibleElements().length;
14361
14076
  let r = Math.floor(e / this.size * this._virtualCount);
@@ -14380,8 +14095,7 @@ class Js {
14380
14095
  }
14381
14096
  __getBorderBoxHeight(e) {
14382
14097
  const t = getComputedStyle(e), r = parseFloat(t.height) || 0;
14383
- if (t.boxSizing === "border-box")
14384
- return r;
14098
+ if (t.boxSizing === "border-box") return r;
14385
14099
  const o = parseFloat(t.paddingBottom) || 0, n = parseFloat(t.paddingTop) || 0, a = parseFloat(t.borderBottomWidth) || 0, s = parseFloat(t.borderTopWidth) || 0;
14386
14100
  return r + o + n + a + s;
14387
14101
  }
@@ -14391,8 +14105,7 @@ class Js {
14391
14105
  __afterElementsUpdated(e) {
14392
14106
  e.forEach((t) => {
14393
14107
  const r = t.offsetHeight;
14394
- if (r === 0)
14395
- t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = we.debounce(this.__placeholderClearDebouncer, lr, () => this._resizeHandler());
14108
+ if (r === 0) t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = we.debounce(this.__placeholderClearDebouncer, lr, () => this._resizeHandler());
14396
14109
  else {
14397
14110
  this.__elementHeightQueue.push(r), this.__elementHeightQueue.shift();
14398
14111
  const o = this.__elementHeightQueue.filter((n) => n !== void 0);
@@ -14408,8 +14121,7 @@ class Js {
14408
14121
  return this.__size;
14409
14122
  }
14410
14123
  set size(e) {
14411
- if (e === this.size)
14412
- return;
14124
+ if (e === this.size) return;
14413
14125
  this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.cancel(), this._debouncers && this._debouncers._increasePoolIfNeeded && this._debouncers._increasePoolIfNeeded.cancel(), this.__preventElementUpdates = !0;
14414
14126
  let t, r;
14415
14127
  if (e > 0 && (t = this.adjustedFirstVisibleIndex, r = this.__getIndexScrollOffset(t)), this.__size = e, this._itemsChanged({ path: "items" }), Xt(), e > 0) {
@@ -14473,19 +14185,16 @@ class Js {
14473
14185
  return t.indexOf(e) === 0 && e.__virtualIndex > 0;
14474
14186
  }
14475
14187
  __onElementFocused(e) {
14476
- if (!this.reorderElements)
14477
- return;
14188
+ if (!this.reorderElements) return;
14478
14189
  const t = e.detail.element;
14479
- if (!t)
14480
- return;
14190
+ if (!t) return;
14481
14191
  const r = this.__getVisibleElements();
14482
14192
  (this.__previousFocusableSiblingMissing(t, r) || this.__nextFocusableSiblingMissing(t, r)) && this.flush();
14483
14193
  const o = this.__getVisibleElements();
14484
14194
  this.__nextFocusableSiblingMissing(t, o) ? (this._scrollTop += Math.ceil(t.getBoundingClientRect().bottom) - Math.floor(this.scrollTarget.getBoundingClientRect().bottom - 1), this.flush()) : this.__previousFocusableSiblingMissing(t, o) && (this._scrollTop -= Math.ceil(this.scrollTarget.getBoundingClientRect().top + 1) - Math.floor(t.getBoundingClientRect().top), this.flush());
14485
14195
  }
14486
14196
  _scrollHandler() {
14487
- if (this.scrollTarget.offsetHeight === 0)
14488
- return;
14197
+ if (this.scrollTarget.offsetHeight === 0) return;
14489
14198
  this._adjustVirtualIndexOffset(this._scrollTop - (this.__previousScrollTop || 0));
14490
14199
  const e = this.scrollTarget.scrollTop - this._scrollPosition;
14491
14200
  if (super._scrollHandler(), this._physicalCount !== 0) {
@@ -14495,8 +14204,7 @@ class Js {
14495
14204
  e && (this.__fixInvalidItemPositioningDebouncer = we.debounce(this.__fixInvalidItemPositioningDebouncer, je.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING), () => this.__fixInvalidItemPositioning())), this.reorderElements && (this.__scrollReorderDebouncer = we.debounce(this.__scrollReorderDebouncer, je.after(this.timeouts.SCROLL_REORDER), () => this.__reorderElements())), this.__previousScrollTop = this._scrollTop, this._scrollTop === 0 && this.firstVisibleIndex !== 0 && Math.abs(e) > 0 && this.scrollToIndex(0);
14496
14205
  }
14497
14206
  __fixInvalidItemPositioning() {
14498
- if (!this.scrollTarget.isConnected)
14499
- return;
14207
+ if (!this.scrollTarget.isConnected) return;
14500
14208
  const e = this._physicalTop > this._scrollTop, t = this._physicalBottom < this._scrollBottom, r = this.adjustedFirstVisibleIndex === 0, o = this.adjustedLastVisibleIndex === this.size - 1;
14501
14209
  if (e && !r || t && !o) {
14502
14210
  const n = t, a = this._ratio;
@@ -14504,8 +14212,7 @@ class Js {
14504
14212
  }
14505
14213
  }
14506
14214
  __onWheel(e) {
14507
- if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY))
14508
- return;
14215
+ if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY)) return;
14509
14216
  let t = e.deltaY;
14510
14217
  if (e.deltaMode === WheelEvent.DOM_DELTA_LINE ? t *= this._scrollLineHeight : e.deltaMode === WheelEvent.DOM_DELTA_PAGE && (t *= this._scrollPageHeight), this._deltaYAcc || (this._deltaYAcc = 0), this._wheelAnimationFrame) {
14511
14218
  this._deltaYAcc += t, e.preventDefault();
@@ -14520,12 +14227,9 @@ class Js {
14520
14227
  })) : this._hasResidualMomentum && r <= this._previousMomentum || this._ignoreNewWheel ? e.preventDefault() : r > this._previousMomentum && (this._hasResidualMomentum = !1), this._previousMomentum = r;
14521
14228
  }
14522
14229
  _hasScrolledAncestor(e, t, r) {
14523
- if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host)
14524
- return !1;
14525
- if (this._canScroll(e, t, r) && ["auto", "scroll"].indexOf(getComputedStyle(e).overflow) !== -1)
14526
- return !0;
14527
- if (e !== this && e.parentElement)
14528
- return this._hasScrolledAncestor(e.parentElement, t, r);
14230
+ if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host) return !1;
14231
+ if (this._canScroll(e, t, r) && ["auto", "scroll"].indexOf(getComputedStyle(e).overflow) !== -1) return !0;
14232
+ if (e !== this && e.parentElement) return this._hasScrolledAncestor(e.parentElement, t, r);
14529
14233
  }
14530
14234
  _canScroll(e, t, r) {
14531
14235
  return r > 0 && e.scrollTop < e.scrollHeight - e.offsetHeight || r < 0 && e.scrollTop > 0 || t > 0 && e.scrollLeft < e.scrollWidth - e.offsetWidth || t < 0 && e.scrollLeft > 0;
@@ -14534,16 +14238,14 @@ class Js {
14534
14238
  if (this._physicalCount > 2 && e) {
14535
14239
  const t = Math.ceil(this._optPhysicalSize / this._physicalAverage) - this._physicalCount;
14536
14240
  super._increasePoolIfNeeded(Math.max(e, Math.min(100, t)));
14537
- } else
14538
- super._increasePoolIfNeeded(e);
14241
+ } else super._increasePoolIfNeeded(e);
14539
14242
  }
14540
14243
  get _optPhysicalSize() {
14541
14244
  const e = super._optPhysicalSize;
14542
14245
  return e <= 0 || this.__hasPlaceholders() ? e : e + this.__getItemHeightBuffer();
14543
14246
  }
14544
14247
  __getItemHeightBuffer() {
14545
- if (this._physicalCount === 0)
14546
- return 0;
14248
+ if (this._physicalCount === 0) return 0;
14547
14249
  const e = Math.ceil(this._viewportHeight * (this._maxPages - 1) / 2), t = Math.max(...this._physicalSizes);
14548
14250
  return t > Math.min(...this._physicalSizes) ? Math.max(0, t - e) : 0;
14549
14251
  }
@@ -14563,15 +14265,10 @@ class Js {
14563
14265
  }
14564
14266
  this.__pendingReorder = !1;
14565
14267
  const e = this._virtualStart + (this._vidxOffset || 0), t = this.__getVisibleElements(), r = this.__getFocusedElement(t) || t[0];
14566
- if (!r)
14567
- return;
14268
+ if (!r) return;
14568
14269
  const o = r.__virtualIndex - e, n = t.indexOf(r) - o;
14569
- if (n > 0)
14570
- for (let a = 0; a < n; a++)
14571
- this.elementsContainer.appendChild(t[a]);
14572
- else if (n < 0)
14573
- for (let a = t.length + n; a < t.length; a++)
14574
- this.elementsContainer.insertBefore(t[a], t[0]);
14270
+ if (n > 0) for (let a = 0; a < n; a++) this.elementsContainer.appendChild(t[a]);
14271
+ else if (n < 0) for (let a = t.length + n; a < t.length; a++) this.elementsContainer.insertBefore(t[a], t[0]);
14575
14272
  if (am) {
14576
14273
  const { transform: a } = this.scrollTarget.style;
14577
14274
  this.scrollTarget.style.transform = "translateZ(0)", setTimeout(() => {
@@ -14581,10 +14278,8 @@ class Js {
14581
14278
  }
14582
14279
  _adjustVirtualIndexOffset(e) {
14583
14280
  const t = this._maxVirtualIndexOffset;
14584
- if (this._virtualCount >= this.size)
14585
- this._vidxOffset = 0;
14586
- else if (this.__skipNextVirtualIndexAdjust)
14587
- this.__skipNextVirtualIndexAdjust = !1;
14281
+ if (this._virtualCount >= this.size) this._vidxOffset = 0;
14282
+ else if (this.__skipNextVirtualIndexAdjust) this.__skipNextVirtualIndexAdjust = !1;
14588
14283
  else if (Math.abs(e) > 1e4) {
14589
14284
  const r = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.clientHeight);
14590
14285
  this._vidxOffset = Math.round(r * t);
@@ -14657,14 +14352,12 @@ const Zs = (i) => class extends i {
14657
14352
  this.__virtualizer && (this.items && (this.__virtualizer.size = this.items.length), this.opened && this.__virtualizer.update());
14658
14353
  }
14659
14354
  scrollIntoView(e) {
14660
- if (!this.__virtualizer || !(this.opened && e >= 0))
14661
- return;
14355
+ if (!this.__virtualizer || !(this.opened && e >= 0)) return;
14662
14356
  const t = this._visibleItemsCount();
14663
14357
  let r = e;
14664
14358
  e > this.__virtualizer.lastVisibleIndex - 1 ? (this.__virtualizer.scrollToIndex(e), r = e - t + 1) : e > this.__virtualizer.firstVisibleIndex && (r = this.__virtualizer.firstVisibleIndex), this.__virtualizer.scrollToIndex(Math.max(0, r));
14665
14359
  const o = [...this.children].find((l) => !l.hidden && l.index === this.__virtualizer.lastVisibleIndex);
14666
- if (!o || e !== o.index)
14667
- return;
14360
+ if (!o || e !== o.index) return;
14668
14361
  const n = o.getBoundingClientRect(), a = this.getBoundingClientRect(), s = n.bottom - a.bottom + this._viewportTotalPaddingBottom;
14669
14362
  s > 0 && (this.scrollTop += s);
14670
14363
  }
@@ -14789,10 +14482,8 @@ function Xr(i, e, t = 0) {
14789
14482
  let r = e;
14790
14483
  for (const o of i.subCaches) {
14791
14484
  const n = o.parentCacheIndex;
14792
- if (r <= n)
14793
- break;
14794
- if (r <= n + o.flatSize)
14795
- return Xr(o, r - n - 1, t + 1);
14485
+ if (r <= n) break;
14486
+ if (r <= n + o.flatSize) return Xr(o, r - n - 1, t + 1);
14796
14487
  r -= o.flatSize;
14797
14488
  }
14798
14489
  return { cache: i, item: i.items[r], index: r, page: Math.floor(r / i.pageSize), level: t };
@@ -14800,13 +14491,11 @@ function Xr(i, e, t = 0) {
14800
14491
  function el({ getItemId: i }, e, t, r = 0, o = 0) {
14801
14492
  for (let n = 0; n < e.items.length; n++) {
14802
14493
  const a = e.items[n];
14803
- if (a && i(a) === i(t))
14804
- return { cache: e, level: r, item: a, index: n, page: Math.floor(n / e.pageSize), subCache: e.getSubCache(n), flatIndex: o + e.getFlatIndex(n) };
14494
+ if (a && i(a) === i(t)) return { cache: e, level: r, item: a, index: n, page: Math.floor(n / e.pageSize), subCache: e.getSubCache(n), flatIndex: o + e.getFlatIndex(n) };
14805
14495
  }
14806
14496
  for (const n of e.subCaches) {
14807
14497
  const a = o + e.getFlatIndex(n.parentCacheIndex), s = el({ getItemId: i }, n, t, r + 1, a + 1);
14808
- if (s)
14809
- return s;
14498
+ if (s) return s;
14810
14499
  }
14811
14500
  }
14812
14501
  function tl(i, [e, ...t], r = 0) {
@@ -14846,8 +14535,7 @@ class Uo {
14846
14535
  if (this.__size !== e) {
14847
14536
  if (this.__size = e, this.context.placeholder !== void 0) {
14848
14537
  this.items.length = e || 0;
14849
- for (let r = 0; r < e; r++)
14850
- (t = this.items)[r] || (t[r] = this.context.placeholder);
14538
+ for (let r = 0; r < e; r++) (t = this.items)[r] || (t[r] = this.context.placeholder);
14851
14539
  }
14852
14540
  Object.keys(this.pendingRequests).forEach((r) => {
14853
14541
  parseInt(r) * this.pageSize >= this.size && delete this.pendingRequests[r];
@@ -14967,8 +14655,7 @@ class C_ extends EventTarget {
14967
14655
  return new Uo(this.__cacheContext, this.pageSize, e);
14968
14656
  }
14969
14657
  __loadCachePage(e, t) {
14970
- if (!this.dataProvider || e.pendingRequests[t])
14971
- return;
14658
+ if (!this.dataProvider || e.pendingRequests[t]) return;
14972
14659
  let r = { page: t, pageSize: this.pageSize, parentItem: e.parentItem };
14973
14660
  this.dataProviderParams && (r = Fr(Fr({}, r), this.dataProviderParams()));
14974
14661
  const o = (n, a) => {
@@ -14997,8 +14684,7 @@ const rl = (i) => class extends i {
14997
14684
  }
14998
14685
  ready() {
14999
14686
  super.ready(), this._scroller.addEventListener("index-requested", (e) => {
15000
- if (!this._shouldFetchData())
15001
- return;
14687
+ if (!this._shouldFetchData()) return;
15002
14688
  const t = e.detail.index;
15003
14689
  t !== void 0 && this.__dataProviderController.ensureFlatIndexLoaded(t);
15004
14690
  }), this.__dataProviderInitialized = !0, this.dataProvider && this.__synchronizeControllerState();
@@ -15043,8 +14729,7 @@ const rl = (i) => class extends i {
15043
14729
  }
15044
14730
  }
15045
14731
  _pageSizeChanged(e, t) {
15046
- if (Math.floor(e) !== e || e < 1)
15047
- throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
14732
+ if (Math.floor(e) !== e || e < 1) throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
15048
14733
  this.__dataProviderController.setPageSize(e), this.clearCache();
15049
14734
  }
15050
14735
  _dataProviderChanged(e, t) {
@@ -15053,8 +14738,7 @@ const rl = (i) => class extends i {
15053
14738
  }), this.__dataProviderController.setDataProvider(e), this.clearCache();
15054
14739
  }
15055
14740
  _ensureItemsOrDataProvider(e) {
15056
- if (this.items !== void 0 && this.dataProvider !== void 0)
15057
- throw e(), new Error("Using `items` and `dataProvider` together is not supported");
14741
+ if (this.items !== void 0 && this.dataProvider !== void 0) throw e(), new Error("Using `items` and `dataProvider` together is not supported");
15058
14742
  }
15059
14743
  _warnDataProviderValue(e, t) {
15060
14744
  if (e && t !== "" && (this.selectedItem === void 0 || this.selectedItem === null)) {
@@ -15151,11 +14835,10 @@ const il = (i) => class extends gr(ze(To(dt(lt(pr(Dt(i))))))) {
15151
14835
  }, r.requestContentUpdate(), this._scroller = t;
15152
14836
  }
15153
14837
  _updateScroller(e, t, r, o, n, a, s, l, d, c) {
15154
- if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: o, selectedItem: n, itemIdPath: a, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: c }), e.performUpdate && !e.hasUpdated))
15155
- try {
15156
- e.performUpdate();
15157
- } catch {
15158
- }
14838
+ if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: o, selectedItem: n, itemIdPath: a, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: c }), e.performUpdate && !e.hasUpdated)) try {
14839
+ e.performUpdate();
14840
+ } catch {
14841
+ }
15159
14842
  }
15160
14843
  _openedOrItemsChanged(e, t, r, o) {
15161
14844
  this._overlayOpened = e && (o || r || !!(t && t.length));
@@ -15171,14 +14854,12 @@ const il = (i) => class extends gr(ze(To(dt(lt(pr(Dt(i))))))) {
15171
14854
  }
15172
14855
  _updateActiveDescendant(e) {
15173
14856
  const t = this._nativeInput;
15174
- if (!t)
15175
- return;
14857
+ if (!t) return;
15176
14858
  const r = this._getItemElements().find((o) => o.index === e);
15177
14859
  r ? t.setAttribute("aria-activedescendant", r.id) : t.removeAttribute("aria-activedescendant");
15178
14860
  }
15179
14861
  _openedChanged(e, t) {
15180
- if (t === void 0)
15181
- return;
14862
+ if (t === void 0) return;
15182
14863
  e ? !this._isInputFocused() && !Ki && this.inputElement && this.inputElement.focus() : this._onClosed();
15183
14864
  const r = this._nativeInput;
15184
14865
  r && (r.setAttribute("aria-expanded", !!e), e ? r.setAttribute("aria-controls", this._scroller.id) : r.removeAttribute("aria-controls"));
@@ -15219,20 +14900,17 @@ const il = (i) => class extends gr(ze(To(dt(lt(pr(Dt(i))))))) {
15219
14900
  if (this.opened) {
15220
14901
  const e = this._dropdownItems;
15221
14902
  e && (this._focusedIndex = Math.min(e.length - 1, this._focusedIndex + 1), this._prefillFocusedItemLabel());
15222
- } else
15223
- this.open();
14903
+ } else this.open();
15224
14904
  }
15225
14905
  _onArrowUp() {
15226
14906
  if (this.opened) {
15227
- if (this._focusedIndex > -1)
15228
- this._focusedIndex = Math.max(0, this._focusedIndex - 1);
14907
+ if (this._focusedIndex > -1) this._focusedIndex = Math.max(0, this._focusedIndex - 1);
15229
14908
  else {
15230
14909
  const e = this._dropdownItems;
15231
14910
  e && (this._focusedIndex = e.length - 1);
15232
14911
  }
15233
14912
  this._prefillFocusedItemLabel();
15234
- } else
15235
- this.open();
14913
+ } else this.open();
15236
14914
  }
15237
14915
  _prefillFocusedItemLabel() {
15238
14916
  if (this._focusedIndex > -1) {
@@ -15293,8 +14971,7 @@ const il = (i) => class extends gr(ze(To(dt(lt(pr(Dt(i))))))) {
15293
14971
  if (this._focusedIndex > -1) {
15294
14972
  const e = this._dropdownItems[this._focusedIndex];
15295
14973
  this.selectedItem !== e && (this.selectedItem = e), this._inputElementValue = this._getItemLabel(this.selectedItem), this._focusedIndex = -1;
15296
- } else if (this._inputElementValue === "" || this._inputElementValue === void 0)
15297
- this.selectedItem = null, this.allowCustomValue && (this.value = "");
14974
+ } else if (this._inputElementValue === "" || this._inputElementValue === void 0) this.selectedItem = null, this.allowCustomValue && (this.value = "");
15298
14975
  else {
15299
14976
  const e = [this.selectedItem, ...this._dropdownItems || []], t = e[this.__getItemIndexByLabel(e, this._inputElementValue)];
15300
14977
  if (this.allowCustomValue && !t) {
@@ -15302,8 +14979,7 @@ const il = (i) => class extends gr(ze(To(dt(lt(pr(Dt(i))))))) {
15302
14979
  this._lastCustomValue = r;
15303
14980
  const o = new CustomEvent("custom-value-set", { detail: r, composed: !0, cancelable: !0, bubbles: !0 });
15304
14981
  this.dispatchEvent(o), o.defaultPrevented || (this.value = r);
15305
- } else
15306
- !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
14982
+ } else !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
15307
14983
  }
15308
14984
  this._detectAndDispatchChange(), this._clearSelectionRange(), this._clearFilter();
15309
14985
  }
@@ -15327,12 +15003,10 @@ const il = (i) => class extends gr(ze(To(dt(lt(pr(Dt(i))))))) {
15327
15003
  this.allowCustomValue && !this.selectedItem ? this._inputElementValue = this.value : this._inputElementValue = this._getItemLabel(this.selectedItem);
15328
15004
  }
15329
15005
  _selectedItemChanged(e) {
15330
- if (e == null)
15331
- this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
15006
+ if (e == null) this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
15332
15007
  else {
15333
15008
  const t = this._getItemValue(e);
15334
- if (this.value !== t && (this.value = t, this.value !== t))
15335
- return;
15009
+ if (this.value !== t && (this.value = t, this.value !== t)) return;
15336
15010
  this._toggleHasValue(!0), this._inputElementValue = this._getItemLabel(e);
15337
15011
  }
15338
15012
  }
@@ -15929,8 +15603,7 @@ class N_ extends rl(il(q(B))) {
15929
15603
  }
15930
15604
  _onEnter(e) {
15931
15605
  if (this.opened) {
15932
- if (e.preventDefault(), e.stopPropagation(), this.readonly)
15933
- this.close();
15606
+ if (e.preventDefault(), e.stopPropagation(), this.readonly) this.close();
15934
15607
  else if (this._hasValidInputValue()) {
15935
15608
  const t = this._dropdownItems[this._focusedIndex];
15936
15609
  this._commitValue(), this._focusedIndex = this._dropdownItems.indexOf(t);
@@ -16239,8 +15912,7 @@ class B_ extends ol(ai(q(Ee(B)))) {
16239
15912
  if (this._toggleHasValue(this._hasValue), this._hasValue) {
16240
15913
  const t = this._mergeItemLabels(e);
16241
15914
  this.__tmpA11yPlaceholder === void 0 && (this.__savedPlaceholder = this.placeholder), this.__tmpA11yPlaceholder = t, this.placeholder = t;
16242
- } else
16243
- this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
15915
+ } else this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
16244
15916
  this.__updateChips(), this.requestContentUpdate(), this.opened && this.$.comboBox.$.overlay._updateOverlayWidth();
16245
15917
  }
16246
15918
  _getItemLabel(e) {
@@ -16251,9 +15923,7 @@ class B_ extends ol(ai(q(Ee(B)))) {
16251
15923
  }
16252
15924
  _findIndex(e, t, r) {
16253
15925
  if (r && e) {
16254
- for (let o = 0; o < t.length; o++)
16255
- if (t[o] && t[o][r] === e[r])
16256
- return o;
15926
+ for (let o = 0; o < t.length; o++) if (t[o] && t[o][r] === e[r]) return o;
16257
15927
  return -1;
16258
15928
  }
16259
15929
  return t.indexOf(e);
@@ -16281,8 +15951,7 @@ class B_ extends ol(ai(q(Ee(B)))) {
16281
15951
  return;
16282
15952
  }
16283
15953
  t.splice(r, 1);
16284
- } else
16285
- t.push(e), n = !0;
15954
+ } else t.push(e), n = !0;
16286
15955
  this.__updateSelection(t), this.__clearInternalValue(), this.__announceItem(o, n, t.length);
16287
15956
  }
16288
15957
  __updateSelection(e) {
@@ -16306,8 +15975,7 @@ class B_ extends ol(ai(q(Ee(B)))) {
16306
15975
  return e.setAttribute("count", t), e.setAttribute("hidden", ""), e.style.visibility = "", o;
16307
15976
  }
16308
15977
  __updateChips() {
16309
- if (!this._inputField || !this.inputElement)
16310
- return;
15978
+ if (!this._inputField || !this.inputElement) return;
16311
15979
  this._chips.forEach((a) => {
16312
15980
  a.remove();
16313
15981
  });
@@ -16326,8 +15994,7 @@ class B_ extends ol(ai(q(Ee(B)))) {
16326
15994
  for (; a.length > 1; ) {
16327
15995
  a.pop().remove(), s.unshift(e.pop());
16328
15996
  const d = s.length > 0 ? r + this.__getOverflowWidth() : r;
16329
- if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d)
16330
- break;
15997
+ if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d) break;
16331
15998
  }
16332
15999
  a.length === 1 && (a[0].style.maxWidth = `${Math.max(n, o)}px`);
16333
16000
  }
@@ -16336,13 +16003,11 @@ class B_ extends ol(ai(q(Ee(B)))) {
16336
16003
  }
16337
16004
  for (let a = e.length - 1, s = null; a >= 0; a--) {
16338
16005
  const l = this.__createChip(e[a]);
16339
- if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > o)
16340
- if (s === null)
16341
- l.style.maxWidth = `${Math.max(n, o)}px`;
16342
- else {
16343
- l.remove();
16344
- break;
16345
- }
16006
+ if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > o) if (s === null) l.style.maxWidth = `${Math.max(n, o)}px`;
16007
+ else {
16008
+ l.remove();
16009
+ break;
16010
+ }
16346
16011
  e.pop(), s = l;
16347
16012
  }
16348
16013
  this._overflowItems = e;
@@ -16368,41 +16033,37 @@ class B_ extends ol(ai(q(Ee(B)))) {
16368
16033
  _onKeyDown(e) {
16369
16034
  super._onKeyDown(e);
16370
16035
  const t = this._chips;
16371
- if (!this.readonly && t.length > 0)
16372
- switch (e.key) {
16373
- case "Backspace":
16374
- this._onBackSpace(t);
16375
- break;
16376
- case "ArrowLeft":
16377
- this._onArrowLeft(t, e);
16378
- break;
16379
- case "ArrowRight":
16380
- this._onArrowRight(t, e);
16381
- break;
16382
- default:
16383
- this._focusedChipIndex = -1;
16384
- break;
16385
- }
16036
+ if (!this.readonly && t.length > 0) switch (e.key) {
16037
+ case "Backspace":
16038
+ this._onBackSpace(t);
16039
+ break;
16040
+ case "ArrowLeft":
16041
+ this._onArrowLeft(t, e);
16042
+ break;
16043
+ case "ArrowRight":
16044
+ this._onArrowRight(t, e);
16045
+ break;
16046
+ default:
16047
+ this._focusedChipIndex = -1;
16048
+ break;
16049
+ }
16386
16050
  }
16387
16051
  _onArrowLeft(e, t) {
16388
- if (this.inputElement.selectionStart !== 0)
16389
- return;
16052
+ if (this.inputElement.selectionStart !== 0) return;
16390
16053
  const r = this._focusedChipIndex;
16391
16054
  r !== -1 && t.preventDefault();
16392
16055
  let o;
16393
16056
  this.__isRTL ? r === e.length - 1 ? o = -1 : r > -1 && (o = r + 1) : r === -1 ? o = e.length - 1 : r > 0 && (o = r - 1), o !== void 0 && (this._focusedChipIndex = o);
16394
16057
  }
16395
16058
  _onArrowRight(e, t) {
16396
- if (this.inputElement.selectionStart !== 0)
16397
- return;
16059
+ if (this.inputElement.selectionStart !== 0) return;
16398
16060
  const r = this._focusedChipIndex;
16399
16061
  r !== -1 && t.preventDefault();
16400
16062
  let o;
16401
16063
  this.__isRTL ? r === -1 ? o = e.length - 1 : r > 0 && (o = r - 1) : r === e.length - 1 ? o = -1 : r > -1 && (o = r + 1), o !== void 0 && (this._focusedChipIndex = o);
16402
16064
  }
16403
16065
  _onBackSpace(e) {
16404
- if (this.inputElement.selectionStart !== 0)
16405
- return;
16066
+ if (this.inputElement.selectionStart !== 0) return;
16406
16067
  const t = this._focusedChipIndex;
16407
16068
  t === -1 ? this._focusedChipIndex = e.length - 1 : (this.__removeItem(e[t].item), this._focusedChipIndex = -1);
16408
16069
  }
@@ -16837,8 +16498,7 @@ class Re extends gr(Jr(Ee(B))) {
16837
16498
  this.renderer && this.renderer(this._card, this);
16838
16499
  }
16839
16500
  _rendererChanged(e, t, r) {
16840
- if (!r)
16841
- return;
16501
+ if (!r) return;
16842
16502
  const o = this._oldRenderer !== e;
16843
16503
  this._oldRenderer = e, o && (r.innerHTML = "", delete r._$litPart$), t && (this._didAnimateNotificationAppend || this._animatedAppendNotificationCard(), this.requestContentUpdate());
16844
16504
  }
@@ -17120,8 +16780,7 @@ const W_ = (i) => class extends lt(i) {
17120
16780
  return Array.from(this.children);
17121
16781
  }
17122
16782
  _onKeyDown(e) {
17123
- if (super._onKeyDown(e), e.metaKey || e.ctrlKey)
17124
- return;
16783
+ if (super._onKeyDown(e), e.metaKey || e.ctrlKey) return;
17125
16784
  const { key: t } = e, r = this._getItems() || [], o = r.indexOf(this.focused);
17126
16785
  let n, a;
17127
16786
  const s = !this._vertical && this.getAttribute("dir") === "rtl" ? -1 : 1;
@@ -17146,8 +16805,7 @@ const W_ = (i) => class extends lt(i) {
17146
16805
  for (let s = 0; typeof a == "number" && s < n; s += 1, a += r || 1) {
17147
16806
  a < 0 ? a = n - 1 : a >= n && (a = 0);
17148
16807
  const l = e[a];
17149
- if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, o))
17150
- return a;
16808
+ if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, o)) return a;
17151
16809
  }
17152
16810
  return -1;
17153
16811
  }
@@ -17206,8 +16864,7 @@ const ll = (i) => class extends W_(i) {
17206
16864
  return e.filter((t) => t._hasVaadinItemMixin);
17207
16865
  }
17208
16866
  _onClick(e) {
17209
- if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented)
17210
- return;
16867
+ if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented) return;
17211
16868
  const t = this._filterItems(e.composedPath())[0];
17212
16869
  let r;
17213
16870
  t && !t.disabled && (r = this.items.indexOf(t)) >= 0 && (this.selected = r);
@@ -17223,8 +16880,7 @@ const ll = (i) => class extends W_(i) {
17223
16880
  return e.textContent.replace(/[^\p{L}\p{Nd}]/gu, "").toLowerCase().startsWith(this._searchBuf);
17224
16881
  }
17225
16882
  _onKeyDown(e) {
17226
- if (e.metaKey || e.ctrlKey)
17227
- return;
16883
+ if (e.metaKey || e.ctrlKey) return;
17228
16884
  const t = e.key, r = this.items.indexOf(this.focused);
17229
16885
  if (/[\p{L}\p{Nd}]/u.test(t) && t.length === 1) {
17230
16886
  const o = this._searchKey(r, t);
@@ -17250,15 +16906,13 @@ const ll = (i) => class extends W_(i) {
17250
16906
  }
17251
16907
  _scrollToItem(e) {
17252
16908
  const t = this.items[e];
17253
- if (!t)
17254
- return;
16909
+ if (!t) return;
17255
16910
  const r = this._vertical ? ["top", "bottom"] : this._isRTL ? ["right", "left"] : ["left", "right"], o = this._scrollerElement.getBoundingClientRect(), n = (this.items[e + 1] || t).getBoundingClientRect(), a = (this.items[e - 1] || t).getBoundingClientRect();
17256
16911
  let s = 0;
17257
16912
  !this._isRTL && n[r[1]] >= o[r[1]] || this._isRTL && n[r[1]] <= o[r[1]] ? s = n[r[1]] - o[r[1]] : (!this._isRTL && a[r[0]] <= o[r[0]] || this._isRTL && a[r[0]] >= o[r[0]]) && (s = a[r[0]] - o[r[0]]), this._scroll(s);
17258
16913
  }
17259
16914
  _scroll(e) {
17260
- if (this._vertical)
17261
- this._scrollerElement.scrollTop += e;
16915
+ if (this._vertical) this._scrollerElement.scrollTop += e;
17262
16916
  else {
17263
16917
  const t = this.getAttribute("dir") || "ltr", r = sl(this._scrollerElement, t) + e;
17264
16918
  $_(this._scrollerElement, t, r);
@@ -17535,8 +17189,7 @@ const Z_ = (i) => class extends gr(ri(Eo(lt(ii(i))))) {
17535
17189
  }
17536
17190
  _onKeyDown(e) {
17537
17191
  if (e.target === this.focusElement && !this.readonly && !this.disabled && !this.opened) {
17538
- if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key))
17539
- e.preventDefault(), this.opened = !0;
17192
+ if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key)) e.preventDefault(), this.opened = !0;
17540
17193
  else if (/[\p{L}\p{Nd}]/u.test(e.key) && e.key.length === 1) {
17541
17194
  const t = this._menuElement.selected, r = t !== void 0 ? t : -1, o = this._menuElement._searchKey(r, e.key);
17542
17195
  o >= 0 && (this.__dispatchChangePending = !0, this._updateAriaLive(!0), this._menuElement.selected = o);
@@ -17556,8 +17209,7 @@ const Z_ = (i) => class extends gr(ri(Eo(lt(ii(i))))) {
17556
17209
  this._updateAriaLive(!1), t.style.setProperty("--vaadin-select-text-field-width", `${r.offsetWidth}px`);
17557
17210
  const o = this.hasAttribute("focus-ring");
17558
17211
  this._openedWithFocusRing = o, o && this.removeAttribute("focus-ring");
17559
- } else
17560
- this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
17212
+ } else this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
17561
17213
  this.__oldOpened = e;
17562
17214
  }
17563
17215
  }
@@ -17595,12 +17247,10 @@ const Z_ = (i) => class extends gr(ri(Eo(lt(ii(i))))) {
17595
17247
  }
17596
17248
  __updateValueButton() {
17597
17249
  const e = this.focusElement;
17598
- if (!e)
17599
- return;
17250
+ if (!e) return;
17600
17251
  e.innerHTML = "";
17601
17252
  const t = this._items[this._menuElement.selected];
17602
- if (e.removeAttribute("placeholder"), this._hasContent(t))
17603
- this.__attachSelectedItem(t);
17253
+ if (e.removeAttribute("placeholder"), this._hasContent(t)) this.__attachSelectedItem(t);
17604
17254
  else if (this.placeholder) {
17605
17255
  const o = this.__createItemElement({ label: this.placeholder });
17606
17256
  this.__appendValueItemElement(o, e), e.setAttribute("placeholder", "");
@@ -17610,8 +17260,7 @@ const Z_ = (i) => class extends gr(ri(Eo(lt(ii(i))))) {
17610
17260
  Ct(e, "aria-labelledby", r), (this.accessibleName || this.accessibleNameRef) && this._setCustomAriaLabelledBy(this.accessibleNameRef || this._srLabelController.defaultId);
17611
17261
  }
17612
17262
  _hasContent(e) {
17613
- if (!e)
17614
- return !1;
17263
+ if (!e) return !1;
17615
17264
  const t = !!(e.hasAttribute("label") ? e.getAttribute("label") : e.textContent.trim()), r = e.childElementCount > 0;
17616
17265
  return t || r;
17617
17266
  }
@@ -18934,8 +18583,7 @@ const pf = (i) => class extends ol(ll(i)) {
18934
18583
  this.__direction * a < 1 && (a = this.__direction * (this._scrollOffset - n)), this._scroll(a);
18935
18584
  }
18936
18585
  _isItemVisible(e, t, r, o) {
18937
- if (this._vertical)
18938
- throw new Error("Visibility check is only supported for horizontal tabs.");
18586
+ if (this._vertical) throw new Error("Visibility check is only supported for horizontal tabs.");
18939
18587
  const n = this.__isRTL ? r : t, a = this.__isRTL ? t : r, s = o.right - n, l = o.left + a, d = e.getBoundingClientRect();
18940
18588
  return s > Math.floor(d.left) && l < Math.ceil(d.right);
18941
18589
  }