@everymatrix/player-account-controller 1.56.3 → 1.58.0

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 (165) hide show
  1. package/components/{GeneralLogout-D1bnYvKD.js → GeneralLogout-BplfowFH.js} +617 -639
  2. package/components/{GeneralLogout-oWKFw5-U.js → GeneralLogout-DuABjNp8.js} +718 -740
  3. package/components/GeneralLogout-aDlrOvb2.cjs +21 -0
  4. package/components/{PlayerAccountBettingHistory-cvLnLJaM.js → PlayerAccountBettingHistory-BxCRppml.js} +127 -126
  5. package/components/PlayerAccountBettingHistory-CIfM4HLW.js +328 -0
  6. package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +1 -0
  7. package/components/{PlayerAccountBiometrics-ClTvex4w.js → PlayerAccountBiometrics-BEFosUME.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-244_l2MD.js → PlayerAccountBiometrics-C8NBQKUw.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-D3SdfZAk.cjs → PlayerAccountBiometrics-DTFbvNhj.cjs} +1 -1
  10. package/components/{PlayerAccountClosure-Dk5N1AgF.cjs → PlayerAccountClosure-B2Gy9x3G.cjs} +1 -1
  11. package/components/{PlayerAccountClosure-9BJkNHZ1.js → PlayerAccountClosure-D9hNArXT.js} +32 -32
  12. package/components/{PlayerAccountClosure-CUDjmpCz.js → PlayerAccountClosure-bkzdtq3v.js} +32 -32
  13. package/components/{PlayerAccountController-BntyBm60.js → PlayerAccountController-BNJtCLty.js} +2131 -2084
  14. package/components/PlayerAccountController-DIHWRFo8.cjs +1 -0
  15. package/components/{PlayerAccountController-CG03zTka.js → PlayerAccountController-xYKqtqjD.js} +2131 -2084
  16. package/components/{PlayerAccountGamingLimits-FIGZjiiE.cjs → PlayerAccountGamingLimits-BrtFDG1O.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-C2OQmz0L.js → PlayerAccountGamingLimits-Dxz29F5p.js} +81 -81
  18. package/components/{PlayerAccountGamingLimits-CGZB2W3L.js → PlayerAccountGamingLimits-oNSvEvXz.js} +81 -81
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CMNuF6Yo.js → PlayerAccountGamingLimitsConfirmationModal-Bes0Svrr.js} +30 -30
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-apD3a9Bz.js → PlayerAccountGamingLimitsConfirmationModal-BhmpbfB9.js} +30 -30
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs → PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Cj28m25L.js → PlayerAccountGamingLimitsGroupEdit-BS6wWGFd.js} +54 -54
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DrfWEw7D.js → PlayerAccountGamingLimitsGroupEdit-D2lkSHNX.js} +54 -54
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs → PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs} +2 -2
  25. package/components/{PlayerAccountGamingLimitsHistory2-D90-0n9S.cjs → PlayerAccountGamingLimitsHistory2-DGVBzjIn.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsHistory2-CL7qYX9D.js → PlayerAccountGamingLimitsHistory2-DrrIUH-E.js} +48 -48
  27. package/components/{PlayerAccountGamingLimitsHistory2-CsMgI2vP.js → PlayerAccountGamingLimitsHistory2-_bX1iIJM.js} +46 -46
  28. package/components/{PlayerAccountGamingLimitsInfoCard-CFusXmG3.js → PlayerAccountGamingLimitsInfoCard-Cd2oTK9r.js} +83 -83
  29. package/components/{PlayerAccountGamingLimitsInfoCard-C-SGItlz.js → PlayerAccountGamingLimitsInfoCard-D73a50SO.js} +83 -83
  30. package/components/{PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs → PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-CyJWSRBk.js → PlayerAccountGamingLimitsPage2Gm16-BikeP6Os.js} +10 -10
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-CLR1_1DY.js → PlayerAccountGamingLimitsPage2Gm16-DV_B0I-1.js} +10 -10
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-B4t05PXp.cjs → PlayerAccountGamingLimitsPage2Gm16-DzG7Yyop.cjs} +2 -2
  34. package/components/{PlayerAccountGamingLimitsPopup-4sFhABTh.js → PlayerAccountGamingLimitsPopup-BhxPf2k2.js} +42 -42
  35. package/components/{PlayerAccountGamingLimitsPopup-Cut_OV-5.js → PlayerAccountGamingLimitsPopup-Bmo_d-SK.js} +42 -42
  36. package/components/{PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs → PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BRtiES07.js → PlayerAccountGamingLimitsWrapper2-CE96__tw.js} +20 -20
  38. package/components/{PlayerAccountGamingLimitsWrapper2-CdWycpn8.cjs → PlayerAccountGamingLimitsWrapper2-Cm_s6Fie.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2-3AmMR7IK.js → PlayerAccountGamingLimitsWrapper2-Dz66ld9y.js} +55 -55
  40. package/components/{PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs → PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-Cxl-LoG0.js → PlayerAccountGeneralConfirmationModal-DHO5sM_A.js} +34 -34
  42. package/components/{PlayerAccountGeneralConfirmationModal-L97vGeau.js → PlayerAccountGeneralConfirmationModal-xn068Ofp.js} +34 -34
  43. package/components/{PlayerAccountMenu-DUTsp-yv.js → PlayerAccountMenu-2fRKWX72.js} +32 -32
  44. package/components/{PlayerAccountMenu-BIdnddS_.cjs → PlayerAccountMenu-B2ipwiXm.cjs} +1 -1
  45. package/components/{PlayerAccountMenu-CBgydCnL.js → PlayerAccountMenu-BZMOA6FB.js} +29 -29
  46. package/components/{PlayerAccountModal-tginaXbZ.cjs → PlayerAccountModal-BC3FTDl6.cjs} +1 -1
  47. package/components/{PlayerAccountModal-7R2WRCgZ.js → PlayerAccountModal-BPfkAiOY.js} +42 -42
  48. package/components/{PlayerAccountModal-C7_3et-5.js → PlayerAccountModal-DYanNf6b.js} +42 -42
  49. package/components/{PlayerAccountNotifications-DcYU4F80.js → PlayerAccountNotifications-989NFh5T.js} +32 -32
  50. package/components/{PlayerAccountNotifications-BLsxWrq2.cjs → PlayerAccountNotifications-CcTMD34l.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-BQPI0SJW.js → PlayerAccountNotifications-DxM4yW0h.js} +31 -31
  52. package/components/{PlayerAccountSelfExclusion-DQemkHnw.js → PlayerAccountSelfExclusion-BrQUxdxS.js} +1896 -1785
  53. package/components/{PlayerAccountSelfExclusion-PIbK0zJN.cjs → PlayerAccountSelfExclusion-D4uJysE9.cjs} +160 -160
  54. package/components/{PlayerAccountSelfExclusion-EzdDd4JW.js → PlayerAccountSelfExclusion-tDcqpg8M.js} +1874 -1763
  55. package/components/{PlayerAccountTimeout-DC6dXEP7.js → PlayerAccountTimeout-1VU-R_sT.js} +58 -58
  56. package/components/{PlayerAccountTimeout-DqOYXUZt.cjs → PlayerAccountTimeout-BnBgpjeF.cjs} +1 -1
  57. package/components/{PlayerAccountTimeout-DGGqGhkZ.js → PlayerAccountTimeout-DAyJv6XI.js} +58 -58
  58. package/components/{PlayerActiveBonuses-BbsdliMe.js → PlayerActiveBonuses-BFVeH6mh.js} +74 -74
  59. package/components/{PlayerActiveBonuses-DTojdXrg.cjs → PlayerActiveBonuses-C2r4IPEL.cjs} +1 -1
  60. package/components/{PlayerActiveBonuses-CS8nC9ys.js → PlayerActiveBonuses-zUVH_ST1.js} +73 -73
  61. package/components/{PlayerBonusCard-9sQnuijs.js → PlayerBonusCard-B-cs4cqg.js} +80 -80
  62. package/components/{PlayerBonusCard-QZKUlUnC.js → PlayerBonusCard-BX-b3HKZ.js} +80 -80
  63. package/components/{PlayerBonusCard-ihCApHIs.cjs → PlayerBonusCard-BrvsM8No.cjs} +1 -1
  64. package/components/{PlayerBonusHistory-DMC3iv-M.cjs → PlayerBonusHistory-B_a21BCE.cjs} +1 -1
  65. package/components/{PlayerBonusHistory-BXX10tEI.js → PlayerBonusHistory-Bg0Kax3B.js} +33 -33
  66. package/components/{PlayerBonusHistory-CbptkPyg.js → PlayerBonusHistory-CuOv2Hc4.js} +33 -33
  67. package/components/{PlayerChangePassword-DRF3YUcY.js → PlayerChangePassword-BXTWOpKM.js} +71 -71
  68. package/components/{PlayerChangePassword-DIVU7Hm-.js → PlayerChangePassword-CYvwu077.js} +71 -71
  69. package/components/{PlayerChangePassword-DZ0zUct-.cjs → PlayerChangePassword-CbBHjN4s.cjs} +1 -1
  70. package/components/{PlayerDeposit-Bu1poUUC.js → PlayerDeposit-BxvpoON-.js} +75 -75
  71. package/components/{PlayerDeposit-CC1ZNh0V.js → PlayerDeposit-VF5d6vUd.js} +75 -75
  72. package/components/PlayerDeposit-mr7WW9bf.cjs +1 -0
  73. package/components/{PlayerGamingHistory-CITsPSbY.cjs → PlayerGamingHistory-CorLWCJo.cjs} +1 -1
  74. package/components/{PlayerGamingHistory-CIZ2Ous8.js → PlayerGamingHistory-D3Ks9sA3.js} +84 -84
  75. package/components/{PlayerGamingHistory-LEBGykAk.js → PlayerGamingHistory-D_p5zZIW.js} +74 -74
  76. package/components/{PlayerPendingWithdrawals-CaouMSqA.js → PlayerPendingWithdrawals-CePMH1Ym.js} +26 -26
  77. package/components/{PlayerPendingWithdrawals-UG-bN1ca.cjs → PlayerPendingWithdrawals-D3hbZ7iV.cjs} +1 -1
  78. package/components/{PlayerPendingWithdrawals-BAYRu_8K.js → PlayerPendingWithdrawals-DnRLD9Qj.js} +26 -26
  79. package/components/{PlayerProfileInfo-D3NxPM1Z.js → PlayerProfileInfo-BM9bYXPT.js} +56 -56
  80. package/components/{PlayerProfileInfo-DLth9JMy.cjs → PlayerProfileInfo-BST7W89r.cjs} +1 -1
  81. package/components/{PlayerProfileInfo-BLPDFygv.js → PlayerProfileInfo-CGh-HMYc.js} +56 -56
  82. package/components/{PlayerRealityCheck-BmVSMTSf.cjs → PlayerRealityCheck-DTbqf0Qh.cjs} +1 -1
  83. package/components/{PlayerRealityCheck-DL5sLluu.js → PlayerRealityCheck-Dkm-7UeP.js} +33 -33
  84. package/components/{PlayerRealityCheck-CI5fiJv3.js → PlayerRealityCheck-hu40INih.js} +33 -33
  85. package/components/{PlayerTransactionHistory-BGPDkKNI.js → PlayerTransactionHistory-CmHZLNzi.js} +24 -24
  86. package/components/{PlayerTransactionHistory-U2CncC4r.cjs → PlayerTransactionHistory-Cp--JykS.cjs} +1 -1
  87. package/components/{PlayerTransactionHistory-x-p-YOv6.js → PlayerTransactionHistory-Dob8ZHvF.js} +24 -24
  88. package/components/{PlayerWithdrawal-CsPPu5bX.cjs → PlayerWithdrawal-BocnE727.cjs} +1 -1
  89. package/components/{PlayerWithdrawal-BknOF8Sy.js → PlayerWithdrawal-DMasfo5k.js} +19 -19
  90. package/components/{PlayerWithdrawal-Cx3cOp7C.js → PlayerWithdrawal-fB3IW1Dc.js} +19 -19
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/{checkbox-group-input_9-DvXvp-ML.js → checkbox-group-input_9-CqcXPZJ0.js} +51 -53
  96. package/stencil/{checkbox-group-input_9-DMrH9pTx.cjs → checkbox-group-input_9-DANSLcK-.cjs} +5 -5
  97. package/stencil/{checkbox-group-input_9-DtZ9kvK4.js → checkbox-group-input_9-DXMHOEY8.js} +51 -53
  98. package/stencil/{general-input-CFqrfrup.cjs → general-input-BLCmjX1h.cjs} +1 -1
  99. package/stencil/{general-input-rL_ftR3H.js → general-input-D_F2H5H6.js} +1 -1
  100. package/stencil/{general-input-eCxMClmW.js → general-input-NbNPa13j.js} +1 -1
  101. package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +1 -0
  102. package/stencil/index-1ef3a64c-gNJv-qax.js +572 -0
  103. package/stencil/index-1ef3a64c-jZYsp9Sk.js +556 -0
  104. package/stencil/index-7c5e707a-40SRy2Ab.js +616 -0
  105. package/stencil/index-7c5e707a-B9tD4t-g.js +643 -0
  106. package/stencil/index-7c5e707a-DosLPDO6.cjs +1 -0
  107. package/stencil/index-9c0f6c58-CiH_jMvd.cjs +1 -0
  108. package/stencil/{index-9c0f6c58-CqoLeK5G.js → index-9c0f6c58-DRP3WpwA.js} +197 -197
  109. package/stencil/index-9c0f6c58-jtioo3_h.js +576 -0
  110. package/stencil/index-9cd44522-BJt0R9D_.js +626 -0
  111. package/stencil/index-9cd44522-BpYe-JBv.js +610 -0
  112. package/stencil/index-9cd44522-CwRJuI6e.cjs +1 -0
  113. package/stencil/index-ae04a8b1-BIDvdZJs.js +532 -0
  114. package/stencil/index-ae04a8b1-BUa25EUq.cjs +1 -0
  115. package/stencil/index-ae04a8b1-BYWsXc_G.js +516 -0
  116. package/stencil/{password-input_2-D-YA_Jkx.js → password-input_2-0hOjS2sN.js} +19 -19
  117. package/stencil/{password-input_2-9_yxZI2g.js → password-input_2-HTsUCs2i.js} +19 -19
  118. package/stencil/{password-input_2-BabcxKun.cjs → password-input_2-KTNAQj0b.cjs} +2 -2
  119. package/stencil/{player-change-password-gm2-039e300e-DiYWgS70.cjs → player-change-password-gm2-039e300e-B4U6Fazr.cjs} +1 -1
  120. package/stencil/{player-change-password-gm2-039e300e-CcWiaT26.js → player-change-password-gm2-039e300e-BsYcxLy5.js} +1 -1
  121. package/stencil/{player-change-password-gm2-039e300e-Zp9TDX77.js → player-change-password-gm2-039e300e-CUWLO8u9.js} +1 -1
  122. package/stencil/{player-change-password-gm2-BaYafift.js → player-change-password-gm2-CDeGxjva.js} +1 -1
  123. package/stencil/{player-change-password-gm2-BWjI2Hs0.js → player-change-password-gm2-CGArqQMr.js} +1 -1
  124. package/stencil/{player-change-password-gm2-DsT1aXcX.cjs → player-change-password-gm2-Cvr0geeu.cjs} +1 -1
  125. package/stencil/{player-kyc-verification-B8arDCja.js → player-kyc-verification-CK7jvih_.js} +1 -1
  126. package/stencil/{player-kyc-verification-GFBDUbhm.cjs → player-kyc-verification-CWBei0Yk.cjs} +1 -1
  127. package/stencil/{player-kyc-verification-Di40xn9z.js → player-kyc-verification-ClECAHs-.js} +1 -1
  128. package/stencil/{toggle-checkbox-input-BxUGWw2X.js → toggle-checkbox-input-Cd32qIC3.js} +2 -2
  129. package/stencil/{toggle-checkbox-input-PSoH9KF2.js → toggle-checkbox-input-CmSZ6vQK.js} +2 -2
  130. package/stencil/toggle-checkbox-input-DS9RE6Pw.cjs +1 -0
  131. package/stencil/{ui-skeleton-DT0OMDC6.js → ui-skeleton-CWQGWUte.js} +2 -2
  132. package/stencil/{ui-skeleton-T4HYbNcC.js → ui-skeleton-DGSaG5JU.js} +2 -2
  133. package/stencil/{ui-skeleton-a642cced-Ba-weZ4g.js → ui-skeleton-a642cced-21I14Ylk.js} +1 -1
  134. package/stencil/{ui-skeleton-a642cced-B8H73O_q.cjs → ui-skeleton-a642cced-BXc76uPc.cjs} +1 -1
  135. package/stencil/{ui-skeleton-a642cced-DhjmNsN7.js → ui-skeleton-a642cced-C5tlYQb-.js} +1 -1
  136. package/stencil/{ui-skeleton-BC4mw1ae.cjs → ui-skeleton-r-lLy7GD.cjs} +1 -1
  137. package/stencil/{user-deposit-withdrawal-DRe5oBqv.js → user-deposit-withdrawal-BISsu0Z-.js} +1 -1
  138. package/stencil/{user-deposit-withdrawal-Dj3Po03r.js → user-deposit-withdrawal-BmOGfPLJ.js} +1 -1
  139. package/stencil/{user-deposit-withdrawal-BQKFgZ31.cjs → user-deposit-withdrawal-C8N7GB9E.cjs} +1 -1
  140. package/stencil/{user-transaction-history-Dca7qx08.js → user-transaction-history-BO92Qvk4.js} +1 -1
  141. package/stencil/{user-transaction-history-6-z3byrF.js → user-transaction-history-Bg6onQ-I.js} +1 -1
  142. package/stencil/{user-transaction-history-DrhquxkJ.cjs → user-transaction-history-COJbthDt.cjs} +1 -1
  143. package/stencil/{vaadin-button-mixin-e8c3f355-BdntioNA.cjs → vaadin-button-mixin-5fa6ca77-BEoWt381.cjs} +94 -102
  144. package/stencil/{vaadin-button-mixin-e8c3f355-DON-rAuy.js → vaadin-button-mixin-5fa6ca77-DNBadodK.js} +569 -584
  145. package/stencil/{vaadin-button-mixin-e8c3f355-DQ5UgwNf.js → vaadin-button-mixin-5fa6ca77-SQip1zuF.js} +586 -601
  146. package/components/GeneralLogout-DKq7aXpj.cjs +0 -21
  147. package/components/PlayerAccountBettingHistory-B5a8vPwA.js +0 -329
  148. package/components/PlayerAccountBettingHistory-Ba0rbzAt.cjs +0 -1
  149. package/components/PlayerAccountController-CzBriEqi.cjs +0 -1
  150. package/components/PlayerDeposit-2rXfB2O5.cjs +0 -1
  151. package/stencil/index-1ef3a64c-BnB-ATuA.js +0 -556
  152. package/stencil/index-1ef3a64c-BvKbNMH8.cjs +0 -1
  153. package/stencil/index-1ef3a64c-Nsr9PDe6.js +0 -572
  154. package/stencil/index-7c5e707a-CTC8RpEi.js +0 -643
  155. package/stencil/index-7c5e707a-CWE0q0mP.js +0 -616
  156. package/stencil/index-7c5e707a-D1Fv8nel.cjs +0 -1
  157. package/stencil/index-9c0f6c58-C1yzTenw.js +0 -576
  158. package/stencil/index-9c0f6c58-DEsDY2nb.cjs +0 -1
  159. package/stencil/index-9cd44522-BqLgI-Ho.js +0 -626
  160. package/stencil/index-9cd44522-Cygpa4pV.js +0 -610
  161. package/stencil/index-9cd44522-DwMekoGN.cjs +0 -1
  162. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +0 -1
  163. package/stencil/index-ae04a8b1-fpBaOn88.js +0 -516
  164. package/stencil/index-ae04a8b1-ixlRj3zC.js +0 -532
  165. package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +0 -1
@@ -1,48 +1,48 @@
1
- "use strict";var Hr=Object.defineProperty,Vr=Object.defineProperties;var jr=Object.getOwnPropertyDescriptors;var ze=Object.getOwnPropertySymbols;var qr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable;var Le=(i,t,e)=>t in i?Hr(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,Mt=(i,t)=>{for(var e in t||(t={}))qr.call(t,e)&&Le(i,e,t[e]);if(ze)for(var e of ze(t))Yr.call(t,e)&&Le(i,e,t[e]);return i},It=(i,t)=>Vr(i,jr(t));var $e=(i,t,e)=>new Promise((o,r)=>{var s=l=>{try{a(e.next(l))}catch(d){r(d)}},n=l=>{try{a(e.throw(l))}catch(d){r(d)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(s,n);a((e=e.apply(i,t)).next())});/**
1
+ "use strict";var Ur=Object.defineProperty,Hr=Object.defineProperties;var Vr=Object.getOwnPropertyDescriptors;var De=Object.getOwnPropertySymbols;var jr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var ze=(i,t,e)=>t in i?Ur(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,Mt=(i,t)=>{for(var e in t||(t={}))jr.call(t,e)&&ze(i,e,t[e]);if(De)for(var e of De(t))qr.call(t,e)&&ze(i,e,t[e]);return i},It=(i,t)=>Hr(i,Vr(t));var Le=(i,t,e)=>new Promise((o,r)=>{var s=l=>{try{a(e.next(l))}catch(d){r(d)}},n=l=>{try{a(e.throw(l))}catch(d){r(d)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(s,n);a((e=e.apply(i,t)).next())});/**
2
2
  * @license
3
3
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */function le(i,t="24.5.10"){Object.defineProperty(i,"version",{get(){return t}});const e=customElements.get(i.is);if(!e)customElements.define(i.is,i);else{const o=e.version;o&&i.version&&o===i.version?console.warn(`The component ${i.is} has been loaded twice`):console.error(`Tried to define ${i.is} version ${i.version} when version ${e.version} is already in use. Something will probably break.`)}}/**
5
+ */function le(i,t="24.5.11"){Object.defineProperty(i,"version",{get(){return t}});const e=customElements.get(i.is);if(!e)customElements.define(i.is,i);else{const o=e.version;o&&i.version&&o===i.version?console.warn(`The component ${i.is} has been loaded twice`):console.error(`Tried to define ${i.is} version ${i.version} when version ${e.version} is already in use. Something will probably break.`)}}/**
6
6
  * @license
7
7
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
8
8
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9
- */class Wr extends HTMLElement{static get is(){return"vaadin-lumo-styles"}}le(Wr);/**
9
+ */class Yr extends HTMLElement{static get is(){return"vaadin-lumo-styles"}}le(Yr);/**
10
10
  * @license
11
11
  * Copyright 2019 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const gt=globalThis,de=gt.ShadowRoot&&(gt.ShadyCSS===void 0||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ce=Symbol(),Re=new WeakMap;class ue{constructor(t,e,o){if(this._$cssResult$=!0,o!==ce)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(de&&t===void 0){const o=e!==void 0&&e.length===1;o&&(t=Re.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Re.set(e,t))}return t}toString(){return this.cssText}}const Gr=i=>new ue(typeof i=="string"?i:i+"",void 0,ce),_=(i,...t)=>{const e=i.length===1?i[0]:t.reduce((o,r,s)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[s+1],i[0]);return new ue(e,i,ce)},Ci=(i,t)=>{if(de)i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const o=document.createElement("style"),r=gt.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=e.cssText,i.appendChild(o)}},Fe=de?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Gr(e)})(i):i;/**
13
+ */const gt=globalThis,de=gt.ShadowRoot&&(gt.ShadyCSS===void 0||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ce=Symbol(),$e=new WeakMap;class ue{constructor(t,e,o){if(this._$cssResult$=!0,o!==ce)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(de&&t===void 0){const o=e!==void 0&&e.length===1;o&&(t=$e.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&$e.set(e,t))}return t}toString(){return this.cssText}}const Wr=i=>new ue(typeof i=="string"?i:i+"",void 0,ce),_=(i,...t)=>{const e=i.length===1?i[0]:t.reduce((o,r,s)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[s+1],i[0]);return new ue(e,i,ce)},wi=(i,t)=>{if(de)i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const o=document.createElement("style"),r=gt.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=e.cssText,i.appendChild(o)}},Re=de?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Wr(e)})(i):i;/**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */const{is:Kr,defineProperty:Jr,getOwnPropertyDescriptor:Xr,getOwnPropertyNames:Zr,getOwnPropertySymbols:Qr,getPrototypeOf:to}=Object,k=globalThis,Be=k.trustedTypes,eo=Be?Be.emptyScript:"",Dt=k.reactiveElementPolyfillSupport,et=(i,t)=>i,Wt={toAttribute(i,t){switch(t){case Boolean:i=i?eo:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch(o){e=null}}return e}},Ei=(i,t)=>!Kr(i,t),Ue={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Ei};var bi,vi;(bi=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(vi=k.litPropertyMetadata)!=null||(k.litPropertyMetadata=new WeakMap);class U extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ue){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);r!==void 0&&Jr(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){var n;const{get:r,set:s}=(n=Xr(this.prototype,t))!=null?n:{get(){return this[e]},set(a){this[e]=a}};return{get(){return r==null?void 0:r.call(this)},set(a){const l=r==null?void 0:r.call(this);s.call(this,a),this.requestUpdate(t,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Ue}static _$Ei(){if(this.hasOwnProperty(et("elementProperties")))return;const t=to(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(et("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(et("properties"))){const e=this.properties,o=[...Zr(e),...Qr(e)];for(const r of o)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[o,r]of e)this.elementProperties.set(o,r)}this._$Eh=new Map;for(const[e,o]of this.elementProperties){const r=this._$Eu(e,o);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const r of o)e.unshift(Fe(r))}else t!==void 0&&e.push(Fe(t));return e}static _$Eu(t,e){const o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,o;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((o=t.hostConnected)==null||o.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;const t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Ci(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(o=>{var r;return(r=o.hostConnected)==null?void 0:r.call(o)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var o;return(o=e.hostDisconnected)==null?void 0:o.call(e)})}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EC(t,e){var s;const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){const n=(((s=o.converter)==null?void 0:s.toAttribute)!==void 0?o.converter:Wt).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){var s;const o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){const n=o.getPropertyOptions(r),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:Wt;this._$Em=r,this[r]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,o){var r;if(t!==void 0){if(o!=null||(o=this.constructor.getPropertyOptions(t)),!((r=o.hasChanged)!=null?r:Ei)(this[t],e))return;this.P(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,o){var r;this._$AL.has(t)||this._$AL.set(t,e),o.reflect===!0&&this._$Em!==t&&((r=this._$Ej)!=null?r:this._$Ej=new Set).add(t)}_$ET(){return $e(this,null,function*(){this.isUpdatePending=!0;try{yield this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&(yield t),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var o,r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[n,a]of s)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],a)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(r=this._$EO)==null||r.forEach(s=>{var n;return(n=s.hostUpdate)==null?void 0:n.call(s)}),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(o=>{var r;return(r=o.hostUpdated)==null?void 0:r.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}var yi;U.elementStyles=[],U.shadowRootOptions={mode:"open"},U[et("elementProperties")]=new Map,U[et("finalized")]=new Map,Dt==null||Dt({ReactiveElement:U}),((yi=k.reactiveElementVersions)!=null?yi:k.reactiveElementVersions=[]).push("2.0.4");/**
17
+ */const{is:Gr,defineProperty:Kr,getOwnPropertyDescriptor:Jr,getOwnPropertyNames:Xr,getOwnPropertySymbols:Zr,getPrototypeOf:Qr}=Object,k=globalThis,Fe=k.trustedTypes,to=Fe?Fe.emptyScript:"",Dt=k.reactiveElementPolyfillSupport,et=(i,t)=>i,Wt={toAttribute(i,t){switch(t){case Boolean:i=i?to:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch(o){e=null}}return e}},Ci=(i,t)=>!Gr(i,t),Be={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Ci};var gi,bi;(gi=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(bi=k.litPropertyMetadata)!=null||(k.litPropertyMetadata=new WeakMap);class U extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Be){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);r!==void 0&&Kr(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){var n;const{get:r,set:s}=(n=Jr(this.prototype,t))!=null?n:{get(){return this[e]},set(a){this[e]=a}};return{get(){return r==null?void 0:r.call(this)},set(a){const l=r==null?void 0:r.call(this);s.call(this,a),this.requestUpdate(t,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Be}static _$Ei(){if(this.hasOwnProperty(et("elementProperties")))return;const t=Qr(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(et("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(et("properties"))){const e=this.properties,o=[...Xr(e),...Zr(e)];for(const r of o)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[o,r]of e)this.elementProperties.set(o,r)}this._$Eh=new Map;for(const[e,o]of this.elementProperties){const r=this._$Eu(e,o);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const r of o)e.unshift(Re(r))}else t!==void 0&&e.push(Re(t));return e}static _$Eu(t,e){const o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,o;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((o=t.hostConnected)==null||o.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;const t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return wi(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(o=>{var r;return(r=o.hostConnected)==null?void 0:r.call(o)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var o;return(o=e.hostDisconnected)==null?void 0:o.call(e)})}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EC(t,e){var s;const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){const n=(((s=o.converter)==null?void 0:s.toAttribute)!==void 0?o.converter:Wt).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){var s;const o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){const n=o.getPropertyOptions(r),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:Wt;this._$Em=r,this[r]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,o){var r;if(t!==void 0){if(o!=null||(o=this.constructor.getPropertyOptions(t)),!((r=o.hasChanged)!=null?r:Ci)(this[t],e))return;this.P(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,o){var r;this._$AL.has(t)||this._$AL.set(t,e),o.reflect===!0&&this._$Em!==t&&((r=this._$Ej)!=null?r:this._$Ej=new Set).add(t)}_$ET(){return Le(this,null,function*(){this.isUpdatePending=!0;try{yield this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&(yield t),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var o,r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[n,a]of s)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],a)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(r=this._$EO)==null||r.forEach(s=>{var n;return(n=s.hostUpdate)==null?void 0:n.call(s)}),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(o=>{var r;return(r=o.hostUpdated)==null?void 0:r.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}var vi;U.elementStyles=[],U.shadowRootOptions={mode:"open"},U[et("elementProperties")]=new Map,U[et("finalized")]=new Map,Dt==null||Dt({ReactiveElement:U}),((vi=k.reactiveElementVersions)!=null?vi:k.reactiveElementVersions=[]).push("2.0.4");/**
18
18
  * @license
19
19
  * Copyright 2017 Google LLC
20
20
  * SPDX-License-Identifier: BSD-3-Clause
21
- */const it=globalThis,vt=it.trustedTypes,He=vt?vt.createPolicy("lit-html",{createHTML:i=>i}):void 0,Pi="$lit$",N=`lit$${Math.random().toFixed(9).slice(2)}$`,Ti="?"+N,io=`<${Ti}>`,$=document,ot=()=>$.createComment(""),st=i=>i===null||typeof i!="object"&&typeof i!="function",he=Array.isArray,ro=i=>he(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",zt=`[
22
- \f\r]`,K=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ve=/-->/g,je=/>/g,I=RegExp(`>|${zt}(?:([^\\s"'>=/]+)(${zt}*=${zt}*(?:[^
23
- \f\r"'\`<>=]|("|')|))|$)`,"g"),qe=/'/g,Ye=/"/g,Si=/^(?:script|style|textarea|title)$/i,Y=Symbol.for("lit-noChange"),g=Symbol.for("lit-nothing"),We=new WeakMap,D=$.createTreeWalker($,129);function Ni(i,t){if(!he(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return He!==void 0?He.createHTML(t):t}const oo=(i,t)=>{const e=i.length-1,o=[];let r,s=t===2?"<svg>":t===3?"<math>":"",n=K;for(let a=0;a<e;a++){const l=i[a];let d,c,u=-1,h=0;for(;h<l.length&&(n.lastIndex=h,c=n.exec(l),c!==null);)h=n.lastIndex,n===K?c[1]==="!--"?n=Ve:c[1]!==void 0?n=je:c[2]!==void 0?(Si.test(c[2])&&(r=RegExp("</"+c[2],"g")),n=I):c[3]!==void 0&&(n=I):n===I?c[0]===">"?(n=r!=null?r:K,u=-1):c[1]===void 0?u=-2:(u=n.lastIndex-c[2].length,d=c[1],n=c[3]===void 0?I:c[3]==='"'?Ye:qe):n===Ye||n===qe?n=I:n===Ve||n===je?n=K:(n=I,r=void 0);const p=n===I&&i[a+1].startsWith("/>")?" ":"";s+=n===K?l+io:u>=0?(o.push(d),l.slice(0,u)+Pi+l.slice(u)+N+p):l+N+(u===-2?a:p)}return[Ni(i,s+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]};class nt{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let s=0,n=0;const a=t.length-1,l=this.parts,[d,c]=oo(t,e);if(this.el=nt.createElement(d,o),D.currentNode=this.el.content,e===2||e===3){const u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(r=D.nextNode())!==null&&l.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const u of r.getAttributeNames())if(u.endsWith(Pi)){const h=c[n++],p=r.getAttribute(u).split(N),m=/([.?@])?(.*)/.exec(h);l.push({type:1,index:s,name:m[2],strings:p,ctor:m[1]==="."?no:m[1]==="?"?ao:m[1]==="@"?lo:Et}),r.removeAttribute(u)}else u.startsWith(N)&&(l.push({type:6,index:s}),r.removeAttribute(u));if(Si.test(r.tagName)){const u=r.textContent.split(N),h=u.length-1;if(h>0){r.textContent=vt?vt.emptyScript:"";for(let p=0;p<h;p++)r.append(u[p],ot()),D.nextNode(),l.push({type:2,index:++s});r.append(u[h],ot())}}}else if(r.nodeType===8)if(r.data===Ti)l.push({type:2,index:s});else{let u=-1;for(;(u=r.data.indexOf(N,u+1))!==-1;)l.push({type:7,index:s}),u+=N.length-1}s++}}static createElement(t,e){const o=$.createElement("template");return o.innerHTML=t,o}}function W(i,t,e=i,o){var n,a,l;if(t===Y)return t;let r=o!==void 0?(n=e._$Co)==null?void 0:n[o]:e._$Cl;const s=st(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==s&&((a=r==null?void 0:r._$AO)==null||a.call(r,!1),s===void 0?r=void 0:(r=new s(i),r._$AT(i,e,o)),o!==void 0?((l=e._$Co)!=null?l:e._$Co=[])[o]=r:e._$Cl=r),r!==void 0&&(t=W(i,r._$AS(i,t.values),r,o)),t}class so{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var d;const{el:{content:e},parts:o}=this._$AD,r=((d=t==null?void 0:t.creationScope)!=null?d:$).importNode(e,!0);D.currentNode=r;let s=D.nextNode(),n=0,a=0,l=o[0];for(;l!==void 0;){if(n===l.index){let c;l.type===2?c=new pt(s,s.nextSibling,this,t):l.type===1?c=new l.ctor(s,l.name,l.strings,this,t):l.type===6&&(c=new co(s,this,t)),this._$AV.push(c),l=o[++a]}n!==(l==null?void 0:l.index)&&(s=D.nextNode(),n++)}return D.currentNode=$,r}p(t){let e=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class pt{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,o,r){var s;this.type=2,this._$AH=g,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=(s=r==null?void 0:r.isConnected)!=null?s:!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=W(this,t,e),st(t)?t===g||t==null||t===""?(this._$AH!==g&&this._$AR(),this._$AH=g):t!==this._$AH&&t!==Y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ro(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==g&&st(this._$AH)?this._$AA.nextSibling.data=t:this.T($.createTextNode(t)),this._$AH=t}$(t){var s;const{values:e,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=nt.createElement(Ni(o.h,o.h[0]),this.options)),o);if(((s=this._$AH)==null?void 0:s._$AD)===r)this._$AH.p(e);else{const n=new so(r,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=We.get(t.strings);return e===void 0&&We.set(t.strings,e=new nt(t)),e}k(t){he(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,r=0;for(const s of t)r===e.length?e.push(o=new pt(this.O(ot()),this.O(ot()),this,this.options)):o=e[r],o._$AI(s),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var o;for((o=this._$AP)==null?void 0:o.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class Et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,s){this.type=1,this._$AH=g,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=g}_$AI(t,e=this,o,r){const s=this.strings;let n=!1;if(s===void 0)t=W(this,t,e,0),n=!st(t)||t!==this._$AH&&t!==Y,n&&(this._$AH=t);else{const a=t;let l,d;for(t=s[0],l=0;l<s.length-1;l++)d=W(this,a[o+l],e,l),d===Y&&(d=this._$AH[l]),n||(n=!st(d)||d!==this._$AH[l]),d===g?t=g:t!==g&&(t+=(d!=null?d:"")+s[l+1]),this._$AH[l]=d}n&&!r&&this.j(t)}j(t){t===g?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class no extends Et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===g?void 0:t}}class ao extends Et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==g)}}class lo extends Et{constructor(t,e,o,r,s){super(t,e,o,r,s),this.type=5}_$AI(t,e=this){var n;if((t=(n=W(this,t,e,0))!=null?n:g)===Y)return;const o=this._$AH,r=t===g&&o!==g||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==g&&(o===g||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;typeof this._$AH=="function"?this._$AH.call((o=(e=this.options)==null?void 0:e.host)!=null?o:this.element,t):this._$AH.handleEvent(t)}}class co{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}}const Lt=it.litHtmlPolyfillSupport;var xi;Lt==null||Lt(nt,pt),((xi=it.litHtmlVersions)!=null?xi:it.litHtmlVersions=[]).push("3.2.1");const uo=(i,t,e)=>{var s,n;const o=(s=e==null?void 0:e.renderBefore)!=null?s:t;let r=o._$litPart$;if(r===void 0){const a=(n=e==null?void 0:e.renderBefore)!=null?n:null;o._$litPart$=r=new pt(t.insertBefore(ot(),a),a,void 0,e!=null?e:{})}return r._$AI(i),r};/**
21
+ */const it=globalThis,vt=it.trustedTypes,Ue=vt?vt.createPolicy("lit-html",{createHTML:i=>i}):void 0,Ei="$lit$",N=`lit$${Math.random().toFixed(9).slice(2)}$`,Pi="?"+N,eo=`<${Pi}>`,$=document,ot=()=>$.createComment(""),st=i=>i===null||typeof i!="object"&&typeof i!="function",he=Array.isArray,io=i=>he(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",zt=`[
22
+ \f\r]`,K=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,He=/-->/g,Ve=/>/g,I=RegExp(`>|${zt}(?:([^\\s"'>=/]+)(${zt}*=${zt}*(?:[^
23
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),je=/'/g,qe=/"/g,Ti=/^(?:script|style|textarea|title)$/i,Y=Symbol.for("lit-noChange"),g=Symbol.for("lit-nothing"),Ye=new WeakMap,D=$.createTreeWalker($,129);function Si(i,t){if(!he(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ue!==void 0?Ue.createHTML(t):t}const ro=(i,t)=>{const e=i.length-1,o=[];let r,s=t===2?"<svg>":t===3?"<math>":"",n=K;for(let a=0;a<e;a++){const l=i[a];let d,c,u=-1,h=0;for(;h<l.length&&(n.lastIndex=h,c=n.exec(l),c!==null);)h=n.lastIndex,n===K?c[1]==="!--"?n=He:c[1]!==void 0?n=Ve:c[2]!==void 0?(Ti.test(c[2])&&(r=RegExp("</"+c[2],"g")),n=I):c[3]!==void 0&&(n=I):n===I?c[0]===">"?(n=r!=null?r:K,u=-1):c[1]===void 0?u=-2:(u=n.lastIndex-c[2].length,d=c[1],n=c[3]===void 0?I:c[3]==='"'?qe:je):n===qe||n===je?n=I:n===He||n===Ve?n=K:(n=I,r=void 0);const p=n===I&&i[a+1].startsWith("/>")?" ":"";s+=n===K?l+eo:u>=0?(o.push(d),l.slice(0,u)+Ei+l.slice(u)+N+p):l+N+(u===-2?a:p)}return[Si(i,s+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]};class nt{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let s=0,n=0;const a=t.length-1,l=this.parts,[d,c]=ro(t,e);if(this.el=nt.createElement(d,o),D.currentNode=this.el.content,e===2||e===3){const u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(r=D.nextNode())!==null&&l.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const u of r.getAttributeNames())if(u.endsWith(Ei)){const h=c[n++],p=r.getAttribute(u).split(N),m=/([.?@])?(.*)/.exec(h);l.push({type:1,index:s,name:m[2],strings:p,ctor:m[1]==="."?so:m[1]==="?"?no:m[1]==="@"?ao:Et}),r.removeAttribute(u)}else u.startsWith(N)&&(l.push({type:6,index:s}),r.removeAttribute(u));if(Ti.test(r.tagName)){const u=r.textContent.split(N),h=u.length-1;if(h>0){r.textContent=vt?vt.emptyScript:"";for(let p=0;p<h;p++)r.append(u[p],ot()),D.nextNode(),l.push({type:2,index:++s});r.append(u[h],ot())}}}else if(r.nodeType===8)if(r.data===Pi)l.push({type:2,index:s});else{let u=-1;for(;(u=r.data.indexOf(N,u+1))!==-1;)l.push({type:7,index:s}),u+=N.length-1}s++}}static createElement(t,e){const o=$.createElement("template");return o.innerHTML=t,o}}function W(i,t,e=i,o){var n,a,l;if(t===Y)return t;let r=o!==void 0?(n=e._$Co)==null?void 0:n[o]:e._$Cl;const s=st(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==s&&((a=r==null?void 0:r._$AO)==null||a.call(r,!1),s===void 0?r=void 0:(r=new s(i),r._$AT(i,e,o)),o!==void 0?((l=e._$Co)!=null?l:e._$Co=[])[o]=r:e._$Cl=r),r!==void 0&&(t=W(i,r._$AS(i,t.values),r,o)),t}class oo{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var d;const{el:{content:e},parts:o}=this._$AD,r=((d=t==null?void 0:t.creationScope)!=null?d:$).importNode(e,!0);D.currentNode=r;let s=D.nextNode(),n=0,a=0,l=o[0];for(;l!==void 0;){if(n===l.index){let c;l.type===2?c=new pt(s,s.nextSibling,this,t):l.type===1?c=new l.ctor(s,l.name,l.strings,this,t):l.type===6&&(c=new lo(s,this,t)),this._$AV.push(c),l=o[++a]}n!==(l==null?void 0:l.index)&&(s=D.nextNode(),n++)}return D.currentNode=$,r}p(t){let e=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class pt{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,o,r){var s;this.type=2,this._$AH=g,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=(s=r==null?void 0:r.isConnected)!=null?s:!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=W(this,t,e),st(t)?t===g||t==null||t===""?(this._$AH!==g&&this._$AR(),this._$AH=g):t!==this._$AH&&t!==Y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):io(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==g&&st(this._$AH)?this._$AA.nextSibling.data=t:this.T($.createTextNode(t)),this._$AH=t}$(t){var s;const{values:e,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=nt.createElement(Si(o.h,o.h[0]),this.options)),o);if(((s=this._$AH)==null?void 0:s._$AD)===r)this._$AH.p(e);else{const n=new oo(r,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=Ye.get(t.strings);return e===void 0&&Ye.set(t.strings,e=new nt(t)),e}k(t){he(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,r=0;for(const s of t)r===e.length?e.push(o=new pt(this.O(ot()),this.O(ot()),this,this.options)):o=e[r],o._$AI(s),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var o;for((o=this._$AP)==null?void 0:o.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class Et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,s){this.type=1,this._$AH=g,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=g}_$AI(t,e=this,o,r){const s=this.strings;let n=!1;if(s===void 0)t=W(this,t,e,0),n=!st(t)||t!==this._$AH&&t!==Y,n&&(this._$AH=t);else{const a=t;let l,d;for(t=s[0],l=0;l<s.length-1;l++)d=W(this,a[o+l],e,l),d===Y&&(d=this._$AH[l]),n||(n=!st(d)||d!==this._$AH[l]),d===g?t=g:t!==g&&(t+=(d!=null?d:"")+s[l+1]),this._$AH[l]=d}n&&!r&&this.j(t)}j(t){t===g?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class so extends Et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===g?void 0:t}}class no extends Et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==g)}}class ao extends Et{constructor(t,e,o,r,s){super(t,e,o,r,s),this.type=5}_$AI(t,e=this){var n;if((t=(n=W(this,t,e,0))!=null?n:g)===Y)return;const o=this._$AH,r=t===g&&o!==g||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==g&&(o===g||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;typeof this._$AH=="function"?this._$AH.call((o=(e=this.options)==null?void 0:e.host)!=null?o:this.element,t):this._$AH.handleEvent(t)}}class lo{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}}const Lt=it.litHtmlPolyfillSupport;var yi;Lt==null||Lt(nt,pt),((yi=it.litHtmlVersions)!=null?yi:it.litHtmlVersions=[]).push("3.2.1");const co=(i,t,e)=>{var s,n;const o=(s=e==null?void 0:e.renderBefore)!=null?s:t;let r=o._$litPart$;if(r===void 0){const a=(n=e==null?void 0:e.renderBefore)!=null?n:null;o._$litPart$=r=new pt(t.insertBefore(ot(),a),a,void 0,e!=null?e:{})}return r._$AI(i),r};/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */class H extends U{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,o;const t=super.createRenderRoot();return(o=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=uo(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return Y}}var Ai;H._$litElement$=!0,H.finalized=!0,(Ai=globalThis.litElementHydrateSupport)==null||Ai.call(globalThis,{LitElement:H});const $t=globalThis.litElementPolyfillSupport;$t==null||$t({LitElement:H});var wi;((wi=globalThis.litElementVersions)!=null?wi:globalThis.litElementVersions=[]).push("4.1.1");/**
27
+ */class H extends U{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,o;const t=super.createRenderRoot();return(o=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=co(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return Y}}var xi;H._$litElement$=!0,H.finalized=!0,(xi=globalThis.litElementHydrateSupport)==null||xi.call(globalThis,{LitElement:H});const $t=globalThis.litElementPolyfillSupport;$t==null||$t({LitElement:H});var Ai;((Ai=globalThis.litElementVersions)!=null?Ai:globalThis.litElementVersions=[]).push("4.1.1");/**
28
28
  * @license
29
29
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
30
30
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
31
- */const ho=i=>class extends i{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(e,o,r){super.attributeChangedCallback(e,o,r),e==="theme"&&this._set_theme(r)}};/**
31
+ */const uo=i=>class extends i{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(e,o,r){super.attributeChangedCallback(e,o,r),e==="theme"&&this._set_theme(r)}};/**
32
32
  * @license
33
33
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
34
34
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35
- */const ki=[],Gt=new Set,pe=new Set;function Oi(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function po(i){return Oi(customElements.get(i))}function fo(i=[]){return[i].flat(1/0).filter(t=>t instanceof ue?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function Mi(i,t){return(i||"").split(" ").some(e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t))}function Ii(i){return i.map(t=>t.cssText).join(`
36
- `)}const yt="vaadin-themable-mixin-style";function mo(i,t){const e=document.createElement("style");e.id=yt,e.textContent=Ii(i),t.content.appendChild(e)}function _o(i){if(!i.shadowRoot)return;const t=i.constructor;if(i instanceof H)[...i.shadowRoot.querySelectorAll("style")].forEach(e=>e.remove()),Ci(i.shadowRoot,t.elementStyles);else{const e=i.shadowRoot.getElementById(yt),o=t.prototype._template;e.textContent=o.content.getElementById(yt).textContent}}function go(i){Gt.forEach(t=>{const e=t.deref();e instanceof i?_o(e):e||Gt.delete(t)})}function Di(i){if(i.prototype instanceof H)i.elementStyles=i.finalizeStyles(i.styles);else{const t=i.prototype._template;t.content.getElementById(yt).textContent=Ii(i.getStylesForThis())}pe.forEach(t=>{const e=customElements.get(t);e!==i&&e.prototype instanceof i&&Di(e)})}function bo(i,t){const e=i.__themes;return!e||!t?!1:e.some(o=>o.styles.some(r=>t.some(s=>s.cssText===r.cssText)))}function S(i,t,e={}){t=fo(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,t,e):ki.push({themeFor:i,styles:t,include:e.include,moduleId:e.moduleId}),i&&pe.forEach(o=>{if(Mi(i,o)&&po(o)){const r=customElements.get(o);bo(r,t)?console.warn(`Registering styles that already exist for ${o}`):(!window.Vaadin||!window.Vaadin.suppressPostFinalizeStylesWarning)&&console.warn(`The custom element definition for "${o}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`),Di(r),go(r)}})}function Kt(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():ki}function vo(i=""){let t=0;return i.startsWith("lumo-")||i.startsWith("material-")?t=1:i.startsWith("vaadin-")&&(t=2),t}function zi(i){const t=[];return i.include&&[].concat(i.include).forEach(e=>{const o=Kt().find(r=>r.moduleId===e);o?t.push(...zi(o),...o.styles):console.warn(`Included moduleId ${e} not found in style registry`)},i.styles),t}function yo(i){const t=`${i}-default-theme`,e=Kt().filter(o=>o.moduleId!==t&&Mi(o.themeFor,i)).map(o=>It(Mt({},o),{styles:[...zi(o),...o.styles],includePriority:vo(o.moduleId)})).sort((o,r)=>r.includePriority-o.includePriority);return e.length>0?e:Kt().filter(o=>o.moduleId===t)}const Li=i=>class extends ho(i){constructor(){super(),Gt.add(new WeakRef(this))}static finalize(){if(super.finalize(),this.is&&pe.add(this.is),this.elementStyles)return;const e=this.prototype._template;!e||Oi(this)||mo(this.getStylesForThis(),e)}static finalizeStyles(e){const o=this.getStylesForThis();return e?[...[e].flat(1/0),...o]:o}static getStylesForThis(){const e=i.__themes||[],o=Object.getPrototypeOf(this.prototype),r=(o?o.constructor.__themes:[])||[];this.__themes=[...e,...r,...yo(this.is)];const s=this.__themes.flatMap(n=>n.styles);return s.filter((n,a)=>a===s.lastIndexOf(n))}};/**
35
+ */const Ni=[],Gt=new Set,pe=new Set;function ki(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function ho(i){return ki(customElements.get(i))}function po(i=[]){return[i].flat(1/0).filter(t=>t instanceof ue?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function Oi(i,t){return(i||"").split(" ").some(e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t))}function Mi(i){return i.map(t=>t.cssText).join(`
36
+ `)}const yt="vaadin-themable-mixin-style";function fo(i,t){const e=document.createElement("style");e.id=yt,e.textContent=Mi(i),t.content.appendChild(e)}function mo(i){if(!i.shadowRoot)return;const t=i.constructor;if(i instanceof H)[...i.shadowRoot.querySelectorAll("style")].forEach(e=>e.remove()),wi(i.shadowRoot,t.elementStyles);else{const e=i.shadowRoot.getElementById(yt),o=t.prototype._template;e.textContent=o.content.getElementById(yt).textContent}}function _o(i){Gt.forEach(t=>{const e=t.deref();e instanceof i?mo(e):e||Gt.delete(t)})}function Ii(i){if(i.prototype instanceof H)i.elementStyles=i.finalizeStyles(i.styles);else{const t=i.prototype._template;t.content.getElementById(yt).textContent=Mi(i.getStylesForThis())}pe.forEach(t=>{const e=customElements.get(t);e!==i&&e.prototype instanceof i&&Ii(e)})}function go(i,t){const e=i.__themes;return!e||!t?!1:e.some(o=>o.styles.some(r=>t.some(s=>s.cssText===r.cssText)))}function S(i,t,e={}){t=po(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,t,e):Ni.push({themeFor:i,styles:t,include:e.include,moduleId:e.moduleId}),i&&pe.forEach(o=>{if(Oi(i,o)&&ho(o)){const r=customElements.get(o);go(r,t)?console.warn(`Registering styles that already exist for ${o}`):(!window.Vaadin||!window.Vaadin.suppressPostFinalizeStylesWarning)&&console.warn(`The custom element definition for "${o}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`),Ii(r),_o(r)}})}function Kt(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():Ni}function bo(i=""){let t=0;return i.startsWith("lumo-")||i.startsWith("material-")?t=1:i.startsWith("vaadin-")&&(t=2),t}function Di(i){const t=[];return i.include&&[].concat(i.include).forEach(e=>{const o=Kt().find(r=>r.moduleId===e);o?t.push(...Di(o),...o.styles):console.warn(`Included moduleId ${e} not found in style registry`)},i.styles),t}function vo(i){const t=`${i}-default-theme`,e=Kt().filter(o=>o.moduleId!==t&&Oi(o.themeFor,i)).map(o=>It(Mt({},o),{styles:[...Di(o),...o.styles],includePriority:bo(o.moduleId)})).sort((o,r)=>r.includePriority-o.includePriority);return e.length>0?e:Kt().filter(o=>o.moduleId===t)}const zi=i=>class extends uo(i){constructor(){super(),Gt.add(new WeakRef(this))}static finalize(){if(super.finalize(),this.is&&pe.add(this.is),this.elementStyles)return;const e=this.prototype._template;!e||ki(this)||fo(this.getStylesForThis(),e)}static finalizeStyles(e){const o=this.getStylesForThis();return e?[...[e].flat(1/0),...o]:o}static getStylesForThis(){const e=i.__themes||[],o=Object.getPrototypeOf(this.prototype),r=(o?o.constructor.__themes:[])||[];this.__themes=[...e,...r,...vo(this.is)];const s=this.__themes.flatMap(n=>n.styles);return s.filter((n,a)=>a===s.lastIndexOf(n))}};/**
37
37
  * @license
38
38
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
39
39
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
40
- */const xo=(i,...t)=>{const e=document.createElement("style");e.id=i,e.textContent=t.map(o=>o.toString()).join(`
41
- `).replace(":host","html"),document.head.insertAdjacentElement("afterbegin",e)},G=(i,...t)=>{xo(`lumo-${i}`,t)};/**
40
+ */const yo=(i,...t)=>{const e=document.createElement("style");e.id=i,e.textContent=t.map(o=>o.toString()).join(`
41
+ `).replace(":host","html"),document.head.insertAdjacentElement("afterbegin",e)},G=(i,...t)=>{yo(`lumo-${i}`,t)};/**
42
42
  * @license
43
43
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
44
44
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
45
- */const Ao=_`
45
+ */const xo=_`
46
46
  :host {
47
47
  /* Base (background) */
48
48
  --lumo-base-color: #fff;
@@ -127,7 +127,7 @@
127
127
  --lumo-disabled-text-color: GrayText;
128
128
  }
129
129
  }
130
- `;G("color-props",Ao);const wo=_`
130
+ `;G("color-props",xo);const Ao=_`
131
131
  [theme~='dark'] {
132
132
  /* Base (background) */
133
133
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -245,11 +245,11 @@
245
245
  pre code {
246
246
  background: transparent;
247
247
  }
248
- `;S("",wo,{moduleId:"lumo-color"});/**
248
+ `;S("",Ao,{moduleId:"lumo-color"});/**
249
249
  * @license
250
250
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
251
251
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
252
- */const Co=_`
252
+ */const wo=_`
253
253
  :host {
254
254
  --lumo-size-xs: 1.625rem;
255
255
  --lumo-size-s: 1.875rem;
@@ -264,11 +264,11 @@
264
264
  /* For backwards compatibility */
265
265
  --lumo-icon-size: var(--lumo-icon-size-m);
266
266
  }
267
- `;G("sizing-props",Co);/**
267
+ `;G("sizing-props",wo);/**
268
268
  * @license
269
269
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
270
270
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
271
- */const Eo=_`
271
+ */const Co=_`
272
272
  :host {
273
273
  /* Border radius */
274
274
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -368,11 +368,11 @@
368
368
  --vaadin-input-field-value-font-size: var(--lumo-font-size-m);
369
369
  --vaadin-input-field-value-font-weight: 500;
370
370
  }
371
- `;G("style-props",Eo);/**
371
+ `;G("style-props",Co);/**
372
372
  * @license
373
373
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
374
374
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
375
- */const Po=_`
375
+ */const Eo=_`
376
376
  :host {
377
377
  /* prettier-ignore */
378
378
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -392,7 +392,7 @@
392
392
  --lumo-line-height-s: 1.375;
393
393
  --lumo-line-height-m: 1.625;
394
394
  }
395
- `,To=_`
395
+ `,Po=_`
396
396
  body,
397
397
  :host {
398
398
  font-family: var(--lumo-font-family);
@@ -484,7 +484,7 @@
484
484
  border-left: none;
485
485
  border-right: 2px solid var(--lumo-contrast-30pct);
486
486
  }
487
- `;S("",To,{moduleId:"lumo-typography"});G("typography-props",Po);S("vaadin-input-container",_`
487
+ `;S("",Po,{moduleId:"lumo-typography"});G("typography-props",Eo);S("vaadin-input-container",_`
488
488
  :host {
489
489
  background: var(--_background);
490
490
  padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
@@ -666,7 +666,7 @@
666
666
  * @license
667
667
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
668
668
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
669
- */const So=_`
669
+ */const To=_`
670
670
  @font-face {
671
671
  font-family: 'lumo-icons';
672
672
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
@@ -719,11 +719,11 @@
719
719
  --lumo-icons-upload: '\\ea29';
720
720
  --lumo-icons-user: '\\ea2a';
721
721
  }
722
- `;G("font-icons",So);/**
722
+ `;G("font-icons",To);/**
723
723
  * @license
724
724
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
725
725
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
726
- */const No=_`
726
+ */const So=_`
727
727
  :host {
728
728
  /* Square */
729
729
  --lumo-space-xs: 0.25rem;
@@ -746,11 +746,11 @@
746
746
  --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
747
747
  --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
748
748
  }
749
- `;G("spacing-props",No);/**
749
+ `;G("spacing-props",So);/**
750
750
  * @license
751
751
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
752
752
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
753
- */const $i=_`
753
+ */const Li=_`
754
754
  [part$='button'] {
755
755
  flex: none;
756
756
  width: 1em;
@@ -777,11 +777,11 @@
777
777
  font-family: 'lumo-icons';
778
778
  display: block;
779
779
  }
780
- `;S("",$i,{moduleId:"lumo-field-button"});/**
780
+ `;S("",Li,{moduleId:"lumo-field-button"});/**
781
781
  * @license
782
782
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
783
783
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
784
- */const Ri=_`
784
+ */const $i=_`
785
785
  :host {
786
786
  --_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
787
787
  }
@@ -957,7 +957,7 @@
957
957
  * @license
958
958
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
959
959
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
960
- */const ko=_`
960
+ */const No=_`
961
961
  :host {
962
962
  --lumo-text-field-size: var(--lumo-size-m);
963
963
  color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
@@ -1088,7 +1088,7 @@
1088
1088
  [part='clear-button']::before {
1089
1089
  content: var(--lumo-icons-cross);
1090
1090
  }
1091
- `,Fi=[fe,$i,Ri,ko];S("",Fi,{moduleId:"lumo-input-field-shared-styles"});/**
1091
+ `,Ri=[fe,Li,$i,No];S("",Ri,{moduleId:"lumo-input-field-shared-styles"});/**
1092
1092
  @license
1093
1093
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1094
1094
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1104,7 +1104,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1104
1104
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1105
1105
  Code distributed by Google as part of the polymer project is also
1106
1106
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1107
- */let Oo=/(url\()([^)]*)(\))/g,Mo=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,ft,A;function rt(i,t){if(i&&Mo.test(i)||i==="//")return i;if(ft===void 0){ft=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",ft=e.href==="http://a/c%20d"}catch(e){}}if(t||(t=document.baseURI||window.location.href),ft)try{return new URL(i,t).href}catch(e){return i}return A||(A=document.implementation.createHTMLDocument("temp"),A.base=A.createElement("base"),A.head.appendChild(A.base),A.anchor=A.createElement("a"),A.body.appendChild(A.anchor)),A.base.href=t,A.anchor.href=i,A.anchor.href||i}function me(i,t){return i.replace(Oo,function(e,o,r,s){return o+"'"+rt(r.replace(/["']/g,""),t)+"'"+s})}function _e(i){return i.substring(0,i.lastIndexOf("/")+1)}/**
1107
+ */let ko=/(url\()([^)]*)(\))/g,Oo=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,ft,A;function rt(i,t){if(i&&Oo.test(i)||i==="//")return i;if(ft===void 0){ft=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",ft=e.href==="http://a/c%20d"}catch(e){}}if(t||(t=document.baseURI||window.location.href),ft)try{return new URL(i,t).href}catch(e){return i}return A||(A=document.implementation.createHTMLDocument("temp"),A.base=A.createElement("base"),A.head.appendChild(A.base),A.anchor=A.createElement("a"),A.body.appendChild(A.anchor)),A.base.href=t,A.anchor.href=i,A.anchor.href||i}function me(i,t){return i.replace(ko,function(e,o,r,s){return o+"'"+rt(r.replace(/["']/g,""),t)+"'"+s})}function _e(i){return i.substring(0,i.lastIndexOf("/")+1)}/**
1108
1108
  @license
1109
1109
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1110
1110
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1112,7 +1112,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1112
1112
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1113
1113
  Code distributed by Google as part of the polymer project is also
1114
1114
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1115
- */const Bi=!window.ShadyDOM||!window.ShadyDOM.inUse,Io=Bi&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const i=new CSSStyleSheet;i.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[i],t.shadowRoot.adoptedStyleSheets[0]===i}catch(i){return!1}})();let Do=window.Polymer&&window.Polymer.rootPath||_e(document.baseURI||window.location.href),xt=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,At=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,zo=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Ui=window.Polymer&&window.Polymer.legacyOptimizations||!1,Hi=window.Polymer&&window.Polymer.legacyWarnings||!1,Lo=window.Polymer&&window.Polymer.syncInitialRender||!1,Jt=window.Polymer&&window.Polymer.legacyUndefined||!1,$o=window.Polymer&&window.Polymer.orderedComputed||!1,Ge=window.Polymer&&window.Polymer.removeNestedTemplates||!1,Ro=window.Polymer&&window.Polymer.fastDomIf||!1,Fo=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,Bo=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/**
1115
+ */const Fi=!window.ShadyDOM||!window.ShadyDOM.inUse,Mo=Fi&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const i=new CSSStyleSheet;i.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[i],t.shadowRoot.adoptedStyleSheets[0]===i}catch(i){return!1}})();let Io=window.Polymer&&window.Polymer.rootPath||_e(document.baseURI||window.location.href),xt=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,At=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,Do=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Bi=window.Polymer&&window.Polymer.legacyOptimizations||!1,Ui=window.Polymer&&window.Polymer.legacyWarnings||!1,zo=window.Polymer&&window.Polymer.syncInitialRender||!1,Jt=window.Polymer&&window.Polymer.legacyUndefined||!1,Lo=window.Polymer&&window.Polymer.orderedComputed||!1,We=window.Polymer&&window.Polymer.removeNestedTemplates||!1,$o=window.Polymer&&window.Polymer.fastDomIf||!1,Ro=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,Fo=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/**
1116
1116
  @license
1117
1117
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1118
1118
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1120,7 +1120,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1120
1120
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1121
1121
  Code distributed by Google as part of the polymer project is also
1122
1122
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1123
- */let Uo=0;const b=function(i){let t=i.__mixinApplications;t||(t=new WeakMap,i.__mixinApplications=t);let e=Uo++;function o(r){let s=r.__mixinSet;if(s&&s[e])return r;let n=t,a=n.get(r);if(!a){a=i(r),n.set(r,a);let l=Object.create(a.__mixinSet||s||null);l[e]=!0,a.__mixinSet=l}return a}return o};/**
1123
+ */let Bo=0;const b=function(i){let t=i.__mixinApplications;t||(t=new WeakMap,i.__mixinApplications=t);let e=Bo++;function o(r){let s=r.__mixinSet;if(s&&s[e])return r;let n=t,a=n.get(r);if(!a){a=i(r),n.set(r,a);let l=Object.create(a.__mixinSet||s||null);l[e]=!0,a.__mixinSet=l}return a}return o};/**
1124
1124
  @license
1125
1125
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1126
1126
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1128,7 +1128,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1128
1128
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1129
1129
  Code distributed by Google as part of the polymer project is also
1130
1130
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1131
- */let ge={},Vi={};function Ke(i,t){ge[i]=Vi[i.toLowerCase()]=t}function Je(i){return ge[i]||Vi[i.toLowerCase()]}function Ho(i){i.querySelector("style")&&console.warn("dom-module %s has style outside template",i.id)}class at extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let o=Je(t);return o&&e?o.querySelector(e):o}return null}attributeChangedCallback(t,e,o,r){e!==o&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=rt(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=_e(e)}return this.__assetpath}register(t){if(t=t||this.id,t){if(At&&Je(t)!==void 0)throw Ke(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,Ke(t,this),Ho(this)}}}at.prototype.modules=ge;customElements.define("dom-module",at);/**
1131
+ */let ge={},Hi={};function Ge(i,t){ge[i]=Hi[i.toLowerCase()]=t}function Ke(i){return ge[i]||Hi[i.toLowerCase()]}function Uo(i){i.querySelector("style")&&console.warn("dom-module %s has style outside template",i.id)}class at extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let o=Ke(t);return o&&e?o.querySelector(e):o}return null}attributeChangedCallback(t,e,o,r){e!==o&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=rt(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=_e(e)}return this.__assetpath}register(t){if(t=t||this.id,t){if(At&&Ke(t)!==void 0)throw Ge(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,Ge(t,this),Uo(this)}}}at.prototype.modules=ge;customElements.define("dom-module",at);/**
1132
1132
  @license
1133
1133
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1134
1134
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1136,7 +1136,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1136
1136
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1137
1137
  Code distributed by Google as part of the polymer project is also
1138
1138
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1139
- */const Vo="link[rel=import][type~=css]",jo="include",Xe="shady-unscoped";function ji(i){return at.import(i)}function Ze(i){let t=i.body?i.body:i;const e=me(t.textContent,i.baseURI),o=document.createElement("style");return o.textContent=e,o}function qo(i){const t=i.trim().split(/\s+/),e=[];for(let o=0;o<t.length;o++)e.push(...Yo(t[o]));return e}function Yo(i){const t=ji(i);if(!t)return console.warn("Could not find style data in module named",i),[];if(t._styles===void 0){const e=[];e.push(...Yi(t));const o=t.querySelector("template");o&&e.push(...qi(o,t.assetpath)),t._styles=e}return t._styles}function qi(i,t){if(!i._styles){const e=[],o=i.content.querySelectorAll("style");for(let r=0;r<o.length;r++){let s=o[r],n=s.getAttribute(jo);n&&e.push(...qo(n).filter(function(a,l,d){return d.indexOf(a)===l})),t&&(s.textContent=me(s.textContent,t)),e.push(s)}i._styles=e}return i._styles}function Wo(i){let t=ji(i);return t?Yi(t):[]}function Yi(i){const t=[],e=i.querySelectorAll(Vo);for(let o=0;o<e.length;o++){let r=e[o];if(r.import){const s=r.import,n=r.hasAttribute(Xe);if(n&&!s._unscopedStyle){const a=Ze(s);a.setAttribute(Xe,""),s._unscopedStyle=a}else s._style||(s._style=Ze(s));t.push(n?s._unscopedStyle:s._style)}}return t}/**
1139
+ */const Ho="link[rel=import][type~=css]",Vo="include",Je="shady-unscoped";function Vi(i){return at.import(i)}function Xe(i){let t=i.body?i.body:i;const e=me(t.textContent,i.baseURI),o=document.createElement("style");return o.textContent=e,o}function jo(i){const t=i.trim().split(/\s+/),e=[];for(let o=0;o<t.length;o++)e.push(...qo(t[o]));return e}function qo(i){const t=Vi(i);if(!t)return console.warn("Could not find style data in module named",i),[];if(t._styles===void 0){const e=[];e.push(...qi(t));const o=t.querySelector("template");o&&e.push(...ji(o,t.assetpath)),t._styles=e}return t._styles}function ji(i,t){if(!i._styles){const e=[],o=i.content.querySelectorAll("style");for(let r=0;r<o.length;r++){let s=o[r],n=s.getAttribute(Vo);n&&e.push(...jo(n).filter(function(a,l,d){return d.indexOf(a)===l})),t&&(s.textContent=me(s.textContent,t)),e.push(s)}i._styles=e}return i._styles}function Yo(i){let t=Vi(i);return t?qi(t):[]}function qi(i){const t=[],e=i.querySelectorAll(Ho);for(let o=0;o<e.length;o++){let r=e[o];if(r.import){const s=r.import,n=r.hasAttribute(Je);if(n&&!s._unscopedStyle){const a=Xe(s);a.setAttribute(Je,""),s._unscopedStyle=a}else s._style||(s._style=Xe(s));t.push(n?s._unscopedStyle:s._style)}}return t}/**
1140
1140
  @license
1141
1141
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1142
1142
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1152,7 +1152,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1152
1152
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1153
1153
  Code distributed by Google as part of the polymer project is also
1154
1154
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1155
- */function Xt(i){return i.indexOf(".")>=0}function F(i){let t=i.indexOf(".");return t===-1?i:i.slice(0,t)}function Wi(i,t){return i.indexOf(t+".")===0}function lt(i,t){return t.indexOf(i+".")===0}function dt(i,t,e){return t+e.slice(i.length)}function Go(i,t){return i===t||Wi(i,t)||lt(i,t)}function Q(i){if(Array.isArray(i)){let t=[];for(let e=0;e<i.length;e++){let o=i[e].toString().split(".");for(let r=0;r<o.length;r++)t.push(o[r])}return t.join(".")}else return i}function Gi(i){return Array.isArray(i)?Q(i).split("."):i.toString().split(".")}function v(i,t,e){let o=i,r=Gi(t);for(let s=0;s<r.length;s++){if(!o)return;let n=r[s];o=o[n]}return e&&(e.path=r.join(".")),o}function Qe(i,t,e){let o=i,r=Gi(t),s=r[r.length-1];if(r.length>1){for(let n=0;n<r.length-1;n++){let a=r[n];if(o=o[a],!o)return}o[s]=e}else o[t]=e;return r.join(".")}/**
1155
+ */function Xt(i){return i.indexOf(".")>=0}function F(i){let t=i.indexOf(".");return t===-1?i:i.slice(0,t)}function Yi(i,t){return i.indexOf(t+".")===0}function lt(i,t){return t.indexOf(i+".")===0}function dt(i,t,e){return t+e.slice(i.length)}function Wo(i,t){return i===t||Yi(i,t)||lt(i,t)}function Q(i){if(Array.isArray(i)){let t=[];for(let e=0;e<i.length;e++){let o=i[e].toString().split(".");for(let r=0;r<o.length;r++)t.push(o[r])}return t.join(".")}else return i}function Wi(i){return Array.isArray(i)?Q(i).split("."):i.toString().split(".")}function v(i,t,e){let o=i,r=Wi(t);for(let s=0;s<r.length;s++){if(!o)return;let n=r[s];o=o[n]}return e&&(e.path=r.join(".")),o}function Ze(i,t,e){let o=i,r=Wi(t),s=r[r.length-1];if(r.length>1){for(let n=0;n<r.length-1;n++){let a=r[n];if(o=o[a],!o)return}o[s]=e}else o[t]=e;return r.join(".")}/**
1156
1156
  @license
1157
1157
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1158
1158
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1160,7 +1160,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1160
1160
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1161
1161
  Code distributed by Google as part of the polymer project is also
1162
1162
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1163
- */const wt={},Ko=/-[a-z]/g,Jo=/([A-Z])/g;function Ki(i){return wt[i]||(wt[i]=i.indexOf("-")<0?i:i.replace(Ko,t=>t[1].toUpperCase()))}function Pt(i){return wt[i]||(wt[i]=i.replace(Jo,"-$1").toLowerCase())}/**
1163
+ */const wt={},Go=/-[a-z]/g,Ko=/([A-Z])/g;function Gi(i){return wt[i]||(wt[i]=i.indexOf("-")<0?i:i.replace(Go,t=>t[1].toUpperCase()))}function Pt(i){return wt[i]||(wt[i]=i.replace(Ko,"-$1").toLowerCase())}/**
1164
1164
  @license
1165
1165
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1166
1166
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1168,7 +1168,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1168
1168
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1169
1169
  Code distributed by Google as part of the polymer project is also
1170
1170
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1171
- */let Xo=0,Ji=0,V=[],Zo=0,Zt=!1,Xi=document.createTextNode("");new window.MutationObserver(Qo).observe(Xi,{characterData:!0});function Qo(){Zt=!1;const i=V.length;for(let t=0;t<i;t++){let e=V[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}V.splice(0,i),Ji+=i}const ts={after(i){return{run(t){return window.setTimeout(t,i)},cancel(t){window.clearTimeout(t)}}},run(i,t){return window.setTimeout(i,t)},cancel(i){window.clearTimeout(i)}},Zi={run(i){return Zt||(Zt=!0,Xi.textContent=Zo++),V.push(i),Xo++},cancel(i){const t=i-Ji;if(t>=0){if(!V[t])throw new Error("invalid async handle: "+i);V[t]=null}}};/**
1171
+ */let Jo=0,Ki=0,V=[],Xo=0,Zt=!1,Ji=document.createTextNode("");new window.MutationObserver(Zo).observe(Ji,{characterData:!0});function Zo(){Zt=!1;const i=V.length;for(let t=0;t<i;t++){let e=V[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}V.splice(0,i),Ki+=i}const Qo={after(i){return{run(t){return window.setTimeout(t,i)},cancel(t){window.clearTimeout(t)}}},run(i,t){return window.setTimeout(i,t)},cancel(i){window.clearTimeout(i)}},Xi={run(i){return Zt||(Zt=!0,Ji.textContent=Xo++),V.push(i),Jo++},cancel(i){const t=i-Ki;if(t>=0){if(!V[t])throw new Error("invalid async handle: "+i);V[t]=null}}};/**
1172
1172
  @license
1173
1173
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1174
1174
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1176,7 +1176,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1176
1176
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1177
1177
  Code distributed by Google as part of the polymer project is also
1178
1178
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1179
- */const es=Zi,Qi=b(i=>{class t extends i{static createProperties(o){const r=this.prototype;for(let s in o)s in r||r._createPropertyAccessor(s)}static attributeNameForProperty(o){return o.toLowerCase()}static typeForProperty(o){}_createPropertyAccessor(o,r){this._addPropertyToAttributeMap(o),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[o]||(this.__dataHasAccessor[o]=!0,this._definePropertyAccessor(o,r))}_addPropertyToAttributeMap(o){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let r=this.__dataAttributes[o];return r||(r=this.constructor.attributeNameForProperty(o),this.__dataAttributes[r]=o),r}_definePropertyAccessor(o,r){Object.defineProperty(this,o,{get(){return this.__data[o]},set:r?function(){}:function(s){this._setPendingProperty(o,s,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let o in this.__dataHasAccessor)this.hasOwnProperty(o)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[o]=this[o],delete this[o])}_initializeInstanceProperties(o){Object.assign(this,o)}_setProperty(o,r){this._setPendingProperty(o,r)&&this._invalidateProperties()}_getProperty(o){return this.__data[o]}_setPendingProperty(o,r,s){let n=this.__data[o],a=this._shouldPropertyChange(o,r,n);return a&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(o in this.__dataOld)&&(this.__dataOld[o]=n),this.__data[o]=r,this.__dataPending[o]=r),a}_isPropertyPending(o){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(o))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,es.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const o=this.__data,r=this.__dataPending,s=this.__dataOld;this._shouldPropertiesChange(o,r,s)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(o,r,s)),this.__dataCounter--}_shouldPropertiesChange(o,r,s){return!!r}_propertiesChanged(o,r,s){}_shouldPropertyChange(o,r,s){return s!==r&&(s===s||r===r)}attributeChangedCallback(o,r,s,n){r!==s&&this._attributeToProperty(o,s),super.attributeChangedCallback&&super.attributeChangedCallback(o,r,s,n)}_attributeToProperty(o,r,s){if(!this.__serializing){const n=this.__dataAttributes,a=n&&n[o]||o;this[a]=this._deserializeValue(r,s||this.constructor.typeForProperty(a))}}_propertyToAttribute(o,r,s){this.__serializing=!0,s=arguments.length<3?this[o]:s,this._valueToNodeAttribute(this,s,r||this.constructor.attributeNameForProperty(o)),this.__serializing=!1}_valueToNodeAttribute(o,r,s){const n=this._serializeValue(r);(s==="class"||s==="name"||s==="slot")&&(o=O(o)),n===void 0?o.removeAttribute(s):o.setAttribute(s,n===""&&window.trustedTypes?window.trustedTypes.emptyScript:n)}_serializeValue(o){switch(typeof o){case"boolean":return o?"":void 0;default:return o!=null?o.toString():void 0}}_deserializeValue(o,r){switch(r){case Boolean:return o!==null;case Number:return Number(o);default:return o}}}return t});/**
1179
+ */const ts=Xi,Zi=b(i=>{class t extends i{static createProperties(o){const r=this.prototype;for(let s in o)s in r||r._createPropertyAccessor(s)}static attributeNameForProperty(o){return o.toLowerCase()}static typeForProperty(o){}_createPropertyAccessor(o,r){this._addPropertyToAttributeMap(o),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[o]||(this.__dataHasAccessor[o]=!0,this._definePropertyAccessor(o,r))}_addPropertyToAttributeMap(o){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let r=this.__dataAttributes[o];return r||(r=this.constructor.attributeNameForProperty(o),this.__dataAttributes[r]=o),r}_definePropertyAccessor(o,r){Object.defineProperty(this,o,{get(){return this.__data[o]},set:r?function(){}:function(s){this._setPendingProperty(o,s,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let o in this.__dataHasAccessor)this.hasOwnProperty(o)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[o]=this[o],delete this[o])}_initializeInstanceProperties(o){Object.assign(this,o)}_setProperty(o,r){this._setPendingProperty(o,r)&&this._invalidateProperties()}_getProperty(o){return this.__data[o]}_setPendingProperty(o,r,s){let n=this.__data[o],a=this._shouldPropertyChange(o,r,n);return a&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(o in this.__dataOld)&&(this.__dataOld[o]=n),this.__data[o]=r,this.__dataPending[o]=r),a}_isPropertyPending(o){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(o))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,ts.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const o=this.__data,r=this.__dataPending,s=this.__dataOld;this._shouldPropertiesChange(o,r,s)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(o,r,s)),this.__dataCounter--}_shouldPropertiesChange(o,r,s){return!!r}_propertiesChanged(o,r,s){}_shouldPropertyChange(o,r,s){return s!==r&&(s===s||r===r)}attributeChangedCallback(o,r,s,n){r!==s&&this._attributeToProperty(o,s),super.attributeChangedCallback&&super.attributeChangedCallback(o,r,s,n)}_attributeToProperty(o,r,s){if(!this.__serializing){const n=this.__dataAttributes,a=n&&n[o]||o;this[a]=this._deserializeValue(r,s||this.constructor.typeForProperty(a))}}_propertyToAttribute(o,r,s){this.__serializing=!0,s=arguments.length<3?this[o]:s,this._valueToNodeAttribute(this,s,r||this.constructor.attributeNameForProperty(o)),this.__serializing=!1}_valueToNodeAttribute(o,r,s){const n=this._serializeValue(r);(s==="class"||s==="name"||s==="slot")&&(o=O(o)),n===void 0?o.removeAttribute(s):o.setAttribute(s,n===""&&window.trustedTypes?window.trustedTypes.emptyScript:n)}_serializeValue(o){switch(typeof o){case"boolean":return o?"":void 0;default:return o!=null?o.toString():void 0}}_deserializeValue(o,r){switch(r){case Boolean:return o!==null;case Number:return Number(o);default:return o}}}return t});/**
1180
1180
  @license
1181
1181
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1182
1182
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1184,7 +1184,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1184
1184
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1185
1185
  Code distributed by Google as part of the polymer project is also
1186
1186
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1187
- */const tr={};let mt=HTMLElement.prototype;for(;mt;){let i=Object.getOwnPropertyNames(mt);for(let t=0;t<i.length;t++)tr[i[t]]=!0;mt=Object.getPrototypeOf(mt)}const is=window.trustedTypes?i=>trustedTypes.isHTML(i)||trustedTypes.isScript(i)||trustedTypes.isScriptURL(i):()=>!1;function rs(i,t){if(!tr[t]){let e=i[t];e!==void 0&&(i.__data?i._setPendingProperty(t,e):(i.__dataProto?i.hasOwnProperty(JSCompiler_renameProperty("__dataProto",i))||(i.__dataProto=Object.create(i.__dataProto)):i.__dataProto={},i.__dataProto[t]=e))}}const os=b(i=>{const t=Qi(i);class e extends t{static createPropertiesForAttributes(){let r=this.observedAttributes;for(let s=0;s<r.length;s++)this.prototype._createPropertyAccessor(Ki(r[s]))}static attributeNameForProperty(r){return Pt(r)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(r){for(let s in r)this._setProperty(s,r[s])}_ensureAttribute(r,s){const n=this;n.hasAttribute(r)||this._valueToNodeAttribute(n,s,r)}_serializeValue(r){switch(typeof r){case"object":if(r instanceof Date)return r.toString();if(r){if(is(r))return r;try{return JSON.stringify(r)}catch(s){return""}}default:return super._serializeValue(r)}}_deserializeValue(r,s){let n;switch(s){case Object:try{n=JSON.parse(r)}catch(a){n=r}break;case Array:try{n=JSON.parse(r)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${r}`)}break;case Date:n=isNaN(r)?String(r):Number(r),n=new Date(n);break;default:n=super._deserializeValue(r,s);break}return n}_definePropertyAccessor(r,s){rs(this,r),super._definePropertyAccessor(r,s)}_hasAccessor(r){return this.__dataHasAccessor&&this.__dataHasAccessor[r]}_isPropertyPending(r){return!!(this.__dataPending&&r in this.__dataPending)}}return e});/**
1187
+ */const Qi={};let mt=HTMLElement.prototype;for(;mt;){let i=Object.getOwnPropertyNames(mt);for(let t=0;t<i.length;t++)Qi[i[t]]=!0;mt=Object.getPrototypeOf(mt)}const es=window.trustedTypes?i=>trustedTypes.isHTML(i)||trustedTypes.isScript(i)||trustedTypes.isScriptURL(i):()=>!1;function is(i,t){if(!Qi[t]){let e=i[t];e!==void 0&&(i.__data?i._setPendingProperty(t,e):(i.__dataProto?i.hasOwnProperty(JSCompiler_renameProperty("__dataProto",i))||(i.__dataProto=Object.create(i.__dataProto)):i.__dataProto={},i.__dataProto[t]=e))}}const rs=b(i=>{const t=Zi(i);class e extends t{static createPropertiesForAttributes(){let r=this.observedAttributes;for(let s=0;s<r.length;s++)this.prototype._createPropertyAccessor(Gi(r[s]))}static attributeNameForProperty(r){return Pt(r)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(r){for(let s in r)this._setProperty(s,r[s])}_ensureAttribute(r,s){const n=this;n.hasAttribute(r)||this._valueToNodeAttribute(n,s,r)}_serializeValue(r){switch(typeof r){case"object":if(r instanceof Date)return r.toString();if(r){if(es(r))return r;try{return JSON.stringify(r)}catch(s){return""}}default:return super._serializeValue(r)}}_deserializeValue(r,s){let n;switch(s){case Object:try{n=JSON.parse(r)}catch(a){n=r}break;case Array:try{n=JSON.parse(r)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${r}`)}break;case Date:n=isNaN(r)?String(r):Number(r),n=new Date(n);break;default:n=super._deserializeValue(r,s);break}return n}_definePropertyAccessor(r,s){is(this,r),super._definePropertyAccessor(r,s)}_hasAccessor(r){return this.__dataHasAccessor&&this.__dataHasAccessor[r]}_isPropertyPending(r){return!!(this.__dataPending&&r in this.__dataPending)}}return e});/**
1188
1188
  @license
1189
1189
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1190
1190
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1192,7 +1192,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1192
1192
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1193
1193
  Code distributed by Google as part of the polymer project is also
1194
1194
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1195
- */const ss={"dom-if":!0,"dom-repeat":!0};let ti=!1,ei=!1;function ns(){if(!ti){ti=!0;const i=document.createElement("textarea");i.placeholder="a",ei=i.placeholder===i.textContent}return ei}function as(i){ns()&&i.localName==="textarea"&&i.placeholder&&i.placeholder===i.textContent&&(i.textContent=null)}const ls=(()=>{const i=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,e,o)=>{const r=e.getAttribute(o);if(i&&o.startsWith("on-")){t.setAttribute(o,i.createScript(r,o));return}t.setAttribute(o,r)}})();function ds(i){let t=i.getAttribute("is");if(t&&ss[t]){let e=i;for(e.removeAttribute("is"),i=e.ownerDocument.createElement(t),e.parentNode.replaceChild(i,e),i.appendChild(e);e.attributes.length;){const{name:o}=e.attributes[0];ls(i,e,o),e.removeAttribute(o)}}return i}function er(i,t){let e=t.parentInfo&&er(i,t.parentInfo);if(e){for(let o=e.firstChild,r=0;o;o=o.nextSibling)if(t.parentIndex===r++)return o}else return i}function cs(i,t,e,o){o.id&&(t[o.id]=e)}function us(i,t,e){if(e.events&&e.events.length)for(let o=0,r=e.events,s;o<r.length&&(s=r[o]);o++)i._addMethodEventListenerToNode(t,s.name,s.value,i)}function hs(i,t,e,o){e.templateInfo&&(t._templateInfo=e.templateInfo,t._parentTemplateInfo=o)}function ps(i,t,e){return i=i._methodHost||i,function(r){i[e]?i[e](r,r.detail):console.warn("listener method `"+e+"` not defined")}}const fs=b(i=>{class t extends i{static _parseTemplate(o,r){if(!o._templateInfo){let s=o._templateInfo={};s.nodeInfoList=[],s.nestedTemplate=!!r,s.stripWhiteSpace=r&&r.stripWhiteSpace||o.hasAttribute&&o.hasAttribute("strip-whitespace"),this._parseTemplateContent(o,s,{parent:null})}return o._templateInfo}static _parseTemplateContent(o,r,s){return this._parseTemplateNode(o.content,r,s)}static _parseTemplateNode(o,r,s){let n=!1,a=o;return a.localName=="template"&&!a.hasAttribute("preserve-content")?n=this._parseTemplateNestedTemplate(a,r,s)||n:a.localName==="slot"&&(r.hasInsertionPoint=!0),as(a),a.firstChild&&this._parseTemplateChildNodes(a,r,s),a.hasAttributes&&a.hasAttributes()&&(n=this._parseTemplateNodeAttributes(a,r,s)||n),n||s.noted}static _parseTemplateChildNodes(o,r,s){if(!(o.localName==="script"||o.localName==="style"))for(let n=o.firstChild,a=0,l;n;n=l){if(n.localName=="template"&&(n=ds(n)),l=n.nextSibling,n.nodeType===Node.TEXT_NODE){let c=l;for(;c&&c.nodeType===Node.TEXT_NODE;)n.textContent+=c.textContent,l=c.nextSibling,o.removeChild(c),c=l;if(r.stripWhiteSpace&&!n.textContent.trim()){o.removeChild(n);continue}}let d={parentIndex:a,parentInfo:s};this._parseTemplateNode(n,r,d)&&(d.infoIndex=r.nodeInfoList.push(d)-1),n.parentNode&&a++}}static _parseTemplateNestedTemplate(o,r,s){let n=o,a=this._parseTemplate(n,r);return(a.content=n.content.ownerDocument.createDocumentFragment()).appendChild(n.content),s.templateInfo=a,!0}static _parseTemplateNodeAttributes(o,r,s){let n=!1,a=Array.from(o.attributes);for(let l=a.length-1,d;d=a[l];l--)n=this._parseTemplateNodeAttribute(o,r,s,d.name,d.value)||n;return n}static _parseTemplateNodeAttribute(o,r,s,n,a){return n.slice(0,3)==="on-"?(o.removeAttribute(n),s.events=s.events||[],s.events.push({name:n.slice(3),value:a}),!0):n==="id"?(s.id=a,!0):!1}static _contentForTemplate(o){let r=o._templateInfo;return r&&r.content||o.content}_stampTemplate(o,r){o&&!o.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(o),r=r||this.constructor._parseTemplate(o);let s=r.nodeInfoList,n=r.content||o.content,a=document.importNode(n,!0);a.__noInsertionPoint=!r.hasInsertionPoint;let l=a.nodeList=new Array(s.length);a.$={};for(let d=0,c=s.length,u;d<c&&(u=s[d]);d++){let h=l[d]=er(a,u);cs(this,a.$,h,u),hs(this,h,u,r),us(this,h,u)}return a=a,a}_addMethodEventListenerToNode(o,r,s,n){n=n||o;let a=ps(n,r,s);return this._addEventListenerToNode(o,r,a),a}_addEventListenerToNode(o,r,s){o.addEventListener(r,s)}_removeEventListenerFromNode(o,r,s){o.removeEventListener(r,s)}}return t});/**
1195
+ */const os={"dom-if":!0,"dom-repeat":!0};let Qe=!1,ti=!1;function ss(){if(!Qe){Qe=!0;const i=document.createElement("textarea");i.placeholder="a",ti=i.placeholder===i.textContent}return ti}function ns(i){ss()&&i.localName==="textarea"&&i.placeholder&&i.placeholder===i.textContent&&(i.textContent=null)}const as=(()=>{const i=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,e,o)=>{const r=e.getAttribute(o);if(i&&o.startsWith("on-")){t.setAttribute(o,i.createScript(r,o));return}t.setAttribute(o,r)}})();function ls(i){let t=i.getAttribute("is");if(t&&os[t]){let e=i;for(e.removeAttribute("is"),i=e.ownerDocument.createElement(t),e.parentNode.replaceChild(i,e),i.appendChild(e);e.attributes.length;){const{name:o}=e.attributes[0];as(i,e,o),e.removeAttribute(o)}}return i}function tr(i,t){let e=t.parentInfo&&tr(i,t.parentInfo);if(e){for(let o=e.firstChild,r=0;o;o=o.nextSibling)if(t.parentIndex===r++)return o}else return i}function ds(i,t,e,o){o.id&&(t[o.id]=e)}function cs(i,t,e){if(e.events&&e.events.length)for(let o=0,r=e.events,s;o<r.length&&(s=r[o]);o++)i._addMethodEventListenerToNode(t,s.name,s.value,i)}function us(i,t,e,o){e.templateInfo&&(t._templateInfo=e.templateInfo,t._parentTemplateInfo=o)}function hs(i,t,e){return i=i._methodHost||i,function(r){i[e]?i[e](r,r.detail):console.warn("listener method `"+e+"` not defined")}}const ps=b(i=>{class t extends i{static _parseTemplate(o,r){if(!o._templateInfo){let s=o._templateInfo={};s.nodeInfoList=[],s.nestedTemplate=!!r,s.stripWhiteSpace=r&&r.stripWhiteSpace||o.hasAttribute&&o.hasAttribute("strip-whitespace"),this._parseTemplateContent(o,s,{parent:null})}return o._templateInfo}static _parseTemplateContent(o,r,s){return this._parseTemplateNode(o.content,r,s)}static _parseTemplateNode(o,r,s){let n=!1,a=o;return a.localName=="template"&&!a.hasAttribute("preserve-content")?n=this._parseTemplateNestedTemplate(a,r,s)||n:a.localName==="slot"&&(r.hasInsertionPoint=!0),ns(a),a.firstChild&&this._parseTemplateChildNodes(a,r,s),a.hasAttributes&&a.hasAttributes()&&(n=this._parseTemplateNodeAttributes(a,r,s)||n),n||s.noted}static _parseTemplateChildNodes(o,r,s){if(!(o.localName==="script"||o.localName==="style"))for(let n=o.firstChild,a=0,l;n;n=l){if(n.localName=="template"&&(n=ls(n)),l=n.nextSibling,n.nodeType===Node.TEXT_NODE){let c=l;for(;c&&c.nodeType===Node.TEXT_NODE;)n.textContent+=c.textContent,l=c.nextSibling,o.removeChild(c),c=l;if(r.stripWhiteSpace&&!n.textContent.trim()){o.removeChild(n);continue}}let d={parentIndex:a,parentInfo:s};this._parseTemplateNode(n,r,d)&&(d.infoIndex=r.nodeInfoList.push(d)-1),n.parentNode&&a++}}static _parseTemplateNestedTemplate(o,r,s){let n=o,a=this._parseTemplate(n,r);return(a.content=n.content.ownerDocument.createDocumentFragment()).appendChild(n.content),s.templateInfo=a,!0}static _parseTemplateNodeAttributes(o,r,s){let n=!1,a=Array.from(o.attributes);for(let l=a.length-1,d;d=a[l];l--)n=this._parseTemplateNodeAttribute(o,r,s,d.name,d.value)||n;return n}static _parseTemplateNodeAttribute(o,r,s,n,a){return n.slice(0,3)==="on-"?(o.removeAttribute(n),s.events=s.events||[],s.events.push({name:n.slice(3),value:a}),!0):n==="id"?(s.id=a,!0):!1}static _contentForTemplate(o){let r=o._templateInfo;return r&&r.content||o.content}_stampTemplate(o,r){o&&!o.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(o),r=r||this.constructor._parseTemplate(o);let s=r.nodeInfoList,n=r.content||o.content,a=document.importNode(n,!0);a.__noInsertionPoint=!r.hasInsertionPoint;let l=a.nodeList=new Array(s.length);a.$={};for(let d=0,c=s.length,u;d<c&&(u=s[d]);d++){let h=l[d]=tr(a,u);ds(this,a.$,h,u),us(this,h,u,r),cs(this,h,u)}return a=a,a}_addMethodEventListenerToNode(o,r,s,n){n=n||o;let a=hs(n,r,s);return this._addEventListenerToNode(o,r,a),a}_addEventListenerToNode(o,r,s){o.addEventListener(r,s)}_removeEventListenerFromNode(o,r,s){o.removeEventListener(r,s)}}return t});/**
1196
1196
  * @fileoverview
1197
1197
  * @suppress {checkPrototypalTypes}
1198
1198
  * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -1202,7 +1202,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1202
1202
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
1203
1203
  * Google as part of the polymer project is also subject to an additional IP
1204
1204
  * rights grant found at http://polymer.github.io/PATENTS.txt
1205
- */let ct=0;const ut=[],f={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},ir="__computeInfo",ms=/[A-Z]/;function Rt(i,t,e){let o=i[t];if(!o)o=i[t]={};else if(!i.hasOwnProperty(t)&&(o=i[t]=Object.create(i[t]),e))for(let r in o){let s=o[r],n=o[r]=Array(s.length);for(let a=0;a<s.length;a++)n[a]=s[a]}return o}function tt(i,t,e,o,r,s){if(t){let n=!1;const a=ct++;for(let l in e){let d=r?F(l):l,c=t[d];if(c)for(let u=0,h=c.length,p;u<h&&(p=c[u]);u++)(!p.info||p.info.lastRun!==a)&&(!r||be(l,p.trigger))&&(p.info&&(p.info.lastRun=a),p.fn(i,l,e,o,p.info,r,s),n=!0)}return n}return!1}function _s(i,t,e,o,r,s,n,a){let l=!1,d=n?F(o):o,c=t[d];if(c)for(let u=0,h=c.length,p;u<h&&(p=c[u]);u++)(!p.info||p.info.lastRun!==e)&&(!n||be(o,p.trigger))&&(p.info&&(p.info.lastRun=e),p.fn(i,o,r,s,p.info,n,a),l=!0);return l}function be(i,t){if(t){let e=t.name;return e==i||!!(t.structured&&Wi(e,i))||!!(t.wildcard&&lt(e,i))}else return!0}function ii(i,t,e,o,r){let s=typeof r.method=="string"?i[r.method]:r.method,n=r.property;s?s.call(i,i.__data[n],o[n]):r.dynamicFn||console.warn("observer method `"+r.method+"` not defined")}function gs(i,t,e,o,r){let s=i[f.NOTIFY],n,a=ct++;for(let d in t)t[d]&&(s&&_s(i,s,a,d,e,o,r)||r&&bs(i,d,e))&&(n=!0);let l;n&&(l=i.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function bs(i,t,e){let o=F(t);if(o!==t){let r=Pt(o)+"-changed";return rr(i,r,e[t],t),!0}return!1}function rr(i,t,e,o){let r={value:e,queueProperty:!0};o&&(r.path=o),O(i).dispatchEvent(new CustomEvent(t,{detail:r}))}function vs(i,t,e,o,r,s){let a=(s?F(t):t)!=t?t:null,l=a?v(i,a):i.__data[t];a&&l===void 0&&(l=e[t]),rr(i,r.eventName,l,a)}function ys(i,t,e,o,r){let s,n=i.detail,a=n&&n.path;a?(o=dt(e,o,a),s=n&&n.value):s=i.currentTarget[e],s=r?!s:s,(!t[f.READ_ONLY]||!t[f.READ_ONLY][o])&&t._setPendingPropertyOrPath(o,s,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function xs(i,t,e,o,r){let s=i.__data[t];xt&&(s=xt(s,r.attrName,"attribute",i)),i._propertyToAttribute(t,r.attrName,s)}function As(i,t,e,o){let r=i[f.COMPUTE];if(r)if($o){ct++;const s=Cs(i),n=[];for(let l in t)ri(l,r,n,s,o);let a;for(;a=n.shift();)or(i,"",t,e,a)&&ri(a.methodInfo,r,n,s,o);Object.assign(e,i.__dataOld),Object.assign(t,i.__dataPending),i.__dataPending=null}else{let s=t;for(;tt(i,r,s,e,o);)Object.assign(e,i.__dataOld),Object.assign(t,i.__dataPending),s=i.__dataPending,i.__dataPending=null}}const ws=(i,t,e)=>{let o=0,r=t.length-1,s=-1;for(;o<=r;){const n=o+r>>1,a=e.get(t[n].methodInfo)-e.get(i.methodInfo);if(a<0)o=n+1;else if(a>0)r=n-1;else{s=n;break}}s<0&&(s=r+1),t.splice(s,0,i)},ri=(i,t,e,o,r)=>{const s=r?F(i):i,n=t[s];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ct&&(!r||be(i,l.trigger))&&(l.info.lastRun=ct,ws(l.info,e,o))}};function Cs(i){let t=i.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=i[f.COMPUTE];let{counts:o,ready:r,total:s}=Es(i),n;for(;n=r.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const d=l.info.methodInfo;--s,--o[d]===0&&r.push(d)})}s!==0&&console.warn(`Computed graph for ${i.localName} incomplete; circular?`),i.constructor.__orderedComputedDeps=t}return t}function Es(i){const t=i[ir],e={},o=i[f.COMPUTE],r=[];let s=0;for(let n in t){const a=t[n];s+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in o)t[n]||r.push(n);return{counts:e,ready:r,total:s}}function or(i,t,e,o,r){let s=Qt(i,t,e,o,r);if(s===ut)return!1;let n=r.methodInfo;return i.__dataHasAccessor&&i.__dataHasAccessor[n]?i._setPendingProperty(n,s,!0):(i[n]=s,!1)}function Ps(i,t,e){let o=i.__dataLinkedPaths;if(o){let r;for(let s in o){let n=o[s];lt(s,t)?(r=dt(s,n,t),i._setPendingPropertyOrPath(r,e,!0,!0)):lt(n,t)&&(r=dt(n,s,t),i._setPendingPropertyOrPath(r,e,!0,!0))}}}function Ft(i,t,e,o,r,s,n){e.bindings=e.bindings||[];let a={kind:o,target:r,parts:s,literal:n,isCompound:s.length!==1};if(e.bindings.push(a),Os(a)){let{event:d,negate:c}=a.parts[0];a.listenerEvent=d||Pt(r)+"-changed",a.listenerNegate=c}let l=t.nodeInfoList.length;for(let d=0;d<a.parts.length;d++){let c=a.parts[d];c.compoundIndex=d,Ts(i,t,a,c,l)}}function Ts(i,t,e,o,r){if(!o.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let s=o.dependencies,n={index:r,binding:e,part:o,evaluator:i};for(let a=0;a<s.length;a++){let l=s[a];typeof l=="string"&&(l=nr(l),l.wildcard=!0),i._addTemplatePropertyEffect(t,l.rootProperty,{fn:Ss,info:n,trigger:l})}}}function Ss(i,t,e,o,r,s,n){let a=n[r.index],l=r.binding,d=r.part;if(s&&d.source&&t.length>d.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let c=e[t];t=dt(d.source,l.target,t),a._setPendingPropertyOrPath(t,c,!1,!0)&&i._enqueueClient(a)}else{let c=r.evaluator._evaluateBinding(i,d,t,e,o,s);c!==ut&&Ns(i,a,l,d,c)}}function Ns(i,t,e,o,r){if(r=ks(t,r,e,o),xt&&(r=xt(r,e.target,e.kind,t)),e.kind=="attribute")i._valueToNodeAttribute(t,r,e.target);else{let s=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[s]?(!t[f.READ_ONLY]||!t[f.READ_ONLY][s])&&t._setPendingProperty(s,r)&&i._enqueueClient(t):i._setUnmanagedPropertyToNode(t,s,r)}}function ks(i,t,e,o){if(e.isCompound){let r=i.__dataCompoundStorage[e.target];r[o.compoundIndex]=t,t=r.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(i.localName==="input"||i.localName==="textarea"))&&(t=t==null?"":t),t}function Os(i){return!!i.target&&i.kind!="attribute"&&i.kind!="text"&&!i.isCompound&&i.parts[0].mode==="{"}function Ms(i,t){let{nodeList:e,nodeInfoList:o}=t;if(o.length)for(let r=0;r<o.length;r++){let s=o[r],n=e[r],a=s.bindings;if(a)for(let l=0;l<a.length;l++){let d=a[l];Is(n,d),Ds(n,i,d)}n.__dataHost=i}}function Is(i,t){if(t.isCompound){let e=i.__dataCompoundStorage||(i.__dataCompoundStorage={}),o=t.parts,r=new Array(o.length);for(let n=0;n<o.length;n++)r[n]=o[n].literal;let s=t.target;e[s]=r,t.literal&&t.kind=="property"&&(s==="className"&&(i=O(i)),i[s]=t.literal)}}function Ds(i,t,e){if(e.listenerEvent){let o=e.parts[0];i.addEventListener(e.listenerEvent,function(r){ys(r,t,e.target,o.source,o.negate)})}}function oi(i,t,e,o,r,s){s=t.static||s&&(typeof s!="object"||s[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:r,dynamicFn:s};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||i._addPropertyEffect(l.rootProperty,e,{fn:o,info:n,trigger:l});return s&&i._addPropertyEffect(t.methodName,e,{fn:o,info:n}),n}function Qt(i,t,e,o,r){let s=i._methodHost||i,n=s[r.methodName];if(n){let a=i._marshalArgs(r.args,t,e);return a===ut?ut:n.apply(s,a)}else r.dynamicFn||console.warn("method `"+r.methodName+"` not defined")}const zs=[],sr="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Ls="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",$s="(?:'(?:[^'\\\\]|\\\\.)*')",Rs='(?:"(?:[^"\\\\]|\\\\.)*")',Fs="(?:"+$s+"|"+Rs+")",si="(?:("+sr+"|"+Ls+"|"+Fs+")\\s*)",Bs="(?:"+si+"(?:,\\s*"+si+")*)",Us="(?:\\(\\s*(?:"+Bs+"?)\\)\\s*)",Hs="("+sr+"\\s*"+Us+"?)",Vs="(\\[\\[|{{)\\s*",js="(?:]]|}})",qs="(?:(!)\\s*)?",Ys=Vs+qs+Hs+js,ni=new RegExp(Ys,"g");function ai(i){let t="";for(let e=0;e<i.length;e++){let o=i[e].literal;t+=o||""}return t}function Bt(i){let t=i.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let o={methodName:t[1],static:!0,args:zs};if(t[2].trim()){let r=t[2].replace(/\\,/g,"&comma;").split(",");return Ws(r,o)}else return o}return null}function Ws(i,t){return t.args=i.map(function(e){let o=nr(e);return o.literal||(t.static=!1),o},this),t}function nr(i){let t=i.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},o=t[0];switch(o==="-"&&(o=t[1]),o>="0"&&o<="9"&&(o="#"),o){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=F(t),e.structured=Xt(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function li(i,t,e){let o=v(i,e);return o===void 0&&(o=t[e]),o}function ar(i,t,e,o){const r={indexSplices:o};Jt&&!i._overrideLegacyUndefined&&(t.splices=r),i.notifyPath(e+".splices",r),i.notifyPath(e+".length",t.length),Jt&&!i._overrideLegacyUndefined&&(r.indexSplices=[])}function J(i,t,e,o,r,s){ar(i,t,e,[{index:o,addedCount:r,removed:s,object:t,type:"splice"}])}function Gs(i){return i[0].toUpperCase()+i.substring(1)}const lr=b(i=>{const t=fs(os(i));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0}get PROPERTY_EFFECT_TYPES(){return f}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(X.length){let r=X[X.length-1];r._enqueueClient(this),this.__dataHost=r}}_initializeProtoProperties(r){this.__data=Object.create(r),this.__dataPending=Object.create(r),this.__dataOld={}}_initializeInstanceProperties(r){let s=this[f.READ_ONLY];for(let n in r)(!s||!s[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=r[n])}_addPropertyEffect(r,s,n){this._createPropertyAccessor(r,s==f.READ_ONLY);let a=Rt(this,s,!0)[r];a||(a=this[s][r]=[]),a.push(n)}_removePropertyEffect(r,s,n){let a=Rt(this,s,!0)[r],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(r,s){let n=this[s];return!!(n&&n[r])}_hasReadOnlyEffect(r){return this._hasPropertyEffect(r,f.READ_ONLY)}_hasNotifyEffect(r){return this._hasPropertyEffect(r,f.NOTIFY)}_hasReflectEffect(r){return this._hasPropertyEffect(r,f.REFLECT)}_hasComputedEffect(r){return this._hasPropertyEffect(r,f.COMPUTE)}_setPendingPropertyOrPath(r,s,n,a){if(a||F(Array.isArray(r)?r[0]:r)!==r){if(!a){let l=v(this,r);if(r=Qe(this,r,s),!r||!super._shouldPropertyChange(r,s,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(r,s,n))return Ps(this,r,s),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[r])return this._setPendingProperty(r,s,n);this[r]=s}return!1}_setUnmanagedPropertyToNode(r,s,n){(n!==r[s]||typeof n=="object")&&(s==="className"&&(r=O(r)),r[s]=n)}_setPendingProperty(r,s,n){let a=this.__dataHasPaths&&Xt(r),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(r,s,l[r])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),r in this.__dataOld||(this.__dataOld[r]=this.__data[r]),a?this.__dataTemp[r]=s:this.__data[r]=s,this.__dataPending[r]=s,(a||this[f.NOTIFY]&&this[f.NOTIFY][r])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[r]=n),!0):!1}_setProperty(r,s){this._setPendingProperty(r,s,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(r){this.__dataPendingClients=this.__dataPendingClients||[],r!==this&&this.__dataPendingClients.push(r)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let r=this.__dataPendingClients;if(r){this.__dataPendingClients=null;for(let s=0;s<r.length;s++){let n=r[s];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(r,s){for(let n in r)(s||!this[f.READ_ONLY]||!this[f.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,r[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(r,s,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;As(this,s,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(s,n,a),this._flushClients(),tt(this,this[f.REFLECT],s,n,a),tt(this,this[f.OBSERVE],s,n,a),l&&gs(this,l,s,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(r,s,n){this[f.PROPAGATE]&&tt(this,this[f.PROPAGATE],r,s,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,r,s,n)}_runEffectsForTemplate(r,s,n,a){const l=(d,c)=>{tt(this,r.propertyEffects,d,n,c,r.nodeList);for(let u=r.firstChild;u;u=u.nextSibling)this._runEffectsForTemplate(u,d,n,c)};r.runEffects?r.runEffects(l,s,a):l(s,a)}linkPaths(r,s){r=Q(r),s=Q(s),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[r]=s}unlinkPaths(r){r=Q(r),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[r]}notifySplices(r,s){let n={path:""},a=v(this,r,n);ar(this,a,n.path,s)}get(r,s){return v(s||this,r)}set(r,s,n){n?Qe(n,r,s):(!this[f.READ_ONLY]||!this[f.READ_ONLY][r])&&this._setPendingPropertyOrPath(r,s,!0)&&this._invalidateProperties()}push(r,...s){let n={path:""},a=v(this,r,n),l=a.length,d=a.push(...s);return s.length&&J(this,a,n.path,l,s.length,[]),d}pop(r){let s={path:""},n=v(this,r,s),a=!!n.length,l=n.pop();return a&&J(this,n,s.path,n.length,0,[l]),l}splice(r,s,n,...a){let l={path:""},d=v(this,r,l);s<0?s=d.length-Math.floor(-s):s&&(s=Math.floor(s));let c;return arguments.length===2?c=d.splice(s):c=d.splice(s,n,...a),(a.length||c.length)&&J(this,d,l.path,s,a.length,c),c}shift(r){let s={path:""},n=v(this,r,s),a=!!n.length,l=n.shift();return a&&J(this,n,s.path,0,0,[l]),l}unshift(r,...s){let n={path:""},a=v(this,r,n),l=a.unshift(...s);return s.length&&J(this,a,n.path,0,s.length,[]),l}notifyPath(r,s){let n;if(arguments.length==1){let a={path:""};s=v(this,r,a),n=a.path}else Array.isArray(r)?n=Q(r):n=r;this._setPendingPropertyOrPath(n,s,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(r,s){this._addPropertyEffect(r,f.READ_ONLY),s&&(this["_set"+Gs(r)]=function(n){this._setProperty(r,n)})}_createPropertyObserver(r,s,n){let a={property:r,method:s,dynamicFn:!!n};this._addPropertyEffect(r,f.OBSERVE,{fn:ii,info:a,trigger:{name:r}}),n&&this._addPropertyEffect(s,f.OBSERVE,{fn:ii,info:a,trigger:{name:s}})}_createMethodObserver(r,s){let n=Bt(r);if(!n)throw new Error("Malformed observer expression '"+r+"'");oi(this,n,f.OBSERVE,Qt,null,s)}_createNotifyingProperty(r){this._addPropertyEffect(r,f.NOTIFY,{fn:vs,info:{eventName:Pt(r)+"-changed",property:r}})}_createReflectedProperty(r){let s=this.constructor.attributeNameForProperty(r);s[0]==="-"?console.warn("Property "+r+" cannot be reflected to attribute "+s+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(r,f.REFLECT,{fn:xs,info:{attrName:s}})}_createComputedProperty(r,s,n){let a=Bt(s);if(!a)throw new Error("Malformed computed expression '"+s+"'");const l=oi(this,a,f.COMPUTE,or,r,n);Rt(this,ir)[r]=l}_marshalArgs(r,s,n){const a=this.__data,l=[];for(let d=0,c=r.length;d<c;d++){let{name:u,structured:h,wildcard:p,value:m,literal:w}=r[d];if(!w)if(p){const C=lt(u,s),y=li(a,n,C?s:u);m={path:C?s:u,value:y,base:C?v(a,u):y}}else m=h?li(a,n,u):a[u];if(Jt&&!this._overrideLegacyUndefined&&m===void 0&&r.length>1)return ut;l[d]=m}return l}static addPropertyEffect(r,s,n){this.prototype._addPropertyEffect(r,s,n)}static createPropertyObserver(r,s,n){this.prototype._createPropertyObserver(r,s,n)}static createMethodObserver(r,s){this.prototype._createMethodObserver(r,s)}static createNotifyingProperty(r){this.prototype._createNotifyingProperty(r)}static createReadOnlyProperty(r,s){this.prototype._createReadOnlyProperty(r,s)}static createReflectedProperty(r){this.prototype._createReflectedProperty(r)}static createComputedProperty(r,s,n){this.prototype._createComputedProperty(r,s,n)}static bindTemplate(r){return this.prototype._bindTemplate(r)}_bindTemplate(r,s){let n=this.constructor._parseTemplate(r),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(s)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=r._parentTemplateInfo||this.__templateInfo,d=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=d,d?d.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(r,s,n){let a=r.hostProps=r.hostProps||{};a[s]=!0;let l=r.propertyEffects=r.propertyEffects||{};(l[s]=l[s]||[]).push(n)}_stampTemplate(r,s){s=s||this._bindTemplate(r,!0),X.push(this);let n=super._stampTemplate(r,s);if(X.pop(),s.nodeList=n.nodeList,!s.wasPreBound){let a=s.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)a.push(l)}return n.templateInfo=s,Ms(this,s),this.__dataClientsReady&&(this._runEffectsForTemplate(s,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(r){const s=r.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=s;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),s.nextSibling=s.previousSibling=null;let d=s.childNodes;for(let c=0;c<d.length;c++){let u=d[c];O(O(u).parentNode).removeChild(u)}}static _parseTemplateNode(r,s,n){let a=t._parseTemplateNode.call(this,r,s,n);if(r.nodeType===Node.TEXT_NODE){let l=this._parseBindings(r.textContent,s);l&&(r.textContent=ai(l)||" ",Ft(this,s,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(r,s,n,a,l){let d=this._parseBindings(l,s);if(d){let c=a,u="property";ms.test(a)?u="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),u="attribute");let h=ai(d);return h&&u=="attribute"&&(a=="class"&&r.hasAttribute("class")&&(h+=" "+r.getAttribute(a)),r.setAttribute(a,h)),u=="attribute"&&c=="disable-upgrade$"&&r.setAttribute(a,""),r.localName==="input"&&c==="value"&&r.setAttribute(c,""),r.removeAttribute(c),u==="property"&&(a=Ki(a)),Ft(this,s,n,u,a,d,h),!0}else return t._parseTemplateNodeAttribute.call(this,r,s,n,a,l)}static _parseTemplateNestedTemplate(r,s,n){let a=t._parseTemplateNestedTemplate.call(this,r,s,n);const l=r.parentNode,d=n.templateInfo,c=l.localName==="dom-if",u=l.localName==="dom-repeat";Ge&&(c||u)&&(l.removeChild(r),n=n.parentInfo,n.templateInfo=d,n.noted=!0,a=!1);let h=d.hostProps;if(Ro&&c)h&&(s.hostProps=Object.assign(s.hostProps||{},h),Ge||(n.parentInfo.noted=!0));else{let p="{";for(let m in h){let w=[{mode:p,source:m,dependencies:[m],hostProp:!0}];Ft(this,s,n,"property","_host_"+m,w)}}return a}static _parseBindings(r,s){let n=[],a=0,l;for(;(l=ni.exec(r))!==null;){l.index>a&&n.push({literal:r.slice(a,l.index)});let d=l[1][0],c=!!l[2],u=l[3].trim(),h=!1,p="",m=-1;d=="{"&&(m=u.indexOf("::"))>0&&(p=u.substring(m+2),u=u.substring(0,m),h=!0);let w=Bt(u),C=[];if(w){let{args:y,methodName:x}=w;for(let Ot=0;Ot<y.length;Ot++){let De=y[Ot];De.literal||C.push(De)}let B=s.dynamicFns;(B&&B[x]||w.static)&&(C.push(x),w.dynamicFn=!0)}else C.push(u);n.push({source:u,mode:d,negate:c,customEvent:h,signature:w,dependencies:C,event:p}),a=ni.lastIndex}if(a&&a<r.length){let d=r.substring(a);d&&n.push({literal:d})}return n.length?n:null}static _evaluateBinding(r,s,n,a,l,d){let c;return s.signature?c=Qt(r,n,a,l,s.signature):n!=s.source?c=v(r,s.source):d&&Xt(n)?c=v(r,n):c=r.__data[n],s.negate&&(c=!c),c}}return e}),X=[];/**
1205
+ */let ct=0;const ut=[],f={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},er="__computeInfo",fs=/[A-Z]/;function Rt(i,t,e){let o=i[t];if(!o)o=i[t]={};else if(!i.hasOwnProperty(t)&&(o=i[t]=Object.create(i[t]),e))for(let r in o){let s=o[r],n=o[r]=Array(s.length);for(let a=0;a<s.length;a++)n[a]=s[a]}return o}function tt(i,t,e,o,r,s){if(t){let n=!1;const a=ct++;for(let l in e){let d=r?F(l):l,c=t[d];if(c)for(let u=0,h=c.length,p;u<h&&(p=c[u]);u++)(!p.info||p.info.lastRun!==a)&&(!r||be(l,p.trigger))&&(p.info&&(p.info.lastRun=a),p.fn(i,l,e,o,p.info,r,s),n=!0)}return n}return!1}function ms(i,t,e,o,r,s,n,a){let l=!1,d=n?F(o):o,c=t[d];if(c)for(let u=0,h=c.length,p;u<h&&(p=c[u]);u++)(!p.info||p.info.lastRun!==e)&&(!n||be(o,p.trigger))&&(p.info&&(p.info.lastRun=e),p.fn(i,o,r,s,p.info,n,a),l=!0);return l}function be(i,t){if(t){let e=t.name;return e==i||!!(t.structured&&Yi(e,i))||!!(t.wildcard&&lt(e,i))}else return!0}function ei(i,t,e,o,r){let s=typeof r.method=="string"?i[r.method]:r.method,n=r.property;s?s.call(i,i.__data[n],o[n]):r.dynamicFn||console.warn("observer method `"+r.method+"` not defined")}function _s(i,t,e,o,r){let s=i[f.NOTIFY],n,a=ct++;for(let d in t)t[d]&&(s&&ms(i,s,a,d,e,o,r)||r&&gs(i,d,e))&&(n=!0);let l;n&&(l=i.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function gs(i,t,e){let o=F(t);if(o!==t){let r=Pt(o)+"-changed";return ir(i,r,e[t],t),!0}return!1}function ir(i,t,e,o){let r={value:e,queueProperty:!0};o&&(r.path=o),O(i).dispatchEvent(new CustomEvent(t,{detail:r}))}function bs(i,t,e,o,r,s){let a=(s?F(t):t)!=t?t:null,l=a?v(i,a):i.__data[t];a&&l===void 0&&(l=e[t]),ir(i,r.eventName,l,a)}function vs(i,t,e,o,r){let s,n=i.detail,a=n&&n.path;a?(o=dt(e,o,a),s=n&&n.value):s=i.currentTarget[e],s=r?!s:s,(!t[f.READ_ONLY]||!t[f.READ_ONLY][o])&&t._setPendingPropertyOrPath(o,s,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function ys(i,t,e,o,r){let s=i.__data[t];xt&&(s=xt(s,r.attrName,"attribute",i)),i._propertyToAttribute(t,r.attrName,s)}function xs(i,t,e,o){let r=i[f.COMPUTE];if(r)if(Lo){ct++;const s=ws(i),n=[];for(let l in t)ii(l,r,n,s,o);let a;for(;a=n.shift();)rr(i,"",t,e,a)&&ii(a.methodInfo,r,n,s,o);Object.assign(e,i.__dataOld),Object.assign(t,i.__dataPending),i.__dataPending=null}else{let s=t;for(;tt(i,r,s,e,o);)Object.assign(e,i.__dataOld),Object.assign(t,i.__dataPending),s=i.__dataPending,i.__dataPending=null}}const As=(i,t,e)=>{let o=0,r=t.length-1,s=-1;for(;o<=r;){const n=o+r>>1,a=e.get(t[n].methodInfo)-e.get(i.methodInfo);if(a<0)o=n+1;else if(a>0)r=n-1;else{s=n;break}}s<0&&(s=r+1),t.splice(s,0,i)},ii=(i,t,e,o,r)=>{const s=r?F(i):i,n=t[s];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ct&&(!r||be(i,l.trigger))&&(l.info.lastRun=ct,As(l.info,e,o))}};function ws(i){let t=i.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=i[f.COMPUTE];let{counts:o,ready:r,total:s}=Cs(i),n;for(;n=r.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const d=l.info.methodInfo;--s,--o[d]===0&&r.push(d)})}s!==0&&console.warn(`Computed graph for ${i.localName} incomplete; circular?`),i.constructor.__orderedComputedDeps=t}return t}function Cs(i){const t=i[er],e={},o=i[f.COMPUTE],r=[];let s=0;for(let n in t){const a=t[n];s+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in o)t[n]||r.push(n);return{counts:e,ready:r,total:s}}function rr(i,t,e,o,r){let s=Qt(i,t,e,o,r);if(s===ut)return!1;let n=r.methodInfo;return i.__dataHasAccessor&&i.__dataHasAccessor[n]?i._setPendingProperty(n,s,!0):(i[n]=s,!1)}function Es(i,t,e){let o=i.__dataLinkedPaths;if(o){let r;for(let s in o){let n=o[s];lt(s,t)?(r=dt(s,n,t),i._setPendingPropertyOrPath(r,e,!0,!0)):lt(n,t)&&(r=dt(n,s,t),i._setPendingPropertyOrPath(r,e,!0,!0))}}}function Ft(i,t,e,o,r,s,n){e.bindings=e.bindings||[];let a={kind:o,target:r,parts:s,literal:n,isCompound:s.length!==1};if(e.bindings.push(a),ks(a)){let{event:d,negate:c}=a.parts[0];a.listenerEvent=d||Pt(r)+"-changed",a.listenerNegate=c}let l=t.nodeInfoList.length;for(let d=0;d<a.parts.length;d++){let c=a.parts[d];c.compoundIndex=d,Ps(i,t,a,c,l)}}function Ps(i,t,e,o,r){if(!o.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let s=o.dependencies,n={index:r,binding:e,part:o,evaluator:i};for(let a=0;a<s.length;a++){let l=s[a];typeof l=="string"&&(l=sr(l),l.wildcard=!0),i._addTemplatePropertyEffect(t,l.rootProperty,{fn:Ts,info:n,trigger:l})}}}function Ts(i,t,e,o,r,s,n){let a=n[r.index],l=r.binding,d=r.part;if(s&&d.source&&t.length>d.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let c=e[t];t=dt(d.source,l.target,t),a._setPendingPropertyOrPath(t,c,!1,!0)&&i._enqueueClient(a)}else{let c=r.evaluator._evaluateBinding(i,d,t,e,o,s);c!==ut&&Ss(i,a,l,d,c)}}function Ss(i,t,e,o,r){if(r=Ns(t,r,e,o),xt&&(r=xt(r,e.target,e.kind,t)),e.kind=="attribute")i._valueToNodeAttribute(t,r,e.target);else{let s=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[s]?(!t[f.READ_ONLY]||!t[f.READ_ONLY][s])&&t._setPendingProperty(s,r)&&i._enqueueClient(t):i._setUnmanagedPropertyToNode(t,s,r)}}function Ns(i,t,e,o){if(e.isCompound){let r=i.__dataCompoundStorage[e.target];r[o.compoundIndex]=t,t=r.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(i.localName==="input"||i.localName==="textarea"))&&(t=t==null?"":t),t}function ks(i){return!!i.target&&i.kind!="attribute"&&i.kind!="text"&&!i.isCompound&&i.parts[0].mode==="{"}function Os(i,t){let{nodeList:e,nodeInfoList:o}=t;if(o.length)for(let r=0;r<o.length;r++){let s=o[r],n=e[r],a=s.bindings;if(a)for(let l=0;l<a.length;l++){let d=a[l];Ms(n,d),Is(n,i,d)}n.__dataHost=i}}function Ms(i,t){if(t.isCompound){let e=i.__dataCompoundStorage||(i.__dataCompoundStorage={}),o=t.parts,r=new Array(o.length);for(let n=0;n<o.length;n++)r[n]=o[n].literal;let s=t.target;e[s]=r,t.literal&&t.kind=="property"&&(s==="className"&&(i=O(i)),i[s]=t.literal)}}function Is(i,t,e){if(e.listenerEvent){let o=e.parts[0];i.addEventListener(e.listenerEvent,function(r){vs(r,t,e.target,o.source,o.negate)})}}function ri(i,t,e,o,r,s){s=t.static||s&&(typeof s!="object"||s[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:r,dynamicFn:s};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||i._addPropertyEffect(l.rootProperty,e,{fn:o,info:n,trigger:l});return s&&i._addPropertyEffect(t.methodName,e,{fn:o,info:n}),n}function Qt(i,t,e,o,r){let s=i._methodHost||i,n=s[r.methodName];if(n){let a=i._marshalArgs(r.args,t,e);return a===ut?ut:n.apply(s,a)}else r.dynamicFn||console.warn("method `"+r.methodName+"` not defined")}const Ds=[],or="(?:[a-zA-Z_$][\\w.:$\\-*]*)",zs="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Ls="(?:'(?:[^'\\\\]|\\\\.)*')",$s='(?:"(?:[^"\\\\]|\\\\.)*")',Rs="(?:"+Ls+"|"+$s+")",oi="(?:("+or+"|"+zs+"|"+Rs+")\\s*)",Fs="(?:"+oi+"(?:,\\s*"+oi+")*)",Bs="(?:\\(\\s*(?:"+Fs+"?)\\)\\s*)",Us="("+or+"\\s*"+Bs+"?)",Hs="(\\[\\[|{{)\\s*",Vs="(?:]]|}})",js="(?:(!)\\s*)?",qs=Hs+js+Us+Vs,si=new RegExp(qs,"g");function ni(i){let t="";for(let e=0;e<i.length;e++){let o=i[e].literal;t+=o||""}return t}function Bt(i){let t=i.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let o={methodName:t[1],static:!0,args:Ds};if(t[2].trim()){let r=t[2].replace(/\\,/g,"&comma;").split(",");return Ys(r,o)}else return o}return null}function Ys(i,t){return t.args=i.map(function(e){let o=sr(e);return o.literal||(t.static=!1),o},this),t}function sr(i){let t=i.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},o=t[0];switch(o==="-"&&(o=t[1]),o>="0"&&o<="9"&&(o="#"),o){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=F(t),e.structured=Xt(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function ai(i,t,e){let o=v(i,e);return o===void 0&&(o=t[e]),o}function nr(i,t,e,o){const r={indexSplices:o};Jt&&!i._overrideLegacyUndefined&&(t.splices=r),i.notifyPath(e+".splices",r),i.notifyPath(e+".length",t.length),Jt&&!i._overrideLegacyUndefined&&(r.indexSplices=[])}function J(i,t,e,o,r,s){nr(i,t,e,[{index:o,addedCount:r,removed:s,object:t,type:"splice"}])}function Ws(i){return i[0].toUpperCase()+i.substring(1)}const ar=b(i=>{const t=ps(rs(i));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0}get PROPERTY_EFFECT_TYPES(){return f}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(X.length){let r=X[X.length-1];r._enqueueClient(this),this.__dataHost=r}}_initializeProtoProperties(r){this.__data=Object.create(r),this.__dataPending=Object.create(r),this.__dataOld={}}_initializeInstanceProperties(r){let s=this[f.READ_ONLY];for(let n in r)(!s||!s[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=r[n])}_addPropertyEffect(r,s,n){this._createPropertyAccessor(r,s==f.READ_ONLY);let a=Rt(this,s,!0)[r];a||(a=this[s][r]=[]),a.push(n)}_removePropertyEffect(r,s,n){let a=Rt(this,s,!0)[r],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(r,s){let n=this[s];return!!(n&&n[r])}_hasReadOnlyEffect(r){return this._hasPropertyEffect(r,f.READ_ONLY)}_hasNotifyEffect(r){return this._hasPropertyEffect(r,f.NOTIFY)}_hasReflectEffect(r){return this._hasPropertyEffect(r,f.REFLECT)}_hasComputedEffect(r){return this._hasPropertyEffect(r,f.COMPUTE)}_setPendingPropertyOrPath(r,s,n,a){if(a||F(Array.isArray(r)?r[0]:r)!==r){if(!a){let l=v(this,r);if(r=Ze(this,r,s),!r||!super._shouldPropertyChange(r,s,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(r,s,n))return Es(this,r,s),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[r])return this._setPendingProperty(r,s,n);this[r]=s}return!1}_setUnmanagedPropertyToNode(r,s,n){(n!==r[s]||typeof n=="object")&&(s==="className"&&(r=O(r)),r[s]=n)}_setPendingProperty(r,s,n){let a=this.__dataHasPaths&&Xt(r),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(r,s,l[r])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),r in this.__dataOld||(this.__dataOld[r]=this.__data[r]),a?this.__dataTemp[r]=s:this.__data[r]=s,this.__dataPending[r]=s,(a||this[f.NOTIFY]&&this[f.NOTIFY][r])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[r]=n),!0):!1}_setProperty(r,s){this._setPendingProperty(r,s,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(r){this.__dataPendingClients=this.__dataPendingClients||[],r!==this&&this.__dataPendingClients.push(r)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let r=this.__dataPendingClients;if(r){this.__dataPendingClients=null;for(let s=0;s<r.length;s++){let n=r[s];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(r,s){for(let n in r)(s||!this[f.READ_ONLY]||!this[f.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,r[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(r,s,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;xs(this,s,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(s,n,a),this._flushClients(),tt(this,this[f.REFLECT],s,n,a),tt(this,this[f.OBSERVE],s,n,a),l&&_s(this,l,s,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(r,s,n){this[f.PROPAGATE]&&tt(this,this[f.PROPAGATE],r,s,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,r,s,n)}_runEffectsForTemplate(r,s,n,a){const l=(d,c)=>{tt(this,r.propertyEffects,d,n,c,r.nodeList);for(let u=r.firstChild;u;u=u.nextSibling)this._runEffectsForTemplate(u,d,n,c)};r.runEffects?r.runEffects(l,s,a):l(s,a)}linkPaths(r,s){r=Q(r),s=Q(s),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[r]=s}unlinkPaths(r){r=Q(r),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[r]}notifySplices(r,s){let n={path:""},a=v(this,r,n);nr(this,a,n.path,s)}get(r,s){return v(s||this,r)}set(r,s,n){n?Ze(n,r,s):(!this[f.READ_ONLY]||!this[f.READ_ONLY][r])&&this._setPendingPropertyOrPath(r,s,!0)&&this._invalidateProperties()}push(r,...s){let n={path:""},a=v(this,r,n),l=a.length,d=a.push(...s);return s.length&&J(this,a,n.path,l,s.length,[]),d}pop(r){let s={path:""},n=v(this,r,s),a=!!n.length,l=n.pop();return a&&J(this,n,s.path,n.length,0,[l]),l}splice(r,s,n,...a){let l={path:""},d=v(this,r,l);s<0?s=d.length-Math.floor(-s):s&&(s=Math.floor(s));let c;return arguments.length===2?c=d.splice(s):c=d.splice(s,n,...a),(a.length||c.length)&&J(this,d,l.path,s,a.length,c),c}shift(r){let s={path:""},n=v(this,r,s),a=!!n.length,l=n.shift();return a&&J(this,n,s.path,0,0,[l]),l}unshift(r,...s){let n={path:""},a=v(this,r,n),l=a.unshift(...s);return s.length&&J(this,a,n.path,0,s.length,[]),l}notifyPath(r,s){let n;if(arguments.length==1){let a={path:""};s=v(this,r,a),n=a.path}else Array.isArray(r)?n=Q(r):n=r;this._setPendingPropertyOrPath(n,s,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(r,s){this._addPropertyEffect(r,f.READ_ONLY),s&&(this["_set"+Ws(r)]=function(n){this._setProperty(r,n)})}_createPropertyObserver(r,s,n){let a={property:r,method:s,dynamicFn:!!n};this._addPropertyEffect(r,f.OBSERVE,{fn:ei,info:a,trigger:{name:r}}),n&&this._addPropertyEffect(s,f.OBSERVE,{fn:ei,info:a,trigger:{name:s}})}_createMethodObserver(r,s){let n=Bt(r);if(!n)throw new Error("Malformed observer expression '"+r+"'");ri(this,n,f.OBSERVE,Qt,null,s)}_createNotifyingProperty(r){this._addPropertyEffect(r,f.NOTIFY,{fn:bs,info:{eventName:Pt(r)+"-changed",property:r}})}_createReflectedProperty(r){let s=this.constructor.attributeNameForProperty(r);s[0]==="-"?console.warn("Property "+r+" cannot be reflected to attribute "+s+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(r,f.REFLECT,{fn:ys,info:{attrName:s}})}_createComputedProperty(r,s,n){let a=Bt(s);if(!a)throw new Error("Malformed computed expression '"+s+"'");const l=ri(this,a,f.COMPUTE,rr,r,n);Rt(this,er)[r]=l}_marshalArgs(r,s,n){const a=this.__data,l=[];for(let d=0,c=r.length;d<c;d++){let{name:u,structured:h,wildcard:p,value:m,literal:w}=r[d];if(!w)if(p){const C=lt(u,s),y=ai(a,n,C?s:u);m={path:C?s:u,value:y,base:C?v(a,u):y}}else m=h?ai(a,n,u):a[u];if(Jt&&!this._overrideLegacyUndefined&&m===void 0&&r.length>1)return ut;l[d]=m}return l}static addPropertyEffect(r,s,n){this.prototype._addPropertyEffect(r,s,n)}static createPropertyObserver(r,s,n){this.prototype._createPropertyObserver(r,s,n)}static createMethodObserver(r,s){this.prototype._createMethodObserver(r,s)}static createNotifyingProperty(r){this.prototype._createNotifyingProperty(r)}static createReadOnlyProperty(r,s){this.prototype._createReadOnlyProperty(r,s)}static createReflectedProperty(r){this.prototype._createReflectedProperty(r)}static createComputedProperty(r,s,n){this.prototype._createComputedProperty(r,s,n)}static bindTemplate(r){return this.prototype._bindTemplate(r)}_bindTemplate(r,s){let n=this.constructor._parseTemplate(r),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(s)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=r._parentTemplateInfo||this.__templateInfo,d=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=d,d?d.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(r,s,n){let a=r.hostProps=r.hostProps||{};a[s]=!0;let l=r.propertyEffects=r.propertyEffects||{};(l[s]=l[s]||[]).push(n)}_stampTemplate(r,s){s=s||this._bindTemplate(r,!0),X.push(this);let n=super._stampTemplate(r,s);if(X.pop(),s.nodeList=n.nodeList,!s.wasPreBound){let a=s.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)a.push(l)}return n.templateInfo=s,Os(this,s),this.__dataClientsReady&&(this._runEffectsForTemplate(s,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(r){const s=r.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=s;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),s.nextSibling=s.previousSibling=null;let d=s.childNodes;for(let c=0;c<d.length;c++){let u=d[c];O(O(u).parentNode).removeChild(u)}}static _parseTemplateNode(r,s,n){let a=t._parseTemplateNode.call(this,r,s,n);if(r.nodeType===Node.TEXT_NODE){let l=this._parseBindings(r.textContent,s);l&&(r.textContent=ni(l)||" ",Ft(this,s,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(r,s,n,a,l){let d=this._parseBindings(l,s);if(d){let c=a,u="property";fs.test(a)?u="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),u="attribute");let h=ni(d);return h&&u=="attribute"&&(a=="class"&&r.hasAttribute("class")&&(h+=" "+r.getAttribute(a)),r.setAttribute(a,h)),u=="attribute"&&c=="disable-upgrade$"&&r.setAttribute(a,""),r.localName==="input"&&c==="value"&&r.setAttribute(c,""),r.removeAttribute(c),u==="property"&&(a=Gi(a)),Ft(this,s,n,u,a,d,h),!0}else return t._parseTemplateNodeAttribute.call(this,r,s,n,a,l)}static _parseTemplateNestedTemplate(r,s,n){let a=t._parseTemplateNestedTemplate.call(this,r,s,n);const l=r.parentNode,d=n.templateInfo,c=l.localName==="dom-if",u=l.localName==="dom-repeat";We&&(c||u)&&(l.removeChild(r),n=n.parentInfo,n.templateInfo=d,n.noted=!0,a=!1);let h=d.hostProps;if($o&&c)h&&(s.hostProps=Object.assign(s.hostProps||{},h),We||(n.parentInfo.noted=!0));else{let p="{";for(let m in h){let w=[{mode:p,source:m,dependencies:[m],hostProp:!0}];Ft(this,s,n,"property","_host_"+m,w)}}return a}static _parseBindings(r,s){let n=[],a=0,l;for(;(l=si.exec(r))!==null;){l.index>a&&n.push({literal:r.slice(a,l.index)});let d=l[1][0],c=!!l[2],u=l[3].trim(),h=!1,p="",m=-1;d=="{"&&(m=u.indexOf("::"))>0&&(p=u.substring(m+2),u=u.substring(0,m),h=!0);let w=Bt(u),C=[];if(w){let{args:y,methodName:x}=w;for(let Ot=0;Ot<y.length;Ot++){let Ie=y[Ot];Ie.literal||C.push(Ie)}let B=s.dynamicFns;(B&&B[x]||w.static)&&(C.push(x),w.dynamicFn=!0)}else C.push(u);n.push({source:u,mode:d,negate:c,customEvent:h,signature:w,dependencies:C,event:p}),a=si.lastIndex}if(a&&a<r.length){let d=r.substring(a);d&&n.push({literal:d})}return n.length?n:null}static _evaluateBinding(r,s,n,a,l,d){let c;return s.signature?c=Qt(r,n,a,l,s.signature):n!=s.source?c=v(r,s.source):d&&Xt(n)?c=v(r,n):c=r.__data[n],s.negate&&(c=!c),c}}return e}),X=[];/**
1206
1206
  @license
1207
1207
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1208
1208
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1210,7 +1210,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1210
1210
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1211
1211
  Code distributed by Google as part of the polymer project is also
1212
1212
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1213
- */function Ks(i){const t={};for(let e in i){const o=i[e];t[e]=typeof o=="function"?{type:o}:o}return t}const Js=b(i=>{const t=Qi(i);function e(s){const n=Object.getPrototypeOf(s);return n.prototype instanceof r?n:null}function o(s){if(!s.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",s))){let n=null;if(s.hasOwnProperty(JSCompiler_renameProperty("properties",s))){const a=s.properties;a&&(n=Ks(a))}s.__ownProperties=n}return s.__ownProperties}class r extends t{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){const n=this._properties;this.__observedAttributes=n?Object.keys(n).map(a=>this.prototype._addPropertyToAttributeMap(a)):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const n=e(this);n&&n.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const n=o(this);n&&this.createProperties(n)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const n=e(this);this.__properties=Object.assign({},n&&n._properties,o(this))}return this.__properties}static typeForProperty(n){const a=this._properties[n];return a&&a.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return r});/**
1213
+ */function Gs(i){const t={};for(let e in i){const o=i[e];t[e]=typeof o=="function"?{type:o}:o}return t}const Ks=b(i=>{const t=Zi(i);function e(s){const n=Object.getPrototypeOf(s);return n.prototype instanceof r?n:null}function o(s){if(!s.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",s))){let n=null;if(s.hasOwnProperty(JSCompiler_renameProperty("properties",s))){const a=s.properties;a&&(n=Gs(a))}s.__ownProperties=n}return s.__ownProperties}class r extends t{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){const n=this._properties;this.__observedAttributes=n?Object.keys(n).map(a=>this.prototype._addPropertyToAttributeMap(a)):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const n=e(this);n&&n.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const n=o(this);n&&this.createProperties(n)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const n=e(this);this.__properties=Object.assign({},n&&n._properties,o(this))}return this.__properties}static typeForProperty(n){const a=this._properties[n];return a&&a.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return r});/**
1214
1214
  * @fileoverview
1215
1215
  * @suppress {checkPrototypalTypes}
1216
1216
  * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -1220,7 +1220,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1220
1220
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
1221
1221
  * Google as part of the polymer project is also subject to an additional IP
1222
1222
  * rights grant found at http://polymer.github.io/PATENTS.txt
1223
- */const Xs="3.5.2",di=window.ShadyCSS&&window.ShadyCSS.cssBuild,Zs=b(i=>{const t=Js(lr(i));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let d=l._properties;for(let c in d){let u=d[c];"value"in u&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[c]=u)}}return l.__propertyDefaults}function o(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function r(l,d,c,u){c.computed&&(c.readOnly=!0),c.computed&&(l._hasReadOnlyEffect(d)?console.warn(`Cannot redefine computed property '${d}'.`):l._createComputedProperty(d,c.computed,u)),c.readOnly&&!l._hasReadOnlyEffect(d)?l._createReadOnlyProperty(d,!c.computed):c.readOnly===!1&&l._hasReadOnlyEffect(d)&&console.warn(`Cannot make readOnly property '${d}' non-readOnly.`),c.reflectToAttribute&&!l._hasReflectEffect(d)?l._createReflectedProperty(d):c.reflectToAttribute===!1&&l._hasReflectEffect(d)&&console.warn(`Cannot make reflected property '${d}' non-reflected.`),c.notify&&!l._hasNotifyEffect(d)?l._createNotifyingProperty(d):c.notify===!1&&l._hasNotifyEffect(d)&&console.warn(`Cannot make notify property '${d}' non-notify.`),c.observer&&l._createPropertyObserver(d,c.observer,u[c.observer]),l._addPropertyToAttributeMap(d)}function s(l,d,c,u){if(!di){const h=d.content.querySelectorAll("style"),p=qi(d),m=Wo(c),w=d.content.firstElementChild;for(let y=0;y<m.length;y++){let x=m[y];x.textContent=l._processStyleText(x.textContent,u),d.content.insertBefore(x,w)}let C=0;for(let y=0;y<p.length;y++){let x=p[y],B=h[C];B!==x?(x=x.cloneNode(!0),B.parentNode.insertBefore(x,B)):C++,x.textContent=l._processStyleText(x.textContent,u)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(d,c),Bo&&di&&Io){const h=d.content.querySelectorAll("style");if(h){let p="";Array.from(h).forEach(m=>{p+=m.textContent,m.parentNode.removeChild(m)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(p)}}}function n(l){let d=null;if(l&&(!At||zo)&&(d=at.import(l,"template"),At&&!d))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return d}class a extends t{static get polymerElementVersion(){return Xs}static _finalizeClass(){t._finalizeClass.call(this);const d=o(this);d&&this.createObservers(d,this._properties),this._prepareTemplate()}static _prepareTemplate(){let d=this.template;d&&(typeof d=="string"?(console.error("template getter must return HTMLTemplateElement"),d=null):Ui||(d=d.cloneNode(!0))),this.prototype._template=d}static createProperties(d){for(let c in d)r(this.prototype,c,d[c],d)}static createObservers(d,c){const u=this.prototype;for(let h=0;h<d.length;h++)u._createMethodObserver(d[h],c)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let d=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof d=="function"&&(d=d()),this._template=d!==void 0?d:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(d){this._template=d}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const d=this.importMeta;if(d)this._importPath=_e(d.url);else{const c=at.import(this.is);this._importPath=c&&c.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super()}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=Do,this.importPath=this.constructor.importPath;let d=e(this.constructor);if(d)for(let c in d){let u=d[c];if(this._canApplyPropertyDefault(c)){let h=typeof u.value=="function"?u.value.call(this):u.value;this._hasAccessor(c)?this._setPendingProperty(c,h,!0):this[c]=h}}}_canApplyPropertyDefault(d){return!this.hasOwnProperty(d)}static _processStyleText(d,c){return me(d,c)}static _finalizeTemplate(d){const c=this.prototype._template;if(c&&!c.__polymerFinalized){c.__polymerFinalized=!0;const u=this.importPath,h=u?rt(u):"";s(this,c,d,h),this.prototype._bindTemplate(c)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(d){const c=O(this);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])),Lo&&window.ShadyDOM&&window.ShadyDOM.flushInitial(c.shadowRoot),c.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(d){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,d)}resolveUrl(d,c){return!c&&this.importPath&&(c=rt(this.importPath)),rt(d,c)}static _parseTemplateContent(d,c,u){return c.dynamicFns=c.dynamicFns||this._properties,t._parseTemplateContent.call(this,d,c,u)}static _addTemplatePropertyEffect(d,c,u){return Hi&&!(c in this._properties)&&!(u.info.part.signature&&u.info.part.signature.static)&&!u.info.part.hostProp&&!d.nestedTemplate&&console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,d,c,u)}}return a});/**
1223
+ */const Js="3.5.2",li=window.ShadyCSS&&window.ShadyCSS.cssBuild,Xs=b(i=>{const t=Ks(ar(i));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let d=l._properties;for(let c in d){let u=d[c];"value"in u&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[c]=u)}}return l.__propertyDefaults}function o(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function r(l,d,c,u){c.computed&&(c.readOnly=!0),c.computed&&(l._hasReadOnlyEffect(d)?console.warn(`Cannot redefine computed property '${d}'.`):l._createComputedProperty(d,c.computed,u)),c.readOnly&&!l._hasReadOnlyEffect(d)?l._createReadOnlyProperty(d,!c.computed):c.readOnly===!1&&l._hasReadOnlyEffect(d)&&console.warn(`Cannot make readOnly property '${d}' non-readOnly.`),c.reflectToAttribute&&!l._hasReflectEffect(d)?l._createReflectedProperty(d):c.reflectToAttribute===!1&&l._hasReflectEffect(d)&&console.warn(`Cannot make reflected property '${d}' non-reflected.`),c.notify&&!l._hasNotifyEffect(d)?l._createNotifyingProperty(d):c.notify===!1&&l._hasNotifyEffect(d)&&console.warn(`Cannot make notify property '${d}' non-notify.`),c.observer&&l._createPropertyObserver(d,c.observer,u[c.observer]),l._addPropertyToAttributeMap(d)}function s(l,d,c,u){if(!li){const h=d.content.querySelectorAll("style"),p=ji(d),m=Yo(c),w=d.content.firstElementChild;for(let y=0;y<m.length;y++){let x=m[y];x.textContent=l._processStyleText(x.textContent,u),d.content.insertBefore(x,w)}let C=0;for(let y=0;y<p.length;y++){let x=p[y],B=h[C];B!==x?(x=x.cloneNode(!0),B.parentNode.insertBefore(x,B)):C++,x.textContent=l._processStyleText(x.textContent,u)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(d,c),Fo&&li&&Mo){const h=d.content.querySelectorAll("style");if(h){let p="";Array.from(h).forEach(m=>{p+=m.textContent,m.parentNode.removeChild(m)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(p)}}}function n(l){let d=null;if(l&&(!At||Do)&&(d=at.import(l,"template"),At&&!d))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return d}class a extends t{static get polymerElementVersion(){return Js}static _finalizeClass(){t._finalizeClass.call(this);const d=o(this);d&&this.createObservers(d,this._properties),this._prepareTemplate()}static _prepareTemplate(){let d=this.template;d&&(typeof d=="string"?(console.error("template getter must return HTMLTemplateElement"),d=null):Bi||(d=d.cloneNode(!0))),this.prototype._template=d}static createProperties(d){for(let c in d)r(this.prototype,c,d[c],d)}static createObservers(d,c){const u=this.prototype;for(let h=0;h<d.length;h++)u._createMethodObserver(d[h],c)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let d=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof d=="function"&&(d=d()),this._template=d!==void 0?d:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(d){this._template=d}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const d=this.importMeta;if(d)this._importPath=_e(d.url);else{const c=at.import(this.is);this._importPath=c&&c.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super()}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=Io,this.importPath=this.constructor.importPath;let d=e(this.constructor);if(d)for(let c in d){let u=d[c];if(this._canApplyPropertyDefault(c)){let h=typeof u.value=="function"?u.value.call(this):u.value;this._hasAccessor(c)?this._setPendingProperty(c,h,!0):this[c]=h}}}_canApplyPropertyDefault(d){return!this.hasOwnProperty(d)}static _processStyleText(d,c){return me(d,c)}static _finalizeTemplate(d){const c=this.prototype._template;if(c&&!c.__polymerFinalized){c.__polymerFinalized=!0;const u=this.importPath,h=u?rt(u):"";s(this,c,d,h),this.prototype._bindTemplate(c)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(d){const c=O(this);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])),zo&&window.ShadyDOM&&window.ShadyDOM.flushInitial(c.shadowRoot),c.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(d){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,d)}resolveUrl(d,c){return!c&&this.importPath&&(c=rt(this.importPath)),rt(d,c)}static _parseTemplateContent(d,c,u){return c.dynamicFns=c.dynamicFns||this._properties,t._parseTemplateContent.call(this,d,c,u)}static _addTemplatePropertyEffect(d,c,u){return Ui&&!(c in this._properties)&&!(u.info.part.signature&&u.info.part.signature.static)&&!u.info.part.hostProp&&!d.nestedTemplate&&console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,d,c,u)}}return a});/**
1224
1224
  @license
1225
1225
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1226
1226
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1228,7 +1228,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1228
1228
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1229
1229
  Code distributed by Google as part of the polymer project is also
1230
1230
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1231
- */const ci=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:i=>i});class dr{constructor(t,e){hr(t,e);const o=e.reduce((r,s,n)=>r+cr(s)+t[n+1],t[0]);this.value=o.toString()}toString(){return this.value}}function cr(i){if(i instanceof dr)return i.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${i}`)}function Qs(i){if(i instanceof HTMLTemplateElement)return i.innerHTML;if(i instanceof dr)return cr(i);throw new Error(`non-template value passed to Polymer's html function: ${i}`)}const ur=function(t,...e){hr(t,e);const o=document.createElement("template");let r=e.reduce((s,n,a)=>s+Qs(n)+t[a+1],t[0]);return ci&&(r=ci.createHTML(r)),o.innerHTML=r,o},hr=(i,t)=>{if(!Array.isArray(i)||!Array.isArray(i.raw)||t.length!==i.length-1)throw new TypeError("Invalid call to the html template tag")};/**
1231
+ */const di=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:i=>i});class lr{constructor(t,e){ur(t,e);const o=e.reduce((r,s,n)=>r+dr(s)+t[n+1],t[0]);this.value=o.toString()}toString(){return this.value}}function dr(i){if(i instanceof lr)return i.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${i}`)}function Zs(i){if(i instanceof HTMLTemplateElement)return i.innerHTML;if(i instanceof lr)return dr(i);throw new Error(`non-template value passed to Polymer's html function: ${i}`)}const cr=function(t,...e){ur(t,e);const o=document.createElement("template");let r=e.reduce((s,n,a)=>s+Zs(n)+t[a+1],t[0]);return di&&(r=di.createHTML(r)),o.innerHTML=r,o},ur=(i,t)=>{if(!Array.isArray(i)||!Array.isArray(i.raw)||t.length!==i.length-1)throw new TypeError("Invalid call to the html template tag")};/**
1232
1232
  @license
1233
1233
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1234
1234
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1236,19 +1236,19 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1236
1236
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1237
1237
  Code distributed by Google as part of the polymer project is also
1238
1238
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1239
- */const pr=Zs(HTMLElement);/**
1239
+ */const hr=Xs(HTMLElement);/**
1240
1240
  * @license
1241
1241
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1242
1242
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1243
- */const P=[];function te(i,t,e=i.getAttribute("dir")){t?i.setAttribute("dir",t):e!=null&&i.removeAttribute("dir")}function ee(){return document.documentElement.getAttribute("dir")}function tn(){const i=ee();P.forEach(t=>{te(t,i)})}const en=new MutationObserver(tn);en.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const ve=i=>class extends i{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:e=>e||"",toAttribute:e=>e===""?null:e}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),te(this,ee(),null))}attributeChangedCallback(e,o,r){if(super.attributeChangedCallback(e,o,r),e!=="dir")return;const s=ee(),n=r===s&&P.indexOf(this)===-1,a=!r&&o&&P.indexOf(this)===-1;n||a?(this.__subscribe(),te(this,s,r)):r!==s&&o===s&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=P.includes(this),this.__unsubscribe()}_valueToNodeAttribute(e,o,r){r==="dir"&&o===""&&!e.hasAttribute("dir")||super._valueToNodeAttribute(e,o,r)}_attributeToProperty(e,o,r){e==="dir"&&!o?this.dir="":super._attributeToProperty(e,o,r)}__subscribe(){P.includes(this)||P.push(this)}__unsubscribe(){P.includes(this)&&P.splice(P.indexOf(this),1)}};/**
1243
+ */const P=[];function te(i,t,e=i.getAttribute("dir")){t?i.setAttribute("dir",t):e!=null&&i.removeAttribute("dir")}function ee(){return document.documentElement.getAttribute("dir")}function Qs(){const i=ee();P.forEach(t=>{te(t,i)})}const tn=new MutationObserver(Qs);tn.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const ve=i=>class extends i{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:e=>e||"",toAttribute:e=>e===""?null:e}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),te(this,ee(),null))}attributeChangedCallback(e,o,r){if(super.attributeChangedCallback(e,o,r),e!=="dir")return;const s=ee(),n=r===s&&P.indexOf(this)===-1,a=!r&&o&&P.indexOf(this)===-1;n||a?(this.__subscribe(),te(this,s,r)):r!==s&&o===s&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=P.includes(this),this.__unsubscribe()}_valueToNodeAttribute(e,o,r){r==="dir"&&o===""&&!e.hasAttribute("dir")||super._valueToNodeAttribute(e,o,r)}_attributeToProperty(e,o,r){e==="dir"&&!o?this.dir="":super._attributeToProperty(e,o,r)}__subscribe(){P.includes(this)||P.push(this)}__unsubscribe(){P.includes(this)&&P.splice(P.indexOf(this),1)}};/**
1244
1244
  * @license
1245
1245
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1246
1246
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1247
- */const rn=i=>class extends i{static get properties(){return{disabled:{type:Boolean,reflectToAttribute:!0},readonly:{type:Boolean,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0}}}ready(){super.ready(),this.addEventListener("pointerdown",e=>{e.target===this&&e.preventDefault()}),this.addEventListener("click",e=>{e.target===this&&this.shadowRoot.querySelector("slot:not([name])").assignedNodes({flatten:!0}).forEach(o=>o.focus&&o.focus())})}};/**
1247
+ */const en=i=>class extends i{static get properties(){return{disabled:{type:Boolean,reflectToAttribute:!0},readonly:{type:Boolean,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0}}}ready(){super.ready(),this.addEventListener("pointerdown",e=>{e.target===this&&e.preventDefault()}),this.addEventListener("click",e=>{e.target===this&&this.shadowRoot.querySelector("slot:not([name])").assignedNodes({flatten:!0}).forEach(o=>o.focus&&o.focus())})}};/**
1248
1248
  * @license
1249
1249
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1250
1250
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1251
- */const on=_`
1251
+ */const rn=_`
1252
1252
  :host {
1253
1253
  display: flex;
1254
1254
  align-items: center;
@@ -1317,11 +1317,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1317
1317
  * @license
1318
1318
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1319
1319
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1320
- */S("vaadin-input-container",on,{moduleId:"vaadin-input-container-styles"});class sn extends rn(Li(ve(pr))){static get is(){return"vaadin-input-container"}static get template(){return ur`
1320
+ */S("vaadin-input-container",rn,{moduleId:"vaadin-input-container-styles"});class on extends en(zi(ve(hr))){static get is(){return"vaadin-input-container"}static get template(){return cr`
1321
1321
  <slot name="prefix"></slot>
1322
1322
  <slot></slot>
1323
1323
  <slot name="suffix"></slot>
1324
- `}}le(sn);const nn=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,bt=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function an(){function i(){return!0}return fr(i)}function ln(){try{return dn()?!0:cn()?bt?!un():!an():!1}catch(i){return!1}}function dn(){return localStorage.getItem("vaadin.developmentmode.force")}function cn(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function un(){return!!(bt&&Object.keys(bt).map(t=>bt[t]).filter(t=>t.productionMode).length>0)}function fr(i,t){if(typeof i!="function")return;const e=nn.exec(i.toString());if(e)try{i=new Function(e[1])}catch(o){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",o)}return i(t)}window.Vaadin=window.Vaadin||{};const ui=function(i,t){if(window.Vaadin.developmentMode)return fr(i,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=ln());function hn(){/*! vaadin-dev-mode:start
1324
+ `}}le(on);const sn=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,bt=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function nn(){function i(){return!0}return pr(i)}function an(){try{return ln()?!0:dn()?bt?!cn():!nn():!1}catch(i){return!1}}function ln(){return localStorage.getItem("vaadin.developmentmode.force")}function dn(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function cn(){return!!(bt&&Object.keys(bt).map(t=>bt[t]).filter(t=>t.productionMode).length>0)}function pr(i,t){if(typeof i!="function")return;const e=sn.exec(i.toString());if(e)try{i=new Function(e[1])}catch(o){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",o)}return i(t)}window.Vaadin=window.Vaadin||{};const ci=function(i,t){if(window.Vaadin.developmentMode)return pr(i,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=an());function un(){/*! vaadin-dev-mode:start
1325
1325
  (function () {
1326
1326
  'use strict';
1327
1327
 
@@ -1799,7 +1799,7 @@ try {
1799
1799
 
1800
1800
  }());
1801
1801
 
1802
- vaadin-dev-mode:end **/}const pn=function(){if(typeof ui=="function")return ui(hn)};/**
1802
+ vaadin-dev-mode:end **/}const hn=function(){if(typeof ci=="function")return ci(un)};/**
1803
1803
  * @license
1804
1804
  * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1805
1805
  * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1807,7 +1807,7 @@ try {
1807
1807
  * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1808
1808
  * Code distributed by Google as part of the polymer project is also
1809
1809
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1810
- */let hi=0,mr=0;const j=[];let ie=!1;function fn(){ie=!1;const i=j.length;for(let t=0;t<i;t++){const e=j[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}j.splice(0,i),mr+=i}const _r={after(i){return{run(t){return window.setTimeout(t,i)},cancel(t){window.clearTimeout(t)}}},run(i,t){return window.setTimeout(i,t)},cancel(i){window.clearTimeout(i)}},gr={run(i){return window.requestAnimationFrame(i)},cancel(i){window.cancelAnimationFrame(i)}},br={run(i){return window.requestIdleCallback?window.requestIdleCallback(i):window.setTimeout(i,16)},cancel(i){window.cancelIdleCallback?window.cancelIdleCallback(i):window.clearTimeout(i)}},vr={run(i){ie||(ie=!0,queueMicrotask(()=>fn())),j.push(i);const t=hi;return hi+=1,t},cancel(i){const t=i-mr;if(t>=0){if(!j[t])throw new Error(`invalid async handle: ${i}`);j[t]=null}}};/**
1810
+ */let ui=0,fr=0;const j=[];let ie=!1;function pn(){ie=!1;const i=j.length;for(let t=0;t<i;t++){const e=j[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}j.splice(0,i),fr+=i}const mr={after(i){return{run(t){return window.setTimeout(t,i)},cancel(t){window.clearTimeout(t)}}},run(i,t){return window.setTimeout(i,t)},cancel(i){window.clearTimeout(i)}},_r={run(i){return window.requestAnimationFrame(i)},cancel(i){window.cancelAnimationFrame(i)}},gr={run(i){return window.requestIdleCallback?window.requestIdleCallback(i):window.setTimeout(i,16)},cancel(i){window.cancelIdleCallback?window.cancelIdleCallback(i):window.clearTimeout(i)}},br={run(i){ie||(ie=!0,queueMicrotask(()=>pn())),j.push(i);const t=ui;return ui+=1,t},cancel(i){const t=i-fr;if(t>=0){if(!j[t])throw new Error(`invalid async handle: ${i}`);j[t]=null}}};/**
1811
1811
  @license
1812
1812
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1813
1813
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1815,35 +1815,35 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1815
1815
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1816
1816
  Code distributed by Google as part of the polymer project is also
1817
1817
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1818
- */const ht=new Set;class R{static debounce(t,e,o){return t instanceof R?t._cancelAsync():t=new R,t.setConfig(e,o),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,ht.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),ht.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}}function yr(i){ht.add(i)}function mn(){const i=!!ht.size;return ht.forEach(t=>{try{t.flush()}catch(e){setTimeout(()=>{throw e})}}),i}const _n=()=>{let i;do i=mn();while(i)};/**
1818
+ */const ht=new Set;class R{static debounce(t,e,o){return t instanceof R?t._cancelAsync():t=new R,t.setConfig(e,o),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,ht.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),ht.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}}function vr(i){ht.add(i)}function fn(){const i=!!ht.size;return ht.forEach(t=>{try{t.flush()}catch(e){setTimeout(()=>{throw e})}}),i}const mn=()=>{let i;do i=fn();while(i)};/**
1819
1819
  * @license
1820
1820
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1821
1821
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1822
- */window.Vaadin||(window.Vaadin={});window.Vaadin.registrations||(window.Vaadin.registrations=[]);window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={});window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){pn()};let Ut;const pi=new Set,gn=i=>class extends ve(i){static finalize(){super.finalize();const{is:e}=this;e&&!pi.has(e)&&(window.Vaadin.registrations.push(this),pi.add(e),window.Vaadin.developmentModeCallback&&(Ut=R.debounce(Ut,br,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),yr(Ut)))}constructor(){super(),document.doctype===null&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}};/**
1822
+ */window.Vaadin||(window.Vaadin={});window.Vaadin.registrations||(window.Vaadin.registrations=[]);window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={});window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){hn()};let Ut;const hi=new Set,_n=i=>class extends ve(i){static finalize(){super.finalize();const{is:e}=this;e&&!hi.has(e)&&(window.Vaadin.registrations.push(this),hi.add(e),window.Vaadin.developmentModeCallback&&(Ut=R.debounce(Ut,gr,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),vr(Ut)))}constructor(){super(),document.doctype===null&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}};/**
1823
1823
  * @license
1824
1824
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1825
1825
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1826
- */function bn(i){const t=[];for(;i;){if(i.nodeType===Node.DOCUMENT_NODE){t.push(i);break}if(i.nodeType===Node.DOCUMENT_FRAGMENT_NODE){t.push(i),i=i.host;continue}if(i.assignedSlot){i=i.assignedSlot;continue}i=i.parentNode}return t}function ye(i){return i?new Set(i.split(" ")):new Set}function Tt(i){return i?[...i].join(" "):""}function xr(i,t,e){const o=ye(i.getAttribute(t));o.add(e),i.setAttribute(t,Tt(o))}function vn(i,t,e){const o=ye(i.getAttribute(t));if(o.delete(e),o.size===0){i.removeAttribute(t);return}i.setAttribute(t,Tt(o))}function yn(i){return i.nodeType===Node.TEXT_NODE&&i.textContent.trim()===""}/**
1826
+ */function gn(i){const t=[];for(;i;){if(i.nodeType===Node.DOCUMENT_NODE){t.push(i);break}if(i.nodeType===Node.DOCUMENT_FRAGMENT_NODE){t.push(i),i=i.host;continue}if(i.assignedSlot){i=i.assignedSlot;continue}i=i.parentNode}return t}function ye(i){return i?new Set(i.split(" ")):new Set}function Tt(i){return i?[...i].join(" "):""}function yr(i,t,e){const o=ye(i.getAttribute(t));o.add(e),i.setAttribute(t,Tt(o))}function bn(i,t,e){const o=ye(i.getAttribute(t));if(o.delete(e),o.size===0){i.removeAttribute(t);return}i.setAttribute(t,Tt(o))}function vn(i){return i.nodeType===Node.TEXT_NODE&&i.textContent.trim()===""}/**
1827
1827
  * @license
1828
1828
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
1829
1829
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1830
- */class Ar{constructor(t,e){this.slot=t,this.callback=e,this._storedNodes=[],this._connected=!1,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){this.slot.addEventListener("slotchange",this._boundSchedule),this._connected=!0}disconnect(){this.slot.removeEventListener("slotchange",this._boundSchedule),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,queueMicrotask(()=>{this.flush()}))}flush(){this._connected&&(this._scheduled=!1,this._processNodes())}_processNodes(){const t=this.slot.assignedNodes({flatten:!0});let e=[];const o=[],r=[];t.length&&(e=t.filter(s=>!this._storedNodes.includes(s))),this._storedNodes.length&&this._storedNodes.forEach((s,n)=>{const a=t.indexOf(s);a===-1?o.push(s):a!==n&&r.push(s)}),(e.length||o.length||r.length)&&this.callback({addedNodes:e,currentNodes:t,movedNodes:r,removedNodes:o}),this._storedNodes=t}}/**
1830
+ */class xr{constructor(t,e){this.slot=t,this.callback=e,this._storedNodes=[],this._connected=!1,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){this.slot.addEventListener("slotchange",this._boundSchedule),this._connected=!0}disconnect(){this.slot.removeEventListener("slotchange",this._boundSchedule),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,queueMicrotask(()=>{this.flush()}))}flush(){this._connected&&(this._scheduled=!1,this._processNodes())}_processNodes(){const t=this.slot.assignedNodes({flatten:!0});let e=[];const o=[],r=[];t.length&&(e=t.filter(s=>!this._storedNodes.includes(s))),this._storedNodes.length&&this._storedNodes.forEach((s,n)=>{const a=t.indexOf(s);a===-1?o.push(s):a!==n&&r.push(s)}),(e.length||o.length||r.length)&&this.callback({addedNodes:e,currentNodes:t,movedNodes:r,removedNodes:o}),this._storedNodes=t}}/**
1831
1831
  * @license
1832
1832
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1833
1833
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1834
- */let xn=0;function wr(){return xn++}/**
1834
+ */let yn=0;function Ar(){return yn++}/**
1835
1835
  * @license
1836
1836
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1837
1837
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1838
- */class St extends EventTarget{static generateId(t,e="default"){return`${e}-${t.localName}-${wr()}`}constructor(t,e,o,r={}){super();const{initializer:s,multiple:n,observe:a,useUniqueId:l,uniqueIdPrefix:d}=r;this.host=t,this.slotName=e,this.tagName=o,this.observe=typeof a=="boolean"?a:!0,this.multiple=typeof n=="boolean"?n:!1,this.slotInitializer=s,n&&(this.nodes=[]),l&&(this.defaultId=this.constructor.generateId(t,d||e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(t.length===0){const e=this.attachDefaultNode();e&&(this.nodes=[e],this.initNode(e))}else this.nodes=t,t.forEach(e=>{this.initAddedNode(e)})}attachDefaultNode(){const{host:t,slotName:e,tagName:o}=this;let r=this.defaultNode;return!r&&o&&(r=document.createElement(o),r instanceof Element&&(e!==""&&r.setAttribute("slot",e),this.defaultNode=r)),r&&(this.node=r,t.appendChild(r)),r}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&t==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=t===""?"slot:not([name])":`slot[name=${t}]`,o=this.host.shadowRoot.querySelector(e);this.__slotObserver=new Ar(o,({addedNodes:r,removedNodes:s})=>{const n=this.multiple?this.nodes:[this.node],a=r.filter(l=>!yn(l)&&!n.includes(l));s.length&&(this.nodes=n.filter(l=>!s.includes(l)),s.forEach(l=>{this.teardownNode(l)})),a&&a.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...n,...a].filter(l=>l!==this.defaultNode),a.forEach(l=>{this.initAddedNode(l)})):(this.node&&this.node.remove(),this.node=a[0],this.initAddedNode(this.node)))})}}/**
1838
+ */class St extends EventTarget{static generateId(t,e="default"){return`${e}-${t.localName}-${Ar()}`}constructor(t,e,o,r={}){super();const{initializer:s,multiple:n,observe:a,useUniqueId:l,uniqueIdPrefix:d}=r;this.host=t,this.slotName=e,this.tagName=o,this.observe=typeof a=="boolean"?a:!0,this.multiple=typeof n=="boolean"?n:!1,this.slotInitializer=s,n&&(this.nodes=[]),l&&(this.defaultId=this.constructor.generateId(t,d||e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(t.length===0){const e=this.attachDefaultNode();e&&(this.nodes=[e],this.initNode(e))}else this.nodes=t,t.forEach(e=>{this.initAddedNode(e)})}attachDefaultNode(){const{host:t,slotName:e,tagName:o}=this;let r=this.defaultNode;return!r&&o&&(r=document.createElement(o),r instanceof Element&&(e!==""&&r.setAttribute("slot",e),this.defaultNode=r)),r&&(this.node=r,t.appendChild(r)),r}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&t==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=t===""?"slot:not([name])":`slot[name=${t}]`,o=this.host.shadowRoot.querySelector(e);this.__slotObserver=new xr(o,({addedNodes:r,removedNodes:s})=>{const n=this.multiple?this.nodes:[this.node],a=r.filter(l=>!vn(l)&&!n.includes(l));s.length&&(this.nodes=n.filter(l=>!s.includes(l)),s.forEach(l=>{this.teardownNode(l)})),a&&a.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...n,...a].filter(l=>l!==this.defaultNode),a.forEach(l=>{this.initAddedNode(l)})):(this.node&&this.node.remove(),this.node=a[0],this.initAddedNode(this.node)))})}}/**
1839
1839
  * @license
1840
1840
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
1841
1841
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1842
- */class An extends St{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,this.ariaTarget!==void 0&&(t.ariaTarget=this.ariaTarget),this.context!==void 0&&(t.context=this.context),this.manual!==void 0&&(t.manual=this.manual),this.opened!==void 0&&(t.opened=this.opened),this.position!==void 0&&(t._position=this.position),this.shouldShow!==void 0&&(t.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(t){this.ariaTarget=t;const e=this.node;e&&(e.ariaTarget=t)}setContext(t){this.context=t;const e=this.node;e&&(e.context=t)}setManual(t){this.manual=t;const e=this.node;e&&(e.manual=t)}setOpened(t){this.opened=t;const e=this.node;e&&(e.opened=t)}setPosition(t){this.position=t;const e=this.node;e&&(e._position=t)}setShouldShow(t){this.shouldShow=t;const e=this.node;e&&(e.shouldShow=t)}setTarget(t){this.target=t;const e=this.node;e&&(e.target=t)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}/**
1842
+ */class xn extends St{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,this.ariaTarget!==void 0&&(t.ariaTarget=this.ariaTarget),this.context!==void 0&&(t.context=this.context),this.manual!==void 0&&(t.manual=this.manual),this.opened!==void 0&&(t.opened=this.opened),this.position!==void 0&&(t._position=this.position),this.shouldShow!==void 0&&(t.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(t){this.ariaTarget=t;const e=this.node;e&&(e.ariaTarget=t)}setContext(t){this.context=t;const e=this.node;e&&(e.context=t)}setManual(t){this.manual=t;const e=this.node;e&&(e.manual=t)}setOpened(t){this.opened=t;const e=this.node;e&&(e.opened=t)}setPosition(t){this.position=t;const e=this.node;e&&(e._position=t)}setShouldShow(t){this.shouldShow=t;const e=this.node;e&&(e.shouldShow=t)}setTarget(t){this.target=t;const e=this.node;e&&(e.target=t)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}/**
1843
1843
  * @license
1844
1844
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
1845
1845
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1846
- */const wn=_`
1846
+ */const An=_`
1847
1847
  [part='clear-button'] {
1848
1848
  display: none;
1849
1849
  cursor: default;
@@ -1860,7 +1860,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1860
1860
  * @license
1861
1861
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
1862
1862
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1863
- */const Cn=_`
1863
+ */const wn=_`
1864
1864
  :host {
1865
1865
  display: inline-flex;
1866
1866
  outline: none;
@@ -1898,7 +1898,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1898
1898
  * @license
1899
1899
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
1900
1900
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1901
- */const En=_`
1901
+ */const Cn=_`
1902
1902
  [class$='container'] {
1903
1903
  display: flex;
1904
1904
  flex-direction: column;
@@ -1910,19 +1910,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1910
1910
  * @license
1911
1911
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
1912
1912
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1913
- */const Pn=[Cn,En,wn];/**
1913
+ */const En=[wn,Cn,An];/**
1914
1914
  * @license
1915
1915
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1916
1916
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1917
- */class Tn extends St{constructor(t,e,o={}){const{uniqueIdPrefix:r}=o;super(t,"input","input",{initializer:(s,n)=>{n.value&&(s.value=n.value),n.type&&s.setAttribute("type",n.type),s.id=this.defaultId,typeof e=="function"&&e(s)},useUniqueId:!0,uniqueIdPrefix:r})}}/**
1917
+ */class Pn extends St{constructor(t,e,o={}){const{uniqueIdPrefix:r}=o;super(t,"input","input",{initializer:(s,n)=>{n.value&&(s.value=n.value),n.type&&s.setAttribute("type",n.type),s.id=this.defaultId,typeof e=="function"&&e(s)},useUniqueId:!0,uniqueIdPrefix:r})}}/**
1918
1918
  * @license
1919
1919
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1920
1920
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1921
- */let xe=!1;window.addEventListener("keydown",()=>{xe=!0},{capture:!0});window.addEventListener("mousedown",()=>{xe=!1},{capture:!0});function Sn(){let i=document.activeElement||document.body;for(;i.shadowRoot&&i.shadowRoot.activeElement;)i=i.shadowRoot.activeElement;return i}function Cr(){return xe}function Nn(i){const t=i.style;if(t.visibility==="hidden"||t.display==="none")return!0;const e=window.getComputedStyle(i);return e.visibility==="hidden"||e.display==="none"}function kn(i,t){const e=Math.max(i.tabIndex,0),o=Math.max(t.tabIndex,0);return e===0||o===0?o>e:e>o}function On(i,t){const e=[];for(;i.length>0&&t.length>0;)kn(i[0],t[0])?e.push(t.shift()):e.push(i.shift());return e.concat(i,t)}function re(i){const t=i.length;if(t<2)return i;const e=Math.ceil(t/2),o=re(i.slice(0,e)),r=re(i.slice(e));return On(o,r)}function Er(i){return i.matches('[tabindex="-1"]')?!1:i.matches("input, select, textarea, button, object")?i.matches(":not([disabled])"):i.matches("a[href], area[href], iframe, [tabindex], [contentEditable]")}function Mn(i){return i.getRootNode().activeElement===i}function In(i){if(!Er(i))return-1;const t=i.getAttribute("tabindex")||0;return Number(t)}function Pr(i,t){if(i.nodeType!==Node.ELEMENT_NODE||Nn(i))return!1;const e=i,o=In(e);let r=o>0;o>=0&&t.push(e);let s=[];return e.localName==="slot"?s=e.assignedNodes({flatten:!0}):s=(e.shadowRoot||e).children,[...s].forEach(n=>{r=Pr(n,t)||r}),r}function Dn(i){const t=[];return Pr(i,t)?re(t):t}/**
1921
+ */let xe=!1;window.addEventListener("keydown",()=>{xe=!0},{capture:!0});window.addEventListener("mousedown",()=>{xe=!1},{capture:!0});function Tn(){let i=document.activeElement||document.body;for(;i.shadowRoot&&i.shadowRoot.activeElement;)i=i.shadowRoot.activeElement;return i}function wr(){return xe}function Sn(i){const t=i.style;if(t.visibility==="hidden"||t.display==="none")return!0;const e=window.getComputedStyle(i);return e.visibility==="hidden"||e.display==="none"}function Nn(i,t){const e=Math.max(i.tabIndex,0),o=Math.max(t.tabIndex,0);return e===0||o===0?o>e:e>o}function kn(i,t){const e=[];for(;i.length>0&&t.length>0;)Nn(i[0],t[0])?e.push(t.shift()):e.push(i.shift());return e.concat(i,t)}function re(i){const t=i.length;if(t<2)return i;const e=Math.ceil(t/2),o=re(i.slice(0,e)),r=re(i.slice(e));return kn(o,r)}function Cr(i){return i.matches('[tabindex="-1"]')?!1:i.matches("input, select, textarea, button, object")?i.matches(":not([disabled])"):i.matches("a[href], area[href], iframe, [tabindex], [contentEditable]")}function On(i){return i.getRootNode().activeElement===i}function Mn(i){if(!Cr(i))return-1;const t=i.getAttribute("tabindex")||0;return Number(t)}function Er(i,t){if(i.nodeType!==Node.ELEMENT_NODE||Sn(i))return!1;const e=i,o=Mn(e);let r=o>0;o>=0&&t.push(e);let s=[];return e.localName==="slot"?s=e.assignedNodes({flatten:!0}):s=(e.shadowRoot||e).children,[...s].forEach(n=>{r=Er(n,t)||r}),r}function In(i){const t=[];return Er(i,t)?re(t):t}/**
1922
1922
  * @license
1923
1923
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1924
1924
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1925
- */const Ae=b(i=>class extends i{get _keyboardActive(){return Cr()}ready(){this.addEventListener("focusin",e=>{this._shouldSetFocus(e)&&this._setFocused(!0)}),this.addEventListener("focusout",e=>{this._shouldRemoveFocus(e)&&this._setFocused(!1)}),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(e){this.toggleAttribute("focused",e),this.toggleAttribute("focus-ring",e&&this._keyboardActive)}_shouldSetFocus(e){return!0}_shouldRemoveFocus(e){return!0}});/**
1925
+ */const Ae=b(i=>class extends i{get _keyboardActive(){return wr()}ready(){this.addEventListener("focusin",e=>{this._shouldSetFocus(e)&&this._setFocused(!0)}),this.addEventListener("focusout",e=>{this._shouldRemoveFocus(e)&&this._setFocused(!1)}),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(e){this.toggleAttribute("focused",e),this.toggleAttribute("focus-ring",e&&this._keyboardActive)}_shouldSetFocus(e){return!0}_shouldRemoveFocus(e){return!0}});/**
1926
1926
  * @license
1927
1927
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1928
1928
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1930,11 +1930,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1930
1930
  * @license
1931
1931
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1932
1932
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1933
- */const Tr=i=>class extends we(i){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(e,o){super._disabledChanged(e,o),e?(this.tabindex!==void 0&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):o&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(e){this.disabled&&e!==-1&&(this._lastTabIndex=e,this.tabindex=-1)}};/**
1933
+ */const Pr=i=>class extends we(i){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(e,o){super._disabledChanged(e,o),e?(this.tabindex!==void 0&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):o&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(e){this.disabled&&e!==-1&&(this._lastTabIndex=e,this.tabindex=-1)}};/**
1934
1934
  * @license
1935
1935
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1936
1936
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1937
- */const Sr=b(i=>class extends Ae(Tr(i)){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame(()=>{this.focus(),this.setAttribute("focus-ring","")})}focus(){this.focusElement&&!this.disabled&&this.focusElement.focus()}blur(){this.focusElement&&this.focusElement.blur()}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(e,o){e?(e.disabled=this.disabled,this._addFocusListeners(e),this.__forwardTabIndex(this.tabindex)):o&&this._removeFocusListeners(o)}_addFocusListeners(e){e.addEventListener("blur",this._boundOnBlur),e.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(e){e.removeEventListener("blur",this._boundOnBlur),e.removeEventListener("focus",this._boundOnFocus)}_onFocus(e){e.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(e){e.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(e){return e.target===this.focusElement}_shouldRemoveFocus(e){return e.target===this.focusElement}_disabledChanged(e,o){super._disabledChanged(e,o),this.focusElement&&(this.focusElement.disabled=e),e&&this.blur()}_tabindexChanged(e){this.__forwardTabIndex(e)}__forwardTabIndex(e){e!==void 0&&this.focusElement&&(this.focusElement.tabIndex=e,e!==-1&&(this.tabindex=void 0)),this.disabled&&e&&(e!==-1&&(this._lastTabIndex=e),this.tabindex=void 0)}});/**
1937
+ */const Tr=b(i=>class extends Ae(Pr(i)){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame(()=>{this.focus(),this.setAttribute("focus-ring","")})}focus(){this.focusElement&&!this.disabled&&this.focusElement.focus()}blur(){this.focusElement&&this.focusElement.blur()}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(e,o){e?(e.disabled=this.disabled,this._addFocusListeners(e),this.__forwardTabIndex(this.tabindex)):o&&this._removeFocusListeners(o)}_addFocusListeners(e){e.addEventListener("blur",this._boundOnBlur),e.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(e){e.removeEventListener("blur",this._boundOnBlur),e.removeEventListener("focus",this._boundOnFocus)}_onFocus(e){e.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(e){e.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(e){return e.target===this.focusElement}_shouldRemoveFocus(e){return e.target===this.focusElement}_disabledChanged(e,o){super._disabledChanged(e,o),this.focusElement&&(this.focusElement.disabled=e),e&&this.blur()}_tabindexChanged(e){this.__forwardTabIndex(e)}__forwardTabIndex(e){e!==void 0&&this.focusElement&&(this.focusElement.tabIndex=e,e!==-1&&(this.tabindex=void 0)),this.disabled&&e&&(e!==-1&&(this._lastTabIndex=e),this.tabindex=void 0)}});/**
1938
1938
  * @license
1939
1939
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1940
1940
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1942,11 +1942,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1942
1942
  * @license
1943
1943
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1944
1944
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1945
- */const Ht=new WeakMap;function zn(i){return Ht.has(i)||Ht.set(i,new Set),Ht.get(i)}function Ln(i,t){const e=document.createElement("style");e.textContent=i,t===document?document.head.appendChild(e):t.insertBefore(e,t.firstChild)}const Nr=b(i=>class extends i{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const e=this.getRootNode(),o=zn(e);this.slotStyles.forEach(r=>{o.has(r)||(Ln(r,e),o.add(r))})}});/**
1945
+ */const Ht=new WeakMap;function Dn(i){return Ht.has(i)||Ht.set(i,new Set),Ht.get(i)}function zn(i,t){const e=document.createElement("style");e.textContent=i,t===document?document.head.appendChild(e):t.insertBefore(e,t.firstChild)}const Sr=b(i=>class extends i{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const e=this.getRootNode(),o=Dn(e);this.slotStyles.forEach(r=>{o.has(r)||(zn(r,e),o.add(r))})}});/**
1946
1946
  * @license
1947
1947
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1948
1948
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1949
- */const kt=i=>i.test(navigator.userAgent),oe=i=>i.test(navigator.platform),$n=i=>i.test(navigator.vendor);kt(/Android/u);kt(/Chrome/u)&&$n(/Google Inc/u);kt(/Firefox/u);const Rn=oe(/^iPad/u)||oe(/^Mac/u)&&navigator.maxTouchPoints>1,Fn=oe(/^iPhone/u),Bn=Fn||Rn,Un=kt(/^((?!chrome|android).)*safari/iu),kr=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(i){return!1}})();/**
1949
+ */const kt=i=>i.test(navigator.userAgent),oe=i=>i.test(navigator.platform),Ln=i=>i.test(navigator.vendor);kt(/Android/u);kt(/Chrome/u)&&Ln(/Google Inc/u);kt(/Firefox/u);const $n=oe(/^iPad/u)||oe(/^Mac/u)&&navigator.maxTouchPoints>1,Rn=oe(/^iPhone/u),Fn=Rn||$n,Bn=kt(/^((?!chrome|android).)*safari/iu),Nr=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(i){return!1}})();/**
1950
1950
  * @license
1951
1951
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1952
1952
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1954,15 +1954,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1954
1954
  * @license
1955
1955
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1956
1956
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1957
- */const Hn=i=>class extends Ce(Nt(i)){static get properties(){return{clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1}}}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("mousedown",e=>this._onClearButtonMouseDown(e)),this.clearElement.addEventListener("click",e=>this._onClearButtonClick(e)))}_onClearButtonClick(e){e.preventDefault(),this._onClearAction()}_onClearButtonMouseDown(e){e.preventDefault(),kr||this.inputElement.focus()}_onEscape(e){super._onEscape(e),this.clearButtonVisible&&this.value&&!this.readonly&&(e.stopPropagation(),this._onClearAction())}_onClearAction(){this._inputElementValue="",this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}};/**
1957
+ */const Un=i=>class extends Ce(Nt(i)){static get properties(){return{clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1}}}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("mousedown",e=>this._onClearButtonMouseDown(e)),this.clearElement.addEventListener("click",e=>this._onClearButtonClick(e)))}_onClearButtonClick(e){e.preventDefault(),this._onClearAction()}_onClearButtonMouseDown(e){e.preventDefault(),Nr||this.inputElement.focus()}_onEscape(e){super._onEscape(e),this.clearButtonVisible&&this.value&&!this.readonly&&(e.stopPropagation(),this._onClearAction())}_onClearAction(){this._inputElementValue="",this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}};/**
1958
1958
  * @license
1959
1959
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
1960
1960
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1961
- */const Vt=new Map;function Ee(i){return Vt.has(i)||Vt.set(i,new WeakMap),Vt.get(i)}function Or(i,t){i&&i.removeAttribute(t)}function Mr(i,t){if(!i||!t)return;const e=Ee(t);if(e.has(i))return;const o=ye(i.getAttribute(t));e.set(i,new Set(o))}function Vn(i,t){if(!i||!t)return;const e=Ee(t),o=e.get(i);!o||o.size===0?i.removeAttribute(t):xr(i,t,Tt(o)),e.delete(i)}function jt(i,t,e={newId:null,oldId:null,fromUser:!1}){if(!i||!t)return;const{newId:o,oldId:r,fromUser:s}=e,n=Ee(t),a=n.get(i);if(!s&&a){r&&a.delete(r),o&&a.add(o);return}s&&(a?o||n.delete(i):Mr(i,t),Or(i,t)),vn(i,t,r);const l=o||Tt(a);l&&xr(i,t,l)}function jn(i,t){Mr(i,t),Or(i,t)}/**
1961
+ */const Vt=new Map;function Ee(i){return Vt.has(i)||Vt.set(i,new WeakMap),Vt.get(i)}function kr(i,t){i&&i.removeAttribute(t)}function Or(i,t){if(!i||!t)return;const e=Ee(t);if(e.has(i))return;const o=ye(i.getAttribute(t));e.set(i,new Set(o))}function Hn(i,t){if(!i)return;const e=Ee(t),o=e.get(i);!o||o.size===0?i.removeAttribute(t):yr(i,t,Tt(o)),e.delete(i)}function jt(i,t,e={newId:null,oldId:null,fromUser:!1}){if(!i||!t)return;const{newId:o,oldId:r,fromUser:s}=e,n=Ee(t),a=n.get(i);if(!s&&a){r&&a.delete(r),o&&a.add(o);return}s&&(a?o||n.delete(i):Or(i,t),kr(i,t)),bn(i,t,r);const l=o||Tt(a);l&&yr(i,t,l)}function Vn(i,t){Or(i,t),kr(i,t)}/**
1962
1962
  * @license
1963
1963
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1964
1964
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1965
- */class qn{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,e=!1){const o=e?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,o,e),e?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?(jn(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(Vn(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,e,o){jt(this.__target,"aria-labelledby",{newId:t,oldId:e,fromUser:o})}__setErrorIdToAriaAttribute(t,e){jt(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setHelperIdToAriaAttribute(t,e){jt(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setAriaRequiredAttribute(t){this.__target&&(["input","textarea"].includes(this.__target.localName)||(t?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required")))}}/**
1965
+ */class jn{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,e=!1){const o=e?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,o,e),e?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?(Vn(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(Hn(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,e,o){jt(this.__target,"aria-labelledby",{newId:t,oldId:e,fromUser:o})}__setErrorIdToAriaAttribute(t,e){jt(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setHelperIdToAriaAttribute(t,e){jt(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setAriaRequiredAttribute(t){this.__target&&(["input","textarea"].includes(this.__target.localName)||(t?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required")))}}/**
1966
1966
  * @license
1967
1967
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1968
1968
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1970,7 +1970,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1970
1970
  * @license
1971
1971
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
1972
1972
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1973
- */const E=document.createElement("div");E.style.position="fixed";E.style.clip="rect(0px, 0px, 0px, 0px)";E.setAttribute("aria-live","polite");document.body.appendChild(E);let _t;function Yn(i,t={}){const e=t.mode||"polite",o=t.timeout===void 0?150:t.timeout;e==="alert"?(E.removeAttribute("aria-live"),E.removeAttribute("role"),_t=R.debounce(_t,gr,()=>{E.setAttribute("role","alert")})):(_t&&_t.cancel(),E.removeAttribute("role"),E.setAttribute("aria-live",e)),E.textContent="",setTimeout(()=>{E.textContent=i},o)}/**
1973
+ */const E=document.createElement("div");E.style.position="fixed";E.style.clip="rect(0px, 0px, 0px, 0px)";E.setAttribute("aria-live","polite");document.body.appendChild(E);let _t;function qn(i,t={}){const e=t.mode||"polite",o=t.timeout===void 0?150:t.timeout;e==="alert"?(E.removeAttribute("aria-live"),E.removeAttribute("role"),_t=R.debounce(_t,_r,()=>{E.setAttribute("role","alert")})):(_t&&_t.cancel(),E.removeAttribute("role"),E.setAttribute("aria-live",e)),E.textContent="",setTimeout(()=>{E.textContent=i},o)}/**
1974
1974
  * @license
1975
1975
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
1976
1976
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1978,19 +1978,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1978
1978
  * @license
1979
1979
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1980
1980
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1981
- */class Wn extends Te{constructor(t){super(t,"error-message","div")}setErrorMessage(t){this.errorMessage=t,this.updateDefaultNode(this.node)}setInvalid(t){this.invalid=t,this.updateDefaultNode(this.node)}initAddedNode(t){t!==this.defaultNode&&this.initCustomNode(t)}initNode(t){this.updateDefaultNode(t)}initCustomNode(t){t.textContent&&!this.errorMessage&&(this.errorMessage=t.textContent.trim()),super.initCustomNode(t)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(t){const{errorMessage:e,invalid:o}=this,r=!!(o&&e&&e.trim()!=="");t&&(t.textContent=r?e:"",t.hidden=!r,r&&Yn(e,{mode:"assertive"})),super.updateDefaultNode(t)}}/**
1981
+ */class Yn extends Te{constructor(t){super(t,"error-message","div")}setErrorMessage(t){this.errorMessage=t,this.updateDefaultNode(this.node)}setInvalid(t){this.invalid=t,this.updateDefaultNode(this.node)}initAddedNode(t){t!==this.defaultNode&&this.initCustomNode(t)}initNode(t){this.updateDefaultNode(t)}initCustomNode(t){t.textContent&&!this.errorMessage&&(this.errorMessage=t.textContent.trim()),super.initCustomNode(t)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(t){const{errorMessage:e,invalid:o}=this,r=!!(o&&e&&e.trim()!=="");t&&(t.textContent=r?e:"",t.hidden=!r,r&&qn(e,{mode:"assertive"})),super.updateDefaultNode(t)}}/**
1982
1982
  * @license
1983
1983
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1984
1984
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1985
- */class Gn extends Te{constructor(t){super(t,"helper",null)}setHelperText(t){this.helperText=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:t}=this;if(t&&t.trim()!==""){this.tagName="div";const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.helperText),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
1985
+ */class Wn extends Te{constructor(t){super(t,"helper",null)}setHelperText(t){this.helperText=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:t}=this;if(t&&t.trim()!==""){this.tagName="div";const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.helperText),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
1986
1986
  * @license
1987
1987
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1988
1988
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1989
- */class Kn extends Te{constructor(t){super(t,"label","label")}setLabel(t){this.label=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:t}=this;if(t&&t.trim()!==""){const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.label),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
1989
+ */class Gn extends Te{constructor(t){super(t,"label","label")}setLabel(t){this.label=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:t}=this;if(t&&t.trim()!==""){const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.label),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
1990
1990
  * @license
1991
1991
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1992
1992
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1993
- */const Jn=b(i=>class extends Pe(i){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new Kn(this),this._labelController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-label",e.detail.hasContent)})}get _labelId(){const e=this._labelNode;return e&&e.id}get _labelNode(){return this._labelController.node}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(e){this._labelController.setLabel(e)}});/**
1993
+ */const Kn=b(i=>class extends Pe(i){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new Gn(this),this._labelController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-label",e.detail.hasContent)})}get _labelId(){const e=this._labelNode;return e&&e.id}get _labelNode(){return this._labelController.node}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(e){this._labelController.setLabel(e)}});/**
1994
1994
  * @license
1995
1995
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1996
1996
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1998,28 +1998,28 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1998
1998
  * @license
1999
1999
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2000
2000
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2001
- */const Ir=i=>class extends Se(Jn(Pe(i))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"},accessibleName:{type:String,observer:"_accessibleNameChanged"},accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new qn(this),this._helperController=new Gn(this),this._errorController=new Wn(this),this._errorController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-error-message",e.detail.hasContent)}),this._labelController.addEventListener("slot-content-changed",e=>{const{hasContent:o,node:r}=e.detail;this.__labelChanged(o,r)}),this._helperController.addEventListener("slot-content-changed",e=>{const{hasContent:o,node:r}=e.detail;this.toggleAttribute("has-helper",o),this.__helperChanged(o,r)})}get _errorNode(){return this._errorController.node}get _helperNode(){return this._helperController.node}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(e,o){e?this._fieldAriaController.setHelperId(o.id):this._fieldAriaController.setHelperId(null)}_accessibleNameChanged(e){this._fieldAriaController.setAriaLabel(e)}_accessibleNameRefChanged(e){this._fieldAriaController.setLabelId(e,!0)}__labelChanged(e,o){e?this._fieldAriaController.setLabelId(o.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(e){this._errorController.setErrorMessage(e)}_helperTextChanged(e){this._helperController.setHelperText(e)}_ariaTargetChanged(e){e&&this._fieldAriaController.setTarget(e)}_requiredChanged(e){this._fieldAriaController.setRequired(e)}_invalidChanged(e){this._errorController.setInvalid(e),setTimeout(()=>{if(e){const o=this._errorNode;this._fieldAriaController.setErrorId(o&&o.id)}else this._fieldAriaController.setErrorId(null)})}};/**
2001
+ */const Mr=i=>class extends Se(Kn(Pe(i))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"},accessibleName:{type:String,observer:"_accessibleNameChanged"},accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new jn(this),this._helperController=new Wn(this),this._errorController=new Yn(this),this._errorController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-error-message",e.detail.hasContent)}),this._labelController.addEventListener("slot-content-changed",e=>{const{hasContent:o,node:r}=e.detail;this.__labelChanged(o,r)}),this._helperController.addEventListener("slot-content-changed",e=>{const{hasContent:o,node:r}=e.detail;this.toggleAttribute("has-helper",o),this.__helperChanged(o,r)})}get _errorNode(){return this._errorController.node}get _helperNode(){return this._helperController.node}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(e,o){e?this._fieldAriaController.setHelperId(o.id):this._fieldAriaController.setHelperId(null)}_accessibleNameChanged(e){this._fieldAriaController.setAriaLabel(e)}_accessibleNameRefChanged(e){this._fieldAriaController.setLabelId(e,!0)}__labelChanged(e,o){e?this._fieldAriaController.setLabelId(o.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(e){this._errorController.setErrorMessage(e)}_helperTextChanged(e){this._helperController.setHelperText(e)}_ariaTargetChanged(e){e&&this._fieldAriaController.setTarget(e)}_requiredChanged(e){this._fieldAriaController.setRequired(e)}_invalidChanged(e){this._errorController.setInvalid(e),setTimeout(()=>{if(e){const o=this._errorNode;this._fieldAriaController.setErrorId(o&&o.id)}else this._fieldAriaController.setErrorId(null)})}};/**
2002
2002
  * @license
2003
2003
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2004
2004
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2005
- */const Dr=b(i=>class extends i{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(e){e&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach(e=>{this._delegateAttribute(e,this[e])})}_ensurePropsDelegated(){this.constructor.delegateProps.forEach(e=>{this._delegateProperty(e,this[e])})}_delegateAttrsChanged(...e){this.constructor.delegateAttrs.forEach((o,r)=>{this._delegateAttribute(o,e[r])})}_delegatePropsChanged(...e){this.constructor.delegateProps.forEach((o,r)=>{this._delegateProperty(o,e[r])})}_delegateAttribute(e,o){this.stateTarget&&(e==="invalid"&&this._delegateAttribute("aria-invalid",o?"true":!1),typeof o=="boolean"?this.stateTarget.toggleAttribute(e,o):o?this.stateTarget.setAttribute(e,o):this.stateTarget.removeAttribute(e))}_delegateProperty(e,o){this.stateTarget&&(this.stateTarget[e]=o)}});/**
2005
+ */const Ir=b(i=>class extends i{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(e){e&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach(e=>{this._delegateAttribute(e,this[e])})}_ensurePropsDelegated(){this.constructor.delegateProps.forEach(e=>{this._delegateProperty(e,this[e])})}_delegateAttrsChanged(...e){this.constructor.delegateAttrs.forEach((o,r)=>{this._delegateAttribute(o,e[r])})}_delegatePropsChanged(...e){this.constructor.delegateProps.forEach((o,r)=>{this._delegateProperty(o,e[r])})}_delegateAttribute(e,o){this.stateTarget&&(e==="invalid"&&this._delegateAttribute("aria-invalid",o?"true":!1),typeof o=="boolean"?this.stateTarget.toggleAttribute(e,o):o?this.stateTarget.setAttribute(e,o):this.stateTarget.removeAttribute(e))}_delegateProperty(e,o){this.stateTarget&&(this.stateTarget[e]=o)}});/**
2006
2006
  * @license
2007
2007
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2008
2008
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2009
- */const zr=b(i=>class extends Dr(Se(Ce(i))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map(e=>this[e]))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(e){return e.some(o=>this.__isValidConstraint(o))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(e,...o){if(!e)return;const r=this._hasValidConstraints(o),s=this.__previousHasConstraints&&!r;(this._hasValue||this.invalid)&&r?this.validate():s&&this._setInvalid(!1),this.__previousHasConstraints=r}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}__isValidConstraint(e){return!!e||e===0}});/**
2009
+ */const Dr=b(i=>class extends Ir(Se(Ce(i))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map(e=>this[e]))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(e){return e.some(o=>this.__isValidConstraint(o))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(e,...o){if(!e)return;const r=this._hasValidConstraints(o),s=this.__previousHasConstraints&&!r;(this._hasValue||this.invalid)&&r?this.validate():s&&this._setInvalid(!1),this.__previousHasConstraints=r}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}__isValidConstraint(e){return!!e||e===0}});/**
2010
2010
  * @license
2011
2011
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2012
2012
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2013
- */const Xn=i=>class extends Nr(Sr(zr(Ir(Hn(Nt(i)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invalid","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get slotStyles(){return[`
2013
+ */const Jn=i=>class extends Sr(Tr(Dr(Mr(Un(Nt(i)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invalid","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get slotStyles(){return[`
2014
2014
  :is(input[slot='input'], textarea[slot='textarea'])::placeholder {
2015
2015
  font: inherit;
2016
2016
  color: inherit;
2017
2017
  }
2018
- `]}_onFocus(e){super._onFocus(e),this.autoselect&&this.inputElement&&this.inputElement.select()}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}_addInputListeners(e){super._addInputListeners(e),e.addEventListener("paste",this._boundOnPaste),e.addEventListener("drop",this._boundOnDrop),e.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(e){super._removeInputListeners(e),e.removeEventListener("paste",this._boundOnPaste),e.removeEventListener("drop",this._boundOnDrop),e.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(e){super._onKeyDown(e),this.allowedCharPattern&&!this.__shouldAcceptKey(e)&&e.target===this.inputElement&&(e.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=R.debounce(this._preventInputDebouncer,_r.after(200),()=>{this.removeAttribute("input-prevented")})}__shouldAcceptKey(e){return e.metaKey||e.ctrlKey||!e.key||e.key.length!==1||this.__allowedCharRegExp.test(e.key)}_onPaste(e){if(this.allowedCharPattern){const o=e.clipboardData.getData("text");this.__allowedTextRegExp.test(o)||(e.preventDefault(),this._markInputPrevented())}}_onDrop(e){if(this.allowedCharPattern){const o=e.dataTransfer.getData("text");this.__allowedTextRegExp.test(o)||(e.preventDefault(),this._markInputPrevented())}}_onBeforeInput(e){this.allowedCharPattern&&e.data&&!this.__allowedTextRegExp.test(e.data)&&(e.preventDefault(),this._markInputPrevented())}_allowedCharPatternChanged(e){if(e)try{this.__allowedCharRegExp=new RegExp(`^${e}$`,"u"),this.__allowedTextRegExp=new RegExp(`^${e}*$`,"u")}catch(o){console.error(o)}}};/**
2018
+ `]}_onFocus(e){super._onFocus(e),this.autoselect&&this.inputElement&&this.inputElement.select()}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}_addInputListeners(e){super._addInputListeners(e),e.addEventListener("paste",this._boundOnPaste),e.addEventListener("drop",this._boundOnDrop),e.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(e){super._removeInputListeners(e),e.removeEventListener("paste",this._boundOnPaste),e.removeEventListener("drop",this._boundOnDrop),e.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(e){super._onKeyDown(e),this.allowedCharPattern&&!this.__shouldAcceptKey(e)&&e.target===this.inputElement&&(e.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=R.debounce(this._preventInputDebouncer,mr.after(200),()=>{this.removeAttribute("input-prevented")})}__shouldAcceptKey(e){return e.metaKey||e.ctrlKey||!e.key||e.key.length!==1||this.__allowedCharRegExp.test(e.key)}_onPaste(e){if(this.allowedCharPattern){const o=e.clipboardData.getData("text");this.__allowedTextRegExp.test(o)||(e.preventDefault(),this._markInputPrevented())}}_onDrop(e){if(this.allowedCharPattern){const o=e.dataTransfer.getData("text");this.__allowedTextRegExp.test(o)||(e.preventDefault(),this._markInputPrevented())}}_onBeforeInput(e){this.allowedCharPattern&&e.data&&!this.__allowedTextRegExp.test(e.data)&&(e.preventDefault(),this._markInputPrevented())}_allowedCharPatternChanged(e){if(e)try{this.__allowedCharRegExp=new RegExp(`^${e}$`,"u"),this.__allowedTextRegExp=new RegExp(`^${e}*$`,"u")}catch(o){console.error(o)}}};/**
2019
2019
  * @license
2020
2020
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2021
2021
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2022
- */class Zn{constructor(t,e){this.input=t,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),e.addEventListener("slot-content-changed",o=>{this.__initLabel(o.detail.node)}),this.__initLabel(e.node)}__initLabel(t){t&&(t.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&t.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const t=e=>{e.stopImmediatePropagation(),this.input.removeEventListener("click",t)};this.input.addEventListener("click",t)}}const Lr=_`
2022
+ */class Xn{constructor(t,e){this.input=t,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),e.addEventListener("slot-content-changed",o=>{this.__initLabel(o.detail.node)}),this.__initLabel(e.node)}__initLabel(t){t&&(t.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&t.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const t=e=>{e.stopImmediatePropagation(),this.input.removeEventListener("click",t)};this.input.addEventListener("click",t)}}const zr=_`
2023
2023
  :host {
2024
2024
  /* Sizing */
2025
2025
  --lumo-button-size: var(--lumo-size-m);
@@ -2295,11 +2295,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2295
2295
  margin-left: 0;
2296
2296
  margin-right: 0;
2297
2297
  }
2298
- `;S("vaadin-button",Lr,{moduleId:"lumo-button"});/**
2298
+ `;S("vaadin-button",zr,{moduleId:"lumo-button"});/**
2299
2299
  * @license
2300
2300
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2301
2301
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2302
- */const Qn=_`
2302
+ */const Zn=_`
2303
2303
  :host {
2304
2304
  display: inline-block;
2305
2305
  position: relative;
@@ -2359,7 +2359,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2359
2359
  outline-color: GrayText;
2360
2360
  }
2361
2361
  }
2362
- `,ta=i=>i`
2362
+ `,Qn=i=>i`
2363
2363
  <div class="vaadin-button-container">
2364
2364
  <span part="prefix" aria-hidden="true">
2365
2365
  <slot name="prefix"></slot>
@@ -2372,20 +2372,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2372
2372
  </span>
2373
2373
  </div>
2374
2374
  <slot name="tooltip"></slot>
2375
- `;/**
2376
- @license
2377
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2378
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
2379
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2380
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2381
- Code distributed by Google as part of the polymer project is also
2382
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2383
- */const ea=!1,ia=i=>i,Ne=typeof document.head.style.touchAction=="string",se="__polymerGestures",qt="__polymerGesturesHandled",ne="__polymerGesturesTouchAction",fi=25,mi=5,ra=2,oa=["mousedown","mousemove","mouseup","click"],sa=[0,1,4,2],na=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(i){return!1}}();function ke(i){return oa.indexOf(i)>-1}let $r=!1;(function(){try{const i=Object.defineProperty({},"passive",{get(){$r=!0}});window.addEventListener("test",null,i),window.removeEventListener("test",null,i)}catch(i){}})();function aa(i){if(!(ke(i)||i==="touchend")&&Ne&&$r&&ea)return{passive:!0}}const la=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),da={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function L(i){const t=i.type;if(!ke(t))return!1;if(t==="mousemove"){let o=i.buttons===void 0?1:i.buttons;return i instanceof window.MouseEvent&&!na&&(o=sa[i.which]||0),!!(o&1)}return(i.button===void 0?0:i.button)===0}function ca(i){if(i.type==="click"){if(i.detail===0)return!0;const t=M(i);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const e=t.getBoundingClientRect(),o=i.pageX,r=i.pageY;return!(o>=e.left&&o<=e.right&&r>=e.top&&r<=e.bottom)}return!1}const T={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function ua(i){let t="auto";const e=Fr(i);for(let o=0,r;o<e.length;o++)if(r=e[o],r[ne]){t=r[ne];break}return t}function Rr(i,t,e){i.movefn=t,i.upfn=e,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)}function q(i){document.removeEventListener("mousemove",i.movefn),document.removeEventListener("mouseup",i.upfn),i.movefn=null,i.upfn=null}const Fr=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:i=>i.composedPath&&i.composedPath()||[],Oe={},z=[];function ha(i,t){let e=document.elementFromPoint(i,t),o=e;for(;o&&o.shadowRoot&&!window.ShadyDOM;){const r=o;if(o=o.shadowRoot.elementFromPoint(i,t),r===o)break;o&&(e=o)}return e}function M(i){const t=Fr(i);return t.length>0?t[0]:i.target}function pa(i){const t=i.type,o=i.currentTarget[se];if(!o)return;const r=o[t];if(!r)return;if(!i[qt]&&(i[qt]={},t.startsWith("touch"))){const n=i.changedTouches[0];if(t==="touchstart"&&i.touches.length===1&&(T.touch.id=n.identifier),T.touch.id!==n.identifier)return;Ne||(t==="touchstart"||t==="touchmove")&&fa(i)}const s=i[qt];if(!s.skip){for(let n=0,a;n<z.length;n++)a=z[n],r[a.name]&&!s[a.name]&&a.flow&&a.flow.start.indexOf(i.type)>-1&&a.reset&&a.reset();for(let n=0,a;n<z.length;n++)a=z[n],r[a.name]&&!s[a.name]&&(s[a.name]=!0,a[t](i))}}function fa(i){const t=i.changedTouches[0],e=i.type;if(e==="touchstart")T.touch.x=t.clientX,T.touch.y=t.clientY,T.touch.scrollDecided=!1;else if(e==="touchmove"){if(T.touch.scrollDecided)return;T.touch.scrollDecided=!0;const o=ua(i);let r=!1;const s=Math.abs(T.touch.x-t.clientX),n=Math.abs(T.touch.y-t.clientY);i.cancelable&&(o==="none"?r=!0:o==="pan-x"?r=n>s:o==="pan-y"&&(r=s>n)),r?i.preventDefault():Ct("track")}}function ae(i,t,e){return Oe[t]?(ma(i,t,e),!0):!1}function ma(i,t,e){const o=Oe[t],r=o.deps,s=o.name;let n=i[se];n||(i[se]=n={});for(let a=0,l,d;a<r.length;a++)l=r[a],!(la&&ke(l)&&l!=="click")&&(d=n[l],d||(n[l]=d={_count:0}),d._count===0&&i.addEventListener(l,pa,aa(l)),d[s]=(d[s]||0)+1,d._count=(d._count||0)+1);i.addEventListener(t,e),o.touchAction&&Br(i,o.touchAction)}function Me(i){z.push(i),i.emits.forEach(t=>{Oe[t]=i})}function _a(i){for(let t=0,e;t<z.length;t++){e=z[t];for(let o=0,r;o<e.emits.length;o++)if(r=e.emits[o],r===i)return e}return null}function Br(i,t){Ne&&i instanceof HTMLElement&&vr.run(()=>{i.style.touchAction=t}),i[ne]=t}function Ie(i,t,e){const o=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(o.detail=e,ia(i).dispatchEvent(o),o.defaultPrevented){const r=e.preventer||e.sourceEvent;r&&r.preventDefault&&r.preventDefault()}}function Ct(i){const t=_a(i);t.info&&(t.info.prevent=!0)}Me({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){q(this.info)},mousedown(i){if(!L(i))return;const t=M(i),e=this,o=s=>{L(s)||(Z("up",t,s),q(e.info))},r=s=>{L(s)&&Z("up",t,s),q(e.info)};Rr(this.info,o,r),Z("down",t,i)},touchstart(i){Z("down",M(i),i.changedTouches[0],i)},touchend(i){Z("up",M(i),i.changedTouches[0],i)}});function Z(i,t,e,o){t&&Ie(t,i,{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:o,prevent(r){return Ct(r)}})}Me({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(i){this.moves.length>ra&&this.moves.shift(),this.moves.push(i)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,q(this.info)},mousedown(i){if(!L(i))return;const t=M(i),e=this,o=s=>{const n=s.clientX,a=s.clientY;_i(e.info,n,a)&&(e.info.state=e.info.started?s.type==="mouseup"?"end":"track":"start",e.info.state==="start"&&Ct("tap"),e.info.addMove({x:n,y:a}),L(s)||(e.info.state="end",q(e.info)),t&&Yt(e.info,t,s),e.info.started=!0)},r=s=>{e.info.started&&o(s),q(e.info)};Rr(this.info,o,r),this.info.x=i.clientX,this.info.y=i.clientY},touchstart(i){const t=i.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove(i){const t=M(i),e=i.changedTouches[0],o=e.clientX,r=e.clientY;_i(this.info,o,r)&&(this.info.state==="start"&&Ct("tap"),this.info.addMove({x:o,y:r}),Yt(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(i){const t=M(i),e=i.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),Yt(this.info,t,e))}});function _i(i,t,e){if(i.prevent)return!1;if(i.started)return!0;const o=Math.abs(i.x-t),r=Math.abs(i.y-e);return o>=mi||r>=mi}function Yt(i,t,e){if(!t)return;const o=i.moves[i.moves.length-2],r=i.moves[i.moves.length-1],s=r.x-i.x,n=r.y-i.y;let a,l=0;o&&(a=r.x-o.x,l=r.y-o.y),Ie(t,"track",{state:i.state,x:e.clientX,y:e.clientY,dx:s,dy:n,ddx:a,ddy:l,sourceEvent:e,hover(){return ha(e.clientX,e.clientY)}})}Me({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(i){L(i)&&(this.info.x=i.clientX,this.info.y=i.clientY)},click(i){L(i)&&gi(this.info,i)},touchstart(i){const t=i.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(i){gi(this.info,i.changedTouches[0],i)}});function gi(i,t,e){const o=Math.abs(t.clientX-i.x),r=Math.abs(t.clientY-i.y),s=M(e||t);!s||da[s.localName]&&s.hasAttribute("disabled")||(isNaN(o)||isNaN(r)||o<=fi&&r<=fi||ca(t))&&(i.prevent||Ie(s,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
2375
+ `,ta=i=>i,Lr=typeof document.head.style.touchAction=="string",se="__polymerGestures",qt="__polymerGesturesHandled",ne="__polymerGesturesTouchAction",pi=25,fi=5,ea=2,ia=["mousedown","mousemove","mouseup","click"],ra=[0,1,4,2],oa=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(i){return!1}}();function Ne(i){return ia.indexOf(i)>-1}let sa=!1;(function(){try{const i=Object.defineProperty({},"passive",{get(){sa=!0}});window.addEventListener("test",null,i),window.removeEventListener("test",null,i)}catch(i){}})();function na(i){Ne(i)}const aa=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),la={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function L(i){const t=i.type;if(!Ne(t))return!1;if(t==="mousemove"){let o=i.buttons===void 0?1:i.buttons;return i instanceof window.MouseEvent&&!oa&&(o=ra[i.which]||0),!!(o&1)}return(i.button===void 0?0:i.button)===0}function da(i){if(i.type==="click"){if(i.detail===0)return!0;const t=M(i);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const e=t.getBoundingClientRect(),o=i.pageX,r=i.pageY;return!(o>=e.left&&o<=e.right&&r>=e.top&&r<=e.bottom)}return!1}const T={touch:{x:0,y:0,id:-1,scrollDecided:!1}};function ca(i){let t="auto";const e=Rr(i);for(let o=0,r;o<e.length;o++)if(r=e[o],r[ne]){t=r[ne];break}return t}function $r(i,t,e){i.movefn=t,i.upfn=e,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)}function q(i){document.removeEventListener("mousemove",i.movefn),document.removeEventListener("mouseup",i.upfn),i.movefn=null,i.upfn=null}const Rr=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:i=>i.composedPath&&i.composedPath()||[],ke={},z=[];function ua(i,t){let e=document.elementFromPoint(i,t),o=e;for(;o&&o.shadowRoot&&!window.ShadyDOM;){const r=o;if(o=o.shadowRoot.elementFromPoint(i,t),r===o)break;o&&(e=o)}return e}function M(i){const t=Rr(i);return t.length>0?t[0]:i.target}function ha(i){const t=i.type,o=i.currentTarget[se];if(!o)return;const r=o[t];if(!r)return;if(!i[qt]&&(i[qt]={},t.startsWith("touch"))){const n=i.changedTouches[0];if(t==="touchstart"&&i.touches.length===1&&(T.touch.id=n.identifier),T.touch.id!==n.identifier)return;Lr||(t==="touchstart"||t==="touchmove")&&pa(i)}const s=i[qt];if(!s.skip){for(let n=0,a;n<z.length;n++)a=z[n],r[a.name]&&!s[a.name]&&a.flow&&a.flow.start.indexOf(i.type)>-1&&a.reset&&a.reset();for(let n=0,a;n<z.length;n++)a=z[n],r[a.name]&&!s[a.name]&&(s[a.name]=!0,a[t](i))}}function pa(i){const t=i.changedTouches[0],e=i.type;if(e==="touchstart")T.touch.x=t.clientX,T.touch.y=t.clientY,T.touch.scrollDecided=!1;else if(e==="touchmove"){if(T.touch.scrollDecided)return;T.touch.scrollDecided=!0;const o=ca(i);let r=!1;const s=Math.abs(T.touch.x-t.clientX),n=Math.abs(T.touch.y-t.clientY);i.cancelable&&(o==="none"?r=!0:o==="pan-x"?r=n>s:o==="pan-y"&&(r=s>n)),r?i.preventDefault():Ct("track")}}function ae(i,t,e){return ke[t]?(fa(i,t,e),!0):!1}function fa(i,t,e){const o=ke[t],r=o.deps,s=o.name;let n=i[se];n||(i[se]=n={});for(let a=0,l,d;a<r.length;a++)l=r[a],!(aa&&Ne(l)&&l!=="click")&&(d=n[l],d||(n[l]=d={_count:0}),d._count===0&&i.addEventListener(l,ha,na(l)),d[s]=(d[s]||0)+1,d._count=(d._count||0)+1);i.addEventListener(t,e),o.touchAction&&Fr(i,o.touchAction)}function Oe(i){z.push(i),i.emits.forEach(t=>{ke[t]=i})}function ma(i){for(let t=0,e;t<z.length;t++){e=z[t];for(let o=0,r;o<e.emits.length;o++)if(r=e.emits[o],r===i)return e}return null}function Fr(i,t){Lr&&i instanceof HTMLElement&&br.run(()=>{i.style.touchAction=t}),i[ne]=t}function Me(i,t,e){const o=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(o.detail=e,ta(i).dispatchEvent(o),o.defaultPrevented){const r=e.preventer||e.sourceEvent;r&&r.preventDefault&&r.preventDefault()}}function Ct(i){const t=ma(i);t.info&&(t.info.prevent=!0)}Oe({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){q(this.info)},mousedown(i){if(!L(i))return;const t=M(i),e=this,o=s=>{L(s)||(Z("up",t,s),q(e.info))},r=s=>{L(s)&&Z("up",t,s),q(e.info)};$r(this.info,o,r),Z("down",t,i)},touchstart(i){Z("down",M(i),i.changedTouches[0],i)},touchend(i){Z("up",M(i),i.changedTouches[0],i)}});function Z(i,t,e,o){t&&Me(t,i,{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:o,prevent(r){return Ct(r)}})}Oe({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(i){this.moves.length>ea&&this.moves.shift(),this.moves.push(i)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,q(this.info)},mousedown(i){if(!L(i))return;const t=M(i),e=this,o=s=>{const n=s.clientX,a=s.clientY;mi(e.info,n,a)&&(e.info.state=e.info.started?s.type==="mouseup"?"end":"track":"start",e.info.state==="start"&&Ct("tap"),e.info.addMove({x:n,y:a}),L(s)||(e.info.state="end",q(e.info)),t&&Yt(e.info,t,s),e.info.started=!0)},r=s=>{e.info.started&&o(s),q(e.info)};$r(this.info,o,r),this.info.x=i.clientX,this.info.y=i.clientY},touchstart(i){const t=i.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove(i){const t=M(i),e=i.changedTouches[0],o=e.clientX,r=e.clientY;mi(this.info,o,r)&&(this.info.state==="start"&&Ct("tap"),this.info.addMove({x:o,y:r}),Yt(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(i){const t=M(i),e=i.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),Yt(this.info,t,e))}});function mi(i,t,e){if(i.prevent)return!1;if(i.started)return!0;const o=Math.abs(i.x-t),r=Math.abs(i.y-e);return o>=fi||r>=fi}function Yt(i,t,e){if(!t)return;const o=i.moves[i.moves.length-2],r=i.moves[i.moves.length-1],s=r.x-i.x,n=r.y-i.y;let a,l=0;o&&(a=r.x-o.x,l=r.y-o.y),Me(t,"track",{state:i.state,x:e.clientX,y:e.clientY,dx:s,dy:n,ddx:a,ddy:l,sourceEvent:e,hover(){return ua(e.clientX,e.clientY)}})}Oe({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(i){L(i)&&(this.info.x=i.clientX,this.info.y=i.clientY)},click(i){L(i)&&_i(this.info,i)},touchstart(i){const t=i.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(i){_i(this.info,i.changedTouches[0],i)}});function _i(i,t,e){const o=Math.abs(t.clientX-i.x),r=Math.abs(t.clientY-i.y),s=M(e||t);!s||la[s.localName]&&s.hasAttribute("disabled")||(isNaN(o)||isNaN(r)||o<=pi&&r<=pi||da(t))&&(i.prevent||Me(s,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
2384
2376
  * @license
2385
2377
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2386
2378
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2387
- */const Ur=i=>class extends we(Nt(i)){get _activeKeys(){return[" "]}ready(){super.ready(),ae(this,"down",e=>{this._shouldSetActive(e)&&this._setActive(!0)}),ae(this,"up",()=>{this._setActive(!1)})}disconnectedCallback(){super.disconnectedCallback(),this._setActive(!1)}_shouldSetActive(e){return!this.disabled}_onKeyDown(e){super._onKeyDown(e),this._shouldSetActive(e)&&this._activeKeys.includes(e.key)&&(this._setActive(!0),document.addEventListener("keyup",o=>{this._activeKeys.includes(o.key)&&this._setActive(!1)},{once:!0}))}_setActive(e){this.toggleAttribute("active",e)}};/**
2379
+ */const Br=i=>class extends we(Nt(i)){get _activeKeys(){return[" "]}ready(){super.ready(),ae(this,"down",e=>{this._shouldSetActive(e)&&this._setActive(!0)}),ae(this,"up",()=>{this._setActive(!1)})}disconnectedCallback(){super.disconnectedCallback(),this._setActive(!1)}_shouldSetActive(e){return!this.disabled}_onKeyDown(e){super._onKeyDown(e),this._shouldSetActive(e)&&this._activeKeys.includes(e.key)&&(this._setActive(!0),document.addEventListener("keyup",o=>{this._activeKeys.includes(o.key)&&this._setActive(!1)},{once:!0}))}_setActive(e){this.toggleAttribute("active",e)}};/**
2388
2380
  * @license
2389
2381
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2390
2382
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2391
- */const ga=i=>class extends Ur(Tr(Ae(i))){static get properties(){return{tabindex:{type:Number,value:0,reflectToAttribute:!0}}}get _activeKeys(){return["Enter"," "]}ready(){super.ready(),this.hasAttribute("role")||this.setAttribute("role","button")}_onKeyDown(e){super._onKeyDown(e),!(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)&&this._activeKeys.includes(e.key)&&(e.preventDefault(),this.click())}};exports.ActiveMixin=Ur;exports.ButtonMixin=ga;exports.ControllerMixin=Pe;exports.Debouncer=R;exports.DelegateFocusMixin=Sr;exports.DelegateStateMixin=Dr;exports.DirMixin=ve;exports.DisabledMixin=we;exports.ElementMixin=gn;exports.FieldMixin=Ir;exports.FocusMixin=Ae;exports.InputConstraintsMixin=zr;exports.InputControlMixin=Xn;exports.InputController=Tn;exports.InputMixin=Ce;exports.KeyboardMixin=Nt;exports.LabelledInputController=Zn;exports.PolymerElement=pr;exports.PropertyEffects=lr;exports.SlotController=St;exports.SlotObserver=Ar;exports.SlotStylesMixin=Nr;exports.ThemableMixin=Li;exports.TooltipController=An;exports.ValidateMixin=Se;exports.addListener=ae;exports.animationFrame=gr;exports.button=Lr;exports.buttonStyles=Qn;exports.buttonTemplate=ta;exports.dedupingMixin=b;exports.defineCustomElement=le;exports.enqueueDebouncer=yr;exports.flush=_n;exports.generateUniqueId=wr;exports.getAncestorRootNodes=bn;exports.getDeepActiveElement=Sn;exports.getFocusableElements=Dn;exports.helper=Ri;exports.html=ur;exports.i$3=_;exports.idlePeriod=br;exports.inputFieldShared=Pn;exports.inputFieldShared$1=Fi;exports.isElementFocusable=Er;exports.isElementFocused=Mn;exports.isIOS=Bn;exports.isKeyboardActive=Cr;exports.isSafari=Un;exports.isTouch=kr;exports.legacyOptimizations=Ui;exports.legacyWarnings=Hi;exports.matches=Go;exports.microTask=vr;exports.microTask$1=Zi;exports.registerStyles=S;exports.requiredField=fe;exports.setTouchAction=Br;exports.strictTemplatePolicy=At;exports.suppressTemplateNotifications=Fo;exports.timeOut=_r;exports.timeOut$1=ts;exports.translate=dt;exports.useShadow=Bi;exports.wrap$1=O;
2383
+ */const _a=i=>class extends Br(Pr(Ae(i))){static get properties(){return{tabindex:{type:Number,value:0,reflectToAttribute:!0}}}get _activeKeys(){return["Enter"," "]}ready(){super.ready(),this.hasAttribute("role")||this.setAttribute("role","button")}_onKeyDown(e){super._onKeyDown(e),!(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)&&this._activeKeys.includes(e.key)&&(e.preventDefault(),this.click())}};exports.ActiveMixin=Br;exports.ButtonMixin=_a;exports.ControllerMixin=Pe;exports.Debouncer=R;exports.DelegateFocusMixin=Tr;exports.DelegateStateMixin=Ir;exports.DirMixin=ve;exports.DisabledMixin=we;exports.ElementMixin=_n;exports.FieldMixin=Mr;exports.FocusMixin=Ae;exports.InputConstraintsMixin=Dr;exports.InputControlMixin=Jn;exports.InputController=Pn;exports.InputMixin=Ce;exports.KeyboardMixin=Nt;exports.LabelledInputController=Xn;exports.PolymerElement=hr;exports.PropertyEffects=ar;exports.SlotController=St;exports.SlotObserver=xr;exports.SlotStylesMixin=Sr;exports.ThemableMixin=zi;exports.TooltipController=xn;exports.ValidateMixin=Se;exports.addListener=ae;exports.animationFrame=_r;exports.button=zr;exports.buttonStyles=Zn;exports.buttonTemplate=Qn;exports.dedupingMixin=b;exports.defineCustomElement=le;exports.enqueueDebouncer=vr;exports.flush=mn;exports.generateUniqueId=Ar;exports.getAncestorRootNodes=gn;exports.getDeepActiveElement=Tn;exports.getFocusableElements=In;exports.helper=$i;exports.html=cr;exports.i$3=_;exports.idlePeriod=gr;exports.inputFieldShared=En;exports.inputFieldShared$1=Ri;exports.isElementFocusable=Cr;exports.isElementFocused=On;exports.isIOS=Fn;exports.isKeyboardActive=wr;exports.isSafari=Bn;exports.isTouch=Nr;exports.legacyOptimizations=Bi;exports.legacyWarnings=Ui;exports.matches=Wo;exports.microTask=br;exports.microTask$1=Xi;exports.registerStyles=S;exports.requiredField=fe;exports.setTouchAction=Fr;exports.strictTemplatePolicy=At;exports.suppressTemplateNotifications=Ro;exports.timeOut=mr;exports.timeOut$1=Qo;exports.translate=dt;exports.useShadow=Fi;exports.wrap$1=O;