@re-code/aurora 0.0.0-stage → 0.3.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 (1135) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +92 -2
  3. package/dist/aurora/aurora.esm.js +1 -0
  4. package/dist/aurora/index.esm.js +1 -0
  5. package/dist/aurora/p-01ff4d34.entry.js +1 -0
  6. package/dist/aurora/p-0554ffea.entry.js +1 -0
  7. package/dist/aurora/p-0a0a2bfe.entry.js +1 -0
  8. package/dist/aurora/p-0a7e9e8e.entry.js +1 -0
  9. package/dist/aurora/p-1670a9bd.entry.js +1 -0
  10. package/dist/aurora/p-17210bb6.entry.js +1 -0
  11. package/dist/aurora/p-17c6de2c.entry.js +1 -0
  12. package/dist/aurora/p-21786a68.entry.js +1 -0
  13. package/dist/aurora/p-23e57d65.entry.js +1 -0
  14. package/dist/aurora/p-24ff90e0.entry.js +1 -0
  15. package/dist/aurora/p-27da7b8a.entry.js +1 -0
  16. package/dist/aurora/p-380d8ebe.entry.js +1 -0
  17. package/dist/aurora/p-3cfccef1.entry.js +1 -0
  18. package/dist/aurora/p-4fd71d14.entry.js +1 -0
  19. package/dist/aurora/p-5606ed9c.entry.js +1 -0
  20. package/dist/aurora/p-56fc4315.entry.js +1 -0
  21. package/dist/aurora/p-57512cd7.entry.js +1 -0
  22. package/dist/aurora/p-5a027df1.entry.js +1 -0
  23. package/dist/aurora/p-5dd73182.entry.js +1 -0
  24. package/dist/aurora/p-62ccacf0.entry.js +1 -0
  25. package/dist/aurora/p-62d79933.entry.js +1 -0
  26. package/dist/aurora/p-6a1363da.entry.js +1 -0
  27. package/dist/aurora/p-6e9c8e27.entry.js +1 -0
  28. package/dist/aurora/p-742abb2c.entry.js +1 -0
  29. package/dist/aurora/p-7a9bc20f.entry.js +1 -0
  30. package/dist/aurora/p-7cc6bb71.entry.js +1 -0
  31. package/dist/aurora/p-7fa0ee48.entry.js +1 -0
  32. package/dist/aurora/p-815611f9.entry.js +1 -0
  33. package/dist/aurora/p-8800c466.entry.js +1 -0
  34. package/dist/aurora/p-8de508c7.entry.js +1 -0
  35. package/dist/aurora/p-9e9377b5.entry.js +1 -0
  36. package/dist/aurora/p-B3rlZvSP.js +7 -0
  37. package/dist/aurora/p-B71krpcd.js +1 -0
  38. package/dist/aurora/p-BTRtOC1j.js +1 -0
  39. package/dist/aurora/p-BTZwl4uD.js +7 -0
  40. package/dist/aurora/p-BvnCPjl5.js +1 -0
  41. package/dist/aurora/p-C-bRwiWx.js +1 -0
  42. package/dist/aurora/p-C2iVoG0G.js +1 -0
  43. package/dist/aurora/p-C48ks26E.js +1 -0
  44. package/dist/aurora/p-C6E5E18W.js +7 -0
  45. package/dist/aurora/p-CA3n-tpF.js +7 -0
  46. package/dist/aurora/p-CIZeCYao.js +1 -0
  47. package/dist/aurora/p-CJtRxiuh.js +7 -0
  48. package/dist/aurora/p-CU9sZ49I.js +7 -0
  49. package/dist/aurora/p-CfazOBmW.js +1 -0
  50. package/dist/aurora/p-Ci-XzGE3.js +1 -0
  51. package/dist/aurora/p-CnJOd66V.js +7 -0
  52. package/dist/aurora/p-Cq5N0E4D.js +7 -0
  53. package/dist/aurora/p-CrKUXDm4.js +1 -0
  54. package/dist/aurora/p-DBHfOAQc.js +1 -0
  55. package/dist/aurora/p-DD6GCVQb.js +1 -0
  56. package/dist/aurora/p-DMeUBbqF.js +7 -0
  57. package/dist/aurora/p-DNpzZvak.js +1 -0
  58. package/dist/aurora/p-DQuL1Twl.js +1 -0
  59. package/dist/aurora/p-DTEnois3.js +7 -0
  60. package/dist/aurora/p-DVGjumbs.js +1 -0
  61. package/dist/aurora/p-DgfWQsck.js +1 -0
  62. package/dist/aurora/p-DjW6oMgu.js +7 -0
  63. package/dist/aurora/p-Dogh3-Bf.js +1 -0
  64. package/dist/aurora/p-DqAwSryz.js +1 -0
  65. package/dist/aurora/p-DqqWqhAT.js +1 -0
  66. package/dist/aurora/p-Dv3Jcvbc.js +1 -0
  67. package/dist/aurora/p-JU60IJxn.js +1 -0
  68. package/dist/aurora/p-KLUZmSN-.js +3 -0
  69. package/dist/aurora/p-NvNa2Iiu.js +1 -0
  70. package/dist/aurora/p-TdUs41zm.js +1 -0
  71. package/dist/aurora/p-a376a248.entry.js +1 -0
  72. package/dist/aurora/p-a63d1f80.entry.js +1 -0
  73. package/dist/aurora/p-a72596b4.entry.js +1 -0
  74. package/dist/aurora/p-b0ebcc51.entry.js +1 -0
  75. package/dist/aurora/p-be98a1d7.entry.js +1 -0
  76. package/dist/aurora/p-bf922703.entry.js +1 -0
  77. package/dist/aurora/p-c1422894.entry.js +1 -0
  78. package/dist/aurora/p-c2164ffe.entry.js +1 -0
  79. package/dist/aurora/p-cb63ca43.entry.js +1 -0
  80. package/dist/aurora/p-cc1015fe.entry.js +1 -0
  81. package/dist/aurora/p-cf16464e.entry.js +1 -0
  82. package/dist/aurora/p-cfa0166b.entry.js +1 -0
  83. package/dist/aurora/p-d85e1d60.entry.js +1 -0
  84. package/dist/aurora/p-ec96e6ff.entry.js +1 -0
  85. package/dist/aurora/p-efa289c1.entry.js +1 -0
  86. package/dist/aurora/p-f176be8b.entry.js +1 -0
  87. package/dist/aurora/p-f3383f3c.entry.js +1 -0
  88. package/dist/aurora/p-f5d3aefa.entry.js +1 -0
  89. package/dist/aurora/p-f85687a5.entry.js +1 -0
  90. package/dist/aurora/p-fe143404.entry.js +1 -0
  91. package/dist/aurora/p-gvyxpLwV.js +1 -0
  92. package/dist/aurora/p-kEvQ5xF7.js +1 -0
  93. package/dist/aurora/p-kbAXs-sG.js +7 -0
  94. package/dist/aurora/p-klxij34W.js +1 -0
  95. package/dist/aurora/p-kpQFQ7bu.js +7 -0
  96. package/dist/aurora/p-tdx7CCkD.js +7 -0
  97. package/dist/aurora/p-vjn4H-yX.js +1 -0
  98. package/dist/cjs/accordion-DlPfFEHE.js +37 -0
  99. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  100. package/dist/cjs/attributes-Bn886Odj.js +30 -0
  101. package/dist/cjs/au-accordion-item.cjs.entry.js +88 -0
  102. package/dist/cjs/au-accordion.cjs.entry.js +100 -0
  103. package/dist/cjs/au-alert.cjs.entry.js +117 -0
  104. package/dist/cjs/au-avatar.cjs.entry.js +177 -0
  105. package/dist/cjs/au-badge.cjs.entry.js +60 -0
  106. package/dist/cjs/au-breadcrumb-item.cjs.entry.js +84 -0
  107. package/dist/cjs/au-breadcrumb.cjs.entry.js +80 -0
  108. package/dist/cjs/au-button.cjs.entry.js +328 -0
  109. package/dist/cjs/au-card.cjs.entry.js +76 -0
  110. package/dist/cjs/au-checkbox.cjs.entry.js +183 -0
  111. package/dist/cjs/au-chip.cjs.entry.js +249 -0
  112. package/dist/cjs/au-code-block.cjs.entry.js +678 -0
  113. package/dist/cjs/au-combobox.cjs.entry.js +755 -0
  114. package/dist/cjs/au-container.cjs.entry.js +58 -0
  115. package/dist/cjs/au-dialog.cjs.entry.js +377 -0
  116. package/dist/cjs/au-divider.cjs.entry.js +106 -0
  117. package/dist/cjs/au-field.cjs.entry.js +185 -0
  118. package/dist/cjs/au-icon-0-khGfX2.js +350 -0
  119. package/dist/cjs/au-icon.cjs.entry.js +9 -0
  120. package/dist/cjs/au-input.cjs.entry.js +312 -0
  121. package/dist/cjs/au-kbd.cjs.entry.js +355 -0
  122. package/dist/cjs/au-label.cjs.entry.js +45 -0
  123. package/dist/cjs/au-list-item.cjs.entry.js +195 -0
  124. package/dist/cjs/au-list.cjs.entry.js +78 -0
  125. package/dist/cjs/au-menu-item.cjs.entry.js +71 -0
  126. package/dist/cjs/au-menu.cjs.entry.js +347 -0
  127. package/dist/cjs/au-nav-group.cjs.entry.js +50 -0
  128. package/dist/cjs/au-nav-link.cjs.entry.js +84 -0
  129. package/dist/cjs/au-navbar.cjs.entry.js +306 -0
  130. package/dist/cjs/au-number-input.cjs.entry.js +350 -0
  131. package/dist/cjs/au-popover.cjs.entry.js +130 -0
  132. package/dist/cjs/au-progress.cjs.entry.js +107 -0
  133. package/dist/cjs/au-radio-group.cjs.entry.js +348 -0
  134. package/dist/cjs/au-radio.cjs.entry.js +45 -0
  135. package/dist/cjs/au-segmented-control.cjs.entry.js +544 -0
  136. package/dist/cjs/au-segmented-option.cjs.entry.js +78 -0
  137. package/dist/cjs/au-select.cjs.entry.js +336 -0
  138. package/dist/cjs/au-sidebar-nav.cjs.entry.js +178 -0
  139. package/dist/cjs/au-skeleton.cjs.entry.js +106 -0
  140. package/dist/cjs/au-slider.cjs.entry.js +286 -0
  141. package/dist/cjs/au-splitter.cjs.entry.js +230 -0
  142. package/dist/cjs/au-stat.cjs.entry.js +262 -0
  143. package/dist/cjs/au-switch.cjs.entry.js +175 -0
  144. package/dist/cjs/au-tab-panel.cjs.entry.js +63 -0
  145. package/dist/cjs/au-tab.cjs.entry.js +41 -0
  146. package/dist/cjs/au-table.cjs.entry.js +337 -0
  147. package/dist/cjs/au-tabs.cjs.entry.js +406 -0
  148. package/dist/cjs/au-textarea.cjs.entry.js +245 -0
  149. package/dist/cjs/au-toast-region.cjs.entry.js +692 -0
  150. package/dist/cjs/au-toast.cjs.entry.js +63 -0
  151. package/dist/cjs/au-toc.cjs.entry.js +445 -0
  152. package/dist/cjs/au-tooltip.cjs.entry.js +395 -0
  153. package/dist/cjs/aurora.cjs.js +25 -0
  154. package/dist/cjs/check-D8fNlWlh.js +16 -0
  155. package/dist/cjs/checkable-DhECpB9t.js +8 -0
  156. package/dist/cjs/circle-check-B3FqDucz.js +20 -0
  157. package/dist/cjs/circle-x-Tf2qIuBI.js +21 -0
  158. package/dist/cjs/constants.generated-CnWw9jDb.js +134 -0
  159. package/dist/cjs/control-id-CcdWN8_D.js +16 -0
  160. package/dist/cjs/copy-DJmgvzQq.js +19 -0
  161. package/dist/cjs/copy-check-Bktgfkg4.js +20 -0
  162. package/dist/cjs/deep-active-element-CoEYUbhF.js +11 -0
  163. package/dist/cjs/group-validity-D2brpooM.js +11 -0
  164. package/dist/cjs/icon-loader-Dij7pYkP.js +113 -0
  165. package/dist/cjs/index-B8lDYTMv.js +2314 -0
  166. package/dist/cjs/index-DI4bia-1.js +159 -0
  167. package/dist/cjs/index.cjs.js +358 -0
  168. package/dist/cjs/info-BLcxKacU.js +20 -0
  169. package/dist/cjs/initial-value-CfGBZMr4.js +13 -0
  170. package/dist/cjs/item-update-DZTXbDLY.js +15 -0
  171. package/dist/cjs/link-state-B3rIWSPS.js +40 -0
  172. package/dist/cjs/live-announcer-vcS-BUxR.js +400 -0
  173. package/dist/cjs/loader.cjs.js +13 -0
  174. package/dist/cjs/menu-CSfWKlaI.js +41 -0
  175. package/dist/cjs/minus-6XziUaOZ.js +16 -0
  176. package/dist/cjs/navigation-lpcPjVEI.js +63 -0
  177. package/dist/cjs/octagon-alert-CFrlltqZ.js +27 -0
  178. package/dist/cjs/plus-D3o9M7Mi.js +19 -0
  179. package/dist/cjs/popover-controller-B95YfF3I.js +237 -0
  180. package/dist/cjs/popover-support-CmR5F5K2.js +250 -0
  181. package/dist/cjs/resolve-size-LxALRdcg.js +13 -0
  182. package/dist/cjs/restore-DQu6RpSH.js +148 -0
  183. package/dist/cjs/reveal-BTJffR-G.js +69 -0
  184. package/dist/cjs/roving-CFu47frk.js +70 -0
  185. package/dist/cjs/segmented-CfUI9Mjx.js +53 -0
  186. package/dist/cjs/slider-DX8MuU0y.js +84 -0
  187. package/dist/cjs/toast-request-C-x_BbsL.js +67 -0
  188. package/dist/cjs/trending-down-BKjmYE1H.js +19 -0
  189. package/dist/cjs/trending-up-CoWuXxqz.js +19 -0
  190. package/dist/cjs/triangle-alert-VJkqaFrl.js +27 -0
  191. package/dist/cjs/user-round-Bb69LiUK.js +20 -0
  192. package/dist/cjs/warn-once-lHF-gQZp.js +21 -0
  193. package/dist/cjs/x-BmyhNJrF.js +19 -0
  194. package/dist/collection/collection-manifest.json +63 -0
  195. package/dist/collection/components/actions/au-button/au-button.constants.js +65 -0
  196. package/dist/collection/components/actions/au-button/au-button.css +224 -0
  197. package/dist/collection/components/actions/au-button/au-button.js +636 -0
  198. package/dist/collection/components/actions/au-button/au-button.types.js +1 -0
  199. package/dist/collection/components/actions/au-button/index.js +2 -0
  200. package/dist/collection/components/data-display/au-accordion/au-accordion.constants.js +11 -0
  201. package/dist/collection/components/data-display/au-accordion/au-accordion.css +7 -0
  202. package/dist/collection/components/data-display/au-accordion/au-accordion.js +143 -0
  203. package/dist/collection/components/data-display/au-accordion/au-accordion.types.js +1 -0
  204. package/dist/collection/components/data-display/au-accordion/index.js +2 -0
  205. package/dist/collection/components/data-display/au-accordion-item/au-accordion-item.css +156 -0
  206. package/dist/collection/components/data-display/au-accordion-item/au-accordion-item.js +186 -0
  207. package/dist/collection/components/data-display/au-accordion-item/index.js +1 -0
  208. package/dist/collection/components/data-display/au-avatar/au-avatar.constants.js +26 -0
  209. package/dist/collection/components/data-display/au-avatar/au-avatar.css +93 -0
  210. package/dist/collection/components/data-display/au-avatar/au-avatar.js +308 -0
  211. package/dist/collection/components/data-display/au-avatar/au-avatar.types.js +1 -0
  212. package/dist/collection/components/data-display/au-avatar/index.js +2 -0
  213. package/dist/collection/components/data-display/au-avatar/internal/initials.js +41 -0
  214. package/dist/collection/components/data-display/au-badge/au-badge.constants.js +29 -0
  215. package/dist/collection/components/data-display/au-badge/au-badge.css +152 -0
  216. package/dist/collection/components/data-display/au-badge/au-badge.js +142 -0
  217. package/dist/collection/components/data-display/au-badge/au-badge.types.js +1 -0
  218. package/dist/collection/components/data-display/au-badge/index.js +2 -0
  219. package/dist/collection/components/data-display/au-card/au-card.constants.js +20 -0
  220. package/dist/collection/components/data-display/au-card/au-card.css +125 -0
  221. package/dist/collection/components/data-display/au-card/au-card.js +127 -0
  222. package/dist/collection/components/data-display/au-card/au-card.types.js +1 -0
  223. package/dist/collection/components/data-display/au-card/index.js +2 -0
  224. package/dist/collection/components/data-display/au-chip/au-chip.constants.js +22 -0
  225. package/dist/collection/components/data-display/au-chip/au-chip.css +207 -0
  226. package/dist/collection/components/data-display/au-chip/au-chip.js +371 -0
  227. package/dist/collection/components/data-display/au-chip/au-chip.types.js +1 -0
  228. package/dist/collection/components/data-display/au-chip/index.js +2 -0
  229. package/dist/collection/components/data-display/au-chip/internal/neighbor.js +48 -0
  230. package/dist/collection/components/data-display/au-chip/internal/remove-key.js +13 -0
  231. package/dist/collection/components/data-display/au-code-block/au-code-block.constants.js +31 -0
  232. package/dist/collection/components/data-display/au-code-block/au-code-block.css +331 -0
  233. package/dist/collection/components/data-display/au-code-block/au-code-block.js +576 -0
  234. package/dist/collection/components/data-display/au-code-block/au-code-block.types.js +1 -0
  235. package/dist/collection/components/data-display/au-code-block/index.js +2 -0
  236. package/dist/collection/components/data-display/au-code-block/internal/highlight-lines.js +29 -0
  237. package/dist/collection/components/data-display/au-code-block/internal/highlight-result.js +42 -0
  238. package/dist/collection/components/data-display/au-code-block/internal/light-source.js +30 -0
  239. package/dist/collection/components/data-display/au-code-block/internal/normalize-code.js +48 -0
  240. package/dist/collection/components/data-display/au-kbd/au-kbd.constants.js +85 -0
  241. package/dist/collection/components/data-display/au-kbd/au-kbd.css +98 -0
  242. package/dist/collection/components/data-display/au-kbd/au-kbd.js +189 -0
  243. package/dist/collection/components/data-display/au-kbd/au-kbd.types.js +1 -0
  244. package/dist/collection/components/data-display/au-kbd/index.js +2 -0
  245. package/dist/collection/components/data-display/au-kbd/internal/describe.js +67 -0
  246. package/dist/collection/components/data-display/au-kbd/internal/parse.js +85 -0
  247. package/dist/collection/components/data-display/au-kbd/internal/platform.js +19 -0
  248. package/dist/collection/components/data-display/au-list/au-list.constants.js +8 -0
  249. package/dist/collection/components/data-display/au-list/au-list.css +30 -0
  250. package/dist/collection/components/data-display/au-list/au-list.js +132 -0
  251. package/dist/collection/components/data-display/au-list/au-list.types.js +1 -0
  252. package/dist/collection/components/data-display/au-list/index.js +2 -0
  253. package/dist/collection/components/data-display/au-list-item/au-list-item.css +196 -0
  254. package/dist/collection/components/data-display/au-list-item/au-list-item.js +305 -0
  255. package/dist/collection/components/data-display/au-list-item/index.js +1 -0
  256. package/dist/collection/components/data-display/au-list-item/internal/interactive-content.js +29 -0
  257. package/dist/collection/components/data-display/au-stat/au-stat.constants.js +44 -0
  258. package/dist/collection/components/data-display/au-stat/au-stat.css +139 -0
  259. package/dist/collection/components/data-display/au-stat/au-stat.js +491 -0
  260. package/dist/collection/components/data-display/au-stat/au-stat.types.js +1 -0
  261. package/dist/collection/components/data-display/au-stat/index.js +2 -0
  262. package/dist/collection/components/data-display/au-stat/internal/announcement.js +13 -0
  263. package/dist/collection/components/data-display/au-table/au-table.constants.js +21 -0
  264. package/dist/collection/components/data-display/au-table/au-table.css +20 -0
  265. package/dist/collection/components/data-display/au-table/au-table.js +482 -0
  266. package/dist/collection/components/data-display/au-table/au-table.types.js +1 -0
  267. package/dist/collection/components/data-display/au-table/index.js +2 -0
  268. package/dist/collection/components/data-display/au-table/internal/scroller-label.js +11 -0
  269. package/dist/collection/components/data-display/au-table/internal/sort.js +17 -0
  270. package/dist/collection/components/data-display/internal/accordion.js +31 -0
  271. package/dist/collection/components/feedback/au-alert/au-alert.constants.js +20 -0
  272. package/dist/collection/components/feedback/au-alert/au-alert.css +171 -0
  273. package/dist/collection/components/feedback/au-alert/au-alert.js +241 -0
  274. package/dist/collection/components/feedback/au-alert/au-alert.types.js +1 -0
  275. package/dist/collection/components/feedback/au-alert/index.js +2 -0
  276. package/dist/collection/components/feedback/au-progress/au-progress.constants.js +38 -0
  277. package/dist/collection/components/feedback/au-progress/au-progress.css +201 -0
  278. package/dist/collection/components/feedback/au-progress/au-progress.js +226 -0
  279. package/dist/collection/components/feedback/au-progress/au-progress.types.js +1 -0
  280. package/dist/collection/components/feedback/au-progress/index.js +2 -0
  281. package/dist/collection/components/feedback/au-skeleton/au-skeleton.constants.js +33 -0
  282. package/dist/collection/components/feedback/au-skeleton/au-skeleton.css +108 -0
  283. package/dist/collection/components/feedback/au-skeleton/au-skeleton.js +159 -0
  284. package/dist/collection/components/feedback/au-skeleton/au-skeleton.types.js +1 -0
  285. package/dist/collection/components/feedback/au-skeleton/index.js +2 -0
  286. package/dist/collection/components/feedback/au-toast/au-toast.constants.js +1 -0
  287. package/dist/collection/components/feedback/au-toast/au-toast.css +150 -0
  288. package/dist/collection/components/feedback/au-toast/au-toast.js +145 -0
  289. package/dist/collection/components/feedback/au-toast/au-toast.service.js +140 -0
  290. package/dist/collection/components/feedback/au-toast/au-toast.types.js +1 -0
  291. package/dist/collection/components/feedback/au-toast/index.js +2 -0
  292. package/dist/collection/components/feedback/au-toast-region/au-toast-region.css +71 -0
  293. package/dist/collection/components/feedback/au-toast-region/au-toast-region.js +653 -0
  294. package/dist/collection/components/feedback/au-toast-region/index.js +2 -0
  295. package/dist/collection/components/feedback/internal/toast-announcer.js +5 -0
  296. package/dist/collection/components/feedback/internal/toast-constants.js +52 -0
  297. package/dist/collection/components/feedback/internal/toast-options.js +64 -0
  298. package/dist/collection/components/feedback/internal/toast-popover.js +22 -0
  299. package/dist/collection/components/feedback/internal/toast-queue.js +74 -0
  300. package/dist/collection/components/feedback/internal/toast-registry.js +24 -0
  301. package/dist/collection/components/feedback/internal/toast-request.js +6 -0
  302. package/dist/collection/components/feedback/internal/toast-timers.js +61 -0
  303. package/dist/collection/components/feedback/internal/toast-timing.js +5 -0
  304. package/dist/collection/components/feedback/internal/toast-types.js +1 -0
  305. package/dist/collection/components/forms/au-checkbox/au-checkbox.constants.js +2 -0
  306. package/dist/collection/components/forms/au-checkbox/au-checkbox.css +212 -0
  307. package/dist/collection/components/forms/au-checkbox/au-checkbox.js +468 -0
  308. package/dist/collection/components/forms/au-checkbox/au-checkbox.types.js +1 -0
  309. package/dist/collection/components/forms/au-checkbox/index.js +2 -0
  310. package/dist/collection/components/forms/au-combobox/au-combobox.constants.js +26 -0
  311. package/dist/collection/components/forms/au-combobox/au-combobox.css +374 -0
  312. package/dist/collection/components/forms/au-combobox/au-combobox.js +1165 -0
  313. package/dist/collection/components/forms/au-combobox/au-combobox.types.js +1 -0
  314. package/dist/collection/components/forms/au-combobox/index.js +2 -0
  315. package/dist/collection/components/forms/au-field/au-field.css +78 -0
  316. package/dist/collection/components/forms/au-field/au-field.js +195 -0
  317. package/dist/collection/components/forms/au-field/index.js +1 -0
  318. package/dist/collection/components/forms/au-input/au-input.constants.js +35 -0
  319. package/dist/collection/components/forms/au-input/au-input.css +195 -0
  320. package/dist/collection/components/forms/au-input/au-input.js +845 -0
  321. package/dist/collection/components/forms/au-input/au-input.types.js +1 -0
  322. package/dist/collection/components/forms/au-input/index.js +2 -0
  323. package/dist/collection/components/forms/au-label/au-label.constants.js +7 -0
  324. package/dist/collection/components/forms/au-label/au-label.css +38 -0
  325. package/dist/collection/components/forms/au-label/au-label.js +109 -0
  326. package/dist/collection/components/forms/au-label/au-label.types.js +1 -0
  327. package/dist/collection/components/forms/au-label/index.js +2 -0
  328. package/dist/collection/components/forms/au-number-input/au-number-input.constants.js +15 -0
  329. package/dist/collection/components/forms/au-number-input/au-number-input.css +276 -0
  330. package/dist/collection/components/forms/au-number-input/au-number-input.js +711 -0
  331. package/dist/collection/components/forms/au-number-input/au-number-input.types.js +1 -0
  332. package/dist/collection/components/forms/au-number-input/index.js +2 -0
  333. package/dist/collection/components/forms/au-radio/au-radio.constants.js +2 -0
  334. package/dist/collection/components/forms/au-radio/au-radio.css +126 -0
  335. package/dist/collection/components/forms/au-radio/au-radio.js +129 -0
  336. package/dist/collection/components/forms/au-radio/au-radio.types.js +1 -0
  337. package/dist/collection/components/forms/au-radio/index.js +2 -0
  338. package/dist/collection/components/forms/au-radio-group/au-radio-group.constants.js +6 -0
  339. package/dist/collection/components/forms/au-radio-group/au-radio-group.css +67 -0
  340. package/dist/collection/components/forms/au-radio-group/au-radio-group.js +643 -0
  341. package/dist/collection/components/forms/au-radio-group/au-radio-group.types.js +1 -0
  342. package/dist/collection/components/forms/au-radio-group/index.js +2 -0
  343. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.constants.js +26 -0
  344. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.css +92 -0
  345. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.js +916 -0
  346. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.types.js +1 -0
  347. package/dist/collection/components/forms/au-segmented-control/index.js +2 -0
  348. package/dist/collection/components/forms/au-segmented-option/au-segmented-option.css +103 -0
  349. package/dist/collection/components/forms/au-segmented-option/au-segmented-option.js +191 -0
  350. package/dist/collection/components/forms/au-segmented-option/au-segmented-option.types.js +1 -0
  351. package/dist/collection/components/forms/au-segmented-option/index.js +1 -0
  352. package/dist/collection/components/forms/au-select/au-select.constants.js +7 -0
  353. package/dist/collection/components/forms/au-select/au-select.css +194 -0
  354. package/dist/collection/components/forms/au-select/au-select.js +589 -0
  355. package/dist/collection/components/forms/au-select/au-select.types.js +1 -0
  356. package/dist/collection/components/forms/au-select/index.js +2 -0
  357. package/dist/collection/components/forms/au-select/internal/read-select-options.js +45 -0
  358. package/dist/collection/components/forms/au-slider/au-slider.constants.js +11 -0
  359. package/dist/collection/components/forms/au-slider/au-slider.css +296 -0
  360. package/dist/collection/components/forms/au-slider/au-slider.js +675 -0
  361. package/dist/collection/components/forms/au-slider/au-slider.types.js +1 -0
  362. package/dist/collection/components/forms/au-slider/index.js +2 -0
  363. package/dist/collection/components/forms/au-switch/au-switch.constants.js +2 -0
  364. package/dist/collection/components/forms/au-switch/au-switch.css +201 -0
  365. package/dist/collection/components/forms/au-switch/au-switch.js +440 -0
  366. package/dist/collection/components/forms/au-switch/au-switch.types.js +1 -0
  367. package/dist/collection/components/forms/au-switch/index.js +2 -0
  368. package/dist/collection/components/forms/au-textarea/au-textarea.constants.js +16 -0
  369. package/dist/collection/components/forms/au-textarea/au-textarea.css +187 -0
  370. package/dist/collection/components/forms/au-textarea/au-textarea.js +694 -0
  371. package/dist/collection/components/forms/au-textarea/au-textarea.types.js +1 -0
  372. package/dist/collection/components/forms/au-textarea/index.js +2 -0
  373. package/dist/collection/components/forms/internal/combobox.js +86 -0
  374. package/dist/collection/components/forms/internal/number-input.js +54 -0
  375. package/dist/collection/components/forms/internal/segmented.js +43 -0
  376. package/dist/collection/components/forms/internal/slider.js +76 -0
  377. package/dist/collection/components/layout/au-container/au-container.constants.js +22 -0
  378. package/dist/collection/components/layout/au-container/au-container.css +109 -0
  379. package/dist/collection/components/layout/au-container/au-container.js +144 -0
  380. package/dist/collection/components/layout/au-container/au-container.types.js +1 -0
  381. package/dist/collection/components/layout/au-container/index.js +2 -0
  382. package/dist/collection/components/layout/au-divider/au-divider.constants.js +23 -0
  383. package/dist/collection/components/layout/au-divider/au-divider.css +73 -0
  384. package/dist/collection/components/layout/au-divider/au-divider.js +194 -0
  385. package/dist/collection/components/layout/au-divider/au-divider.types.js +1 -0
  386. package/dist/collection/components/layout/au-divider/index.js +2 -0
  387. package/dist/collection/components/layout/au-splitter/au-splitter.constants.js +9 -0
  388. package/dist/collection/components/layout/au-splitter/au-splitter.css +168 -0
  389. package/dist/collection/components/layout/au-splitter/au-splitter.js +376 -0
  390. package/dist/collection/components/layout/au-splitter/au-splitter.types.js +1 -0
  391. package/dist/collection/components/layout/au-splitter/index.js +2 -0
  392. package/dist/collection/components/layout/internal/splitter.js +27 -0
  393. package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.constants.js +4 -0
  394. package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.css +20 -0
  395. package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.js +110 -0
  396. package/dist/collection/components/navigation/au-breadcrumb/index.js +2 -0
  397. package/dist/collection/components/navigation/au-breadcrumb-item/au-breadcrumb-item.css +127 -0
  398. package/dist/collection/components/navigation/au-breadcrumb-item/au-breadcrumb-item.js +186 -0
  399. package/dist/collection/components/navigation/au-breadcrumb-item/index.js +1 -0
  400. package/dist/collection/components/navigation/au-nav-group/au-nav-group.css +137 -0
  401. package/dist/collection/components/navigation/au-nav-group/au-nav-group.js +96 -0
  402. package/dist/collection/components/navigation/au-nav-group/index.js +1 -0
  403. package/dist/collection/components/navigation/au-nav-link/au-nav-link.css +128 -0
  404. package/dist/collection/components/navigation/au-nav-link/au-nav-link.js +205 -0
  405. package/dist/collection/components/navigation/au-nav-link/index.js +1 -0
  406. package/dist/collection/components/navigation/au-navbar/au-navbar.constants.js +40 -0
  407. package/dist/collection/components/navigation/au-navbar/au-navbar.css +185 -0
  408. package/dist/collection/components/navigation/au-navbar/au-navbar.js +409 -0
  409. package/dist/collection/components/navigation/au-navbar/au-navbar.types.js +1 -0
  410. package/dist/collection/components/navigation/au-navbar/index.js +2 -0
  411. package/dist/collection/components/navigation/au-navbar/internal/collapse.js +14 -0
  412. package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.constants.js +2 -0
  413. package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.css +29 -0
  414. package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.js +251 -0
  415. package/dist/collection/components/navigation/au-sidebar-nav/index.js +2 -0
  416. package/dist/collection/components/navigation/au-tab/au-tab.css +84 -0
  417. package/dist/collection/components/navigation/au-tab/au-tab.js +107 -0
  418. package/dist/collection/components/navigation/au-tab/index.js +1 -0
  419. package/dist/collection/components/navigation/au-tab-panel/au-tab-panel.css +20 -0
  420. package/dist/collection/components/navigation/au-tab-panel/au-tab-panel.js +134 -0
  421. package/dist/collection/components/navigation/au-tab-panel/index.js +1 -0
  422. package/dist/collection/components/navigation/au-tabs/au-tabs.constants.js +12 -0
  423. package/dist/collection/components/navigation/au-tabs/au-tabs.css +107 -0
  424. package/dist/collection/components/navigation/au-tabs/au-tabs.js +554 -0
  425. package/dist/collection/components/navigation/au-tabs/au-tabs.types.js +1 -0
  426. package/dist/collection/components/navigation/au-tabs/index.js +2 -0
  427. package/dist/collection/components/navigation/au-tabs/internal/indicator-geometry.js +18 -0
  428. package/dist/collection/components/navigation/au-toc/au-toc.constants.js +6 -0
  429. package/dist/collection/components/navigation/au-toc/au-toc.css +107 -0
  430. package/dist/collection/components/navigation/au-toc/au-toc.js +462 -0
  431. package/dist/collection/components/navigation/au-toc/index.js +2 -0
  432. package/dist/collection/components/navigation/au-toc/internal/toc-model.js +89 -0
  433. package/dist/collection/components/navigation/internal/reveal.js +65 -0
  434. package/dist/collection/components/overlays/au-dialog/au-dialog.constants.js +29 -0
  435. package/dist/collection/components/overlays/au-dialog/au-dialog.css +324 -0
  436. package/dist/collection/components/overlays/au-dialog/au-dialog.js +618 -0
  437. package/dist/collection/components/overlays/au-dialog/au-dialog.types.js +1 -0
  438. package/dist/collection/components/overlays/au-dialog/index.js +2 -0
  439. package/dist/collection/components/overlays/au-menu/au-menu.constants.js +37 -0
  440. package/dist/collection/components/overlays/au-menu/au-menu.css +163 -0
  441. package/dist/collection/components/overlays/au-menu/au-menu.js +507 -0
  442. package/dist/collection/components/overlays/au-menu/au-menu.types.js +1 -0
  443. package/dist/collection/components/overlays/au-menu/index.js +2 -0
  444. package/dist/collection/components/overlays/au-menu-item/au-menu-item.css +127 -0
  445. package/dist/collection/components/overlays/au-menu-item/au-menu-item.js +185 -0
  446. package/dist/collection/components/overlays/au-menu-item/au-menu-item.types.js +1 -0
  447. package/dist/collection/components/overlays/au-menu-item/index.js +1 -0
  448. package/dist/collection/components/overlays/au-popover/au-popover.constants.js +24 -0
  449. package/dist/collection/components/overlays/au-popover/au-popover.css +149 -0
  450. package/dist/collection/components/overlays/au-popover/au-popover.js +253 -0
  451. package/dist/collection/components/overlays/au-popover/au-popover.types.js +1 -0
  452. package/dist/collection/components/overlays/au-popover/index.js +2 -0
  453. package/dist/collection/components/overlays/au-tooltip/au-tooltip.constants.js +19 -0
  454. package/dist/collection/components/overlays/au-tooltip/au-tooltip.css +144 -0
  455. package/dist/collection/components/overlays/au-tooltip/au-tooltip.js +517 -0
  456. package/dist/collection/components/overlays/au-tooltip/index.js +2 -0
  457. package/dist/collection/components/overlays/internal/menu.js +34 -0
  458. package/dist/collection/components/overlays/internal/popover-controller.js +233 -0
  459. package/dist/collection/components/overlays/internal/typeahead.js +28 -0
  460. package/dist/collection/components/primitives/au-icon/au-icon.constants.js +3 -0
  461. package/dist/collection/components/primitives/au-icon/au-icon.css +36 -0
  462. package/dist/collection/components/primitives/au-icon/au-icon.js +367 -0
  463. package/dist/collection/components/primitives/au-icon/au-icon.types.js +1 -0
  464. package/dist/collection/components/primitives/au-icon/core-icons.js +22 -0
  465. package/dist/collection/components/primitives/au-icon/icon-loader.js +76 -0
  466. package/dist/collection/components/primitives/au-icon/index.js +1 -0
  467. package/dist/collection/foundations/constants/constants.generated.mjs +119 -0
  468. package/dist/collection/foundations/constants/index.js +2 -0
  469. package/dist/collection/foundations/constants/resolve-size.js +9 -0
  470. package/dist/collection/foundations/icons/autoload.js +21 -0
  471. package/dist/collection/foundations/icons/icon-autoload-hook.js +13 -0
  472. package/dist/collection/foundations/icons/icon-registry.js +147 -0
  473. package/dist/collection/foundations/icons/icon-sizes.js +8 -0
  474. package/dist/collection/foundations/icons/icon-slug.js +26 -0
  475. package/dist/collection/foundations/icons/icon.constants.generated.js +2284 -0
  476. package/dist/collection/foundations/icons/icon.constants.js +18 -0
  477. package/dist/collection/foundations/icons/icon.types.js +1 -0
  478. package/dist/collection/foundations/icons/index.js +3 -0
  479. package/dist/collection/foundations/icons/mdi-map.js +86 -0
  480. package/dist/collection/foundations/icons/register-lucide-icons.js +30 -0
  481. package/dist/collection/foundations/themes/theme.js +161 -0
  482. package/dist/collection/foundations/tokens/index.js +2 -0
  483. package/dist/collection/foundations/tokens/tokens.generated.mjs +178 -0
  484. package/dist/collection/index.js +10 -0
  485. package/dist/collection/integrations/basics/index.js +2 -0
  486. package/dist/collection/integrations/basics/is-plain-object.js +1 -0
  487. package/dist/collection/integrations/flux/index.js +1 -0
  488. package/dist/collection/integrations/flux/loader.js +66 -0
  489. package/dist/collection/integrations/flux/provide.js +16 -0
  490. package/dist/collection/integrations/flux/registry.js +42 -0
  491. package/dist/collection/shared/anchored/anchor-position.js +101 -0
  492. package/dist/collection/shared/anchored/js-positioning.js +113 -0
  493. package/dist/collection/shared/anchored/popover-support.js +30 -0
  494. package/dist/collection/shared/clipboard/clipboard.js +14 -0
  495. package/dist/collection/shared/clipboard/copy-procedure.js +189 -0
  496. package/dist/collection/shared/clipboard/copy-types.js +15 -0
  497. package/dist/collection/shared/focus/deep-active-element.js +7 -0
  498. package/dist/collection/shared/focus/index.js +1 -0
  499. package/dist/collection/shared/form-control/attributes.js +25 -0
  500. package/dist/collection/shared/form-control/checkable.js +4 -0
  501. package/dist/collection/shared/form-control/control-id.js +11 -0
  502. package/dist/collection/shared/form-control/described-by.js +5 -0
  503. package/dist/collection/shared/form-control/form-control-controller.js +88 -0
  504. package/dist/collection/shared/form-control/group-validity.js +7 -0
  505. package/dist/collection/shared/form-control/host-events.js +19 -0
  506. package/dist/collection/shared/form-control/index.js +10 -0
  507. package/dist/collection/shared/form-control/initial-value.js +9 -0
  508. package/dist/collection/shared/form-control/restore.js +12 -0
  509. package/dist/collection/shared/form-control/validation-message.js +12 -0
  510. package/dist/collection/shared/live-announcer/announce-queue.js +141 -0
  511. package/dist/collection/shared/live-announcer/announce-timing.js +12 -0
  512. package/dist/collection/shared/live-announcer/index.js +1 -0
  513. package/dist/collection/shared/live-announcer/live-announcer.js +150 -0
  514. package/dist/collection/shared/live-announcer/public.js +6 -0
  515. package/dist/collection/shared/modal-placement.js +42 -0
  516. package/dist/collection/shared/modal-target.js +59 -0
  517. package/dist/collection/shared/navigation/index.js +2 -0
  518. package/dist/collection/shared/navigation/link-state.js +34 -0
  519. package/dist/collection/shared/navigation/navigation.js +56 -0
  520. package/dist/collection/shared/observers/index.js +180 -0
  521. package/dist/collection/shared/roving-focus/index.js +2 -0
  522. package/dist/collection/shared/roving-focus/item-update.js +11 -0
  523. package/dist/collection/shared/roving-focus/roving.js +65 -0
  524. package/dist/collection/shared/warn-once.js +17 -0
  525. package/dist/components/au-accordion-item.d.ts +11 -0
  526. package/dist/components/au-accordion-item.js +1 -0
  527. package/dist/components/au-accordion.d.ts +11 -0
  528. package/dist/components/au-accordion.js +1 -0
  529. package/dist/components/au-alert.d.ts +11 -0
  530. package/dist/components/au-alert.js +1 -0
  531. package/dist/components/au-avatar.d.ts +11 -0
  532. package/dist/components/au-avatar.js +1 -0
  533. package/dist/components/au-badge.d.ts +11 -0
  534. package/dist/components/au-badge.js +1 -0
  535. package/dist/components/au-breadcrumb-item.d.ts +11 -0
  536. package/dist/components/au-breadcrumb-item.js +1 -0
  537. package/dist/components/au-breadcrumb.d.ts +11 -0
  538. package/dist/components/au-breadcrumb.js +1 -0
  539. package/dist/components/au-button.d.ts +11 -0
  540. package/dist/components/au-button.js +1 -0
  541. package/dist/components/au-card.d.ts +11 -0
  542. package/dist/components/au-card.js +1 -0
  543. package/dist/components/au-checkbox.d.ts +11 -0
  544. package/dist/components/au-checkbox.js +1 -0
  545. package/dist/components/au-chip.d.ts +11 -0
  546. package/dist/components/au-chip.js +1 -0
  547. package/dist/components/au-code-block.d.ts +11 -0
  548. package/dist/components/au-code-block.js +1 -0
  549. package/dist/components/au-combobox.d.ts +11 -0
  550. package/dist/components/au-combobox.js +1 -0
  551. package/dist/components/au-container.d.ts +11 -0
  552. package/dist/components/au-container.js +1 -0
  553. package/dist/components/au-dialog.d.ts +11 -0
  554. package/dist/components/au-dialog.js +1 -0
  555. package/dist/components/au-divider.d.ts +11 -0
  556. package/dist/components/au-divider.js +1 -0
  557. package/dist/components/au-field.d.ts +11 -0
  558. package/dist/components/au-field.js +1 -0
  559. package/dist/components/au-icon.d.ts +11 -0
  560. package/dist/components/au-icon.js +1 -0
  561. package/dist/components/au-input.d.ts +11 -0
  562. package/dist/components/au-input.js +1 -0
  563. package/dist/components/au-kbd.d.ts +11 -0
  564. package/dist/components/au-kbd.js +1 -0
  565. package/dist/components/au-label.d.ts +11 -0
  566. package/dist/components/au-label.js +1 -0
  567. package/dist/components/au-list-item.d.ts +11 -0
  568. package/dist/components/au-list-item.js +1 -0
  569. package/dist/components/au-list.d.ts +11 -0
  570. package/dist/components/au-list.js +1 -0
  571. package/dist/components/au-menu-item.d.ts +11 -0
  572. package/dist/components/au-menu-item.js +1 -0
  573. package/dist/components/au-menu.d.ts +11 -0
  574. package/dist/components/au-menu.js +1 -0
  575. package/dist/components/au-nav-group.d.ts +11 -0
  576. package/dist/components/au-nav-group.js +1 -0
  577. package/dist/components/au-nav-link.d.ts +11 -0
  578. package/dist/components/au-nav-link.js +1 -0
  579. package/dist/components/au-navbar.d.ts +11 -0
  580. package/dist/components/au-navbar.js +1 -0
  581. package/dist/components/au-number-input.d.ts +11 -0
  582. package/dist/components/au-number-input.js +1 -0
  583. package/dist/components/au-popover.d.ts +11 -0
  584. package/dist/components/au-popover.js +1 -0
  585. package/dist/components/au-progress.d.ts +11 -0
  586. package/dist/components/au-progress.js +1 -0
  587. package/dist/components/au-radio-group.d.ts +11 -0
  588. package/dist/components/au-radio-group.js +1 -0
  589. package/dist/components/au-radio.d.ts +11 -0
  590. package/dist/components/au-radio.js +1 -0
  591. package/dist/components/au-segmented-control.d.ts +11 -0
  592. package/dist/components/au-segmented-control.js +1 -0
  593. package/dist/components/au-segmented-option.d.ts +11 -0
  594. package/dist/components/au-segmented-option.js +1 -0
  595. package/dist/components/au-select.d.ts +11 -0
  596. package/dist/components/au-select.js +1 -0
  597. package/dist/components/au-sidebar-nav.d.ts +11 -0
  598. package/dist/components/au-sidebar-nav.js +1 -0
  599. package/dist/components/au-skeleton.d.ts +11 -0
  600. package/dist/components/au-skeleton.js +1 -0
  601. package/dist/components/au-slider.d.ts +11 -0
  602. package/dist/components/au-slider.js +1 -0
  603. package/dist/components/au-splitter.d.ts +11 -0
  604. package/dist/components/au-splitter.js +1 -0
  605. package/dist/components/au-stat.d.ts +11 -0
  606. package/dist/components/au-stat.js +1 -0
  607. package/dist/components/au-switch.d.ts +11 -0
  608. package/dist/components/au-switch.js +1 -0
  609. package/dist/components/au-tab-panel.d.ts +11 -0
  610. package/dist/components/au-tab-panel.js +1 -0
  611. package/dist/components/au-tab.d.ts +11 -0
  612. package/dist/components/au-tab.js +1 -0
  613. package/dist/components/au-table.d.ts +11 -0
  614. package/dist/components/au-table.js +1 -0
  615. package/dist/components/au-tabs.d.ts +11 -0
  616. package/dist/components/au-tabs.js +1 -0
  617. package/dist/components/au-textarea.d.ts +11 -0
  618. package/dist/components/au-textarea.js +1 -0
  619. package/dist/components/au-toast-region.d.ts +11 -0
  620. package/dist/components/au-toast-region.js +1 -0
  621. package/dist/components/au-toast.d.ts +11 -0
  622. package/dist/components/au-toast.js +1 -0
  623. package/dist/components/au-toc.d.ts +11 -0
  624. package/dist/components/au-toc.js +1 -0
  625. package/dist/components/au-tooltip.d.ts +11 -0
  626. package/dist/components/au-tooltip.js +1 -0
  627. package/dist/components/index.d.ts +35 -0
  628. package/dist/components/index.js +1 -0
  629. package/dist/components/p-B3rlZvSP.js +7 -0
  630. package/dist/components/p-B5BhPkwP.js +1 -0
  631. package/dist/components/p-B71krpcd.js +1 -0
  632. package/dist/components/p-BTRtOC1j.js +1 -0
  633. package/dist/components/p-BTZwl4uD.js +7 -0
  634. package/dist/components/p-BvnCPjl5.js +1 -0
  635. package/dist/components/p-C-bRwiWx.js +1 -0
  636. package/dist/components/p-C2iVoG0G.js +1 -0
  637. package/dist/components/p-C48ks26E.js +1 -0
  638. package/dist/components/p-C6E5E18W.js +7 -0
  639. package/dist/components/p-CA3n-tpF.js +7 -0
  640. package/dist/components/p-CIZeCYao.js +1 -0
  641. package/dist/components/p-CJtRxiuh.js +7 -0
  642. package/dist/components/p-CU9sZ49I.js +7 -0
  643. package/dist/components/p-CfazOBmW.js +1 -0
  644. package/dist/components/p-Ci-XzGE3.js +1 -0
  645. package/dist/components/p-CnJOd66V.js +7 -0
  646. package/dist/components/p-Cq5N0E4D.js +7 -0
  647. package/dist/components/p-CrKUXDm4.js +1 -0
  648. package/dist/components/p-DBHfOAQc.js +1 -0
  649. package/dist/components/p-DD6GCVQb.js +1 -0
  650. package/dist/components/p-DMeUBbqF.js +7 -0
  651. package/dist/components/p-DTEnois3.js +7 -0
  652. package/dist/components/p-DTeHrc-Q.js +1 -0
  653. package/dist/components/p-DgfWQsck.js +1 -0
  654. package/dist/components/p-DjW6oMgu.js +7 -0
  655. package/dist/components/p-Dogh3-Bf.js +1 -0
  656. package/dist/components/p-DqAwSryz.js +1 -0
  657. package/dist/components/p-DqqWqhAT.js +1 -0
  658. package/dist/components/p-Dv3Jcvbc.js +1 -0
  659. package/dist/components/p-Dw0zb4x_.js +1 -0
  660. package/dist/components/p-JU60IJxn.js +1 -0
  661. package/dist/components/p-TdUs41zm.js +1 -0
  662. package/dist/components/p-ZpauIcNt.js +1 -0
  663. package/dist/components/p-gvyxpLwV.js +1 -0
  664. package/dist/components/p-kEvQ5xF7.js +1 -0
  665. package/dist/components/p-kbAXs-sG.js +7 -0
  666. package/dist/components/p-klxij34W.js +1 -0
  667. package/dist/components/p-kpQFQ7bu.js +7 -0
  668. package/dist/components/p-tdx7CCkD.js +7 -0
  669. package/dist/components/p-vjn4H-yX.js +1 -0
  670. package/dist/custom-elements.json +11216 -0
  671. package/dist/esm/accordion-CfazOBmW.js +33 -0
  672. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  673. package/dist/esm/attributes-CrKUXDm4.js +27 -0
  674. package/dist/esm/au-accordion-item.entry.js +86 -0
  675. package/dist/esm/au-accordion.entry.js +98 -0
  676. package/dist/esm/au-alert.entry.js +115 -0
  677. package/dist/esm/au-avatar.entry.js +175 -0
  678. package/dist/esm/au-badge.entry.js +58 -0
  679. package/dist/esm/au-breadcrumb-item.entry.js +82 -0
  680. package/dist/esm/au-breadcrumb.entry.js +78 -0
  681. package/dist/esm/au-button.entry.js +326 -0
  682. package/dist/esm/au-card.entry.js +74 -0
  683. package/dist/esm/au-checkbox.entry.js +181 -0
  684. package/dist/esm/au-chip.entry.js +247 -0
  685. package/dist/esm/au-code-block.entry.js +676 -0
  686. package/dist/esm/au-combobox.entry.js +753 -0
  687. package/dist/esm/au-container.entry.js +56 -0
  688. package/dist/esm/au-dialog.entry.js +375 -0
  689. package/dist/esm/au-divider.entry.js +104 -0
  690. package/dist/esm/au-field.entry.js +183 -0
  691. package/dist/esm/au-icon-6iJTkDID.js +344 -0
  692. package/dist/esm/au-icon.entry.js +3 -0
  693. package/dist/esm/au-input.entry.js +310 -0
  694. package/dist/esm/au-kbd.entry.js +353 -0
  695. package/dist/esm/au-label.entry.js +43 -0
  696. package/dist/esm/au-list-item.entry.js +193 -0
  697. package/dist/esm/au-list.entry.js +76 -0
  698. package/dist/esm/au-menu-item.entry.js +69 -0
  699. package/dist/esm/au-menu.entry.js +345 -0
  700. package/dist/esm/au-nav-group.entry.js +48 -0
  701. package/dist/esm/au-nav-link.entry.js +82 -0
  702. package/dist/esm/au-navbar.entry.js +304 -0
  703. package/dist/esm/au-number-input.entry.js +348 -0
  704. package/dist/esm/au-popover.entry.js +128 -0
  705. package/dist/esm/au-progress.entry.js +105 -0
  706. package/dist/esm/au-radio-group.entry.js +346 -0
  707. package/dist/esm/au-radio.entry.js +43 -0
  708. package/dist/esm/au-segmented-control.entry.js +542 -0
  709. package/dist/esm/au-segmented-option.entry.js +76 -0
  710. package/dist/esm/au-select.entry.js +334 -0
  711. package/dist/esm/au-sidebar-nav.entry.js +176 -0
  712. package/dist/esm/au-skeleton.entry.js +104 -0
  713. package/dist/esm/au-slider.entry.js +284 -0
  714. package/dist/esm/au-splitter.entry.js +228 -0
  715. package/dist/esm/au-stat.entry.js +260 -0
  716. package/dist/esm/au-switch.entry.js +173 -0
  717. package/dist/esm/au-tab-panel.entry.js +61 -0
  718. package/dist/esm/au-tab.entry.js +39 -0
  719. package/dist/esm/au-table.entry.js +335 -0
  720. package/dist/esm/au-tabs.entry.js +404 -0
  721. package/dist/esm/au-textarea.entry.js +243 -0
  722. package/dist/esm/au-toast-region.entry.js +690 -0
  723. package/dist/esm/au-toast.entry.js +61 -0
  724. package/dist/esm/au-toc.entry.js +443 -0
  725. package/dist/esm/au-tooltip.entry.js +393 -0
  726. package/dist/esm/aurora.js +21 -0
  727. package/dist/esm/check-CnJOd66V.js +14 -0
  728. package/dist/esm/checkable-kEvQ5xF7.js +6 -0
  729. package/dist/esm/circle-check-kpQFQ7bu.js +18 -0
  730. package/dist/esm/circle-x-tdx7CCkD.js +19 -0
  731. package/dist/esm/constants.generated-DqqWqhAT.js +120 -0
  732. package/dist/esm/control-id-C48ks26E.js +13 -0
  733. package/dist/esm/copy-B3rlZvSP.js +17 -0
  734. package/dist/esm/copy-check-Cq5N0E4D.js +18 -0
  735. package/dist/esm/deep-active-element-C-bRwiWx.js +9 -0
  736. package/dist/esm/group-validity-C2iVoG0G.js +9 -0
  737. package/dist/esm/icon-loader-B2WSNZ27.js +111 -0
  738. package/dist/esm/index-JU60IJxn.js +155 -0
  739. package/dist/esm/index-KLUZmSN-.js +2304 -0
  740. package/dist/esm/index.js +321 -0
  741. package/dist/esm/info-CA3n-tpF.js +18 -0
  742. package/dist/esm/initial-value-B71krpcd.js +11 -0
  743. package/dist/esm/item-update-DgfWQsck.js +13 -0
  744. package/dist/esm/link-state-DhPKwPml.js +37 -0
  745. package/dist/esm/live-announcer-IAjNBWYI.js +391 -0
  746. package/dist/esm/loader.js +11 -0
  747. package/dist/esm/menu-vjn4H-yX.js +35 -0
  748. package/dist/esm/minus-kbAXs-sG.js +14 -0
  749. package/dist/esm/navigation-TdUs41zm.js +58 -0
  750. package/dist/esm/octagon-alert-DTEnois3.js +25 -0
  751. package/dist/esm/plus-CU9sZ49I.js +17 -0
  752. package/dist/esm/popover-controller-DUrPFfIx.js +235 -0
  753. package/dist/esm/popover-support-DBHfOAQc.js +247 -0
  754. package/dist/esm/resolve-size-DD6GCVQb.js +11 -0
  755. package/dist/esm/restore-gvyxpLwV.js +141 -0
  756. package/dist/esm/reveal-BvnCPjl5.js +67 -0
  757. package/dist/esm/roving-Dogh3-Bf.js +67 -0
  758. package/dist/esm/segmented-BTRtOC1j.js +45 -0
  759. package/dist/esm/slider-CIZeCYao.js +78 -0
  760. package/dist/esm/toast-request-Kwv9rt06.js +55 -0
  761. package/dist/esm/trending-down-DjW6oMgu.js +17 -0
  762. package/dist/esm/trending-up-DMeUBbqF.js +17 -0
  763. package/dist/esm/triangle-alert-CJtRxiuh.js +25 -0
  764. package/dist/esm/user-round-C6E5E18W.js +18 -0
  765. package/dist/esm/warn-once-Ci-XzGE3.js +19 -0
  766. package/dist/esm/x-BTZwl4uD.js +17 -0
  767. package/dist/foundations/accessibility/_index.scss +34 -0
  768. package/dist/foundations/constants/_config.scss +119 -0
  769. package/dist/foundations/constants/_index.scss +1 -0
  770. package/dist/foundations/interactions/_index.scss +19 -0
  771. package/dist/foundations/responsive/_breakpoints.scss +104 -0
  772. package/dist/foundations/responsive/_index.scss +1 -0
  773. package/dist/foundations/themes/_dark.scss +60 -0
  774. package/dist/foundations/themes/_default.scss +37 -0
  775. package/dist/foundations/themes/_glass.scss +98 -0
  776. package/dist/foundations/themes/_index.scss +2 -0
  777. package/dist/foundations/themes/_minimal.scss +54 -0
  778. package/dist/foundations/tokens/_config.scss +186 -0
  779. package/dist/foundations/tokens/_functions.scss +19 -0
  780. package/dist/foundations/tokens/_index.scss +3 -0
  781. package/dist/foundations/tokens/_runtime.scss +102 -0
  782. package/dist/foundations/utilities/_borders.scss +116 -0
  783. package/dist/foundations/utilities/_colors.scss +17 -0
  784. package/dist/foundations/utilities/_flex.scss +144 -0
  785. package/dist/foundations/utilities/_grid.scss +105 -0
  786. package/dist/foundations/utilities/_index.scss +92 -0
  787. package/dist/foundations/utilities/_positioning.scss +44 -0
  788. package/dist/foundations/utilities/_sizing.scss +38 -0
  789. package/dist/foundations/utilities/_spacing.scss +119 -0
  790. package/dist/foundations/utilities/_typography.scss +85 -0
  791. package/dist/icons/foundations/icons/autoload.d.ts +9 -0
  792. package/dist/icons/foundations/icons/autoload.js +21 -0
  793. package/dist/icons/foundations/icons/icon-autoload-hook.d.ts +14 -0
  794. package/dist/icons/foundations/icons/icon-autoload-hook.js +13 -0
  795. package/dist/icons/foundations/icons/icon-registry.d.ts +11 -0
  796. package/dist/icons/foundations/icons/icon-registry.js +147 -0
  797. package/dist/icons/foundations/icons/icon-sizes.d.ts +8 -0
  798. package/dist/icons/foundations/icons/icon-sizes.js +8 -0
  799. package/dist/icons/foundations/icons/icon-slug.d.ts +6 -0
  800. package/dist/icons/foundations/icons/icon-slug.js +26 -0
  801. package/dist/icons/foundations/icons/icon.constants.d.ts +14 -0
  802. package/dist/icons/foundations/icons/icon.constants.generated.d.ts +2281 -0
  803. package/dist/icons/foundations/icons/icon.constants.generated.js +2284 -0
  804. package/dist/icons/foundations/icons/icon.constants.js +18 -0
  805. package/dist/icons/foundations/icons/icon.types.d.ts +21 -0
  806. package/dist/icons/foundations/icons/icon.types.js +1 -0
  807. package/dist/icons/foundations/icons/index.d.ts +5 -0
  808. package/dist/icons/foundations/icons/index.js +3 -0
  809. package/dist/icons/foundations/icons/mdi-map.d.ts +92 -0
  810. package/dist/icons/foundations/icons/mdi-map.js +86 -0
  811. package/dist/icons/foundations/icons/register-lucide-icons.d.ts +14 -0
  812. package/dist/icons/foundations/icons/register-lucide-icons.js +30 -0
  813. package/dist/icons/index.d.ts +2 -0
  814. package/dist/icons/index.js +2 -0
  815. package/dist/icons/integrations/basics/index.d.ts +2 -0
  816. package/dist/icons/integrations/basics/index.js +2 -0
  817. package/dist/icons/integrations/basics/is-plain-object.d.ts +1 -0
  818. package/dist/icons/integrations/basics/is-plain-object.js +1 -0
  819. package/dist/icons/package.json +3 -0
  820. package/dist/index.cjs.js +1 -0
  821. package/dist/index.js +1 -0
  822. package/dist/scss/index.scss +4 -0
  823. package/dist/scss/interactions.scss +1 -0
  824. package/dist/scss/responsive.scss +2 -0
  825. package/dist/scss/themes/dark.scss +1 -0
  826. package/dist/scss/themes/default.scss +1 -0
  827. package/dist/scss/themes/glass.scss +1 -0
  828. package/dist/scss/themes/minimal.scss +1 -0
  829. package/dist/scss/tokens.scss +1 -0
  830. package/dist/scss/utilities/_index.scss +5 -0
  831. package/dist/scss/utilities/borders.scss +3 -0
  832. package/dist/scss/utilities/colors.scss +2 -0
  833. package/dist/scss/utilities/flex.scss +1 -0
  834. package/dist/scss/utilities/grid.scss +1 -0
  835. package/dist/scss/utilities/positioning.scss +2 -0
  836. package/dist/scss/utilities/sizing.scss +3 -0
  837. package/dist/scss/utilities/spacing.scss +3 -0
  838. package/dist/scss/utilities/typography.scss +3 -0
  839. package/dist/styles.css +402 -0
  840. package/dist/themes/glass.css +88 -0
  841. package/dist/themes/minimal.css +50 -0
  842. package/dist/tokens.cjs +38 -0
  843. package/dist/tokens.d.ts +337 -0
  844. package/dist/tokens.mjs +35 -0
  845. package/dist/types/components/actions/au-button/au-button.constants.d.ts +57 -0
  846. package/dist/types/components/actions/au-button/au-button.d.ts +93 -0
  847. package/dist/types/components/actions/au-button/au-button.types.d.ts +9 -0
  848. package/dist/types/components/actions/au-button/index.d.ts +2 -0
  849. package/dist/types/components/data-display/au-accordion/au-accordion.constants.d.ts +12 -0
  850. package/dist/types/components/data-display/au-accordion/au-accordion.d.ts +27 -0
  851. package/dist/types/components/data-display/au-accordion/au-accordion.types.d.ts +1 -0
  852. package/dist/types/components/data-display/au-accordion/index.d.ts +3 -0
  853. package/dist/types/components/data-display/au-accordion-item/au-accordion-item.d.ts +31 -0
  854. package/dist/types/components/data-display/au-accordion-item/index.d.ts +1 -0
  855. package/dist/types/components/data-display/au-avatar/au-avatar.constants.d.ts +26 -0
  856. package/dist/types/components/data-display/au-avatar/au-avatar.d.ts +39 -0
  857. package/dist/types/components/data-display/au-avatar/au-avatar.types.d.ts +1 -0
  858. package/dist/types/components/data-display/au-avatar/index.d.ts +3 -0
  859. package/dist/types/components/data-display/au-avatar/internal/initials.d.ts +7 -0
  860. package/dist/types/components/data-display/au-badge/au-badge.constants.d.ts +43 -0
  861. package/dist/types/components/data-display/au-badge/au-badge.d.ts +15 -0
  862. package/dist/types/components/data-display/au-badge/au-badge.types.d.ts +1 -0
  863. package/dist/types/components/data-display/au-badge/index.d.ts +3 -0
  864. package/dist/types/components/data-display/au-card/au-card.constants.d.ts +29 -0
  865. package/dist/types/components/data-display/au-card/au-card.d.ts +17 -0
  866. package/dist/types/components/data-display/au-card/au-card.types.d.ts +1 -0
  867. package/dist/types/components/data-display/au-card/index.d.ts +3 -0
  868. package/dist/types/components/data-display/au-chip/au-chip.constants.d.ts +23 -0
  869. package/dist/types/components/data-display/au-chip/au-chip.d.ts +46 -0
  870. package/dist/types/components/data-display/au-chip/au-chip.types.d.ts +10 -0
  871. package/dist/types/components/data-display/au-chip/index.d.ts +3 -0
  872. package/dist/types/components/data-display/au-chip/internal/neighbor.d.ts +6 -0
  873. package/dist/types/components/data-display/au-chip/internal/remove-key.d.ts +16 -0
  874. package/dist/types/components/data-display/au-code-block/au-code-block.constants.d.ts +32 -0
  875. package/dist/types/components/data-display/au-code-block/au-code-block.d.ts +89 -0
  876. package/dist/types/components/data-display/au-code-block/au-code-block.types.d.ts +17 -0
  877. package/dist/types/components/data-display/au-code-block/index.d.ts +3 -0
  878. package/dist/types/components/data-display/au-code-block/internal/highlight-lines.d.ts +10 -0
  879. package/dist/types/components/data-display/au-code-block/internal/highlight-result.d.ts +22 -0
  880. package/dist/types/components/data-display/au-code-block/internal/light-source.d.ts +10 -0
  881. package/dist/types/components/data-display/au-code-block/internal/normalize-code.d.ts +9 -0
  882. package/dist/types/components/data-display/au-kbd/au-kbd.constants.d.ts +41 -0
  883. package/dist/types/components/data-display/au-kbd/au-kbd.d.ts +36 -0
  884. package/dist/types/components/data-display/au-kbd/au-kbd.types.d.ts +1 -0
  885. package/dist/types/components/data-display/au-kbd/index.d.ts +3 -0
  886. package/dist/types/components/data-display/au-kbd/internal/describe.d.ts +13 -0
  887. package/dist/types/components/data-display/au-kbd/internal/parse.d.ts +18 -0
  888. package/dist/types/components/data-display/au-kbd/internal/platform.d.ts +13 -0
  889. package/dist/types/components/data-display/au-list/au-list.constants.d.ts +8 -0
  890. package/dist/types/components/data-display/au-list/au-list.d.ts +29 -0
  891. package/dist/types/components/data-display/au-list/au-list.types.d.ts +1 -0
  892. package/dist/types/components/data-display/au-list/index.d.ts +3 -0
  893. package/dist/types/components/data-display/au-list-item/au-list-item.d.ts +61 -0
  894. package/dist/types/components/data-display/au-list-item/index.d.ts +1 -0
  895. package/dist/types/components/data-display/au-list-item/internal/interactive-content.d.ts +2 -0
  896. package/dist/types/components/data-display/au-stat/au-stat.constants.d.ts +44 -0
  897. package/dist/types/components/data-display/au-stat/au-stat.d.ts +67 -0
  898. package/dist/types/components/data-display/au-stat/au-stat.types.d.ts +1 -0
  899. package/dist/types/components/data-display/au-stat/index.d.ts +3 -0
  900. package/dist/types/components/data-display/au-stat/internal/announcement.d.ts +16 -0
  901. package/dist/types/components/data-display/au-table/au-table.constants.d.ts +26 -0
  902. package/dist/types/components/data-display/au-table/au-table.d.ts +86 -0
  903. package/dist/types/components/data-display/au-table/au-table.types.d.ts +1 -0
  904. package/dist/types/components/data-display/au-table/index.d.ts +3 -0
  905. package/dist/types/components/data-display/au-table/internal/scroller-label.d.ts +9 -0
  906. package/dist/types/components/data-display/au-table/internal/sort.d.ts +11 -0
  907. package/dist/types/components/data-display/internal/accordion.d.ts +26 -0
  908. package/dist/types/components/feedback/au-alert/au-alert.constants.d.ts +24 -0
  909. package/dist/types/components/feedback/au-alert/au-alert.d.ts +37 -0
  910. package/dist/types/components/feedback/au-alert/au-alert.types.d.ts +1 -0
  911. package/dist/types/components/feedback/au-alert/index.d.ts +3 -0
  912. package/dist/types/components/feedback/au-progress/au-progress.constants.d.ts +31 -0
  913. package/dist/types/components/feedback/au-progress/au-progress.d.ts +32 -0
  914. package/dist/types/components/feedback/au-progress/au-progress.types.d.ts +1 -0
  915. package/dist/types/components/feedback/au-progress/index.d.ts +3 -0
  916. package/dist/types/components/feedback/au-skeleton/au-skeleton.constants.d.ts +27 -0
  917. package/dist/types/components/feedback/au-skeleton/au-skeleton.d.ts +31 -0
  918. package/dist/types/components/feedback/au-skeleton/au-skeleton.types.d.ts +1 -0
  919. package/dist/types/components/feedback/au-skeleton/index.d.ts +3 -0
  920. package/dist/types/components/feedback/au-toast/au-toast.constants.d.ts +2 -0
  921. package/dist/types/components/feedback/au-toast/au-toast.d.ts +25 -0
  922. package/dist/types/components/feedback/au-toast/au-toast.service.d.ts +8 -0
  923. package/dist/types/components/feedback/au-toast/au-toast.types.d.ts +1 -0
  924. package/dist/types/components/feedback/au-toast/index.d.ts +3 -0
  925. package/dist/types/components/feedback/au-toast-region/au-toast-region.d.ts +106 -0
  926. package/dist/types/components/feedback/au-toast-region/index.d.ts +4 -0
  927. package/dist/types/components/feedback/internal/toast-announcer.d.ts +5 -0
  928. package/dist/types/components/feedback/internal/toast-constants.d.ts +70 -0
  929. package/dist/types/components/feedback/internal/toast-options.d.ts +28 -0
  930. package/dist/types/components/feedback/internal/toast-popover.d.ts +4 -0
  931. package/dist/types/components/feedback/internal/toast-queue.d.ts +39 -0
  932. package/dist/types/components/feedback/internal/toast-registry.d.ts +11 -0
  933. package/dist/types/components/feedback/internal/toast-request.d.ts +10 -0
  934. package/dist/types/components/feedback/internal/toast-timers.d.ts +19 -0
  935. package/dist/types/components/feedback/internal/toast-timing.d.ts +5 -0
  936. package/dist/types/components/feedback/internal/toast-types.d.ts +37 -0
  937. package/dist/types/components/forms/au-checkbox/au-checkbox.constants.d.ts +2 -0
  938. package/dist/types/components/forms/au-checkbox/au-checkbox.d.ts +63 -0
  939. package/dist/types/components/forms/au-checkbox/au-checkbox.types.d.ts +23 -0
  940. package/dist/types/components/forms/au-checkbox/index.d.ts +3 -0
  941. package/dist/types/components/forms/au-combobox/au-combobox.constants.d.ts +26 -0
  942. package/dist/types/components/forms/au-combobox/au-combobox.d.ts +167 -0
  943. package/dist/types/components/forms/au-combobox/au-combobox.types.d.ts +49 -0
  944. package/dist/types/components/forms/au-combobox/index.d.ts +4 -0
  945. package/dist/types/components/forms/au-field/au-field.d.ts +31 -0
  946. package/dist/types/components/forms/au-field/index.d.ts +1 -0
  947. package/dist/types/components/forms/au-input/au-input.constants.d.ts +35 -0
  948. package/dist/types/components/forms/au-input/au-input.d.ts +104 -0
  949. package/dist/types/components/forms/au-input/au-input.types.d.ts +35 -0
  950. package/dist/types/components/forms/au-input/index.d.ts +4 -0
  951. package/dist/types/components/forms/au-label/au-label.constants.d.ts +7 -0
  952. package/dist/types/components/forms/au-label/au-label.d.ts +12 -0
  953. package/dist/types/components/forms/au-label/au-label.types.d.ts +7 -0
  954. package/dist/types/components/forms/au-label/index.d.ts +2 -0
  955. package/dist/types/components/forms/au-number-input/au-number-input.constants.d.ts +15 -0
  956. package/dist/types/components/forms/au-number-input/au-number-input.d.ts +93 -0
  957. package/dist/types/components/forms/au-number-input/au-number-input.types.d.ts +35 -0
  958. package/dist/types/components/forms/au-number-input/index.d.ts +4 -0
  959. package/dist/types/components/forms/au-radio/au-radio.constants.d.ts +2 -0
  960. package/dist/types/components/forms/au-radio/au-radio.d.ts +13 -0
  961. package/dist/types/components/forms/au-radio/au-radio.types.d.ts +11 -0
  962. package/dist/types/components/forms/au-radio/index.d.ts +3 -0
  963. package/dist/types/components/forms/au-radio-group/au-radio-group.constants.d.ts +6 -0
  964. package/dist/types/components/forms/au-radio-group/au-radio-group.d.ts +89 -0
  965. package/dist/types/components/forms/au-radio-group/au-radio-group.types.d.ts +23 -0
  966. package/dist/types/components/forms/au-radio-group/index.d.ts +4 -0
  967. package/dist/types/components/forms/au-segmented-control/au-segmented-control.constants.d.ts +26 -0
  968. package/dist/types/components/forms/au-segmented-control/au-segmented-control.d.ts +113 -0
  969. package/dist/types/components/forms/au-segmented-control/au-segmented-control.types.d.ts +30 -0
  970. package/dist/types/components/forms/au-segmented-control/index.d.ts +4 -0
  971. package/dist/types/components/forms/au-segmented-option/au-segmented-option.d.ts +23 -0
  972. package/dist/types/components/forms/au-segmented-option/au-segmented-option.types.d.ts +14 -0
  973. package/dist/types/components/forms/au-segmented-option/index.d.ts +2 -0
  974. package/dist/types/components/forms/au-select/au-select.constants.d.ts +7 -0
  975. package/dist/types/components/forms/au-select/au-select.d.ts +91 -0
  976. package/dist/types/components/forms/au-select/au-select.types.d.ts +25 -0
  977. package/dist/types/components/forms/au-select/index.d.ts +4 -0
  978. package/dist/types/components/forms/au-select/internal/read-select-options.d.ts +28 -0
  979. package/dist/types/components/forms/au-slider/au-slider.constants.d.ts +11 -0
  980. package/dist/types/components/forms/au-slider/au-slider.d.ts +84 -0
  981. package/dist/types/components/forms/au-slider/au-slider.types.d.ts +41 -0
  982. package/dist/types/components/forms/au-slider/index.d.ts +4 -0
  983. package/dist/types/components/forms/au-switch/au-switch.constants.d.ts +2 -0
  984. package/dist/types/components/forms/au-switch/au-switch.d.ts +61 -0
  985. package/dist/types/components/forms/au-switch/au-switch.types.d.ts +21 -0
  986. package/dist/types/components/forms/au-switch/index.d.ts +3 -0
  987. package/dist/types/components/forms/au-textarea/au-textarea.constants.d.ts +16 -0
  988. package/dist/types/components/forms/au-textarea/au-textarea.d.ts +87 -0
  989. package/dist/types/components/forms/au-textarea/au-textarea.types.d.ts +33 -0
  990. package/dist/types/components/forms/au-textarea/index.d.ts +4 -0
  991. package/dist/types/components/forms/internal/combobox.d.ts +51 -0
  992. package/dist/types/components/forms/internal/number-input.d.ts +18 -0
  993. package/dist/types/components/forms/internal/segmented.d.ts +34 -0
  994. package/dist/types/components/forms/internal/slider.d.ts +42 -0
  995. package/dist/types/components/layout/au-container/au-container.constants.d.ts +24 -0
  996. package/dist/types/components/layout/au-container/au-container.d.ts +15 -0
  997. package/dist/types/components/layout/au-container/au-container.types.d.ts +1 -0
  998. package/dist/types/components/layout/au-container/index.d.ts +3 -0
  999. package/dist/types/components/layout/au-divider/au-divider.constants.d.ts +23 -0
  1000. package/dist/types/components/layout/au-divider/au-divider.d.ts +23 -0
  1001. package/dist/types/components/layout/au-divider/au-divider.types.d.ts +1 -0
  1002. package/dist/types/components/layout/au-divider/index.d.ts +3 -0
  1003. package/dist/types/components/layout/au-splitter/au-splitter.constants.d.ts +9 -0
  1004. package/dist/types/components/layout/au-splitter/au-splitter.d.ts +53 -0
  1005. package/dist/types/components/layout/au-splitter/au-splitter.types.d.ts +19 -0
  1006. package/dist/types/components/layout/au-splitter/index.d.ts +4 -0
  1007. package/dist/types/components/layout/internal/splitter.d.ts +22 -0
  1008. package/dist/types/components/navigation/au-breadcrumb/au-breadcrumb.constants.d.ts +4 -0
  1009. package/dist/types/components/navigation/au-breadcrumb/au-breadcrumb.d.ts +23 -0
  1010. package/dist/types/components/navigation/au-breadcrumb/index.d.ts +2 -0
  1011. package/dist/types/components/navigation/au-breadcrumb-item/au-breadcrumb-item.d.ts +28 -0
  1012. package/dist/types/components/navigation/au-breadcrumb-item/index.d.ts +1 -0
  1013. package/dist/types/components/navigation/au-nav-group/au-nav-group.d.ts +16 -0
  1014. package/dist/types/components/navigation/au-nav-group/index.d.ts +1 -0
  1015. package/dist/types/components/navigation/au-nav-link/au-nav-link.d.ts +25 -0
  1016. package/dist/types/components/navigation/au-nav-link/index.d.ts +1 -0
  1017. package/dist/types/components/navigation/au-navbar/au-navbar.constants.d.ts +40 -0
  1018. package/dist/types/components/navigation/au-navbar/au-navbar.d.ts +74 -0
  1019. package/dist/types/components/navigation/au-navbar/au-navbar.types.d.ts +9 -0
  1020. package/dist/types/components/navigation/au-navbar/index.d.ts +4 -0
  1021. package/dist/types/components/navigation/au-navbar/internal/collapse.d.ts +6 -0
  1022. package/dist/types/components/navigation/au-sidebar-nav/au-sidebar-nav.constants.d.ts +2 -0
  1023. package/dist/types/components/navigation/au-sidebar-nav/au-sidebar-nav.d.ts +49 -0
  1024. package/dist/types/components/navigation/au-sidebar-nav/index.d.ts +2 -0
  1025. package/dist/types/components/navigation/au-tab/au-tab.d.ts +11 -0
  1026. package/dist/types/components/navigation/au-tab/index.d.ts +1 -0
  1027. package/dist/types/components/navigation/au-tab-panel/au-tab-panel.d.ts +20 -0
  1028. package/dist/types/components/navigation/au-tab-panel/index.d.ts +1 -0
  1029. package/dist/types/components/navigation/au-tabs/au-tabs.constants.d.ts +12 -0
  1030. package/dist/types/components/navigation/au-tabs/au-tabs.d.ts +79 -0
  1031. package/dist/types/components/navigation/au-tabs/au-tabs.types.d.ts +7 -0
  1032. package/dist/types/components/navigation/au-tabs/index.d.ts +4 -0
  1033. package/dist/types/components/navigation/au-tabs/internal/indicator-geometry.d.ts +31 -0
  1034. package/dist/types/components/navigation/au-toc/au-toc.constants.d.ts +6 -0
  1035. package/dist/types/components/navigation/au-toc/au-toc.d.ts +84 -0
  1036. package/dist/types/components/navigation/au-toc/index.d.ts +2 -0
  1037. package/dist/types/components/navigation/au-toc/internal/toc-model.d.ts +41 -0
  1038. package/dist/types/components/navigation/internal/reveal.d.ts +24 -0
  1039. package/dist/types/components/overlays/au-dialog/au-dialog.constants.d.ts +33 -0
  1040. package/dist/types/components/overlays/au-dialog/au-dialog.d.ts +103 -0
  1041. package/dist/types/components/overlays/au-dialog/au-dialog.types.d.ts +11 -0
  1042. package/dist/types/components/overlays/au-dialog/index.d.ts +3 -0
  1043. package/dist/types/components/overlays/au-menu/au-menu.constants.d.ts +37 -0
  1044. package/dist/types/components/overlays/au-menu/au-menu.d.ts +67 -0
  1045. package/dist/types/components/overlays/au-menu/au-menu.types.d.ts +12 -0
  1046. package/dist/types/components/overlays/au-menu/index.d.ts +4 -0
  1047. package/dist/types/components/overlays/au-menu-item/au-menu-item.d.ts +19 -0
  1048. package/dist/types/components/overlays/au-menu-item/au-menu-item.types.d.ts +14 -0
  1049. package/dist/types/components/overlays/au-menu-item/index.d.ts +2 -0
  1050. package/dist/types/components/overlays/au-popover/au-popover.constants.d.ts +33 -0
  1051. package/dist/types/components/overlays/au-popover/au-popover.d.ts +28 -0
  1052. package/dist/types/components/overlays/au-popover/au-popover.types.d.ts +10 -0
  1053. package/dist/types/components/overlays/au-popover/index.d.ts +3 -0
  1054. package/dist/types/components/overlays/au-tooltip/au-tooltip.constants.d.ts +28 -0
  1055. package/dist/types/components/overlays/au-tooltip/au-tooltip.d.ts +80 -0
  1056. package/dist/types/components/overlays/au-tooltip/index.d.ts +3 -0
  1057. package/dist/types/components/overlays/internal/menu.d.ts +34 -0
  1058. package/dist/types/components/overlays/internal/popover-controller.d.ts +102 -0
  1059. package/dist/types/components/overlays/internal/typeahead.d.ts +17 -0
  1060. package/dist/types/components/primitives/au-icon/au-icon.constants.d.ts +5 -0
  1061. package/dist/types/components/primitives/au-icon/au-icon.d.ts +37 -0
  1062. package/dist/types/components/primitives/au-icon/au-icon.types.d.ts +13 -0
  1063. package/dist/types/components/primitives/au-icon/core-icons.d.ts +9 -0
  1064. package/dist/types/components/primitives/au-icon/icon-loader.d.ts +8 -0
  1065. package/dist/types/components/primitives/au-icon/index.d.ts +3 -0
  1066. package/dist/types/components.d.ts +5131 -0
  1067. package/dist/types/foundations/constants/constants.generated.d.mts +136 -0
  1068. package/dist/types/foundations/constants/index.d.ts +3 -0
  1069. package/dist/types/foundations/constants/resolve-size.d.ts +5 -0
  1070. package/dist/types/foundations/icons/autoload.d.ts +9 -0
  1071. package/dist/types/foundations/icons/icon-autoload-hook.d.ts +14 -0
  1072. package/dist/types/foundations/icons/icon-registry.d.ts +11 -0
  1073. package/dist/types/foundations/icons/icon-sizes.d.ts +8 -0
  1074. package/dist/types/foundations/icons/icon-slug.d.ts +6 -0
  1075. package/dist/types/foundations/icons/icon.constants.d.ts +14 -0
  1076. package/dist/types/foundations/icons/icon.constants.generated.d.ts +2281 -0
  1077. package/dist/types/foundations/icons/icon.types.d.ts +21 -0
  1078. package/dist/types/foundations/icons/index.d.ts +5 -0
  1079. package/dist/types/foundations/icons/mdi-map.d.ts +92 -0
  1080. package/dist/types/foundations/icons/register-lucide-icons.d.ts +14 -0
  1081. package/dist/types/foundations/themes/theme.d.ts +68 -0
  1082. package/dist/types/foundations/tokens/index.d.ts +4 -0
  1083. package/dist/types/foundations/tokens/tokens.generated.d.mts +199 -0
  1084. package/dist/types/index.d.ts +3 -0
  1085. package/dist/types/integrations/basics/index.d.ts +2 -0
  1086. package/dist/types/integrations/basics/is-plain-object.d.ts +1 -0
  1087. package/dist/types/integrations/flux/index.d.ts +2 -0
  1088. package/dist/types/integrations/flux/loader.d.ts +21 -0
  1089. package/dist/types/integrations/flux/provide.d.ts +12 -0
  1090. package/dist/types/integrations/flux/registry.d.ts +25 -0
  1091. package/dist/types/shared/anchored/anchor-position.d.ts +43 -0
  1092. package/dist/types/shared/anchored/js-positioning.d.ts +36 -0
  1093. package/dist/types/shared/anchored/popover-support.d.ts +15 -0
  1094. package/dist/types/shared/clipboard/clipboard.d.ts +13 -0
  1095. package/dist/types/shared/clipboard/copy-procedure.d.ts +17 -0
  1096. package/dist/types/shared/clipboard/copy-types.d.ts +33 -0
  1097. package/dist/types/shared/focus/deep-active-element.d.ts +2 -0
  1098. package/dist/types/shared/focus/index.d.ts +1 -0
  1099. package/dist/types/shared/form-control/attributes.d.ts +11 -0
  1100. package/dist/types/shared/form-control/checkable.d.ts +5 -0
  1101. package/dist/types/shared/form-control/control-id.d.ts +7 -0
  1102. package/dist/types/shared/form-control/described-by.d.ts +2 -0
  1103. package/dist/types/shared/form-control/form-control-controller.d.ts +40 -0
  1104. package/dist/types/shared/form-control/group-validity.d.ts +5 -0
  1105. package/dist/types/shared/form-control/host-events.d.ts +13 -0
  1106. package/dist/types/shared/form-control/index.d.ts +11 -0
  1107. package/dist/types/shared/form-control/initial-value.d.ts +5 -0
  1108. package/dist/types/shared/form-control/restore.d.ts +4 -0
  1109. package/dist/types/shared/form-control/validation-message.d.ts +11 -0
  1110. package/dist/types/shared/live-announcer/announce-queue.d.ts +51 -0
  1111. package/dist/types/shared/live-announcer/announce-timing.d.ts +12 -0
  1112. package/dist/types/shared/live-announcer/index.d.ts +2 -0
  1113. package/dist/types/shared/live-announcer/live-announcer.d.ts +31 -0
  1114. package/dist/types/shared/live-announcer/public.d.ts +7 -0
  1115. package/dist/types/shared/modal-placement.d.ts +14 -0
  1116. package/dist/types/shared/modal-target.d.ts +22 -0
  1117. package/dist/types/shared/navigation/index.d.ts +4 -0
  1118. package/dist/types/shared/navigation/link-state.d.ts +34 -0
  1119. package/dist/types/shared/navigation/navigation.d.ts +28 -0
  1120. package/dist/types/shared/observers/index.d.ts +42 -0
  1121. package/dist/types/shared/roving-focus/index.d.ts +3 -0
  1122. package/dist/types/shared/roving-focus/item-update.d.ts +8 -0
  1123. package/dist/types/shared/roving-focus/roving.d.ts +22 -0
  1124. package/dist/types/shared/warn-once.d.ts +5 -0
  1125. package/dist/types/stencil-public-runtime.d.ts +1879 -0
  1126. package/dist/types/vue.d.ts +75 -0
  1127. package/dist/utilities/base.css +3160 -0
  1128. package/dist/utilities/responsive.css +11165 -0
  1129. package/dist/utilities.css +14326 -0
  1130. package/loader/cdn.js +1 -0
  1131. package/loader/index.cjs.js +1 -0
  1132. package/loader/index.d.ts +24 -0
  1133. package/loader/index.es2017.js +1 -0
  1134. package/loader/index.js +2 -0
  1135. package/package.json +545 -4
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface AuTable extends Components.AuTable, HTMLElement {}
4
+ export const AuTable: {
5
+ prototype: AuTable;
6
+ new (): AuTable;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as e,H as s,d as i,h as o,c as r}from"./p-DTeHrc-Q.js";import{a,o as n}from"./p-JU60IJxn.js";import{w as h}from"./p-Ci-XzGE3.js";const l={small:"small",medium:"medium"},c={ascending:"ascending",descending:"descending"},d="data-table-sort",u=new Set(Object.values(l)),b=new Set(Object.values(c)),f=t=>"string"==typeof t?t.replace(/\s+/g," ").trim():"";function p(t){return f(t.label)||f(t.captionText)||"Table"}const y=e(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.auSort=i(this,"au-sort",6)}get host(){return this}sortKey=void 0;sortDirection=c.ascending;stickyHeader=!1;striped=!1;size=l.medium;label=void 0;auSort;scrollable=!1;captionText="";loaded=!1;table;slotElement;scroller;scrollerFocused=!1;stopMutations;stopSize;observedTable;observedScroller;sizeChanged(){this.normalizeSize()}sortDirectionChanged(){this.normalizeDirection(),this.syncSort()}sortKeyChanged(){this.syncSort()}stickyHeaderChanged(){this.checkStickyHeader()}connectedCallback(){this.stopMutations??=a(this.host,(()=>{this.loaded&&this.refresh()}),{childList:!0,characterData:!0,subtree:!0,attributes:!0,attributeFilter:[d,"aria-sort"]}),this.loaded&&this.refresh()}disconnectedCallback(){this.stopMutations?.(),this.stopMutations=void 0,this.stopSize?.(),this.stopSize=void 0,this.observedTable=void 0,this.observedScroller=void 0}componentWillLoad(){this.normalizeSize(),this.normalizeDirection()}componentDidLoad(){this.loaded=!0,this.refresh(),this.checkStickyHeader()}componentDidRender(){this.measure()}warn(t,e){h(this.host.ownerDocument,"au-table:"+t,`au-table:${t}: ${e}`)}normalizeSize(){(t=>"string"==typeof t&&u.has(t))(this.size)||(this.warn("size",`size=${JSON.stringify(this.size)} is not supported and renders "medium". Use "small" or "medium".`),this.size=l.medium)}normalizeDirection(){(t=>"string"==typeof t&&b.has(t))(this.sortDirection)||(this.warn("sort-direction",`sort-direction=${JSON.stringify(this.sortDirection)} is not supported and behaves as "ascending". Use "ascending" or "descending".`),this.sortDirection=c.ascending)}discoverTable(){const t=(this.slotElement?.assignedElements({flatten:!0})??Array.from(this.host.children)).filter((t=>"table"===t.localName));return 0===t.length?this.warn("no-table","the default slot holds no <table>, so there is nothing to enhance."):t.length>1&&this.warn("multiple-tables","the default slot holds more than one <table>. The first one is used."),t[0]}refresh(){this.table=this.discoverTable(),this.bindSize(),this.syncSort(),this.syncCaption(),this.measure()}handleSlotChange=()=>{this.loaded&&this.refresh()};headOf(t){return Array.from(t.children).find((t=>"thead"===t.localName))}sortableHeaders(){const t=this.table,e=t?this.headOf(t):void 0;if(!t||!e)return[];const s=[];for(const i of Array.from(e.querySelectorAll("th"))){const e=i.getAttribute(d);if(null===e||i.closest("table")!==t)continue;const o=e.trim();""!==o?(i.querySelector("button")||this.warn("sort-button",`the header of "${o}" has no <button>, so nothing activates it. Write <button type="button"> inside the th.`),s.push({header:i,key:o})):this.warn("sort-key",`a header has a blank ${d}, so it is not sortable. Give it a key.`)}return s}syncSort(){for(const{header:t,key:e}of this.sortableHeaders()){const s=e===this.sortKey?this.sortDirection:null,i=t.getAttribute("aria-sort");null===s?null!==i&&t.removeAttribute("aria-sort"):i!==s&&t.setAttribute("aria-sort",s)}}syncCaption(){const t=this.table,e=t?Array.from(t.children).find((t=>"caption"===t.localName)):void 0,s=e?.textContent??"";s!==this.captionText&&(this.captionText=s)}handleClick(t){if(t.defaultPrevented)return;const e=t.target;if("function"!=typeof e?.closest)return;const s=e.closest("button"),i=s?.closest("th[data-table-sort]"),o=this.table;if(!s||!i||!o)return;if(i.closest("table")!==o||i.closest("thead")?.parentElement!==o)return;const r=(i.getAttribute(d)??"").trim();if(""===r)return;const a=function(t,e){return t.key===e?{key:e,direction:t.direction===c.ascending?c.descending:c.ascending}:{key:e,direction:c.ascending}}({key:this.sortKey,direction:this.sortDirection},r);this.sortKey=a.key,this.sortDirection=a.direction,this.syncSort(),this.auSort.emit({key:r,direction:a.direction})}bindSize(){if(this.stopSize&&this.observedTable===this.table&&this.observedScroller===this.scroller)return;this.stopSize?.(),this.stopSize=void 0,this.observedTable=this.table,this.observedScroller=this.scroller;const t=[this.scroller,this.table].filter((t=>void 0!==t));t.length>0&&(this.stopSize=n(t,this.measure))}measure=()=>{const t=this.scroller;if(!t)return;const e=t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight;!e&&this.scrollerFocused||this.scrollable!==e&&(this.scrollable=e)};handleScrollerFocus=()=>{this.scrollerFocused=!0};handleScrollerBlur=()=>{this.scrollerFocused=!1,this.measure()};checkStickyHeader(){if(!this.stickyHeader||!this.scroller)return;const t=this.host.ownerDocument.defaultView;"none"===t?.getComputedStyle(this.scroller).maxBlockSize&&this.warn("sticky-header","sticky-header needs a bounded block size: set --aurora-table-max-block-size (for example 24rem), or ::part(scroller) { max-block-size }. Without it the header scrolls with the page.")}render(){return o(r,{key:"209a5e210ba3a13cf5428df22de193c8b39ca305",...this.scrollable?{scrollable:""}:{}},o("div",{key:"5957323b686ab11b856fea697c90128a35bf8286",part:"scroller",ref:t=>{this.scroller=t},onFocus:this.handleScrollerFocus,onBlur:this.handleScrollerBlur,...this.scrollable?{tabindex:"0",role:"group","aria-label":p({label:this.label,captionText:this.captionText})}:{}},o("slot",{key:"1ae5f2a7d0d7641ba85c7308716fb13662791eed",onSlotchange:this.handleSlotChange,ref:t=>{this.slotElement=t}})))}static get watchers(){return{size:[{sizeChanged:0}],sortDirection:[{sortDirectionChanged:0}],sortKey:[{sortKeyChanged:0}],stickyHeader:[{stickyHeaderChanged:0}]}}static get style(){return":host{display:block}[part=scroller]{max-block-size:var(--aurora-table-max-block-size, none);overflow:auto}[part=scroller]:focus-visible{outline:var(--aurora-focus-ring-width, 2px) solid var(--aurora-table-focus-ring-color, var(--aurora-focus-ring-color, Highlight));outline-offset:calc(-1 * var(--aurora-focus-ring-width, 2px))}@media print{[part=scroller]{max-block-size:none;overflow:visible}}"}},[769,"au-table",{sortKey:[1537,"sort-key"],sortDirection:[1537,"sort-direction"],stickyHeader:[516,"sticky-header"],striped:[516],size:[1537],label:[1],scrollable:[32],captionText:[32]},[[0,"click","handleClick"]],{size:[{sizeChanged:0}],sortDirection:[{sortDirectionChanged:0}],sortKey:[{sortKeyChanged:0}],stickyHeader:[{stickyHeaderChanged:0}]}]);function m(){"undefined"!=typeof customElements&&["au-table"].forEach((e=>{"au-table"===e&&(customElements.get(t(e))||customElements.define(t(e),y))}))}m();const g=y,k=m;export{g as AuTable,k as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface AuTabs extends Components.AuTabs, HTMLElement {}
4
+ export const AuTabs: {
5
+ prototype: AuTabs;
6
+ new (): AuTabs;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as a,H as i,d as e,h as s,c as n}from"./p-DTeHrc-Q.js";import{o as r}from"./p-CrKUXDm4.js";import{c as o}from"./p-C48ks26E.js";import{r as l,i as c}from"./p-Dogh3-Bf.js";import{w as d}from"./p-Ci-XzGE3.js";const h={horizontal:"horizontal",vertical:"vertical"},b={manual:"manual",automatic:"automatic"},u=new Set(Object.values(h)),v=new Set(Object.values(b)),f="au-tab",p="au-tab-panel",m=a(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.auTabChange=e(this,"au-tab-change",6)}get host(){return this}selected;orientation=h.horizontal;activation=b.manual;ariaLabel;auTabChange;noIndicator=!0;animated=!1;navElement;tabSlot;panelSlot;tabs=[];panels=[];values=[];skipped=[];effectiveIndex=-1;tabStopIndex=-1;knownSelected=new WeakMap;syncing=!1;writingSelected=!1;loaded=!1;measuredOnce=!1;resizeObserver;connectedCallback(){this.loaded&&this.discoverItems()}disconnectedCallback(){this.resizeObserver?.disconnect(),this.resizeObserver=void 0}componentDidLoad(){this.discoverItems()}componentDidRender(){this.loaded&&this.measure()}async setFocus(t){this.tabs[this.tabStopIndex]?.focus(t)}handleSelectedChange(){this.writingSelected||this.refresh()}handleItemUpdate(t){if(this.syncing)return;const a=t.target,i=this.tabs.indexOf(a);if(-1!==i){const t=this.tabs[i];!t.selected||this.knownSelected.get(t)||this.skipped[i]||this.setSelected(this.values[i]),this.refresh()}else this.panels.includes(a)&&this.refresh()}handleKeydown(t){if(t.altKey||t.ctrlKey||t.metaKey)return;const a=this.tabs.indexOf(t.target);if(-1===a||this.skipped[a])return;if("Enter"===t.key||" "===t.key)return t.preventDefault(),void this.selectByUser(a);const i=l({key:t.key,current:a,count:this.tabs.length,orientation:this.safeOrientation,rtl:"rtl"===getComputedStyle(this.host).direction,loop:!0,homeEnd:!0,isSkipped:t=>!0===this.skipped[t]});null!==i&&(t.preventDefault(),i!==a&&(this.tabs[i]?.focus(),this.safeActivation===b.automatic&&this.selectByUser(i)))}handleClick(t){const a=t.target.closest?.(f),i=a?this.tabs.indexOf(a):-1;a&&-1!==i&&!this.skipped[i]&&(a.focus(),this.selectByUser(i))}handleSlotChange=()=>{this.discoverItems()};get safeOrientation(){return(t=>"string"==typeof t&&u.has(t))(this.orientation)?this.orientation:h.horizontal}get safeActivation(){return(t=>"string"==typeof t&&v.has(t))(this.activation)?this.activation:b.manual}discoverItems(){const t=this.tabSlot?.assignedElements({flatten:!0})??[],a=this.panelSlot?.assignedElements({flatten:!0})??[];this.tabs=t.filter((t=>t.localName===f)),this.panels=a.filter((t=>t.localName===p));for(const a of t)a.localName===p&&this.warnWrongSlot(a,"tab");for(const t of a)t.localName===f&&this.warnWrongSlot(t,"default");this.loaded=!0,this.observeGeometry(),this.refresh()}refresh(){this.resolve(),this.syncItems(),this.measure()}resolve(){const{tabs:t}=this,a=new Set;this.values=t.map((t=>(t.value??"").trim())),this.skipped=t.map(((t,i)=>{const e=this.values[i];return""===e?(this.warn("blank-value",`<${f} value="">`,"has a blank value and is skipped"),!0):a.has(e)?(this.warn("duplicate-value",`<${f} value="${e}">`,"repeats an earlier tab value and is skipped"),!0):(a.add(e),!0===t.disabled)}));const i=(this.selected??"").trim();let e=-1;""!==i&&(e=this.values.findIndex(((t,a)=>t===i&&this.isFirst(a)))),-1===e&&(e=this.skipped.findIndex((t=>!t))),this.effectiveIndex=e,""===i&&-1!==e&&this.setSelected(this.values[e]),this.tabStopIndex=c({count:t.length,selected:e,isSkipped:t=>!0===this.skipped[t]})}isFirst(t){const a=this.values[t];return""!==a&&this.values.indexOf(a)===t}syncItems(){const{tabs:t,panels:a,values:i}=this,e=new Map;for(const t of a){const a=(t.value??"").trim();""===a||e.has(a)||e.set(a,t)}const s=t.map(((t,a)=>this.isFirst(a)?e.get(i[a]):void 0)),n=new Set(s.filter((t=>void 0!==t))),r=-1===this.effectiveIndex?void 0:s[this.effectiveIndex];this.syncing=!0;try{for(const i of[...t,...a])i.id||(i.id=o(i.localName===f?"tab":"tab-panel"));t.forEach(((t,a)=>{const e=a===this.effectiveIndex;this.knownSelected.set(t,e),t.selected!==e&&(t.selected=e);const n=!0===this.skipped[a];_(t,"aria-disabled",n?"true":null),_(t,"tabindex",n?null:a===this.tabStopIndex?"0":"-1"),_(t,"aria-controls",s[a]?.id??null),this.isFirst(a)&&!s[a]&&this.warn("missing-panel",`<${f} value="${i[a]}">`,"has no panel")})),a.forEach((a=>{const i=a===r;a.active!==i&&(a.active=i);const e=s.indexOf(a);_(a,"aria-labelledby",-1===e?null:t[e]?.id??null),_(a,"tabindex",i&&!a.noTabStop?"0":null),n.has(a)||this.warn("orphan-panel",`<${p} value="${a.value??""}">`,"has no tab, or repeats a panel value, and stays hidden")}))}finally{this.syncing=!1}}measure(){const t=this.navElement;if(!t)return;const a=this.tabs[this.effectiveIndex];this.noIndicator=!a;const i=a?function({container:t,scroll:a,rtl:i,tab:e}){return{inlineStart:i?t.left+t.width-(e.left+e.width)-a.left:e.left-t.left+a.left,blockStart:e.top-t.top+a.top,inlineSize:e.width,blockSize:e.height}}({container:t.getBoundingClientRect(),scroll:{left:t.scrollLeft,top:t.scrollTop},rtl:"rtl"===getComputedStyle(this.host).direction,tab:a.getBoundingClientRect()}):{inlineStart:0,blockStart:0,inlineSize:0,blockSize:0};t.style.setProperty("--aurora-tabs-active-inline-start",i.inlineStart+"px"),t.style.setProperty("--aurora-tabs-active-block-start",i.blockStart+"px"),t.style.setProperty("--aurora-tabs-active-inline-size",i.inlineSize+"px"),t.style.setProperty("--aurora-tabs-active-block-size",i.blockSize+"px"),!this.measuredOnce&&i.inlineSize>0&&i.blockSize>0&&(this.measuredOnce=!0,requestAnimationFrame((()=>requestAnimationFrame((()=>{this.animated=!0})))))}observeGeometry(){if(this.resizeObserver?.disconnect(),this.resizeObserver=void 0,"undefined"==typeof ResizeObserver||!this.navElement)return;const t=new ResizeObserver((()=>this.measure()));t.observe(this.navElement);for(const a of this.tabs)t.observe(a);this.resizeObserver=t}setSelected(t){this.writingSelected=!0;try{this.selected=t}finally{this.writingSelected=!1}}selectByUser(t){if(!this.tabs[t]||this.skipped[t]||t===this.effectiveIndex)return;const a=-1===this.effectiveIndex?null:this.values[this.effectiveIndex],i=this.values[t];this.setSelected(i),this.refresh(),this.auTabChange.emit({value:i,previousValue:a})}warn(t,a,i){d(this.host.ownerDocument,"au-tabs:"+t,`au-tabs: ${a} ${i}.`)}warnWrongSlot(t,a){const i=t.localName,e=t.getAttribute("value")??"";this.warn("wrong-slot",`<${i} value="${e}">`,`is in ${"tab"===a?'the "tab" slot':"the default slot"} and is ignored`)}render(){const t=this.safeOrientation===h.vertical,a=this.safeActivation===b.manual,i=r({"aria-label":this.ariaLabel?.trim()||void 0,"aria-orientation":t?"vertical":void 0});return s(n,{key:"fc3bd7404d1df7bc0660e7fc792b25f51a21a1a5"},s("div",{key:"ed4d9fd32d5aa69e1b80aab18239bf198e05e0c5",part:"base",class:{tabs:!0,"tabs--horizontal":!t,"tabs--vertical":t,"tabs--manual":a,"tabs--automatic":!a}},s("div",{key:"ac8e0cdd57474c140260d4d2ccb1b49412b9f44f",part:"nav",class:{tabs__nav:!0,"tabs__nav--animated":this.animated,"tabs--no-indicator":this.noIndicator},ref:t=>{this.navElement=t}},s("div",{key:"b3733f73551c19b6f29a2df9beb768a57cfafec3",part:"tablist",class:"tabs__tablist",role:"tablist",...i},s("slot",{key:"8ced44662a42591dd73cdc153fd232ee55afec6a",name:"tab",ref:t=>{this.tabSlot=t},onSlotchange:this.handleSlotChange})),s("slot",{key:"31f64f37065e8b14e49e6cac7b3a666a2fb85143",name:"indicator"},s("span",{key:"e1bcc8370d057e1fea8ff49ac56d235fedf7cf2a",part:"indicator",class:"tabs__indicator","aria-hidden":"true"}))),s("div",{key:"490c343f1c1a3f66e7d580c9ce24ff7910148865",part:"panels",class:"tabs__panels"},s("slot",{key:"ea1cef11715896802ea82d97c48ca48afa03f932",ref:t=>{this.panelSlot=t},onSlotchange:this.handleSlotChange}))))}static get watchers(){return{selected:[{handleSelectedChange:0}]}}static get style(){return":host{--_tabs-gap:var(--aurora-tabs-gap, 0.25rem);--_tabs-border:var(--aurora-tabs-border, var(--aurora-color-border, #d4d9e1));--_tabs-border-width:var(--aurora-tabs-border-width, 1px);--_tabs-indicator-color:var(--aurora-tabs-indicator-color, var(--aurora-color-primary, #3157a4));--_tabs-indicator-thickness:var(--aurora-tabs-indicator-thickness, 2px);--_tabs-indicator-duration:var( --aurora-tabs-indicator-transition-duration, var(--aurora-motion-duration-normal, 200ms) );display:block;max-width:100%}.tabs{color:var(--aurora-color-text, #202733);font-family:var(--aurora-font-family, inherit);min-width:0}.tabs__nav{overflow-x:auto;overflow-y:hidden;position:relative;scrollbar-width:thin}.tabs__tablist{border-block-end:var(--_tabs-border-width) solid var(--_tabs-border);box-sizing:border-box;display:flex;gap:var(--_tabs-gap);inline-size:max-content;min-inline-size:100%}.tabs--vertical{align-items:flex-start;display:flex;gap:1rem}.tabs--vertical .tabs__nav{flex:none;max-block-size:100%;overflow-x:hidden;overflow-y:auto}.tabs--vertical .tabs__tablist{border-block-end:0;border-inline-end:var(--_tabs-border-width) solid var(--_tabs-border);flex-direction:column;inline-size:auto;min-inline-size:0}.tabs__panels{flex:1;min-inline-size:0}.tabs__indicator{background:var(--_tabs-indicator-color);block-size:var(--aurora-tabs-active-block-size, 0px);border-radius:1px;inline-size:var(--aurora-tabs-active-inline-size, 0px);inset-block-start:var(--aurora-tabs-active-block-start, 0px);inset-inline-start:var(--aurora-tabs-active-inline-start, 0px);pointer-events:none;position:absolute;transition-duration:var(--_tabs-indicator-duration);transition-property:none;transition-timing-function:var(--aurora-motion-easing-standard, ease)}.tabs--horizontal .tabs__indicator{block-size:var(--_tabs-indicator-thickness);inset-block-start:calc(var(--aurora-tabs-active-block-start, 0px) + var(--aurora-tabs-active-block-size, 0px) - var(--_tabs-indicator-thickness))}.tabs--vertical .tabs__indicator{inline-size:var(--_tabs-indicator-thickness)}.tabs__nav--animated .tabs__indicator{transition-property:inset-inline-start, inset-block-start, inline-size, block-size}.tabs--no-indicator .tabs__indicator{visibility:hidden}@media (prefers-reduced-motion: reduce){.tabs__indicator{transition-duration:0s}}@media (forced-colors: active){.tabs__tablist{border-color:CanvasText}.tabs__indicator{background:Highlight;forced-color-adjust:none}}"}},[769,"au-tabs",{selected:[1537],orientation:[513],activation:[513],ariaLabel:[1,"aria-label"],noIndicator:[32],animated:[32],setFocus:[64]},[[0,"au-item-update","handleItemUpdate"],[0,"keydown","handleKeydown"],[0,"click","handleClick"]],{selected:[{handleSelectedChange:0}]}]);function _(t,a,i){t.getAttribute(a)!==i&&(null===i?t.removeAttribute(a):t.setAttribute(a,i))}function k(){"undefined"!=typeof customElements&&["au-tabs"].forEach((a=>{"au-tabs"===a&&(customElements.get(t(a))||customElements.define(t(a),m))}))}k();const y=m,g=k;export{y as AuTabs,g as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface AuTextarea extends Components.AuTextarea, HTMLElement {}
4
+ export const AuTextarea: {
5
+ prototype: AuTextarea;
6
+ new (): AuTextarea;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as a,p as r,H as e,h as t,c as o}from"./p-DTeHrc-Q.js";import{s as i,o as s}from"./p-CrKUXDm4.js";import{c as l,a as n}from"./p-C48ks26E.js";import{F as d,a as h,j as c,d as u}from"./p-gvyxpLwV.js";import{r as x}from"./p-B71krpcd.js";const v={small:"small",medium:"medium",large:"large"},m={none:"none",vertical:"vertical",horizontal:"horizontal",both:"both"},f=new Set(Object.values(v)),b=new Set(Object.values(m)),g=r(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.internals=this.attachInternals()}get host(){return this}internals;name;label;value="";defaultValue;placeholder;rows=3;resize=m.vertical;size=v.medium;required=!1;disabled=!1;invalid=!1;readOnly=!1;minLength;maxLength;autocomplete;spellcheck;hint;error;invalidMessage;form;ariaLabel;formDisabled=!1;focused=!1;nativeInvalid=!1;hasInteracted=!1;textareaId=l("textarea");hintId=n(this.textareaId).hint;errorId=n(this.textareaId).error;formControl=new d((()=>this.internals));initialValue="";textareaElement;componentWillLoad(){this.value=x(this.host,this.value,this.defaultValue),this.initialValue=this.value}componentDidRender(){i(this.textareaElement,this.spellcheck),this.syncFormState()}formDisabledCallback(a){this.formDisabled=a,this.syncFormState()}formResetCallback(){this.hasInteracted=!1,this.focused=!1,this.value=this.initialValue,this.syncFormState()}formStateRestoreCallback(a,r){const e=h(a);void 0!==e&&(this.hasInteracted=!1,this.value=e,this.syncFormState())}async setFocus(a){this.textareaElement?.focus(a)}get safeRows(){const a=Number(this.rows);return Number.isInteger(a)&&a>0?a:3}get safeResize(){return(a=>"string"==typeof a&&b.has(a))(this.resize)?this.resize:m.vertical}get safeSize(){return(a=>"string"==typeof a&&f.has(a))(this.size)?this.size:v.medium}get isDisabled(){return this.disabled||this.formDisabled}get errorText(){return this.error?.trim()||void 0}get hintText(){return this.hint?.trim()||void 0}get hasCustomInvalidState(){return this.invalid||!!this.errorText}get isInvalid(){return!this.isDisabled&&!this.readOnly&&(this.hasCustomInvalidState||this.nativeInvalid&&this.hasInteracted)}get descriptionIds(){return c(this.hintText?this.hintId:void 0,this.errorText?this.errorId:void 0)}handleValueChange(a){const r=this.textareaElement;r&&r.value!==a&&(r.value=a),this.syncFormState(r)}handleInvalidEvent(){this.hasInteracted=!0}handleInput=a=>{const r=a.currentTarget;this.hasInteracted=!0,this.value=r.value,this.syncFormState(r)};handleChange=()=>{u(this.host)};handleFocus=()=>{this.focused=!0,this.hasInteracted=!0};handleBlur=()=>{this.focused=!1,this.hasInteracted=!0,this.syncFormState()};syncFormState(a=this.textareaElement){const r=this.errorText,{nativeInvalid:e}=this.formControl.sync({value:this.value,disabled:this.isDisabled,barred:this.readOnly,customInvalid:this.hasCustomInvalidState,...void 0!==r&&{error:r},...void 0!==this.invalidMessage&&{invalidMessage:this.invalidMessage},...a&&{target:a}});void 0!==e&&(this.nativeInvalid=e)}render(){const a=this.label?.trim(),r=this.hintText,e=this.errorText,i=this.isDisabled,l=s({placeholder:this.placeholder,autoComplete:this.autocomplete,minLength:this.minLength,maxLength:this.maxLength,"aria-label":a?void 0:this.ariaLabel?.trim()||void 0,"aria-invalid":this.isInvalid?"true":void 0,"aria-describedby":this.descriptionIds});return t(o,{key:"9929d10379e7d9b6428da28b6457c3bc41c53429",class:{"textarea-host--disabled":i,"textarea-host--invalid":this.isInvalid,"textarea-host--readonly":this.readOnly}},t("div",{key:"195423b1e4e9f186e01e55af368dd902081839a4",class:{textarea:!0,["textarea--"+this.safeSize]:!0,"textarea--disabled":i,"textarea--focused":this.focused,"textarea--invalid":this.isInvalid,"textarea--readonly":this.readOnly}},a?t("label",{class:"textarea__label",part:"label",htmlFor:this.textareaId},t("span",null,a),this.required?t("span",{class:"textarea__required","aria-hidden":"true"},"*"):null):null,t("textarea",{key:"ea94e9815bddbbfe8aacadab0c788ae1068f762e",ref:a=>{this.textareaElement=a,a&&a.value!==this.value&&(a.value=this.value)},id:this.textareaId,class:{textarea__control:!0,["textarea__control--resize-"+this.safeResize]:!0},part:"control",rows:this.safeRows,required:this.required,disabled:i,readOnly:this.readOnly,...l,onInput:this.handleInput,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur}),r?t("p",{class:"textarea__hint",id:this.hintId,part:"hint"},r):null,e?t("p",{class:"textarea__error",id:this.errorId,part:"error","aria-live":"polite"},e):null))}static get formAssociated(){return!0}static get watchers(){return{value:[{handleValueChange:0}]}}static get style(){return":host{--_textarea-background:var(--aurora-textarea-background, var(--aurora-color-surface, #fff));--_textarea-border:var(--aurora-textarea-border, var(--aurora-color-border, #cbd2dc));--_textarea-border-hover:var( --aurora-textarea-border-hover, var(--aurora-color-primary, #3157a4) );--_textarea-border-focus:var( --aurora-textarea-border-focus, var(--aurora-color-focus, Highlight) );--_textarea-border-invalid:var( --aurora-textarea-border-invalid, var(--aurora-color-danger, #a32635) );--_textarea-color:var(--aurora-textarea-color, var(--aurora-color-text, #202733));--_textarea-placeholder:var( --aurora-textarea-placeholder-color, var(--aurora-color-text-muted, #707987) );--_textarea-radius:var(--aurora-textarea-radius, var(--aurora-radius-md, 0.5rem));--_textarea-font-family:var(--aurora-textarea-font-family, var(--aurora-font-family, inherit));--_textarea-focus-ring:var(--aurora-textarea-focus-ring, var(--aurora-color-focus, Highlight));--_textarea-transition-duration:var( --aurora-textarea-transition-duration, var(--aurora-motion-duration-fast, 120ms) );display:block;max-width:100%;min-width:0;width:100%}.textarea{color:var(--_textarea-color);display:flex;flex-direction:column;font-family:var(--_textarea-font-family);gap:0.375rem;min-width:0;width:100%}.textarea__label{align-items:baseline;color:var(--aurora-textarea-label-color, var(--aurora-color-text, #202733));display:inline-flex;font-size:var(--aurora-font-size-sm, 0.875rem);font-weight:var(--aurora-font-weight-medium, 500);gap:0.25rem;line-height:var(--aurora-line-height-normal, 1.5)}.textarea__required{color:var(--aurora-textarea-required-color, var(--aurora-color-danger, #a32635));font-weight:var(--aurora-font-weight-bold, 700)}.textarea__control{background:var(--_textarea-background);border:1px solid var(--_textarea-border);border-radius:var(--_textarea-radius);box-sizing:border-box;color:inherit;display:block;font:inherit;line-height:var(--aurora-line-height-normal, 1.5);max-width:100%;min-height:var(--aurora-textarea-min-height, 2.5rem);min-width:0;outline:0;padding:0.625rem 0.75rem;transition:border-color var(--_textarea-transition-duration) var(--aurora-motion-easing-standard, ease), box-shadow var(--_textarea-transition-duration) var(--aurora-motion-easing-standard, ease), background-color var(--_textarea-transition-duration) var(--aurora-motion-easing-standard, ease);width:100%}.textarea__control::placeholder{color:var(--_textarea-placeholder);opacity:1}.textarea__control:hover{border-color:var(--_textarea-border-hover)}.textarea--focused .textarea__control{border-color:var(--_textarea-border-focus);outline:var(--aurora-focus-ring-width, 2px) solid var(--aurora-focus-ring-color, var(--aurora-color-focus, Highlight));outline-offset:var(--aurora-focus-ring-offset, 2px);outline-color:var(--_textarea-focus-ring)}.textarea__control--resize-none{resize:none}.textarea__control--resize-vertical{resize:vertical}.textarea__control--resize-horizontal{resize:horizontal}.textarea__control--resize-both{resize:both}.textarea--small .textarea__control{font-size:var(--aurora-font-size-sm, 0.875rem);padding-block:0.375rem}.textarea--medium .textarea__control{font-size:var(--aurora-font-size-md, 1rem)}.textarea--large .textarea__control{font-size:var(--aurora-font-size-lg, 1.125rem);padding-block:0.75rem}.textarea__hint,.textarea__error{font-family:var(--aurora-font-family-description, var(--aurora-font-family-body, inherit));font-size:var(--aurora-font-size-sm, 0.875rem);line-height:var(--aurora-line-height-normal, 1.5);margin:0}.textarea__hint{color:var(--aurora-textarea-hint-color, var(--aurora-color-text-muted, #707987))}.textarea__error{color:var(--aurora-textarea-error-color, var(--aurora-color-danger, #a32635))}.textarea--invalid .textarea__control,.textarea--invalid .textarea__control:hover{border-color:var(--_textarea-border-invalid)}.textarea--invalid.textarea--focused .textarea__control{box-shadow:0 0 0 3px color-mix(in srgb, var(--_textarea-border-invalid), transparent 82%)}.textarea--disabled .textarea__control{background:var(--aurora-textarea-disabled-background, var(--aurora-color-surface-muted, #f0f2f5));border-color:var(--aurora-color-border, #cbd2dc);cursor:var(--aurora-disabled-cursor, not-allowed);opacity:var(--aurora-disabled-opacity, 0.58);opacity:var(--aurora-textarea-disabled-opacity, var(--aurora-disabled-opacity, 0.65));resize:none}.textarea--readonly .textarea__control{background:var(--aurora-textarea-readonly-background, var(--aurora-color-surface-muted, #f7f8fa))}@media (prefers-reduced-motion: reduce){.textarea__control{transition-duration:0ms}}@media (forced-colors: active){.textarea__control{border-color:FieldText;color:FieldText;forced-color-adjust:auto}.textarea--focused .textarea__control{outline:var(--aurora-focus-ring-width, 2px) solid var(--aurora-focus-ring-color, var(--aurora-color-focus, Highlight));outline-offset:var(--aurora-focus-ring-offset, 2px)}.textarea--invalid .textarea__control,.textarea--invalid .textarea__control:hover{border-color:Mark;border-width:2px;padding-block:calc(0.625rem - 1px);padding-inline:calc(0.75rem - 1px)}.textarea--disabled .textarea__control{border-color:GrayText;opacity:1}}"}},[577,"au-textarea",{name:[513],label:[1],value:[1025],defaultValue:[1,"default-value"],placeholder:[1],rows:[2],resize:[513],size:[513],required:[516],disabled:[516],invalid:[516],readOnly:[516,"readonly"],minLength:[2,"minlength"],maxLength:[2,"maxlength"],autocomplete:[1],spellcheck:[4],hint:[1],error:[1],invalidMessage:[1,"invalid-message"],form:[513],ariaLabel:[1,"aria-label"],formDisabled:[32],focused:[32],nativeInvalid:[32],hasInteracted:[32],setFocus:[64]},[[0,"invalid","handleInvalidEvent"]],{value:[{handleValueChange:0}]}]);function _(){"undefined"!=typeof customElements&&["au-textarea"].forEach((r=>{"au-textarea"===r&&(customElements.get(a(r))||customElements.define(a(r),g))}))}_();const p=g,y=_;export{p as AuTextarea,y as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface AuToastRegion extends Components.AuToastRegion, HTMLElement {}
4
+ export const AuToastRegion: {
5
+ prototype: AuToastRegion;
6
+ new (): AuToastRegion;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as s,H as e,h as i,c as o}from"./p-DTeHrc-Q.js";import{d as n,i as a,e as r,b as h,A as c,c as l}from"./p-DqAwSryz.js";import{w as u}from"./p-Ci-XzGE3.js";import{i as d,T as f,a as m,b as p,c as v,e as b,d as g,f as y,g as w,h as x,j as k,k as T}from"./p-Dw0zb4x_.js";import{d as _}from"./p-ZpauIcNt.js";const D=t=>"string"==typeof t?t.trim():"",q=(t,s)=>t?s?/[.!?:]$/.test(t)?`${t} ${s}`:`${t}. ${s}`:t:s,A=t=>"number"==typeof t&&Number.isInteger(t)&&t>=1?t:b;class E{limit;entries=new Map;visibleIds=[];queuedIds=[];constructor(t){this.limit=A(t)}get maxVisible(){return this.limit}get visible(){return this.visibleIds}get queued(){return this.queuedIds}has(t){return this.entries.has(t)}get(t){return this.entries.get(t)}enqueue(t,s){return this.entries.has(t)?(this.entries.set(t,s),this.visibleIds.includes(t)?"updated-visible":"updated-queued"):(this.entries.set(t,s),this.visibleIds.length<this.limit?(this.visibleIds.push(t),"visible"):(this.queuedIds.push(t),"queued"))}remove(t){return this.entries.delete(t)?(this.visibleIds=this.visibleIds.filter((s=>s!==t)),this.queuedIds=this.queuedIds.filter((s=>s!==t)),{removed:!0,promoted:this.promote()}):{removed:!1,promoted:[]}}setMaxVisible(t){return this.limit=A(t),{promoted:this.promote()}}promote(){const t=[];for(;this.visibleIds.length<this.limit&&this.queuedIds.length>0;){const s=this.queuedIds.shift();this.visibleIds.push(s),t.push(s)}return t}}const P=Symbol.for("@re-code/aurora/toast-region");class V{onExpire;entries=new Map;paused=!1;constructor(t){this.onExpire=t}start(t,s){this.clear(t);const e={remaining:s,startedAt:void 0,handle:void 0};this.entries.set(t,e),this.paused||this.run(t,e)}clear(t){const s=this.entries.get(t);s&&(void 0!==s.handle&&clearTimeout(s.handle),this.entries.delete(t))}clearAll(){for(const t of Array.from(this.entries.keys()))this.clear(t)}setPaused(t){if(t!==this.paused){this.paused=t;for(const[s,e]of this.entries)t?this.freeze(e):this.run(s,e)}}run(t,s){s.startedAt=Date.now(),s.handle=setTimeout((()=>{this.entries.delete(t),this.onExpire(t)}),s.remaining)}freeze(t){void 0!==t.handle&&clearTimeout(t.handle),void 0!==t.startedAt&&(t.remaining=Math.max(0,t.remaining-(Date.now()-t.startedAt))),t.handle=void 0,t.startedAt=void 0}}const C=s(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get host(){return this}placement=y;maxVisible=b;label=w;dismissLabel=x;version=0;queue=new E;timers=new V((t=>this.handleTimeout(t)));announcedKeys=new Map;renderWaiters=[];primary=!1;pointerOver=!1;focusInside=!1;detached=!1;returnTarget;home;visiting;rejected=new WeakSet;selfMoving=!1;async enqueue(t,s){if(!this.primary)return;const e=function(t){const s=t??{},e=D(s.message),i=D(s.title);if(!e&&!i)return{valid:!1,warnings:['[showToast] Nothing was shown: both "message" and "title" are empty.']};const o=[],n=d(s.variant)?s.variant:f.info,a=m(s.live)?s.live:n===f.danger?p.assertive:p.polite;let r;if(null!=s.action){const t=D(s.action.label);t?r="function"==typeof s.action.onAction?{label:t,onAction:s.action.onAction}:{label:t}:o.push('[showToast] The "action" has no label, so it was dropped.')}const h=n===f.danger?0:v,c=s.duration;return{valid:!0,variant:n,title:i,message:e,duration:r?0:"number"==typeof c&&Number.isFinite(c)&&c>=0?c:h,live:a,announcement:D(s.announce)||q(i,e),action:r,warnings:o}}(s);if(!e.valid){for(const t of e.warnings)console.warn(t);return}for(const t of e.warnings)console.warn(t);this.resolveTarget();const i={variant:e.variant,title:e.title,message:e.message,duration:e.duration,live:e.live,announcement:e.announcement,action:e.action,persistent:!1},o=this.queue.enqueue(t,i);"visible"!==o&&"updated-visible"!==o||(this.startTimer(t,i),this.announce(t,i)),await this.commit()}async dismiss(t){this.primary&&this.queue.has(t)&&await this.leave(t)}maxVisibleChanged(){const{promoted:t}=this.queue.setMaxVisible(this.maxVisible);0!==t.length&&(this.handlePromoted(t),this.commit())}handlePointerEnter(){this.pointerOver=!0,this.updatePause()}handlePointerLeave(){this.pointerOver=!1,this.updatePause()}handleFocusIn(){this.focusInside=!0,this.updatePause()}handleFocusOut(t){const s=t.relatedTarget;s&&(s===this.host||this.host.contains(s))||(this.focusInside=!1,this.updatePause(),this.scheduleResolve())}handleDocumentFocusIn(t){const s=t.composedPath();if(s.includes(this.host))return;const e=s[0];e instanceof this.host.ownerDocument.defaultView.Element&&(this.returnTarget=e),this.scheduleResolve()}handleVisibilityChange(){this.updatePause()}connectedCallback(){const t=this.host.ownerDocument;if(!function(t,s){const e=function(t){const s=t[P];return s?.isConnected?s:void 0}(t);return!(e&&e!==s||(t[P]=s,0))}(t,this.host))return u(t,"au-toast-region:second","[au-toast-region] A second au-toast-region is connected. Only the first one shows toasts, so this one stays empty."),void this.dropState();this.primary=!0,this.detached=!1,this.selfMoving||(this.leaveDialog(),this.home={parent:this.host.parentNode,next:this.host.nextSibling},this.scheduleResolve()),(t=>"function"==typeof t.defaultView?.HTMLElement?.prototype?.showPopover)(t)?function(t){"manual"!==t.getAttribute("popover")&&t.setAttribute("popover","manual");let s=!1;try{s=t.matches(":popover-open")}catch{}if(!s)try{t.showPopover()}catch{}}(this.host):u(t,"au-toast-region:popover-api","[au-toast-region] The Popover API is not available in this browser. The region uses position: fixed with --aurora-toast-region-z-index and cannot rise above a modal dialog."),this.updatePause()}disconnectedCallback(){queueMicrotask((()=>{if(!this.host.isConnected&&this.primary){if(this.visiting)return this.leaveDialog(),void this.placeHome();this.detached=!0,this.updatePause(),function(t,s){t[P]===s&&Reflect.deleteProperty(t,P)}(this.host.ownerDocument,this.host),this.primary=!1,this.flushWaiters()}}))}componentWillLoad(){this.queue.setMaxVisible(this.maxVisible)}componentDidLoad(){this.host.shadowRoot?.addEventListener(k,this.handleRequest)}componentDidRender(){this.flushWaiters()}scheduleResolve(t=!1){queueMicrotask((()=>this.resolveTarget(t)))}resolveTarget(t=!1){if(!this.primary||!this.host.isConnected)return;if(this.focusInside&&!t)return;let s=n(this.host.ownerDocument);s&&this.rejected.has(s)&&(s=void 0),s!==this.visiting&&(s?this.enterDialog(s):(this.leaveDialog(),this.placeHome()))}enterDialog(t){if(this.leaveDialog(),this.moveInto(a(t)),!r(this.host,t))return u(this.host.ownerDocument,"au-toast-region:flat-tree",`[au-toast-region] A modal dialog inside <${a(t).tagName.toLowerCase()}> does not slot light-DOM content into the dialog, so toasts cannot be shown while it is open.`),this.rejected.add(t),void this.placeHome();this.visiting=t,t.addEventListener("close",this.handleDialogClose)}leaveDialog(){this.visiting?.removeEventListener("close",this.handleDialogClose),this.visiting=void 0}handleDialogClose=()=>{this.resolveTarget(!0)};moveInto(t,s=null){this.selfMoving=!0;try{t.insertBefore(this.host,s)}finally{this.selfMoving=!1}}placeHome(){const t=this.host.ownerDocument;let s=this.home?.parent??null;if(s?.isConnected||(s=t.body),!s)return;const e=this.home?.next??null;this.host.parentNode===s&&this.host.isConnected||this.moveInto(s,e&&e.parentNode===s?e:null)}get safeLabel(){return("string"==typeof this.label?this.label.trim():"")||w}get safeDismissLabel(){return("string"==typeof this.dismissLabel?this.dismissLabel.trim():"")||x}commit(){return this.host.isConnected?new Promise((t=>{this.renderWaiters.push(t),this.version+=1})):(this.version+=1,Promise.resolve())}flushWaiters(){for(const t of this.renderWaiters.splice(0))t()}updatePause(){this.timers.setPaused(this.pointerOver||this.focusInside||"hidden"===this.host.ownerDocument.visibilityState||this.detached)}startTimer(t,s){this.timers.clear(t),s.duration>0&&this.timers.start(t,s.duration)}announce(t,s){const e=this.host.ownerDocument,i=(t=>"au-toast:"+t)(t),o=Date.now();for(const[t,s]of this.announcedKeys)o-s>6e4&&this.announcedKeys.delete(t);this.announcedKeys.delete(i),this.announcedKeys.set(i,o),h(s.announcement,{politeness:s.live===p.assertive?c.assertive:c.polite,key:i},e)}handlePromoted(t){for(const s of t){const t=this.queue.get(s);t&&(this.startTimer(s,t),this.announce(s,t))}}removeToast(t){this.timers.clear(t);const{promoted:s}=this.queue.remove(t);this.handlePromoted(s)}async leave(t){const s=this.queue.visible.indexOf(t),e=this.host.shadowRoot?.activeElement===this.toastElement(t);this.removeToast(t),await this.commit(),e&&await this.restoreFocus(s)}async restoreFocus(t){const s=Array.from(this.host.shadowRoot?.querySelectorAll("au-toast")??[]),e=s[t]??s[t-1];if(e){await(e.componentOnReady?.());const t=e.shadowRoot?.querySelector('[part="dismiss"]');if(t)return void t.focus()}this.focusReturnTarget()}focusReturnTarget(){const t=this.returnTarget;t?.isConnected&&"function"==typeof t.focus&&("function"!=typeof t.checkVisibility||t.checkVisibility())&&t.focus()}toastElement(t){const s=this.host.shadowRoot?.querySelectorAll("au-toast")??[];return Array.from(s).find((s=>s.getAttribute("data-id")===t))}handleFor(t){return{id:t,dismiss:()=>{this.dismiss(t)}}}dispatchBeforeDismiss(t,s){const e=this.toastElement(t)??this.host,i=new(0,this.host.ownerDocument.createEvent("CustomEvent").constructor)("au-before-dismiss",{bubbles:!0,composed:!0,cancelable:!0,detail:{reason:s,id:t}});return e.dispatchEvent(i),i.defaultPrevented}handleTimeout(t){const s=this.queue.get(t);s&&this.queue.visible.includes(t)&&(this.dispatchBeforeDismiss(t,T.timeout)?s.persistent=!0:this.leave(t))}handleRequest=t=>{const s=t.target?.closest?.("au-toast"),e=s?.getAttribute("data-id"),i=e?this.queue.get(e):void 0;if(!e||!i)return;const{reason:o}=t.detail;if(o===T.action)try{i.action?.onAction?.(this.handleFor(e))}catch(t){const s=globalThis.reportError;"function"==typeof s?s(t):setTimeout((()=>{throw t}))}this.dispatchBeforeDismiss(e,o)||this.leave(e)};dropState(){this.primary=!1,this.timers.clearAll();const t=this.host.ownerDocument;for(const s of this.announcedKeys.keys())l(s,t);this.announcedKeys.clear(),this.queue=new E(this.maxVisible),this.version+=1}render(){const t=this.queue.visible;return i(o,{key:"1ff9325b9484acfe0e500eb8feb094ddd665140f"},i("section",{key:"e914a9bcb25e211eb107eb78ce31abae5e46b9e7",part:"stack",role:"region","aria-label":this.safeLabel,hidden:0===t.length},t.map((t=>{const s=this.queue.get(t);return s?i("au-toast",{key:t,"data-id":t,variant:s.variant,"dismiss-label":this.safeDismissLabel,...s.action?{"action-label":s.action.label}:{},exportparts:"toast, icon, content, title, message, action, dismiss"},s.title?i("span",{slot:"title"},s.title):null,s.message):null}))))}static get watchers(){return{maxVisible:[{maxVisibleChanged:0}]}}static get style(){return":host{--_offset:var(--aurora-toast-region-offset, 1rem);background:transparent;border:0;box-sizing:border-box;color:inherit;display:block;inset:auto var(--_offset) var(--_offset) auto;margin:0;overflow:visible;padding:0;pointer-events:none;position:fixed;width:min(var(--aurora-toast-inline-size, 24rem), 100vw - 2 * var(--_offset));z-index:var(--aurora-toast-region-z-index, 1000)}:host([popover]:not(:popover-open)){display:none !important}:host([placement=top-start]){inset-block:var(--_offset) auto;inset-inline:var(--_offset) auto}:host([placement=top-center]){inset-block:var(--_offset) auto;inset-inline:var(--_offset);margin-inline:auto}:host([placement=top-end]){inset-block:var(--_offset) auto;inset-inline:auto var(--_offset)}:host([placement=bottom-start]){inset-block:auto var(--_offset);inset-inline:var(--_offset) auto}:host([placement=bottom-center]){inset-block:auto var(--_offset);inset-inline:var(--_offset);margin-inline:auto}:host([placement=bottom-end]){inset-block:auto var(--_offset);inset-inline:auto var(--_offset)}.stack{display:flex;flex-direction:column;gap:var(--aurora-toast-gap, 0.5rem)}.stack[hidden]{display:none}au-toast{pointer-events:auto}"}},[513,"au-toast-region",{placement:[513],maxVisible:[514,"max-visible"],label:[1],dismissLabel:[1,"dismiss-label"],version:[32],enqueue:[64],dismiss:[64]},[[1,"pointerenter","handlePointerEnter"],[1,"pointerleave","handlePointerLeave"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"],[6,"focusin","handleDocumentFocusIn"],[4,"visibilitychange","handleVisibilityChange"]],{maxVisible:[{maxVisibleChanged:0}]}]);function I(){"undefined"!=typeof customElements&&["au-toast-region","au-icon","au-toast"].forEach((s=>{switch(s){case"au-toast-region":customElements.get(t(s))||customElements.define(t(s),C);break;case"au-icon":customElements.get(t(s))||_();break;case"au-toast":customElements.get(t(s))||g()}}))}I();const z=C,M=I;export{z as AuToastRegion,M as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface AuToast extends Components.AuToast, HTMLElement {}
4
+ export const AuToast: {
5
+ prototype: AuToast;
6
+ new (): AuToast;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{A as o,d as s}from"./p-Dw0zb4x_.js";const p=o,r=s;export{p as AuToast,r as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface AuToc extends Components.AuToc, HTMLElement {}
4
+ export const AuToc: {
5
+ prototype: AuToc;
6
+ new (): AuToc;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as o,H as i,h as r,c as n}from"./p-DTeHrc-Q.js";import{b as e,a as s}from"./p-JU60IJxn.js";import{w as a}from"./p-Ci-XzGE3.js";import{r as c}from"./p-BvnCPjl5.js";const l="h2, h3",h="0px 0px -50% 0px",u=/^(-?\d*\.?\d+)(px|%)$/;function d(t,o,i){const r=t.trim().split(/\s+/);if(r.length<1||r.length>4)return null;const n=r[r.length<3?0:2];for(const t of r)if(!u.test(t))return null;const e=u.exec(n),s=Number.parseFloat(e[1]);return o+i+("%"===e[2]?s/100*i:s)}function f(t,o){for(let i=t.length-1;i>=0;i-=1)if(o(t[i]))return i;return-1}function g(t,o,i){if("heading"===o?.trim().toLowerCase()&&null!==i){const t=Number.parseInt(i,10);if(Number.isInteger(t)&&t>=1&&/^\s*\d+\s*$/.test(i))return t}const r=/^H([1-6])$/i.exec(t);return r?Number(r[1]):2}function m(t,o){const i=o?.trim();if(i)return i;const r=(t??"").replace(/\s+/g," ").trim();return""===r?null:r}const v=["id","data-toc-label","data-toc-ignore","aria-level"],p=o(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get host(){return this}htmlFor;selector=l;rootMargin=h;label;async refresh(){this.discover(!0)}tree=[];currentId=null;loaded=!1;headings=[];entries=[];signature="";stopVisibility;tracking=!1;usedMargin=h;stopMutations;observedContainer=null;discoverToken=null;locked=!1;lockTimer;scrollEndView;scrollEndSupported=!1;revealPending=!1;componentDidLoad(){this.loaded=!0,this.start()}connectedCallback(){this.loaded&&this.start()}disconnectedCallback(){this.stop()}componentDidRender(){if(!this.revealPending)return;this.revealPending=!1;const t=this.host.shadowRoot?.querySelector("a[aria-current]");t&&c(t)}handleSourceChange(){this.loaded&&this.discover(!0)}handleMarginChange(){this.loaded&&this.discover(!0)}start(){this.stop(),this.listenForScrollEnd(),this.discover(!1)}stop(){this.stopVisibility?.(),this.stopVisibility=void 0,this.tracking=!1,this.stopMutations?.(),this.stopMutations=void 0,this.observedContainer=null,this.scrollEndView?.removeEventListener("scrollend",this.handleScrollEnd),this.scrollEndView=void 0,this.discoverToken=null,this.releaseLockState()}observeHeadings(t){this.stopVisibility?.(),this.stopVisibility=void 0,this.tracking="undefined"!=typeof IntersectionObserver;const o=o=>e(t,(()=>this.recompute()),{root:null,rootMargin:o,threshold:[0,1]}),i=this.rootMargin?.trim()||h;try{this.stopVisibility=o(i),this.usedMargin=i}catch{a(this.host.ownerDocument,"au-toc:root-margin",`au-toc: root-margin "${i}" is invalid, so the default margin is used.`),this.usedMargin=h,this.stopVisibility=o(h)}}listenForScrollEnd(){const t=this.host.ownerDocument.defaultView;this.scrollEndSupported=null!==t&&"onscrollend"in t,t&&this.scrollEndSupported&&(t.addEventListener("scrollend",this.handleScrollEnd,{passive:!0}),this.scrollEndView=t)}handleScrollEnd=()=>{this.locked?this.releaseLock():this.recompute()};resolve(){const t=this.host.ownerDocument,o=this.host.getRootNode(),i=this.htmlFor?.trim();let r;if(i){if(r=this.findById(o,i),!r)return a(t,"au-toc:missing-container",`au-toc: for="${i}" matches no element, so no heading is listed.`),{container:null,headings:[],entries:[]}}else r=o.querySelector("main")??o;11===o.nodeType&&"host"in o&&a(t,"au-toc:shadow-container","au-toc: the container is inside a shadow root, where native fragment links do not reach. The list renders, but its links may not navigate.");const n=this.selector?.trim()||l;let e;try{e=Array.from(r.querySelectorAll(n))}catch{return a(t,"au-toc:invalid-selector",`au-toc: selector "${n}" is not a valid CSS selector, so no heading is listed.`),{container:r,headings:[],entries:[]}}const s=[],c=[];for(const o of e){if(this.host.contains(o)||o.closest("[data-toc-ignore]"))continue;const i=o.getAttribute("id")??"";if(""===i.trim()){a(t,"au-toc:missing-id",`au-toc: a heading matched by "${n}" has no id and is not listed. Give it an id; au-toc never generates ids.`);continue}const r=m(o.textContent,o.getAttribute("data-toc-label"));null!==r&&(s.push(o),c.push({id:i,level:g(o.tagName,o.getAttribute("role"),o.getAttribute("aria-level")),label:r}))}return{container:r,headings:s,entries:c}}findById(t,o){return"function"==typeof t.getElementById?t.getElementById(o):t.querySelector(`[id="${o.replace(/["\\]/g,"\\$&")}"]`)}discover(t){const{container:o,headings:i,entries:r}=this.resolve();this.headings=i,this.entries=r;const n=JSON.stringify(r);n!==this.signature&&(this.signature=n,this.tree=function(t){const o=[],i=[];for(const r of t){const t={...r,children:[]};for(;i.length>0&&i[i.length-1].level>=t.level;)i.pop();const n=i[i.length-1];n?n.children.push(t):o.push(t),i.push(t)}return o}(r)),this.observeContainer(o),this.observeHeadings(i),t&&this.recompute()}observeContainer(t){t===this.observedContainer&&this.stopMutations||(this.stopMutations?.(),this.stopMutations=void 0,this.observedContainer=t,t&&(this.stopMutations=s(t,(()=>this.scheduleDiscover()),{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:v})))}scheduleDiscover(){if(this.discoverToken)return;const t={};this.discoverToken=t,this.afterFrame((()=>{this.discoverToken===t&&(this.discoverToken=null,this.host.isConnected&&this.discover(!0))}))}afterFrame(t){const o=this.host.ownerDocument.defaultView;o&&"function"==typeof o.requestAnimationFrame?o.requestAnimationFrame((()=>t())):setTimeout(t,16)}recompute(){if(this.locked||!this.tracking)return;const t=this.host.ownerDocument,o=t.defaultView;if(!o)return;if(0===this.headings.length)return void this.setCurrent(null);const i=o.innerHeight,r=d(this.usedMargin,0,i)??d(h,0,i),n=t.scrollingElement??t.documentElement,e=n.scrollHeight>n.clientHeight&&n.scrollTop+n.clientHeight>=n.scrollHeight-1,s=function(t){const{tops:o,line:i,atEnd:r,viewportBottom:n}=t;if(r){const t=f(o,(t=>t<n));if(-1!==t)return t}return f(o,(t=>t<=i))}({tops:this.headings.map((t=>t.getBoundingClientRect().top)),line:r,atEnd:e,viewportBottom:i});this.setCurrent(-1===s?null:this.entries[s]?.id??null)}setCurrent(t){this.currentId!==t&&(this.currentId=t,this.revealPending=null!==t)}handleLinkClick(t,o){0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||setTimeout((()=>{!t.defaultPrevented&&this.host.isConnected&&(this.setCurrent(o),this.lock())}),0)}lock(){this.releaseLockState(),this.locked=!0,this.lockTimer=setTimeout((()=>this.releaseLock()),this.scrollEndSupported?3e3:1e3)}releaseLockState(){this.locked=!1,void 0!==this.lockTimer&&clearTimeout(this.lockTimer),this.lockTimer=void 0}releaseLock(){this.releaseLockState(),this.recompute()}renderList(t,o){return r("ol",{part:"list",class:{toc__list:!0,"toc__list--nested":o}},t.map((t=>{const o=t.id===this.currentId;return r("li",{part:"item",class:"toc__item"},r("a",{part:o?"link link-current":"link",class:"toc__link",href:"#"+encodeURIComponent(t.id),"aria-current":o?"location":void 0,onClick:o=>this.handleLinkClick(o,t.id)},t.label),t.children.length>0?this.renderList(t.children,!0):null)})))}render(){const t=this.label?.trim()||"On this page",o=0===this.tree.length;return r(n,{key:"ce97aa737acb343f89587f621343174359ab45d1",empty:o},o?null:r("nav",{part:"nav",class:"toc","aria-label":t},r("slot",{name:"heading"}),this.renderList(this.tree,!1)))}static get watchers(){return{htmlFor:[{handleSourceChange:0}],selector:[{handleSourceChange:0}],rootMargin:[{handleMarginChange:0}]}}static get style(){return":host{--_toc-color:var(--aurora-toc-color, var(--aurora-color-text-muted, #566273));--_toc-hover-color:var(--aurora-toc-hover-color, var(--aurora-color-text, #202733));--_toc-current-color:var(--aurora-toc-current-color, var(--aurora-color-text, #202733));--_toc-indicator-color:var(--aurora-toc-indicator-color, var(--aurora-color-primary, #0b5cad));--_toc-indicator-thickness:var(--aurora-toc-indicator-thickness, 2px);--_toc-focus-ring:var(--aurora-toc-focus-ring, var(--aurora-color-focus, Highlight));--_toc-transition-duration:var( --aurora-toc-transition-duration, var(--aurora-motion-duration-fast, 120ms) );display:block}:host([empty]){display:none}.toc{font-family:var(--aurora-font-family, inherit);font-size:var(--aurora-toc-font-size, var(--aurora-font-size-sm, 0.875rem));line-height:var(--aurora-line-height-normal, 1.5)}::slotted([slot=heading]){color:var(--aurora-color-text, #202733);font-size:inherit;font-weight:var(--aurora-font-weight-medium, 500);margin-block:0 0.5rem}.toc__list{display:flex;flex-direction:column;gap:var(--aurora-toc-gap, 0.25rem);list-style:none;margin:0;padding:0}.toc__list:not(.toc__list--nested){border-inline-start:1px solid var(--aurora-color-border, rgba(127, 127, 127, 0.4))}.toc__list--nested{margin-block-start:var(--aurora-toc-gap, 0.25rem);padding-inline-start:var(--aurora-toc-indent, 0.75rem)}.toc__link{border-inline-start:var(--_toc-indicator-thickness) solid transparent;box-sizing:border-box;color:var(--_toc-color);display:block;padding-block:0.25rem;padding-inline:0.75rem;text-decoration:none;transition-duration:var(--_toc-transition-duration);transition-property:color, border-color;transition-timing-function:var(--aurora-motion-easing-standard, ease)}.toc__list:not(.toc__list--nested)>.toc__item>.toc__link{margin-inline-start:-1px}.toc__link:hover{color:var(--_toc-hover-color)}.toc__link[aria-current]{border-inline-start-color:var(--_toc-indicator-color);color:var(--_toc-current-color);font-weight:var(--aurora-font-weight-medium, 500)}.toc__link:focus-visible{outline:var(--aurora-focus-ring-width, 2px) solid var(--aurora-focus-ring-color, var(--aurora-color-focus, Highlight));outline-offset:var(--aurora-focus-ring-offset, 2px);outline-color:var(--_toc-focus-ring);outline-offset:-2px}@media (prefers-reduced-motion: reduce){.toc__link{transition-duration:0s}}@media (forced-colors: active){.toc__link{color:LinkText;forced-color-adjust:none}.toc__link:hover{color:Highlight}.toc__link[aria-current]{border-inline-start-color:Highlight;color:CanvasText}.toc__list:not(.toc__list--nested){border-inline-start-color:CanvasText}.toc__link:focus-visible{outline-color:Highlight}}"}},[769,"au-toc",{htmlFor:[513,"for"],selector:[513],rootMargin:[513,"root-margin"],label:[1],tree:[32],currentId:[32],refresh:[64]},void 0,{htmlFor:[{handleSourceChange:0}],selector:[{handleSourceChange:0}],rootMargin:[{handleMarginChange:0}]}]);function _(){"undefined"!=typeof customElements&&["au-toc"].forEach((o=>{"au-toc"===o&&(customElements.get(t(o))||customElements.define(t(o),p))}))}_();const b=p,k=_;export{b as AuToc,k as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface AuTooltip extends Components.AuTooltip, HTMLElement {}
4
+ export const AuTooltip: {
5
+ prototype: AuTooltip;
6
+ new (): AuTooltip;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as i,H as o,h as e,c as s}from"./p-DTeHrc-Q.js";import{g as a,J as r}from"./p-DBHfOAQc.js";import{w as n}from"./p-Ci-XzGE3.js";const h={top:"top",topStart:"top-start",topEnd:"top-end",bottom:"bottom",bottomStart:"bottom-start",bottomEnd:"bottom-end",start:"start",end:"end"},p=new Set(Object.values(h)),l=i(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get host(){return this}htmlFor;open=!1;placement=h.top;support={popover:!1,hint:!1,anchor:!1};loaded=!1;trigger;observer;positioner;warned=new Set;hovered=!1;hoverReady=!1;focused=!1;dismissed=!1;apiOpen=!1;showTimer;leaveTimer;nativeOpen=!1;requested=!1;internalWrite=!1;async show(){this.open||(this.open=!0)}async hide(){this.open&&(this.open=!1)}openChanged(){this.internalWrite||(this.apiOpen=this.open,this.open||!this.hovered&&!this.focused||(this.dismissed=!0)),this.loaded&&this.syncNative()}forChanged(){this.loaded&&this.bind()}connectedCallback(){this.loaded&&(this.bind(),this.observeId(),this.open&&this.support.popover&&this.showNative())}disconnectedCallback(){this.unbind(),this.observer?.disconnect(),this.observer=void 0,this.positioner?.stop(),this.open&&!this.apiOpen&&this.writeOpen(!1),this.nativeOpen=!1,this.detachEscape()}componentWillLoad(){this.support=a(this.host.ownerDocument),this.writeAttributes(),this.support.popover||n(this.host.ownerDocument,"au-tooltip:popover-api","[au-tooltip] The Popover API is not available in this browser. The tooltip text stays visible in normal flow and cannot open, close or be dismissed.")}componentDidLoad(){this.loaded=!0,this.open&&(this.apiOpen=!0),this.bind(),this.observeId(),this.open&&this.syncNative()}handleBeforeToggle(t){if(t.target===this.host)return"open"===t.newState?(this.nativeOpen=!0,this.attachEscape(),void(this.open||this.writeOpen(!0))):void(!this.requested&&this.nativeOpen&&(this.nativeOpen=!1,this.detachEscape(),this.positioner?.stop(),this.apiOpen=!1,this.dismissed=!0,this.open&&this.writeOpen(!1)))}handleToggle(t){t.target===this.host&&"open"===t.newState&&this.startPositioning()}handleHostPointerEnter(t){this.handlePointerEnter(t)}handleHostPointerLeave(t){this.handlePointerLeave(t)}get safePlacement(){return(t=>"string"==typeof t&&p.has(t))(this.placement)?this.placement:h.top}writeAttributes(){if("tooltip"!==this.host.getAttribute("role")&&this.host.setAttribute("role","tooltip"),!this.support.popover)return;const t=this.support.hint?"hint":"manual";this.host.getAttribute("popover")!==t&&this.host.setAttribute("popover",t)}warnOnce(t,i){this.warned.has(t)||(this.warned.add(t),console.warn("[au-tooltip] "+i))}bind(){this.unbind();const t=this.host.id;t||this.warnOnce("id",'The tooltip has no "id". Give it one and reference it from the trigger with aria-describedby.');const i=this.host.getRootNode(),o=this.htmlFor?.trim(),e=o&&"function"==typeof i.getElementById?i.getElementById(o):null;e?(this.trigger=e,e.addEventListener("pointerenter",this.handlePointerEnter),e.addEventListener("pointerleave",this.handlePointerLeave),e.addEventListener("focusin",this.handleFocusIn),e.addEventListener("focusout",this.handleFocusOut),e.addEventListener("click",this.handleClick),t&&!(e.getAttribute("aria-describedby")??"").split(/\s+/).includes(t)&&this.warnOnce("describedby",`The trigger "${o}" does not list "${t}" in aria-describedby, so it has no description. Add aria-describedby="${t}" to the trigger.`)):this.warnOnce("for",`The "for" attribute ${o?`"${o}" does not match an element in the same root`:"is not set"}, so the tooltip has no trigger and is not anchored.`)}unbind(){const t=this.trigger;t&&(t.removeEventListener("pointerenter",this.handlePointerEnter),t.removeEventListener("pointerleave",this.handlePointerLeave),t.removeEventListener("focusin",this.handleFocusIn),t.removeEventListener("focusout",this.handleFocusOut),t.removeEventListener("click",this.handleClick)),this.trigger=void 0,clearTimeout(this.showTimer),clearTimeout(this.leaveTimer),this.showTimer=void 0,this.leaveTimer=void 0,this.hovered=!1,this.hoverReady=!1,this.focused=!1,this.dismissed=!1}observeId(){this.observer||"undefined"==typeof MutationObserver||(this.observer=new MutationObserver((()=>{this.loaded&&this.bind()})),this.observer.observe(this.host,{attributes:!0,attributeFilter:["id"]}))}handlePointerEnter=t=>{"touch"!==t.pointerType&&(clearTimeout(this.leaveTimer),this.leaveTimer=void 0,this.hovered||(this.hovered=!0,this.showTimer=setTimeout((()=>{this.showTimer=void 0,this.hoverReady=!0,this.update()}),500)))};handlePointerLeave=t=>{"touch"!==t.pointerType&&this.hovered&&(clearTimeout(this.leaveTimer),this.leaveTimer=setTimeout((()=>{this.leaveTimer=void 0,clearTimeout(this.showTimer),this.showTimer=void 0,this.hovered=!1,this.hoverReady=!1,this.settleDismissed(),this.update()}),150))};handleFocusIn=t=>{const i=t.composedPath()[0];let o=!1;try{o=!!i?.matches(":focus-visible")}catch{o=!1}o&&(this.focused=!0,this.update())};handleFocusOut=t=>{const i=t.relatedTarget;i&&this.trigger?.contains(i)||(this.focused=!1,this.settleDismissed(),this.update())};handleClick=()=>{this.dismissed=!0,this.update()};settleDismissed(){this.hovered||this.focused||(this.dismissed=!1)}update(){const t=(this.hoverReady||this.focused)&&!this.dismissed;t&&!this.open?this.writeOpen(!0):t||!this.open||this.apiOpen||this.writeOpen(!1)}writeOpen(t){this.internalWrite=!0;try{this.open=t}finally{this.internalWrite=!1}}syncNative(){this.support.popover&&this.host.isConnected&&(this.open&&!this.nativeOpen?this.showNative():!this.open&&this.nativeOpen&&this.hideNative())}showNative(){this.writeAttributes();const t=this.trigger;this.requested=!0;try{this.host.showPopover(t?{source:t}:void 0)}finally{this.requested=!1}this.nativeOpen=!0,this.attachEscape(),this.startPositioning()}hideNative(){this.nativeOpen=!1,this.detachEscape(),this.positioner?.stop(),this.requested=!0;try{this.host.hidePopover()}finally{this.requested=!1}}startPositioning(){this.nativeOpen&&(this.support.anchor&&this.trigger||(this.positioner??=new r(this.host,{placement:()=>this.safePlacement,offsetProperty:"--aurora-tooltip-offset",defaultOffset:"0.5rem"}),this.positioner.start(this.trigger)))}attachEscape(){this.support.hint||this.host.ownerDocument.addEventListener("keydown",this.handleKeydown,!0)}detachEscape(){this.host.ownerDocument.removeEventListener("keydown",this.handleKeydown,!0)}handleKeydown=t=>{"Escape"===t.key&&this.open&&(this.dismissed=!0,this.apiOpen=!1,this.writeOpen(!1),t.preventDefault())};render(){return e(s,{key:"0707226ec7d04c547ea8f8899922c11ed54060e7"},e("slot",{key:"68e740fd8f45aa3cb34c682f505270d1d95bcbaf"}))}static get watchers(){return{open:[{openChanged:0}],htmlFor:[{forChanged:0}]}}static get style(){return":host{--_tooltip-offset:var(--aurora-tooltip-offset, 0.5rem);--_tooltip-transition-duration:var( --aurora-tooltip-transition-duration, var(--aurora-motion-duration-fast, 120ms) )}:host([popover]:not(:popover-open)){display:none !important}:host(:popover-open){--_au-gap:calc(var(--_tooltip-offset) * var(--_au-offset-scale, 1));box-sizing:border-box;display:block;inset:auto;left:var(--_au-left, auto);margin:0;margin-block-end:var(--_au-gap);position:fixed;position-area:var(--_au-top, self-block-start);position-try-fallbacks:var(--_au-top, flip-block, flip-inline);top:var(--_au-top, auto)}:host([placement=top]:popover-open){margin:0;margin-block-end:var(--_au-gap);position-area:var(--_au-top, self-block-start)}:host([placement=top-start]:popover-open){margin:0;margin-block-end:var(--_au-gap);position-area:var(--_au-top, self-block-start span-self-inline-end)}:host([placement=top-end]:popover-open){margin:0;margin-block-end:var(--_au-gap);position-area:var(--_au-top, self-block-start span-self-inline-start)}:host([placement=bottom]:popover-open){margin:0;margin-block-start:var(--_au-gap);position-area:var(--_au-top, self-block-end)}:host([placement=bottom-start]:popover-open){margin:0;margin-block-start:var(--_au-gap);position-area:var(--_au-top, self-block-end span-self-inline-end)}:host([placement=bottom-end]:popover-open){margin:0;margin-block-start:var(--_au-gap);position-area:var(--_au-top, self-block-end span-self-inline-start)}:host([placement=start]:popover-open){margin:0;margin-inline-end:var(--_au-gap);position-area:var(--_au-top, self-inline-start center)}:host([placement=end]:popover-open){margin:0;margin-inline-start:var(--_au-gap);position-area:var(--_au-top, self-inline-end center)}:host(:popover-open){background-color:var(--aurora-tooltip-background, rgb(from var(--aurora-color-text, #1f2937) r g b/1));border:0;border-radius:var(--aurora-tooltip-radius, var(--aurora-radius-sm, 0.375rem));color:var(--aurora-tooltip-color, rgb(from var(--aurora-color-surface, #fff) r g b/1));font-family:var(--aurora-font-family-body, Lato, system-ui, sans-serif);font-size:var(--aurora-tooltip-font-size, var(--aurora-font-size-sm, 0.875rem));inline-size:max-content;line-height:1.4;max-inline-size:var(--aurora-tooltip-max-inline-size, 20rem);opacity:1;overflow-wrap:anywhere;padding:var(--aurora-tooltip-padding, 0.375rem 0.625rem);pointer-events:auto}:host([popover]){transition-duration:var(--_tooltip-transition-duration);transition-property:opacity}@starting-style{:host(:popover-open){opacity:0}}@media (forced-colors: active){:host(:popover-open){background-color:Canvas;border:1px solid CanvasText;color:CanvasText}}@media (prefers-reduced-motion: reduce){:host([popover]){transition-duration:0s}}"}},[769,"au-tooltip",{htmlFor:[513,"for"],open:[1540],placement:[513],show:[64],hide:[64]},[[0,"beforetoggle","handleBeforeToggle"],[0,"toggle","handleToggle"],[1,"pointerenter","handleHostPointerEnter"],[1,"pointerleave","handleHostPointerLeave"]],{open:[{openChanged:0}],htmlFor:[{forChanged:0}]}]);function d(){"undefined"!=typeof customElements&&["au-tooltip"].forEach((i=>{"au-tooltip"===i&&(customElements.get(t(i))||customElements.define(t(i),l))}))}d();const c=l,u=d;export{c as AuTooltip,u as defineCustomElement}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Get the base path to where the assets can be found. Use "setAssetPath(path)"
3
+ * if the path needs to be customized.
4
+ */
5
+ export declare const getAssetPath: (path: string) => string;
6
+
7
+ /**
8
+ * Used to manually set the base path where assets can be found.
9
+ * If the script is used as "module", it's recommended to use "import.meta.url",
10
+ * such as "setAssetPath(import.meta.url)". Other options include
11
+ * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
12
+ * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
13
+ * But do note that this configuration depends on how your script is bundled, or lack of
14
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
15
+ * will have to ensure the static assets are copied to its build directory.
16
+ */
17
+ export declare const setAssetPath: (path: string) => void;
18
+
19
+ /**
20
+ * Used to specify a nonce value that corresponds with an application's CSP.
21
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
22
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
23
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
24
+ * will result in the same behavior.
25
+ */
26
+ export declare const setNonce: (nonce: string) => void
27
+
28
+ export interface SetPlatformOptions {
29
+ raf?: (c: FrameRequestCallback) => number;
30
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
31
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
32
+ }
33
+ export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
34
+
35
+ export * from '../types';
@@ -0,0 +1 @@
1
+ export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-DTeHrc-Q.js";export{A as ALIGNMENT,C as COLOR,a as COLORS,E as ELEVATION,G as GAP,J as JUSTIFICATION,M as MARGIN,O as ORIENTATION,P as PADDING,b as PLACEMENT,c as POSITION,R as RADIUS,S as SIZE}from"./p-DqqWqhAT.js";const e=Object.freeze({extraSmall:"0.25rem",small:"0.5rem",medium:"1rem",large:"1.5rem",extraLarge:"2rem",doubleExtraLarge:"3rem"}),t=Object.freeze({0:"0",1:"0.25rem",2:"0.5rem",3:"1rem",4:"1.5rem",5:"3rem",6:"3.5rem",7:"4rem",8:"4.5rem",9:"5rem",10:"5.5rem"}),o=Object.freeze({none:"0",sm:"0.25rem",md:"0.5rem",lg:"0.75rem",xl:"1rem",pill:"999px"}),n=Object.freeze({0:"0",1:"1px",2:"2px",3:"3px",4:"4px",5:"5px"}),m=Object.freeze({solid:"solid",dashed:"dashed",dotted:"dotted",double:"double",none:"none"}),l=Object.freeze({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem"}),i=Object.freeze({normal:400,medium:500,semibold:600,bold:700}),u=Object.freeze({tight:1.25,normal:1.5,relaxed:1.75}),d=Object.freeze({sans:'Lato, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',body:'Lato, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',heading:'Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',description:'Lato, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',small:'Lato, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif'}),p=Object.freeze({tight:"-0.025em",normal:"0",wide:"0.025em"}),f=Object.freeze({none:"none",sm:"0 1px 2px rgb(15 23 42 / 8%)",md:"0 8px 24px rgb(15 23 42 / 12%)",lg:"0 20px 56px rgb(15 23 42 / 16%)"}),x=Object.freeze({instant:0,fast:120,normal:180,slow:300,long:1e3}),h=Object.freeze({standard:"cubic-bezier(0.2, 0.7, 0.2, 1)",emphasized:"cubic-bezier(0.2, 0, 0, 1)"}),y=Object.freeze({xs:0,sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px"}),j=Object.freeze({base:0,dropdown:1e3,sticky:1100,overlay:1200,modal:1300,toast:1400,tooltip:1500}),k=Object.freeze({25:"25%",50:"50%",75:"75%",100:"100%",xs:"20rem",sm:"24rem",md:"32rem",lg:"48rem",xl:"64rem","2xl":"72rem","3xl":"76rem",wide:"78rem",full:"100%",auto:"auto"}),I=Object.freeze({extraSmall:e.extraSmall,small:e.small,medium:e.medium,large:e.large,extraLarge:e.extraLarge,doubleExtraLarge:e.doubleExtraLarge}),N={default:"default",dark:"dark",glass:"glass",minimal:"minimal"},L="system",w={light:"light",dark:"dark"},T="data-aurora-theme",U="data-aurora-color-scheme",F={theme:L,colorScheme:null},v=new Set(Object.values(N)),B=e=>"string"==typeof e&&v.has(e),D=new WeakMap;function q(e,t,r){let s=D.get(e);s||(s=new Set,D.set(e,s)),s.has(t)||(s.add(t),console.warn(`[${t}] ${r}`))}function z(e){return e||("undefined"==typeof document?void 0:document.documentElement)}function $(e){const t=z(e);if(!t)return{...F};const r=t.getAttribute(T);return B(r)?{theme:r,colorScheme:"dark"===t.getAttribute(U)?"dark":null}:{...F}}function W(e){try{return e.ownerDocument.defaultView?.localStorage}catch{return}}function H(e,t={}){const r=z(t.target);if(!r)return{...F};const s=r.ownerDocument,{theme:a,colorScheme:o}=e;if(a===L)r.removeAttribute(T),r.removeAttribute(U);else{if(!B(a))return q(s,"aurora-theme:unknown",`Unknown theme ${JSON.stringify(a)}; nothing changed. Use "default", "dark", "glass", "minimal" or "system".`),$(r);a===N.default&&r!==s.documentElement?(r.removeAttribute(T),r.removeAttribute(U),q(s,"aurora-theme:default-subtree",'"default" cannot reset tokens inherited from a dark ancestor, so the theme attributes were removed from this element. Use "default" on the document root, or "system" here.')):(r.setAttribute(T,a),a!==N.glass&&a!==N.minimal||"dark"!==o?r.removeAttribute(U):r.setAttribute(U,"dark"))}const n=$(r);if(void 0!==t.storageKey)try{W(r)?.setItem(t.storageKey,JSON.stringify(n))}catch{}return n}function Q(e){const t=z(e.target);if(!t)return{...F};let r=null;try{r=W(t)?.getItem(e.storageKey)??null}catch{r=null}const s=function(e){if(null===e)return;let t;try{t=JSON.parse(e)}catch{return}if("object"!=typeof t||null===t)return;const{theme:r,colorScheme:s}=t;return r!==L&&!B(r)||null!=s&&!(e=>"light"===e||"dark"===e)(s)?void 0:{theme:r,colorScheme:s??null}}(r);return H(s??e.fallback??F,{target:t})}export{m as BORDER_STYLES,n as BORDER_WIDTHS,y as BREAKPOINTS,w as COLOR_SCHEME,d as FONT_FAMILIES,l as FONT_SIZES,i as FONT_WEIGHTS,p as LETTER_SPACINGS,u as LINE_HEIGHTS,x as MOTION_DURATIONS,h as MOTION_EASINGS,o as RADII,f as SHADOWS,I as SIZES,e as SPACING,t as SPACING_SCALE,N as THEME,L as THEME_SYSTEM,k as WIDTHS,j as Z_INDEX,H as applyTheme,$ as readTheme,Q as restoreTheme}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const e={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};export{e as default}
@@ -0,0 +1 @@
1
+ import{n as r,g as t,r as i,i as o}from"./p-ZpauIcNt.js";const n=Symbol.for("@re-code/aurora/icon-autoload@1"),p={x:()=>import("./p-BTZwl4uD.js"),check:()=>import("./p-CnJOd66V.js"),plus:()=>import("./p-CU9sZ49I.js"),minus:()=>import("./p-kbAXs-sG.js"),info:()=>import("./p-CA3n-tpF.js"),"circle-check":()=>import("./p-kpQFQ7bu.js"),"triangle-alert":()=>import("./p-CJtRxiuh.js"),"octagon-alert":()=>import("./p-DTEnois3.js"),copy:()=>import("./p-B3rlZvSP.js"),"copy-check":()=>import("./p-Cq5N0E4D.js"),"circle-x":()=>import("./p-tdx7CCkD.js"),"user-round":()=>import("./p-C6E5E18W.js"),"trending-up":()=>import("./p-DMeUBbqF.js"),"trending-down":()=>import("./p-DjW6oMgu.js")},e=new Map;function s(r){if(!o(r)||!("default"in r))throw new TypeError("Lucide dynamic import did not expose a default icon export.");const t=r.default;if(!o(i=t)||"string"!=typeof i.name||!Array.isArray(i.node))throw new TypeError("Lucide dynamic import returned an invalid icon definition.");var i;return t}async function a(o){const a=r(o);if(!a)return;const c=t(a);if(c)return c;let u=e.get(a);if(!u){const r=(d=a,Object.prototype.hasOwnProperty.call(p,d)?p[d]:globalThis[n]?.resolve(d));if(!r)return;u=r().then((r=>{return{name:a,data:(t=s(r),{name:t.name,variant:"outline",node:t.node,...void 0!==t.size?{size:t.size}:{},...void 0!==t.width?{width:t.width}:{},...void 0!==t.height?{height:t.height}:{}})};var t})).catch((r=>{throw e.delete(a),r})),e.set(a,u)}var d;const m=await u;return t(a)||i(m),t(a)}export{a as loadBuiltInIcon}
@@ -0,0 +1 @@
1
+ function r(r,e,n){return r.hasAttribute("value")||e||void 0===n?e:n}export{r}
@@ -0,0 +1 @@
1
+ const t={horizontal:"horizontal",vertical:"vertical"},e={small:"small",medium:"medium",large:"large"},n={radio:"radio",toggle:"toggle"},r=new Set(Object.values(t)),a=new Set(Object.values(e)),l=new Set(Object.values(n)),o=t=>"string"==typeof t&&r.has(t),s=t=>"string"==typeof t&&a.has(t),i=t=>"string"==typeof t&&l.has(t);function c(t){const{multiple:e,name:n,selected:r}=t;if(0===r.length)return null;if(!e)return r[0]??null;const a=n?.trim();if(!n||!a)return null;const l=new FormData;for(const t of r)l.append(n,t);return l}export{t as S,e as a,s as b,n as c,i as d,o as i,c as s}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const e={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};export{e as default}
@@ -0,0 +1 @@
1
+ function t(t){if(t.assignedSlot)return t.assignedSlot;if(t.parentElement)return t.parentElement;const n=t.getRootNode();return n instanceof ShadowRoot?n.host:null}function n(t){const{overflowY:n}=getComputedStyle(t);return/^(auto|scroll|overlay)$/.test(n)&&t.scrollHeight>t.clientHeight}function o(o,r=0){const e=function(o){const r=o.ownerDocument;for(let e=t(o);e;e=t(e)){if(e===r.scrollingElement||e===r.documentElement||e===r.body)return null;if(n(e))return e}return null}(o);if(!e)return;const i=o.getBoundingClientRect(),u=function(t){const{scrollTop:n,containerHeight:o,itemTop:r,itemHeight:e,margin:i}=t,u=r-i,c=r+e+i;let l=0;return e+2*i>o||u<0?l=u:c>o&&(l=c-o),Math.max(0,n+l)}({scrollTop:e.scrollTop,containerHeight:e.clientHeight,itemTop:i.top-e.getBoundingClientRect().top,itemHeight:i.height,margin:Math.max(0,r)});u!==e.scrollTop&&e.scrollTo({top:u,behavior:"instant"})}export{o as r}
@@ -0,0 +1 @@
1
+ function r(r){let t=r.activeElement;for(;t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}export{r as d}
@@ -0,0 +1 @@
1
+ function n(n,r){return{valueMissing:n&&!r}}export{n as r}
@@ -0,0 +1 @@
1
+ const r=new Map;function n(n){const t=(r.get(n)??0)+1;return r.set(n,t),`aurora-${n}-${t}`}function t(r){return{hint:`${r}-hint`,error:`${r}-error`}}export{t as a,n as c}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const e={name:"user-round",size:24,node:[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],aliases:["user-2"]};export{e as default}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const e={name:"info",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]};export{e as default}
@@ -0,0 +1 @@
1
+ const t=(t,n)=>"number"==typeof t&&Number.isFinite(t)?t:n;function n(t){if(!Number.isFinite(t))return 0;const[n="",e]=String(t).toLowerCase().split("e"),o=n.split(".")[1]?.length??0;return Math.max(0,o-Number(e??0))}function e(t){return"string"==typeof t&&"any"===t.trim().toLowerCase()?"any":"number"==typeof t&&Number.isFinite(t)&&t>0?t:1}function o(n){const e=t(n.min,0),o=t(n.max,100);return{min:e,max:o<e?e:o}}function r(r){const{min:u,max:a}=o(r),i=e(r.step),c=t(r.value,u+(a-u)/2),f=Math.min(a,Math.max(u,c));if("any"===i)return f;const s=Math.floor((a-u)/i+1e-9),m=Math.min(s,Math.floor((f-u)/i+.5+1e-9)),b=Math.max(n(i),n(u));return Number((u+m*i).toFixed(Math.min(b,100)))}function u(t){const{min:n,max:e}=t;if(!(e>=n))return[];const o=e-n,r=[];for(const u of t.marks){const t="number"==typeof u?u:"object"==typeof u&&null!==u?u.value:void 0;if("number"!=typeof t||!Number.isFinite(t)||t<n||t>e)continue;const a="object"==typeof u?u.label:void 0,i="string"==typeof a&&a.trim()?a:void 0,c={value:t,percent:0===o?0:(t-n)/o*100};void 0!==i&&(c.label=i),r.push(c)}return r}export{e as a,n as d,u as m,o as r,r as s}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const a={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};export{a as default}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const e={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};export{e as default}
@@ -0,0 +1 @@
1
+ const e={multiple:"multiple",single:"single"},l=new Set(Object.values(e)),t=e=>"string"==typeof e&&l.has(e);function n(e){if(null==e)return{level:3,valid:!0};const l="number"==typeof e?e:"string"==typeof e&&/^[1-6]$/.test(e)?Number(e):Number.NaN;return Number.isInteger(l)&&l>=1&&l<=6?{level:l,valid:!0}:{level:3,valid:!1}}export{e as A,t as i,n}
@@ -0,0 +1 @@
1
+ const e=new WeakMap;function n(n,t,o){let a=e.get(n);return a||(a=new Set,e.set(n,a)),!a.has(t)&&(a.add(t),console.warn(o),!0)}export{n as w}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const e={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};export{e as default}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const e={name:"copy-check",size:24,node:[["path",{d:"m12 15 2 2 4-4",key:"2c609p"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};export{e as default}
@@ -0,0 +1 @@
1
+ function o(o){const c={};for(const e of Object.keys(o)){const s=o[e];void 0!==s&&(c[e]=s)}return c}function c(o,c){o&&(void 0!==c?o.setAttribute("spellcheck",c?"true":"false"):o.removeAttribute("spellcheck"))}export{o,c as s}
@@ -0,0 +1 @@
1
+ const t={top:"bottom",bottom:"top",start:"end",end:"start"},o=t=>{const[o,s]=t.split("-");return{side:o,align:s??"center"}},s=(t,o,s)=>Math.max(o,Math.min(t,Math.max(o,s)));function e(t,o){const{anchor:s,viewport:e,direction:n}=t;switch(i(o,n)){case"top":return s.top-8;case"bottom":return e.height-(s.top+s.height)-8;case"left":return s.left-8;default:return e.width-(s.left+s.width)-8}}function i(t,o){if("top"===t||"bottom"===t)return t;const s="ltr"===o;return"start"===t?s?"left":"right":s?"right":"left"}const n="--_au-top",r="--_au-left",h="--_au-offset-scale";class c{host;options;source;running=!1;frame;resizeObserver;constructor(t,o){this.host=t,this.options=o}start(t){this.source=t;const o=this.host.ownerDocument.defaultView;o&&(this.running||(this.running=!0,o.addEventListener("scroll",this.schedule,{capture:!0,passive:!0}),o.addEventListener("resize",this.schedule),"undefined"!=typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.schedule),this.resizeObserver.observe(this.host))),this.update())}stop(){const t=this.host.ownerDocument.defaultView;this.running&&t&&(t.removeEventListener("scroll",this.schedule,{capture:!0}),t.removeEventListener("resize",this.schedule)),this.resizeObserver?.disconnect(),this.resizeObserver=void 0,void 0!==this.frame&&t&&t.cancelAnimationFrame(this.frame),this.frame=void 0,this.running=!1,this.source=void 0;for(const t of[n,r,h])this.host.style.removeProperty(t)}schedule=()=>{const t=this.host.ownerDocument.defaultView;t&&void 0===this.frame&&(this.frame=t.requestAnimationFrame((()=>{this.frame=void 0,this.running&&this.update()})))};update(){const{host:c}=this,a=c.ownerDocument,f=a.defaultView;if(!f)return;c.style.getPropertyValue(n)||(c.style.setProperty(n,"0px"),c.style.setProperty(r,"0px"),c.style.setProperty(h,"0"));const l=c.getBoundingClientRect(),u={width:a.documentElement.clientWidth,height:a.documentElement.clientHeight};let p,d;if(this.source&&this.source.isConnected){const n=this.source.getBoundingClientRect(),r=function(t,o){const s=t.ownerDocument.defaultView;if(!s)return 0;const e=t.style.outlineOffset;t.style.outlineOffset=o;const i=Number.parseFloat(s.getComputedStyle(t).outlineOffset);return t.style.outlineOffset=e,Number.isFinite(i)?i:0}(c,`var(${this.options.offsetProperty}, ${this.options.defaultOffset})`),h="rtl"===f.getComputedStyle(c).direction?"rtl":"ltr";({top:p,left:d}=function(n){const{side:r,align:h}=o(n.placement);let c=r;if(e(n,r)<((t,o)=>("top"===o||"bottom"===o?t.floating.height:t.floating.width)+t.offset)(n,r)){const o=t[r];e(n,o)>e(n,r)&&(c=o)}const a=((t,o)=>"center"===o?t:`${t}-${o}`)(c,h),f=function(t,s){const{anchor:e,floating:n,offset:r,direction:h}=t,{side:c,align:a}=o(s),f=i(c,h),l="rtl"===h;if("top"===f||"bottom"===f){const t="start"===a?!l:"end"===a?l:null;let o;return o=null===t?e.left+e.width/2-n.width/2:t?e.left:e.left+e.width-n.width,{top:"top"===f?e.top-r-n.height:e.top+e.height+r,left:o}}return{top:e.top+e.height/2-n.height/2,left:"left"===f?e.left-r-n.width:e.left+e.width+r}}(n,a),{viewport:l,floating:u}=n,p="top"===c||"bottom"===c;return{top:p?f.top:s(f.top,8,l.height-8-u.height),left:p?s(f.left,8,l.width-8-u.width):f.left,placement:a}}({anchor:{top:n.top,left:n.left,width:n.width,height:n.height},floating:{width:l.width,height:l.height},viewport:u,placement:this.options.placement(),offset:r,direction:h}))}else p=Math.max(0,(u.height-l.height)/2),d=Math.max(0,(u.width-l.width)/2);c.style.setProperty(n,`${p}px`),c.style.setProperty(r,`${d}px`),c.style.setProperty(h,"0")}}const a=new WeakMap;function f(t=document){let o=a.get(t);return o||(o=function(t){const o=t.defaultView,s="function"==typeof o?.HTMLElement?.prototype?.showPopover;let e=!1;if(s){const o=t.createElement("div");o.popover="hint",e="hint"===o.popover}const i=o?.CSS?.supports;return{popover:s,hint:e,anchor:"function"==typeof i&&i.call(o?.CSS,"anchor-name: --a")&&i.call(o?.CSS,"position-area: top")}}(t),a.set(t,o)),o}export{c as J,f as g}
@@ -0,0 +1 @@
1
+ function r(r,t,n){return"string"==typeof r&&t.includes(r)?r:n}export{r}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const e={name:"trending-up",size:24,node:[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]};export{e as default}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const a={name:"octagon-alert",size:24,node:[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]],aliases:["alert-octagon"]};export{a as default}
@@ -0,0 +1 @@
1
+ function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var n,e=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],s=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(n,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},o=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},l=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),i=new Map,r="http://www.w3.org/1999/xlink",c=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],f="undefined"!=typeof window?window:{},u=f.HTMLElement||class{},a={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},d=(()=>{var t;let n=!1;try{null==(t=f.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){n=!0}}))}catch(t){}return n})(),p=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!p&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),h=!1,b=[],m=[],y=()=>{var t;return(null==(t=f.document)?void 0:t.hidden)?setTimeout(w,16):a.raf(w)},$=(t,n)=>e=>{t.push(e),h||(h=!0,n&&4&a.i?j(w):y())},g=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},w=()=>{g(b),g(m),(h=b.length>0)&&y()},j=t=>Promise.resolve(undefined).then(t),O=$(m,!0),S=t=>{const n=new URL(t,a.u);return n.origin!==f.location.origin?n.href:n.pathname},k=t=>a.u=t;function N(t){const e={mode:"open"};e.delegatesFocus=!!(16&t.i);const o=this.attachShadow(e);void 0===n&&(n=null),n&&(v?o.adoptedStyleSheets.push(n):o.adoptedStyleSheets=[...o.adoptedStyleSheets,n])}var M=t=>{const n=R(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&C(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!E(t,A(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&R(t,"childNodes").length&&M(t)}};function C(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||A(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...C(R(o,"childNodes"),n,e)]}return s}var E=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)A(l)!==n||!e&&l["s-sr"]||o.push(l);return o},x=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,A=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function R(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var _,L,T,F=new WeakMap,D=t=>"sc-"+t.p,H=t=>"object"==(t=typeof t)||"function"===t,P=(t,n,...e)=>{let o=null,l=null,i=null,r=!1,c=!1;const f=[],u=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(r="function"!=typeof t&&!H(o))o=String(o);else if("function"!=typeof t&&void 0===o.i){s("Invalid vNode child");continue}r&&c?f[f.length-1].v+=o:f.push(r?U(null,o):o),c=r}};if(u(e),n){n.key&&(l=n.key),n.name&&(i=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,f,B);const a=U(t,null);return a.h=n,f.length>0&&(a.m=f),a.$=l,a.j=i,a},U=(t,n)=>({i:0,O:t,v:null!=n?n:null,S:null,m:null,h:null,$:null,j:null}),W={},B={forEach:(t,n)=>t.map(V).forEach(n),map:(t,n)=>t.map(V).map(n).map(q)},V=t=>({vattrs:t.h,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.v}),q=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),P(t.vtag,n,...t.vchildren||[])}const n=U(t.vtag,t.vtext);return n.h=t.vattrs,n.m=t.vchildren,n.$=t.vkey,n.j=t.vname,n},z=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},I=(t,n,e)=>null==t||H(t)?t:4&n?(e&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?String(t):t,Y=(t,n,e)=>{const o=t;return{emit:t=>Z(o,n,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:t})}},Z=(t,n,e)=>{const o=a.ce(n,e);return t.dispatchEvent(o),o},G=(t,n,e,s,i,c)=>{if(e===s)return;let u=l(t,n),d=n.toLowerCase();if("class"===n){const n=t.classList,o=X(e);let l=X(s);{let t=o.filter((t=>t&&!l.includes(t)));n.remove(...t),n.add(...l.filter((t=>t&&!o.includes(t))))}}else if("style"===n){for(const n in e)s&&null!=s[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)e&&s[n]===e[n]||(n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if("key"===n);else if("ref"===n)s&&wt(s,t);else if(t.__lookupSetter__(n)||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let l;{const n=o(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(l=t[1])}}return l||(l=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===s?"":s))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}{const o=H(s);if((u||o&&null!==s)&&!i)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const o=null==s?"":s;"list"===n?u=!1:null!=e&&t[n]===o||("function"==typeof t.__lookupSetter__(n)?t[n]=o:t.setAttribute(n,o))}}catch(t){}let l=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(n=d,l=!0),null==s||!1===s?(!1!==s||""===t.getAttribute(n)||4&c&&!K(n))&&(l?t.removeAttributeNS(r,n):t.removeAttribute(n)):(!u||4&c||i)&&!o&&1===t.nodeType&&(s=!0===s?"":s,l?t.setAttributeNS(r,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):l(f,d)?d.slice(2):d[2]+n.slice(3),e||s){const o=n.endsWith(tt);n=n.replace(nt,""),e&&a.rel(t,n,e,o),s&&a.ael(t,n,s,o)}},J=new Set(["draggable","contenteditable","spellcheck"]),K=t=>J.has(t)||t.startsWith("aria-"),Q=/\s/,X=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Q):[]),tt="Capture",nt=new RegExp(tt+"$"),et=(t,n,e)=>{const o=11===n.S.nodeType&&n.S.host?n.S.host:n.S,l=t&&t.h||{},s=n.h||{};for(const t of ot(Object.keys(l)))t in s||G(o,t,l[t],void 0,e,n.i);for(const t of ot(Object.keys(s)))G(o,t,l[t],s[t],e,n.i)};function ot(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var lt=!1,st=!1,it=!1,rt=!1,ct=[],ft=[],ut=(t,n,e)=>{var o;const l=n.m[e];let s,i,r,c=0;if(lt||(it=!0,"slot"===l.O&&(l.i|=l.m?2:1)),null!=l.v)s=l.S=f.document.createTextNode(l.v);else if(1&l.i)s=l.S=f.document.createTextNode(""),et(null,l,rt);else{if(rt||(rt="svg"===l.O),!f.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.S=f.document.createElementNS(rt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!lt&&2&l.i?"slot-fb":l.O),rt&&"foreignObject"===l.O&&(rt=!1),et(null,l,rt),null!=(u=_)&&void 0!==u&&s["s-si"]!==_&&s.classList.add(s["s-si"]=_),l.m){const n="template"===l.O?s.content:s;for(c=0;c<l.m.length;++c)i=ut(t,l,c),i&&n.appendChild(i)}"svg"===l.O?rt=!1:"foreignObject"===s.tagName&&(rt=!0)}var u;return s["s-hn"]=T,3&l.i&&(s["s-sr"]=!0,s["s-cr"]=L,s["s-sn"]=l.j||"",s["s-rf"]=null==(o=l.h)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===A(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),r=t&&t.m&&t.m[e],r&&r.O===l.O&&t.S&&at(t.S),Ot(L,s,n.S,null==t?void 0:t.S)),s},at=t=>{a.i|=1;const n=t.closest(T.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(jt(n,t,null!=e?e:null),t["s-sh"]=void 0,it=!0)}a.i&=-2},dt=(t,n)=>{a.i|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===T&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==T&&o["s-ol"]&&(jt(bt(o).parentNode,o,bt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,it=!0),n&&dt(o,n)}a.i&=-2},pt=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===T&&(r=r.shadowRoot),"template"===e.O&&(r=r.content);l<=s;++l)o[l]&&(i=ut(null,e,l),i&&(o[l].S=i,jt(r,i,bt(n))))},vt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.S;gt(n),t&&(st=!0,t["s-ol"]?t["s-ol"].remove():dt(t,!0),t.remove())}}},ht=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.j===n.j:e?(e&&!t.$&&n.$&&(t.$=n.$),!0):t.$===n.$),bt=t=>t&&t["s-ol"]||t,mt=(t,n,e=!1)=>{const o=n.S=t.S,l=t.m,s=n.m,i=n.O,r=n.v;let c;null==r?(rt="svg"===i||"foreignObject"!==i&&rt,"slot"!==i||lt||t.j!==n.j&&(n.S["s-sn"]=n.j||"",at(n.S.parentElement)),et(t,n,rt),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=n.length-1,d=n[0],p=n[a],v=o.length-1,h=o[0],b=o[v];const m="template"===e.O?t.content:t;for(;r<=a&&c<=v;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==h)h=o[++c];else if(null==b)b=o[--v];else if(ht(d,h,l))mt(d,h,l),d=n[++r],h=o[++c];else if(ht(p,b,l))mt(p,b,l),p=n[--a],b=o[--v];else if(ht(d,b,l))"slot"!==d.O&&"slot"!==b.O||dt(d.S.parentNode,!1),mt(d,b,l),jt(m,d.S,p.S.nextSibling),d=n[++r],b=o[--v];else if(ht(p,h,l))"slot"!==d.O&&"slot"!==b.O||dt(p.S.parentNode,!1),mt(p,h,l),jt(m,p.S,d.S),p=n[--a],h=o[++c];else{for(f=-1,u=r;u<=a;++u)if(n[u]&&null!==n[u].$&&n[u].$===h.$){f=u;break}f>=0?(i=n[f],i.O!==h.O?s=ut(n&&n[c],e,c):(mt(i,h,l),n[f]=void 0,s=i.S),h=o[++c]):(s=ut(n&&n[c],e,c),h=o[++c]),s&&jt(bt(d.S).parentNode,s,bt(d.S))}r>a?pt(t,null==o[v+1]?null:o[v+1].S,e,o,c,v):c>v&&vt(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.v&&(o.textContent=""),pt(o,null,n,s,0,s.length-1)):!e&&null!==l&&vt(l,0,l.length-1),rt&&"svg"===i&&(rt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},yt=[],$t=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==t["s-hn"]||""!==l&&A(n)===l))if(x(n,l)){let e=yt.find((t=>t.k===n));st=!0,n["s-sn"]=n["s-sn"]||l,e?(e.k["s-sh"]=t["s-hn"],e.N=t):(n["s-sh"]=t["s-hn"],yt.push({N:t,k:n})),n["s-sr"]&&yt.map((t=>{x(t.k,n["s-sn"])&&(e=yt.find((t=>t.k===n)),e&&!t.N&&(t.N=e.N))}))}else yt.some((t=>t.k===n))||yt.push({k:n})}1===t.nodeType&&$t(t)}},gt=t=>{t.h&&t.h.ref&&ct.push((()=>t.h.ref(null))),t.m&&t.m.map(gt)},wt=(t,n)=>{ft.push((()=>t(n)))},jt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])Ot(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=A(t)||"";return{slotNode:C(R(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&l.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),n}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function Ot(t,n,e,o){var l,s;let i;if(t&&"string"==typeof n["s-sn"]&&n["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=n["s-si"]||t.parentNode["s-sc"])){const t=n["s-sn"],r=n["s-hn"];if(null==(l=e.classList)||l.add(i+"-s"),o&&(null==(s=o.classList)?void 0:s.contains(i+"-s"))){let n=(o.__childNodes||o.childNodes)[0],e=!1;for(;n;){if(n["s-sn"]!==t&&n["s-hn"]===r&&n["s-sr"]){e=!0;break}n=n.nextSibling}e||o.classList.remove(i+"-s")}}}var St=(t,n,e=!1)=>{var o,l,s,i,r;const c=t.$hostElement$,u=t.o,d=t.M||U(null,null);var p;const v=(p=n)&&p.O===W?n:P(null,null,n);if(T=c.tagName,u.C&&(v.h=v.h||{},u.C.forEach((([t,n])=>{v.h[n]=c[t]}))),e&&v.h)for(const t of Object.keys(v.h))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(v.h[t]=c[t]);if(v.O=null,v.i|=4,t.M=v,v.S=d.S=c.shadowRoot||c,_=c["s-sc"],lt=!(!(1&u.i)||128&u.i),L=c["s-cr"],st=!1,mt(d,v,e),a.i|=1,it){$t(v.S);for(const t of yt){const n=t.k;if(!n["s-ol"]&&f.document){const t=f.document.createTextNode("");t["s-nr"]=n,jt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of yt){const n=t.k,r=t.N;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(jt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=f.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,jt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(st&&M(v.S),a.i&=-2,yt.length=0,!lt&&!(1&u.i)&&c["s-cr"]){const t=v.S.__childNodes||v.S.childNodes;for(const n of t)if(n["s-hn"]!==T&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=f.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],jt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}L=void 0,ct.forEach((t=>t())),ct.length=0,ft.forEach((t=>t())),ft.length=0},kt=(t,n)=>{if(n&&!t.A&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.A=()=>{n["s-p"].splice(e-1,1),o()})))}},Nt=(t,n)=>{if(t.i|=16,4&t.i)return void(t.i|=512);kt(t,t.R);const e=()=>Mt(t,n);if(!n)return O(e);queueMicrotask((()=>{e()}))},Mt=(t,n)=>{const e=t.$hostElement$,o=e;if(!o)throw new Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=Tt(o,n?"componentWillLoad":"componentWillUpdate",void 0,e),l=Ct(l,(()=>Tt(o,"componentWillRender",void 0,e))),Ct(l,(()=>xt(t,o,n)))},Ct=(t,n)=>Et(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Et=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,xt=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.i,l=((t,n)=>{var e,o,l;const s=D(n),r=i.get(s);if(!f.document)return s;if(t=11===t.nodeType?t:f.document,r)if("string"==typeof r){let l,i=F.get(t=t.head||t);if(i||F.set(t,i=new Set),!i.has(s)){l=f.document.createElement("style"),l.textContent=r;const c=null!=(e=a._)?e:function(){var t,n,e;return null!=(e=null==(n=null==(t=f.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?e:void 0}();if(null!=c&&l.setAttribute("nonce",c),!(1&n.i))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(p){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(r),v?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=r+n.textContent:t.prepend(l)}else t.append(l);1&n.i&&t.insertBefore(l,null),4&n.i&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),i&&i.add(s)}}else{let n=F.get(t);if(n||F.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(r.constructor===e.CSSStyleSheet)o=r;else{o=new e.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)o.insertRule(r.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s)}}return s})(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&o&&(e["s-sc"]=l,e.classList.add(l+"-h"))})(t);At(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>Rt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.i|=4,n.length=0)}},At=(t,n,e,o)=>{try{n=n.render(),t.i&=-17,t.i|=2,St(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},Rt=t=>{const n=t.$hostElement$,e=n,o=t.R;Tt(e,"componentDidRender",void 0,n),64&t.i?Tt(e,"componentDidUpdate",void 0,n):(t.i|=64,Ft(n),Tt(e,"componentDidLoad",void 0,n),t.L(n),o||Lt()),t.A&&(t.A(),t.A=void 0),512&t.i&&j((()=>Nt(t,!1))),t.i&=-517},_t=t=>{var n;{const e=o(t),l=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return l&&2==(18&e.i)&&Nt(e,!1),l}},Lt=()=>{j((()=>Z(f,"appload",{detail:{namespace:"aurora"}})))},Tt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},Ft=t=>t.classList.add("hydrated"),Dt=(t,n,e,l)=>{const i=o(t);if(!i)return;const r=t,c=i.l.get(n),f=i.i,u=r;e=I(e,l.t[n][0],!!(64&l.i));const a=Number.isNaN(c)&&Number.isNaN(e);if(e!==c&&!a){if(i.l.set(n,e),l.T){const t=l.T[n];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&f||1&l)&&(u?u[o](e,c,n):i.F.push((()=>{i.D[o](e,c,n)})))}catch(t){s(t,r)}}))}if(2&f){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(e,c,n)&&!(16&f))return;16&f||Nt(i,!1)}}},Ht=(n,e,l)=>{var s,i;const r=n.prototype;64&e.i&&1&l&&c.forEach((t=>{const n=r[t];Object.defineProperty(r,t,{value(...e){var l;const s=o(this),i=this;i?"function"==typeof n&&n.call(i,...e):null==(l=null==s?void 0:s.H)||l.then((n=>{const o=n[t];"function"==typeof o&&o.call(n,...e)}))}})}));{n.watchers&&!e.T&&(e.T=z(n.watchers)),n.deserializers&&!e.P&&(e.P=n.deserializers),n.serializers&&!e.U&&(e.U=n.serializers);const l=Object.entries(null!=(s=e.t)?s:{});l.map((([n,[l]])=>{if(31&l||32&l){const{get:s,set:i}=t(r,n)||{};s&&(e.t[n][0]|=2048),i&&(e.t[n][0]|=4096),Object.defineProperty(r,n,{get(){return s?s.apply(this):(t=n,o(this).l.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(r,n,{set(t){const s=o(this);if(s){if(i)return void 0===(32&l?this[n]:s.$hostElement$[n])&&s.l.get(n)&&(t=s.l.get(n)),i.apply(this,[I(t,l,!!(64&e.i))]),void Dt(this,n,t=32&l?this[n]:s.$hostElement$[n],e);Dt(this,n,t,e)}}})}}));{const t=new Map;r.attributeChangedCallback=function(n,s,i){a.jmp((()=>{var c;const f=t.get(n),u=o(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==i)return;if(null==f){const t=null==u?void 0:u.i;if(u&&t&&!(8&t)&&i!==s){const o=this,l=null==(c=e.T)?void 0:c[n];null==l||l.forEach((e=>{const[[l,r]]=Object.entries(e);null!=o[l]&&(128&t||1&r)&&o[l].call(o,i,s,n)}))}return}const a=l.find((([t])=>t===f)),d=a?a[1][0]:0,p=4&d;if(512&d&&8&d&&!H(this[f])&&(null==(v=this[f])||!1===v?null:!0===v?"":String(v))===i)return;var v;const h=p&&null===i&&void 0===this[f];p&&(i=!(null===i||"false"===i&&!(64&e.i)));const b=Object.getOwnPropertyDescriptor(r,f);h||i==this[f]||b.get&&!b.set||(this[f]=i)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=e.T)?i:{}),...l.filter((([t,n])=>31&n[0])).map((([n,o])=>{var l;const s=o[1]||n;return t.set(s,n),512&o[0]&&(null==(l=e.C)||l.push([n,s])),s}))]))}}return n},Pt=async(t,n,e)=>{let o;try{if(!(32&n.i)&&(n.i|=32,n.i&=-1025,o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.i|=128)),o&&o.style)){let t;"string"==typeof o.style&&(t=o.style);const n=D(e);if(!i.has(n)){const o=()=>{};((t,n,e)=>{let o=i.get(t);p&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,i.set(t,o)})(n,t,!!(1&e.i)),o()}}const l=n.R,s=()=>Nt(n,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(e){s(e,t),n.A&&(n.A(),n.A=void 0),!n.L||1024&n.i||n.L(t)}},Ut=(t,n)=>{const l={i:n[0],p:n[1]};try{l.t=n[2],l.W=n[3],l.T=z(t.T),l.P=t.P,l.U=t.U,l.C=[];const s=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,n)=>{const o={i:0,$hostElement$:t,o:n,l:new Map,B:new Map};o.H=new Promise((t=>o.L=t)),t["s-p"]=[],t["s-rc"]=[];const l=o;t.__stencil__getHostRef=()=>l,512&n.i&&e(t,o)})(this,l)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=o(this);if(!t)return;Wt(this,t,l.W),this.__hasHostListenerAttached=!0}(t=>{if(!(1&a.i)){const n=o(t);if(!n)return;const e=n.o,l=()=>{};if(1&n.i)Wt(t,n,e.W),(null==n?void 0:n.D)||(1024&n.i?setTimeout((()=>Pt(t,n,e)),1e3):(null==n?void 0:n.H)&&n.H.then((()=>{})));else{n.i|=1,12&e.i&&(t=>{if(!f.document)return;const n=t["s-cr"]=f.document.createComment("");n["s-cn"]=!0,jt(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){kt(n,n.R=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),Pt(t,n,e)}l()}})(this),s&&s.call(this)},disconnectedCallback(){(async t=>{if(!(1&a.i)){const n=o(t);(null==n?void 0:n.V)&&(n.V.map((t=>t())),n.V=void 0)}F.has(t)&&F.delete(t),t.shadowRoot&&F.has(t.shadowRoot)&&F.delete(t.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${l.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else N.call(this,l)}}),Object.defineProperty(t,"is",{value:l.p,configurable:!0}),Ht(t,l,3)}catch(n){return s(n),t}},Wt=(t,n,e)=>{e&&f.document&&e.map((([e,o,l])=>{const s=Vt(f.document,t,e),i=Bt(n,l),r=qt(e);a.ael(s,o,i,r),(n.V=n.V||[]).push((()=>a.rel(s,o,i,r)))}))},Bt=(t,n)=>e=>{try{t.$hostElement$[n](e)}catch(n){s(n,t.$hostElement$)}},Vt=(t,n,e)=>4&e?t:n,qt=t=>d?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),zt=t=>a._=t,It=t=>Object.assign(a,t),Yt=new WeakMap;function Zt(t,n){let e=Yt.get(n);e||(e={i:0,o:{i:0,p:n.tagName},$hostElement$:n},Yt.set(n,e)),St(e,t)}function Gt(t){return t}export{u as H,zt as a,It as b,W as c,Y as d,_t as f,S as g,P as h,Ut as p,Zt as r,k as s,Gt as t}
@@ -0,0 +1 @@
1
+ function e(e){const t=e.ownerDocument.createEvent("Event").constructor;e.dispatchEvent(new t("au-item-update",{bubbles:!0,composed:!1}))}export{e as d}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license @lucide/icons v1.65.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const e={name:"trending-down",size:24,node:[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]};export{e as default}
@@ -0,0 +1 @@
1
+ function r(r,t){for(let n=0;n<r;n+=1)if(!t(n))return n;return-1}function t(r,t){for(let n=r-1;n>=0;n-=1)if(!t(n))return n;return-1}function n(n){const{count:e,current:o,loop:i,isSkipped:u}=n,f=function({key:r,orientation:t,rtl:n,homeEnd:e}){const o="horizontal"!==t,i="vertical"!==t;return o&&"ArrowDown"===r?"next":o&&"ArrowUp"===r?"previous":i&&"ArrowRight"===r?n?"previous":"next":i&&"ArrowLeft"===r?n?"next":"previous":e&&"Home"===r?"first":e&&"End"===r?"last":null}(n);if(null===f)return null;const s=r(e,u);if(-1===s)return null;if("first"===f)return s;if("last"===f)return t(e,u);if(!(o>=0&&o<e))return"next"===f?s:t(e,u);const l="next"===f?1:-1;for(let r=1;r<=e;r+=1){const t=o+l*r;if(!i&&(t<0||t>=e))return o;const n=(t+e)%e;if(!u(n))return n}return o}function e(t){const{count:n,selected:e,isSkipped:o}=t;return e>=0&&e<n&&!o(e)?e:r(n,o)}export{e as i,n as r}
@@ -0,0 +1 @@
1
+ import{d as t}from"./p-C-bRwiWx.js";import{w as i}from"./p-Ci-XzGE3.js";const s=t=>{try{return t.matches(":modal")}catch{return!1}};function e(t){return t.assignedSlot?t.assignedSlot:t.parentElement?t.parentElement:t.getRootNode().host??null}function o(t,i){for(let s=e(t);s;s=e(s))if(s===i)return!0;return!1}function n(i){for(let n=t(i);n;n=e(n))if(o=n,"DIALOG"===o?.tagName&&s(n))return n;var o;try{return Array.from(i.querySelectorAll("dialog:modal")).at(-1)}catch{return}}function h(t){return t.getRootNode().host??t}const r=new WeakMap;function a(t){const i=t.body;if(!i)return;const s=n(t);return s&&!r.get(t)?.has(s)?{container:h(s),dialog:s}:{container:i,dialog:void 0}}function c(t,s,e,n){e.container.append(s);const{dialog:h}=e;if(!h)return!1;if(o(s,h))return!0;let a=r.get(t);return a||(a=new WeakSet,r.set(t,a)),a.add(h),i(t,`${n}:flat-tree`,`[${n}] A modal dialog inside <${e.container.tagName.toLowerCase()}> does not slot light-DOM content into the dialog, so it is inert while that dialog is open.`),t.body.append(s),!1}class d{element;ready;texts=[];connectedAt;lastWriteAt;phase="idle";timer;clearTimer;constructor(t,i){this.element=t,this.ready=i}announce(t,i){const s=i?this.texts.find((t=>t.key===i)):void 0;s?s.text=t:this.texts.push({text:t,key:i||void 0}),this.pump()}remove(t){this.texts=this.texts.filter((i=>i.key!==t))}connect(){this.connectedAt=Date.now(),this.stopTimer(),this.pump()}disconnect(){this.connectedAt=void 0,this.stopTimer()}reset(){this.texts=[],this.stopTimer(),void 0!==this.clearTimer&&clearTimeout(this.clearTimer),this.clearTimer=void 0}stopTimer(){void 0!==this.timer&&clearTimeout(this.timer),this.timer=void 0,this.phase="idle"}pump(){if(void 0===this.connectedAt||"gap"===this.phase||0===this.texts.length)return;this.stopTimer();const t=Math.max(this.connectedAt+250,void 0===this.lastWriteAt?0:this.lastWriteAt+500)-Date.now();t>0?(this.phase="waiting",this.timer=setTimeout((()=>this.begin()),t)):this.begin()}waitsForReady(){return this.timer=void 0,!(!this.ready||this.ready()||(void 0===this.timer&&(this.phase="idle",this.connectedAt=Date.now(),this.pump()),0))}begin(){this.timer=void 0,0!==this.texts.length?this.waitsForReady()||(this.phase="gap",this.write(""),this.timer=setTimeout((()=>this.flush()),100)):this.phase="idle"}flush(){if(this.timer=void 0,this.phase="idle",this.waitsForReady())return;const t=this.texts.shift();void 0!==t&&(this.write(t.text),this.lastWriteAt=Date.now(),this.scheduleClear(t.text)),this.pump()}scheduleClear(t){void 0!==this.clearTimer&&clearTimeout(this.clearTimer),this.clearTimer=setTimeout((()=>{this.clearTimer=void 0;const i=this.element();i&&i.textContent===t&&this.write("")}),7e3)}write(t){const i=this.element();i&&(i.textContent=t)}}const l={polite:"polite",assertive:"assertive"},u=Symbol.for("@re-code/aurora/live-announcer@1"),f=t=>"object"==typeof t&&null!==t&&"function"==typeof t.announce;class p{doc;host;status;alert;waitingForBody=!1;polite=new d((()=>this.status),(()=>this.ready()));assertive=new d((()=>this.alert),(()=>this.ready()));constructor(t){this.doc=t}announce(t,i){const s="string"==typeof i?.key&&""!==i.key?i.key:void 0,e=i?.politeness===l.assertive;this.doc.body?this.place():this.waitForBody(),s&&(e?this.polite:this.assertive).remove(s),(e?this.assertive:this.polite).announce(t,s)}cancel(t){this.polite.remove(t),this.assertive.remove(t)}dispose(){this.polite.reset(),this.assertive.reset(),this.polite.disconnect(),this.assertive.disconnect(),this.doc.removeEventListener("DOMContentLoaded",this.handleReady),this.host?.remove(),this.host=this.status=this.alert=void 0;const t=this.doc;t[u]===this&&delete t[u]}handleReady=()=>{this.waitingForBody=!1,this.doc.body&&this.place()};waitForBody(){this.waitingForBody||(this.waitingForBody=!0,this.doc.addEventListener("DOMContentLoaded",this.handleReady,{once:!0}))}ready(){return!this.place()}place(){const t=a(this.doc);if(!t)return!1;const i=this.host??this.createHost();return!(i.isConnected&&i.parentNode===t.container||(c(this.doc,i,t,"live-announcer"),this.polite.connect(),this.assertive.connect(),0))}createHost(){const t=this.doc,i=t.createElement("div");i.setAttribute("data-aurora-live-announcer",""),i.style.cssText="position: fixed; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap";const s=i.attachShadow({mode:"open"}),e=t.createElement("div");e.setAttribute("role","status"),e.setAttribute("aria-atomic","true");const o=t.createElement("div");return o.setAttribute("role","alert"),o.setAttribute("aria-atomic","true"),s.append(e,o),this.host=i,this.status=e,this.alert=o,i}}function v(t,i,s=globalThis.document){if(!s||"string"!=typeof t)return;const e=t.trim();if(""===e)return;const o=s;let n=o[u];f(n)||(n=new p(s),o[u]=n),n.announce(e,i)}function m(t,i=globalThis.document){if(!i||"string"!=typeof t||""===t)return;const s=i[u];f(s)&&"function"==typeof s.cancel&&s.cancel(t)}export{l as A,c as a,v as b,m as c,n as d,o as e,h as i,a as r}
@@ -0,0 +1 @@
1
+ const a=Object.freeze({extraSmall:"extraSmall",small:"small",medium:"medium",large:"large",extraLarge:"extraLarge"}),e=Object.freeze({start:"start",center:"center",end:"end",stretch:"stretch",baseline:"baseline"}),r=Object.freeze({start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around",evenly:"space-evenly"}),t=Object.freeze({horizontal:"horizontal",vertical:"vertical"}),l=Object.freeze({static:"static",relative:"relative",absolute:"absolute",fixed:"fixed",sticky:"sticky"}),o=Object.freeze({top:"top",right:"right",bottom:"bottom",left:"left"}),n=Object.freeze({neutral:"neutral",primary:"primary",secondary:"secondary",success:"success",warning:"warning",danger:"danger",info:"info"}),s=Object.freeze({accent:"var(--aurora-color-primary)",primary:"var(--aurora-color-primary)",secondary:"var(--aurora-color-secondary)",text:"var(--aurora-color-text)",muted:"var(--aurora-color-text-muted)",surface:"var(--aurora-color-surface)",border:"var(--aurora-color-border)",focus:"var(--aurora-color-primary)",success:"var(--aurora-color-success)",warning:"var(--aurora-color-warning)",danger:"var(--aurora-color-danger)",info:"var(--aurora-color-info)"}),c=Object.freeze({none:"none",small:"sm",medium:"md",large:"lg",extraLarge:"xl",full:"pill"}),m=Object.freeze({none:"none",low:"sm",medium:"md",high:"lg"}),u=Object.freeze({none:"none",extraSmall:"extraSmall",small:"small",medium:"medium",large:"large",extraLarge:"extraLarge",doubleExtraLarge:"doubleExtraLarge"}),i=Object.freeze({none:"none",auto:"auto",extraSmall:"extraSmall",small:"small",medium:"medium",large:"large",extraLarge:"extraLarge",doubleExtraLarge:"doubleExtraLarge"}),d=Object.freeze({none:"none",extraSmall:"extraSmall",small:"small",medium:"medium",large:"large",extraLarge:"extraLarge",doubleExtraLarge:"doubleExtraLarge"});export{e as A,n as C,m as E,d as G,r as J,i as M,t as O,u as P,c as R,a as S,s as a,o as b,l as c}
@@ -0,0 +1 @@
1
+ import{g as t,J as i}from"./p-DBHfOAQc.js";class s{options;support={popover:!1,hint:!1,anchor:!1};loaded=!1;nativeOpen=!1;requested=!1;reported="closed";closeReason;requestedReason;lastInvoker;anchorSource;escapePending=!1;warnedAnchor=!1;positioner;constructor(t){this.options=t}get host(){return this.options.getHost()}get popoverSupported(){return this.support.popover}get isNativeOpen(){return this.nativeOpen}init(){this.support=t(this.host.ownerDocument),this.writePopoverAttribute()}didLoad(){this.loaded=!0,this.options.getOpen()&&this.syncNative()}openChanged(){this.loaded&&this.syncNative(),this.requestedReason=void 0}connected(){this.loaded&&this.support.popover&&(this.options.getOpen()?this.showNative():this.nativeOpen&&this.forgetNative())}disconnected(){this.detachDocumentListeners(),this.positioner?.stop()}closeAs(t){this.requestedReason=t}handleBeforeToggle(t){if(t.target!==this.host)return;const i=t;if("open"===i.newState)return i.source&&(this.lastInvoker=i.source,this.anchorSource=i.source),this.nativeOpen=!0,this.attachDocumentListeners(),void(this.options.getOpen()||this.options.setOpen(!0));if(this.requested||!this.nativeOpen)return;const s=i.source?"trigger":this.escapePending?"escape":"light-dismiss";this.escapePending=!1,this.closeReason=s,this.options.onBeforeClose?.(s),this.forgetNative(),this.options.getOpen()&&this.options.setOpen(!1)}handleToggle(t){if(t.target!==this.host)return;const{newState:i}=t;if(i!==this.reported)if(this.reported=i,"open"===i)this.startPositioning(),this.options.onOpened();else{const t=this.closeReason??"api";this.closeReason=void 0,this.options.onClosed(t)}}resolveTrigger(){const{id:t}=this.host;if(!t)return;const i=this.host.getRootNode();return Array.from(i.querySelectorAll("[popovertarget]")).find((i=>i.getAttribute("popovertarget")===t))}resolveSource(){return this.lastInvoker?.isConnected?this.lastInvoker:this.resolveTrigger()}writePopoverAttribute(){this.support.popover&&"auto"!==this.host.getAttribute("popover")&&this.host.setAttribute("popover","auto")}syncNative(){if(!this.support.popover||!this.host.isConnected)return;const t=this.options.getOpen();t&&!this.nativeOpen?this.showNative():!t&&this.nativeOpen&&this.hideNative()}showNative(){const t=this.resolveSource();this.anchorSource=t,t||this.warnedAnchor||(this.warnedAnchor=!0,this.options.onMissingSource()),this.writePopoverAttribute(),this.requested=!0;try{this.host.showPopover(t?{source:t}:void 0)}finally{this.requested=!1}this.nativeOpen=!0,this.attachDocumentListeners(),this.startPositioning()}hideNative(){this.closeReason=this.requestedReason??"api",this.requestedReason=void 0,this.forgetNative(),this.requested=!0;try{this.host.hidePopover()}finally{this.requested=!1}}forgetNative(){this.nativeOpen=!1,this.anchorSource=void 0,this.detachDocumentListeners(),this.positioner?.stop()}startPositioning(){this.nativeOpen&&(this.support.anchor&&this.anchorSource||(this.positioner??=new i(this.host,{placement:()=>this.options.getPlacement(),offsetProperty:this.options.offsetProperty,defaultOffset:this.options.defaultOffset}),this.positioner.start(this.anchorSource)))}attachDocumentListeners(){const t=this.host.ownerDocument;t.addEventListener("keydown",this.handleDocumentKeydown,!0),t.addEventListener("pointerdown",this.handleDocumentPointerdown,!0)}detachDocumentListeners(){const t=this.host.ownerDocument;t.removeEventListener("keydown",this.handleDocumentKeydown,!0),t.removeEventListener("pointerdown",this.handleDocumentPointerdown,!0),this.escapePending=!1}handleDocumentKeydown=t=>{this.escapePending="Escape"===t.key};handleDocumentPointerdown=()=>{this.escapePending=!1}}export{s as P}