@everymatrix/player-account-controller-nd 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/components/GeneralLogout-B0tDLggX.cjs +21 -0
  2. package/components/{GeneralLogout-CqNn1bEG.js → GeneralLogout-Bey9GDpf.js} +804 -745
  3. package/components/{GeneralLogout-qtT2UsMu.js → GeneralLogout-YiF0hTAh.js} +706 -647
  4. package/components/{PlayerAccountBettingHistory-CgKp1Tsa.js → PlayerAccountBettingHistory-Db9Bi7uC.js} +126 -127
  5. package/components/PlayerAccountBettingHistory-QrFClf-q.cjs +1 -0
  6. package/components/PlayerAccountBettingHistory-e7BZnvlA.js +329 -0
  7. package/components/{PlayerAccountBiometrics-hfEg8HK3.js → PlayerAccountBiometrics-9yKUwb5y.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-8CaZALdD.cjs → PlayerAccountBiometrics-Bs6NMHc0.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-BynUcDER.js → PlayerAccountBiometrics-fgA6msXe.js} +22 -22
  10. package/components/{PlayerAccountClosureNd-BzygnnRL.cjs → PlayerAccountClosureNd-BUJ9_TaL.cjs} +1 -1
  11. package/components/{PlayerAccountClosureNd-BNAxe4kI.js → PlayerAccountClosureNd-LZ83f2yz.js} +17 -17
  12. package/components/{PlayerAccountClosureNd-C56v4kQH.js → PlayerAccountClosureNd-UXSMJQcx.js} +17 -17
  13. package/components/{PlayerAccountControllerNd-0Azz2muh.js → PlayerAccountControllerNd-9wsIJ-js.js} +345 -298
  14. package/components/PlayerAccountControllerNd-D0INricU.cjs +1 -0
  15. package/components/{PlayerAccountControllerNd-CU0CZtN2.js → PlayerAccountControllerNd-DWv_sKx6.js} +346 -299
  16. package/components/{PlayerAccountGamingLimits-BUBbpeFt.js → PlayerAccountGamingLimits-B9-kZCVp.js} +81 -81
  17. package/components/{PlayerAccountGamingLimits-DoYSa5g4.cjs → PlayerAccountGamingLimits-D46zagPJ.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-cGyCwFe3.js → PlayerAccountGamingLimits-qwcdGv5k.js} +81 -81
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs → PlayerAccountGamingLimitsConfirmationModal-BVtO8XYY.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js → PlayerAccountGamingLimitsConfirmationModal-DsbEiYMl.js} +30 -30
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js → PlayerAccountGamingLimitsConfirmationModal-knZnUTFD.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js → PlayerAccountGamingLimitsGroupEdit-5NUu_zZc.js} +1302 -1355
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js → PlayerAccountGamingLimitsGroupEdit-B8GXBPFa.js} +1302 -1355
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DNh-dSyB.cjs +10 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js → PlayerAccountGamingLimitsHistory2Nd-CK8Ge8bB.js} +83 -82
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs → PlayerAccountGamingLimitsHistory2Nd-CTdhbVen.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js → PlayerAccountGamingLimitsHistory2Nd-DAeqMwXC.js} +81 -80
  28. package/components/{PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs → PlayerAccountGamingLimitsInfoCard-BP3ieYB-.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js → PlayerAccountGamingLimitsInfoCard-CVwEtiRl.js} +91 -87
  30. package/components/{PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js → PlayerAccountGamingLimitsInfoCard-U0DesVX6.js} +91 -87
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bw4LELoM.js} +120 -107
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-D5MICFh6.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js → PlayerAccountGamingLimitsPage2Gm16Nd-DgQc2QVS.js} +118 -105
  34. package/components/{PlayerAccountGamingLimitsPopup-BgdXe6lp.js → PlayerAccountGamingLimitsPopup-CoF07jnu.js} +26 -26
  35. package/components/{PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs → PlayerAccountGamingLimitsPopup-DyBIvm50.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-BhqEVpIP.js → PlayerAccountGamingLimitsPopup-K79LGbuJ.js} +26 -26
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs → PlayerAccountGamingLimitsWrapper2Nd-BW4iVYMB.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js → PlayerAccountGamingLimitsWrapper2Nd-BdjEhTA4.js} +17 -17
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js → PlayerAccountGamingLimitsWrapper2Nd-ufU6zWS8.js} +17 -17
  40. package/components/{PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs → PlayerAccountGeneralConfirmationModal-B4jIx1BX.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-BUSAMIdf.js → PlayerAccountGeneralConfirmationModal-C2tJxm9K.js} +34 -34
  42. package/components/{PlayerAccountGeneralConfirmationModal-BXQQtxIE.js → PlayerAccountGeneralConfirmationModal-G69m_xaE.js} +34 -34
  43. package/components/PlayerAccountMenuNd-BL9F1XLJ.cjs +1 -0
  44. package/components/{PlayerAccountMenuNd-Dw-owOIv.js → PlayerAccountMenuNd-Bhoxd17Y.js} +162 -140
  45. package/components/{PlayerAccountMenuNd-BGd35WSX.js → PlayerAccountMenuNd-BolTLeYK.js} +164 -142
  46. package/components/{PlayerAccountModal-CLW-XTid.cjs → PlayerAccountModal-COJeLuDu.cjs} +1 -1
  47. package/components/{PlayerAccountModal-C7aE-f75.js → PlayerAccountModal-D7KHd2U7.js} +27 -27
  48. package/components/{PlayerAccountModal-DcQTZlVT.js → PlayerAccountModal-Xa2YQAW6.js} +27 -27
  49. package/components/{PlayerAccountNotifications-lv1He1RO.js → PlayerAccountNotifications-CN9pIy3r.js} +36 -34
  50. package/components/{PlayerAccountNotifications-0ecn9JH_.js → PlayerAccountNotifications-D64RWyxv.js} +35 -33
  51. package/components/{PlayerAccountNotifications-CmSue8JR.cjs → PlayerAccountNotifications-DAWwzmCU.cjs} +1 -1
  52. package/components/{PlayerAccountSelfExclusionNd-TZyj4_3a.cjs → PlayerAccountSelfExclusionNd-BE6FLnkt.cjs} +182 -184
  53. package/components/{PlayerAccountSelfExclusionNd-DRQwA-0O.js → PlayerAccountSelfExclusionNd-Djz06Ekm.js} +1429 -1409
  54. package/components/{PlayerAccountSelfExclusionNd-CsBAGhjI.js → PlayerAccountSelfExclusionNd-ig2ia3IY.js} +1587 -1568
  55. package/components/{PlayerAccountTimeout-BDvJp_Zk.cjs → PlayerAccountTimeout-BeIP73DT.cjs} +1 -1
  56. package/components/{PlayerAccountTimeout-C0WAFaPW.js → PlayerAccountTimeout-DdAujgR0.js} +41 -41
  57. package/components/{PlayerAccountTimeout-CixN4uD5.js → PlayerAccountTimeout-y8LG_lWP.js} +41 -41
  58. package/components/{PlayerActiveBonuses-BAx9d0pm.js → PlayerActiveBonuses-DFEww75_.js} +239 -217
  59. package/components/PlayerActiveBonuses-DZpjmd5_.cjs +1 -0
  60. package/components/{PlayerActiveBonuses-CbJliQvN.js → PlayerActiveBonuses-dJSywFxG.js} +239 -217
  61. package/components/{PlayerBonusCard-5gtng8cd.cjs → PlayerBonusCard-BLy1uhLi.cjs} +1 -1
  62. package/components/{PlayerBonusCard-DnyVL-Cb.js → PlayerBonusCard-CFDVa6DC.js} +80 -80
  63. package/components/{PlayerBonusCard-BiVG3k7R.js → PlayerBonusCard-soky_TFz.js} +80 -80
  64. package/components/{PlayerBonusHistory-DA8a2ZnE.js → PlayerBonusHistory--BlJA1se.js} +33 -33
  65. package/components/{PlayerBonusHistory-CaiqLQk_.js → PlayerBonusHistory-22zrtSy8.js} +33 -33
  66. package/components/{PlayerBonusHistory-rLGeO078.cjs → PlayerBonusHistory-DZPMcFck.cjs} +1 -1
  67. package/components/{PlayerChangePassword-BsM1lBfW.cjs → PlayerChangePassword-UepIdqvw.cjs} +1 -1
  68. package/components/{PlayerChangePassword-DsR4BO-Y.js → PlayerChangePassword-djQtDeHb.js} +90 -88
  69. package/components/{PlayerChangePassword-dEL-0H2u.js → PlayerChangePassword-hrfxOW0b.js} +90 -88
  70. package/components/{PlayerDeposit-D_Ujmr4j.js → PlayerDeposit-BaC6d2og.js} +99 -99
  71. package/components/{PlayerDeposit-IS6_f845.js → PlayerDeposit-CpzXx-Jg.js} +99 -99
  72. package/components/PlayerDeposit-Dcjjga2V.cjs +1 -0
  73. package/components/{PlayerGamingHistory-BRstQCWo.cjs → PlayerGamingHistory-Ccw_gZ0A.cjs} +1 -1
  74. package/components/{PlayerGamingHistory-BYRzcRjb.js → PlayerGamingHistory-Vqvs5YTt.js} +57 -57
  75. package/components/{PlayerGamingHistory-GGgBAhXX.js → PlayerGamingHistory-tfAS2Z8a.js} +62 -62
  76. package/components/{PlayerPendingWithdrawals-CaoLTPFk.js → PlayerPendingWithdrawals-C10oNkk6.js} +26 -26
  77. package/components/{PlayerPendingWithdrawals-qMs8We3P.cjs → PlayerPendingWithdrawals-CvxjxkOD.cjs} +1 -1
  78. package/components/{PlayerPendingWithdrawals-M9Wq9w2M.js → PlayerPendingWithdrawals-D5M1bMLH.js} +26 -26
  79. package/components/{PlayerProfileInfo-Mqg0xIQD.cjs → PlayerProfileInfo-AlvN_pUL.cjs} +1 -1
  80. package/components/{PlayerProfileInfo-B4pkapUi.js → PlayerProfileInfo-B8-CMN4r.js} +74 -72
  81. package/components/{PlayerProfileInfo-Cr6m7e2V.js → PlayerProfileInfo-BvJQ2_J5.js} +74 -72
  82. package/components/{PlayerRealityCheck-B9LHSWRj.js → PlayerRealityCheck-BRhT1UhN.js} +33 -33
  83. package/components/{PlayerRealityCheck-CMKhVVBJ.js → PlayerRealityCheck-DPvdP9-_.js} +33 -33
  84. package/components/{PlayerRealityCheck-DoXLoM9G.cjs → PlayerRealityCheck-DSYoUIrf.cjs} +1 -1
  85. package/components/{PlayerTransactionHistory-BaALuJRH.js → PlayerTransactionHistory-BldqkQc5.js} +24 -24
  86. package/components/{PlayerTransactionHistory-BqEXyDt-.cjs → PlayerTransactionHistory-Cvm1EwgV.cjs} +1 -1
  87. package/components/{PlayerTransactionHistory-CYob92HC.js → PlayerTransactionHistory-JT3TZ8Mb.js} +24 -24
  88. package/components/{PlayerWithdrawal-CNDRfeXy.js → PlayerWithdrawal-CHHAj5SG.js} +19 -19
  89. package/components/{PlayerWithdrawal-1i-tYxaO.cjs → PlayerWithdrawal-D9w69Llz.cjs} +1 -1
  90. package/components/{PlayerWithdrawal-U9E0FEDt.js → PlayerWithdrawal-DI-38Q1t.js} +19 -19
  91. package/es2015/player-account-controller-nd.cjs +1 -1
  92. package/es2015/player-account-controller-nd.js +1 -1
  93. package/esnext/player-account-controller-nd.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
  96. package/stencil/app-globals-0f993ce5-DzSE6TtH.js +13 -0
  97. package/stencil/checkbox-group-input_9-DMrH9pTx.cjs +2045 -0
  98. package/stencil/{checkbox-group-input_9-B_RfUM6E.js → checkbox-group-input_9-DtZ9kvK4.js} +945 -903
  99. package/stencil/{checkbox-group-input_9-C98yT4vw.js → checkbox-group-input_9-DvXvp-ML.js} +984 -942
  100. package/stencil/general-input-CFqrfrup.cjs +1 -0
  101. package/stencil/{general-input-CqTf7ErJ.js → general-input-eCxMClmW.js} +6 -6
  102. package/stencil/{general-input-DTHw5Z1Q.js → general-input-rL_ftR3H.js} +6 -6
  103. package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
  104. package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
  105. package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
  106. package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
  107. package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
  108. package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
  109. package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
  110. package/stencil/index-9c0f6c58-CqoLeK5G.js +549 -0
  111. package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
  112. package/stencil/index-9cd44522-BqLgI-Ho.js +626 -0
  113. package/stencil/index-9cd44522-Cygpa4pV.js +610 -0
  114. package/stencil/index-9cd44522-DwMekoGN.cjs +1 -0
  115. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
  116. package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
  117. package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
  118. package/stencil/{password-input_2-CdHS5fmR.js → password-input_2-9_yxZI2g.js} +51 -31
  119. package/stencil/{password-input_2-B2qvf6ku.cjs → password-input_2-BabcxKun.cjs} +7 -7
  120. package/stencil/{password-input_2-DdQvCp3o.js → password-input_2-D-YA_Jkx.js} +51 -31
  121. package/stencil/{player-change-password-gm2-38dff08c-BNhjxr22.js → player-change-password-gm2-039e300e-CcWiaT26.js} +3 -3
  122. package/stencil/{player-change-password-gm2-38dff08c-DnYXSeKg.cjs → player-change-password-gm2-039e300e-DiYWgS70.cjs} +1 -1
  123. package/stencil/{player-change-password-gm2-38dff08c-CPRdwVFF.js → player-change-password-gm2-039e300e-Zp9TDX77.js} +3 -3
  124. package/stencil/player-change-password-gm2-BWjI2Hs0.js +25 -0
  125. package/stencil/player-change-password-gm2-BaYafift.js +7 -0
  126. package/stencil/player-change-password-gm2-DsT1aXcX.cjs +1 -0
  127. package/stencil/player-kyc-verification-B8arDCja.js +863 -0
  128. package/stencil/player-kyc-verification-Di40xn9z.js +885 -0
  129. package/stencil/player-kyc-verification-GFBDUbhm.cjs +180 -0
  130. package/stencil/{toggle-checkbox-input-B4OOk9wz.js → toggle-checkbox-input-BxUGWw2X.js} +15 -7
  131. package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +1 -0
  132. package/stencil/{toggle-checkbox-input-Cwo_Ny77.js → toggle-checkbox-input-PSoH9KF2.js} +15 -7
  133. package/stencil/{ui-skeleton-ITys8nIA.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
  134. package/stencil/{ui-skeleton-BL5JJXyn.js → ui-skeleton-DT0OMDC6.js} +3 -3
  135. package/stencil/{ui-skeleton-CGldUjn2.js → ui-skeleton-T4HYbNcC.js} +3 -3
  136. package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +1 -0
  137. package/stencil/{ui-skeleton-982450d2-BKnKTh4c.js → ui-skeleton-a642cced-Ba-weZ4g.js} +21 -21
  138. package/stencil/{ui-skeleton-982450d2-DQzKNKe8.js → ui-skeleton-a642cced-DhjmNsN7.js} +21 -21
  139. package/stencil/user-deposit-withdrawal-BQKFgZ31.cjs +59 -0
  140. package/stencil/user-deposit-withdrawal-DRe5oBqv.js +684 -0
  141. package/stencil/user-deposit-withdrawal-Dj3Po03r.js +706 -0
  142. package/stencil/user-transaction-history-6-z3byrF.js +374 -0
  143. package/stencil/user-transaction-history-Dca7qx08.js +350 -0
  144. package/stencil/user-transaction-history-DrhquxkJ.cjs +1 -0
  145. package/stencil/{vaadin-button-mixin-ef61174c-DuDVejN4.cjs → vaadin-button-mixin-e8c3f355-BdntioNA.cjs} +130 -124
  146. package/stencil/{vaadin-button-mixin-ef61174c-B_vhSFKU.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +821 -795
  147. package/stencil/{vaadin-button-mixin-ef61174c-EQiVsI4x.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +931 -906
  148. package/components/GeneralLogout-9pZTJKCj.cjs +0 -8
  149. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +0 -1
  150. package/components/PlayerAccountBettingHistory-DGdU5x1X.js +0 -328
  151. package/components/PlayerAccountControllerNd-DiMI0zck.cjs +0 -1
  152. package/components/PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs +0 -10
  153. package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +0 -1
  154. package/components/PlayerActiveBonuses-DTgD47j8.cjs +0 -1
  155. package/components/PlayerDeposit-0eaqfWH1.cjs +0 -1
  156. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
  157. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +0 -7
  158. package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +0 -2045
  159. package/stencil/general-input-wM2i7b57.cjs +0 -1
  160. package/stencil/index-92b64862-BRYoLHww.cjs +0 -1
  161. package/stencil/index-92b64862-C_69cKxK.js +0 -708
  162. package/stencil/index-92b64862-w9a1l35N.js +0 -692
  163. package/stencil/index-Dyvby5gX.cjs +0 -1
  164. package/stencil/index-db5752f9-DlyF6uv8.js +0 -594
  165. package/stencil/index-db5752f9-DrdunCay.js +0 -610
  166. package/stencil/index-db5752f9-dFKrDpwt.cjs +0 -1
  167. package/stencil/index-l0sNRNKZ.js +0 -1
  168. package/stencil/player-change-password-gm2-Cxdum0Hh.js +0 -25
  169. package/stencil/player-change-password-gm2-DJqZO25d.cjs +0 -1
  170. package/stencil/player-change-password-gm2-DWoAaJ2f.js +0 -7
  171. package/stencil/toggle-checkbox-input-tQDhlcag.cjs +0 -1
  172. package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +0 -1
@@ -1,48 +1,48 @@
1
- "use strict";var Ur=Object.defineProperty,jr=Object.defineProperties;var Yr=Object.getOwnPropertyDescriptors;var De=Object.getOwnPropertySymbols;var qr=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable;var Le=(i,t,e)=>t in i?Ur(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,It=(i,t)=>{for(var e in t||(t={}))qr.call(t,e)&&Le(i,e,t[e]);if(De)for(var e of De(t))Gr.call(t,e)&&Le(i,e,t[e]);return i},zt=(i,t)=>jr(i,Yr(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 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())});/**
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
- */window.Vaadin||(window.Vaadin={});var bi;(bi=window.Vaadin).featureFlags||(bi.featureFlags={});function Wr(i){return i.replace(/-[a-z]/gu,t=>t[1].toUpperCase())}const P={};function de(i,t="24.6.5"){if(Object.defineProperty(i,"version",{get(){return t}}),i.experimental){const o=typeof i.experimental=="string"?i.experimental:`${Wr(i.is.split("-").slice(1).join("-"))}Component`;if(!window.Vaadin.featureFlags[o]&&!P[o]){P[o]=new Set,P[o].add(i),Object.defineProperty(window.Vaadin.featureFlags,o,{get(){return P[o].size===0},set(r){r&&P[o].size>0&&(P[o].forEach(s=>{customElements.define(s.is,s)}),P[o].clear())}});return}else if(P[o]){P[o].add(i);return}}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.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.`)}}/**
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 Kr extends HTMLElement{static get is(){return"vaadin-lumo-styles"}}de(Kr);/**
9
+ */class Wr extends HTMLElement{static get is(){return"vaadin-lumo-styles"}}le(Wr);/**
10
10
  * @license
11
11
  * Copyright 2019 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const bt=globalThis,ce=bt.ShadowRoot&&(bt.ShadyCSS===void 0||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ue=Symbol(),Re=new WeakMap;class he{constructor(t,e,o){if(this._$cssResult$=!0,o!==ue)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(ce&&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 Xr=i=>new he(typeof i=="string"?i:i+"",void 0,ue),_=(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 he(e,i,ue)},Ci=(i,t)=>{if(ce)i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const o=document.createElement("style"),r=bt.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=e.cssText,i.appendChild(o)}},Be=ce?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Xr(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(),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;/**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */const{is:Jr,defineProperty:Zr,getOwnPropertyDescriptor:Qr,getOwnPropertyNames:to,getOwnPropertySymbols:eo,getPrototypeOf:io}=Object,O=globalThis,Fe=O.trustedTypes,ro=Fe?Fe.emptyScript:"",Dt=O.reactiveElementPolyfillSupport,it=(i,t)=>i,Wt={toAttribute(i,t){switch(t){case Boolean:i=i?ro: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}},Pi=(i,t)=>!Jr(i,t),He={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Pi};var vi,yi;(vi=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(yi=O.litPropertyMetadata)!=null||(O.litPropertyMetadata=new WeakMap);class V 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=He){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&&Zr(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){var n;const{get:r,set:s}=(n=Qr(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:He}static _$Ei(){if(this.hasOwnProperty(it("elementProperties")))return;const t=io(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(it("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(it("properties"))){const e=this.properties,o=[...to(e),...eo(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(Be(r))}else t!==void 0&&e.push(Be(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:Pi)(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 xi;V.elementStyles=[],V.shadowRootOptions={mode:"open"},V[it("elementProperties")]=new Map,V[it("finalized")]=new Map,Dt==null||Dt({ReactiveElement:V}),((xi=O.reactiveElementVersions)!=null?xi:O.reactiveElementVersions=[]).push("2.0.4");/**
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");/**
18
18
  * @license
19
19
  * Copyright 2017 Google LLC
20
20
  * SPDX-License-Identifier: BSD-3-Clause
21
- */const rt=globalThis,yt=rt.trustedTypes,Ve=yt?yt.createPolicy("lit-html",{createHTML:i=>i}):void 0,Si="$lit$",k=`lit$${Math.random().toFixed(9).slice(2)}$`,Ti="?"+k,oo=`<${Ti}>`,R=document,st=()=>R.createComment(""),nt=i=>i===null||typeof i!="object"&&typeof i!="function",pe=Array.isArray,so=i=>pe(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",Lt=`[
22
- \f\r]`,X=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ue=/-->/g,je=/>/g,z=RegExp(`>|${Lt}(?:([^\\s"'>=/]+)(${Lt}*=${Lt}*(?:[^
23
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ye=/'/g,qe=/"/g,Ni=/^(?:script|style|textarea|title)$/i,G=Symbol.for("lit-noChange"),g=Symbol.for("lit-nothing"),Ge=new WeakMap,D=R.createTreeWalker(R,129);function ki(i,t){if(!pe(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ve!==void 0?Ve.createHTML(t):t}const no=(i,t)=>{const e=i.length-1,o=[];let r,s=t===2?"<svg>":t===3?"<math>":"",n=X;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===X?c[1]==="!--"?n=Ue:c[1]!==void 0?n=je:c[2]!==void 0?(Ni.test(c[2])&&(r=RegExp("</"+c[2],"g")),n=z):c[3]!==void 0&&(n=z):n===z?c[0]===">"?(n=r!=null?r:X,u=-1):c[1]===void 0?u=-2:(u=n.lastIndex-c[2].length,d=c[1],n=c[3]===void 0?z:c[3]==='"'?qe:Ye):n===qe||n===Ye?n=z:n===Ue||n===je?n=X:(n=z,r=void 0);const p=n===z&&i[a+1].startsWith("/>")?" ":"";s+=n===X?l+oo:u>=0?(o.push(d),l.slice(0,u)+Si+l.slice(u)+k+p):l+k+(u===-2?a:p)}return[ki(i,s+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]};class at{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]=no(t,e);if(this.el=at.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(Si)){const h=c[n++],p=r.getAttribute(u).split(k),m=/([.?@])?(.*)/.exec(h);l.push({type:1,index:s,name:m[2],strings:p,ctor:m[1]==="."?lo:m[1]==="?"?co:m[1]==="@"?uo:Pt}),r.removeAttribute(u)}else u.startsWith(k)&&(l.push({type:6,index:s}),r.removeAttribute(u));if(Ni.test(r.tagName)){const u=r.textContent.split(k),h=u.length-1;if(h>0){r.textContent=yt?yt.emptyScript:"";for(let p=0;p<h;p++)r.append(u[p],st()),D.nextNode(),l.push({type:2,index:++s});r.append(u[h],st())}}}else if(r.nodeType===8)if(r.data===Ti)l.push({type:2,index:s});else{let u=-1;for(;(u=r.data.indexOf(k,u+1))!==-1;)l.push({type:7,index:s}),u+=k.length-1}s++}}static createElement(t,e){const o=R.createElement("template");return o.innerHTML=t,o}}function W(i,t,e=i,o){var n,a,l;if(t===G)return t;let r=o!==void 0?(n=e._$Co)==null?void 0:n[o]:e._$Cl;const s=nt(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 ao{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:R).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 ft(s,s.nextSibling,this,t):l.type===1?c=new l.ctor(s,l.name,l.strings,this,t):l.type===6&&(c=new ho(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,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 ft{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),nt(t)?t===g||t==null||t===""?(this._$AH!==g&&this._$AR(),this._$AH=g):t!==this._$AH&&t!==G&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):so(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&&nt(this._$AH)?this._$AA.nextSibling.data=t:this.T(R.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=at.createElement(ki(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 ao(r,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=Ge.get(t.strings);return e===void 0&&Ge.set(t.strings,e=new at(t)),e}k(t){pe(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 ft(this.O(st()),this.O(st()),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 Pt{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=!nt(t)||t!==this._$AH&&t!==G,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===G&&(d=this._$AH[l]),n||(n=!nt(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 lo extends Pt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===g?void 0:t}}class co extends Pt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==g)}}class uo extends Pt{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)===G)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 ho{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 $t=rt.litHtmlPolyfillSupport;var Ai;$t==null||$t(at,ft),((Ai=rt.litHtmlVersions)!=null?Ai:rt.litHtmlVersions=[]).push("3.2.1");const po=(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 ft(t.insertBefore(st(),a),a,void 0,e!=null?e:{})}return r._$AI(i),r};/**
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};/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */class U extends V{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=po(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 G}}var wi;U._$litElement$=!0,U.finalized=!0,(wi=globalThis.litElementHydrateSupport)==null||wi.call(globalThis,{LitElement:U});const Rt=globalThis.litElementPolyfillSupport;Rt==null||Rt({LitElement:U});var Ei;((Ei=globalThis.litElementVersions)!=null?Ei: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=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");/**
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 fo=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 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)}};/**
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 Oi=[],Kt=new Set,fe=new Set;function Mi(i){return i&&Object.prototype.hasOwnProperty.call(i,"__themes")}function mo(i){return Mi(customElements.get(i))}function _o(i=[]){return[i].flat(1/0).filter(t=>t instanceof he?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function Ii(i,t){return(i||"").split(" ").some(e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t))}function zi(i){return i.map(t=>t.cssText).join(`
36
- `)}const xt="vaadin-themable-mixin-style";function go(i,t){const e=document.createElement("style");e.id=xt,e.textContent=zi(i),t.content.appendChild(e)}function bo(i){if(!i.shadowRoot)return;const t=i.constructor;if(i instanceof U)[...i.shadowRoot.querySelectorAll("style")].forEach(e=>e.remove()),Ci(i.shadowRoot,t.elementStyles);else{const e=i.shadowRoot.getElementById(xt),o=t.prototype._template;e.textContent=o.content.getElementById(xt).textContent}}function vo(i){Kt.forEach(t=>{const e=t.deref();e instanceof i?bo(e):e||Kt.delete(t)})}function Di(i){if(i.prototype instanceof U)i.elementStyles=i.finalizeStyles(i.styles);else{const t=i.prototype._template;t.content.getElementById(xt).textContent=zi(i.getStylesForThis())}fe.forEach(t=>{const e=customElements.get(t);e!==i&&e.prototype instanceof i&&Di(e)})}function yo(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 N(i,t,e={}){t=_o(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(i,t,e):Oi.push({themeFor:i,styles:t,include:e.include,moduleId:e.moduleId}),i&&fe.forEach(o=>{if(Ii(i,o)&&mo(o)){const r=customElements.get(o);yo(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),vo(r)}})}function Xt(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():Oi}function xo(i=""){let t=0;return i.startsWith("lumo-")||i.startsWith("material-")?t=1:i.startsWith("vaadin-")&&(t=2),t}function Li(i){const t=[];return i.include&&[].concat(i.include).forEach(e=>{const o=Xt().find(r=>r.moduleId===e);o?t.push(...Li(o),...o.styles):console.warn(`Included moduleId ${e} not found in style registry`)},i.styles),t}function Ao(i){const t=`${i}-default-theme`,e=Xt().filter(o=>o.moduleId!==t&&Ii(o.themeFor,i)).map(o=>zt(It({},o),{styles:[...Li(o),...o.styles],includePriority:xo(o.moduleId)})).sort((o,r)=>r.includePriority-o.includePriority);return e.length>0?e:Xt().filter(o=>o.moduleId===t)}const $i=i=>class extends fo(i){constructor(){super(),Kt.add(new WeakRef(this))}static finalize(){if(super.finalize(),this.is&&fe.add(this.is),this.elementStyles)return;const e=this.prototype._template;!e||Mi(this)||go(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,...Ao(this.is)];const s=this.__themes.flatMap(n=>n.styles);return s.filter((n,a)=>a===s.lastIndexOf(n))}};/**
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))}};/**
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 wo=(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)},K=(i,...t)=>{wo(`lumo-${i}`,t)};/**
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)};/**
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 Eo=_`
45
+ */const Ao=_`
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
- `;K("color-props",Eo);const Co=_`
130
+ `;G("color-props",Ao);const wo=_`
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
- `;N("",Co,{moduleId:"lumo-color"});/**
248
+ `;S("",wo,{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 Po=_`
252
+ */const Co=_`
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
- `;K("sizing-props",Po);/**
267
+ `;G("sizing-props",Co);/**
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 So=_`
271
+ */const Eo=_`
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
- `;K("style-props",So);/**
371
+ `;G("style-props",Eo);/**
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 To=_`
375
+ */const Po=_`
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
- `,No=_`
395
+ `,To=_`
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
- `;N("",No,{moduleId:"lumo-typography"});K("typography-props",To);N("vaadin-input-container",_`
487
+ `;S("",To,{moduleId:"lumo-typography"});G("typography-props",Po);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,10 +666,10 @@
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 ko=_`
669
+ */const So=_`
670
670
  @font-face {
671
671
  font-family: 'lumo-icons';
672
- src: url(data:application/font-woff;charset=utf-8;base64,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)
672
+ src: url(data:application/font-woff;charset=utf-8;base64,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)
673
673
  format('woff');
674
674
  font-weight: normal;
675
675
  font-style: normal;
@@ -699,33 +699,31 @@
699
699
  --lumo-icons-cog: '\\ea15';
700
700
  --lumo-icons-cross: '\\ea16';
701
701
  --lumo-icons-download: '\\ea17';
702
- --lumo-icons-drag-handle: '\\ea18';
703
- --lumo-icons-dropdown: '\\ea19';
704
- --lumo-icons-edit: '\\ea1a';
705
- --lumo-icons-error: '\\ea1b';
706
- --lumo-icons-eye: '\\ea1c';
707
- --lumo-icons-eye-disabled: '\\ea1d';
708
- --lumo-icons-menu: '\\ea1e';
709
- --lumo-icons-minus: '\\ea1f';
710
- --lumo-icons-ordered-list: '\\ea20';
711
- --lumo-icons-phone: '\\ea21';
712
- --lumo-icons-photo: '\\ea22';
713
- --lumo-icons-play: '\\ea23';
714
- --lumo-icons-plus: '\\ea24';
715
- --lumo-icons-redo: '\\ea25';
716
- --lumo-icons-reload: '\\ea26';
717
- --lumo-icons-resize-handle: '\\ea27';
718
- --lumo-icons-search: '\\ea28';
719
- --lumo-icons-undo: '\\ea29';
720
- --lumo-icons-unordered-list: '\\ea2a';
721
- --lumo-icons-upload: '\\ea2b';
722
- --lumo-icons-user: '\\ea2c';
723
- }
724
- `;K("font-icons",ko);/**
702
+ --lumo-icons-dropdown: '\\ea18';
703
+ --lumo-icons-edit: '\\ea19';
704
+ --lumo-icons-error: '\\ea1a';
705
+ --lumo-icons-eye: '\\ea1b';
706
+ --lumo-icons-eye-disabled: '\\ea1c';
707
+ --lumo-icons-menu: '\\ea1d';
708
+ --lumo-icons-minus: '\\ea1e';
709
+ --lumo-icons-ordered-list: '\\ea1f';
710
+ --lumo-icons-phone: '\\ea20';
711
+ --lumo-icons-photo: '\\ea21';
712
+ --lumo-icons-play: '\\ea22';
713
+ --lumo-icons-plus: '\\ea23';
714
+ --lumo-icons-redo: '\\ea24';
715
+ --lumo-icons-reload: '\\ea25';
716
+ --lumo-icons-search: '\\ea26';
717
+ --lumo-icons-undo: '\\ea27';
718
+ --lumo-icons-unordered-list: '\\ea28';
719
+ --lumo-icons-upload: '\\ea29';
720
+ --lumo-icons-user: '\\ea2a';
721
+ }
722
+ `;G("font-icons",So);/**
725
723
  * @license
726
724
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
727
725
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
728
- */const Oo=_`
726
+ */const No=_`
729
727
  :host {
730
728
  /* Square */
731
729
  --lumo-space-xs: 0.25rem;
@@ -748,11 +746,11 @@
748
746
  --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
749
747
  --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
750
748
  }
751
- `;K("spacing-props",Oo);/**
749
+ `;G("spacing-props",No);/**
752
750
  * @license
753
751
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
754
752
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
755
- */const Ri=_`
753
+ */const $i=_`
756
754
  [part$='button'] {
757
755
  flex: none;
758
756
  width: 1em;
@@ -779,11 +777,11 @@
779
777
  font-family: 'lumo-icons';
780
778
  display: block;
781
779
  }
782
- `;N("",Ri,{moduleId:"lumo-field-button"});/**
780
+ `;S("",$i,{moduleId:"lumo-field-button"});/**
783
781
  * @license
784
782
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
785
783
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
786
- */const Bi=_`
784
+ */const Ri=_`
787
785
  :host {
788
786
  --_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
789
787
  }
@@ -843,7 +841,7 @@
843
841
  * @license
844
842
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
845
843
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
846
- */const me=_`
844
+ */const fe=_`
847
845
  [part='label'] {
848
846
  align-self: flex-start;
849
847
  color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
@@ -955,11 +953,11 @@
955
953
  margin-left: 0;
956
954
  margin-right: calc(var(--lumo-border-radius-m) / 4);
957
955
  }
958
- `;N("",me,{moduleId:"lumo-required-field"});/**
956
+ `;S("",fe,{moduleId:"lumo-required-field"});/**
959
957
  * @license
960
958
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
961
959
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
962
- */const Mo=_`
960
+ */const ko=_`
963
961
  :host {
964
962
  --lumo-text-field-size: var(--lumo-size-m);
965
963
  color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
@@ -1090,7 +1088,7 @@
1090
1088
  [part='clear-button']::before {
1091
1089
  content: var(--lumo-icons-cross);
1092
1090
  }
1093
- `,Fi=[me,Ri,Bi,Mo];N("",Fi,{moduleId:"lumo-input-field-shared-styles"});/**
1091
+ `,Fi=[fe,$i,Ri,ko];S("",Fi,{moduleId:"lumo-input-field-shared-styles"});/**
1094
1092
  @license
1095
1093
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1096
1094
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1106,7 +1104,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1106
1104
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1107
1105
  Code distributed by Google as part of the polymer project is also
1108
1106
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1109
- */let Io=/(url\()([^)]*)(\))/g,zo=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,mt,A;function ot(i,t){if(i&&zo.test(i)||i==="//")return i;if(mt===void 0){mt=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",mt=e.href==="http://a/c%20d"}catch(e){}}if(t||(t=document.baseURI||window.location.href),mt)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 _e(i,t){return i.replace(Io,function(e,o,r,s){return o+"'"+ot(r.replace(/["']/g,""),t)+"'"+s})}function ge(i){return i.substring(0,i.lastIndexOf("/")+1)}/**
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)}/**
1110
1108
  @license
1111
1109
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1112
1110
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1114,7 +1112,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1114
1112
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1115
1113
  Code distributed by Google as part of the polymer project is also
1116
1114
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1117
- */const Hi=!window.ShadyDOM||!window.ShadyDOM.inUse,Do=Hi&&"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 Lo=window.Polymer&&window.Polymer.rootPath||ge(document.baseURI||window.location.href),At=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,wt=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,$o=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Vi=window.Polymer&&window.Polymer.legacyOptimizations||!1,Ui=window.Polymer&&window.Polymer.legacyWarnings||!1,Ro=window.Polymer&&window.Polymer.syncInitialRender||!1,Jt=window.Polymer&&window.Polymer.legacyUndefined||!1,Bo=window.Polymer&&window.Polymer.orderedComputed||!1,We=window.Polymer&&window.Polymer.removeNestedTemplates||!1,Fo=window.Polymer&&window.Polymer.fastDomIf||!1,Ho=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,Vo=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/**
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;/**
1118
1116
  @license
1119
1117
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1120
1118
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1130,7 +1128,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1130
1128
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1131
1129
  Code distributed by Google as part of the polymer project is also
1132
1130
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1133
- */let be={},ji={};function Ke(i,t){be[i]=ji[i.toLowerCase()]=t}function Xe(i){return be[i]||ji[i.toLowerCase()]}function jo(i){i.querySelector("style")&&console.warn("dom-module %s has style outside template",i.id)}class lt extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let o=Xe(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=ot(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=ge(e)}return this.__assetpath}register(t){if(t=t||this.id,t){if(wt&&Xe(t)!==void 0)throw Ke(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,Ke(t,this),jo(this)}}}lt.prototype.modules=be;customElements.define("dom-module",lt);/**
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);/**
1134
1132
  @license
1135
1133
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1136
1134
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1138,7 +1136,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1138
1136
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1139
1137
  Code distributed by Google as part of the polymer project is also
1140
1138
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1141
- */const Yo="link[rel=import][type~=css]",qo="include",Je="shady-unscoped";function Yi(i){return lt.import(i)}function Ze(i){let t=i.body?i.body:i;const e=_e(t.textContent,i.baseURI),o=document.createElement("style");return o.textContent=e,o}function Go(i){const t=i.trim().split(/\s+/),e=[];for(let o=0;o<t.length;o++)e.push(...Wo(t[o]));return e}function Wo(i){const t=Yi(i);if(!t)return console.warn("Could not find style data in module named",i),[];if(t._styles===void 0){const e=[];e.push(...Gi(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(qo);n&&e.push(...Go(n).filter(function(a,l,d){return d.indexOf(a)===l})),t&&(s.textContent=_e(s.textContent,t)),e.push(s)}i._styles=e}return i._styles}function Ko(i){let t=Yi(i);return t?Gi(t):[]}function Gi(i){const t=[],e=i.querySelectorAll(Yo);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=Ze(s);a.setAttribute(Je,""),s._unscopedStyle=a}else s._style||(s._style=Ze(s));t.push(n?s._unscopedStyle:s._style)}}return t}/**
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}/**
1142
1140
  @license
1143
1141
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1144
1142
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1146,7 +1144,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1146
1144
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1147
1145
  Code distributed by Google as part of the polymer project is also
1148
1146
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1149
- */const M=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?i=>ShadyDOM.patch(i):i=>i;/**
1147
+ */const O=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?i=>ShadyDOM.patch(i):i=>i;/**
1150
1148
  @license
1151
1149
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1152
1150
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1154,7 +1152,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1154
1152
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1155
1153
  Code distributed by Google as part of the polymer project is also
1156
1154
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1157
- */function Zt(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 dt(i,t){return t.indexOf(i+".")===0}function ct(i,t,e){return t+e.slice(i.length)}function Xo(i,t){return i===t||Wi(i,t)||dt(i,t)}function tt(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 Ki(i){return Array.isArray(i)?tt(i).split("."):i.toString().split(".")}function v(i,t,e){let o=i,r=Ki(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=Ki(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 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(".")}/**
1158
1156
  @license
1159
1157
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1160
1158
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1162,7 +1160,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1162
1160
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1163
1161
  Code distributed by Google as part of the polymer project is also
1164
1162
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1165
- */const Et={},Jo=/-[a-z]/g,Zo=/([A-Z])/g;function Xi(i){return Et[i]||(Et[i]=i.indexOf("-")<0?i:i.replace(Jo,t=>t[1].toUpperCase()))}function St(i){return Et[i]||(Et[i]=i.replace(Zo,"-$1").toLowerCase())}/**
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())}/**
1166
1164
  @license
1167
1165
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1168
1166
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1170,7 +1168,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1170
1168
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1171
1169
  Code distributed by Google as part of the polymer project is also
1172
1170
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1173
- */let Qo=0,Ji=0,j=[],ts=0,Qt=!1,Zi=document.createTextNode("");new window.MutationObserver(es).observe(Zi,{characterData:!0});function es(){Qt=!1;const i=j.length;for(let t=0;t<i;t++){let e=j[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}j.splice(0,i),Ji+=i}const is={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)}},Qi={run(i){return Qt||(Qt=!0,Zi.textContent=ts++),j.push(i),Qo++},cancel(i){const t=i-Ji;if(t>=0){if(!j[t])throw new Error("invalid async handle: "+i);j[t]=null}}};/**
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}}};/**
1174
1172
  @license
1175
1173
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1176
1174
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1178,7 +1176,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1178
1176
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1179
1177
  Code distributed by Google as part of the polymer project is also
1180
1178
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1181
- */const rs=Qi,tr=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,rs.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=M(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 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});/**
1182
1180
  @license
1183
1181
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1184
1182
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1186,7 +1184,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1186
1184
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1187
1185
  Code distributed by Google as part of the polymer project is also
1188
1186
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1189
- */const er={};let _t=HTMLElement.prototype;for(;_t;){let i=Object.getOwnPropertyNames(_t);for(let t=0;t<i.length;t++)er[i[t]]=!0;_t=Object.getPrototypeOf(_t)}const os=window.trustedTypes?i=>trustedTypes.isHTML(i)||trustedTypes.isScript(i)||trustedTypes.isScriptURL(i):()=>!1;function ss(i,t){if(!er[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 ns=b(i=>{const t=tr(i);class e extends t{static createPropertiesForAttributes(){let r=this.observedAttributes;for(let s=0;s<r.length;s++)this.prototype._createPropertyAccessor(Xi(r[s]))}static attributeNameForProperty(r){return St(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(os(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){ss(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 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});/**
1190
1188
  @license
1191
1189
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1192
1190
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1194,7 +1192,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1194
1192
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1195
1193
  Code distributed by Google as part of the polymer project is also
1196
1194
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1197
- */const as={"dom-if":!0,"dom-repeat":!0};let ti=!1,ei=!1;function ls(){if(!ti){ti=!0;const i=document.createElement("textarea");i.placeholder="a",ei=i.placeholder===i.textContent}return ei}function ds(i){ls()&&i.localName==="textarea"&&i.placeholder&&i.placeholder===i.textContent&&(i.textContent=null)}const cs=(()=>{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 us(i){let t=i.getAttribute("is");if(t&&as[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];cs(i,e,o),e.removeAttribute(o)}}return i}function ir(i,t){let e=t.parentInfo&&ir(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 hs(i,t,e,o){o.id&&(t[o.id]=e)}function ps(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 fs(i,t,e,o){e.templateInfo&&(t._templateInfo=e.templateInfo,t._parentTemplateInfo=o)}function ms(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 _s=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),ds(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=us(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]=ir(a,u);hs(this,a.$,h,u),fs(this,h,u,r),ps(this,h,u)}return a=a,a}_addMethodEventListenerToNode(o,r,s,n){n=n||o;let a=ms(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 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});/**
1198
1196
  * @fileoverview
1199
1197
  * @suppress {checkPrototypalTypes}
1200
1198
  * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -1204,7 +1202,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1204
1202
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
1205
1203
  * Google as part of the polymer project is also subject to an additional IP
1206
1204
  * rights grant found at http://polymer.github.io/PATENTS.txt
1207
- */let ut=0;const ht=[],f={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},rr="__computeInfo",gs=/[A-Z]/;function Bt(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 et(i,t,e,o,r,s){if(t){let n=!1;const a=ut++;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||ve(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 bs(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||ve(o,p.trigger))&&(p.info&&(p.info.lastRun=e),p.fn(i,o,r,s,p.info,n,a),l=!0);return l}function ve(i,t){if(t){let e=t.name;return e==i||!!(t.structured&&Wi(e,i))||!!(t.wildcard&&dt(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 vs(i,t,e,o,r){let s=i[f.NOTIFY],n,a=ut++;for(let d in t)t[d]&&(s&&bs(i,s,a,d,e,o,r)||r&&ys(i,d,e))&&(n=!0);let l;n&&(l=i.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function ys(i,t,e){let o=F(t);if(o!==t){let r=St(o)+"-changed";return or(i,r,e[t],t),!0}return!1}function or(i,t,e,o){let r={value:e,queueProperty:!0};o&&(r.path=o),M(i).dispatchEvent(new CustomEvent(t,{detail:r}))}function xs(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]),or(i,r.eventName,l,a)}function As(i,t,e,o,r){let s,n=i.detail,a=n&&n.path;a?(o=ct(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 ws(i,t,e,o,r){let s=i.__data[t];At&&(s=At(s,r.attrName,"attribute",i)),i._propertyToAttribute(t,r.attrName,s)}function Es(i,t,e,o){let r=i[f.COMPUTE];if(r)if(Bo){ut++;const s=Ps(i),n=[];for(let l in t)ri(l,r,n,s,o);let a;for(;a=n.shift();)sr(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(;et(i,r,s,e,o);)Object.assign(e,i.__dataOld),Object.assign(t,i.__dataPending),s=i.__dataPending,i.__dataPending=null}}const Cs=(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!==ut&&(!r||ve(i,l.trigger))&&(l.info.lastRun=ut,Cs(l.info,e,o))}};function Ps(i){let t=i.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=i[f.COMPUTE];let{counts:o,ready:r,total:s}=Ss(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 Ss(i){const t=i[rr],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 sr(i,t,e,o,r){let s=te(i,t,e,o,r);if(s===ht)return!1;let n=r.methodInfo;return i.__dataHasAccessor&&i.__dataHasAccessor[n]?i._setPendingProperty(n,s,!0):(i[n]=s,!1)}function Ts(i,t,e){let o=i.__dataLinkedPaths;if(o){let r;for(let s in o){let n=o[s];dt(s,t)?(r=ct(s,n,t),i._setPendingPropertyOrPath(r,e,!0,!0)):dt(n,t)&&(r=ct(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),Is(a)){let{event:d,negate:c}=a.parts[0];a.listenerEvent=d||St(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,Ns(i,t,a,c,l)}}function Ns(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=ar(l),l.wildcard=!0),i._addTemplatePropertyEffect(t,l.rootProperty,{fn:ks,info:n,trigger:l})}}}function ks(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=ct(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!==ht&&Os(i,a,l,d,c)}}function Os(i,t,e,o,r){if(r=Ms(t,r,e,o),At&&(r=At(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 Ms(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 Is(i){return!!i.target&&i.kind!="attribute"&&i.kind!="text"&&!i.isCompound&&i.parts[0].mode==="{"}function zs(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];Ds(n,d),Ls(n,i,d)}n.__dataHost=i}}function Ds(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=M(i)),i[s]=t.literal)}}function Ls(i,t,e){if(e.listenerEvent){let o=e.parts[0];i.addEventListener(e.listenerEvent,function(r){As(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 te(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===ht?ht:n.apply(s,a)}else r.dynamicFn||console.warn("method `"+r.methodName+"` not defined")}const $s=[],nr="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Rs="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Bs="(?:'(?:[^'\\\\]|\\\\.)*')",Fs='(?:"(?:[^"\\\\]|\\\\.)*")',Hs="(?:"+Bs+"|"+Fs+")",si="(?:("+nr+"|"+Rs+"|"+Hs+")\\s*)",Vs="(?:"+si+"(?:,\\s*"+si+")*)",Us="(?:\\(\\s*(?:"+Vs+"?)\\)\\s*)",js="("+nr+"\\s*"+Us+"?)",Ys="(\\[\\[|{{)\\s*",qs="(?:]]|}})",Gs="(?:(!)\\s*)?",Ws=Ys+Gs+js+qs,ni=new RegExp(Ws,"g");function ai(i){let t="";for(let e=0;e<i.length;e++){let o=i[e].literal;t+=o||""}return t}function Ht(i){let t=i.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let o={methodName:t[1],static:!0,args:$s};if(t[2].trim()){let r=t[2].replace(/\\,/g,"&comma;").split(",");return Ks(r,o)}else return o}return null}function Ks(i,t){return t.args=i.map(function(e){let o=ar(e);return o.literal||(t.static=!1),o},this),t}function ar(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=Zt(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 lr(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){lr(i,t,e,[{index:o,addedCount:r,removed:s,object:t,type:"splice"}])}function Xs(i){return i[0].toUpperCase()+i.substring(1)}const dr=b(i=>{const t=_s(ns(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(Z.length){let r=Z[Z.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=Bt(this,s,!0)[r];a||(a=this[s][r]=[]),a.push(n)}_removePropertyEffect(r,s,n){let a=Bt(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 Ts(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=M(r)),r[s]=n)}_setPendingProperty(r,s,n){let a=this.__dataHasPaths&&Zt(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;Es(this,s,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(s,n,a),this._flushClients(),et(this,this[f.REFLECT],s,n,a),et(this,this[f.OBSERVE],s,n,a),l&&vs(this,l,s,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(r,s,n){this[f.PROPAGATE]&&et(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)=>{et(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=tt(r),s=tt(s),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[r]=s}unlinkPaths(r){r=tt(r),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[r]}notifySplices(r,s){let n={path:""},a=v(this,r,n);lr(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=tt(r):n=r;this._setPendingPropertyOrPath(n,s,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(r,s){this._addPropertyEffect(r,f.READ_ONLY),s&&(this["_set"+Xs(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=Ht(r);if(!n)throw new Error("Malformed observer expression '"+r+"'");oi(this,n,f.OBSERVE,te,null,s)}_createNotifyingProperty(r){this._addPropertyEffect(r,f.NOTIFY,{fn:xs,info:{eventName:St(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:ws,info:{attrName:s}})}_createComputedProperty(r,s,n){let a=Ht(s);if(!a)throw new Error("Malformed computed expression '"+s+"'");const l=oi(this,a,f.COMPUTE,sr,r,n);Bt(this,rr)[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 E=dt(u,s),y=li(a,n,E?s:u);m={path:E?s:u,value:y,base:E?v(a,u):y}}else m=h?li(a,n,u):a[u];if(Jt&&!this._overrideLegacyUndefined&&m===void 0&&r.length>1)return ht;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),Z.push(this);let n=super._stampTemplate(r,s);if(Z.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,zs(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];M(M(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";gs.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=Xi(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(Fo&&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=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=Ht(u),E=[];if(w){let{args:y,methodName:x}=w;for(let Mt=0;Mt<y.length;Mt++){let ze=y[Mt];ze.literal||E.push(ze)}let H=s.dynamicFns;(H&&H[x]||w.static)&&(E.push(x),w.dynamicFn=!0)}else E.push(u);n.push({source:u,mode:d,negate:c,customEvent:h,signature:w,dependencies:E,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=te(r,n,a,l,s.signature):n!=s.source?c=v(r,s.source):d&&Zt(n)?c=v(r,n):c=r.__data[n],s.negate&&(c=!c),c}}return e}),Z=[];/**
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=[];/**
1208
1206
  @license
1209
1207
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1210
1208
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1212,7 +1210,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1212
1210
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1213
1211
  Code distributed by Google as part of the polymer project is also
1214
1212
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1215
- */function Js(i){const t={};for(let e in i){const o=i[e];t[e]=typeof o=="function"?{type:o}:o}return t}const Zs=b(i=>{const t=tr(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=Js(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 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});/**
1216
1214
  * @fileoverview
1217
1215
  * @suppress {checkPrototypalTypes}
1218
1216
  * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -1222,7 +1220,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1222
1220
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
1223
1221
  * Google as part of the polymer project is also subject to an additional IP
1224
1222
  * rights grant found at http://polymer.github.io/PATENTS.txt
1225
- */const Qs="3.5.2",di=window.ShadyCSS&&window.ShadyCSS.cssBuild,tn=b(i=>{const t=Zs(dr(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=Ko(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 E=0;for(let y=0;y<p.length;y++){let x=p[y],H=h[E];H!==x?(x=x.cloneNode(!0),H.parentNode.insertBefore(x,H)):E++,x.textContent=l._processStyleText(x.textContent,u)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(d,c),Vo&&di&&Do){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&&(!wt||$o)&&(d=lt.import(l,"template"),wt&&!d))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return d}class a extends t{static get polymerElementVersion(){return Qs}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):Vi||(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=ge(d.url);else{const c=lt.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=Lo,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 _e(d,c)}static _finalizeTemplate(d){const c=this.prototype._template;if(c&&!c.__polymerFinalized){c.__polymerFinalized=!0;const u=this.importPath,h=u?ot(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=M(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])),Ro&&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=ot(this.importPath)),ot(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});/**
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});/**
1226
1224
  @license
1227
1225
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1228
1226
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1230,7 +1228,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1230
1228
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1231
1229
  Code distributed by Google as part of the polymer project is also
1232
1230
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1233
- */const ci=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:i=>i});class cr{constructor(t,e){pr(t,e);const o=e.reduce((r,s,n)=>r+ur(s)+t[n+1],t[0]);this.value=o.toString()}toString(){return this.value}}function ur(i){if(i instanceof cr)return i.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${i}`)}function en(i){if(i instanceof HTMLTemplateElement)return i.innerHTML;if(i instanceof cr)return ur(i);throw new Error(`non-template value passed to Polymer's html function: ${i}`)}const hr=function(t,...e){pr(t,e);const o=document.createElement("template");let r=e.reduce((s,n,a)=>s+en(n)+t[a+1],t[0]);return ci&&(r=ci.createHTML(r)),o.innerHTML=r,o},pr=(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 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")};/**
1234
1232
  @license
1235
1233
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1236
1234
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1238,19 +1236,19 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1238
1236
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1239
1237
  Code distributed by Google as part of the polymer project is also
1240
1238
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1241
- */const fr=tn(HTMLElement);/**
1239
+ */const pr=Zs(HTMLElement);/**
1242
1240
  * @license
1243
1241
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1244
1242
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1245
- */const S=[];function ee(i,t,e=i.getAttribute("dir")){t?i.setAttribute("dir",t):e!=null&&i.removeAttribute("dir")}function ie(){return document.documentElement.getAttribute("dir")}function rn(){const i=ie();S.forEach(t=>{ee(t,i)})}const on=new MutationObserver(rn);on.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const ye=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(),ee(this,ie(),null))}attributeChangedCallback(e,o,r){if(super.attributeChangedCallback(e,o,r),e!=="dir")return;const s=ie(),n=r===s&&S.indexOf(this)===-1,a=!r&&o&&S.indexOf(this)===-1;n||a?(this.__subscribe(),ee(this,s,r)):r!==s&&o===s&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=S.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(){S.includes(this)||S.push(this)}__unsubscribe(){S.includes(this)&&S.splice(S.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 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)}};/**
1246
1244
  * @license
1247
1245
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1248
1246
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1249
- */const sn=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 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())})}};/**
1250
1248
  * @license
1251
1249
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1252
1250
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1253
- */const nn=_`
1251
+ */const on=_`
1254
1252
  :host {
1255
1253
  display: flex;
1256
1254
  align-items: center;
@@ -1319,11 +1317,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1319
1317
  * @license
1320
1318
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1321
1319
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1322
- */N("vaadin-input-container",nn,{moduleId:"vaadin-input-container-styles"});class an extends sn($i(ye(fr))){static get is(){return"vaadin-input-container"}static get template(){return hr`
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`
1323
1321
  <slot name="prefix"></slot>
1324
1322
  <slot></slot>
1325
1323
  <slot name="suffix"></slot>
1326
- `}}de(an);const ln=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,vt=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function dn(){function i(){return!0}return mr(i)}function cn(){try{return un()?!0:hn()?vt?!pn():!dn():!1}catch(i){return!1}}function un(){return localStorage.getItem("vaadin.developmentmode.force")}function hn(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function pn(){return!!(vt&&Object.keys(vt).map(t=>vt[t]).filter(t=>t.productionMode).length>0)}function mr(i,t){if(typeof i!="function")return;const e=ln.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 mr(i,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=cn());function fn(){/*! vaadin-dev-mode:start
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
1327
1325
  (function () {
1328
1326
  'use strict';
1329
1327
 
@@ -1801,7 +1799,7 @@ try {
1801
1799
 
1802
1800
  }());
1803
1801
 
1804
- vaadin-dev-mode:end **/}const mn=function(){if(typeof ui=="function")return ui(fn)};/**
1802
+ vaadin-dev-mode:end **/}const pn=function(){if(typeof ui=="function")return ui(hn)};/**
1805
1803
  * @license
1806
1804
  * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1807
1805
  * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1809,7 +1807,7 @@ try {
1809
1807
  * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1810
1808
  * Code distributed by Google as part of the polymer project is also
1811
1809
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1812
- */let hi=0,_r=0;const Y=[];let re=!1;function _n(){re=!1;const i=Y.length;for(let t=0;t<i;t++){const e=Y[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}Y.splice(0,i),_r+=i}const gr={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)}},br={run(i){return window.requestAnimationFrame(i)},cancel(i){window.cancelAnimationFrame(i)}},vr={run(i){return window.requestIdleCallback?window.requestIdleCallback(i):window.setTimeout(i,16)},cancel(i){window.cancelIdleCallback?window.cancelIdleCallback(i):window.clearTimeout(i)}},yr={run(i){re||(re=!0,queueMicrotask(()=>_n())),Y.push(i);const t=hi;return hi+=1,t},cancel(i){const t=i-_r;if(t>=0){if(!Y[t])throw new Error(`invalid async handle: ${i}`);Y[t]=null}}};/**
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}}};/**
1813
1811
  @license
1814
1812
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1815
1813
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1817,35 +1815,35 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1817
1815
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1818
1816
  Code distributed by Google as part of the polymer project is also
1819
1817
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1820
- */const pt=new Set;class B{static debounce(t,e,o){return t instanceof B?t._cancelAsync():t=new B,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,pt.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),pt.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 xr(i){pt.add(i)}function gn(){const i=!!pt.size;return pt.forEach(t=>{try{t.flush()}catch(e){setTimeout(()=>{throw e})}}),i}const bn=()=>{let i;do i=gn();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 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)};/**
1821
1819
  * @license
1822
1820
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1823
1821
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1824
- */window.Vaadin||(window.Vaadin={});window.Vaadin.registrations||(window.Vaadin.registrations=[]);window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={});window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){mn()};let Vt;const pi=new Set,vn=i=>class extends ye(i){static finalize(){super.finalize();const{is:e}=this;e&&!pi.has(e)&&(window.Vaadin.registrations.push(this),pi.add(e),window.Vaadin.developmentModeCallback&&(Vt=B.debounce(Vt,vr,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),xr(Vt)))}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(){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.')}};/**
1825
1823
  * @license
1826
1824
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1827
1825
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1828
- */function yn(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 xe(i){return i?new Set(i.split(" ")):new Set}function Tt(i){return i?[...i].join(" "):""}function Ar(i,t,e){const o=xe(i.getAttribute(t));o.add(e),i.setAttribute(t,Tt(o))}function xn(i,t,e){const o=xe(i.getAttribute(t));if(o.delete(e),o.size===0){i.removeAttribute(t);return}i.setAttribute(t,Tt(o))}function An(i){return i.nodeType===Node.TEXT_NODE&&i.textContent.trim()===""}/**
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()===""}/**
1829
1827
  * @license
1830
1828
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
1831
1829
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1832
- */class wr{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 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}}/**
1833
1831
  * @license
1834
1832
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1835
1833
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1836
- */let wn=0;function Er(){return wn++}/**
1834
+ */let xn=0;function wr(){return xn++}/**
1837
1835
  * @license
1838
1836
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1839
1837
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1840
- */class Nt extends EventTarget{static generateId(t,e="default"){return`${e}-${t.localName}-${Er()}`}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 wr(o,({addedNodes:r,removedNodes:s})=>{const n=this.multiple?this.nodes:[this.node],a=r.filter(l=>!An(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}-${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)))})}}/**
1841
1839
  * @license
1842
1840
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
1843
1841
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1844
- */class En extends Nt{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 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}}))}}/**
1845
1843
  * @license
1846
1844
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
1847
1845
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1848
- */const Cn=_`
1846
+ */const wn=_`
1849
1847
  [part='clear-button'] {
1850
1848
  display: none;
1851
1849
  cursor: default;
@@ -1862,7 +1860,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1862
1860
  * @license
1863
1861
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
1864
1862
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1865
- */const Pn=_`
1863
+ */const Cn=_`
1866
1864
  :host {
1867
1865
  display: inline-flex;
1868
1866
  outline: none;
@@ -1900,7 +1898,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1900
1898
  * @license
1901
1899
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
1902
1900
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1903
- */const Sn=_`
1901
+ */const En=_`
1904
1902
  [class$='container'] {
1905
1903
  display: flex;
1906
1904
  flex-direction: column;
@@ -1912,95 +1910,95 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1912
1910
  * @license
1913
1911
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
1914
1912
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1915
- */const Tn=[Pn,Sn,Cn];/**
1913
+ */const Pn=[Cn,En,wn];/**
1916
1914
  * @license
1917
1915
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1918
1916
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1919
- */class Nn extends Nt{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 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})}}/**
1920
1918
  * @license
1921
1919
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1922
1920
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1923
- */let Ae=!1;window.addEventListener("keydown",()=>{Ae=!0},{capture:!0});window.addEventListener("mousedown",()=>{Ae=!1},{capture:!0});function kn(){let i=document.activeElement||document.body;for(;i.shadowRoot&&i.shadowRoot.activeElement;)i=i.shadowRoot.activeElement;return i}function Cr(){return Ae}function On(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 Mn(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 In(i,t){const e=[];for(;i.length>0&&t.length>0;)Mn(i[0],t[0])?e.push(t.shift()):e.push(i.shift());return e.concat(i,t)}function oe(i){const t=i.length;if(t<2)return i;const e=Math.ceil(t/2),o=oe(i.slice(0,e)),r=oe(i.slice(e));return In(o,r)}function Pr(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 zn(i){return i.getRootNode().activeElement===i}function Dn(i){if(!Pr(i))return-1;const t=i.getAttribute("tabindex")||0;return Number(t)}function Sr(i,t){if(i.nodeType!==Node.ELEMENT_NODE||On(i))return!1;const e=i,o=Dn(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=Sr(n,t)||r}),r}function Ln(i){const t=[];return Sr(i,t)?oe(t):t}/**
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}/**
1924
1922
  * @license
1925
1923
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1926
1924
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1927
- */const we=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 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}});/**
1928
1926
  * @license
1929
1927
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1930
1928
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1931
- */const Ee=b(i=>class extends i{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0,sync:!0}}}_disabledChanged(e){this._setAriaDisabled(e)}_setAriaDisabled(e){e?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}});/**
1929
+ */const we=b(i=>class extends i{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(e){this._setAriaDisabled(e)}_setAriaDisabled(e){e?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}});/**
1932
1930
  * @license
1933
1931
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1934
1932
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1935
- */const Tr=i=>class extends Ee(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 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)}};/**
1936
1934
  * @license
1937
1935
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1938
1936
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1939
- */const Nr=b(i=>class extends we(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 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)}});/**
1940
1938
  * @license
1941
1939
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1942
1940
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1943
- */const kt=b(i=>class extends i{ready(){super.ready(),this.addEventListener("keydown",e=>{this._onKeyDown(e)}),this.addEventListener("keyup",e=>{this._onKeyUp(e)})}_onKeyDown(e){switch(e.key){case"Enter":this._onEnter(e);break;case"Escape":this._onEscape(e);break}}_onKeyUp(e){}_onEnter(e){}_onEscape(e){}});/**
1941
+ */const Nt=b(i=>class extends i{ready(){super.ready(),this.addEventListener("keydown",e=>{this._onKeyDown(e)}),this.addEventListener("keyup",e=>{this._onKeyUp(e)})}_onKeyDown(e){switch(e.key){case"Enter":this._onEnter(e);break;case"Escape":this._onEscape(e);break}}_onKeyUp(e){}_onEnter(e){}_onEscape(e){}});/**
1944
1942
  * @license
1945
1943
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1946
1944
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1947
- */const Ut=new WeakMap;function $n(i){return Ut.has(i)||Ut.set(i,new Set),Ut.get(i)}function Rn(i,t){const e=document.createElement("style");e.textContent=i,t===document?document.head.appendChild(e):t.insertBefore(e,t.firstChild)}const kr=b(i=>class extends i{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const e=this.getRootNode(),o=$n(e);this.slotStyles.forEach(r=>{o.has(r)||(Rn(r,e),o.add(r))})}});/**
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))})}});/**
1948
1946
  * @license
1949
1947
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1950
1948
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1951
- */const Ot=i=>i.test(navigator.userAgent),se=i=>i.test(navigator.platform),Bn=i=>i.test(navigator.vendor);Ot(/Android/u);Ot(/Chrome/u)&&Bn(/Google Inc/u);Ot(/Firefox/u);const Fn=se(/^iPad/u)||se(/^Mac/u)&&navigator.maxTouchPoints>1,Hn=se(/^iPhone/u),Vn=Hn||Fn,Un=Ot(/^((?!chrome|android).)*safari/iu),Or=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(i){return!1}})();/**
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}})();/**
1952
1950
  * @license
1953
1951
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1954
1952
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1955
- */const Ce=b(i=>class extends i{static get properties(){return{inputElement:{type:Object,readOnly:!0,observer:"_inputElementChanged"},type:{type:String,readOnly:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0,sync:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"}}}constructor(){super(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this)}get _hasValue(){return this.value!=null&&this.value!==""}get _inputElementValueProperty(){return"value"}get _inputElementValue(){return this.inputElement?this.inputElement[this._inputElementValueProperty]:void 0}set _inputElementValue(e){this.inputElement&&(this.inputElement[this._inputElementValueProperty]=e),this._hasInputValue=e&&e.length>0}clear(){this._hasInputValue=!1,this.value="",this._inputElementValue=""}_addInputListeners(e){e.addEventListener("input",this._boundOnInput),e.addEventListener("change",this._boundOnChange)}_removeInputListeners(e){e.removeEventListener("input",this._boundOnInput),e.removeEventListener("change",this._boundOnChange)}_forwardInputValue(e){this.inputElement&&(this._inputElementValue=e!=null?e:"")}_inputElementChanged(e,o){e?this._addInputListeners(e):o&&this._removeInputListeners(o)}_hasInputValueChanged(e,o){(e||o)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(e){this._setHasInputValue(e),this._onInput(e)}_onInput(e){const o=e.composedPath()[0];this.__userInput=e.isTrusted,this.value=o.value,this.__userInput=!1}_onChange(e){}_toggleHasValue(e){this.toggleAttribute("has-value",e)}_valueChanged(e,o){this._toggleHasValue(this._hasValue),!(e===""&&o===void 0)&&(this.__userInput||this._forwardInputValue(e))}_setHasInputValue(e){const o=e.composedPath()[0];this._hasInputValue=o.value.length>0}});/**
1953
+ */const Ce=b(i=>class extends i{static get properties(){return{inputElement:{type:Object,readOnly:!0,observer:"_inputElementChanged"},type:{type:String,readOnly:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0,sync:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"}}}constructor(){super(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this)}get _hasValue(){return this.value!=null&&this.value!==""}get _inputElementValueProperty(){return"value"}get _inputElementValue(){return this.inputElement?this.inputElement[this._inputElementValueProperty]:void 0}set _inputElementValue(e){this.inputElement&&(this.inputElement[this._inputElementValueProperty]=e)}clear(){this._hasInputValue=!1,this.value="",this._inputElementValue=""}_addInputListeners(e){e.addEventListener("input",this._boundOnInput),e.addEventListener("change",this._boundOnChange)}_removeInputListeners(e){e.removeEventListener("input",this._boundOnInput),e.removeEventListener("change",this._boundOnChange)}_forwardInputValue(e){this.inputElement&&(this._inputElementValue=e!=null?e:"")}_inputElementChanged(e,o){e?this._addInputListeners(e):o&&this._removeInputListeners(o)}_hasInputValueChanged(e,o){(e||o)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(e){this._setHasInputValue(e),this._onInput(e)}_onInput(e){const o=e.composedPath()[0];this.__userInput=e.isTrusted,this.value=o.value,this.__userInput=!1}_onChange(e){}_toggleHasValue(e){this.toggleAttribute("has-value",e)}_valueChanged(e,o){this._toggleHasValue(this._hasValue),!(e===""&&o===void 0)&&(this.__userInput||this._forwardInputValue(e))}_setHasInputValue(e){const o=e.composedPath()[0];this._hasInputValue=o.value.length>0}});/**
1956
1954
  * @license
1957
1955
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1958
1956
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1959
- */const jn=i=>class extends Ce(kt(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(),Or||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 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}))}};/**
1960
1958
  * @license
1961
1959
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
1962
1960
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1963
- */const jt=new Map;function Pe(i){return jt.has(i)||jt.set(i,new WeakMap),jt.get(i)}function Mr(i,t){i&&i.removeAttribute(t)}function Ir(i,t){if(!i||!t)return;const e=Pe(t);if(e.has(i))return;const o=xe(i.getAttribute(t));e.set(i,new Set(o))}function Yn(i,t){if(!i)return;const e=Pe(t),o=e.get(i);!o||o.size===0?i.removeAttribute(t):Ar(i,t,Tt(o)),e.delete(i)}function Yt(i,t,e={newId:null,oldId:null,fromUser:!1}){if(!i||!t)return;const{newId:o,oldId:r,fromUser:s}=e,n=Pe(t),a=n.get(i);if(!s&&a){r&&a.delete(r),o&&a.add(o);return}s&&(a?o||n.delete(i):Ir(i,t),Mr(i,t)),xn(i,t,r);const l=o||Tt(a);l&&Ar(i,t,l)}function qn(i,t){Ir(i,t),Mr(i,t)}/**
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)}/**
1964
1962
  * @license
1965
1963
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1966
1964
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1967
- */class Gn{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?(qn(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(Yn(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,e,o){Yt(this.__target,"aria-labelledby",{newId:t,oldId:e,fromUser:o})}__setErrorIdToAriaAttribute(t,e){Yt(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setHelperIdToAriaAttribute(t,e){Yt(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 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")))}}/**
1968
1966
  * @license
1969
1967
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1970
1968
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1971
- */const Se=b(i=>typeof i.prototype.addController=="function"?i:class extends i{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach(e=>{e.hostConnected&&e.hostConnected()})}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach(e=>{e.hostDisconnected&&e.hostDisconnected()})}addController(e){this.__controllers.add(e),this.$!==void 0&&this.isConnected&&e.hostConnected&&e.hostConnected()}removeController(e){this.__controllers.delete(e)}});/**
1969
+ */const Pe=b(i=>typeof i.prototype.addController=="function"?i:class extends i{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach(e=>{e.hostConnected&&e.hostConnected()})}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach(e=>{e.hostDisconnected&&e.hostDisconnected()})}addController(e){this.__controllers.add(e),this.$!==void 0&&this.isConnected&&e.hostConnected&&e.hostConnected()}removeController(e){this.__controllers.delete(e)}});/**
1972
1970
  * @license
1973
1971
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
1974
1972
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1975
- */const C=document.createElement("div");C.style.position="fixed";C.style.clip="rect(0px, 0px, 0px, 0px)";C.setAttribute("aria-live","polite");document.body.appendChild(C);let gt;function Wn(i,t={}){const e=t.mode||"polite",o=t.timeout===void 0?150:t.timeout;e==="alert"?(C.removeAttribute("aria-live"),C.removeAttribute("role"),gt=B.debounce(gt,br,()=>{C.setAttribute("role","alert")})):(gt&&gt.cancel(),C.removeAttribute("role"),C.setAttribute("aria-live",e)),C.textContent="",setTimeout(()=>{C.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 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)}/**
1976
1974
  * @license
1977
1975
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
1978
1976
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1979
- */class Te extends Nt{constructor(t,e,o,r={}){super(t,e,o,zt(It({},r),{useUniqueId:!0}))}initCustomNode(t){this.__updateNodeId(t),this.__notifyChange(t)}teardownNode(t){const e=this.getSlotChild();e&&e!==this.defaultNode?this.__notifyChange(e):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const t=super.attachDefaultNode();return t&&this.__updateNodeId(t),t}restoreDefaultNode(){}updateDefaultNode(t){this.__notifyChange(t)}observeNode(t){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver(e=>{e.forEach(o=>{const r=o.target,s=r===this.node;o.type==="attributes"?s&&this.__updateNodeId(r):(s||r.parentElement===this.node)&&this.__notifyChange(this.node)})}),this.__nodeObserver.observe(t,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(t){return t?t.nodeType===Node.ELEMENT_NODE&&(customElements.get(t.localName)||t.children.length>0)||t.textContent&&t.textContent.trim()!=="":!1}__notifyChange(t){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(t),node:t}}))}__updateNodeId(t){const e=!this.nodes||t===this.nodes[0];t.nodeType===Node.ELEMENT_NODE&&(!this.multiple||e)&&!t.id&&(t.id=this.defaultId)}}/**
1977
+ */class Te extends St{constructor(t,e,o,r={}){super(t,e,o,It(Mt({},r),{useUniqueId:!0}))}initCustomNode(t){this.__updateNodeId(t),this.__notifyChange(t)}teardownNode(t){const e=this.getSlotChild();e&&e!==this.defaultNode?this.__notifyChange(e):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const t=super.attachDefaultNode();return t&&this.__updateNodeId(t),t}restoreDefaultNode(){}updateDefaultNode(t){this.__notifyChange(t)}observeNode(t){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver(e=>{e.forEach(o=>{const r=o.target,s=r===this.node;o.type==="attributes"?s&&this.__updateNodeId(r):(s||r.parentElement===this.node)&&this.__notifyChange(this.node)})}),this.__nodeObserver.observe(t,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(t){return t?t.nodeType===Node.ELEMENT_NODE&&(customElements.get(t.localName)||t.children.length>0)||t.textContent&&t.textContent.trim()!=="":!1}__notifyChange(t){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(t),node:t}}))}__updateNodeId(t){const e=!this.nodes||t===this.nodes[0];t.nodeType===Node.ELEMENT_NODE&&(!this.multiple||e)&&!t.id&&(t.id=this.defaultId)}}/**
1980
1978
  * @license
1981
1979
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1982
1980
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1983
- */class Kn 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&&Wn(e,{mode:"assertive"})),super.updateDefaultNode(t)}}/**
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)}}/**
1984
1982
  * @license
1985
1983
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1986
1984
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1987
- */class Xn 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 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)}}/**
1988
1986
  * @license
1989
1987
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1990
1988
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1991
- */class Jn 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 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)}}/**
1992
1990
  * @license
1993
1991
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1994
1992
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1995
- */const Zn=b(i=>class extends Se(i){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new Jn(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 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)}});/**
1996
1994
  * @license
1997
1995
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1998
1996
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1999
- */const Ne=b(i=>class extends i{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},manualValidation:{type:Boolean,value:!1},required:{type:Boolean,reflectToAttribute:!0}}}validate(){const e=this.checkValidity();return this._setInvalid(!e),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:e}})),e}checkValidity(){return!this.required||!!this.value}_setInvalid(e){this._shouldSetInvalid(e)&&(this.invalid=e)}_shouldSetInvalid(e){return!0}_requestValidation(){this.manualValidation||this.validate()}});/**
1997
+ */const Se=b(i=>class extends i{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},required:{type:Boolean,reflectToAttribute:!0}}}validate(){const e=this.checkValidity();return this._setInvalid(!e),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:e}})),e}checkValidity(){return!this.required||!!this.value}_setInvalid(e){this._shouldSetInvalid(e)&&(this.invalid=e)}_shouldSetInvalid(e){return!0}});/**
2000
1998
  * @license
2001
1999
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2002
2000
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2003
- */const zr=i=>class extends Ne(Zn(Se(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 Gn(this),this._helperController=new Xn(this),this._errorController=new Kn(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 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)})}};/**
2004
2002
  * @license
2005
2003
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2006
2004
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2008,20 +2006,20 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2008
2006
  * @license
2009
2007
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2010
2008
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2011
- */const Lr=b(i=>class extends Dr(Ne(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._requestValidation():s&&!this.manualValidation&&this._setInvalid(!1),this.__previousHasConstraints=r}_onChange(e){e.stopPropagation(),this._requestValidation(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}__isValidConstraint(e){return!!e||e===0}});/**
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}});/**
2012
2010
  * @license
2013
2011
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2014
2012
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2015
- */const Qn=i=>class extends kr(Nr(Lr(zr(jn(kt(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 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[`
2016
2014
  :is(input[slot='input'], textarea[slot='textarea'])::placeholder {
2017
2015
  font: inherit;
2018
2016
  color: inherit;
2019
2017
  }
2020
- `]}_onFocus(e){super._onFocus(e),this.autoselect&&this.inputElement&&this.inputElement.select()}_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=B.debounce(this._preventInputDebouncer,gr.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,_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)}}};/**
2021
2019
  * @license
2022
2020
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2023
2021
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2024
- */class ta{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 $r=_`
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=_`
2025
2023
  :host {
2026
2024
  /* Sizing */
2027
2025
  --lumo-button-size: var(--lumo-size-m);
@@ -2297,11 +2295,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2297
2295
  margin-left: 0;
2298
2296
  margin-right: 0;
2299
2297
  }
2300
- `;N("vaadin-button",$r,{moduleId:"lumo-button"});/**
2298
+ `;S("vaadin-button",Lr,{moduleId:"lumo-button"});/**
2301
2299
  * @license
2302
2300
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2303
2301
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2304
- */const ea=_`
2302
+ */const Qn=_`
2305
2303
  :host {
2306
2304
  display: inline-block;
2307
2305
  position: relative;
@@ -2361,7 +2359,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2361
2359
  outline-color: GrayText;
2362
2360
  }
2363
2361
  }
2364
- `,ia=i=>i`
2362
+ `,ta=i=>i`
2365
2363
  <div class="vaadin-button-container">
2366
2364
  <span part="prefix" aria-hidden="true">
2367
2365
  <slot name="prefix"></slot>
@@ -2374,12 +2372,20 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2374
2372
  </span>
2375
2373
  </div>
2376
2374
  <slot name="tooltip"></slot>
2377
- `,ra=i=>i,Rr=typeof document.head.style.touchAction=="string",ne="__polymerGestures",qt="__polymerGesturesHandled",ae="__polymerGesturesTouchAction",fi=25,mi=5,oa=2,sa=["mousedown","mousemove","mouseup","click"],na=[0,1,4,2],aa=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(i){return!1}}();function ke(i){return sa.indexOf(i)>-1}let la=!1;(function(){try{const i=Object.defineProperty({},"passive",{get(){la=!0}});window.addEventListener("test",null,i),window.removeEventListener("test",null,i)}catch(i){}})();function da(i){ke(i)}const ca=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),ua={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function $(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&&!aa&&(o=na[i.which]||0),!!(o&1)}return(i.button===void 0?0:i.button)===0}function ha(i){if(i.type==="click"){if(i.detail===0)return!0;const t=I(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 pa(i){let t="auto";const e=Fr(i);for(let o=0,r;o<e.length;o++)if(r=e[o],r[ae]){t=r[ae];break}return t}function Br(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={},L=[];function fa(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 I(i){const t=Fr(i);return t.length>0?t[0]:i.target}function ma(i){const t=i.type,o=i.currentTarget[ne];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;Rr||(t==="touchstart"||t==="touchmove")&&_a(i)}const s=i[qt];if(!s.skip){for(let n=0,a;n<L.length;n++)a=L[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<L.length;n++)a=L[n],r[a.name]&&!s[a.name]&&(s[a.name]=!0,a[t](i))}}function _a(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=pa(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 le(i,t,e){return Oe[t]?(ga(i,t,e),!0):!1}function ga(i,t,e){const o=Oe[t],r=o.deps,s=o.name;let n=i[ne];n||(i[ne]=n={});for(let a=0,l,d;a<r.length;a++)l=r[a],!(ca&&ke(l)&&l!=="click")&&(d=n[l],d||(n[l]=d={_count:0}),d._count===0&&i.addEventListener(l,ma,da(l)),d[s]=(d[s]||0)+1,d._count=(d._count||0)+1);i.addEventListener(t,e),o.touchAction&&Hr(i,o.touchAction)}function Me(i){L.push(i),i.emits.forEach(t=>{Oe[t]=i})}function ba(i){for(let t=0,e;t<L.length;t++){e=L[t];for(let o=0,r;o<e.emits.length;o++)if(r=e.emits[o],r===i)return e}return null}function Hr(i,t){Rr&&i instanceof HTMLElement&&yr.run(()=>{i.style.touchAction=t}),i[ae]=t}function Ie(i,t,e){const o=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(o.detail=e,ra(i).dispatchEvent(o),o.defaultPrevented){const r=e.preventer||e.sourceEvent;r&&r.preventDefault&&r.preventDefault()}}function Ct(i){const t=ba(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(!$(i))return;const t=I(i),e=this,o=s=>{$(s)||(Q("up",t,s),q(e.info))},r=s=>{$(s)&&Q("up",t,s),q(e.info)};Br(this.info,o,r),Q("down",t,i)},touchstart(i){Q("down",I(i),i.changedTouches[0],i)},touchend(i){Q("up",I(i),i.changedTouches[0],i)}});function Q(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>oa&&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(!$(i))return;const t=I(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}),$(s)||(e.info.state="end",q(e.info)),t&&Gt(e.info,t,s),e.info.started=!0)},r=s=>{e.info.started&&o(s),q(e.info)};Br(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=I(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}),Gt(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(i){const t=I(i),e=i.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),Gt(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 Gt(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 fa(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){$(i)&&(this.info.x=i.clientX,this.info.y=i.clientY)},click(i){$(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=I(e||t);!s||ua[s.localName]&&s.hasAttribute("disabled")||(isNaN(o)||isNaN(r)||o<=fi&&r<=fi||ha(t))&&(i.prevent||Ie(s,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
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}))}/**
2378
2384
  * @license
2379
2385
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2380
2386
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2381
- */const Vr=i=>class extends Ee(kt(i)){get _activeKeys(){return[" "]}ready(){super.ready(),le(this,"down",e=>{this._shouldSetActive(e)&&this._setActive(!0)}),le(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)}};/**
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)}};/**
2382
2388
  * @license
2383
2389
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2384
2390
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2385
- */const va=i=>class extends Vr(Tr(we(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=Vr;exports.ButtonMixin=va;exports.ControllerMixin=Se;exports.Debouncer=B;exports.DelegateFocusMixin=Nr;exports.DelegateStateMixin=Dr;exports.DirMixin=ye;exports.DisabledMixin=Ee;exports.ElementMixin=vn;exports.FieldMixin=zr;exports.FocusMixin=we;exports.InputConstraintsMixin=Lr;exports.InputControlMixin=Qn;exports.InputController=Nn;exports.InputMixin=Ce;exports.KeyboardMixin=kt;exports.LabelledInputController=ta;exports.PolymerElement=fr;exports.PropertyEffects=dr;exports.SlotController=Nt;exports.SlotObserver=wr;exports.SlotStylesMixin=kr;exports.ThemableMixin=$i;exports.TooltipController=En;exports.ValidateMixin=Ne;exports.addListener=le;exports.animationFrame=br;exports.button=$r;exports.buttonStyles=ea;exports.buttonTemplate=ia;exports.dedupingMixin=b;exports.defineCustomElement=de;exports.enqueueDebouncer=xr;exports.flush=bn;exports.generateUniqueId=Er;exports.getAncestorRootNodes=yn;exports.getDeepActiveElement=kn;exports.getFocusableElements=Ln;exports.helper=Bi;exports.html=hr;exports.i$3=_;exports.idlePeriod=vr;exports.inputFieldShared=Tn;exports.inputFieldShared$1=Fi;exports.isElementFocusable=Pr;exports.isElementFocused=zn;exports.isIOS=Vn;exports.isKeyboardActive=Cr;exports.isSafari=Un;exports.isTouch=Or;exports.legacyOptimizations=Vi;exports.legacyWarnings=Ui;exports.matches=Xo;exports.microTask=yr;exports.microTask$1=Qi;exports.registerStyles=N;exports.requiredField=me;exports.setTouchAction=Hr;exports.strictTemplatePolicy=wt;exports.suppressTemplateNotifications=Ho;exports.timeOut=gr;exports.timeOut$1=is;exports.translate=ct;exports.useShadow=Hi;exports.wrap$1=M;
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;