@ds-autonomie/web-components 2.5.1 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1364) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/cdn/chunks/chunk.24LXKV44.js +94 -0
  3. package/cdn/chunks/chunk.27MRR3O3.js +195 -0
  4. package/cdn/chunks/chunk.2CLHC4KV.js +51 -0
  5. package/cdn/chunks/chunk.2EJZRE2T.js +19 -0
  6. package/cdn/chunks/chunk.2JHL2DN5.js +42 -0
  7. package/cdn/chunks/chunk.2K2TU6XK.js +148 -0
  8. package/cdn/chunks/chunk.2KZI74VU.js +274 -0
  9. package/cdn/chunks/chunk.2LZEF7F5.js +378 -0
  10. package/cdn/chunks/chunk.2PHBYTZR.js +124 -0
  11. package/cdn/chunks/chunk.2Q5VJMXL.js +85 -0
  12. package/cdn/chunks/chunk.2RXI7QGS.js +47 -0
  13. package/cdn/chunks/chunk.2TMGDRXQ.js +60 -0
  14. package/cdn/chunks/chunk.2XBRUWJK.js +72 -0
  15. package/cdn/chunks/chunk.2Y7A72NS.js +63 -0
  16. package/cdn/chunks/chunk.3F74OMTI.js +234 -0
  17. package/cdn/chunks/chunk.3GBQ3F7Y.js +77 -0
  18. package/cdn/chunks/chunk.3LPZOLWU.js +282 -0
  19. package/cdn/chunks/chunk.3LSXFV6L.js +70 -0
  20. package/cdn/chunks/chunk.3O3BL3NH.js +238 -0
  21. package/cdn/chunks/chunk.3QSQTJVI.js +169 -0
  22. package/cdn/chunks/chunk.3TEESQ4S.js +97 -0
  23. package/cdn/chunks/chunk.3TGC7XPV.js +58 -0
  24. package/cdn/chunks/chunk.3TWXNQ3B.js +27 -0
  25. package/cdn/chunks/chunk.3VR42PTJ.js +46 -0
  26. package/cdn/chunks/chunk.43RLM5ZA.js +91 -0
  27. package/cdn/chunks/chunk.47MSVK2S.js +155 -0
  28. package/cdn/chunks/chunk.4BHGDN4V.js +19 -0
  29. package/cdn/chunks/chunk.4UFCC5DM.js +35 -0
  30. package/cdn/chunks/chunk.55SUYHZB.js +191 -0
  31. package/cdn/chunks/chunk.5BX6B5KE.js +368 -0
  32. package/cdn/chunks/chunk.5CBDEETE.js +58 -0
  33. package/cdn/chunks/chunk.5CSCFG3Q.js +77 -0
  34. package/cdn/chunks/chunk.5HO72MU3.js +189 -0
  35. package/cdn/chunks/chunk.5JPERG6R.js +46 -0
  36. package/cdn/chunks/chunk.5X7YKTAF.js +216 -0
  37. package/cdn/chunks/chunk.63KH72XK.js +122 -0
  38. package/cdn/chunks/chunk.66RMU6KM.js +341 -0
  39. package/cdn/chunks/chunk.6JV3OARL.js +34 -0
  40. package/cdn/chunks/chunk.6QWTSK3V.js +38 -0
  41. package/cdn/chunks/chunk.7MLNFK25.js +30 -0
  42. package/cdn/chunks/chunk.7NMAJ3LT.js +116 -0
  43. package/cdn/chunks/chunk.7SIYXMEK.js +446 -0
  44. package/cdn/chunks/chunk.A2REDF56.js +72 -0
  45. package/cdn/chunks/chunk.A2TEVYLX.js +102 -0
  46. package/cdn/chunks/chunk.A2VSMNJO.js +509 -0
  47. package/cdn/chunks/chunk.A3VKR2H2.js +27 -0
  48. package/cdn/chunks/chunk.A4LPGAHF.js +154 -0
  49. package/cdn/chunks/chunk.A7MFIABU.js +219 -0
  50. package/cdn/chunks/chunk.AA3ISNQK.js +179 -0
  51. package/cdn/chunks/chunk.AFUZCCDS.js +45 -0
  52. package/cdn/chunks/chunk.AGBSXTK3.js +310 -0
  53. package/cdn/chunks/chunk.AMEUYY4L.js +52 -0
  54. package/cdn/chunks/chunk.AQL5YHIM.js +43 -0
  55. package/cdn/chunks/chunk.ASAE5UUK.js +119 -0
  56. package/cdn/chunks/chunk.ATX3AHD4.js +21 -0
  57. package/cdn/chunks/chunk.AVKLXXI2.js +93 -0
  58. package/cdn/chunks/chunk.B5IB4265.js +24 -0
  59. package/cdn/chunks/chunk.B5UVB5A4.js +26 -0
  60. package/cdn/chunks/chunk.B6WEI7ZE.js +234 -0
  61. package/cdn/chunks/chunk.B7GM7SHQ.js +198 -0
  62. package/cdn/chunks/chunk.BBECJVCU.js +93 -0
  63. package/cdn/chunks/chunk.BH5KT7U7.js +31 -0
  64. package/cdn/chunks/chunk.BIDMMJUW.js +65 -0
  65. package/cdn/chunks/chunk.BNNBGTYA.js +649 -0
  66. package/cdn/chunks/chunk.BPR5HMDE.js +181 -0
  67. package/cdn/chunks/chunk.BRE7ZNK2.js +63 -0
  68. package/cdn/chunks/chunk.C6TIDMVV.js +81 -0
  69. package/cdn/chunks/chunk.C7PPJYW5.js +343 -0
  70. package/cdn/chunks/chunk.CDOJYSZN.js +89 -0
  71. package/cdn/chunks/chunk.CH27KF2Q.js +70 -0
  72. package/cdn/chunks/chunk.CMGET3IH.js +990 -0
  73. package/cdn/chunks/chunk.CMJQSZZL.js +154 -0
  74. package/cdn/chunks/chunk.COXLNR7D.js +215 -0
  75. package/cdn/chunks/chunk.CPFYSIPP.js +313 -0
  76. package/cdn/chunks/chunk.CRISTF7I.js +108 -0
  77. package/cdn/chunks/chunk.CUASAILY.js +124 -0
  78. package/cdn/chunks/chunk.CUS7NEMJ.js +1911 -0
  79. package/cdn/chunks/chunk.CZ2EH5XR.js +83 -0
  80. package/cdn/chunks/chunk.D2C3QB75.js +29 -0
  81. package/cdn/chunks/chunk.D4UARZIJ.js +71 -0
  82. package/cdn/chunks/chunk.D564XHWA.js +133 -0
  83. package/cdn/chunks/chunk.DEWWYQHW.js +2700 -0
  84. package/cdn/chunks/chunk.DOXCT66U.js +40 -0
  85. package/cdn/chunks/chunk.DPJYZTF5.js +558 -0
  86. package/cdn/chunks/chunk.DPLFGSFV.js +265 -0
  87. package/cdn/chunks/chunk.DVU5XTCV.js +64 -0
  88. package/cdn/chunks/chunk.DY3ITTJB.js +558 -0
  89. package/cdn/chunks/chunk.E3PJEFJR.js +80 -0
  90. package/cdn/chunks/chunk.E42K2S4I.js +95 -0
  91. package/cdn/chunks/chunk.E43J3GWZ.js +294 -0
  92. package/cdn/chunks/chunk.EE2YCZAM.js +84 -0
  93. package/cdn/chunks/chunk.EH2MKZ6C.js +139 -0
  94. package/cdn/chunks/chunk.EHJBUI4G.js +1099 -0
  95. package/cdn/chunks/chunk.EHYKB24D.js +58 -0
  96. package/cdn/chunks/chunk.EK7ZAVC3.js +74 -0
  97. package/cdn/chunks/chunk.EM2CIX7W.js +336 -0
  98. package/cdn/chunks/chunk.ENQCFLD4.js +26 -0
  99. package/cdn/chunks/chunk.ERBD6AG4.js +99 -0
  100. package/cdn/chunks/chunk.EYXNMEHZ.js +84 -0
  101. package/cdn/chunks/chunk.F3KM77GS.js +53 -0
  102. package/cdn/chunks/chunk.F6EESAYF.js +276 -0
  103. package/cdn/chunks/chunk.FANRIWY4.js +75 -0
  104. package/cdn/chunks/chunk.FPIU6UUI.js +18 -0
  105. package/cdn/chunks/chunk.FWTCMJYS.js +262 -0
  106. package/cdn/chunks/chunk.FY5LQWKX.js +98 -0
  107. package/cdn/chunks/chunk.GHCSKHMC.js +145 -0
  108. package/cdn/chunks/chunk.H3K4VIQP.js +742 -0
  109. package/cdn/chunks/chunk.HAD2A62Q.js +309 -0
  110. package/cdn/chunks/chunk.HBXPRZYC.js +147 -0
  111. package/cdn/chunks/chunk.HCKHVMVB.js +94 -0
  112. package/cdn/chunks/chunk.HG3KIBKS.js +95 -0
  113. package/cdn/chunks/chunk.HKSZDW6A.js +58 -0
  114. package/cdn/chunks/chunk.HOVPQZO2.js +78 -0
  115. package/cdn/chunks/chunk.HPMC7O7A.js +532 -0
  116. package/cdn/chunks/chunk.I5IKEQES.js +17 -0
  117. package/cdn/chunks/chunk.I6S6TC3T.js +25 -0
  118. package/cdn/chunks/chunk.I7PNAZLD.js +307 -0
  119. package/cdn/chunks/chunk.I7VDFM7D.js +238 -0
  120. package/cdn/chunks/chunk.IADBLVCL.js +369 -0
  121. package/cdn/chunks/chunk.IGGFBGWI.js +164 -0
  122. package/cdn/chunks/chunk.IILOTLLP.js +357 -0
  123. package/cdn/chunks/chunk.IKFCH74O.js +118 -0
  124. package/cdn/chunks/chunk.IMK7XCUR.js +242 -0
  125. package/cdn/chunks/chunk.IO4RF26W.js +132 -0
  126. package/cdn/chunks/chunk.J3EWXTQV.js +132 -0
  127. package/cdn/chunks/chunk.JAW3UXNL.js +394 -0
  128. package/cdn/chunks/chunk.JCKNQ3M3.js +137 -0
  129. package/cdn/chunks/chunk.JDYBRUBZ.js +376 -0
  130. package/cdn/chunks/chunk.JIQUSHGZ.js +143 -0
  131. package/cdn/chunks/chunk.JIYSNOET.js +52 -0
  132. package/cdn/chunks/chunk.JKMPBPDW.js +242 -0
  133. package/cdn/chunks/chunk.JKTCY6EC.js +66 -0
  134. package/cdn/chunks/chunk.JN3XZMWA.js +124 -0
  135. package/cdn/chunks/chunk.JNNNIZHQ.js +51 -0
  136. package/cdn/chunks/chunk.K265GKXM.js +54 -0
  137. package/cdn/chunks/chunk.KI7ZFFHX.js +54 -0
  138. package/cdn/chunks/chunk.KJCTC5TD.js +36 -0
  139. package/cdn/chunks/chunk.KKMPG4SR.js +188 -0
  140. package/cdn/chunks/chunk.KLEPPWKP.js +158 -0
  141. package/cdn/chunks/chunk.KVCJCK5C.js +40 -0
  142. package/cdn/chunks/chunk.KYHWH2UK.js +325 -0
  143. package/cdn/chunks/chunk.L2GUI6YR.js +105 -0
  144. package/cdn/chunks/chunk.L6RXO6WF.js +361 -0
  145. package/cdn/chunks/chunk.LKPKCFRT.js +44 -0
  146. package/cdn/chunks/chunk.LXO6CBRK.js +28 -0
  147. package/cdn/chunks/chunk.LY5LH7ON.js +88 -0
  148. package/cdn/chunks/chunk.LYH7AIB2.js +174 -0
  149. package/cdn/chunks/chunk.M4IG26XC.js +150 -0
  150. package/cdn/chunks/chunk.M6BBYI4V.js +321 -0
  151. package/cdn/chunks/chunk.MH5FCQH2.js +69 -0
  152. package/cdn/chunks/chunk.MKPFQPG2.js +15 -0
  153. package/cdn/chunks/chunk.MLWOIRB3.js +319 -0
  154. package/cdn/chunks/chunk.MSFSKFRS.js +50 -0
  155. package/cdn/chunks/chunk.MTQYC54Q.js +23 -0
  156. package/cdn/chunks/chunk.NC6R4P4Q.js +59 -0
  157. package/cdn/chunks/chunk.NICDHHYE.js +93 -0
  158. package/cdn/chunks/chunk.NJWUUIBV.js +326 -0
  159. package/cdn/chunks/chunk.NNZ75TAG.js +116 -0
  160. package/cdn/chunks/chunk.NO5SMVKZ.js +204 -0
  161. package/cdn/chunks/chunk.NWPHYQOS.js +72 -0
  162. package/cdn/chunks/chunk.NY5FMVT7.js +198 -0
  163. package/cdn/chunks/chunk.O4JY5NWU.js +142 -0
  164. package/cdn/chunks/chunk.OKS6WBUV.js +232 -0
  165. package/cdn/chunks/chunk.ORAENX4U.js +204 -0
  166. package/cdn/chunks/chunk.OSPBWQ7G.js +108 -0
  167. package/cdn/chunks/chunk.OXR4OS4D.js +91 -0
  168. package/cdn/chunks/chunk.OYVF3HNG.js +82 -0
  169. package/cdn/chunks/chunk.OZSKXQC5.js +339 -0
  170. package/cdn/chunks/chunk.P7M6AB44.js +53 -0
  171. package/cdn/chunks/chunk.PCEG535W.js +92 -0
  172. package/cdn/chunks/chunk.PGWKKLXX.js +231 -0
  173. package/cdn/chunks/chunk.POHNSM46.js +47 -0
  174. package/cdn/chunks/chunk.PTM67U6V.js +65 -0
  175. package/cdn/chunks/chunk.PZPB7DYQ.js +72 -0
  176. package/cdn/chunks/chunk.Q3CKRTKI.js +262 -0
  177. package/cdn/chunks/chunk.Q7JREXVB.js +39 -0
  178. package/cdn/chunks/chunk.QCYNALBG.js +21 -0
  179. package/cdn/chunks/chunk.QE4D6BZU.js +209 -0
  180. package/cdn/chunks/chunk.QF4GNQLL.js +22 -0
  181. package/cdn/chunks/chunk.QGH2VLLK.js +109 -0
  182. package/cdn/chunks/chunk.QIMH3YVV.js +64 -0
  183. package/cdn/chunks/chunk.QNUBWKWX.js +44 -0
  184. package/cdn/chunks/chunk.QV6CZR5Q.js +285 -0
  185. package/cdn/chunks/chunk.QWHFPHSF.js +70 -0
  186. package/cdn/chunks/chunk.R7BJEFEU.js +360 -0
  187. package/cdn/chunks/chunk.RBZHIALF.js +91 -0
  188. package/cdn/chunks/chunk.RCTAWET6.js +457 -0
  189. package/cdn/chunks/chunk.RF5I5FUF.js +69 -0
  190. package/cdn/chunks/chunk.RFUR5QOK.js +75 -0
  191. package/cdn/chunks/chunk.RN6TSOQ5.js +82 -0
  192. package/cdn/chunks/chunk.RN7CKDB7.js +83 -0
  193. package/cdn/chunks/chunk.RVHBBLVX.js +468 -0
  194. package/cdn/chunks/chunk.RWXJS2V3.js +117 -0
  195. package/cdn/chunks/chunk.S4GIMQAV.js +32 -0
  196. package/cdn/chunks/chunk.SBSUDCC7.js +37 -0
  197. package/cdn/chunks/chunk.SBZSJPXO.js +214 -0
  198. package/cdn/chunks/chunk.SDQNKK3E.js +98 -0
  199. package/cdn/chunks/chunk.SGHOQAJL.js +404 -0
  200. package/cdn/chunks/chunk.SH5JWEVK.js +44 -0
  201. package/cdn/chunks/chunk.SJATBIRQ.js +72 -0
  202. package/cdn/chunks/chunk.SUW2MKU7.js +38 -0
  203. package/cdn/chunks/chunk.SWHQ2TFQ.js +22 -0
  204. package/cdn/chunks/chunk.SZJ3NSQP.js +223 -0
  205. package/cdn/chunks/chunk.T7PXP5OX.js +94 -0
  206. package/cdn/chunks/chunk.TBIUGHDI.js +34 -0
  207. package/cdn/chunks/chunk.TDYMC7LA.js +154 -0
  208. package/cdn/chunks/chunk.TIFSS76F.js +94 -0
  209. package/cdn/chunks/chunk.TMFAL36L.js +274 -0
  210. package/cdn/chunks/chunk.TOVAD3UL.js +67 -0
  211. package/cdn/chunks/chunk.TSP6JND3.js +83 -0
  212. package/cdn/chunks/chunk.TVWWS46A.js +26 -0
  213. package/cdn/chunks/chunk.TXXF5XJL.js +441 -0
  214. package/cdn/chunks/chunk.TZ3MFPML.js +46 -0
  215. package/cdn/chunks/chunk.U3TM2UUV.js +241 -0
  216. package/cdn/chunks/chunk.U6CQ6QM3.js +33 -0
  217. package/cdn/chunks/chunk.U6TMPQV6.js +213 -0
  218. package/cdn/chunks/chunk.U6UYLDAZ.js +33 -0
  219. package/cdn/chunks/chunk.UA5KKPLL.js +123 -0
  220. package/cdn/chunks/chunk.UBHISBH3.js +19 -0
  221. package/cdn/chunks/chunk.UBXF77KN.js +345 -0
  222. package/cdn/chunks/chunk.UI6W4UXM.js +158 -0
  223. package/cdn/chunks/chunk.UOVGBN52.js +269 -0
  224. package/cdn/chunks/chunk.UWJNDNED.js +178 -0
  225. package/cdn/chunks/chunk.V6MYANXD.js +100 -0
  226. package/cdn/chunks/chunk.VDBDS2F7.js +306 -0
  227. package/cdn/chunks/chunk.VDNCCMOZ.js +28 -0
  228. package/cdn/chunks/chunk.VGHMCMG7.js +87 -0
  229. package/cdn/chunks/chunk.VL5AZ53L.js +72 -0
  230. package/cdn/chunks/chunk.VO25RPWF.js +406 -0
  231. package/cdn/chunks/chunk.VRSL3LVV.js +237 -0
  232. package/cdn/chunks/chunk.W653JVCQ.js +426 -0
  233. package/cdn/chunks/chunk.WDG4A7NI.js +197 -0
  234. package/cdn/chunks/chunk.XN3TTWIF.js +19 -0
  235. package/cdn/chunks/chunk.XPSWMGNH.js +181 -0
  236. package/cdn/chunks/chunk.XTAWROGN.js +114 -0
  237. package/cdn/chunks/chunk.XTQEEFBA.js +90 -0
  238. package/cdn/chunks/chunk.XUW5G5CX.js +126 -0
  239. package/cdn/chunks/chunk.Y5TAUEEB.js +28 -0
  240. package/cdn/chunks/chunk.Y67HHVBT.js +560 -0
  241. package/cdn/chunks/chunk.YJIZEDYE.js +19 -0
  242. package/cdn/chunks/chunk.YNBVSPKG.js +211 -0
  243. package/cdn/chunks/chunk.YVTANCB7.js +15 -0
  244. package/cdn/chunks/chunk.YY4SAWJ2.js +82 -0
  245. package/cdn/chunks/chunk.Z5N4IMG3.js +72 -0
  246. package/cdn/chunks/chunk.ZBHBBN4G.js +50 -0
  247. package/cdn/chunks/chunk.ZD5LL64L.js +107 -0
  248. package/cdn/chunks/chunk.ZFXIELL7.js +128 -0
  249. package/cdn/chunks/chunk.ZGPYFGBR.js +85 -0
  250. package/cdn/chunks/chunk.ZIJW7AUD.js +136 -0
  251. package/cdn/chunks/chunk.ZKJHG5VK.js +23 -0
  252. package/cdn/chunks/chunk.ZLSG5HUD.js +105 -0
  253. package/cdn/chunks/chunk.ZPSDQMYS.js +93 -0
  254. package/cdn/chunks/chunk.ZVA5OUJG.js +258 -0
  255. package/cdn/components/accordion/accordion.d.ts +4 -0
  256. package/cdn/components/accordion/accordion.js +13 -16
  257. package/cdn/components/accordion/accordion.styles.js +3 -3
  258. package/cdn/components/accordion-group/accordion-group.d.ts +36 -0
  259. package/cdn/components/accordion-group/accordion-group.js +31 -0
  260. package/cdn/components/accordion-group/accordion-group.styles.js +9 -0
  261. package/cdn/components/alert/alert.js +17 -20
  262. package/cdn/components/alert/alert.styles.js +3 -3
  263. package/cdn/components/anchor-tag/anchor-tag.js +7 -8
  264. package/cdn/components/anchor-tag/anchor-tag.styles.js +3 -3
  265. package/cdn/components/animation/animation.js +5 -5
  266. package/cdn/components/animation/animation.styles.js +3 -3
  267. package/cdn/components/avatar/avatar.js +12 -15
  268. package/cdn/components/avatar/avatar.styles.js +3 -3
  269. package/cdn/components/avatar-group/avatar-group.js +4 -4
  270. package/cdn/components/avatar-group/avatar-group.styles.js +2 -2
  271. package/cdn/components/badge/badge.js +6 -7
  272. package/cdn/components/badge/badge.styles.js +3 -3
  273. package/cdn/components/breadcrumb/breadcrumb.js +10 -13
  274. package/cdn/components/breadcrumb/breadcrumb.styles.js +3 -3
  275. package/cdn/components/breadcrumb-item/breadcrumb-item.js +7 -8
  276. package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +3 -3
  277. package/cdn/components/button/button.js +16 -19
  278. package/cdn/components/button/button.styles.js +3 -3
  279. package/cdn/components/calendar/calendar.js +8 -8
  280. package/cdn/components/calendar/calendar.styles.js +3 -3
  281. package/cdn/components/callout/callout.d.ts +1 -1
  282. package/cdn/components/callout/callout.js +15 -18
  283. package/cdn/components/callout/callout.styles.js +3 -3
  284. package/cdn/components/card/card.js +7 -8
  285. package/cdn/components/card/card.styles.js +3 -3
  286. package/cdn/components/card-content/card-content.d.ts +1 -1
  287. package/cdn/components/card-content/card-content.js +13 -16
  288. package/cdn/components/card-content/card-content.styles.js +3 -3
  289. package/cdn/components/card-nav/card-nav.d.ts +1 -1
  290. package/cdn/components/card-nav/card-nav.js +5 -5
  291. package/cdn/components/card-nav/card-nav.styles.js +3 -3
  292. package/cdn/components/card-nav-accordion/card-nav-accordion.d.ts +1 -1
  293. package/cdn/components/card-nav-accordion/card-nav-accordion.js +12 -15
  294. package/cdn/components/card-nav-accordion/card-nav-accordion.styles.js +3 -3
  295. package/cdn/components/card-nav-item/card-nav-item.d.ts +1 -1
  296. package/cdn/components/card-nav-item/card-nav-item.js +11 -14
  297. package/cdn/components/card-nav-item/card-nav-item.styles.js +3 -3
  298. package/cdn/components/checkbox/checkbox.js +24 -27
  299. package/cdn/components/checkbox/checkbox.styles.js +4 -4
  300. package/cdn/components/checkbox-button/checkbox-button.js +21 -24
  301. package/cdn/components/checkbox-card/checkbox-card.js +13 -16
  302. package/cdn/components/checkbox-group/checkbox-group.js +17 -20
  303. package/cdn/components/checkbox-group/checkbox-group.styles.js +4 -4
  304. package/cdn/components/combobox/combobox.js +29 -32
  305. package/cdn/components/combobox/combobox.styles.js +4 -4
  306. package/cdn/components/dialog/dialog.js +17 -20
  307. package/cdn/components/dialog/dialog.styles.js +3 -3
  308. package/cdn/components/divider/divider.js +5 -5
  309. package/cdn/components/divider/divider.styles.js +3 -3
  310. package/cdn/components/download-card/download-card.js +9 -12
  311. package/cdn/components/download-card/download-card.styles.js +2 -2
  312. package/cdn/components/download-link/download-link.js +10 -13
  313. package/cdn/components/download-link/download-link.styles.js +2 -2
  314. package/cdn/components/drawer/drawer.js +17 -20
  315. package/cdn/components/drawer/drawer.styles.js +3 -3
  316. package/cdn/components/dropdown/dropdown.d.ts +5 -0
  317. package/cdn/components/dropdown/dropdown.js +9 -10
  318. package/cdn/components/dropdown/dropdown.styles.js +3 -3
  319. package/cdn/components/error-message-panel/error-message-panel.js +6 -7
  320. package/cdn/components/error-message-panel/error-message-panel.styles.js +2 -2
  321. package/cdn/components/error-text/error-text-stories.d.ts +30 -0
  322. package/cdn/components/error-text/error-text-stories.js +29 -0
  323. package/cdn/components/error-text/error-text.js +10 -13
  324. package/cdn/components/error-text/error-text.styles.js +2 -2
  325. package/cdn/components/error-text/error-text.utils.js +1 -1
  326. package/cdn/components/fieldset/fieldset.js +7 -8
  327. package/cdn/components/fieldset/fieldset.styles.js +3 -3
  328. package/cdn/components/file-upload/file-upload.d.ts +34 -3
  329. package/cdn/components/file-upload/file-upload.js +19 -20
  330. package/cdn/components/file-upload/file-upload.styles.js +4 -4
  331. package/cdn/components/file-upload-item/file-upload-item.js +16 -19
  332. package/cdn/components/file-upload-item/file-upload-item.styles.js +3 -3
  333. package/cdn/components/filter-button/filter-button.js +14 -17
  334. package/cdn/components/filter-button/filter-button.styles.js +3 -3
  335. package/cdn/components/filter-counter/filter-counter.d.ts +1 -1
  336. package/cdn/components/filter-counter/filter-counter.js +54 -55
  337. package/cdn/components/filter-counter/filter-counter.styles.js +4 -4
  338. package/cdn/components/filter-date/filter-date.d.ts +4 -2
  339. package/cdn/components/filter-date/filter-date.js +32 -36
  340. package/cdn/components/filter-date/filter-date.styles.js +4 -4
  341. package/cdn/components/filter-range/filter-range.d.ts +1 -1
  342. package/cdn/components/filter-range/filter-range.js +59 -59
  343. package/cdn/components/filter-range/filter-range.styles.js +4 -4
  344. package/cdn/components/filter-select/filter-select.d.ts +1 -1
  345. package/cdn/components/filter-select/filter-select.js +56 -57
  346. package/cdn/components/filter-select/filter-select.styles.js +4 -4
  347. package/cdn/components/footer/footer.assets.js +1 -1
  348. package/cdn/components/footer/footer.js +9 -10
  349. package/cdn/components/footer/footer.styles.js +3 -3
  350. package/cdn/components/footer-content-block/footer-content-block.js +7 -7
  351. package/cdn/components/footer-content-block/footer-content-block.styles.js +3 -3
  352. package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +7 -7
  353. package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +3 -3
  354. package/cdn/components/footer-sitemap/footer-sitemap.d.ts +2 -0
  355. package/cdn/components/footer-sitemap/footer-sitemap.js +6 -7
  356. package/cdn/components/footer-sitemap/footer-sitemap.styles.js +3 -3
  357. package/cdn/components/footer-sitemap-item/footer-sitemap-item.js +7 -7
  358. package/cdn/components/footer-sitemap-item/footer-sitemap-item.styles.js +3 -3
  359. package/cdn/components/format-bytes/format-bytes.js +4 -4
  360. package/cdn/components/format-date/format-date.js +4 -4
  361. package/cdn/components/format-number/format-number.js +4 -4
  362. package/cdn/components/header/header.assets.js +1 -1
  363. package/cdn/components/header/header.js +9 -10
  364. package/cdn/components/header/header.styles.js +3 -3
  365. package/cdn/components/header-external-link/header-external-link.js +4 -4
  366. package/cdn/components/header-search/header-search.js +22 -25
  367. package/cdn/components/header-search/header-search.styles.js +3 -3
  368. package/cdn/components/icon/icon.d.ts +6 -3
  369. package/cdn/components/icon/icon.js +7 -10
  370. package/cdn/components/icon/icon.styles.js +3 -3
  371. package/cdn/components/icon/library.d.ts +2 -4
  372. package/cdn/components/icon/library.js +2 -2
  373. package/cdn/components/icon/library.system.js +1 -1
  374. package/cdn/components/icon-button/icon-button.js +13 -16
  375. package/cdn/components/icon-button/icon-button.styles.js +3 -3
  376. package/cdn/components/include/request.js +20 -3
  377. package/cdn/components/input/input.d.ts +4 -1
  378. package/cdn/components/input/input.js +42 -43
  379. package/cdn/components/input-amount/input-amount.d.ts +52 -0
  380. package/cdn/components/input-amount/input-amount.js +42 -0
  381. package/cdn/components/input-amount/input-amount.styles.js +12 -0
  382. package/cdn/components/input-amount/input-amount.utils.d.ts +4 -0
  383. package/cdn/components/input-amount/input-amount.utils.js +13 -0
  384. package/cdn/components/input-date/input-date.d.ts +33 -4
  385. package/cdn/components/input-date/input-date.js +34 -35
  386. package/cdn/components/input-date/input-date.styles.js +5 -5
  387. package/cdn/components/input-mask/input-mask.js +25 -25
  388. package/cdn/components/input-mask/input-mask.styles.js +5 -4
  389. package/cdn/components/input-native/input-native.d.ts +0 -19
  390. package/cdn/components/input-native/input-native.js +28 -29
  391. package/cdn/components/input-native/input-native.styles.js +5 -5
  392. package/cdn/components/input-native/input-native.utils.d.ts +0 -4
  393. package/cdn/components/input-native/input-native.utils.js +3 -11
  394. package/cdn/components/input-otp/input-otp.d.ts +1 -1
  395. package/cdn/components/input-otp/input-otp.js +25 -26
  396. package/cdn/components/input-otp/input-otp.styles.js +4 -4
  397. package/cdn/components/input-phone/input-phone.js +38 -39
  398. package/cdn/components/input-phone/input-phone.styles.js +4 -4
  399. package/cdn/components/input-time/input-time.d.ts +1 -1
  400. package/cdn/components/input-time/input-time.js +32 -33
  401. package/cdn/components/input-time/input-time.styles.js +5 -5
  402. package/cdn/components/menu-accordion/menu-accordion.d.ts +1 -1
  403. package/cdn/components/menu-accordion/menu-accordion.js +12 -15
  404. package/cdn/components/menu-accordion/menu-accordion.styles.js +3 -3
  405. package/cdn/components/menu-item/menu-item.js +12 -15
  406. package/cdn/components/menu-item/menu-item.styles.js +3 -3
  407. package/cdn/components/menu-label/menu-label.js +5 -5
  408. package/cdn/components/menu-label/menu-label.styles.js +3 -3
  409. package/cdn/components/menu-navigation/menu-navigation.d.ts +1 -1
  410. package/cdn/components/menu-navigation/menu-navigation.js +5 -5
  411. package/cdn/components/menu-navigation/menu-navigation.styles.js +3 -3
  412. package/cdn/components/mutation-observer/mutation-observer.d.ts +1 -1
  413. package/cdn/components/mutation-observer/mutation-observer.js +5 -5
  414. package/cdn/components/mutation-observer/mutation-observer.styles.js +3 -3
  415. package/cdn/components/navbar/navbar.d.ts +1 -1
  416. package/cdn/components/navbar/navbar.js +5 -5
  417. package/cdn/components/navbar/navbar.styles.js +3 -3
  418. package/cdn/components/navbar-link/navbar-link.d.ts +3 -1
  419. package/cdn/components/navbar-link/navbar-link.js +14 -16
  420. package/cdn/components/navbar-link/navbar-link.styles.js +3 -3
  421. package/cdn/components/navbar-menu/navbar-menu.d.ts +1 -1
  422. package/cdn/components/navbar-menu/navbar-menu.js +16 -19
  423. package/cdn/components/navbar-menu/navbar-menu.styles.js +3 -3
  424. package/cdn/components/option/option.js +13 -16
  425. package/cdn/components/option/option.styles.js +3 -3
  426. package/cdn/components/page-header/page-header.d.ts +1 -1
  427. package/cdn/components/page-header/page-header.js +6 -7
  428. package/cdn/components/page-header/page-header.styles.js +3 -3
  429. package/cdn/components/pagination/pagination.js +50 -51
  430. package/cdn/components/pagination/pagination.styles.js +3 -3
  431. package/cdn/components/pagination-button/pagination-button.js +7 -8
  432. package/cdn/components/pagination-button/pagination-button.styles.js +4 -4
  433. package/cdn/components/popup/popup.js +6 -7
  434. package/cdn/components/popup/popup.styles.js +3 -3
  435. package/cdn/components/profile-button/profile-button.js +19 -22
  436. package/cdn/components/profile-button/profile-button.styles.js +3 -3
  437. package/cdn/components/progress-bar/progress-bar.js +10 -11
  438. package/cdn/components/progress-bar/progress-bar.styles.js +3 -3
  439. package/cdn/components/progress-ring/progress-ring.js +7 -8
  440. package/cdn/components/progress-ring/progress-ring.styles.js +3 -3
  441. package/cdn/components/quote/quote.d.ts +1 -1
  442. package/cdn/components/quote/quote.js +15 -18
  443. package/cdn/components/quote/quote.styles.js +3 -3
  444. package/cdn/components/radio/radio.js +11 -14
  445. package/cdn/components/radio/radio.styles.js +3 -3
  446. package/cdn/components/radio-button/radio-button.js +21 -24
  447. package/cdn/components/radio-card/radio-card.js +22 -25
  448. package/cdn/components/radio-group/radio-group.js +17 -20
  449. package/cdn/components/radio-group/radio-group.styles.js +4 -4
  450. package/cdn/components/range-slider/range-slider.js +8 -9
  451. package/cdn/components/range-slider/range-slider.styles.js +3 -3
  452. package/cdn/components/relative-time/relative-time.d.ts +1 -1
  453. package/cdn/components/relative-time/relative-time.js +4 -4
  454. package/cdn/components/resize-observer/resize-observer.d.ts +1 -1
  455. package/cdn/components/resize-observer/resize-observer.js +5 -5
  456. package/cdn/components/resize-observer/resize-observer.styles.js +3 -3
  457. package/cdn/components/select/select.js +27 -30
  458. package/cdn/components/select/select.styles.js +4 -4
  459. package/cdn/components/skeleton/skeleton.js +6 -7
  460. package/cdn/components/skeleton/skeleton.styles.js +3 -3
  461. package/cdn/components/skip-link-item/skip-link-item.js +5 -5
  462. package/cdn/components/skip-link-item/skip-link-item.styles.js +3 -3
  463. package/cdn/components/skip-links/skip-links.js +6 -6
  464. package/cdn/components/skip-links/skip-links.styles.js +3 -3
  465. package/cdn/components/spinner/spinner.js +7 -8
  466. package/cdn/components/spinner/spinner.styles.js +3 -3
  467. package/cdn/components/split-panel/split-panel.d.ts +1 -1
  468. package/cdn/components/split-panel/split-panel.js +11 -14
  469. package/cdn/components/split-panel/split-panel.styles.js +2 -2
  470. package/cdn/components/step/step.js +15 -18
  471. package/cdn/components/step/step.styles.js +3 -3
  472. package/cdn/components/stepper/stepper.js +6 -7
  473. package/cdn/components/stepper/stepper.styles.js +3 -3
  474. package/cdn/components/success-text/success-text-stories.d.ts +30 -0
  475. package/cdn/components/success-text/success-text-stories.js +29 -0
  476. package/cdn/components/success-text/success-text.d.ts +19 -0
  477. package/cdn/components/success-text/success-text.js +19 -0
  478. package/cdn/components/success-text/success-text.styles.d.ts +2 -0
  479. package/cdn/components/success-text/success-text.styles.js +9 -0
  480. package/cdn/components/switch/switch.d.ts +1 -1
  481. package/cdn/components/switch/switch.js +16 -19
  482. package/cdn/components/switch/switch.styles.js +2 -2
  483. package/cdn/components/tab/tab.js +16 -19
  484. package/cdn/components/tab/tab.styles.js +3 -3
  485. package/cdn/components/tab-group/tab-group.d.ts +5 -1
  486. package/cdn/components/tab-group/tab-group.js +17 -19
  487. package/cdn/components/tab-group/tab-group.styles.js +3 -3
  488. package/cdn/components/tab-panel/tab-panel.js +6 -7
  489. package/cdn/components/tab-panel/tab-panel.styles.js +3 -3
  490. package/cdn/components/table/table.d.ts +2 -0
  491. package/cdn/components/table/table.js +5 -5
  492. package/cdn/components/table/table.styles.js +3 -3
  493. package/cdn/components/table-action/table-action.js +8 -8
  494. package/cdn/components/table-action/table-action.styles.js +3 -3
  495. package/cdn/components/table-body/table-body.js +8 -8
  496. package/cdn/components/table-body/table-body.styles.js +3 -3
  497. package/cdn/components/table-caption/table-caption.js +10 -11
  498. package/cdn/components/table-caption/table-caption.styles.js +3 -3
  499. package/cdn/components/table-cell/table-cell.js +9 -10
  500. package/cdn/components/table-cell/table-cell.styles.js +3 -3
  501. package/cdn/components/table-container/table-container.js +10 -11
  502. package/cdn/components/table-container/table-container.styles.js +3 -3
  503. package/cdn/components/table-expanded-row/table-expanded-row.js +5 -5
  504. package/cdn/components/table-expanded-row/table-expanded-row.styles.js +3 -3
  505. package/cdn/components/table-head/table-head.js +8 -8
  506. package/cdn/components/table-head/table-head.styles.js +3 -3
  507. package/cdn/components/table-header-cell/table-header-cell.js +15 -18
  508. package/cdn/components/table-header-cell/table-header-cell.styles.js +3 -3
  509. package/cdn/components/table-header-row/table-header-row.js +38 -41
  510. package/cdn/components/table-header-row/table-header-row.styles.js +3 -3
  511. package/cdn/components/table-of-contents/table-of-contents.d.ts +1 -1
  512. package/cdn/components/table-of-contents/table-of-contents.js +9 -10
  513. package/cdn/components/table-of-contents/table-of-contents.styles.js +3 -3
  514. package/cdn/components/table-row/table-row.js +29 -32
  515. package/cdn/components/table-row/table-row.styles.js +3 -3
  516. package/cdn/components/table-single-cell-row/table-single-cell-row.d.ts +15 -0
  517. package/cdn/components/table-single-cell-row/table-single-cell-row.js +12 -0
  518. package/cdn/components/table-single-cell-row/table-single-cell-row.styles.d.ts +2 -0
  519. package/cdn/components/table-single-cell-row/table-single-cell-row.styles.js +10 -0
  520. package/cdn/components/table-toolbar/table-toolbar.js +5 -5
  521. package/cdn/components/table-toolbar/table-toolbar.styles.js +3 -3
  522. package/cdn/components/tag/tag.js +16 -19
  523. package/cdn/components/tag/tag.styles.js +3 -3
  524. package/cdn/components/tag-button/tag-button.js +7 -8
  525. package/cdn/components/tag-button/tag-button.styles.js +3 -3
  526. package/cdn/components/textarea/textarea.js +20 -23
  527. package/cdn/components/textarea/textarea.styles.js +4 -4
  528. package/cdn/components/tooltip/tooltip.js +9 -10
  529. package/cdn/components/tooltip/tooltip.styles.js +3 -3
  530. package/cdn/components/tree/tree.js +32 -35
  531. package/cdn/components/tree/tree.styles.js +3 -3
  532. package/cdn/components/tree-item/tree-item.js +30 -33
  533. package/cdn/components/tree-item/tree-item.styles.js +3 -3
  534. package/cdn/components/visually-hidden/visually-hidden.js +5 -5
  535. package/cdn/components/visually-hidden/visually-hidden.styles.js +3 -3
  536. package/cdn/custom-elements.json +2157 -3268
  537. package/cdn/design-system.d.ts +8 -2
  538. package/cdn/design-system.js +334 -310
  539. package/cdn/internal/components/checkbox-box/checkbox-box.styles.js +2 -1
  540. package/cdn/internal/components/date-field/date-field.d.ts +2 -0
  541. package/cdn/internal/components/date-field/date-field.js +22 -7
  542. package/cdn/internal/components/date-field/date-field.styles.js +2 -2
  543. package/cdn/internal/components/filter-base/filter-base-stories.d.ts +2 -0
  544. package/cdn/internal/components/filter-base/filter-base-stories.js +76 -0
  545. package/cdn/internal/components/filter-base/filter-base.d.ts +54 -0
  546. package/cdn/internal/components/filter-base/filter-base.js +362 -0
  547. package/cdn/internal/components/filter-base/filter-base.styles.d.ts +2 -0
  548. package/cdn/internal/components/filter-base/filter-base.styles.js +61 -0
  549. package/cdn/internal/components/form-control/form-control-layout-stories.d.ts +2 -0
  550. package/cdn/internal/components/form-control/form-control-layout-stories.js +136 -0
  551. package/cdn/internal/components/form-control/form-control-layout.d.ts +6 -0
  552. package/cdn/internal/components/form-control/form-control-layout.js +29 -0
  553. package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +1 -1
  554. package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.js +2 -1
  555. package/cdn/internal/components/form-toggle-button/form-toggle-button-stories.d.ts +1 -1
  556. package/cdn/internal/components/input-base/input-base-stories.d.ts +3 -0
  557. package/cdn/internal/components/input-base/input-base-stories.js +212 -0
  558. package/cdn/internal/components/input-base/input-base.d.ts +2 -0
  559. package/cdn/internal/components/input-base/input-base.js +24 -0
  560. package/cdn/internal/components/input-base/input-base.styles.js +12 -5
  561. package/cdn/internal/components/radio-icon/radio-icon.styles.js +2 -1
  562. package/cdn/internal/default-value.js +1 -1
  563. package/cdn/internal/form.js +14 -0
  564. package/cdn/styles/form-control.styles.js +24 -6
  565. package/cdn/themes/dsa-wc-theme.css +85 -15
  566. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  567. package/cdn/themes/dsa-wc-theme.styles.js +85 -15
  568. package/cdn/translations/en-gb.js +1 -1
  569. package/cdn/translations/en.js +1 -1
  570. package/cdn/translations/fr.js +1 -1
  571. package/cdn/utilities/date.d.ts +2 -0
  572. package/cdn/utilities/date.js +7 -3
  573. package/cdn/utilities/form.js +1 -1
  574. package/cdn/utilities/icon-library.js +2 -2
  575. package/cdn/utilities/localize.d.ts +2 -0
  576. package/cdn/utilities/localize.js +1 -1
  577. package/cdn/utilities/storybook.d.ts +1 -31
  578. package/cdn/utilities/storybook.js +118 -15
  579. package/cdn/vscode.html-custom-data.json +110 -76
  580. package/cdn/web-types.json +746 -1130
  581. package/dist/chunks/chunk.22OCLFM3.js +100 -0
  582. package/dist/chunks/chunk.233PXUXE.js +332 -0
  583. package/dist/chunks/chunk.2E4YJNET.js +31 -0
  584. package/dist/chunks/chunk.2IZN2PB2.js +118 -0
  585. package/dist/chunks/chunk.2WLSXEPE.js +319 -0
  586. package/dist/chunks/chunk.37LS7J2I.js +65 -0
  587. package/dist/chunks/chunk.3GIL7UX2.js +168 -0
  588. package/dist/chunks/chunk.3HG52QSF.js +266 -0
  589. package/dist/chunks/chunk.3IO4OYE5.js +419 -0
  590. package/dist/chunks/chunk.3LP7DTTB.js +73 -0
  591. package/dist/chunks/chunk.3VBHRND2.js +155 -0
  592. package/dist/chunks/chunk.3WVE7XBC.js +389 -0
  593. package/dist/chunks/chunk.44PC44MV.js +152 -0
  594. package/dist/chunks/chunk.4H63REQH.js +207 -0
  595. package/dist/chunks/chunk.4RETAYTP.js +77 -0
  596. package/dist/chunks/chunk.4TZQFWYO.js +131 -0
  597. package/dist/chunks/chunk.4Y46BZMS.js +207 -0
  598. package/dist/chunks/chunk.5C3LECAT.js +979 -0
  599. package/dist/chunks/chunk.5JVUW5SF.js +134 -0
  600. package/dist/chunks/chunk.5M3PNLFK.js +184 -0
  601. package/dist/chunks/chunk.5X5WO5HA.js +135 -0
  602. package/dist/chunks/chunk.6KQTEZWQ.js +235 -0
  603. package/dist/chunks/chunk.6NNTFHWJ.js +461 -0
  604. package/dist/chunks/chunk.6RUJYRCB.js +549 -0
  605. package/dist/chunks/chunk.6UTNOR4E.js +33 -0
  606. package/dist/chunks/chunk.6ZLFJGPA.js +176 -0
  607. package/dist/chunks/chunk.767V7QP2.js +88 -0
  608. package/dist/chunks/chunk.7APL3BFH.js +339 -0
  609. package/dist/chunks/chunk.7V4AALAQ.js +47 -0
  610. package/dist/chunks/chunk.ALER4ICK.js +368 -0
  611. package/dist/chunks/chunk.AUFE5P4K.js +21 -0
  612. package/dist/chunks/chunk.BMVQEF7N.js +100 -0
  613. package/dist/chunks/chunk.BND7D2NW.js +228 -0
  614. package/dist/chunks/chunk.C7BO57Z2.js +307 -0
  615. package/dist/chunks/chunk.CU62O7MI.js +71 -0
  616. package/dist/chunks/chunk.CZ2EH5XR.js +83 -0
  617. package/dist/chunks/chunk.CZPEHPWO.js +64 -0
  618. package/dist/chunks/chunk.D5NED4A7.js +128 -0
  619. package/dist/chunks/chunk.DDVVYJES.js +252 -0
  620. package/dist/chunks/chunk.DEX3YH65.js +273 -0
  621. package/dist/chunks/chunk.DQDLS6T7.js +309 -0
  622. package/dist/chunks/chunk.DQLGE4NF.js +52 -0
  623. package/dist/chunks/chunk.E3IQDNCT.js +69 -0
  624. package/dist/chunks/chunk.ECEBZG4J.js +288 -0
  625. package/dist/chunks/chunk.EENFRZN5.js +209 -0
  626. package/dist/chunks/chunk.EHSBGREE.js +353 -0
  627. package/dist/chunks/chunk.EUAQCNT2.js +60 -0
  628. package/dist/chunks/chunk.F6DSNCFH.js +182 -0
  629. package/dist/chunks/chunk.FB47DS6G.js +152 -0
  630. package/dist/chunks/chunk.FFOGTR5J.js +87 -0
  631. package/dist/chunks/chunk.G5UGZLXK.js +76 -0
  632. package/dist/chunks/chunk.GAWEZKA4.js +149 -0
  633. package/dist/chunks/chunk.GCYENPC4.js +58 -0
  634. package/dist/chunks/chunk.GEWIMBEO.js +172 -0
  635. package/dist/chunks/chunk.H3JZSQ67.js +313 -0
  636. package/dist/chunks/chunk.HLW42LP2.js +121 -0
  637. package/dist/chunks/chunk.I4KGGE2Y.js +231 -0
  638. package/dist/chunks/chunk.I5IKEQES.js +17 -0
  639. package/dist/chunks/chunk.I6S6TC3T.js +25 -0
  640. package/dist/chunks/chunk.IJSAHJ2E.js +229 -0
  641. package/dist/chunks/chunk.IMMCKCM3.js +221 -0
  642. package/dist/chunks/chunk.INDZMNQL.js +1097 -0
  643. package/dist/chunks/chunk.IPBNQINN.js +267 -0
  644. package/dist/chunks/chunk.J6QL6CZJ.js +45 -0
  645. package/dist/chunks/chunk.JOKI53P2.js +19 -0
  646. package/dist/chunks/chunk.JQJZFBVF.js +640 -0
  647. package/dist/chunks/chunk.JRNQCQZ6.js +189 -0
  648. package/dist/chunks/chunk.JVIWPP43.js +56 -0
  649. package/dist/chunks/chunk.JY4LEWW6.js +51 -0
  650. package/dist/chunks/chunk.K2UXH6ZD.js +89 -0
  651. package/dist/chunks/chunk.KCCJOS36.js +88 -0
  652. package/dist/chunks/chunk.KDLBY67V.js +188 -0
  653. package/dist/chunks/chunk.KF3RQTZS.js +79 -0
  654. package/dist/chunks/chunk.KKTFVJSX.js +368 -0
  655. package/dist/chunks/chunk.KNSDNTCB.js +547 -0
  656. package/dist/chunks/chunk.KOVXCQ7N.js +271 -0
  657. package/dist/chunks/chunk.KUIOIXJS.js +44 -0
  658. package/dist/chunks/chunk.L6W3CYD4.js +334 -0
  659. package/dist/chunks/chunk.LDPJO6TP.js +81 -0
  660. package/dist/chunks/chunk.LHMPWPVL.js +153 -0
  661. package/dist/chunks/chunk.LKPKCFRT.js +44 -0
  662. package/dist/chunks/chunk.MF7A7AFT.js +136 -0
  663. package/dist/chunks/chunk.MIYT3FL6.js +44 -0
  664. package/dist/chunks/chunk.MTE4ETST.js +79 -0
  665. package/dist/chunks/chunk.MWZRCNNO.js +68 -0
  666. package/dist/chunks/chunk.MZF3NKUN.js +333 -0
  667. package/dist/chunks/chunk.N3SCUIU6.js +545 -0
  668. package/dist/chunks/chunk.N54TKSON.js +18 -0
  669. package/dist/chunks/chunk.NGY5XC2C.js +300 -0
  670. package/dist/chunks/chunk.NLA75JL2.js +21 -0
  671. package/dist/chunks/chunk.NTZRDWUL.js +228 -0
  672. package/dist/chunks/chunk.NUI55PBA.js +392 -0
  673. package/dist/chunks/chunk.NZK2GET6.js +361 -0
  674. package/dist/chunks/chunk.O7OBAJIP.js +353 -0
  675. package/dist/chunks/chunk.OBE7XD6E.js +100 -0
  676. package/dist/chunks/chunk.ODOHKR6J.js +49 -0
  677. package/dist/chunks/chunk.ODUHVMOZ.js +232 -0
  678. package/dist/chunks/chunk.OSOYQC7V.js +444 -0
  679. package/dist/chunks/chunk.OW7LY6Q4.js +266 -0
  680. package/dist/chunks/chunk.OXYSNELC.js +191 -0
  681. package/dist/chunks/chunk.OYVF3HNG.js +82 -0
  682. package/dist/chunks/chunk.P4RIY6RD.js +281 -0
  683. package/dist/chunks/chunk.P6F4V2WC.js +113 -0
  684. package/dist/chunks/chunk.PKZXBSEC.js +404 -0
  685. package/dist/chunks/chunk.PVXX2LT7.js +36 -0
  686. package/dist/chunks/chunk.Q57SCFXF.js +41 -0
  687. package/dist/chunks/chunk.Q5LSLQYU.js +202 -0
  688. package/dist/chunks/chunk.QNSYKNEY.js +451 -0
  689. package/dist/chunks/chunk.QYSYIZVI.js +167 -0
  690. package/dist/chunks/chunk.QZQO5YY7.js +107 -0
  691. package/dist/chunks/chunk.RIME4UV7.js +186 -0
  692. package/dist/chunks/chunk.RP6DEJTO.js +96 -0
  693. package/dist/chunks/chunk.RRF5FP5T.js +92 -0
  694. package/dist/chunks/chunk.RSGMJZGX.js +187 -0
  695. package/dist/chunks/chunk.S7YJHJGA.js +731 -0
  696. package/dist/chunks/chunk.SK3KWU2I.js +336 -0
  697. package/dist/chunks/chunk.SO24QHVD.js +502 -0
  698. package/dist/chunks/chunk.SQKLY4C5.js +131 -0
  699. package/dist/chunks/chunk.SQN6J7NO.js +112 -0
  700. package/dist/chunks/chunk.SSQEYQKB.js +145 -0
  701. package/dist/chunks/chunk.SWGCRIQY.js +138 -0
  702. package/dist/chunks/chunk.TMEVQJFZ.js +53 -0
  703. package/dist/chunks/chunk.TQVU3XMF.js +301 -0
  704. package/dist/chunks/chunk.TR26WJPX.js +113 -0
  705. package/dist/chunks/chunk.TVYTTYHH.js +428 -0
  706. package/dist/chunks/chunk.TZTE7NZH.js +214 -0
  707. package/dist/chunks/chunk.UCONR7YO.js +228 -0
  708. package/dist/chunks/chunk.UEOYO223.js +13 -0
  709. package/dist/chunks/chunk.UVHW7PER.js +207 -0
  710. package/dist/chunks/chunk.VUK3PYL7.js +303 -0
  711. package/dist/chunks/chunk.WIJ5PZTL.js +63 -0
  712. package/dist/chunks/chunk.WJVUWDD3.js +109 -0
  713. package/dist/chunks/chunk.WKVCQRI3.js +230 -0
  714. package/dist/chunks/chunk.WQ2FYG4C.js +61 -0
  715. package/dist/chunks/chunk.WRJ4ECKR.js +116 -0
  716. package/dist/chunks/chunk.XCN5K2XF.js +42 -0
  717. package/dist/chunks/chunk.XJV6AOJL.js +312 -0
  718. package/dist/chunks/chunk.YE35HRHL.js +70 -0
  719. package/dist/chunks/chunk.YGWSCW2R.js +188 -0
  720. package/dist/chunks/chunk.YP3DBGDD.js +78 -0
  721. package/dist/chunks/chunk.Z5NDJTMI.js +80 -0
  722. package/dist/chunks/chunk.ZCC67O7A.js +300 -0
  723. package/dist/chunks/chunk.ZCPJ4TUK.js +236 -0
  724. package/dist/chunks/chunk.ZF4F6GS4.js +357 -0
  725. package/dist/chunks/chunk.ZXJ3IQ3K.js +13 -0
  726. package/dist/components/accordion/accordion.d.ts +4 -0
  727. package/dist/components/accordion/accordion.js +9 -11
  728. package/dist/components/accordion/accordion.styles.js +1 -1
  729. package/dist/components/accordion-group/accordion-group.d.ts +36 -0
  730. package/dist/components/accordion-group/accordion-group.js +25 -0
  731. package/dist/components/accordion-group/accordion-group.styles.d.ts +2 -0
  732. package/dist/components/accordion-group/accordion-group.styles.js +7 -0
  733. package/dist/components/alert/alert.js +10 -12
  734. package/dist/components/anchor-tag/anchor-tag.js +3 -3
  735. package/dist/components/avatar/avatar.js +7 -9
  736. package/dist/components/breadcrumb/breadcrumb.js +7 -9
  737. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  738. package/dist/components/button/button.js +11 -13
  739. package/dist/components/button/button.styles.js +1 -1
  740. package/dist/components/calendar/calendar.js +3 -3
  741. package/dist/components/callout/callout.d.ts +1 -1
  742. package/dist/components/callout/callout.js +8 -10
  743. package/dist/components/card-content/card-content.d.ts +1 -1
  744. package/dist/components/card-content/card-content.js +9 -11
  745. package/dist/components/card-content/card-content.styles.js +1 -1
  746. package/dist/components/card-nav/card-nav.d.ts +1 -1
  747. package/dist/components/card-nav-accordion/card-nav-accordion.d.ts +1 -1
  748. package/dist/components/card-nav-accordion/card-nav-accordion.js +8 -10
  749. package/dist/components/card-nav-item/card-nav-item.d.ts +1 -1
  750. package/dist/components/card-nav-item/card-nav-item.js +7 -9
  751. package/dist/components/checkbox/checkbox.js +16 -18
  752. package/dist/components/checkbox/checkbox.styles.js +2 -2
  753. package/dist/components/checkbox-button/checkbox-button.js +14 -16
  754. package/dist/components/checkbox-card/checkbox-card.js +9 -11
  755. package/dist/components/checkbox-group/checkbox-group.js +11 -13
  756. package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
  757. package/dist/components/combobox/combobox.js +17 -19
  758. package/dist/components/combobox/combobox.styles.js +2 -2
  759. package/dist/components/dialog/dialog.js +10 -12
  760. package/dist/components/download-card/download-card.js +5 -7
  761. package/dist/components/download-link/download-link.js +5 -7
  762. package/dist/components/drawer/drawer.js +11 -13
  763. package/dist/components/dropdown/dropdown.d.ts +5 -0
  764. package/dist/components/dropdown/dropdown.js +2 -2
  765. package/dist/components/error-message-panel/error-message-panel.js +2 -2
  766. package/dist/components/error-text/error-text-stories.d.ts +30 -0
  767. package/dist/components/error-text/error-text-stories.js +29 -0
  768. package/dist/components/error-text/error-text.js +5 -7
  769. package/dist/components/fieldset/fieldset.js +2 -2
  770. package/dist/components/file-upload/file-upload.d.ts +34 -3
  771. package/dist/components/file-upload/file-upload.js +14 -14
  772. package/dist/components/file-upload/file-upload.styles.js +2 -2
  773. package/dist/components/file-upload-item/file-upload-item.js +10 -12
  774. package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
  775. package/dist/components/filter-button/filter-button.js +9 -11
  776. package/dist/components/filter-button/filter-button.styles.js +1 -1
  777. package/dist/components/filter-counter/filter-counter.d.ts +1 -1
  778. package/dist/components/filter-counter/filter-counter.js +41 -41
  779. package/dist/components/filter-counter/filter-counter.styles.js +2 -2
  780. package/dist/components/filter-date/filter-date.d.ts +4 -2
  781. package/dist/components/filter-date/filter-date.js +20 -23
  782. package/dist/components/filter-date/filter-date.styles.js +2 -2
  783. package/dist/components/filter-range/filter-range.d.ts +1 -1
  784. package/dist/components/filter-range/filter-range.js +44 -43
  785. package/dist/components/filter-range/filter-range.styles.js +2 -2
  786. package/dist/components/filter-select/filter-select.d.ts +1 -1
  787. package/dist/components/filter-select/filter-select.js +43 -43
  788. package/dist/components/filter-select/filter-select.styles.js +2 -2
  789. package/dist/components/footer/footer.js +2 -2
  790. package/dist/components/footer-sitemap/footer-sitemap.d.ts +2 -0
  791. package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
  792. package/dist/components/footer-sitemap/footer-sitemap.styles.js +1 -1
  793. package/dist/components/format-bytes/format-bytes.js +2 -2
  794. package/dist/components/format-date/format-date.js +2 -2
  795. package/dist/components/format-number/format-number.js +2 -2
  796. package/dist/components/header/header.js +3 -3
  797. package/dist/components/header-search/header-search.js +14 -16
  798. package/dist/components/icon/icon.d.ts +6 -3
  799. package/dist/components/icon/icon.js +5 -7
  800. package/dist/components/icon/library.d.ts +2 -4
  801. package/dist/components/icon/library.js +2 -2
  802. package/dist/components/icon/library.system.js +1 -1
  803. package/dist/components/icon-button/icon-button.js +8 -10
  804. package/dist/components/include/request.js +20 -3
  805. package/dist/components/input/input.d.ts +4 -1
  806. package/dist/components/input/input.js +30 -30
  807. package/dist/components/input-amount/input-amount.d.ts +52 -0
  808. package/dist/components/input-amount/input-amount.js +35 -0
  809. package/dist/components/input-amount/input-amount.styles.d.ts +2 -0
  810. package/dist/components/input-amount/input-amount.styles.js +10 -0
  811. package/dist/components/input-amount/input-amount.utils.d.ts +4 -0
  812. package/dist/components/input-amount/input-amount.utils.js +13 -0
  813. package/dist/components/input-date/input-date.d.ts +33 -4
  814. package/dist/components/input-date/input-date.js +22 -22
  815. package/dist/components/input-date/input-date.styles.js +3 -3
  816. package/dist/components/input-mask/input-mask.js +18 -17
  817. package/dist/components/input-mask/input-mask.styles.js +3 -2
  818. package/dist/components/input-native/input-native.d.ts +0 -19
  819. package/dist/components/input-native/input-native.js +20 -20
  820. package/dist/components/input-native/input-native.styles.js +3 -3
  821. package/dist/components/input-native/input-native.utils.d.ts +0 -4
  822. package/dist/components/input-native/input-native.utils.js +3 -11
  823. package/dist/components/input-otp/input-otp.d.ts +1 -1
  824. package/dist/components/input-otp/input-otp.js +17 -17
  825. package/dist/components/input-otp/input-otp.styles.js +2 -2
  826. package/dist/components/input-phone/input-phone.js +26 -26
  827. package/dist/components/input-phone/input-phone.styles.js +2 -2
  828. package/dist/components/input-time/input-time.d.ts +1 -1
  829. package/dist/components/input-time/input-time.js +21 -21
  830. package/dist/components/input-time/input-time.styles.js +3 -3
  831. package/dist/components/menu-accordion/menu-accordion.d.ts +1 -1
  832. package/dist/components/menu-accordion/menu-accordion.js +8 -10
  833. package/dist/components/menu-item/menu-item.js +8 -10
  834. package/dist/components/menu-item/menu-item.styles.js +1 -1
  835. package/dist/components/menu-navigation/menu-navigation.d.ts +1 -1
  836. package/dist/components/mutation-observer/mutation-observer.d.ts +1 -1
  837. package/dist/components/navbar/navbar.d.ts +1 -1
  838. package/dist/components/navbar-link/navbar-link.d.ts +3 -1
  839. package/dist/components/navbar-link/navbar-link.js +8 -9
  840. package/dist/components/navbar-link/navbar-link.styles.js +1 -1
  841. package/dist/components/navbar-menu/navbar-menu.d.ts +1 -1
  842. package/dist/components/navbar-menu/navbar-menu.js +9 -11
  843. package/dist/components/navbar-menu/navbar-menu.styles.js +1 -1
  844. package/dist/components/option/option.js +8 -10
  845. package/dist/components/option/option.styles.js +1 -1
  846. package/dist/components/page-header/page-header.d.ts +1 -1
  847. package/dist/components/pagination/pagination.js +35 -35
  848. package/dist/components/pagination-button/pagination-button.js +3 -3
  849. package/dist/components/pagination-button/pagination-button.styles.js +2 -2
  850. package/dist/components/profile-button/profile-button.js +11 -13
  851. package/dist/components/profile-button/profile-button.styles.js +1 -1
  852. package/dist/components/progress-bar/progress-bar.js +4 -4
  853. package/dist/components/progress-bar/progress-bar.styles.js +1 -1
  854. package/dist/components/progress-ring/progress-ring.js +2 -2
  855. package/dist/components/quote/quote.d.ts +1 -1
  856. package/dist/components/quote/quote.js +8 -10
  857. package/dist/components/radio/radio.js +6 -8
  858. package/dist/components/radio-button/radio-button.js +14 -16
  859. package/dist/components/radio-card/radio-card.js +15 -17
  860. package/dist/components/radio-group/radio-group.js +11 -13
  861. package/dist/components/radio-group/radio-group.styles.js +2 -2
  862. package/dist/components/range-slider/range-slider.js +3 -3
  863. package/dist/components/relative-time/relative-time.d.ts +1 -1
  864. package/dist/components/relative-time/relative-time.js +2 -2
  865. package/dist/components/resize-observer/resize-observer.d.ts +1 -1
  866. package/dist/components/select/select.js +16 -18
  867. package/dist/components/select/select.styles.js +2 -2
  868. package/dist/components/skip-links/skip-links.js +2 -2
  869. package/dist/components/spinner/spinner.js +2 -2
  870. package/dist/components/split-panel/split-panel.d.ts +1 -1
  871. package/dist/components/split-panel/split-panel.js +7 -9
  872. package/dist/components/step/step.js +9 -11
  873. package/dist/components/success-text/success-text-stories.d.ts +30 -0
  874. package/dist/components/success-text/success-text-stories.js +29 -0
  875. package/dist/components/success-text/success-text.d.ts +19 -0
  876. package/dist/components/success-text/success-text.js +17 -0
  877. package/dist/components/success-text/success-text.styles.d.ts +2 -0
  878. package/dist/components/success-text/success-text.styles.js +7 -0
  879. package/dist/components/switch/switch.d.ts +1 -1
  880. package/dist/components/switch/switch.js +10 -12
  881. package/dist/components/switch/switch.styles.js +1 -1
  882. package/dist/components/tab/tab.js +10 -12
  883. package/dist/components/tab-group/tab-group.d.ts +5 -1
  884. package/dist/components/tab-group/tab-group.js +12 -13
  885. package/dist/components/tab-group/tab-group.styles.js +1 -1
  886. package/dist/components/table/table.d.ts +2 -0
  887. package/dist/components/table/table.js +1 -1
  888. package/dist/components/table-action/table-action.js +2 -2
  889. package/dist/components/table-body/table-body.js +3 -3
  890. package/dist/components/table-caption/table-caption.js +2 -2
  891. package/dist/components/table-container/table-container.js +2 -2
  892. package/dist/components/table-expanded-row/table-expanded-row.js +2 -2
  893. package/dist/components/table-expanded-row/table-expanded-row.styles.js +1 -1
  894. package/dist/components/table-head/table-head.js +2 -2
  895. package/dist/components/table-header-cell/table-header-cell.js +7 -9
  896. package/dist/components/table-header-row/table-header-row.js +23 -25
  897. package/dist/components/table-of-contents/table-of-contents.d.ts +1 -1
  898. package/dist/components/table-of-contents/table-of-contents.js +3 -3
  899. package/dist/components/table-of-contents/table-of-contents.styles.js +1 -1
  900. package/dist/components/table-row/table-row.js +19 -21
  901. package/dist/components/table-single-cell-row/table-single-cell-row.d.ts +15 -0
  902. package/dist/components/table-single-cell-row/table-single-cell-row.js +10 -0
  903. package/dist/components/table-single-cell-row/table-single-cell-row.styles.d.ts +2 -0
  904. package/dist/components/table-single-cell-row/table-single-cell-row.styles.js +8 -0
  905. package/dist/components/tag/tag.js +10 -12
  906. package/dist/components/tag-button/tag-button.js +2 -2
  907. package/dist/components/textarea/textarea.js +13 -15
  908. package/dist/components/textarea/textarea.styles.js +2 -2
  909. package/dist/components/tooltip/tooltip.js +2 -2
  910. package/dist/components/tree/tree.js +21 -23
  911. package/dist/components/tree-item/tree-item.js +19 -21
  912. package/dist/custom-elements.json +2157 -3268
  913. package/dist/design-system.d.ts +8 -2
  914. package/dist/design-system.js +254 -229
  915. package/dist/internal/components/checkbox-box/checkbox-box.styles.js +2 -1
  916. package/dist/internal/components/date-field/date-field.d.ts +2 -0
  917. package/dist/internal/components/date-field/date-field.js +22 -7
  918. package/dist/internal/components/date-field/date-field.styles.js +2 -2
  919. package/dist/internal/components/filter-base/filter-base-stories.d.ts +2 -0
  920. package/dist/internal/components/filter-base/filter-base-stories.js +76 -0
  921. package/dist/internal/components/filter-base/filter-base.d.ts +54 -0
  922. package/dist/internal/components/filter-base/filter-base.js +362 -0
  923. package/dist/internal/components/filter-base/filter-base.styles.d.ts +2 -0
  924. package/dist/internal/components/filter-base/filter-base.styles.js +61 -0
  925. package/dist/internal/components/form-control/form-control-layout-stories.d.ts +2 -0
  926. package/dist/internal/components/form-control/form-control-layout-stories.js +136 -0
  927. package/dist/internal/components/form-control/form-control-layout.d.ts +6 -0
  928. package/dist/internal/components/form-control/form-control-layout.js +29 -0
  929. package/dist/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +1 -1
  930. package/dist/internal/components/form-selectable-card/form-selectable-card.styles.js +2 -1
  931. package/dist/internal/components/form-toggle-button/form-toggle-button-stories.d.ts +1 -1
  932. package/dist/internal/components/input-base/input-base-stories.d.ts +3 -0
  933. package/dist/internal/components/input-base/input-base-stories.js +212 -0
  934. package/dist/internal/components/input-base/input-base.d.ts +2 -0
  935. package/dist/internal/components/input-base/input-base.js +24 -0
  936. package/dist/internal/components/input-base/input-base.styles.js +12 -5
  937. package/dist/internal/components/radio-icon/radio-icon.styles.js +2 -1
  938. package/dist/internal/default-value.js +1 -1
  939. package/dist/internal/form.js +14 -0
  940. package/dist/styles/form-control.styles.js +24 -6
  941. package/dist/themes/dsa-wc-theme.css +85 -15
  942. package/dist/themes/dsa-wc-theme.min.css +1 -1
  943. package/dist/themes/dsa-wc-theme.styles.js +85 -15
  944. package/dist/translations/en-gb.js +1 -1
  945. package/dist/translations/en.js +1 -1
  946. package/dist/translations/fr.js +1 -1
  947. package/dist/utilities/date.d.ts +2 -0
  948. package/dist/utilities/date.js +7 -3
  949. package/dist/utilities/form.js +1 -1
  950. package/dist/utilities/icon-library.js +2 -2
  951. package/dist/utilities/localize.d.ts +2 -0
  952. package/dist/utilities/localize.js +1 -1
  953. package/dist/utilities/storybook.d.ts +1 -31
  954. package/dist/utilities/storybook.js +116 -14
  955. package/dist/vscode.html-custom-data.json +110 -76
  956. package/dist/web-types.json +746 -1130
  957. package/package.json +19 -21
  958. package/cdn/chunks/chunk.23TOS4ZE.js +0 -29
  959. package/cdn/chunks/chunk.2BQQJKFU.js +0 -402
  960. package/cdn/chunks/chunk.2Q6V7LT2.js +0 -83
  961. package/cdn/chunks/chunk.2S3446TB.js +0 -214
  962. package/cdn/chunks/chunk.2URJBNTF.js +0 -148
  963. package/cdn/chunks/chunk.35PPY25N.js +0 -92
  964. package/cdn/chunks/chunk.373WDEVW.js +0 -63
  965. package/cdn/chunks/chunk.3AD4AURN.js +0 -60
  966. package/cdn/chunks/chunk.3AT66TOX.js +0 -124
  967. package/cdn/chunks/chunk.3E3HJ2GB.js +0 -114
  968. package/cdn/chunks/chunk.3HEBCT3N.js +0 -46
  969. package/cdn/chunks/chunk.3NJ2VQ4A.js +0 -72
  970. package/cdn/chunks/chunk.3NWILHZZ.js +0 -298
  971. package/cdn/chunks/chunk.3PDDINNE.js +0 -118
  972. package/cdn/chunks/chunk.3VUJFXU2.js +0 -34
  973. package/cdn/chunks/chunk.3XJMTCX6.js +0 -155
  974. package/cdn/chunks/chunk.3XJTVFZ2.js +0 -245
  975. package/cdn/chunks/chunk.3XMYYR4P.js +0 -329
  976. package/cdn/chunks/chunk.3XY6GW7M.js +0 -81
  977. package/cdn/chunks/chunk.3YELONZ5.js +0 -97
  978. package/cdn/chunks/chunk.43JCX6QI.js +0 -179
  979. package/cdn/chunks/chunk.4BCJBJLD.js +0 -51
  980. package/cdn/chunks/chunk.4GWNV3R4.js +0 -127
  981. package/cdn/chunks/chunk.4HCR3FZE.js +0 -84
  982. package/cdn/chunks/chunk.4HD7RLLD.js +0 -82
  983. package/cdn/chunks/chunk.4KHZQZ3M.js +0 -366
  984. package/cdn/chunks/chunk.4MBYAP5S.js +0 -133
  985. package/cdn/chunks/chunk.4OAG5UWA.js +0 -72
  986. package/cdn/chunks/chunk.4Q4LBN6D.js +0 -321
  987. package/cdn/chunks/chunk.4UMO5YHQ.js +0 -457
  988. package/cdn/chunks/chunk.53DHJKYL.js +0 -157
  989. package/cdn/chunks/chunk.57V66KCM.js +0 -65
  990. package/cdn/chunks/chunk.5AF25B3X.js +0 -89
  991. package/cdn/chunks/chunk.5B3X2KU4.js +0 -990
  992. package/cdn/chunks/chunk.5BNA4L7K.js +0 -69
  993. package/cdn/chunks/chunk.5IFHMXXG.js +0 -229
  994. package/cdn/chunks/chunk.5LBMOJJI.js +0 -231
  995. package/cdn/chunks/chunk.5QJ7KDER.js +0 -124
  996. package/cdn/chunks/chunk.6B5RR3IS.js +0 -27
  997. package/cdn/chunks/chunk.6BPVPY42.js +0 -318
  998. package/cdn/chunks/chunk.6CVNT3XU.js +0 -108
  999. package/cdn/chunks/chunk.6EZUQLDJ.js +0 -71
  1000. package/cdn/chunks/chunk.6KSC4CRL.js +0 -21
  1001. package/cdn/chunks/chunk.6OFBSNBH.js +0 -51
  1002. package/cdn/chunks/chunk.6SV5RDDG.js +0 -2700
  1003. package/cdn/chunks/chunk.6UY5XC7A.js +0 -368
  1004. package/cdn/chunks/chunk.6V2FRFCB.js +0 -53
  1005. package/cdn/chunks/chunk.745AGVZD.js +0 -53
  1006. package/cdn/chunks/chunk.7CBNLWGC.js +0 -559
  1007. package/cdn/chunks/chunk.7M6TBOTT.js +0 -83
  1008. package/cdn/chunks/chunk.7M7OTFSB.js +0 -28
  1009. package/cdn/chunks/chunk.7PPSHHT2.js +0 -57
  1010. package/cdn/chunks/chunk.7WXOGHV7.js +0 -46
  1011. package/cdn/chunks/chunk.7ZBB555K.js +0 -40
  1012. package/cdn/chunks/chunk.7ZJHGFQH.js +0 -294
  1013. package/cdn/chunks/chunk.A27ADPHB.js +0 -319
  1014. package/cdn/chunks/chunk.A4FPLOFR.js +0 -26
  1015. package/cdn/chunks/chunk.A747OEHH.js +0 -145
  1016. package/cdn/chunks/chunk.A7Y7SE26.js +0 -31
  1017. package/cdn/chunks/chunk.APETPPJK.js +0 -18
  1018. package/cdn/chunks/chunk.ATHVFSQX.js +0 -107
  1019. package/cdn/chunks/chunk.AVMOG6VH.js +0 -52
  1020. package/cdn/chunks/chunk.BBWKTDH3.js +0 -85
  1021. package/cdn/chunks/chunk.BDPH2MRN.js +0 -234
  1022. package/cdn/chunks/chunk.BGP2ITQD.js +0 -326
  1023. package/cdn/chunks/chunk.BKSVKEYX.js +0 -285
  1024. package/cdn/chunks/chunk.BKXMFI4F.js +0 -19
  1025. package/cdn/chunks/chunk.BL3GGU7N.js +0 -50
  1026. package/cdn/chunks/chunk.BLDDPD73.js +0 -45
  1027. package/cdn/chunks/chunk.BLJRNU3Y.js +0 -38
  1028. package/cdn/chunks/chunk.BMQ5WSY7.js +0 -332
  1029. package/cdn/chunks/chunk.BPP37CID.js +0 -158
  1030. package/cdn/chunks/chunk.BQ3SI4TM.js +0 -378
  1031. package/cdn/chunks/chunk.BQX4GGIU.js +0 -426
  1032. package/cdn/chunks/chunk.BWYI3OOJ.js +0 -180
  1033. package/cdn/chunks/chunk.C24LGDFR.js +0 -27
  1034. package/cdn/chunks/chunk.CAWNJ57J.js +0 -291
  1035. package/cdn/chunks/chunk.CAYHSQZJ.js +0 -43
  1036. package/cdn/chunks/chunk.CUCCBQJX.js +0 -237
  1037. package/cdn/chunks/chunk.CUZCVMCE.js +0 -23
  1038. package/cdn/chunks/chunk.D3U3NPDM.js +0 -38
  1039. package/cdn/chunks/chunk.D5IL5KN6.js +0 -181
  1040. package/cdn/chunks/chunk.DBJLSCQP.js +0 -174
  1041. package/cdn/chunks/chunk.DHAWFIQS.js +0 -70
  1042. package/cdn/chunks/chunk.DJGIYI6C.js +0 -262
  1043. package/cdn/chunks/chunk.DQI2JTKU.js +0 -15
  1044. package/cdn/chunks/chunk.DROLKHEJ.js +0 -128
  1045. package/cdn/chunks/chunk.DRUKNJJ5.js +0 -59
  1046. package/cdn/chunks/chunk.DTSCRQ4P.js +0 -99
  1047. package/cdn/chunks/chunk.DZB6XUZ7.js +0 -191
  1048. package/cdn/chunks/chunk.E2ERJT5L.js +0 -233
  1049. package/cdn/chunks/chunk.E73QKLNL.js +0 -188
  1050. package/cdn/chunks/chunk.EQH5VF5B.js +0 -169
  1051. package/cdn/chunks/chunk.ER6BIHKN.js +0 -19
  1052. package/cdn/chunks/chunk.EVV7CPIX.js +0 -55
  1053. package/cdn/chunks/chunk.EYKHHWR5.js +0 -306
  1054. package/cdn/chunks/chunk.EZAK6TIK.js +0 -109
  1055. package/cdn/chunks/chunk.F53RUZFW.js +0 -50
  1056. package/cdn/chunks/chunk.F6BCRVNV.js +0 -509
  1057. package/cdn/chunks/chunk.FACPDJPH.js +0 -152
  1058. package/cdn/chunks/chunk.FAHCOHQ3.js +0 -19
  1059. package/cdn/chunks/chunk.FBBQLI6C.js +0 -132
  1060. package/cdn/chunks/chunk.FF4JFUUR.js +0 -142
  1061. package/cdn/chunks/chunk.FKD4DEYR.js +0 -30
  1062. package/cdn/chunks/chunk.FLMM3C4U.js +0 -446
  1063. package/cdn/chunks/chunk.FN6Y2EK6.js +0 -393
  1064. package/cdn/chunks/chunk.FXCTBO2S.js +0 -80
  1065. package/cdn/chunks/chunk.GM64Q6MR.js +0 -90
  1066. package/cdn/chunks/chunk.GNULOP2U.js +0 -28
  1067. package/cdn/chunks/chunk.GVTFDL2C.js +0 -98
  1068. package/cdn/chunks/chunk.H6YHQDG6.js +0 -87
  1069. package/cdn/chunks/chunk.HAZ3PJ5Y.js +0 -34
  1070. package/cdn/chunks/chunk.HDRDFHGQ.js +0 -94
  1071. package/cdn/chunks/chunk.HJU52GCK.js +0 -79
  1072. package/cdn/chunks/chunk.HNGA66FR.js +0 -241
  1073. package/cdn/chunks/chunk.HOIWGDVX.js +0 -198
  1074. package/cdn/chunks/chunk.I6WQAXU3.js +0 -85
  1075. package/cdn/chunks/chunk.IEQULSYY.js +0 -77
  1076. package/cdn/chunks/chunk.IGA57P5N.js +0 -93
  1077. package/cdn/chunks/chunk.II42H5RK.js +0 -102
  1078. package/cdn/chunks/chunk.IKHG7XGO.js +0 -47
  1079. package/cdn/chunks/chunk.IPKU2NK6.js +0 -638
  1080. package/cdn/chunks/chunk.IWMEHK72.js +0 -220
  1081. package/cdn/chunks/chunk.J73YJOU4.js +0 -147
  1082. package/cdn/chunks/chunk.JEOLRBU6.js +0 -197
  1083. package/cdn/chunks/chunk.JG2GJKT5.js +0 -47
  1084. package/cdn/chunks/chunk.JLZQJQF4.js +0 -150
  1085. package/cdn/chunks/chunk.JNYFWYEK.js +0 -150
  1086. package/cdn/chunks/chunk.JOVZPGCQ.js +0 -258
  1087. package/cdn/chunks/chunk.JUCW3BPM.js +0 -345
  1088. package/cdn/chunks/chunk.JUHZQETN.js +0 -268
  1089. package/cdn/chunks/chunk.KDSIJN5N.js +0 -265
  1090. package/cdn/chunks/chunk.KNHNBAPO.js +0 -94
  1091. package/cdn/chunks/chunk.KNKNPTGU.js +0 -343
  1092. package/cdn/chunks/chunk.KQJPZZKZ.js +0 -123
  1093. package/cdn/chunks/chunk.KS7QG726.js +0 -1911
  1094. package/cdn/chunks/chunk.KWRUGVRF.js +0 -100
  1095. package/cdn/chunks/chunk.LBT6FNPI.js +0 -37
  1096. package/cdn/chunks/chunk.LEW43Y6P.js +0 -116
  1097. package/cdn/chunks/chunk.LIJWOM2P.js +0 -139
  1098. package/cdn/chunks/chunk.LPB2VMCT.js +0 -74
  1099. package/cdn/chunks/chunk.LYIECKOK.js +0 -553
  1100. package/cdn/chunks/chunk.M3TRPPPZ.js +0 -367
  1101. package/cdn/chunks/chunk.M4YRRHEL.js +0 -94
  1102. package/cdn/chunks/chunk.MJMSFEEL.js +0 -325
  1103. package/cdn/chunks/chunk.MMT7DZQU.js +0 -439
  1104. package/cdn/chunks/chunk.MRBMS4RB.js +0 -357
  1105. package/cdn/chunks/chunk.N74GMZQD.js +0 -369
  1106. package/cdn/chunks/chunk.NBAUIHQ4.js +0 -93
  1107. package/cdn/chunks/chunk.NEMJUCMZ.js +0 -72
  1108. package/cdn/chunks/chunk.NGFX2DGJ.js +0 -63
  1109. package/cdn/chunks/chunk.NMVBZ537.js +0 -116
  1110. package/cdn/chunks/chunk.NNXRECFT.js +0 -181
  1111. package/cdn/chunks/chunk.NOI6NFVL.js +0 -44
  1112. package/cdn/chunks/chunk.NON7TU3E.js +0 -15
  1113. package/cdn/chunks/chunk.NPC54TFP.js +0 -33
  1114. package/cdn/chunks/chunk.NUMKSKYJ.js +0 -84
  1115. package/cdn/chunks/chunk.NX3X4ING.js +0 -39
  1116. package/cdn/chunks/chunk.NYK3GS67.js +0 -223
  1117. package/cdn/chunks/chunk.O3QYWWFG.js +0 -26
  1118. package/cdn/chunks/chunk.O4RRXVX2.js +0 -105
  1119. package/cdn/chunks/chunk.O6LSC3HF.js +0 -19
  1120. package/cdn/chunks/chunk.OCDDQJHV.js +0 -314
  1121. package/cdn/chunks/chunk.OIBXY54X.js +0 -70
  1122. package/cdn/chunks/chunk.OOL4Q6HA.js +0 -22
  1123. package/cdn/chunks/chunk.OQUR5UM4.js +0 -78
  1124. package/cdn/chunks/chunk.P54A3JER.js +0 -19
  1125. package/cdn/chunks/chunk.PA2DSNXY.js +0 -51
  1126. package/cdn/chunks/chunk.POKFLTEE.js +0 -42
  1127. package/cdn/chunks/chunk.PQ4KTIXS.js +0 -243
  1128. package/cdn/chunks/chunk.PQNNELEM.js +0 -58
  1129. package/cdn/chunks/chunk.PRP4B2TV.js +0 -263
  1130. package/cdn/chunks/chunk.PRSVL22E.js +0 -58
  1131. package/cdn/chunks/chunk.PSQJDSB2.js +0 -24
  1132. package/cdn/chunks/chunk.PT3QFRYN.js +0 -336
  1133. package/cdn/chunks/chunk.PZQUQ6DG.js +0 -65
  1134. package/cdn/chunks/chunk.QCPGBCQ3.js +0 -72
  1135. package/cdn/chunks/chunk.QFP2EIRS.js +0 -147
  1136. package/cdn/chunks/chunk.QHU2DUDS.js +0 -307
  1137. package/cdn/chunks/chunk.QHWXIC27.js +0 -58
  1138. package/cdn/chunks/chunk.QUA6RD7E.js +0 -82
  1139. package/cdn/chunks/chunk.QYS7Y562.js +0 -191
  1140. package/cdn/chunks/chunk.RAMP7CRD.js +0 -93
  1141. package/cdn/chunks/chunk.RHJUPBW2.js +0 -425
  1142. package/cdn/chunks/chunk.RMERH7OH.js +0 -64
  1143. package/cdn/chunks/chunk.RNF5H43X.js +0 -199
  1144. package/cdn/chunks/chunk.RR3AFBIW.js +0 -66
  1145. package/cdn/chunks/chunk.RRVYERI6.js +0 -132
  1146. package/cdn/chunks/chunk.S6PSIINZ.js +0 -52
  1147. package/cdn/chunks/chunk.SCHNZ3XK.js +0 -28
  1148. package/cdn/chunks/chunk.SDRL7END.js +0 -75
  1149. package/cdn/chunks/chunk.SJM6TZPX.js +0 -88
  1150. package/cdn/chunks/chunk.SMJWBG6U.js +0 -46
  1151. package/cdn/chunks/chunk.SPK4CXKV.js +0 -91
  1152. package/cdn/chunks/chunk.SRNBM7K4.js +0 -32
  1153. package/cdn/chunks/chunk.SS3GSU3M.js +0 -742
  1154. package/cdn/chunks/chunk.SUF6PW6Q.js +0 -122
  1155. package/cdn/chunks/chunk.SUXMTZZQ.js +0 -77
  1156. package/cdn/chunks/chunk.T4PQY3SD.js +0 -194
  1157. package/cdn/chunks/chunk.T6APUNAB.js +0 -379
  1158. package/cdn/chunks/chunk.TACGYYBM.js +0 -95
  1159. package/cdn/chunks/chunk.TENBZ64C.js +0 -1094
  1160. package/cdn/chunks/chunk.TS2KKUX2.js +0 -215
  1161. package/cdn/chunks/chunk.TUB5XL3J.js +0 -136
  1162. package/cdn/chunks/chunk.TYMYQFMO.js +0 -34
  1163. package/cdn/chunks/chunk.UJQUHHXT.js +0 -216
  1164. package/cdn/chunks/chunk.UORXHDBJ.js +0 -105
  1165. package/cdn/chunks/chunk.UOZUWQCO.js +0 -36
  1166. package/cdn/chunks/chunk.UR6UOSYK.js +0 -72
  1167. package/cdn/chunks/chunk.UULRRJ5I.js +0 -210
  1168. package/cdn/chunks/chunk.UXSIEY7M.js +0 -43
  1169. package/cdn/chunks/chunk.UYGSA2IW.js +0 -164
  1170. package/cdn/chunks/chunk.V7CLIMYE.js +0 -94
  1171. package/cdn/chunks/chunk.VZF3ZTED.js +0 -23
  1172. package/cdn/chunks/chunk.W547AC5O.js +0 -108
  1173. package/cdn/chunks/chunk.W6JXBJWF.js +0 -198
  1174. package/cdn/chunks/chunk.W6RA2ZKW.js +0 -124
  1175. package/cdn/chunks/chunk.WFZ45OWG.js +0 -93
  1176. package/cdn/chunks/chunk.WOGTGKIT.js +0 -262
  1177. package/cdn/chunks/chunk.WQLZJXIF.js +0 -341
  1178. package/cdn/chunks/chunk.WRWT7JSH.js +0 -54
  1179. package/cdn/chunks/chunk.WSY5WWRS.js +0 -81
  1180. package/cdn/chunks/chunk.WWI5IYQY.js +0 -98
  1181. package/cdn/chunks/chunk.XASHG6W4.js +0 -119
  1182. package/cdn/chunks/chunk.XD7G7WIJ.js +0 -75
  1183. package/cdn/chunks/chunk.XGOXFBM5.js +0 -63
  1184. package/cdn/chunks/chunk.XIX7XP2G.js +0 -91
  1185. package/cdn/chunks/chunk.XNEONNEJ.js +0 -23
  1186. package/cdn/chunks/chunk.XODAGFNB.js +0 -53
  1187. package/cdn/chunks/chunk.XRFDWQQQ.js +0 -95
  1188. package/cdn/chunks/chunk.XYXJQSTL.js +0 -154
  1189. package/cdn/chunks/chunk.Y2RQJPXD.js +0 -237
  1190. package/cdn/chunks/chunk.Y4XSMWCI.js +0 -282
  1191. package/cdn/chunks/chunk.YAK3QGTM.js +0 -274
  1192. package/cdn/chunks/chunk.YAOG4YZU.js +0 -40
  1193. package/cdn/chunks/chunk.YBWQADCH.js +0 -71
  1194. package/cdn/chunks/chunk.YDT7HT2E.js +0 -123
  1195. package/cdn/chunks/chunk.YGJ3KERC.js +0 -290
  1196. package/cdn/chunks/chunk.YGUWRBBP.js +0 -26
  1197. package/cdn/chunks/chunk.YGZ44MNV.js +0 -64
  1198. package/cdn/chunks/chunk.YSKD4LUA.js +0 -117
  1199. package/cdn/chunks/chunk.YX277NFA.js +0 -300
  1200. package/cdn/chunks/chunk.YY5FKN3H.js +0 -29
  1201. package/cdn/chunks/chunk.Z3BBDSTK.js +0 -64
  1202. package/cdn/chunks/chunk.Z3VIP662.js +0 -70
  1203. package/cdn/chunks/chunk.ZHNP2Z3B.js +0 -558
  1204. package/cdn/chunks/chunk.ZQRAHYTZ.js +0 -219
  1205. package/cdn/chunks/chunk.ZYAFL7BC.js +0 -198
  1206. package/cdn/components/filter-base/filter-base-stories.d.ts +0 -2
  1207. package/cdn/components/filter-base/filter-base-stories.js +0 -86
  1208. package/cdn/components/filter-base/filter-base.d.ts +0 -54
  1209. package/cdn/components/filter-base/filter-base.js +0 -36
  1210. package/cdn/components/filter-base/filter-base.styles.js +0 -10
  1211. package/cdn/components/filter-date/filter-date.utils.d.ts +0 -2
  1212. package/cdn/components/filter-date/filter-date.utils.js +0 -9
  1213. package/cdn/components/icon/request.d.ts +0 -11
  1214. package/cdn/components/icon/request.js +0 -8
  1215. package/dist/chunks/chunk.23TOS4ZE.js +0 -29
  1216. package/dist/chunks/chunk.2655IKKL.js +0 -288
  1217. package/dist/chunks/chunk.2EO2NJQJ.js +0 -118
  1218. package/dist/chunks/chunk.2GAMN72N.js +0 -88
  1219. package/dist/chunks/chunk.2JRGVS6D.js +0 -361
  1220. package/dist/chunks/chunk.2RDTQ7RT.js +0 -58
  1221. package/dist/chunks/chunk.2TYHIVTN.js +0 -313
  1222. package/dist/chunks/chunk.37I5GPBX.js +0 -100
  1223. package/dist/chunks/chunk.3CWUZQRT.js +0 -325
  1224. package/dist/chunks/chunk.3DQTD6B2.js +0 -62
  1225. package/dist/chunks/chunk.3RMSYRZA.js +0 -92
  1226. package/dist/chunks/chunk.3SMOVUNI.js +0 -68
  1227. package/dist/chunks/chunk.46A3MGDV.js +0 -365
  1228. package/dist/chunks/chunk.4JZFGBJP.js +0 -314
  1229. package/dist/chunks/chunk.4S7APMGY.js +0 -419
  1230. package/dist/chunks/chunk.4VHQEXSY.js +0 -339
  1231. package/dist/chunks/chunk.4ZAABSYS.js +0 -175
  1232. package/dist/chunks/chunk.54XEUZ55.js +0 -78
  1233. package/dist/chunks/chunk.63BQQE4G.js +0 -629
  1234. package/dist/chunks/chunk.6AKP5BRZ.js +0 -128
  1235. package/dist/chunks/chunk.6KMLQCBG.js +0 -53
  1236. package/dist/chunks/chunk.6MWXS55V.js +0 -136
  1237. package/dist/chunks/chunk.6NGHRQYD.js +0 -113
  1238. package/dist/chunks/chunk.6XCFILBM.js +0 -190
  1239. package/dist/chunks/chunk.6ZR5MQTU.js +0 -21
  1240. package/dist/chunks/chunk.7QLR3F26.js +0 -172
  1241. package/dist/chunks/chunk.7UPFI4HE.js +0 -131
  1242. package/dist/chunks/chunk.AATHH5ZK.js +0 -303
  1243. package/dist/chunks/chunk.AB7T3PSN.js +0 -214
  1244. package/dist/chunks/chunk.ADUUYLJY.js +0 -79
  1245. package/dist/chunks/chunk.AHHKOQL3.js +0 -51
  1246. package/dist/chunks/chunk.AJCLNOPZ.js +0 -44
  1247. package/dist/chunks/chunk.ARDX2RVR.js +0 -412
  1248. package/dist/chunks/chunk.B7LEFGX4.js +0 -76
  1249. package/dist/chunks/chunk.BYB2ODNQ.js +0 -220
  1250. package/dist/chunks/chunk.CAYHSQZJ.js +0 -43
  1251. package/dist/chunks/chunk.CPBWQ6BE.js +0 -271
  1252. package/dist/chunks/chunk.D7NKST7Z.js +0 -217
  1253. package/dist/chunks/chunk.DHCXNXX3.js +0 -549
  1254. package/dist/chunks/chunk.DJNQIAYV.js +0 -283
  1255. package/dist/chunks/chunk.DKIEKIV4.js +0 -230
  1256. package/dist/chunks/chunk.DMIXIORN.js +0 -312
  1257. package/dist/chunks/chunk.DQI2JTKU.js +0 -15
  1258. package/dist/chunks/chunk.DUPWIWDC.js +0 -546
  1259. package/dist/chunks/chunk.DXRDCCL4.js +0 -70
  1260. package/dist/chunks/chunk.DY7O23OC.js +0 -49
  1261. package/dist/chunks/chunk.DZVHKOGO.js +0 -131
  1262. package/dist/chunks/chunk.EQDAZLA2.js +0 -979
  1263. package/dist/chunks/chunk.ERDP4WZN.js +0 -317
  1264. package/dist/chunks/chunk.ERN34WYC.js +0 -131
  1265. package/dist/chunks/chunk.ETG5DAHF.js +0 -357
  1266. package/dist/chunks/chunk.EWOJ3XVB.js +0 -184
  1267. package/dist/chunks/chunk.FC2HFFUI.js +0 -100
  1268. package/dist/chunks/chunk.FWVIQUG4.js +0 -116
  1269. package/dist/chunks/chunk.G5ZFFB2V.js +0 -155
  1270. package/dist/chunks/chunk.GFXISORD.js +0 -300
  1271. package/dist/chunks/chunk.GLJ65Z2P.js +0 -107
  1272. package/dist/chunks/chunk.HJU52GCK.js +0 -79
  1273. package/dist/chunks/chunk.I4XFUHWM.js +0 -58
  1274. package/dist/chunks/chunk.IR5ZDNLY.js +0 -368
  1275. package/dist/chunks/chunk.ISWFROYZ.js +0 -134
  1276. package/dist/chunks/chunk.JA7YFGLI.js +0 -298
  1277. package/dist/chunks/chunk.JDIBYGPL.js +0 -235
  1278. package/dist/chunks/chunk.JEZOETYM.js +0 -1092
  1279. package/dist/chunks/chunk.JG4PBHLV.js +0 -232
  1280. package/dist/chunks/chunk.JQS5RPAK.js +0 -323
  1281. package/dist/chunks/chunk.JXM67ADP.js +0 -150
  1282. package/dist/chunks/chunk.K4XU6L7E.js +0 -207
  1283. package/dist/chunks/chunk.KC5MVFGS.js +0 -88
  1284. package/dist/chunks/chunk.KFBHQJJP.js +0 -113
  1285. package/dist/chunks/chunk.KNPGT6SV.js +0 -145
  1286. package/dist/chunks/chunk.L2B7WMWE.js +0 -96
  1287. package/dist/chunks/chunk.L7SZMI27.js +0 -109
  1288. package/dist/chunks/chunk.LC7CCWN3.js +0 -208
  1289. package/dist/chunks/chunk.LGV7OXTA.js +0 -186
  1290. package/dist/chunks/chunk.LRBVQHKX.js +0 -69
  1291. package/dist/chunks/chunk.LXS4P57X.js +0 -255
  1292. package/dist/chunks/chunk.M5MCRNUJ.js +0 -266
  1293. package/dist/chunks/chunk.MF7KW7MX.js +0 -79
  1294. package/dist/chunks/chunk.MKTUAWNS.js +0 -182
  1295. package/dist/chunks/chunk.MYSJOWY5.js +0 -144
  1296. package/dist/chunks/chunk.NJNQX6FX.js +0 -61
  1297. package/dist/chunks/chunk.NKOMMJMK.js +0 -353
  1298. package/dist/chunks/chunk.NVQTI6CK.js +0 -44
  1299. package/dist/chunks/chunk.NZEV2R75.js +0 -197
  1300. package/dist/chunks/chunk.OCK5L55T.js +0 -196
  1301. package/dist/chunks/chunk.OOZC4AR2.js +0 -63
  1302. package/dist/chunks/chunk.ORWJR56M.js +0 -281
  1303. package/dist/chunks/chunk.OVOTWPG3.js +0 -100
  1304. package/dist/chunks/chunk.P4YKLILN.js +0 -47
  1305. package/dist/chunks/chunk.Q3II5ELV.js +0 -228
  1306. package/dist/chunks/chunk.QADAWCTI.js +0 -332
  1307. package/dist/chunks/chunk.QFC4API2.js +0 -45
  1308. package/dist/chunks/chunk.QFO2VDJ3.js +0 -286
  1309. package/dist/chunks/chunk.QGPBBIGJ.js +0 -731
  1310. package/dist/chunks/chunk.QJIY2G7A.js +0 -451
  1311. package/dist/chunks/chunk.QLT366CP.js +0 -112
  1312. package/dist/chunks/chunk.QS6BH5AW.js +0 -73
  1313. package/dist/chunks/chunk.RGHMS6RU.js +0 -73
  1314. package/dist/chunks/chunk.RURHQSLF.js +0 -191
  1315. package/dist/chunks/chunk.SDT5BB26.js +0 -121
  1316. package/dist/chunks/chunk.SFD6GJDA.js +0 -432
  1317. package/dist/chunks/chunk.SGIGGO5M.js +0 -86
  1318. package/dist/chunks/chunk.SGVMH2WK.js +0 -149
  1319. package/dist/chunks/chunk.SJN7BDOD.js +0 -266
  1320. package/dist/chunks/chunk.STKBEBVL.js +0 -300
  1321. package/dist/chunks/chunk.SV6UZ7XX.js +0 -71
  1322. package/dist/chunks/chunk.SW6R5A3O.js +0 -252
  1323. package/dist/chunks/chunk.SWWPGGIS.js +0 -42
  1324. package/dist/chunks/chunk.TK77JBEH.js +0 -229
  1325. package/dist/chunks/chunk.TODRUEYV.js +0 -53
  1326. package/dist/chunks/chunk.TQJLTADP.js +0 -391
  1327. package/dist/chunks/chunk.TZFYJ4KJ.js +0 -311
  1328. package/dist/chunks/chunk.ULPMZDTP.js +0 -13
  1329. package/dist/chunks/chunk.URDP5HQR.js +0 -152
  1330. package/dist/chunks/chunk.UXC3LQKA.js +0 -51
  1331. package/dist/chunks/chunk.V75T6QXR.js +0 -81
  1332. package/dist/chunks/chunk.VDYAE3MB.js +0 -168
  1333. package/dist/chunks/chunk.VKIBAACD.js +0 -226
  1334. package/dist/chunks/chunk.VYYQ6KPE.js +0 -148
  1335. package/dist/chunks/chunk.VZHVRVYC.js +0 -188
  1336. package/dist/chunks/chunk.WCJ3TXH5.js +0 -502
  1337. package/dist/chunks/chunk.WDLYTTNO.js +0 -292
  1338. package/dist/chunks/chunk.WODSQYKQ.js +0 -36
  1339. package/dist/chunks/chunk.X6M22EYD.js +0 -368
  1340. package/dist/chunks/chunk.XAF7DDXJ.js +0 -228
  1341. package/dist/chunks/chunk.XNEONNEJ.js +0 -23
  1342. package/dist/chunks/chunk.XODWG3UJ.js +0 -60
  1343. package/dist/chunks/chunk.Y4CDJYQO.js +0 -387
  1344. package/dist/chunks/chunk.Y6XPKQ25.js +0 -334
  1345. package/dist/chunks/chunk.YBWQADCH.js +0 -71
  1346. package/dist/chunks/chunk.YCRHX2XL.js +0 -332
  1347. package/dist/chunks/chunk.YGRXSNFC.js +0 -138
  1348. package/dist/chunks/chunk.YJEHKLDJ.js +0 -444
  1349. package/dist/chunks/chunk.YT4ZDRKX.js +0 -87
  1350. package/dist/chunks/chunk.YXCCM5NC.js +0 -125
  1351. package/dist/chunks/chunk.Z42XBNIN.js +0 -242
  1352. package/dist/chunks/chunk.ZG2D4OQ4.js +0 -21
  1353. package/dist/chunks/chunk.ZMMQOF24.js +0 -77
  1354. package/dist/components/filter-base/filter-base-stories.d.ts +0 -2
  1355. package/dist/components/filter-base/filter-base-stories.js +0 -84
  1356. package/dist/components/filter-base/filter-base.d.ts +0 -54
  1357. package/dist/components/filter-base/filter-base.js +0 -31
  1358. package/dist/components/filter-base/filter-base.styles.js +0 -8
  1359. package/dist/components/filter-date/filter-date.utils.d.ts +0 -2
  1360. package/dist/components/filter-date/filter-date.utils.js +0 -9
  1361. package/dist/components/icon/request.d.ts +0 -11
  1362. package/dist/components/icon/request.js +0 -8
  1363. /package/cdn/components/{filter-base/filter-base.styles.d.ts → accordion-group/accordion-group.styles.d.ts} +0 -0
  1364. /package/{dist/components/filter-base/filter-base.styles.d.ts → cdn/components/input-amount/input-amount.styles.d.ts} +0 -0
@@ -0,0 +1,2700 @@
1
+ import {
2
+ bootstrapLazy,
3
+ promiseResolve
4
+ } from "./chunk.VZPL3NCB.js";
5
+ import {
6
+ getDateFromISO,
7
+ getISOFormattedDate
8
+ } from "./chunk.OYVF3HNG.js";
9
+ import {
10
+ calendar_styles_default
11
+ } from "./chunk.Q3CKRTKI.js";
12
+ import {
13
+ LocalizeController
14
+ } from "./chunk.EM2CIX7W.js";
15
+ import {
16
+ o
17
+ } from "./chunk.YQLIIKLI.js";
18
+ import {
19
+ watch
20
+ } from "./chunk.4FQJ3QJK.js";
21
+ import {
22
+ ShoelaceElement,
23
+ e,
24
+ n,
25
+ t
26
+ } from "./chunk.JIQUSHGZ.js";
27
+ import {
28
+ x
29
+ } from "./chunk.7HUC6BF3.js";
30
+ import {
31
+ __decorateClass,
32
+ __glob
33
+ } from "./chunk.4ZGVANML.js";
34
+
35
+ // ../../node_modules/.pnpm/@stencil+core@2.22.3/node_modules/@stencil/core/internal/app-data/index.js
36
+ var BUILD = {
37
+ allRenderFn: false,
38
+ cmpDidLoad: true,
39
+ cmpDidUnload: false,
40
+ cmpDidUpdate: true,
41
+ cmpDidRender: true,
42
+ cmpWillLoad: true,
43
+ cmpWillUpdate: true,
44
+ cmpWillRender: true,
45
+ connectedCallback: true,
46
+ disconnectedCallback: true,
47
+ element: true,
48
+ event: true,
49
+ hasRenderFn: true,
50
+ lifecycle: true,
51
+ hostListener: true,
52
+ hostListenerTargetWindow: true,
53
+ hostListenerTargetDocument: true,
54
+ hostListenerTargetBody: true,
55
+ hostListenerTargetParent: false,
56
+ hostListenerTarget: true,
57
+ member: true,
58
+ method: true,
59
+ mode: true,
60
+ observeAttribute: true,
61
+ prop: true,
62
+ propMutable: true,
63
+ reflect: true,
64
+ scoped: true,
65
+ shadowDom: true,
66
+ slot: true,
67
+ cssAnnotations: true,
68
+ state: true,
69
+ style: true,
70
+ svg: true,
71
+ updatable: true,
72
+ vdomAttribute: true,
73
+ vdomXlink: true,
74
+ vdomClass: true,
75
+ vdomFunctional: true,
76
+ vdomKey: true,
77
+ vdomListener: true,
78
+ vdomRef: true,
79
+ vdomPropOrAttr: true,
80
+ vdomRender: true,
81
+ vdomStyle: true,
82
+ vdomText: true,
83
+ watchCallback: true,
84
+ taskQueue: true,
85
+ hotModuleReplacement: false,
86
+ isDebug: false,
87
+ isDev: false,
88
+ isTesting: false,
89
+ hydrateServerSide: false,
90
+ hydrateClientSide: false,
91
+ lifecycleDOMEvents: false,
92
+ lazyLoad: false,
93
+ profile: false,
94
+ slotRelocation: true,
95
+ appendChildSlotFix: false,
96
+ cloneNodeFix: false,
97
+ hydratedAttribute: false,
98
+ hydratedClass: true,
99
+ safari10: false,
100
+ scriptDataOpts: false,
101
+ scopedSlotTextContentFix: false,
102
+ shadowDomShim: false,
103
+ slotChildNodesFix: false,
104
+ invisiblePrehydration: true,
105
+ propBoolean: true,
106
+ propNumber: true,
107
+ propString: true,
108
+ cssVarShim: false,
109
+ constructableCSS: true,
110
+ cmpShouldUpdate: true,
111
+ devTools: false,
112
+ dynamicImportShim: false,
113
+ shadowDelegatesFocus: true,
114
+ initializeNextTick: false,
115
+ asyncLoading: false,
116
+ asyncQueue: false,
117
+ transformTagName: false,
118
+ attachStyles: true
119
+ };
120
+ var NAMESPACE = (
121
+ /* default */
122
+ "app"
123
+ );
124
+
125
+ // import("./**/*.entry.js*") in ../../node_modules/.pnpm/@stencil+core@2.22.3/node_modules/@stencil/core/internal/client/index.js
126
+ var globImport_entry_js = __glob({});
127
+
128
+ // ../../node_modules/.pnpm/@stencil+core@2.22.3/node_modules/@stencil/core/internal/client/index.js
129
+ var scopeId;
130
+ var contentRef;
131
+ var hostTagName;
132
+ var customError;
133
+ var i = 0;
134
+ var useNativeShadowDom = false;
135
+ var checkSlotFallbackVisibility = false;
136
+ var checkSlotRelocate = false;
137
+ var isSvgMode = false;
138
+ var renderingRef = null;
139
+ var queueCongestion = 0;
140
+ var queuePending = false;
141
+ var Build = {
142
+ isDev: BUILD.isDev ? true : false,
143
+ isBrowser: true,
144
+ isServer: false,
145
+ isTesting: BUILD.isTesting ? true : false
146
+ };
147
+ var createTime = (fnName, tagName = "") => {
148
+ if (BUILD.profile && performance.mark) {
149
+ const key = `st:${fnName}:${tagName}:${i++}`;
150
+ performance.mark(key);
151
+ return () => performance.measure(`[Stencil] ${fnName}() <${tagName}>`, key);
152
+ } else {
153
+ return () => {
154
+ return;
155
+ };
156
+ }
157
+ };
158
+ var uniqueTime = (key, measureText) => {
159
+ if (BUILD.profile && performance.mark) {
160
+ if (performance.getEntriesByName(key, "mark").length === 0) {
161
+ performance.mark(key);
162
+ }
163
+ return () => {
164
+ if (performance.getEntriesByName(measureText, "measure").length === 0) {
165
+ performance.measure(measureText, key);
166
+ }
167
+ };
168
+ } else {
169
+ return () => {
170
+ return;
171
+ };
172
+ }
173
+ };
174
+ var CONTENT_REF_ID = "r";
175
+ var ORG_LOCATION_ID = "o";
176
+ var SLOT_NODE_ID = "s";
177
+ var TEXT_NODE_ID = "t";
178
+ var HYDRATE_ID = "s-id";
179
+ var HYDRATED_STYLE_ID = "sty-id";
180
+ var HYDRATE_CHILD_ID = "c-id";
181
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
182
+ var EMPTY_OBJ = {};
183
+ var SVG_NS = "http://www.w3.org/2000/svg";
184
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
185
+ var isDef = (v) => v != null;
186
+ var isComplexType = (o2) => {
187
+ o2 = typeof o2;
188
+ return o2 === "object" || o2 === "function";
189
+ };
190
+ function queryNonceMetaTagContent(doc2) {
191
+ var _a, _b, _c;
192
+ return (_c = (_b = (_a = doc2.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute("content")) !== null && _c !== void 0 ? _c : void 0;
193
+ }
194
+ var h = (nodeName, vnodeData, ...children) => {
195
+ let child = null;
196
+ let key = null;
197
+ let slotName = null;
198
+ let simple = false;
199
+ let lastSimple = false;
200
+ const vNodeChildren = [];
201
+ const walk = (c) => {
202
+ for (let i2 = 0; i2 < c.length; i2++) {
203
+ child = c[i2];
204
+ if (Array.isArray(child)) {
205
+ walk(child);
206
+ } else if (child != null && typeof child !== "boolean") {
207
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
208
+ child = String(child);
209
+ } else if (BUILD.isDev && typeof nodeName !== "function" && child.$flags$ === void 0) {
210
+ consoleDevError(`vNode passed as children has unexpected type.
211
+ Make sure it's using the correct h() function.
212
+ Empty objects can also be the cause, look for JSX comments that became objects.`);
213
+ }
214
+ if (simple && lastSimple) {
215
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
216
+ } else {
217
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
218
+ }
219
+ lastSimple = simple;
220
+ }
221
+ }
222
+ };
223
+ walk(children);
224
+ if (vnodeData) {
225
+ if (BUILD.isDev && nodeName === "input") {
226
+ validateInputProperties(vnodeData);
227
+ }
228
+ if (BUILD.vdomKey && vnodeData.key) {
229
+ key = vnodeData.key;
230
+ }
231
+ if (BUILD.slotRelocation && vnodeData.name) {
232
+ slotName = vnodeData.name;
233
+ }
234
+ if (BUILD.vdomClass) {
235
+ const classData = vnodeData.className || vnodeData.class;
236
+ if (classData) {
237
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
238
+ }
239
+ }
240
+ }
241
+ if (BUILD.isDev && vNodeChildren.some(isHost)) {
242
+ consoleDevError(`The <Host> must be the single root component. Make sure:
243
+ - You are NOT using hostData() and <Host> in the same component.
244
+ - <Host> is used once, and it's the single root component of the render() function.`);
245
+ }
246
+ if (BUILD.vdomFunctional && typeof nodeName === "function") {
247
+ return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
248
+ }
249
+ const vnode = newVNode(nodeName, null);
250
+ vnode.$attrs$ = vnodeData;
251
+ if (vNodeChildren.length > 0) {
252
+ vnode.$children$ = vNodeChildren;
253
+ }
254
+ if (BUILD.vdomKey) {
255
+ vnode.$key$ = key;
256
+ }
257
+ if (BUILD.slotRelocation) {
258
+ vnode.$name$ = slotName;
259
+ }
260
+ return vnode;
261
+ };
262
+ var newVNode = (tag, text) => {
263
+ const vnode = {
264
+ $flags$: 0,
265
+ $tag$: tag,
266
+ $text$: text,
267
+ $elm$: null,
268
+ $children$: null
269
+ };
270
+ if (BUILD.vdomAttribute) {
271
+ vnode.$attrs$ = null;
272
+ }
273
+ if (BUILD.vdomKey) {
274
+ vnode.$key$ = null;
275
+ }
276
+ if (BUILD.slotRelocation) {
277
+ vnode.$name$ = null;
278
+ }
279
+ return vnode;
280
+ };
281
+ var Host = {};
282
+ var isHost = (node) => node && node.$tag$ === Host;
283
+ var vdomFnUtils = {
284
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
285
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
286
+ };
287
+ var convertToPublic = (node) => ({
288
+ vattrs: node.$attrs$,
289
+ vchildren: node.$children$,
290
+ vkey: node.$key$,
291
+ vname: node.$name$,
292
+ vtag: node.$tag$,
293
+ vtext: node.$text$
294
+ });
295
+ var convertToPrivate = (node) => {
296
+ if (typeof node.vtag === "function") {
297
+ const vnodeData = Object.assign({}, node.vattrs);
298
+ if (node.vkey) {
299
+ vnodeData.key = node.vkey;
300
+ }
301
+ if (node.vname) {
302
+ vnodeData.name = node.vname;
303
+ }
304
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
305
+ }
306
+ const vnode = newVNode(node.vtag, node.vtext);
307
+ vnode.$attrs$ = node.vattrs;
308
+ vnode.$children$ = node.vchildren;
309
+ vnode.$key$ = node.vkey;
310
+ vnode.$name$ = node.vname;
311
+ return vnode;
312
+ };
313
+ var validateInputProperties = (inputElm) => {
314
+ const props = Object.keys(inputElm);
315
+ const value = props.indexOf("value");
316
+ if (value === -1) {
317
+ return;
318
+ }
319
+ const typeIndex = props.indexOf("type");
320
+ const minIndex = props.indexOf("min");
321
+ const maxIndex = props.indexOf("max");
322
+ const stepIndex = props.indexOf("step");
323
+ if (value < typeIndex || value < minIndex || value < maxIndex || value < stepIndex) {
324
+ consoleDevWarn(`The "value" prop of <input> should be set after "min", "max", "type" and "step"`);
325
+ }
326
+ };
327
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
328
+ const endHydrate = createTime("hydrateClient", tagName);
329
+ const shadowRoot = hostElm.shadowRoot;
330
+ const childRenderNodes = [];
331
+ const slotNodes = [];
332
+ const shadowRootNodes = BUILD.shadowDom && shadowRoot ? [] : null;
333
+ const vnode = hostRef.$vnode$ = newVNode(tagName, null);
334
+ if (!plt.$orgLocNodes$) {
335
+ initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
336
+ }
337
+ hostElm[HYDRATE_ID] = hostId;
338
+ hostElm.removeAttribute(HYDRATE_ID);
339
+ clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
340
+ childRenderNodes.map((c) => {
341
+ const orgLocationId = c.$hostId$ + "." + c.$nodeId$;
342
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
343
+ const node = c.$elm$;
344
+ if (orgLocationNode && supportsShadow && orgLocationNode["s-en"] === "") {
345
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
346
+ }
347
+ if (!shadowRoot) {
348
+ node["s-hn"] = tagName;
349
+ if (orgLocationNode) {
350
+ node["s-ol"] = orgLocationNode;
351
+ node["s-ol"]["s-nr"] = node;
352
+ }
353
+ }
354
+ plt.$orgLocNodes$.delete(orgLocationId);
355
+ });
356
+ if (BUILD.shadowDom && shadowRoot) {
357
+ shadowRootNodes.map((shadowRootNode) => {
358
+ if (shadowRootNode) {
359
+ shadowRoot.appendChild(shadowRootNode);
360
+ }
361
+ });
362
+ }
363
+ endHydrate();
364
+ };
365
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
366
+ let childNodeType;
367
+ let childIdSplt;
368
+ let childVNode;
369
+ let i2;
370
+ if (node.nodeType === 1) {
371
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
372
+ if (childNodeType) {
373
+ childIdSplt = childNodeType.split(".");
374
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
375
+ childVNode = {
376
+ $flags$: 0,
377
+ $hostId$: childIdSplt[0],
378
+ $nodeId$: childIdSplt[1],
379
+ $depth$: childIdSplt[2],
380
+ $index$: childIdSplt[3],
381
+ $tag$: node.tagName.toLowerCase(),
382
+ $elm$: node,
383
+ $attrs$: null,
384
+ $children$: null,
385
+ $key$: null,
386
+ $name$: null,
387
+ $text$: null
388
+ };
389
+ childRenderNodes.push(childVNode);
390
+ node.removeAttribute(HYDRATE_CHILD_ID);
391
+ if (!parentVNode.$children$) {
392
+ parentVNode.$children$ = [];
393
+ }
394
+ parentVNode.$children$[childVNode.$index$] = childVNode;
395
+ parentVNode = childVNode;
396
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
397
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
398
+ }
399
+ }
400
+ }
401
+ for (i2 = node.childNodes.length - 1; i2 >= 0; i2--) {
402
+ clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i2], hostId);
403
+ }
404
+ if (node.shadowRoot) {
405
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
406
+ clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i2], hostId);
407
+ }
408
+ }
409
+ } else if (node.nodeType === 8) {
410
+ childIdSplt = node.nodeValue.split(".");
411
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
412
+ childNodeType = childIdSplt[0];
413
+ childVNode = {
414
+ $flags$: 0,
415
+ $hostId$: childIdSplt[1],
416
+ $nodeId$: childIdSplt[2],
417
+ $depth$: childIdSplt[3],
418
+ $index$: childIdSplt[4],
419
+ $elm$: node,
420
+ $attrs$: null,
421
+ $children$: null,
422
+ $key$: null,
423
+ $name$: null,
424
+ $tag$: null,
425
+ $text$: null
426
+ };
427
+ if (childNodeType === TEXT_NODE_ID) {
428
+ childVNode.$elm$ = node.nextSibling;
429
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3) {
430
+ childVNode.$text$ = childVNode.$elm$.textContent;
431
+ childRenderNodes.push(childVNode);
432
+ node.remove();
433
+ if (!parentVNode.$children$) {
434
+ parentVNode.$children$ = [];
435
+ }
436
+ parentVNode.$children$[childVNode.$index$] = childVNode;
437
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
438
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
439
+ }
440
+ }
441
+ } else if (childVNode.$hostId$ === hostId) {
442
+ if (childNodeType === SLOT_NODE_ID) {
443
+ childVNode.$tag$ = "slot";
444
+ if (childIdSplt[5]) {
445
+ node["s-sn"] = childVNode.$name$ = childIdSplt[5];
446
+ } else {
447
+ node["s-sn"] = "";
448
+ }
449
+ node["s-sr"] = true;
450
+ if (BUILD.shadowDom && shadowRootNodes) {
451
+ childVNode.$elm$ = doc.createElement(childVNode.$tag$);
452
+ if (childVNode.$name$) {
453
+ childVNode.$elm$.setAttribute("name", childVNode.$name$);
454
+ }
455
+ node.parentNode.insertBefore(childVNode.$elm$, node);
456
+ node.remove();
457
+ if (childVNode.$depth$ === "0") {
458
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
459
+ }
460
+ }
461
+ slotNodes.push(childVNode);
462
+ if (!parentVNode.$children$) {
463
+ parentVNode.$children$ = [];
464
+ }
465
+ parentVNode.$children$[childVNode.$index$] = childVNode;
466
+ } else if (childNodeType === CONTENT_REF_ID) {
467
+ if (BUILD.shadowDom && shadowRootNodes) {
468
+ node.remove();
469
+ } else if (BUILD.slotRelocation) {
470
+ hostElm["s-cr"] = node;
471
+ node["s-cn"] = true;
472
+ }
473
+ }
474
+ }
475
+ }
476
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
477
+ const vnode = newVNode(null, node.textContent);
478
+ vnode.$elm$ = node;
479
+ vnode.$index$ = "0";
480
+ parentVNode.$children$ = [vnode];
481
+ }
482
+ };
483
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
484
+ if (node.nodeType === 1) {
485
+ let i2 = 0;
486
+ for (; i2 < node.childNodes.length; i2++) {
487
+ initializeDocumentHydrate(node.childNodes[i2], orgLocNodes);
488
+ }
489
+ if (node.shadowRoot) {
490
+ for (i2 = 0; i2 < node.shadowRoot.childNodes.length; i2++) {
491
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
492
+ }
493
+ }
494
+ } else if (node.nodeType === 8) {
495
+ const childIdSplt = node.nodeValue.split(".");
496
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
497
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
498
+ node.nodeValue = "";
499
+ node["s-en"] = childIdSplt[3];
500
+ }
501
+ }
502
+ };
503
+ var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
504
+ var parsePropertyValue = (propValue, propType) => {
505
+ if (propValue != null && !isComplexType(propValue)) {
506
+ if (BUILD.propBoolean && propType & 4) {
507
+ return propValue === "false" ? false : propValue === "" || !!propValue;
508
+ }
509
+ if (BUILD.propNumber && propType & 2) {
510
+ return parseFloat(propValue);
511
+ }
512
+ if (BUILD.propString && propType & 1) {
513
+ return String(propValue);
514
+ }
515
+ return propValue;
516
+ }
517
+ return propValue;
518
+ };
519
+ var getElement = (ref) => BUILD.lazyLoad ? getHostRef(ref).$hostElement$ : ref;
520
+ var createEvent = (ref, name, flags) => {
521
+ const elm = getElement(ref);
522
+ return {
523
+ emit: (detail) => {
524
+ if (BUILD.isDev && !elm.isConnected) {
525
+ consoleDevWarn(`The "${name}" event was emitted, but the dispatcher node is no longer connected to the dom.`);
526
+ }
527
+ return emitEvent(elm, name, {
528
+ bubbles: !!(flags & 4),
529
+ composed: !!(flags & 2),
530
+ cancelable: !!(flags & 1),
531
+ detail
532
+ });
533
+ }
534
+ };
535
+ };
536
+ var emitEvent = (elm, name, opts) => {
537
+ const ev = plt.ce(name, opts);
538
+ elm.dispatchEvent(ev);
539
+ return ev;
540
+ };
541
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
542
+ var registerStyle = (scopeId2, cssText, allowCS) => {
543
+ let style = styles.get(scopeId2);
544
+ if (supportsConstructableStylesheets && allowCS) {
545
+ style = style || new CSSStyleSheet();
546
+ if (typeof style === "string") {
547
+ style = cssText;
548
+ } else {
549
+ style.replaceSync(cssText);
550
+ }
551
+ } else {
552
+ style = cssText;
553
+ }
554
+ styles.set(scopeId2, style);
555
+ };
556
+ var addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
557
+ var _a;
558
+ let scopeId2 = getScopeId(cmpMeta, mode);
559
+ const style = styles.get(scopeId2);
560
+ if (!BUILD.attachStyles) {
561
+ return scopeId2;
562
+ }
563
+ styleContainerNode = styleContainerNode.nodeType === 11 ? styleContainerNode : doc;
564
+ if (style) {
565
+ if (typeof style === "string") {
566
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
567
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
568
+ let styleElm;
569
+ if (!appliedStyles) {
570
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
571
+ }
572
+ if (!appliedStyles.has(scopeId2)) {
573
+ if (BUILD.hydrateClientSide && styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
574
+ styleElm.innerHTML = style;
575
+ } else {
576
+ if (BUILD.cssVarShim && plt.$cssShim$) {
577
+ styleElm = plt.$cssShim$.createHostStyle(hostElm, scopeId2, style, !!(cmpMeta.$flags$ & 10));
578
+ const newScopeId = styleElm["s-sc"];
579
+ if (newScopeId) {
580
+ scopeId2 = newScopeId;
581
+ appliedStyles = null;
582
+ }
583
+ } else {
584
+ styleElm = doc.createElement("style");
585
+ styleElm.innerHTML = style;
586
+ }
587
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
588
+ if (nonce != null) {
589
+ styleElm.setAttribute("nonce", nonce);
590
+ }
591
+ if (BUILD.hydrateServerSide || BUILD.hotModuleReplacement) {
592
+ styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
593
+ }
594
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
595
+ }
596
+ if (appliedStyles) {
597
+ appliedStyles.add(scopeId2);
598
+ }
599
+ }
600
+ } else if (BUILD.constructableCSS && !styleContainerNode.adoptedStyleSheets.includes(style)) {
601
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
602
+ }
603
+ }
604
+ return scopeId2;
605
+ };
606
+ var attachStyles = (hostRef) => {
607
+ const cmpMeta = hostRef.$cmpMeta$;
608
+ const elm = hostRef.$hostElement$;
609
+ const flags = cmpMeta.$flags$;
610
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
611
+ const scopeId2 = addStyle(BUILD.shadowDom && supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta, hostRef.$modeName$, elm);
612
+ if ((BUILD.shadowDom || BUILD.scoped) && BUILD.cssAnnotations && flags & 10) {
613
+ elm["s-sc"] = scopeId2;
614
+ elm.classList.add(scopeId2 + "-h");
615
+ if (BUILD.scoped && flags & 2) {
616
+ elm.classList.add(scopeId2 + "-s");
617
+ }
618
+ }
619
+ endAttachStyles();
620
+ };
621
+ var getScopeId = (cmp, mode) => "sc-" + (BUILD.mode && mode && cmp.$flags$ & 32 ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
622
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
623
+ if (oldValue !== newValue) {
624
+ let isProp = isMemberInElement(elm, memberName);
625
+ let ln = memberName.toLowerCase();
626
+ if (BUILD.vdomClass && memberName === "class") {
627
+ const classList = elm.classList;
628
+ const oldClasses = parseClassList(oldValue);
629
+ const newClasses = parseClassList(newValue);
630
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
631
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
632
+ } else if (BUILD.vdomStyle && memberName === "style") {
633
+ if (BUILD.updatable) {
634
+ for (const prop in oldValue) {
635
+ if (!newValue || newValue[prop] == null) {
636
+ if (!BUILD.hydrateServerSide && prop.includes("-")) {
637
+ elm.style.removeProperty(prop);
638
+ } else {
639
+ elm.style[prop] = "";
640
+ }
641
+ }
642
+ }
643
+ }
644
+ for (const prop in newValue) {
645
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
646
+ if (!BUILD.hydrateServerSide && prop.includes("-")) {
647
+ elm.style.setProperty(prop, newValue[prop]);
648
+ } else {
649
+ elm.style[prop] = newValue[prop];
650
+ }
651
+ }
652
+ }
653
+ } else if (BUILD.vdomKey && memberName === "key")
654
+ ;
655
+ else if (BUILD.vdomRef && memberName === "ref") {
656
+ if (newValue) {
657
+ newValue(elm);
658
+ }
659
+ } else if (BUILD.vdomListener && (BUILD.lazyLoad ? !isProp : !elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
660
+ if (memberName[2] === "-") {
661
+ memberName = memberName.slice(3);
662
+ } else if (isMemberInElement(win, ln)) {
663
+ memberName = ln.slice(2);
664
+ } else {
665
+ memberName = ln[2] + memberName.slice(3);
666
+ }
667
+ if (oldValue) {
668
+ plt.rel(elm, memberName, oldValue, false);
669
+ }
670
+ if (newValue) {
671
+ plt.ael(elm, memberName, newValue, false);
672
+ }
673
+ } else if (BUILD.vdomPropOrAttr) {
674
+ const isComplex = isComplexType(newValue);
675
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
676
+ try {
677
+ if (!elm.tagName.includes("-")) {
678
+ const n2 = newValue == null ? "" : newValue;
679
+ if (memberName === "list") {
680
+ isProp = false;
681
+ } else if (oldValue == null || elm[memberName] != n2) {
682
+ elm[memberName] = n2;
683
+ }
684
+ } else {
685
+ elm[memberName] = newValue;
686
+ }
687
+ } catch (e2) {
688
+ }
689
+ }
690
+ let xlink = false;
691
+ if (BUILD.vdomXlink) {
692
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
693
+ memberName = ln;
694
+ xlink = true;
695
+ }
696
+ }
697
+ if (newValue == null || newValue === false) {
698
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
699
+ if (BUILD.vdomXlink && xlink) {
700
+ elm.removeAttributeNS(XLINK_NS, memberName);
701
+ } else {
702
+ elm.removeAttribute(memberName);
703
+ }
704
+ }
705
+ } else if ((!isProp || flags & 4 || isSvg) && !isComplex) {
706
+ newValue = newValue === true ? "" : newValue;
707
+ if (BUILD.vdomXlink && xlink) {
708
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
709
+ } else {
710
+ elm.setAttribute(memberName, newValue);
711
+ }
712
+ }
713
+ }
714
+ }
715
+ };
716
+ var parseClassListRegex = /\s/;
717
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
718
+ var updateElement = (oldVnode, newVnode, isSvgMode2, memberName) => {
719
+ const elm = newVnode.$elm$.nodeType === 11 && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
720
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
721
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
722
+ if (BUILD.updatable) {
723
+ for (memberName in oldVnodeAttrs) {
724
+ if (!(memberName in newVnodeAttrs)) {
725
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
726
+ }
727
+ }
728
+ }
729
+ for (memberName in newVnodeAttrs) {
730
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
731
+ }
732
+ };
733
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
734
+ const newVNode2 = newParentVNode.$children$[childIndex];
735
+ let i2 = 0;
736
+ let elm;
737
+ let childNode;
738
+ let oldVNode;
739
+ if (BUILD.slotRelocation && !useNativeShadowDom) {
740
+ checkSlotRelocate = true;
741
+ if (newVNode2.$tag$ === "slot") {
742
+ if (scopeId) {
743
+ parentElm.classList.add(scopeId + "-s");
744
+ }
745
+ newVNode2.$flags$ |= newVNode2.$children$ ? (
746
+ // slot element has fallback content
747
+ 2
748
+ ) : (
749
+ // slot element does not have fallback content
750
+ 1
751
+ );
752
+ }
753
+ }
754
+ if (BUILD.isDev && newVNode2.$elm$) {
755
+ consoleDevError(`The JSX ${newVNode2.$text$ !== null ? `"${newVNode2.$text$}" text` : `"${newVNode2.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`);
756
+ }
757
+ if (BUILD.vdomText && newVNode2.$text$ !== null) {
758
+ elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
759
+ } else if (BUILD.slotRelocation && newVNode2.$flags$ & 1) {
760
+ elm = newVNode2.$elm$ = BUILD.isDebug || BUILD.hydrateServerSide ? slotReferenceDebugNode(newVNode2) : doc.createTextNode("");
761
+ } else {
762
+ if (BUILD.svg && !isSvgMode) {
763
+ isSvgMode = newVNode2.$tag$ === "svg";
764
+ }
765
+ elm = newVNode2.$elm$ = BUILD.svg ? doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, BUILD.slotRelocation && newVNode2.$flags$ & 2 ? "slot-fb" : newVNode2.$tag$) : doc.createElement(BUILD.slotRelocation && newVNode2.$flags$ & 2 ? "slot-fb" : newVNode2.$tag$);
766
+ if (BUILD.svg && isSvgMode && newVNode2.$tag$ === "foreignObject") {
767
+ isSvgMode = false;
768
+ }
769
+ if (BUILD.vdomAttribute) {
770
+ updateElement(null, newVNode2, isSvgMode);
771
+ }
772
+ if ((BUILD.shadowDom || BUILD.scoped) && isDef(scopeId) && elm["s-si"] !== scopeId) {
773
+ elm.classList.add(elm["s-si"] = scopeId);
774
+ }
775
+ if (newVNode2.$children$) {
776
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
777
+ childNode = createElm(oldParentVNode, newVNode2, i2, elm);
778
+ if (childNode) {
779
+ elm.appendChild(childNode);
780
+ }
781
+ }
782
+ }
783
+ if (BUILD.svg) {
784
+ if (newVNode2.$tag$ === "svg") {
785
+ isSvgMode = false;
786
+ } else if (elm.tagName === "foreignObject") {
787
+ isSvgMode = true;
788
+ }
789
+ }
790
+ }
791
+ if (BUILD.slotRelocation) {
792
+ elm["s-hn"] = hostTagName;
793
+ if (newVNode2.$flags$ & (2 | 1)) {
794
+ elm["s-sr"] = true;
795
+ elm["s-cr"] = contentRef;
796
+ elm["s-sn"] = newVNode2.$name$ || "";
797
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
798
+ if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
799
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
800
+ }
801
+ }
802
+ }
803
+ return elm;
804
+ };
805
+ var putBackInOriginalLocation = (parentElm, recursive) => {
806
+ plt.$flags$ |= 1;
807
+ const oldSlotChildNodes = parentElm.childNodes;
808
+ for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
809
+ const childNode = oldSlotChildNodes[i2];
810
+ if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
811
+ parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
812
+ childNode["s-ol"].remove();
813
+ childNode["s-ol"] = void 0;
814
+ checkSlotRelocate = true;
815
+ }
816
+ if (recursive) {
817
+ putBackInOriginalLocation(childNode, recursive);
818
+ }
819
+ }
820
+ plt.$flags$ &= ~1;
821
+ };
822
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
823
+ let containerElm = BUILD.slotRelocation && parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
824
+ let childNode;
825
+ if (BUILD.shadowDom && containerElm.shadowRoot && containerElm.tagName === hostTagName) {
826
+ containerElm = containerElm.shadowRoot;
827
+ }
828
+ for (; startIdx <= endIdx; ++startIdx) {
829
+ if (vnodes[startIdx]) {
830
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
831
+ if (childNode) {
832
+ vnodes[startIdx].$elm$ = childNode;
833
+ containerElm.insertBefore(childNode, BUILD.slotRelocation ? referenceNode(before) : before);
834
+ }
835
+ }
836
+ }
837
+ };
838
+ var removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
839
+ for (; startIdx <= endIdx; ++startIdx) {
840
+ if (vnode = vnodes[startIdx]) {
841
+ elm = vnode.$elm$;
842
+ callNodeRefs(vnode);
843
+ if (BUILD.slotRelocation) {
844
+ checkSlotFallbackVisibility = true;
845
+ if (elm["s-ol"]) {
846
+ elm["s-ol"].remove();
847
+ } else {
848
+ putBackInOriginalLocation(elm, true);
849
+ }
850
+ }
851
+ elm.remove();
852
+ }
853
+ }
854
+ };
855
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh) => {
856
+ let oldStartIdx = 0;
857
+ let newStartIdx = 0;
858
+ let idxInOld = 0;
859
+ let i2 = 0;
860
+ let oldEndIdx = oldCh.length - 1;
861
+ let oldStartVnode = oldCh[0];
862
+ let oldEndVnode = oldCh[oldEndIdx];
863
+ let newEndIdx = newCh.length - 1;
864
+ let newStartVnode = newCh[0];
865
+ let newEndVnode = newCh[newEndIdx];
866
+ let node;
867
+ let elmToMove;
868
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
869
+ if (oldStartVnode == null) {
870
+ oldStartVnode = oldCh[++oldStartIdx];
871
+ } else if (oldEndVnode == null) {
872
+ oldEndVnode = oldCh[--oldEndIdx];
873
+ } else if (newStartVnode == null) {
874
+ newStartVnode = newCh[++newStartIdx];
875
+ } else if (newEndVnode == null) {
876
+ newEndVnode = newCh[--newEndIdx];
877
+ } else if (isSameVnode(oldStartVnode, newStartVnode)) {
878
+ patch(oldStartVnode, newStartVnode);
879
+ oldStartVnode = oldCh[++oldStartIdx];
880
+ newStartVnode = newCh[++newStartIdx];
881
+ } else if (isSameVnode(oldEndVnode, newEndVnode)) {
882
+ patch(oldEndVnode, newEndVnode);
883
+ oldEndVnode = oldCh[--oldEndIdx];
884
+ newEndVnode = newCh[--newEndIdx];
885
+ } else if (isSameVnode(oldStartVnode, newEndVnode)) {
886
+ if (BUILD.slotRelocation && (oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
887
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
888
+ }
889
+ patch(oldStartVnode, newEndVnode);
890
+ parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
891
+ oldStartVnode = oldCh[++oldStartIdx];
892
+ newEndVnode = newCh[--newEndIdx];
893
+ } else if (isSameVnode(oldEndVnode, newStartVnode)) {
894
+ if (BUILD.slotRelocation && (oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
895
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
896
+ }
897
+ patch(oldEndVnode, newStartVnode);
898
+ parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
899
+ oldEndVnode = oldCh[--oldEndIdx];
900
+ newStartVnode = newCh[++newStartIdx];
901
+ } else {
902
+ idxInOld = -1;
903
+ if (BUILD.vdomKey) {
904
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
905
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
906
+ idxInOld = i2;
907
+ break;
908
+ }
909
+ }
910
+ }
911
+ if (BUILD.vdomKey && idxInOld >= 0) {
912
+ elmToMove = oldCh[idxInOld];
913
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
914
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
915
+ } else {
916
+ patch(elmToMove, newStartVnode);
917
+ oldCh[idxInOld] = void 0;
918
+ node = elmToMove.$elm$;
919
+ }
920
+ newStartVnode = newCh[++newStartIdx];
921
+ } else {
922
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
923
+ newStartVnode = newCh[++newStartIdx];
924
+ }
925
+ if (node) {
926
+ if (BUILD.slotRelocation) {
927
+ parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
928
+ } else {
929
+ oldStartVnode.$elm$.parentNode.insertBefore(node, oldStartVnode.$elm$);
930
+ }
931
+ }
932
+ }
933
+ }
934
+ if (oldStartIdx > oldEndIdx) {
935
+ addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode2, newCh, newStartIdx, newEndIdx);
936
+ } else if (BUILD.updatable && newStartIdx > newEndIdx) {
937
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
938
+ }
939
+ };
940
+ var isSameVnode = (leftVNode, rightVNode) => {
941
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
942
+ if (BUILD.slotRelocation && leftVNode.$tag$ === "slot") {
943
+ return leftVNode.$name$ === rightVNode.$name$;
944
+ }
945
+ if (BUILD.vdomKey) {
946
+ return leftVNode.$key$ === rightVNode.$key$;
947
+ }
948
+ return true;
949
+ }
950
+ return false;
951
+ };
952
+ var referenceNode = (node) => {
953
+ return node && node["s-ol"] || node;
954
+ };
955
+ var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
956
+ var patch = (oldVNode, newVNode2) => {
957
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
958
+ const oldChildren = oldVNode.$children$;
959
+ const newChildren = newVNode2.$children$;
960
+ const tag = newVNode2.$tag$;
961
+ const text = newVNode2.$text$;
962
+ let defaultHolder;
963
+ if (!BUILD.vdomText || text === null) {
964
+ if (BUILD.svg) {
965
+ isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
966
+ }
967
+ if (BUILD.vdomAttribute || BUILD.reflect) {
968
+ if (BUILD.slot && tag === "slot")
969
+ ;
970
+ else {
971
+ updateElement(oldVNode, newVNode2, isSvgMode);
972
+ }
973
+ }
974
+ if (BUILD.updatable && oldChildren !== null && newChildren !== null) {
975
+ updateChildren(elm, oldChildren, newVNode2, newChildren);
976
+ } else if (newChildren !== null) {
977
+ if (BUILD.updatable && BUILD.vdomText && oldVNode.$text$ !== null) {
978
+ elm.textContent = "";
979
+ }
980
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
981
+ } else if (BUILD.updatable && oldChildren !== null) {
982
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
983
+ }
984
+ if (BUILD.svg && isSvgMode && tag === "svg") {
985
+ isSvgMode = false;
986
+ }
987
+ } else if (BUILD.vdomText && BUILD.slotRelocation && (defaultHolder = elm["s-cr"])) {
988
+ defaultHolder.parentNode.textContent = text;
989
+ } else if (BUILD.vdomText && oldVNode.$text$ !== text) {
990
+ elm.data = text;
991
+ }
992
+ };
993
+ var updateFallbackSlotVisibility = (elm) => {
994
+ const childNodes = elm.childNodes;
995
+ let childNode;
996
+ let i2;
997
+ let ilen;
998
+ let j;
999
+ let slotNameAttr;
1000
+ let nodeType;
1001
+ for (i2 = 0, ilen = childNodes.length; i2 < ilen; i2++) {
1002
+ childNode = childNodes[i2];
1003
+ if (childNode.nodeType === 1) {
1004
+ if (childNode["s-sr"]) {
1005
+ slotNameAttr = childNode["s-sn"];
1006
+ childNode.hidden = false;
1007
+ for (j = 0; j < ilen; j++) {
1008
+ nodeType = childNodes[j].nodeType;
1009
+ if (childNodes[j]["s-hn"] !== childNode["s-hn"] || slotNameAttr !== "") {
1010
+ if (nodeType === 1 && slotNameAttr === childNodes[j].getAttribute("slot")) {
1011
+ childNode.hidden = true;
1012
+ break;
1013
+ }
1014
+ } else {
1015
+ if (nodeType === 1 || nodeType === 3 && childNodes[j].textContent.trim() !== "") {
1016
+ childNode.hidden = true;
1017
+ break;
1018
+ }
1019
+ }
1020
+ }
1021
+ }
1022
+ updateFallbackSlotVisibility(childNode);
1023
+ }
1024
+ }
1025
+ };
1026
+ var relocateNodes = [];
1027
+ var relocateSlotContent = (elm) => {
1028
+ let childNode;
1029
+ let node;
1030
+ let hostContentNodes;
1031
+ let slotNameAttr;
1032
+ let relocateNodeData;
1033
+ let j;
1034
+ let i2 = 0;
1035
+ const childNodes = elm.childNodes;
1036
+ const ilen = childNodes.length;
1037
+ for (; i2 < ilen; i2++) {
1038
+ childNode = childNodes[i2];
1039
+ if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
1040
+ hostContentNodes = node.parentNode.childNodes;
1041
+ slotNameAttr = childNode["s-sn"];
1042
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1043
+ node = hostContentNodes[j];
1044
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"]) {
1045
+ if (isNodeLocatedInSlot(node, slotNameAttr)) {
1046
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1047
+ checkSlotFallbackVisibility = true;
1048
+ node["s-sn"] = node["s-sn"] || slotNameAttr;
1049
+ if (relocateNodeData) {
1050
+ relocateNodeData.$slotRefNode$ = childNode;
1051
+ } else {
1052
+ relocateNodes.push({
1053
+ $slotRefNode$: childNode,
1054
+ $nodeToRelocate$: node
1055
+ });
1056
+ }
1057
+ if (node["s-sr"]) {
1058
+ relocateNodes.map((relocateNode) => {
1059
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
1060
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1061
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1062
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1063
+ }
1064
+ }
1065
+ });
1066
+ }
1067
+ } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1068
+ relocateNodes.push({
1069
+ $nodeToRelocate$: node
1070
+ });
1071
+ }
1072
+ }
1073
+ }
1074
+ }
1075
+ if (childNode.nodeType === 1) {
1076
+ relocateSlotContent(childNode);
1077
+ }
1078
+ }
1079
+ };
1080
+ var isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
1081
+ if (nodeToRelocate.nodeType === 1) {
1082
+ if (nodeToRelocate.getAttribute("slot") === null && slotNameAttr === "") {
1083
+ return true;
1084
+ }
1085
+ if (nodeToRelocate.getAttribute("slot") === slotNameAttr) {
1086
+ return true;
1087
+ }
1088
+ return false;
1089
+ }
1090
+ if (nodeToRelocate["s-sn"] === slotNameAttr) {
1091
+ return true;
1092
+ }
1093
+ return slotNameAttr === "";
1094
+ };
1095
+ var callNodeRefs = (vNode) => {
1096
+ if (BUILD.vdomRef) {
1097
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1098
+ vNode.$children$ && vNode.$children$.map(callNodeRefs);
1099
+ }
1100
+ };
1101
+ var renderVdom = (hostRef, renderFnResults) => {
1102
+ const hostElm = hostRef.$hostElement$;
1103
+ const cmpMeta = hostRef.$cmpMeta$;
1104
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1105
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1106
+ hostTagName = hostElm.tagName;
1107
+ if (BUILD.isDev && Array.isArray(renderFnResults) && renderFnResults.some(isHost)) {
1108
+ throw new Error(`The <Host> must be the single root component.
1109
+ Looks like the render() function of "${hostTagName.toLowerCase()}" is returning an array that contains the <Host>.
1110
+
1111
+ The render() function should look like this instead:
1112
+
1113
+ render() {
1114
+ // Do not return an array
1115
+ return (
1116
+ <Host>{content}</Host>
1117
+ );
1118
+ }
1119
+ `);
1120
+ }
1121
+ if (BUILD.reflect && cmpMeta.$attrsToReflect$) {
1122
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1123
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]);
1124
+ }
1125
+ rootVnode.$tag$ = null;
1126
+ rootVnode.$flags$ |= 4;
1127
+ hostRef.$vnode$ = rootVnode;
1128
+ rootVnode.$elm$ = oldVNode.$elm$ = BUILD.shadowDom ? hostElm.shadowRoot || hostElm : hostElm;
1129
+ if (BUILD.scoped || BUILD.shadowDom) {
1130
+ scopeId = hostElm["s-sc"];
1131
+ }
1132
+ if (BUILD.slotRelocation) {
1133
+ contentRef = hostElm["s-cr"];
1134
+ useNativeShadowDom = supportsShadow && (cmpMeta.$flags$ & 1) !== 0;
1135
+ checkSlotFallbackVisibility = false;
1136
+ }
1137
+ patch(oldVNode, rootVnode);
1138
+ if (BUILD.slotRelocation) {
1139
+ plt.$flags$ |= 1;
1140
+ if (checkSlotRelocate) {
1141
+ relocateSlotContent(rootVnode.$elm$);
1142
+ let relocateData;
1143
+ let nodeToRelocate;
1144
+ let orgLocationNode;
1145
+ let parentNodeRef;
1146
+ let insertBeforeNode;
1147
+ let refNode;
1148
+ let i2 = 0;
1149
+ for (; i2 < relocateNodes.length; i2++) {
1150
+ relocateData = relocateNodes[i2];
1151
+ nodeToRelocate = relocateData.$nodeToRelocate$;
1152
+ if (!nodeToRelocate["s-ol"]) {
1153
+ orgLocationNode = BUILD.isDebug || BUILD.hydrateServerSide ? originalLocationDebugNode(nodeToRelocate) : doc.createTextNode("");
1154
+ orgLocationNode["s-nr"] = nodeToRelocate;
1155
+ nodeToRelocate.parentNode.insertBefore(nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
1156
+ }
1157
+ }
1158
+ for (i2 = 0; i2 < relocateNodes.length; i2++) {
1159
+ relocateData = relocateNodes[i2];
1160
+ nodeToRelocate = relocateData.$nodeToRelocate$;
1161
+ if (relocateData.$slotRefNode$) {
1162
+ parentNodeRef = relocateData.$slotRefNode$.parentNode;
1163
+ insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
1164
+ orgLocationNode = nodeToRelocate["s-ol"];
1165
+ while (orgLocationNode = orgLocationNode.previousSibling) {
1166
+ refNode = orgLocationNode["s-nr"];
1167
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
1168
+ refNode = refNode.nextSibling;
1169
+ if (!refNode || !refNode["s-nr"]) {
1170
+ insertBeforeNode = refNode;
1171
+ break;
1172
+ }
1173
+ }
1174
+ }
1175
+ if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
1176
+ if (nodeToRelocate !== insertBeforeNode) {
1177
+ if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1178
+ nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1179
+ }
1180
+ parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
1181
+ }
1182
+ }
1183
+ } else {
1184
+ if (nodeToRelocate.nodeType === 1) {
1185
+ nodeToRelocate.hidden = true;
1186
+ }
1187
+ }
1188
+ }
1189
+ }
1190
+ if (checkSlotFallbackVisibility) {
1191
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1192
+ }
1193
+ plt.$flags$ &= ~1;
1194
+ relocateNodes.length = 0;
1195
+ }
1196
+ };
1197
+ var slotReferenceDebugNode = (slotVNode) => doc.createComment(`<slot${slotVNode.$name$ ? ' name="' + slotVNode.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`);
1198
+ var originalLocationDebugNode = (nodeToRelocate) => doc.createComment(`org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`));
1199
+ var attachToAncestor = (hostRef, ancestorComponent) => {
1200
+ if (BUILD.asyncLoading && ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1201
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
1202
+ }
1203
+ };
1204
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
1205
+ if (BUILD.taskQueue && BUILD.updatable) {
1206
+ hostRef.$flags$ |= 16;
1207
+ }
1208
+ if (BUILD.asyncLoading && hostRef.$flags$ & 4) {
1209
+ hostRef.$flags$ |= 512;
1210
+ return;
1211
+ }
1212
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1213
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1214
+ return BUILD.taskQueue ? writeTask(dispatch) : dispatch();
1215
+ };
1216
+ var dispatchHooks = (hostRef, isInitialLoad) => {
1217
+ const elm = hostRef.$hostElement$;
1218
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1219
+ const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
1220
+ let promise;
1221
+ if (isInitialLoad) {
1222
+ if (BUILD.lazyLoad && BUILD.hostListener) {
1223
+ hostRef.$flags$ |= 256;
1224
+ if (hostRef.$queuedListeners$) {
1225
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1226
+ hostRef.$queuedListeners$ = null;
1227
+ }
1228
+ }
1229
+ emitLifecycleEvent(elm, "componentWillLoad");
1230
+ if (BUILD.cmpWillLoad) {
1231
+ promise = safeCall(instance, "componentWillLoad");
1232
+ }
1233
+ } else {
1234
+ emitLifecycleEvent(elm, "componentWillUpdate");
1235
+ if (BUILD.cmpWillUpdate) {
1236
+ promise = safeCall(instance, "componentWillUpdate");
1237
+ }
1238
+ }
1239
+ emitLifecycleEvent(elm, "componentWillRender");
1240
+ if (BUILD.cmpWillRender) {
1241
+ promise = then(promise, () => safeCall(instance, "componentWillRender"));
1242
+ }
1243
+ endSchedule();
1244
+ return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
1245
+ };
1246
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
1247
+ const elm = hostRef.$hostElement$;
1248
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
1249
+ const rc = elm["s-rc"];
1250
+ if (BUILD.style && isInitialLoad) {
1251
+ attachStyles(hostRef);
1252
+ }
1253
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
1254
+ if (BUILD.isDev) {
1255
+ hostRef.$flags$ |= 1024;
1256
+ }
1257
+ if (BUILD.hydrateServerSide) {
1258
+ await callRender(hostRef, instance, elm);
1259
+ } else {
1260
+ callRender(hostRef, instance, elm);
1261
+ }
1262
+ if (BUILD.cssVarShim && plt.$cssShim$) {
1263
+ plt.$cssShim$.updateHost(elm);
1264
+ }
1265
+ if (BUILD.isDev) {
1266
+ hostRef.$renderCount$++;
1267
+ hostRef.$flags$ &= ~1024;
1268
+ }
1269
+ if (BUILD.hydrateServerSide) {
1270
+ try {
1271
+ serverSideConnected(elm);
1272
+ if (isInitialLoad) {
1273
+ if (hostRef.$cmpMeta$.$flags$ & 1) {
1274
+ elm["s-en"] = "";
1275
+ } else if (hostRef.$cmpMeta$.$flags$ & 2) {
1276
+ elm["s-en"] = "c";
1277
+ }
1278
+ }
1279
+ } catch (e2) {
1280
+ consoleError(e2, elm);
1281
+ }
1282
+ }
1283
+ if (BUILD.asyncLoading && rc) {
1284
+ rc.map((cb) => cb());
1285
+ elm["s-rc"] = void 0;
1286
+ }
1287
+ endRender();
1288
+ endUpdate();
1289
+ if (BUILD.asyncLoading) {
1290
+ const childrenPromises = elm["s-p"];
1291
+ const postUpdate = () => postUpdateComponent(hostRef);
1292
+ if (childrenPromises.length === 0) {
1293
+ postUpdate();
1294
+ } else {
1295
+ Promise.all(childrenPromises).then(postUpdate);
1296
+ hostRef.$flags$ |= 4;
1297
+ childrenPromises.length = 0;
1298
+ }
1299
+ } else {
1300
+ postUpdateComponent(hostRef);
1301
+ }
1302
+ };
1303
+ var callRender = (hostRef, instance, elm) => {
1304
+ const allRenderFn = BUILD.allRenderFn ? true : false;
1305
+ const lazyLoad = BUILD.lazyLoad ? true : false;
1306
+ const taskQueue = BUILD.taskQueue ? true : false;
1307
+ const updatable = BUILD.updatable ? true : false;
1308
+ try {
1309
+ renderingRef = instance;
1310
+ instance = allRenderFn ? instance.render() : instance.render && instance.render();
1311
+ if (updatable && taskQueue) {
1312
+ hostRef.$flags$ &= ~16;
1313
+ }
1314
+ if (updatable || lazyLoad) {
1315
+ hostRef.$flags$ |= 2;
1316
+ }
1317
+ if (BUILD.hasRenderFn || BUILD.reflect) {
1318
+ if (BUILD.vdomRender || BUILD.reflect) {
1319
+ if (BUILD.hydrateServerSide) {
1320
+ return Promise.resolve(instance).then((value) => renderVdom(hostRef, value));
1321
+ } else {
1322
+ renderVdom(hostRef, instance);
1323
+ }
1324
+ } else {
1325
+ elm.textContent = instance;
1326
+ }
1327
+ }
1328
+ } catch (e2) {
1329
+ consoleError(e2, hostRef.$hostElement$);
1330
+ }
1331
+ renderingRef = null;
1332
+ return null;
1333
+ };
1334
+ var postUpdateComponent = (hostRef) => {
1335
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1336
+ const elm = hostRef.$hostElement$;
1337
+ const endPostUpdate = createTime("postUpdate", tagName);
1338
+ const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
1339
+ const ancestorComponent = hostRef.$ancestorComponent$;
1340
+ if (BUILD.cmpDidRender) {
1341
+ if (BUILD.isDev) {
1342
+ hostRef.$flags$ |= 1024;
1343
+ }
1344
+ safeCall(instance, "componentDidRender");
1345
+ if (BUILD.isDev) {
1346
+ hostRef.$flags$ &= ~1024;
1347
+ }
1348
+ }
1349
+ emitLifecycleEvent(elm, "componentDidRender");
1350
+ if (!(hostRef.$flags$ & 64)) {
1351
+ hostRef.$flags$ |= 64;
1352
+ if (BUILD.asyncLoading && BUILD.cssAnnotations) {
1353
+ addHydratedFlag(elm);
1354
+ }
1355
+ if (BUILD.cmpDidLoad) {
1356
+ if (BUILD.isDev) {
1357
+ hostRef.$flags$ |= 2048;
1358
+ }
1359
+ safeCall(instance, "componentDidLoad");
1360
+ if (BUILD.isDev) {
1361
+ hostRef.$flags$ &= ~2048;
1362
+ }
1363
+ }
1364
+ emitLifecycleEvent(elm, "componentDidLoad");
1365
+ endPostUpdate();
1366
+ if (BUILD.asyncLoading) {
1367
+ hostRef.$onReadyResolve$(elm);
1368
+ if (!ancestorComponent) {
1369
+ appDidLoad(tagName);
1370
+ }
1371
+ }
1372
+ } else {
1373
+ if (BUILD.cmpDidUpdate) {
1374
+ if (BUILD.isDev) {
1375
+ hostRef.$flags$ |= 1024;
1376
+ }
1377
+ safeCall(instance, "componentDidUpdate");
1378
+ if (BUILD.isDev) {
1379
+ hostRef.$flags$ &= ~1024;
1380
+ }
1381
+ }
1382
+ emitLifecycleEvent(elm, "componentDidUpdate");
1383
+ endPostUpdate();
1384
+ }
1385
+ if (BUILD.hotModuleReplacement) {
1386
+ elm["s-hmr-load"] && elm["s-hmr-load"]();
1387
+ }
1388
+ if (BUILD.method && BUILD.lazyLoad) {
1389
+ hostRef.$onInstanceResolve$(elm);
1390
+ }
1391
+ if (BUILD.asyncLoading) {
1392
+ if (hostRef.$onRenderResolve$) {
1393
+ hostRef.$onRenderResolve$();
1394
+ hostRef.$onRenderResolve$ = void 0;
1395
+ }
1396
+ if (hostRef.$flags$ & 512) {
1397
+ nextTick(() => scheduleUpdate(hostRef, false));
1398
+ }
1399
+ hostRef.$flags$ &= ~(4 | 512);
1400
+ }
1401
+ };
1402
+ var appDidLoad = (who) => {
1403
+ if (BUILD.cssAnnotations) {
1404
+ addHydratedFlag(doc.documentElement);
1405
+ }
1406
+ if (BUILD.asyncQueue) {
1407
+ plt.$flags$ |= 2;
1408
+ }
1409
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1410
+ if (BUILD.profile && performance.measure) {
1411
+ performance.measure(`[Stencil] ${NAMESPACE} initial load (by ${who})`, "st:app:start");
1412
+ }
1413
+ };
1414
+ var safeCall = (instance, method, arg) => {
1415
+ if (instance && instance[method]) {
1416
+ try {
1417
+ return instance[method](arg);
1418
+ } catch (e2) {
1419
+ consoleError(e2);
1420
+ }
1421
+ }
1422
+ return void 0;
1423
+ };
1424
+ var then = (promise, thenFn) => {
1425
+ return promise && promise.then ? promise.then(thenFn) : thenFn();
1426
+ };
1427
+ var emitLifecycleEvent = (elm, lifecycleName) => {
1428
+ if (BUILD.lifecycleDOMEvents) {
1429
+ emitEvent(elm, "stencil_" + lifecycleName, {
1430
+ bubbles: true,
1431
+ composed: true,
1432
+ detail: {
1433
+ namespace: NAMESPACE
1434
+ }
1435
+ });
1436
+ }
1437
+ };
1438
+ var addHydratedFlag = (elm) => BUILD.hydratedClass ? elm.classList.add("hydrated") : BUILD.hydratedAttribute ? elm.setAttribute("hydrated", "") : void 0;
1439
+ var serverSideConnected = (elm) => {
1440
+ const children = elm.children;
1441
+ if (children != null) {
1442
+ for (let i2 = 0, ii = children.length; i2 < ii; i2++) {
1443
+ const childElm = children[i2];
1444
+ if (typeof childElm.connectedCallback === "function") {
1445
+ childElm.connectedCallback();
1446
+ }
1447
+ serverSideConnected(childElm);
1448
+ }
1449
+ }
1450
+ };
1451
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1452
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1453
+ const hostRef = getHostRef(ref);
1454
+ const elm = BUILD.lazyLoad ? hostRef.$hostElement$ : ref;
1455
+ const oldVal = hostRef.$instanceValues$.get(propName);
1456
+ const flags = hostRef.$flags$;
1457
+ const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
1458
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1459
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1460
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1461
+ if ((!BUILD.lazyLoad || !(flags & 8) || oldVal === void 0) && didValueChange) {
1462
+ hostRef.$instanceValues$.set(propName, newVal);
1463
+ if (BUILD.isDev) {
1464
+ if (hostRef.$flags$ & 1024) {
1465
+ consoleDevWarn(`The state/prop "${propName}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`, "\nElement", elm, "\nNew value", newVal, "\nOld value", oldVal);
1466
+ } else if (hostRef.$flags$ & 2048) {
1467
+ consoleDevWarn(`The state/prop "${propName}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`, "\nElement", elm, "\nNew value", newVal, "\nOld value", oldVal);
1468
+ }
1469
+ }
1470
+ if (!BUILD.lazyLoad || instance) {
1471
+ if (BUILD.watchCallback && cmpMeta.$watchers$ && flags & 128) {
1472
+ const watchMethods = cmpMeta.$watchers$[propName];
1473
+ if (watchMethods) {
1474
+ watchMethods.map((watchMethodName) => {
1475
+ try {
1476
+ instance[watchMethodName](newVal, oldVal, propName);
1477
+ } catch (e2) {
1478
+ consoleError(e2, elm);
1479
+ }
1480
+ });
1481
+ }
1482
+ }
1483
+ if (BUILD.updatable && (flags & (2 | 16)) === 2) {
1484
+ if (BUILD.cmpShouldUpdate && instance.componentShouldUpdate) {
1485
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1486
+ return;
1487
+ }
1488
+ }
1489
+ scheduleUpdate(hostRef, false);
1490
+ }
1491
+ }
1492
+ }
1493
+ };
1494
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1495
+ if (BUILD.member && cmpMeta.$members$) {
1496
+ if (BUILD.watchCallback && Cstr.watchers) {
1497
+ cmpMeta.$watchers$ = Cstr.watchers;
1498
+ }
1499
+ const members = Object.entries(cmpMeta.$members$);
1500
+ const prototype = Cstr.prototype;
1501
+ members.map(([memberName, [memberFlags]]) => {
1502
+ if ((BUILD.prop || BUILD.state) && (memberFlags & 31 || (!BUILD.lazyLoad || flags & 2) && memberFlags & 32)) {
1503
+ Object.defineProperty(prototype, memberName, {
1504
+ get() {
1505
+ return getValue(this, memberName);
1506
+ },
1507
+ set(newValue) {
1508
+ if (BUILD.isDev) {
1509
+ const ref = getHostRef(this);
1510
+ if (
1511
+ // we are proxying the instance (not element)
1512
+ (flags & 1) === 0 && // the element is not constructing
1513
+ (ref.$flags$ & 8) === 0 && // the member is a prop
1514
+ (memberFlags & 31) !== 0 && // the member is not mutable
1515
+ (memberFlags & 1024) === 0
1516
+ ) {
1517
+ consoleDevWarn(`@Prop() "${memberName}" on <${cmpMeta.$tagName$}> is immutable but was modified from within the component.
1518
+ More information: https://stenciljs.com/docs/properties#prop-mutability`);
1519
+ }
1520
+ }
1521
+ setValue(this, memberName, newValue, cmpMeta);
1522
+ },
1523
+ configurable: true,
1524
+ enumerable: true
1525
+ });
1526
+ } else if (BUILD.lazyLoad && BUILD.method && flags & 1 && memberFlags & 64) {
1527
+ Object.defineProperty(prototype, memberName, {
1528
+ value(...args) {
1529
+ const ref = getHostRef(this);
1530
+ return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
1531
+ }
1532
+ });
1533
+ }
1534
+ });
1535
+ if (BUILD.observeAttribute && (!BUILD.lazyLoad || flags & 1)) {
1536
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1537
+ prototype.attributeChangedCallback = function(attrName, _oldValue, newValue) {
1538
+ plt.jmp(() => {
1539
+ const propName = attrNameToPropName.get(attrName);
1540
+ if (this.hasOwnProperty(propName)) {
1541
+ newValue = this[propName];
1542
+ delete this[propName];
1543
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1544
+ return;
1545
+ }
1546
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1547
+ });
1548
+ };
1549
+ Cstr.observedAttributes = members.filter(
1550
+ ([_, m]) => m[0] & 15
1551
+ /* MEMBER_FLAGS.HasAttribute */
1552
+ ).map(([propName, m]) => {
1553
+ const attrName = m[1] || propName;
1554
+ attrNameToPropName.set(attrName, propName);
1555
+ if (BUILD.reflect && m[0] & 512) {
1556
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1557
+ }
1558
+ return attrName;
1559
+ });
1560
+ }
1561
+ }
1562
+ return Cstr;
1563
+ };
1564
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1565
+ if ((BUILD.lazyLoad || BUILD.hydrateServerSide || BUILD.style) && (hostRef.$flags$ & 32) === 0) {
1566
+ if (BUILD.lazyLoad || BUILD.hydrateClientSide) {
1567
+ hostRef.$flags$ |= 32;
1568
+ Cstr = loadModule(cmpMeta, hostRef, hmrVersionId);
1569
+ if (Cstr.then) {
1570
+ const endLoad = uniqueTime(`st:load:${cmpMeta.$tagName$}:${hostRef.$modeName$}`, `[Stencil] Load module for <${cmpMeta.$tagName$}>`);
1571
+ Cstr = await Cstr;
1572
+ endLoad();
1573
+ }
1574
+ if ((BUILD.isDev || BUILD.isDebug) && !Cstr) {
1575
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1576
+ }
1577
+ if (BUILD.member && !Cstr.isProxied) {
1578
+ if (BUILD.watchCallback) {
1579
+ cmpMeta.$watchers$ = Cstr.watchers;
1580
+ }
1581
+ proxyComponent(
1582
+ Cstr,
1583
+ cmpMeta,
1584
+ 2
1585
+ /* PROXY_FLAGS.proxyState */
1586
+ );
1587
+ Cstr.isProxied = true;
1588
+ }
1589
+ const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
1590
+ if (BUILD.member) {
1591
+ hostRef.$flags$ |= 8;
1592
+ }
1593
+ try {
1594
+ new Cstr(hostRef);
1595
+ } catch (e2) {
1596
+ consoleError(e2);
1597
+ }
1598
+ if (BUILD.member) {
1599
+ hostRef.$flags$ &= ~8;
1600
+ }
1601
+ if (BUILD.watchCallback) {
1602
+ hostRef.$flags$ |= 128;
1603
+ }
1604
+ endNewInstance();
1605
+ fireConnectedCallback(hostRef.$lazyInstance$);
1606
+ } else {
1607
+ Cstr = elm.constructor;
1608
+ hostRef.$flags$ |= 32;
1609
+ customElements.whenDefined(cmpMeta.$tagName$).then(() => hostRef.$flags$ |= 128);
1610
+ }
1611
+ if (BUILD.style && Cstr.style) {
1612
+ let style = Cstr.style;
1613
+ if (BUILD.mode && typeof style !== "string") {
1614
+ style = style[hostRef.$modeName$ = computeMode(elm)];
1615
+ if (BUILD.hydrateServerSide && hostRef.$modeName$) {
1616
+ elm.setAttribute("s-mode", hostRef.$modeName$);
1617
+ }
1618
+ }
1619
+ const scopeId2 = getScopeId(cmpMeta, hostRef.$modeName$);
1620
+ if (!styles.has(scopeId2)) {
1621
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1622
+ if (!BUILD.hydrateServerSide && BUILD.shadowDom && BUILD.shadowDomShim && cmpMeta.$flags$ & 8) {
1623
+ style = await import("./shadow-css.XHYCCBXB.js").then((m) => m.scopeCss(style, scopeId2, false));
1624
+ }
1625
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1));
1626
+ endRegisterStyles();
1627
+ }
1628
+ }
1629
+ }
1630
+ const ancestorComponent = hostRef.$ancestorComponent$;
1631
+ const schedule = () => scheduleUpdate(hostRef, true);
1632
+ if (BUILD.asyncLoading && ancestorComponent && ancestorComponent["s-rc"]) {
1633
+ ancestorComponent["s-rc"].push(schedule);
1634
+ } else {
1635
+ schedule();
1636
+ }
1637
+ };
1638
+ var fireConnectedCallback = (instance) => {
1639
+ if (BUILD.lazyLoad && BUILD.connectedCallback) {
1640
+ safeCall(instance, "connectedCallback");
1641
+ }
1642
+ };
1643
+ var connectedCallback = (elm) => {
1644
+ if ((plt.$flags$ & 1) === 0) {
1645
+ const hostRef = getHostRef(elm);
1646
+ const cmpMeta = hostRef.$cmpMeta$;
1647
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1648
+ if (BUILD.hostListenerTargetParent) {
1649
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, true);
1650
+ }
1651
+ if (!(hostRef.$flags$ & 1)) {
1652
+ hostRef.$flags$ |= 1;
1653
+ let hostId;
1654
+ if (BUILD.hydrateClientSide) {
1655
+ hostId = elm.getAttribute(HYDRATE_ID);
1656
+ if (hostId) {
1657
+ if (BUILD.shadowDom && supportsShadow && cmpMeta.$flags$ & 1) {
1658
+ const scopeId2 = BUILD.mode ? addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute("s-mode")) : addStyle(elm.shadowRoot, cmpMeta);
1659
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
1660
+ }
1661
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
1662
+ }
1663
+ }
1664
+ if (BUILD.slotRelocation && !hostId) {
1665
+ if (BUILD.hydrateServerSide || (BUILD.slot || BUILD.shadowDom) && cmpMeta.$flags$ & (4 | 8)) {
1666
+ setContentReference(elm);
1667
+ }
1668
+ }
1669
+ if (BUILD.asyncLoading) {
1670
+ let ancestorComponent = elm;
1671
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1672
+ if (BUILD.hydrateClientSide && ancestorComponent.nodeType === 1 && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
1673
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1674
+ break;
1675
+ }
1676
+ }
1677
+ }
1678
+ if (BUILD.prop && !BUILD.hydrateServerSide && cmpMeta.$members$) {
1679
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1680
+ if (memberFlags & 31 && elm.hasOwnProperty(memberName)) {
1681
+ const value = elm[memberName];
1682
+ delete elm[memberName];
1683
+ elm[memberName] = value;
1684
+ }
1685
+ });
1686
+ }
1687
+ if (BUILD.initializeNextTick) {
1688
+ nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
1689
+ } else {
1690
+ initializeComponent(elm, hostRef, cmpMeta);
1691
+ }
1692
+ } else {
1693
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);
1694
+ fireConnectedCallback(hostRef.$lazyInstance$);
1695
+ }
1696
+ endConnected();
1697
+ }
1698
+ };
1699
+ var setContentReference = (elm) => {
1700
+ const contentRefElm = elm["s-cr"] = doc.createComment(BUILD.isDebug ? `content-ref (host=${elm.localName})` : "");
1701
+ contentRefElm["s-cn"] = true;
1702
+ elm.insertBefore(contentRefElm, elm.firstChild);
1703
+ };
1704
+ var disconnectedCallback = (elm) => {
1705
+ if ((plt.$flags$ & 1) === 0) {
1706
+ const hostRef = getHostRef(elm);
1707
+ const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
1708
+ if (BUILD.hostListener) {
1709
+ if (hostRef.$rmListeners$) {
1710
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1711
+ hostRef.$rmListeners$ = void 0;
1712
+ }
1713
+ }
1714
+ if (BUILD.cssVarShim && plt.$cssShim$) {
1715
+ plt.$cssShim$.removeHost(elm);
1716
+ }
1717
+ if (BUILD.lazyLoad && BUILD.disconnectedCallback) {
1718
+ safeCall(instance, "disconnectedCallback");
1719
+ }
1720
+ if (BUILD.cmpDidUnload) {
1721
+ safeCall(instance, "componentDidUnload");
1722
+ }
1723
+ }
1724
+ };
1725
+ var proxyCustomElement = (Cstr, compactMeta) => {
1726
+ const cmpMeta = {
1727
+ $flags$: compactMeta[0],
1728
+ $tagName$: compactMeta[1]
1729
+ };
1730
+ if (BUILD.member) {
1731
+ cmpMeta.$members$ = compactMeta[2];
1732
+ }
1733
+ if (BUILD.hostListener) {
1734
+ cmpMeta.$listeners$ = compactMeta[3];
1735
+ }
1736
+ if (BUILD.watchCallback) {
1737
+ cmpMeta.$watchers$ = Cstr.$watchers$;
1738
+ }
1739
+ if (BUILD.reflect) {
1740
+ cmpMeta.$attrsToReflect$ = [];
1741
+ }
1742
+ if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1) {
1743
+ cmpMeta.$flags$ |= 8;
1744
+ }
1745
+ const originalConnectedCallback = Cstr.prototype.connectedCallback;
1746
+ const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
1747
+ Object.assign(Cstr.prototype, {
1748
+ __registerHost() {
1749
+ registerHost(this, cmpMeta);
1750
+ },
1751
+ connectedCallback() {
1752
+ connectedCallback(this);
1753
+ if (BUILD.connectedCallback && originalConnectedCallback) {
1754
+ originalConnectedCallback.call(this);
1755
+ }
1756
+ },
1757
+ disconnectedCallback() {
1758
+ disconnectedCallback(this);
1759
+ if (BUILD.disconnectedCallback && originalDisconnectedCallback) {
1760
+ originalDisconnectedCallback.call(this);
1761
+ }
1762
+ },
1763
+ __attachShadow() {
1764
+ if (supportsShadow) {
1765
+ if (BUILD.shadowDelegatesFocus) {
1766
+ this.attachShadow({
1767
+ mode: "open",
1768
+ delegatesFocus: !!(cmpMeta.$flags$ & 16)
1769
+ });
1770
+ } else {
1771
+ this.attachShadow({ mode: "open" });
1772
+ }
1773
+ } else {
1774
+ this.shadowRoot = this;
1775
+ }
1776
+ }
1777
+ });
1778
+ Cstr.is = cmpMeta.$tagName$;
1779
+ return proxyComponent(
1780
+ Cstr,
1781
+ cmpMeta,
1782
+ 1 | 2
1783
+ /* PROXY_FLAGS.proxyState */
1784
+ );
1785
+ };
1786
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1787
+ if (BUILD.hostListener && listeners) {
1788
+ if (BUILD.hostListenerTargetParent) {
1789
+ if (attachParentListeners) {
1790
+ listeners = listeners.filter(
1791
+ ([flags]) => flags & 32
1792
+ /* LISTENER_FLAGS.TargetParent */
1793
+ );
1794
+ } else {
1795
+ listeners = listeners.filter(([flags]) => !(flags & 32));
1796
+ }
1797
+ }
1798
+ listeners.map(([flags, name, method]) => {
1799
+ const target = BUILD.hostListenerTarget ? getHostListenerTarget(elm, flags) : elm;
1800
+ const handler = hostListenerProxy(hostRef, method);
1801
+ const opts = hostListenerOpts(flags);
1802
+ plt.ael(target, name, handler, opts);
1803
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1804
+ });
1805
+ }
1806
+ };
1807
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1808
+ try {
1809
+ if (BUILD.lazyLoad) {
1810
+ if (hostRef.$flags$ & 256) {
1811
+ hostRef.$lazyInstance$[methodName](ev);
1812
+ } else {
1813
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1814
+ }
1815
+ } else {
1816
+ hostRef.$hostElement$[methodName](ev);
1817
+ }
1818
+ } catch (e2) {
1819
+ consoleError(e2);
1820
+ }
1821
+ };
1822
+ var getHostListenerTarget = (elm, flags) => {
1823
+ if (BUILD.hostListenerTargetDocument && flags & 4)
1824
+ return doc;
1825
+ if (BUILD.hostListenerTargetWindow && flags & 8)
1826
+ return win;
1827
+ if (BUILD.hostListenerTargetBody && flags & 16)
1828
+ return doc.body;
1829
+ if (BUILD.hostListenerTargetParent && flags & 32)
1830
+ return elm.parentElement;
1831
+ return elm;
1832
+ };
1833
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
1834
+ passive: (flags & 1) !== 0,
1835
+ capture: (flags & 2) !== 0
1836
+ } : (flags & 2) !== 0;
1837
+ var hostRefs = /* @__PURE__ */ new WeakMap();
1838
+ var getHostRef = (ref) => hostRefs.get(ref);
1839
+ var registerHost = (elm, cmpMeta) => {
1840
+ const hostRef = {
1841
+ $flags$: 0,
1842
+ $hostElement$: elm,
1843
+ $cmpMeta$: cmpMeta,
1844
+ $instanceValues$: /* @__PURE__ */ new Map()
1845
+ };
1846
+ if (BUILD.isDev) {
1847
+ hostRef.$renderCount$ = 0;
1848
+ }
1849
+ if (BUILD.method && BUILD.lazyLoad) {
1850
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
1851
+ }
1852
+ if (BUILD.asyncLoading) {
1853
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
1854
+ elm["s-p"] = [];
1855
+ elm["s-rc"] = [];
1856
+ }
1857
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);
1858
+ return hostRefs.set(elm, hostRef);
1859
+ };
1860
+ var isMemberInElement = (elm, memberName) => memberName in elm;
1861
+ var consoleError = (e2, el) => (customError || console.error)(e2, el);
1862
+ var STENCIL_DEV_MODE = BUILD.isTesting ? ["STENCIL:"] : [
1863
+ "%cstencil",
1864
+ "color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
1865
+ ];
1866
+ var consoleDevError = (...m) => console.error(...STENCIL_DEV_MODE, ...m);
1867
+ var consoleDevWarn = (...m) => console.warn(...STENCIL_DEV_MODE, ...m);
1868
+ var cmpModules = /* @__PURE__ */ new Map();
1869
+ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1870
+ const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
1871
+ const bundleId = cmpMeta.$lazyBundleId$;
1872
+ if (BUILD.isDev && typeof bundleId !== "string") {
1873
+ consoleDevError(`Trying to lazily load component <${cmpMeta.$tagName$}> with style mode "${hostRef.$modeName$}", but it does not exist.`);
1874
+ return void 0;
1875
+ }
1876
+ const module = !BUILD.hotModuleReplacement ? cmpModules.get(bundleId) : false;
1877
+ if (module) {
1878
+ return module[exportName];
1879
+ }
1880
+ return /* @vite-ignore */ /* webpackInclude: /\.entry\.js$/ */ /* webpackExclude: /\.system\.entry\.js$/ */ /* webpackMode: "lazy" */ globImport_entry_js(`./${bundleId}.entry.js${BUILD.hotModuleReplacement && hmrVersionId ? "?s-hmr=" + hmrVersionId : ""}`).then((importedModule) => {
1881
+ if (!BUILD.hotModuleReplacement) {
1882
+ cmpModules.set(bundleId, importedModule);
1883
+ }
1884
+ return importedModule[exportName];
1885
+ }, consoleError);
1886
+ };
1887
+ var styles = /* @__PURE__ */ new Map();
1888
+ var modeResolutionChain = [];
1889
+ var win = typeof window !== "undefined" ? window : {};
1890
+ var CSS = BUILD.cssVarShim ? win.CSS : null;
1891
+ var doc = win.document || { head: {} };
1892
+ var H = win.HTMLElement || class {
1893
+ };
1894
+ var plt = {
1895
+ $flags$: 0,
1896
+ $resourcesUrl$: "",
1897
+ jmp: (h2) => h2(),
1898
+ raf: (h2) => requestAnimationFrame(h2),
1899
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
1900
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
1901
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
1902
+ };
1903
+ var supportsShadow = BUILD.shadowDomShim && BUILD.shadowDom ? /* @__PURE__ */ (() => (doc.head.attachShadow + "").indexOf("[native") > -1)() : true;
1904
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
1905
+ let supportsListenerOptions2 = false;
1906
+ try {
1907
+ doc.addEventListener("e", null, Object.defineProperty({}, "passive", {
1908
+ get() {
1909
+ supportsListenerOptions2 = true;
1910
+ }
1911
+ }));
1912
+ } catch (e2) {
1913
+ }
1914
+ return supportsListenerOptions2;
1915
+ })();
1916
+ var promiseResolve2 = (v) => Promise.resolve(v);
1917
+ var supportsConstructableStylesheets = BUILD.constructableCSS ? /* @__PURE__ */ (() => {
1918
+ try {
1919
+ new CSSStyleSheet();
1920
+ return typeof new CSSStyleSheet().replaceSync === "function";
1921
+ } catch (e2) {
1922
+ }
1923
+ return false;
1924
+ })() : false;
1925
+ var queueDomReads = [];
1926
+ var queueDomWrites = [];
1927
+ var queueDomWritesLow = [];
1928
+ var queueTask = (queue, write) => (cb) => {
1929
+ queue.push(cb);
1930
+ if (!queuePending) {
1931
+ queuePending = true;
1932
+ if (write && plt.$flags$ & 4) {
1933
+ nextTick(flush);
1934
+ } else {
1935
+ plt.raf(flush);
1936
+ }
1937
+ }
1938
+ };
1939
+ var consume = (queue) => {
1940
+ for (let i2 = 0; i2 < queue.length; i2++) {
1941
+ try {
1942
+ queue[i2](performance.now());
1943
+ } catch (e2) {
1944
+ consoleError(e2);
1945
+ }
1946
+ }
1947
+ queue.length = 0;
1948
+ };
1949
+ var consumeTimeout = (queue, timeout) => {
1950
+ let i2 = 0;
1951
+ let ts = 0;
1952
+ while (i2 < queue.length && (ts = performance.now()) < timeout) {
1953
+ try {
1954
+ queue[i2++](ts);
1955
+ } catch (e2) {
1956
+ consoleError(e2);
1957
+ }
1958
+ }
1959
+ if (i2 === queue.length) {
1960
+ queue.length = 0;
1961
+ } else if (i2 !== 0) {
1962
+ queue.splice(0, i2);
1963
+ }
1964
+ };
1965
+ var flush = () => {
1966
+ if (BUILD.asyncQueue) {
1967
+ queueCongestion++;
1968
+ }
1969
+ consume(queueDomReads);
1970
+ if (BUILD.asyncQueue) {
1971
+ const timeout = (plt.$flags$ & 6) === 2 ? performance.now() + 14 * Math.ceil(queueCongestion * (1 / 10)) : Infinity;
1972
+ consumeTimeout(queueDomWrites, timeout);
1973
+ consumeTimeout(queueDomWritesLow, timeout);
1974
+ if (queueDomWrites.length > 0) {
1975
+ queueDomWritesLow.push(...queueDomWrites);
1976
+ queueDomWrites.length = 0;
1977
+ }
1978
+ if (queuePending = queueDomReads.length + queueDomWrites.length + queueDomWritesLow.length > 0) {
1979
+ plt.raf(flush);
1980
+ } else {
1981
+ queueCongestion = 0;
1982
+ }
1983
+ } else {
1984
+ consume(queueDomWrites);
1985
+ if (queuePending = queueDomReads.length > 0) {
1986
+ plt.raf(flush);
1987
+ }
1988
+ }
1989
+ };
1990
+ var nextTick = (cb) => promiseResolve2().then(cb);
1991
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
1992
+
1993
+ // ../../node_modules/.pnpm/wc-datepicker@0.7.0/node_modules/wc-datepicker/dist/components/wc-datepicker.js
1994
+ function addDays(date, days) {
1995
+ const newDate = new Date(date);
1996
+ newDate.setDate(newDate.getDate() + days);
1997
+ return newDate;
1998
+ }
1999
+ function getDaysOfMonth(date, padded, firstDayOfWeek) {
2000
+ const days = [];
2001
+ const firstOfMonth = getFirstOfMonth(date);
2002
+ const firstDayMonth = firstOfMonth.getDay() === 0 ? 7 : firstOfMonth.getDay();
2003
+ const lastOfMonth = getLastOfMonth(date);
2004
+ const lastDayOfMonth = lastOfMonth.getDay() === 0 ? 7 : lastOfMonth.getDay();
2005
+ const lastDayOfWeek = firstDayOfWeek === 1 ? 7 : firstDayOfWeek - 1;
2006
+ const leftPaddingDays = [];
2007
+ const rightPaddingDays = [];
2008
+ if (padded) {
2009
+ const leftPadding = (7 - firstDayOfWeek + firstDayMonth) % 7;
2010
+ let leftPaddingAmount = leftPadding;
2011
+ let leftPaddingDay = getPreviousDay(firstOfMonth);
2012
+ while (leftPaddingAmount > 0) {
2013
+ leftPaddingDays.push(leftPaddingDay);
2014
+ leftPaddingDay = getPreviousDay(leftPaddingDay);
2015
+ leftPaddingAmount -= 1;
2016
+ }
2017
+ leftPaddingDays.reverse();
2018
+ const rightPadding = (7 - lastDayOfMonth + lastDayOfWeek) % 7;
2019
+ let rightPaddingAmount = rightPadding;
2020
+ let rightPaddingDay = getNextDay(lastOfMonth);
2021
+ while (rightPaddingAmount > 0) {
2022
+ rightPaddingDays.push(rightPaddingDay);
2023
+ rightPaddingDay = getNextDay(rightPaddingDay);
2024
+ rightPaddingAmount -= 1;
2025
+ }
2026
+ }
2027
+ let currentDay = firstOfMonth;
2028
+ while (currentDay.getMonth() === date.getMonth()) {
2029
+ days.push(currentDay);
2030
+ currentDay = getNextDay(currentDay);
2031
+ }
2032
+ return [...leftPaddingDays, ...days, ...rightPaddingDays];
2033
+ }
2034
+ function getFirstOfMonth(date) {
2035
+ const firstOfMonth = removeTimezoneOffset(/* @__PURE__ */ new Date(`${String(getYear(date)).padStart(4, "0")}-${String(getMonth(date)).padStart(2, "0")}-01`));
2036
+ return firstOfMonth;
2037
+ }
2038
+ function getISODateString(date) {
2039
+ if (!(date instanceof Date)) {
2040
+ return;
2041
+ }
2042
+ return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, "0")}-${String(date.getDate()).padStart(2, "0")}`;
2043
+ }
2044
+ function getLastOfMonth(date) {
2045
+ const newDate = getFirstOfMonth(date);
2046
+ newDate.setMonth(newDate.getMonth() + 1);
2047
+ newDate.setDate(newDate.getDate() - 1);
2048
+ return newDate;
2049
+ }
2050
+ function getMonth(date) {
2051
+ return date.getMonth() + 1;
2052
+ }
2053
+ function getMonths(locale) {
2054
+ return new Array(12).fill(void 0).map((_, month) => {
2055
+ const date = removeTimezoneOffset(/* @__PURE__ */ new Date(`2006-${String(month + 1).padStart(2, "0")}-01`));
2056
+ return Intl.DateTimeFormat(locale, {
2057
+ month: "long"
2058
+ }).format(date);
2059
+ });
2060
+ }
2061
+ function getNextDay(date) {
2062
+ return addDays(date, 1);
2063
+ }
2064
+ function getNextMonth(date) {
2065
+ const newDate = new Date(date);
2066
+ newDate.setDate(1);
2067
+ newDate.setMonth(newDate.getMonth() + 1);
2068
+ return newDate;
2069
+ }
2070
+ function getNextYear(date) {
2071
+ const newDate = new Date(date);
2072
+ newDate.setFullYear(newDate.getFullYear() + 1);
2073
+ return newDate;
2074
+ }
2075
+ function getPreviousDay(date) {
2076
+ return subDays(date, 1);
2077
+ }
2078
+ function getPreviousMonth(date) {
2079
+ const newDate = new Date(date);
2080
+ newDate.setDate(1);
2081
+ newDate.setMonth(newDate.getMonth() - 1);
2082
+ return newDate;
2083
+ }
2084
+ function getPreviousYear(date) {
2085
+ const newDate = new Date(date);
2086
+ newDate.setFullYear(newDate.getFullYear() - 1);
2087
+ return newDate;
2088
+ }
2089
+ function getWeekDays(firstDayOfWeek, locale) {
2090
+ return new Array(7).fill(void 0).map((_, index) => (firstDayOfWeek + index) % 7 + 1).map((day) => {
2091
+ const date = removeTimezoneOffset(/* @__PURE__ */ new Date(`2006-01-0${day}`));
2092
+ return [
2093
+ Intl.DateTimeFormat(locale, {
2094
+ weekday: "short"
2095
+ }).format(date),
2096
+ Intl.DateTimeFormat(locale, {
2097
+ weekday: "long"
2098
+ }).format(date)
2099
+ ];
2100
+ });
2101
+ }
2102
+ function getYear(date) {
2103
+ return date.getFullYear();
2104
+ }
2105
+ function isDateInRange(date, range) {
2106
+ if (!date || !range || !range.from || !range.to) {
2107
+ return false;
2108
+ }
2109
+ const earlyDate = range.from < range.to ? range.from : range.to;
2110
+ const laterDate = range.from < range.to ? range.to : range.from;
2111
+ return date >= earlyDate && date <= laterDate;
2112
+ }
2113
+ function isSameDay(date1, date2) {
2114
+ if (!date1 || !date2) {
2115
+ return false;
2116
+ }
2117
+ return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
2118
+ }
2119
+ function removeTimezoneOffset(date) {
2120
+ const newDate = new Date(date);
2121
+ newDate.setMinutes(newDate.getMinutes() + newDate.getTimezoneOffset());
2122
+ return newDate;
2123
+ }
2124
+ function subDays(date, days) {
2125
+ const newDate = new Date(date);
2126
+ newDate.setDate(newDate.getDate() - days);
2127
+ return newDate;
2128
+ }
2129
+ var wcDatepickerCss = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%)}";
2130
+ var defaultLabels = {
2131
+ clearButton: "Clear value",
2132
+ monthSelect: "Select month",
2133
+ nextMonthButton: "Next month",
2134
+ nextYearButton: "Next year",
2135
+ picker: "Choose date",
2136
+ previousMonthButton: "Previous month",
2137
+ previousYearButton: "Previous year",
2138
+ todayButton: "Show today",
2139
+ yearSelect: "Select year"
2140
+ };
2141
+ var WCDatepicker = /* @__PURE__ */ proxyCustomElement(class extends H {
2142
+ constructor() {
2143
+ super();
2144
+ this.__registerHost();
2145
+ this.selectDate = createEvent(this, "selectDate", 7);
2146
+ this.changeMonth = createEvent(this, "changeMonth", 7);
2147
+ this.disabled = false;
2148
+ this.disableDate = () => false;
2149
+ this.elementClassName = "wc-datepicker";
2150
+ this.firstDayOfWeek = 0;
2151
+ this.labels = defaultLabels;
2152
+ this.locale = (navigator === null || navigator === void 0 ? void 0 : navigator.language) || "en-US";
2153
+ this.showClearButton = false;
2154
+ this.showMonthStepper = true;
2155
+ this.showTodayButton = false;
2156
+ this.showYearStepper = false;
2157
+ this.startDate = getISODateString(/* @__PURE__ */ new Date());
2158
+ this.maxSearchDays = 365;
2159
+ this.init = () => {
2160
+ this.currentDate = this.startDate ? removeTimezoneOffset(new Date(this.startDate)) : /* @__PURE__ */ new Date();
2161
+ this.updateWeekdays();
2162
+ };
2163
+ this.getAvailableDate = (date, direction) => {
2164
+ let potentialDate;
2165
+ let outOfRange = false;
2166
+ switch (direction) {
2167
+ case "previousDay":
2168
+ potentialDate = getPreviousDay(date);
2169
+ break;
2170
+ case "nextDay":
2171
+ potentialDate = getNextDay(date);
2172
+ break;
2173
+ case "previousSameWeekDay":
2174
+ potentialDate = subDays(date, 7);
2175
+ break;
2176
+ case "nextSameWeekDay":
2177
+ potentialDate = addDays(date, 7);
2178
+ break;
2179
+ case "firstOfMonth":
2180
+ potentialDate = getFirstOfMonth(date);
2181
+ break;
2182
+ case "lastOfMonth":
2183
+ potentialDate = getLastOfMonth(date);
2184
+ break;
2185
+ case "previousMonth":
2186
+ potentialDate = getPreviousMonth(date);
2187
+ break;
2188
+ case "nextMonth":
2189
+ potentialDate = getNextMonth(date);
2190
+ break;
2191
+ case "previousYear":
2192
+ potentialDate = getPreviousYear(date);
2193
+ break;
2194
+ case "nextYear":
2195
+ potentialDate = getNextYear(date);
2196
+ break;
2197
+ }
2198
+ while (this.disableDate(potentialDate) && !outOfRange) {
2199
+ switch (direction) {
2200
+ case "previousDay":
2201
+ case "lastOfMonth":
2202
+ potentialDate = getPreviousDay(potentialDate);
2203
+ break;
2204
+ case "nextDay":
2205
+ case "firstOfMonth":
2206
+ case "previousMonth":
2207
+ case "nextMonth":
2208
+ case "previousYear":
2209
+ case "nextYear":
2210
+ potentialDate = getNextDay(potentialDate);
2211
+ break;
2212
+ case "previousSameWeekDay":
2213
+ potentialDate = subDays(potentialDate, 7);
2214
+ break;
2215
+ case "nextSameWeekDay":
2216
+ potentialDate = addDays(potentialDate, 7);
2217
+ break;
2218
+ }
2219
+ switch (direction) {
2220
+ case "firstOfMonth":
2221
+ case "lastOfMonth":
2222
+ case "previousYear":
2223
+ case "nextYear":
2224
+ outOfRange = potentialDate.getMonth() !== date.getMonth();
2225
+ break;
2226
+ case "previousMonth":
2227
+ outOfRange = potentialDate.getMonth() !== date.getMonth() - 1;
2228
+ break;
2229
+ case "nextMonth":
2230
+ outOfRange = potentialDate.getMonth() !== date.getMonth() + 1;
2231
+ break;
2232
+ default:
2233
+ outOfRange = !isDateInRange(potentialDate, {
2234
+ from: subDays(date, this.maxSearchDays),
2235
+ to: addDays(date, this.maxSearchDays)
2236
+ });
2237
+ break;
2238
+ }
2239
+ }
2240
+ if (outOfRange) {
2241
+ return date;
2242
+ }
2243
+ return potentialDate;
2244
+ };
2245
+ this.nextMonth = () => {
2246
+ this.updateCurrentDate(getNextMonth(this.currentDate));
2247
+ };
2248
+ this.nextYear = () => {
2249
+ this.updateCurrentDate(getNextYear(this.currentDate));
2250
+ };
2251
+ this.previousMonth = () => {
2252
+ this.updateCurrentDate(getPreviousMonth(this.currentDate));
2253
+ };
2254
+ this.previousYear = () => {
2255
+ this.updateCurrentDate(getPreviousYear(this.currentDate));
2256
+ };
2257
+ this.showToday = () => {
2258
+ this.updateCurrentDate(/* @__PURE__ */ new Date());
2259
+ };
2260
+ this.clear = () => {
2261
+ this.value = void 0;
2262
+ this.selectDate.emit(void 0);
2263
+ };
2264
+ this.onClick = (event) => {
2265
+ if (this.disabled) {
2266
+ return;
2267
+ }
2268
+ const target = event.target.closest("[data-date]");
2269
+ if (!Boolean(target)) {
2270
+ return;
2271
+ }
2272
+ const date = removeTimezoneOffset(new Date(target.dataset.date));
2273
+ this.updateCurrentDate(date);
2274
+ this.onSelectDate(date);
2275
+ };
2276
+ this.onMonthSelect = (event) => {
2277
+ const month = +event.target.value - 1;
2278
+ const date = new Date(this.currentDate);
2279
+ date.setMonth(month);
2280
+ this.updateCurrentDate(date);
2281
+ };
2282
+ this.onYearSelect = (event) => {
2283
+ let year = +event.target.value;
2284
+ const input = event.target;
2285
+ if (isNaN(year)) {
2286
+ year = (/* @__PURE__ */ new Date()).getFullYear();
2287
+ input.value = String(year);
2288
+ } else if (year < 0) {
2289
+ year = 0;
2290
+ input.value = String(year);
2291
+ } else if (year > 9999) {
2292
+ year = 9999;
2293
+ input.value = String(year);
2294
+ }
2295
+ const date = new Date(this.currentDate);
2296
+ date.setFullYear(year);
2297
+ this.updateCurrentDate(date);
2298
+ };
2299
+ this.onKeyDown = (event) => {
2300
+ if (this.disabled) {
2301
+ return;
2302
+ }
2303
+ if (event.code === "ArrowLeft") {
2304
+ event.preventDefault();
2305
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousDay"), true);
2306
+ } else if (event.code === "ArrowRight") {
2307
+ event.preventDefault();
2308
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextDay"), true);
2309
+ } else if (event.code === "ArrowUp") {
2310
+ event.preventDefault();
2311
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousSameWeekDay"), true);
2312
+ } else if (event.code === "ArrowDown") {
2313
+ event.preventDefault();
2314
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextSameWeekDay"), true);
2315
+ } else if (event.code === "PageUp") {
2316
+ event.preventDefault();
2317
+ if (event.shiftKey) {
2318
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousYear"), true);
2319
+ } else {
2320
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousMonth"), true);
2321
+ }
2322
+ } else if (event.code === "PageDown") {
2323
+ event.preventDefault();
2324
+ if (event.shiftKey) {
2325
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextYear"), true);
2326
+ } else {
2327
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextMonth"), true);
2328
+ }
2329
+ } else if (event.code === "Home") {
2330
+ event.preventDefault();
2331
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "firstOfMonth"), true);
2332
+ } else if (event.code === "End") {
2333
+ event.preventDefault();
2334
+ this.updateCurrentDate(this.getAvailableDate(this.currentDate, "lastOfMonth"), true);
2335
+ } else if (event.code === "Space" || event.code === "Enter") {
2336
+ event.preventDefault();
2337
+ this.onSelectDate(this.currentDate);
2338
+ }
2339
+ };
2340
+ this.onMouseEnter = (event) => {
2341
+ if (this.disabled) {
2342
+ return;
2343
+ }
2344
+ const date = removeTimezoneOffset(new Date(event.target.closest("td").dataset.date));
2345
+ this.hoveredDate = date;
2346
+ };
2347
+ this.onMouseLeave = () => {
2348
+ this.hoveredDate = void 0;
2349
+ };
2350
+ }
2351
+ componentWillLoad() {
2352
+ this.init();
2353
+ }
2354
+ watchFirstDayOfWeek() {
2355
+ this.updateWeekdays();
2356
+ }
2357
+ watchLocale() {
2358
+ if (!Boolean(this.locale)) {
2359
+ this.locale = (navigator === null || navigator === void 0 ? void 0 : navigator.language) || "en-US";
2360
+ }
2361
+ this.updateWeekdays();
2362
+ }
2363
+ watchRange() {
2364
+ this.value = void 0;
2365
+ this.selectDate.emit(void 0);
2366
+ }
2367
+ watchStartDate() {
2368
+ this.currentDate = this.startDate ? removeTimezoneOffset(new Date(this.startDate)) : /* @__PURE__ */ new Date();
2369
+ }
2370
+ watchValue() {
2371
+ if (Boolean(this.value)) {
2372
+ if (Array.isArray(this.value) && this.value.length >= 1) {
2373
+ this.currentDate = this.value[0];
2374
+ } else if (this.value instanceof Date) {
2375
+ this.currentDate = this.value;
2376
+ }
2377
+ }
2378
+ }
2379
+ componentDidRender() {
2380
+ if (this.moveFocusAfterMonthChanged) {
2381
+ this.focusDate(this.currentDate);
2382
+ this.moveFocusAfterMonthChanged = false;
2383
+ }
2384
+ }
2385
+ updateWeekdays() {
2386
+ this.weekdays = getWeekDays(this.firstDayOfWeek === 0 ? 7 : this.firstDayOfWeek, this.locale);
2387
+ }
2388
+ getClassName(element) {
2389
+ return Boolean(element) ? `${this.elementClassName}__${element}` : this.elementClassName;
2390
+ }
2391
+ getCalendarRows() {
2392
+ const daysOfMonth = getDaysOfMonth(this.currentDate, true, this.firstDayOfWeek === 0 ? 7 : this.firstDayOfWeek);
2393
+ const calendarRows = [];
2394
+ for (let i2 = 0; i2 < daysOfMonth.length; i2 += 7) {
2395
+ const row = daysOfMonth.slice(i2, i2 + 7);
2396
+ calendarRows.push(row);
2397
+ }
2398
+ return calendarRows;
2399
+ }
2400
+ getTitle() {
2401
+ if (!Boolean(this.value)) {
2402
+ return;
2403
+ }
2404
+ if (this.isRangeValue(this.value)) {
2405
+ const startDate = Intl.DateTimeFormat(this.locale, {
2406
+ day: "numeric",
2407
+ month: "long",
2408
+ year: "numeric"
2409
+ }).format(this.value[0]);
2410
+ const endDate = this.value[1] ? Intl.DateTimeFormat(this.locale, {
2411
+ day: "numeric",
2412
+ month: "long",
2413
+ year: "numeric"
2414
+ }).format(this.value[1]) : void 0;
2415
+ if (Boolean(endDate)) {
2416
+ return `${startDate} - ${endDate}`;
2417
+ } else {
2418
+ return startDate;
2419
+ }
2420
+ } else {
2421
+ return Intl.DateTimeFormat(this.locale, {
2422
+ day: "numeric",
2423
+ month: "long",
2424
+ year: "numeric"
2425
+ }).format(this.value);
2426
+ }
2427
+ }
2428
+ focusDate(date) {
2429
+ var _a;
2430
+ (_a = this.el.querySelector(`[data-date="${getISODateString(date)}"]`)) === null || _a === void 0 ? void 0 : _a.focus();
2431
+ }
2432
+ updateCurrentDate(date, moveFocus) {
2433
+ const month = date.getMonth();
2434
+ const year = date.getFullYear();
2435
+ if (year > 9999 || year < 0) {
2436
+ return;
2437
+ }
2438
+ const monthChanged = month !== this.currentDate.getMonth() || year !== this.currentDate.getFullYear();
2439
+ if (monthChanged) {
2440
+ this.changeMonth.emit({ month: getMonth(date), year: getYear(date) });
2441
+ if (moveFocus) {
2442
+ this.moveFocusAfterMonthChanged = true;
2443
+ }
2444
+ }
2445
+ this.currentDate = date;
2446
+ if (moveFocus) {
2447
+ this.focusDate(this.currentDate);
2448
+ }
2449
+ }
2450
+ onSelectDate(date) {
2451
+ var _a, _b;
2452
+ if (this.disableDate(date)) {
2453
+ return;
2454
+ }
2455
+ if (this.isRangeValue(this.value)) {
2456
+ const newValue = ((_a = this.value) === null || _a === void 0 ? void 0 : _a[0]) === void 0 || this.value.length === 2 ? [date] : [this.value[0], date];
2457
+ if (newValue.length === 2 && newValue[0] > newValue[1]) {
2458
+ newValue.reverse();
2459
+ }
2460
+ const isoValue = newValue[1] === void 0 ? [getISODateString(newValue[0])] : [getISODateString(newValue[0]), getISODateString(newValue[1])];
2461
+ this.value = newValue;
2462
+ this.selectDate.emit(isoValue);
2463
+ } else {
2464
+ if (((_b = this.value) === null || _b === void 0 ? void 0 : _b.getTime()) === date.getTime()) {
2465
+ return;
2466
+ }
2467
+ this.value = date;
2468
+ this.selectDate.emit(getISODateString(date));
2469
+ }
2470
+ }
2471
+ // @ts-ignore
2472
+ isRangeValue(value) {
2473
+ return this.range;
2474
+ }
2475
+ render() {
2476
+ const showFooter = this.showTodayButton || this.showClearButton;
2477
+ return h(Host, null, h("div", { "aria-disabled": String(this.disabled), "aria-label": this.labels.picker, class: {
2478
+ [this.getClassName()]: true,
2479
+ [`${this.getClassName()}--disabled`]: this.disabled
2480
+ }, role: "group" }, h("div", { class: this.getClassName("header") }, h("span", { "aria-atomic": "true", "aria-live": "polite", class: "visually-hidden" }, this.getTitle()), this.showYearStepper && h("button", { "aria-label": this.labels.previousYearButton, class: this.getClassName("previous-year-button"), disabled: this.disabled, innerHTML: this.previousYearButtonContent || void 0, onClick: this.previousYear, type: "button" }, h("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, h("polyline", { points: "11 17 6 12 11 7" }), h("polyline", { points: "18 17 13 12 18 7" }))), this.showMonthStepper && h("button", { "aria-label": this.labels.previousMonthButton, class: this.getClassName("previous-month-button"), disabled: this.disabled, innerHTML: this.previousMonthButtonContent || void 0, onClick: this.previousMonth, type: "button" }, h("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, h("polyline", { points: "15 18 9 12 15 6" }))), h("span", { class: this.getClassName("current-month") }, h("select", { title: this.labels.monthSelect, "aria-label": this.labels.monthSelect, class: this.getClassName("month-select"), disabled: this.disabled, name: "month", onChange: this.onMonthSelect }, getMonths(this.locale).map((month, index) => h("option", { key: month, selected: this.currentDate.getMonth() === index, value: index + 1 }, month))), h("input", { title: this.labels.yearSelect, "aria-label": this.labels.yearSelect, class: this.getClassName("year-select"), disabled: this.disabled, max: 9999, maxLength: 4, min: 1, name: "year", onChange: this.onYearSelect, type: "number", value: this.currentDate.getFullYear() })), this.showMonthStepper && h("button", { "aria-label": this.labels.nextMonthButton, class: this.getClassName("next-month-button"), disabled: this.disabled, innerHTML: this.nextMonthButtonContent || void 0, onClick: this.nextMonth, type: "button" }, h("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, h("polyline", { points: "9 18 15 12 9 6" }))), this.showYearStepper && h("button", { "aria-label": this.labels.nextYearButton, class: this.getClassName("next-year-button"), disabled: this.disabled, innerHTML: this.nextYearButtonContent || void 0, onClick: this.nextYear, type: "button" }, h("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, h("polyline", { points: "13 17 18 12 13 7" }), h("polyline", { points: "6 17 11 12 6 7" })))), h("div", { class: this.getClassName("body") }, h("table", { class: this.getClassName("calendar"), onKeyDown: this.onKeyDown, role: "grid" }, h("thead", { class: this.getClassName("calendar-header") }, h("tr", { class: this.getClassName("weekday-row") }, this.weekdays.map((weekday) => h("th", { "aria-label": weekday[1], abbr: weekday[1], class: this.getClassName("weekday"), key: weekday[0], scope: "col" }, h("span", null, weekday[0]))))), h("tbody", null, this.getCalendarRows().map((calendarRow) => {
2481
+ const rowKey = `row-${calendarRow[0].getMonth()}-${calendarRow[0].getDate()}`;
2482
+ return h("tr", { class: this.getClassName("calendar-row"), key: rowKey }, calendarRow.map((day) => {
2483
+ var _a, _b, _c, _d, _e;
2484
+ const isCurrent = isSameDay(day, this.currentDate);
2485
+ const isOverflowing = day.getMonth() !== this.currentDate.getMonth();
2486
+ const isSelected = Array.isArray(this.value) ? isSameDay(day, this.value[0]) || isSameDay(day, this.value[1]) : isSameDay(day, this.value);
2487
+ const isInRange = !this.isRangeValue ? false : isDateInRange(day, {
2488
+ from: (_a = this.value) === null || _a === void 0 ? void 0 : _a[0],
2489
+ to: ((_b = this.value) === null || _b === void 0 ? void 0 : _b[1]) || this.hoveredDate || this.currentDate
2490
+ });
2491
+ const orderedValues = Boolean((_c = this.value) === null || _c === void 0 ? void 0 : _c[0]) ? [
2492
+ (_d = this.value) === null || _d === void 0 ? void 0 : _d[0],
2493
+ ((_e = this.value) === null || _e === void 0 ? void 0 : _e[1]) || this.hoveredDate
2494
+ ].sort((a, b) => a - b) : [];
2495
+ const isStart = this.range && isSameDay(orderedValues[0], day);
2496
+ const isEnd = this.range && isSameDay(orderedValues[1], day);
2497
+ const isToday = isSameDay(day, /* @__PURE__ */ new Date());
2498
+ const isDisabled = this.disableDate(day);
2499
+ const cellKey = `cell-${day.getMonth()}-${day.getDate()}`;
2500
+ const className = {
2501
+ [this.getClassName("date")]: true,
2502
+ [this.getClassName("date--current")]: isCurrent,
2503
+ [this.getClassName("date--disabled")]: isDisabled,
2504
+ [this.getClassName("date--overflowing")]: isOverflowing,
2505
+ [this.getClassName("date--today")]: isToday,
2506
+ [this.getClassName("date--selected")]: isSelected,
2507
+ [this.getClassName("date--in-range")]: isInRange,
2508
+ [this.getClassName("date--start")]: isStart,
2509
+ [this.getClassName("date--end")]: isEnd
2510
+ };
2511
+ const Tag = isSelected ? "strong" : isToday ? "em" : "span";
2512
+ return h("td", { "aria-disabled": String(isDisabled), "aria-selected": isSelected ? "true" : void 0, "aria-current": isToday ? "date" : void 0, class: className, "data-date": getISODateString(day), key: cellKey, onClick: this.onClick, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, role: "gridcell", tabIndex: isSameDay(day, this.currentDate) && !isDisabled && !this.disabled ? 0 : -1 }, h(Tag, { "aria-hidden": "true" }, day.getDate()), h("span", { class: "visually-hidden" }, Intl.DateTimeFormat(this.locale, {
2513
+ day: "numeric",
2514
+ month: "long"
2515
+ }).format(day)));
2516
+ }));
2517
+ })))), showFooter && h("div", { class: this.getClassName("footer") }, this.showTodayButton && h("button", { class: this.getClassName("today-button"), disabled: this.disabled, innerHTML: this.todayButtonContent || void 0, onClick: this.showToday, type: "button" }, this.labels.todayButton), this.showClearButton && h("button", { class: this.getClassName("clear-button"), disabled: this.disabled, innerHTML: this.clearButtonContent || void 0, onClick: this.clear, type: "button" }, this.labels.clearButton))));
2518
+ }
2519
+ get el() {
2520
+ return this;
2521
+ }
2522
+ static get watchers() {
2523
+ return {
2524
+ "firstDayOfWeek": ["watchFirstDayOfWeek"],
2525
+ "locale": ["watchLocale"],
2526
+ "range": ["watchRange"],
2527
+ "startDate": ["watchStartDate"],
2528
+ "value": ["watchValue"]
2529
+ };
2530
+ }
2531
+ static get style() {
2532
+ return wcDatepickerCss;
2533
+ }
2534
+ }, [2, "wc-datepicker", {
2535
+ "clearButtonContent": [1, "clear-button-content"],
2536
+ "disabled": [4],
2537
+ "disableDate": [16],
2538
+ "elementClassName": [1, "element-class-name"],
2539
+ "firstDayOfWeek": [2, "first-day-of-week"],
2540
+ "range": [4],
2541
+ "labels": [16],
2542
+ "locale": [1],
2543
+ "nextMonthButtonContent": [1, "next-month-button-content"],
2544
+ "nextYearButtonContent": [1, "next-year-button-content"],
2545
+ "previousMonthButtonContent": [1, "previous-month-button-content"],
2546
+ "previousYearButtonContent": [1, "previous-year-button-content"],
2547
+ "showClearButton": [4, "show-clear-button"],
2548
+ "showMonthStepper": [4, "show-month-stepper"],
2549
+ "showTodayButton": [4, "show-today-button"],
2550
+ "showYearStepper": [4, "show-year-stepper"],
2551
+ "startDate": [1, "start-date"],
2552
+ "todayButtonContent": [1, "today-button-content"],
2553
+ "value": [1040],
2554
+ "maxSearchDays": [2, "max-search-days"],
2555
+ "currentDate": [32],
2556
+ "hoveredDate": [32],
2557
+ "weekdays": [32]
2558
+ }]);
2559
+ var WcDatepicker = WCDatepicker;
2560
+
2561
+ // ../../node_modules/.pnpm/wc-datepicker@0.7.0/node_modules/wc-datepicker/dist/esm/loader.js
2562
+ var patchEsm = () => {
2563
+ return promiseResolve();
2564
+ };
2565
+ var defineCustomElements = (win2, options) => {
2566
+ if (typeof window === "undefined") return Promise.resolve();
2567
+ return patchEsm().then(() => {
2568
+ return bootstrapLazy([["wc-datepicker", [[2, "wc-datepicker", { "clearButtonContent": [1, "clear-button-content"], "disabled": [4], "disableDate": [16], "elementClassName": [1, "element-class-name"], "firstDayOfWeek": [2, "first-day-of-week"], "range": [4], "labels": [16], "locale": [1], "nextMonthButtonContent": [1, "next-month-button-content"], "nextYearButtonContent": [1, "next-year-button-content"], "previousMonthButtonContent": [1, "previous-month-button-content"], "previousYearButtonContent": [1, "previous-year-button-content"], "showClearButton": [4, "show-clear-button"], "showMonthStepper": [4, "show-month-stepper"], "showTodayButton": [4, "show-today-button"], "showYearStepper": [4, "show-year-stepper"], "startDate": [1, "start-date"], "todayButtonContent": [1, "today-button-content"], "value": [1040], "maxSearchDays": [2, "max-search-days"], "currentDate": [32], "hoveredDate": [32], "weekdays": [32] }]]]], options);
2569
+ });
2570
+ };
2571
+
2572
+ // ../../node_modules/.pnpm/wc-datepicker@0.7.0/node_modules/wc-datepicker/dist/loader/index.js
2573
+ (function() {
2574
+ if ("undefined" !== typeof window && void 0 !== window.Reflect && void 0 !== window.customElements) {
2575
+ var a = HTMLElement;
2576
+ window.HTMLElement = function() {
2577
+ return Reflect.construct(a, [], this.constructor);
2578
+ };
2579
+ HTMLElement.prototype = a.prototype;
2580
+ HTMLElement.prototype.constructor = HTMLElement;
2581
+ Object.setPrototypeOf(HTMLElement, a);
2582
+ }
2583
+ })();
2584
+
2585
+ // src/internal/components/calendar/calendar.ts
2586
+ defineCustomElements();
2587
+ customElements.define("dsa-internal-calendar", WcDatepicker);
2588
+
2589
+ // src/components/calendar/calendar.ts
2590
+ var CALENDAR_MONDAY_INDEX = 1;
2591
+ var DSACalendar = class extends ShoelaceElement {
2592
+ constructor() {
2593
+ super(...arguments);
2594
+ this.localize = new LocalizeController(this);
2595
+ this.value = "";
2596
+ this.startDate = getISOFormattedDate(/* @__PURE__ */ new Date());
2597
+ this.range = false;
2598
+ }
2599
+ firstUpdated() {
2600
+ if (this.disableDate !== void 0) {
2601
+ this.calendar.disableDate = this.disableDate;
2602
+ }
2603
+ this.updateCalendarValue();
2604
+ }
2605
+ updateCalendarValue() {
2606
+ const dates = this.parsedDateValue;
2607
+ this.calendar.value = dates.length > 1 ? dates : dates[0];
2608
+ }
2609
+ get parsedDateValue() {
2610
+ if (this.value === "") {
2611
+ return [];
2612
+ }
2613
+ return this.value.split(",").filter((dateString) => dateString !== "").map((dateString) => getDateFromISO(dateString));
2614
+ }
2615
+ handleDateSelection(event) {
2616
+ const { detail } = event;
2617
+ if (detail === void 0) {
2618
+ return;
2619
+ }
2620
+ const dates = Array.isArray(detail) ? detail.map((dateString) => getDateFromISO(dateString)) : [getDateFromISO(detail)];
2621
+ this.emit("dsa-date-selected", { detail: { dates } });
2622
+ }
2623
+ handleMonthSelection(event) {
2624
+ const { month, year } = event.detail;
2625
+ this.emit("dsa-month-year-selected", { detail: { month, year } });
2626
+ }
2627
+ getLabels() {
2628
+ return {
2629
+ clearButton: this.localize.term("clearButton"),
2630
+ monthSelect: this.localize.term("monthSelect"),
2631
+ nextMonthButton: this.localize.term("nextMonthButton"),
2632
+ nextYearButton: this.localize.term("nextYearButton"),
2633
+ picker: this.localize.term(this.range ? "pickerRange" : "picker"),
2634
+ previousMonthButton: this.localize.term("previousMonthButton"),
2635
+ previousYearButton: this.localize.term("previousYearButton"),
2636
+ todayButton: this.localize.term("todayButton"),
2637
+ yearSelect: this.localize.term("yearSelect")
2638
+ };
2639
+ }
2640
+ handleDisableDateChange() {
2641
+ if (this.disableDate !== void 0) {
2642
+ this.calendar.disableDate = this.disableDate;
2643
+ }
2644
+ }
2645
+ handleValueChange() {
2646
+ if (this.value === "") {
2647
+ this.calendar.value = void 0;
2648
+ return;
2649
+ }
2650
+ this.updateCalendarValue();
2651
+ }
2652
+ render() {
2653
+ return x`
2654
+ <dsa-internal-calendar
2655
+ class="calendar"
2656
+ ?range=${o(this.range)}
2657
+ @selectDate=${this.handleDateSelection}
2658
+ @changeMonth=${this.handleMonthSelection}
2659
+ start-date=${this.value === "" ? this.startDate : getISOFormattedDate(this.parsedDateValue[0])}
2660
+ locale=${this.localize.lang()}
2661
+ .labels=${this.getLabels()}
2662
+ first-day-of-week=${CALENDAR_MONDAY_INDEX}
2663
+ ></dsa-internal-calendar>
2664
+ `;
2665
+ }
2666
+ };
2667
+ DSACalendar.styles = calendar_styles_default;
2668
+ __decorateClass([
2669
+ e(".calendar")
2670
+ ], DSACalendar.prototype, "calendar", 2);
2671
+ __decorateClass([
2672
+ n()
2673
+ ], DSACalendar.prototype, "value", 2);
2674
+ __decorateClass([
2675
+ n({ attribute: "start-date" })
2676
+ ], DSACalendar.prototype, "startDate", 2);
2677
+ __decorateClass([
2678
+ n({ type: Boolean, reflect: true })
2679
+ ], DSACalendar.prototype, "range", 2);
2680
+ __decorateClass([
2681
+ n({ type: Function, attribute: false })
2682
+ ], DSACalendar.prototype, "disableDate", 2);
2683
+ __decorateClass([
2684
+ watch("disableDate", { waitUntilFirstUpdate: true })
2685
+ ], DSACalendar.prototype, "handleDisableDateChange", 1);
2686
+ __decorateClass([
2687
+ watch("value", { waitUntilFirstUpdate: true })
2688
+ ], DSACalendar.prototype, "handleValueChange", 1);
2689
+ DSACalendar = __decorateClass([
2690
+ t("dsa-calendar")
2691
+ ], DSACalendar);
2692
+
2693
+ export {
2694
+ DSACalendar
2695
+ };
2696
+ /*! Bundled license information:
2697
+
2698
+ @stencil/core/internal/client/index.js:
2699
+ (*!__STENCIL_STATIC_IMPORT_SWITCH__*)
2700
+ */