@maggioli-design-system/magma 2.1.0 → 2.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 (1307) hide show
  1. package/AGENTS.md +26 -10
  2. package/CHANGELOG.md +475 -0
  3. package/README.md +5 -2
  4. package/agents/assets.md +231 -28
  5. package/agents/color.md +5 -3
  6. package/agents/components.md +3 -3
  7. package/agents/install.md +25 -4
  8. package/agents/reporting.md +127 -0
  9. package/agents/theming.md +15 -0
  10. package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
  11. package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-D7Ekjocg.js} +18 -4
  12. package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-EMHL7uyZ.js} +146 -94
  13. package/dist/cjs/icon-MMHcqbgv.js +20 -0
  14. package/dist/cjs/index-UmmmCMIG.js +40 -40
  15. package/dist/cjs/index.cjs.js +62 -0
  16. package/dist/cjs/loader.cjs.js +1 -1
  17. package/dist/cjs/magma-components.cjs.js +1 -1
  18. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  27. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-button-dropdown.cjs.entry.js +30 -2
  31. package/dist/cjs/mds-button_3.cjs.entry.js +125 -58
  32. package/dist/cjs/mds-calendar_2.cjs.entry.js +59 -6
  33. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-file-preview.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-file.cjs.entry.js +29 -7520
  41. package/dist/cjs/mds-filter-item.cjs.entry.js +89 -3
  42. package/dist/cjs/mds-filter.cjs.entry.js +113 -19
  43. package/dist/cjs/mds-header-bar.cjs.entry.js +29 -2
  44. package/dist/cjs/mds-header.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +38 -2
  46. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  47. package/dist/cjs/mds-img.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-input-date-range.cjs.entry.js +16 -2
  50. package/dist/cjs/mds-input-date.cjs.entry.js +36 -4
  51. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-input-select.cjs.entry.js +32 -5
  54. package/dist/cjs/mds-input-switch_2.cjs.entry.js +21 -8
  55. package/dist/cjs/mds-input-tip_2.cjs.entry.js +2 -2
  56. package/dist/cjs/mds-input-upload.cjs.entry.js +1 -1
  57. package/dist/cjs/mds-input.cjs.entry.js +12 -3
  58. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  59. package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
  60. package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
  61. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  62. package/dist/cjs/mds-list-item.cjs.entry.js +2 -3
  63. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  64. package/dist/cjs/mds-modal.cjs.entry.js +32 -5
  65. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-notification.cjs.entry.js +2 -2
  67. package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
  68. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  69. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  70. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  71. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  72. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  74. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  75. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  76. package/dist/cjs/mds-pref-theme.cjs.entry.js +29 -2
  77. package/dist/cjs/mds-pref.cjs.entry.js +24 -53
  78. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
  79. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
  80. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  81. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  82. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  83. package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
  84. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  85. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  86. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  87. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  89. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-radial-menu.cjs.entry.js +40 -4
  91. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
  93. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
  96. package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-tab_2.cjs.entry.js +43 -8
  98. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  99. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  100. package/dist/cjs/mds-table-header-cell.cjs.entry.js +116 -77
  101. package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-table-row.cjs.entry.js +22 -16
  103. package/dist/cjs/mds-table.cjs.entry.js +9 -2
  104. package/dist/cjs/mds-text.cjs.entry.js +37 -27
  105. package/dist/cjs/mds-toast.cjs.entry.js +2 -2
  106. package/dist/cjs/mds-tooltip.cjs.entry.js +17 -4
  107. package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
  108. package/dist/cjs/mds-tree.cjs.entry.js +2 -2
  109. package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
  110. package/dist/cjs/mds-usage.cjs.entry.js +23 -4
  111. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  112. package/dist/cjs/mds-zero.cjs.entry.js +2 -2
  113. package/dist/cjs/string-RoXIuD3q.js +7 -0
  114. package/dist/collection/common/floating-controller.js +17 -3
  115. package/dist/collection/common/hash.js +15 -0
  116. package/dist/collection/common/navigation.js +60 -0
  117. package/dist/collection/common/string.js +3 -1
  118. package/dist/collection/common/yugop/random-text.js +5 -0
  119. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  121. package/dist/collection/components/mds-accordion/mds-accordion.css +5 -5
  122. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  123. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  124. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +11 -11
  125. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  127. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -2
  128. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  130. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +6 -6
  131. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-author/documentation.json +2 -2
  133. package/dist/collection/components/mds-author/mds-author.css +2 -1
  134. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  136. package/dist/collection/components/mds-avatar/mds-avatar.css +18 -17
  137. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  139. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +3 -3
  140. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  142. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -6
  143. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-badge/documentation.json +1 -1
  145. package/dist/collection/components/mds-badge/mds-badge.css +13 -13
  146. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-banner/documentation.json +1 -1
  148. package/dist/collection/components/mds-banner/mds-banner.css +56 -56
  149. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  151. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  152. package/dist/collection/components/mds-bibliography/documentation.json +2 -2
  153. package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -6
  154. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  155. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  156. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -6
  157. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  158. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  159. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +14 -13
  160. package/dist/collection/components/mds-button/AGENTS.md +5 -5
  161. package/dist/collection/components/mds-button/antipattern.md +20 -2
  162. package/dist/collection/components/mds-button/documentation.json +5 -5
  163. package/dist/collection/components/mds-button/mds-button.css +239 -417
  164. package/dist/collection/components/mds-button/mds-button.js +120 -38
  165. package/dist/collection/components/mds-button/pattern.md +34 -1
  166. package/dist/collection/components/mds-button-dropdown/AGENTS.md +2 -2
  167. package/dist/collection/components/mds-button-dropdown/documentation.json +2 -2
  168. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +10 -10
  169. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +12 -1
  170. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  172. package/dist/collection/components/mds-calendar/AGENTS.md +2 -2
  173. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  174. package/dist/collection/components/mds-calendar/mds-calendar.css +5 -5
  175. package/dist/collection/components/mds-calendar/mds-calendar.js +17 -4
  176. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  178. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +58 -58
  179. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-card/documentation.json +1 -1
  181. package/dist/collection/components/mds-card/mds-card.css +2 -2
  182. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  184. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  185. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  186. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  188. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  190. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  191. package/dist/collection/components/mds-chip/documentation.json +1 -1
  192. package/dist/collection/components/mds-chip/mds-chip.css +90 -90
  193. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  194. package/dist/collection/components/mds-details/documentation.json +1 -1
  195. package/dist/collection/components/mds-details/mds-details.css +6 -6
  196. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  197. package/dist/collection/components/mds-dropdown/documentation.json +2 -2
  198. package/dist/collection/components/mds-dropdown/mds-dropdown.css +26 -26
  199. package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
  200. package/dist/collection/components/mds-emoji/documentation.json +3 -3
  201. package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
  202. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  203. package/dist/collection/components/mds-entity/documentation.json +1 -1
  204. package/dist/collection/components/mds-entity/mds-entity.css +8 -8
  205. package/dist/collection/components/mds-file/AGENTS.md +2 -2
  206. package/dist/collection/components/mds-file/documentation.json +3 -3
  207. package/dist/collection/components/mds-file/mds-file.css +13 -13
  208. package/dist/collection/components/mds-file/mds-file.js +15 -9
  209. package/dist/collection/components/mds-file/pattern.md +1 -1
  210. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  212. package/dist/collection/components/mds-file-preview/mds-file-preview.css +21 -21
  213. package/dist/collection/components/mds-filter/AGENTS.md +5 -3
  214. package/dist/collection/components/mds-filter/documentation.json +3 -3
  215. package/dist/collection/components/mds-filter/mds-filter.css +16 -16
  216. package/dist/collection/components/mds-filter/mds-filter.js +97 -19
  217. package/dist/collection/components/mds-filter/pattern.md +34 -4
  218. package/dist/collection/components/mds-filter-item/AGENTS.md +9 -8
  219. package/dist/collection/components/mds-filter-item/documentation.json +4 -4
  220. package/dist/collection/components/mds-filter-item/mds-filter-item.css +27 -17
  221. package/dist/collection/components/mds-filter-item/mds-filter-item.js +65 -3
  222. package/dist/collection/components/mds-filter-item/pattern.md +5 -5
  223. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  224. package/dist/collection/components/mds-header/documentation.json +1 -1
  225. package/dist/collection/components/mds-header/mds-header.css +21 -13
  226. package/dist/collection/components/mds-header-bar/AGENTS.md +2 -2
  227. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  228. package/dist/collection/components/mds-header-bar/mds-header-bar.css +5 -5
  229. package/dist/collection/components/mds-header-bar/mds-header-bar.js +12 -1
  230. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  231. package/dist/collection/components/mds-help/documentation.json +2 -2
  232. package/dist/collection/components/mds-help/mds-help.css +1 -1
  233. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
  234. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  235. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +10 -10
  236. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +12 -1
  237. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-hr/documentation.json +1 -1
  239. package/dist/collection/components/mds-hr/mds-hr.css +1 -1
  240. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-icon/documentation.json +2 -2
  242. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-img/documentation.json +1 -1
  244. package/dist/collection/components/mds-img/mds-img.css +6 -6
  245. package/dist/collection/components/mds-input/AGENTS.md +3 -1
  246. package/dist/collection/components/mds-input/documentation.json +52 -4
  247. package/dist/collection/components/mds-input/mds-input.css +133 -62
  248. package/dist/collection/components/mds-input/mds-input.js +38 -2
  249. package/dist/collection/components/mds-input/pattern.md +15 -0
  250. package/dist/collection/components/mds-input-date/AGENTS.md +5 -2
  251. package/dist/collection/components/mds-input-date/documentation.json +50 -2
  252. package/dist/collection/components/mds-input-date/mds-input-date.css +52 -26
  253. package/dist/collection/components/mds-input-date/mds-input-date.js +46 -2
  254. package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
  255. package/dist/collection/components/mds-input-date-range/documentation.json +50 -2
  256. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
  257. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +34 -1
  258. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  260. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +18 -18
  261. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  262. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  263. package/dist/collection/components/mds-input-field/mds-input-field.css +7 -7
  264. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  265. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  266. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  268. package/dist/collection/components/mds-input-range/mds-input-range.css +13 -12
  269. package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
  270. package/dist/collection/components/mds-input-select/documentation.json +58 -7
  271. package/dist/collection/components/mds-input-select/mds-input-select.css +103 -29
  272. package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
  273. package/dist/collection/components/mds-input-select/pattern.md +3 -3
  274. package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
  275. package/dist/collection/components/mds-input-switch/documentation.json +2 -2
  276. package/dist/collection/components/mds-input-switch/mds-input-switch.css +86 -65
  277. package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
  278. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  280. package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
  281. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  283. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +21 -20
  284. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  286. package/dist/collection/components/mds-input-upload/mds-input-upload.css +13 -12
  287. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  288. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  289. package/dist/collection/components/mds-keyboard/mds-keyboard.css +4 -3
  290. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  292. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -1
  293. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  294. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  295. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  296. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  297. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +13 -13
  298. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  299. package/dist/collection/components/mds-label/documentation.json +1 -1
  300. package/dist/collection/components/mds-label/mds-label.css +12 -12
  301. package/dist/collection/components/mds-list/AGENTS.md +2 -2
  302. package/dist/collection/components/mds-list/documentation.json +2 -2
  303. package/dist/collection/components/mds-list-item/AGENTS.md +2 -1
  304. package/dist/collection/components/mds-list-item/documentation.json +3 -3
  305. package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
  306. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -2
  307. package/dist/collection/components/mds-list-item/pattern.md +11 -0
  308. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  309. package/dist/collection/components/mds-mention/documentation.json +1 -1
  310. package/dist/collection/components/mds-mention/mds-mention.css +2 -2
  311. package/dist/collection/components/mds-modal/AGENTS.md +2 -2
  312. package/dist/collection/components/mds-modal/documentation.json +2 -2
  313. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  314. package/dist/collection/components/mds-modal/mds-modal.js +14 -3
  315. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  316. package/dist/collection/components/mds-note/documentation.json +1 -1
  317. package/dist/collection/components/mds-note/mds-note.css +3 -3
  318. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  319. package/dist/collection/components/mds-notification/documentation.json +2 -2
  320. package/dist/collection/components/mds-notification/mds-notification.css +4 -4
  321. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  322. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  323. package/dist/collection/components/mds-paginator/mds-paginator.css +6 -6
  324. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  325. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  326. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +31 -30
  327. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  328. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  329. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +8 -8
  330. package/dist/collection/components/mds-pref/AGENTS.md +2 -2
  331. package/dist/collection/components/mds-pref/documentation.json +14 -3
  332. package/dist/collection/components/mds-pref/mds-pref.js +39 -53
  333. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  334. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  335. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +7 -7
  336. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  337. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  338. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +4 -4
  339. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  340. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  341. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +5 -5
  342. package/dist/collection/components/mds-pref-language/AGENTS.md +3 -3
  343. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  344. package/dist/collection/components/mds-pref-language/mds-pref-language.css +10 -2
  345. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  346. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  347. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
  348. package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
  349. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +5 -5
  350. package/dist/collection/components/mds-pref-theme/AGENTS.md +4 -3
  351. package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
  352. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +10 -2
  353. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +29 -2
  354. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  355. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  356. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +10 -9
  357. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
  358. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  359. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  360. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  361. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  362. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  363. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
  364. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  365. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  366. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  367. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +11 -11
  368. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  369. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  370. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  371. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +12 -12
  372. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  373. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  374. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  375. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  376. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  378. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +8 -8
  379. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  380. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  381. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  382. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +2 -2
  383. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  384. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  385. package/dist/collection/components/mds-progress/documentation.json +1 -1
  386. package/dist/collection/components/mds-progress/mds-progress.css +20 -20
  387. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  388. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  389. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  390. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  391. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  393. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +16 -16
  394. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  395. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  396. package/dist/collection/components/mds-quote/documentation.json +1 -1
  397. package/dist/collection/components/mds-quote/mds-quote.css +6 -4
  398. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  399. package/dist/collection/components/mds-radial-menu/AGENTS.md +2 -2
  400. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  401. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +5 -3
  402. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +12 -1
  403. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  404. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  405. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  406. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  408. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +15 -15
  409. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  410. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  411. package/dist/collection/components/mds-separator/documentation.json +1 -1
  412. package/dist/collection/components/mds-separator/mds-separator.css +2 -2
  413. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  414. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  416. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -3
  417. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  418. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  420. package/dist/collection/components/mds-status-bar/mds-status-bar.css +7 -6
  421. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  422. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  423. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  424. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +6 -6
  425. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  426. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  427. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  428. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +15 -15
  429. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  430. package/dist/collection/components/mds-tab/AGENTS.md +6 -5
  431. package/dist/collection/components/mds-tab/antipattern.md +27 -0
  432. package/dist/collection/components/mds-tab/documentation.json +6 -6
  433. package/dist/collection/components/mds-tab/mds-tab.css +61 -24
  434. package/dist/collection/components/mds-tab/mds-tab.js +34 -6
  435. package/dist/collection/components/mds-tab/pattern.md +33 -1
  436. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  437. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  438. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +1 -1
  439. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  440. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  442. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +14 -14
  443. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  444. package/dist/collection/components/mds-tab-item/AGENTS.md +5 -4
  445. package/dist/collection/components/mds-tab-item/antipattern.md +22 -1
  446. package/dist/collection/components/mds-tab-item/documentation.json +5 -5
  447. package/dist/collection/components/mds-tab-item/mds-tab-item.css +2 -2
  448. package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
  449. package/dist/collection/components/mds-tab-item/pattern.md +25 -7
  450. package/dist/collection/components/mds-table/AGENTS.md +4 -2
  451. package/dist/collection/components/mds-table/documentation.json +48 -4
  452. package/dist/collection/components/mds-table/mds-table.css +33 -22
  453. package/dist/collection/components/mds-table/mds-table.js +35 -1
  454. package/dist/collection/components/mds-table/pattern.md +30 -0
  455. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  456. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  457. package/dist/collection/components/mds-table-body/mds-table-body.css +8 -8
  458. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  459. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  461. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  462. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  463. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  464. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  465. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  467. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  468. package/dist/collection/components/mds-table-header-cell/AGENTS.md +14 -5
  469. package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
  470. package/dist/collection/components/mds-table-header-cell/documentation.json +54 -6
  471. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +159 -82
  472. package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
  473. package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
  474. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  476. package/dist/collection/components/mds-table-row/mds-table-row.css +12 -12
  477. package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
  478. package/dist/collection/components/mds-text/AGENTS.md +3 -3
  479. package/dist/collection/components/mds-text/documentation.json +2 -2
  480. package/dist/collection/components/mds-text/mds-text.css +3 -3
  481. package/dist/collection/components/mds-text/mds-text.js +31 -26
  482. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  483. package/dist/collection/components/mds-toast/documentation.json +1 -1
  484. package/dist/collection/components/mds-toast/mds-toast.css +18 -18
  485. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  486. package/dist/collection/components/mds-tooltip/AGENTS.md +4 -2
  487. package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
  488. package/dist/collection/components/mds-tooltip/documentation.json +46 -5
  489. package/dist/collection/components/mds-tooltip/mds-tooltip.css +10 -10
  490. package/dist/collection/components/mds-tooltip/mds-tooltip.js +41 -1
  491. package/dist/collection/components/mds-tooltip/pattern.md +9 -0
  492. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  493. package/dist/collection/components/mds-tree/documentation.json +1 -1
  494. package/dist/collection/components/mds-tree/mds-tree.css +13 -13
  495. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  496. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  497. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  498. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  499. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  500. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  501. package/dist/collection/components/mds-url-view/mds-url-view.css +7 -7
  502. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  503. package/dist/collection/components/mds-usage/AGENTS.md +5 -3
  504. package/dist/collection/components/mds-usage/antipattern.md +17 -1
  505. package/dist/collection/components/mds-usage/documentation.json +31 -5
  506. package/dist/collection/components/mds-usage/mds-usage.css +6 -6
  507. package/dist/collection/components/mds-usage/mds-usage.js +26 -4
  508. package/dist/collection/components/mds-usage/meta/variants.js +14 -18
  509. package/dist/collection/components/mds-usage/pattern.md +10 -0
  510. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  511. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  512. package/dist/collection/components/mds-video-wall/mds-video-wall.css +3 -3
  513. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  514. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  515. package/dist/collection/components/mds-zero/documentation.json +1 -1
  516. package/dist/collection/components/mds-zero/mds-zero.css +3 -3
  517. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  518. package/dist/collection/index.js +11 -4
  519. package/dist/collection/type/floating-ui.js +1 -0
  520. package/dist/collection/type/input.js +2 -0
  521. package/dist/components/index.js +1 -1
  522. package/dist/components/mds-accordion-item.js +1 -1
  523. package/dist/components/mds-accordion-timer-item.js +1 -1
  524. package/dist/components/mds-accordion-timer.js +1 -1
  525. package/dist/components/mds-accordion.js +1 -1
  526. package/dist/components/mds-avatar-stack-item.js +1 -1
  527. package/dist/components/mds-avatar-stack.js +1 -1
  528. package/dist/components/mds-avatar.js +1 -1
  529. package/dist/components/mds-badge.js +1 -1
  530. package/dist/components/mds-banner.js +1 -1
  531. package/dist/components/mds-benchmark-bar.js +1 -1
  532. package/dist/components/mds-bibliography.js +1 -1
  533. package/dist/components/mds-breadcrumb-item.js +1 -1
  534. package/dist/components/mds-breadcrumb.js +1 -1
  535. package/dist/components/mds-button-dropdown.js +1 -1
  536. package/dist/components/mds-button.js +1 -1
  537. package/dist/components/mds-calendar-cell.js +1 -1
  538. package/dist/components/mds-calendar.js +1 -1
  539. package/dist/components/mds-card-media.js +1 -1
  540. package/dist/components/mds-card.js +1 -1
  541. package/dist/components/mds-chip.js +1 -1
  542. package/dist/components/mds-details.js +1 -1
  543. package/dist/components/mds-dropdown.js +1 -1
  544. package/dist/components/mds-emoji.js +2 -2
  545. package/dist/components/mds-entity.js +1 -1
  546. package/dist/components/mds-file-preview.js +1 -1
  547. package/dist/components/mds-file.js +1 -18
  548. package/dist/components/mds-filter-item.js +1 -1
  549. package/dist/components/mds-filter.js +1 -1
  550. package/dist/components/mds-header-bar.js +1 -1
  551. package/dist/components/mds-header.js +1 -1
  552. package/dist/components/mds-help.js +1 -1
  553. package/dist/components/mds-horizontal-scroll.js +1 -1
  554. package/dist/components/mds-hr.js +1 -1
  555. package/dist/components/mds-img.js +1 -1
  556. package/dist/components/mds-input-date-range-preselection.js +1 -1
  557. package/dist/components/mds-input-date-range.js +1 -1
  558. package/dist/components/mds-input-date.js +1 -1
  559. package/dist/components/mds-input-field.js +1 -1
  560. package/dist/components/mds-input-otp.js +1 -1
  561. package/dist/components/mds-input-range.js +1 -1
  562. package/dist/components/mds-input-select.js +1 -1
  563. package/dist/components/mds-input-switch.js +1 -1
  564. package/dist/components/mds-input-tip-item.js +1 -1
  565. package/dist/components/mds-input-tip.js +1 -1
  566. package/dist/components/mds-input-upload.js +1 -1
  567. package/dist/components/mds-input.js +1 -1
  568. package/dist/components/mds-keyboard-key.js +1 -1
  569. package/dist/components/mds-keyboard.js +1 -1
  570. package/dist/components/mds-kpi-item.js +1 -1
  571. package/dist/components/mds-label.js +1 -1
  572. package/dist/components/mds-list-item.js +1 -1
  573. package/dist/components/mds-mention.js +1 -1
  574. package/dist/components/mds-modal.js +1 -1
  575. package/dist/components/mds-note.js +1 -1
  576. package/dist/components/mds-notification.js +1 -1
  577. package/dist/components/mds-paginator-item.js +1 -1
  578. package/dist/components/mds-paginator.js +1 -1
  579. package/dist/components/mds-policy-ai.js +1 -1
  580. package/dist/components/mds-pref-animation.js +1 -1
  581. package/dist/components/mds-pref-consumption.js +1 -1
  582. package/dist/components/mds-pref-contrast.js +1 -1
  583. package/dist/components/mds-pref-language-item.js +1 -1
  584. package/dist/components/mds-pref-language.js +1 -1
  585. package/dist/components/mds-pref-mode.js +1 -1
  586. package/dist/components/mds-pref-theme-item.js +1 -1
  587. package/dist/components/mds-pref-theme.js +1 -1
  588. package/dist/components/mds-pref.js +1 -1
  589. package/dist/components/mds-price-table-features-cell.js +1 -1
  590. package/dist/components/mds-price-table-features-row.js +1 -1
  591. package/dist/components/mds-price-table-features.js +1 -1
  592. package/dist/components/mds-price-table-header.js +1 -1
  593. package/dist/components/mds-price-table-list-item.js +1 -1
  594. package/dist/components/mds-price-table-list.js +1 -1
  595. package/dist/components/mds-price-table.js +1 -1
  596. package/dist/components/mds-progress.js +1 -1
  597. package/dist/components/mds-push-notification-item.js +1 -1
  598. package/dist/components/mds-push-notification.js +1 -1
  599. package/dist/components/mds-quote.js +1 -1
  600. package/dist/components/mds-radial-menu-item.js +1 -1
  601. package/dist/components/mds-radial-menu.js +1 -1
  602. package/dist/components/mds-radial-progress.js +1 -1
  603. package/dist/components/mds-separator.js +1 -1
  604. package/dist/components/mds-spinner.js +1 -1
  605. package/dist/components/mds-status-bar.js +1 -1
  606. package/dist/components/mds-stepper-bar-item.js +1 -1
  607. package/dist/components/mds-stepper-bar.js +1 -1
  608. package/dist/components/mds-tab-bar-item.js +1 -1
  609. package/dist/components/mds-tab-bar.js +1 -1
  610. package/dist/components/mds-tab-item.js +1 -1
  611. package/dist/components/mds-tab.js +1 -1
  612. package/dist/components/mds-table-body.js +1 -1
  613. package/dist/components/mds-table-cell.js +1 -1
  614. package/dist/components/mds-table-footer.js +1 -1
  615. package/dist/components/mds-table-header-cell.js +1 -1
  616. package/dist/components/mds-table-header.js +1 -1
  617. package/dist/components/mds-table-row.js +1 -1
  618. package/dist/components/mds-table.js +1 -1
  619. package/dist/components/mds-text.js +1 -1
  620. package/dist/components/mds-toast.js +1 -1
  621. package/dist/components/mds-tooltip.js +1 -1
  622. package/dist/components/mds-tree-item.js +1 -1
  623. package/dist/components/mds-tree.js +1 -1
  624. package/dist/components/mds-url-view.js +1 -1
  625. package/dist/components/mds-usage.js +1 -1
  626. package/dist/components/mds-video-wall.js +1 -1
  627. package/dist/components/mds-zero.js +1 -1
  628. package/dist/components/p--5KZXaZp.js +1 -0
  629. package/dist/components/p--OCrgFeE.js +1 -0
  630. package/dist/components/p-6LGfUDQ4.js +1 -0
  631. package/dist/components/p-6pgPWpGI.js +1 -0
  632. package/dist/components/p-B8BWxSho.js +1 -0
  633. package/dist/components/p-B9uIL9KO.js +1 -0
  634. package/dist/components/p-BBDliSai.js +1 -0
  635. package/dist/components/p-BCwcnHFh.js +1 -0
  636. package/dist/components/p-BRf-u585.js +1 -0
  637. package/dist/components/p-BSeokAdy.js +1 -0
  638. package/dist/components/p-BXUJgu8l.js +1 -0
  639. package/dist/components/p-BXYUyw7p.js +1 -0
  640. package/dist/components/{p-s2Gu6hY7.js → p-BcUY-9n7.js} +1 -1
  641. package/dist/components/p-BfgJ-hHQ.js +1 -0
  642. package/dist/components/{p-x_c_51aL.js → p-CIfGjW_Z.js} +1 -1
  643. package/dist/components/p-CMp9rP7L.js +1 -0
  644. package/dist/components/p-CUmJoPAI.js +1 -0
  645. package/dist/components/p-CZjHixVB.js +1 -0
  646. package/dist/components/p-Ck0q_n7I.js +1 -0
  647. package/dist/components/p-CrCa_6a1.js +8 -0
  648. package/dist/components/p-Cv7lqHIc.js +1 -0
  649. package/dist/components/p-Cw6_ooFx.js +1 -0
  650. package/dist/components/p-DGYRngAi.js +1 -0
  651. package/dist/components/p-DHu8X7zF.js +1 -0
  652. package/dist/components/{p-BW24ByN-.js → p-DLCcW1Q5.js} +1 -1
  653. package/dist/components/p-DOzcuSrZ.js +1 -0
  654. package/dist/components/p-DZPHWQtD.js +1 -0
  655. package/dist/components/p-DlRjt7nE.js +1 -0
  656. package/dist/components/p-HSM_x8fD.js +1 -0
  657. package/dist/components/p-JMPfVnGv.js +1 -0
  658. package/dist/components/p-ay5NzZ_x.js +1 -0
  659. package/dist/components/p-lNY_3s6S.js +1 -0
  660. package/dist/components/p-qYRtWYC8.js +1 -0
  661. package/dist/documentation.json +469 -84
  662. package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
  663. package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +18 -4
  664. package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +146 -94
  665. package/dist/esm/icon-pNJmnrhq.js +16 -0
  666. package/dist/esm/index-BxPbQB28.js +40 -40
  667. package/dist/esm/index.js +62 -1
  668. package/dist/esm/loader.js +1 -1
  669. package/dist/esm/magma-components.js +1 -1
  670. package/dist/esm/mds-accordion-item.entry.js +1 -1
  671. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  672. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  673. package/dist/esm/mds-accordion.entry.js +1 -1
  674. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  675. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  676. package/dist/esm/mds-avatar.entry.js +2 -2
  677. package/dist/esm/mds-badge.entry.js +1 -1
  678. package/dist/esm/mds-banner_3.entry.js +3 -3
  679. package/dist/esm/mds-bibliography.entry.js +1 -1
  680. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  681. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  682. package/dist/esm/mds-button-dropdown.entry.js +30 -2
  683. package/dist/esm/mds-button_3.entry.js +123 -56
  684. package/dist/esm/mds-calendar_2.entry.js +59 -6
  685. package/dist/esm/mds-card-media.entry.js +1 -1
  686. package/dist/esm/mds-card.entry.js +1 -1
  687. package/dist/esm/mds-details.entry.js +1 -1
  688. package/dist/esm/mds-dropdown.entry.js +3 -3
  689. package/dist/esm/mds-emoji.entry.js +1 -1
  690. package/dist/esm/mds-entity.entry.js +1 -1
  691. package/dist/esm/mds-file-preview.entry.js +1 -1
  692. package/dist/esm/mds-file.entry.js +30 -7521
  693. package/dist/esm/mds-filter-item.entry.js +89 -3
  694. package/dist/esm/mds-filter.entry.js +114 -20
  695. package/dist/esm/mds-header-bar.entry.js +29 -2
  696. package/dist/esm/mds-header.entry.js +1 -1
  697. package/dist/esm/mds-horizontal-scroll.entry.js +38 -2
  698. package/dist/esm/mds-hr.entry.js +1 -1
  699. package/dist/esm/mds-img.entry.js +1 -1
  700. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  701. package/dist/esm/mds-input-date-range.entry.js +16 -2
  702. package/dist/esm/mds-input-date.entry.js +36 -4
  703. package/dist/esm/mds-input-field.entry.js +1 -1
  704. package/dist/esm/mds-input-range.entry.js +1 -1
  705. package/dist/esm/mds-input-select.entry.js +32 -5
  706. package/dist/esm/mds-input-switch_2.entry.js +21 -8
  707. package/dist/esm/mds-input-tip_2.entry.js +2 -2
  708. package/dist/esm/mds-input-upload.entry.js +1 -1
  709. package/dist/esm/mds-input.entry.js +12 -3
  710. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  711. package/dist/esm/mds-keyboard.entry.js +1 -1
  712. package/dist/esm/mds-kpi-item.entry.js +1 -1
  713. package/dist/esm/mds-label.entry.js +1 -1
  714. package/dist/esm/mds-list-item.entry.js +2 -3
  715. package/dist/esm/mds-mention.entry.js +1 -1
  716. package/dist/esm/mds-modal.entry.js +31 -4
  717. package/dist/esm/mds-note.entry.js +1 -1
  718. package/dist/esm/mds-notification.entry.js +2 -2
  719. package/dist/esm/mds-paginator-item.entry.js +1 -1
  720. package/dist/esm/mds-paginator.entry.js +1 -1
  721. package/dist/esm/mds-policy-ai.entry.js +1 -1
  722. package/dist/esm/mds-pref-animation.entry.js +1 -1
  723. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  724. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  725. package/dist/esm/mds-pref-language.entry.js +1 -1
  726. package/dist/esm/mds-pref-mode.entry.js +1 -1
  727. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  728. package/dist/esm/mds-pref-theme.entry.js +30 -3
  729. package/dist/esm/mds-pref.entry.js +24 -53
  730. package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
  731. package/dist/esm/mds-price-table-features-row.entry.js +2 -2
  732. package/dist/esm/mds-price-table-features.entry.js +2 -2
  733. package/dist/esm/mds-price-table-header.entry.js +1 -1
  734. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  735. package/dist/esm/mds-price-table-list.entry.js +2 -2
  736. package/dist/esm/mds-price-table.entry.js +1 -1
  737. package/dist/esm/mds-progress_2.entry.js +4 -4
  738. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  739. package/dist/esm/mds-push-notification.entry.js +2 -2
  740. package/dist/esm/mds-quote.entry.js +2 -2
  741. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  742. package/dist/esm/mds-radial-menu.entry.js +40 -4
  743. package/dist/esm/mds-separator.entry.js +2 -2
  744. package/dist/esm/mds-status-bar.entry.js +2 -2
  745. package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
  746. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  747. package/dist/esm/mds-tab-bar-item.entry.js +2 -2
  748. package/dist/esm/mds-tab-bar.entry.js +2 -2
  749. package/dist/esm/mds-tab_2.entry.js +43 -8
  750. package/dist/esm/mds-table-body.entry.js +2 -2
  751. package/dist/esm/mds-table-footer.entry.js +2 -2
  752. package/dist/esm/mds-table-header-cell.entry.js +117 -78
  753. package/dist/esm/mds-table-header.entry.js +2 -2
  754. package/dist/esm/mds-table-row.entry.js +23 -17
  755. package/dist/esm/mds-table.entry.js +9 -2
  756. package/dist/esm/mds-text.entry.js +37 -27
  757. package/dist/esm/mds-toast.entry.js +2 -2
  758. package/dist/esm/mds-tooltip.entry.js +17 -4
  759. package/dist/esm/mds-tree-item.entry.js +2 -2
  760. package/dist/esm/mds-tree.entry.js +2 -2
  761. package/dist/esm/mds-url-view.entry.js +2 -2
  762. package/dist/esm/mds-usage.entry.js +23 -4
  763. package/dist/esm/mds-video-wall.entry.js +2 -2
  764. package/dist/esm/mds-zero.entry.js +2 -2
  765. package/dist/esm/string-6pgPWpGI.js +5 -0
  766. package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
  767. package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +11 -5
  768. package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +80 -48
  769. package/dist/esm-es5/icon-pNJmnrhq.js +1 -0
  770. package/dist/esm-es5/index-BxPbQB28.js +36 -36
  771. package/dist/esm-es5/index.js +37 -20
  772. package/dist/esm-es5/loader.js +1 -1
  773. package/dist/esm-es5/magma-components.js +1 -1
  774. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  775. package/dist/esm-es5/mds-accordion-timer-item.entry.js +2 -2
  776. package/dist/esm-es5/mds-accordion-timer.entry.js +2 -2
  777. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  778. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  779. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  780. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  781. package/dist/esm-es5/mds-badge.entry.js +1 -1
  782. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  783. package/dist/esm-es5/mds-bibliography.entry.js +2 -2
  784. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  785. package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
  786. package/dist/esm-es5/mds-button-dropdown.entry.js +3 -3
  787. package/dist/esm-es5/mds-button_3.entry.js +50 -7
  788. package/dist/esm-es5/mds-calendar_2.entry.js +8 -6
  789. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  790. package/dist/esm-es5/mds-card.entry.js +5 -5
  791. package/dist/esm-es5/mds-details.entry.js +2 -2
  792. package/dist/esm-es5/mds-dropdown.entry.js +16 -16
  793. package/dist/esm-es5/mds-emoji.entry.js +18 -18
  794. package/dist/esm-es5/mds-entity.entry.js +1 -1
  795. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  796. package/dist/esm-es5/mds-file.entry.js +15 -2835
  797. package/dist/esm-es5/mds-filter-item.entry.js +16 -1
  798. package/dist/esm-es5/mds-filter.entry.js +18 -2
  799. package/dist/esm-es5/mds-header-bar.entry.js +3 -3
  800. package/dist/esm-es5/mds-header.entry.js +7 -7
  801. package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
  802. package/dist/esm-es5/mds-hr.entry.js +1 -1
  803. package/dist/esm-es5/mds-img.entry.js +1 -1
  804. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  805. package/dist/esm-es5/mds-input-date-range.entry.js +7 -2
  806. package/dist/esm-es5/mds-input-date.entry.js +8 -3
  807. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  808. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  809. package/dist/esm-es5/mds-input-select.entry.js +14 -5
  810. package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
  811. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  812. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  813. package/dist/esm-es5/mds-input.entry.js +30 -25
  814. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  815. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  816. package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
  817. package/dist/esm-es5/mds-label.entry.js +2 -2
  818. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  819. package/dist/esm-es5/mds-mention.entry.js +1 -1
  820. package/dist/esm-es5/mds-modal.entry.js +5 -5
  821. package/dist/esm-es5/mds-note.entry.js +1 -1
  822. package/dist/esm-es5/mds-notification.entry.js +3 -3
  823. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  824. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  825. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  826. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  827. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  828. package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
  829. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  830. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  831. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  832. package/dist/esm-es5/mds-pref-theme.entry.js +15 -7
  833. package/dist/esm-es5/mds-pref.entry.js +14 -5
  834. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  835. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  836. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  837. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  838. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  839. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  840. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  841. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  842. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  843. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  844. package/dist/esm-es5/mds-quote.entry.js +2 -2
  845. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  846. package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
  847. package/dist/esm-es5/mds-separator.entry.js +1 -1
  848. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  849. package/dist/esm-es5/mds-stepper-bar-item.entry.js +3 -3
  850. package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
  851. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  852. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  853. package/dist/esm-es5/mds-tab_2.entry.js +25 -4
  854. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  855. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  856. package/dist/esm-es5/mds-table-header-cell.entry.js +22 -3
  857. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  858. package/dist/esm-es5/mds-table-row.entry.js +12 -4
  859. package/dist/esm-es5/mds-table.entry.js +11 -5
  860. package/dist/esm-es5/mds-text.entry.js +25 -7
  861. package/dist/esm-es5/mds-toast.entry.js +2 -2
  862. package/dist/esm-es5/mds-tooltip.entry.js +8 -3
  863. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  864. package/dist/esm-es5/mds-tree.entry.js +3 -3
  865. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  866. package/dist/esm-es5/mds-usage.entry.js +9 -3
  867. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  868. package/dist/esm-es5/mds-zero.entry.js +1 -1
  869. package/dist/esm-es5/string-6pgPWpGI.js +2 -0
  870. package/dist/hydrate/index.js +1580 -8246
  871. package/dist/hydrate/index.mjs +1580 -8246
  872. package/dist/magma-components/index.esm.js +1 -1
  873. package/dist/magma-components/magma-components.esm.js +1 -1
  874. package/dist/magma-components/p-00ce5c81.entry.js +1 -0
  875. package/dist/magma-components/{p-5c94e0c2.system.entry.js → p-00ff586a.system.entry.js} +2 -2
  876. package/dist/magma-components/p-01f05a56.entry.js +1 -0
  877. package/dist/magma-components/p-0345cbd0.system.entry.js +83 -0
  878. package/dist/magma-components/p-03a6a8bd.system.entry.js +46 -0
  879. package/dist/magma-components/p-05de42e1.system.entry.js +1 -0
  880. package/dist/magma-components/p-063bccb3.entry.js +1 -0
  881. package/dist/magma-components/p-0c89c485.entry.js +1 -0
  882. package/dist/magma-components/p-0d94a2b8.entry.js +8 -0
  883. package/dist/magma-components/{p-ee1e7f07.system.entry.js → p-0d97e28d.system.entry.js} +1 -1
  884. package/dist/magma-components/p-108e31e6.entry.js +1 -0
  885. package/dist/magma-components/p-114f0bb7.system.entry.js +14 -0
  886. package/dist/magma-components/{p-e8ed096b.entry.js → p-121730d1.entry.js} +1 -1
  887. package/dist/magma-components/p-137116df.entry.js +1 -0
  888. package/dist/magma-components/p-13b0babc.system.entry.js +1 -0
  889. package/dist/magma-components/p-14a108e8.system.entry.js +8 -0
  890. package/dist/magma-components/p-14eadf95.system.entry.js +21 -0
  891. package/dist/magma-components/p-154aff83.entry.js +1 -0
  892. package/dist/magma-components/p-155f79f4.system.entry.js +47 -0
  893. package/dist/magma-components/p-17b62839.entry.js +1 -0
  894. package/dist/magma-components/{p-0a551e86.entry.js → p-1802d6a7.entry.js} +1 -1
  895. package/dist/magma-components/{p-91c4015f.system.entry.js → p-188d9770.system.entry.js} +1 -1
  896. package/dist/magma-components/p-18ba4766.entry.js +1 -0
  897. package/dist/magma-components/p-1c63801f.system.entry.js +11 -0
  898. package/dist/magma-components/p-1c6a507c.system.entry.js +17 -0
  899. package/dist/magma-components/p-1e2388be.entry.js +1 -0
  900. package/dist/magma-components/{p-eaff7300.entry.js → p-22e9a507.entry.js} +1 -1
  901. package/dist/magma-components/p-24a9871a.system.entry.js +1 -0
  902. package/dist/magma-components/p-26332bce.system.entry.js +1 -0
  903. package/dist/magma-components/p-26c85354.system.entry.js +1 -0
  904. package/dist/magma-components/p-2708561b.system.entry.js +10 -0
  905. package/dist/magma-components/{p-a4a83a63.entry.js → p-2710ddc4.entry.js} +1 -1
  906. package/dist/magma-components/p-294241fa.entry.js +1 -0
  907. package/dist/magma-components/p-2b2d0910.system.entry.js +1 -0
  908. package/dist/magma-components/p-2c940d19.entry.js +1 -0
  909. package/dist/magma-components/{p-93d39066.entry.js → p-2de5f5fe.entry.js} +1 -1
  910. package/dist/magma-components/p-2e74231d.system.entry.js +4 -0
  911. package/dist/magma-components/p-2e83f801.system.entry.js +1 -0
  912. package/dist/magma-components/{p-dd58f9ee.entry.js → p-2f0815f3.entry.js} +1 -1
  913. package/dist/magma-components/p-30d36dfe.entry.js +1 -0
  914. package/dist/magma-components/p-323c7aa4.system.entry.js +25 -0
  915. package/dist/magma-components/{p-493fb2f4.system.entry.js → p-32e077c0.system.entry.js} +2 -2
  916. package/dist/magma-components/p-334b305d.system.entry.js +16 -0
  917. package/dist/magma-components/{p-6c18c40e.system.entry.js → p-341994b3.system.entry.js} +1 -1
  918. package/dist/magma-components/p-35434d4b.system.entry.js +32 -0
  919. package/dist/magma-components/p-37495e03.entry.js +1 -0
  920. package/dist/magma-components/{p-439c9ce3.system.entry.js → p-38e0379a.system.entry.js} +2 -2
  921. package/dist/magma-components/p-3b91efd1.entry.js +1 -0
  922. package/dist/magma-components/p-3dc4db04.system.entry.js +16 -0
  923. package/dist/magma-components/p-3f0e82bc.entry.js +1 -0
  924. package/dist/magma-components/p-3fa6cf85.system.entry.js +1 -0
  925. package/dist/magma-components/p-40e97485.entry.js +1 -0
  926. package/dist/magma-components/p-4159c306.entry.js +1 -0
  927. package/dist/magma-components/p-42411854.system.entry.js +102 -0
  928. package/dist/magma-components/{p-2f520704.entry.js → p-42ebba8c.entry.js} +1 -1
  929. package/dist/magma-components/p-4356d96e.system.entry.js +21 -0
  930. package/dist/magma-components/p-4577948d.system.entry.js +12 -0
  931. package/dist/magma-components/p-4658a200.entry.js +1 -0
  932. package/dist/magma-components/{p-b431ca8a.entry.js → p-4cfa925a.entry.js} +1 -1
  933. package/dist/magma-components/p-4dfeb655.system.entry.js +23 -0
  934. package/dist/magma-components/p-4ef19542.entry.js +1 -0
  935. package/dist/magma-components/{p-ac81f63a.system.entry.js → p-508e10b5.system.entry.js} +1 -1
  936. package/dist/magma-components/p-522fd3d0.system.entry.js +4 -0
  937. package/dist/magma-components/p-528d913c.system.entry.js +17 -0
  938. package/dist/magma-components/p-569cbe13.entry.js +1 -0
  939. package/dist/magma-components/p-574c2c13.system.entry.js +222 -0
  940. package/dist/magma-components/{p-218d8254.system.entry.js → p-584a4ee8.system.entry.js} +1 -1
  941. package/dist/magma-components/{p-577db922.entry.js → p-595fde64.entry.js} +1 -1
  942. package/dist/magma-components/p-5989cdf2.system.entry.js +16 -0
  943. package/dist/magma-components/p-5c17a324.entry.js +1 -0
  944. package/dist/magma-components/p-5df91427.system.entry.js +15 -0
  945. package/dist/magma-components/p-5fcc1455.entry.js +1 -0
  946. package/dist/magma-components/p-61638aa3.entry.js +1 -0
  947. package/dist/magma-components/p-634727e6.system.entry.js +22 -0
  948. package/dist/magma-components/{p-03c2060d.entry.js → p-6465c8f4.entry.js} +1 -1
  949. package/dist/magma-components/p-6764b13a.entry.js +1 -0
  950. package/dist/magma-components/p-6812f01b.entry.js +1 -0
  951. package/dist/magma-components/{p-4211ce6c.system.entry.js → p-6901428b.system.entry.js} +1 -1
  952. package/dist/magma-components/p-699a7926.entry.js +1 -0
  953. package/dist/magma-components/p-69d6cc9e.system.entry.js +7 -0
  954. package/dist/magma-components/p-6a798061.entry.js +1 -0
  955. package/dist/magma-components/p-6d350c7c.entry.js +1 -0
  956. package/dist/magma-components/p-6f5a1248.entry.js +1 -0
  957. package/dist/magma-components/p-6fba5e6c.entry.js +1 -0
  958. package/dist/magma-components/p-6fd9a2ae.entry.js +1 -0
  959. package/dist/magma-components/p-6pgPWpGI.js +1 -0
  960. package/dist/magma-components/p-70caf05b.system.entry.js +10 -0
  961. package/dist/magma-components/{p-832883c4.entry.js → p-70cc167f.entry.js} +1 -1
  962. package/dist/magma-components/{p-86f4b6eb.system.entry.js → p-736c0e25.system.entry.js} +2 -2
  963. package/dist/magma-components/p-73e593a2.system.entry.js +95 -0
  964. package/dist/magma-components/p-7450a7a7.system.entry.js +49 -0
  965. package/dist/magma-components/p-7535328a.entry.js +1 -0
  966. package/dist/magma-components/{p-4cb88b06.system.entry.js → p-76f02296.system.entry.js} +1 -1
  967. package/dist/magma-components/p-79bc2e81.entry.js +1 -0
  968. package/dist/magma-components/p-79dc2243.entry.js +1 -0
  969. package/dist/magma-components/p-7b1c6eb0.entry.js +1 -0
  970. package/dist/magma-components/p-7b8b51c8.entry.js +1 -0
  971. package/dist/magma-components/p-7bc0a6c4.entry.js +1 -0
  972. package/dist/magma-components/{p-8d53bd61.system.entry.js → p-7c8e79a7.system.entry.js} +1 -1
  973. package/dist/magma-components/p-7c90298a.entry.js +1 -0
  974. package/dist/magma-components/p-7e02237b.entry.js +1 -0
  975. package/dist/magma-components/{p-f733ae92.system.entry.js → p-7f247e64.system.entry.js} +2 -2
  976. package/dist/magma-components/p-808f6796.entry.js +1 -0
  977. package/dist/magma-components/{p-e213640b.entry.js → p-82480df5.entry.js} +1 -1
  978. package/dist/magma-components/p-842b1dfc.entry.js +1 -0
  979. package/dist/magma-components/p-88c7be3d.system.entry.js +68 -0
  980. package/dist/magma-components/p-89733d3a.system.entry.js +14 -0
  981. package/dist/magma-components/p-8c75425d.entry.js +1 -0
  982. package/dist/magma-components/{p-5ac9e2f4.entry.js → p-8c76410b.entry.js} +1 -1
  983. package/dist/magma-components/p-8cdad12f.entry.js +1 -0
  984. package/dist/magma-components/p-8d2a6896.entry.js +1 -0
  985. package/dist/magma-components/p-8d7835e2.system.entry.js +10 -0
  986. package/dist/magma-components/p-8f039ca0.system.entry.js +7 -0
  987. package/dist/magma-components/p-8f54cf62.system.entry.js +4 -0
  988. package/dist/magma-components/p-8f6bd147.entry.js +1 -0
  989. package/dist/magma-components/p-9017022c.system.entry.js +15 -0
  990. package/dist/magma-components/p-909f5b60.system.entry.js +55 -0
  991. package/dist/magma-components/p-94e9f2be.system.entry.js +11 -0
  992. package/dist/magma-components/p-976bb373.system.entry.js +90 -0
  993. package/dist/magma-components/p-97d82884.system.entry.js +16 -0
  994. package/dist/magma-components/p-97de86c6.system.entry.js +16 -0
  995. package/dist/magma-components/p-97e9a197.system.entry.js +32 -0
  996. package/dist/magma-components/p-9a936cae.system.entry.js +45 -0
  997. package/dist/magma-components/p-9c6d184f.entry.js +1 -0
  998. package/dist/magma-components/p-9db0a6e9.entry.js +1 -0
  999. package/dist/magma-components/p-9e662528.entry.js +1 -0
  1000. package/dist/magma-components/{p-7ffda4f5.entry.js → p-9ff02a82.entry.js} +1 -1
  1001. package/dist/magma-components/p-B85MJLTf.js +1 -0
  1002. package/dist/magma-components/p-BJqUjYIG.system.js +1 -0
  1003. package/dist/magma-components/{p-Dg8nxRUX.system.js → p-BcYSdbK0.system.js} +85 -53
  1004. package/dist/magma-components/p-BeYLDgbf.js +1 -0
  1005. package/dist/magma-components/p-CKfEQ187.system.js +107 -0
  1006. package/dist/magma-components/p-D6-Ny6z1.system.js +1 -0
  1007. package/dist/magma-components/{p-BPNsbMrg.system.js → p-DhhAXEdA.system.js} +11 -5
  1008. package/dist/magma-components/p-JMPfVnGv.js +1 -0
  1009. package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
  1010. package/dist/magma-components/p-a3e3a653.system.entry.js +81 -0
  1011. package/dist/magma-components/p-a4c26b4d.system.entry.js +19 -0
  1012. package/dist/magma-components/{p-dcc3be64.system.entry.js → p-a61c7ae9.system.entry.js} +1 -1
  1013. package/dist/magma-components/p-a653e096.entry.js +1 -0
  1014. package/dist/magma-components/p-a8bf46cb.system.entry.js +1 -0
  1015. package/dist/magma-components/p-a9736d68.system.entry.js +4 -0
  1016. package/dist/magma-components/p-ac4435e7.entry.js +1 -0
  1017. package/dist/magma-components/p-ac873ab4.entry.js +1 -0
  1018. package/dist/magma-components/p-acae292f.system.entry.js +28 -0
  1019. package/dist/magma-components/p-add1a8d0.system.entry.js +7 -0
  1020. package/dist/magma-components/p-b1a0e56e.system.entry.js +42 -0
  1021. package/dist/magma-components/p-b33a6f7e.system.entry.js +13 -0
  1022. package/dist/magma-components/p-b492dd4c.entry.js +1 -0
  1023. package/dist/magma-components/p-b99cac43.entry.js +1 -0
  1024. package/dist/magma-components/p-baf0359b.entry.js +1 -0
  1025. package/dist/magma-components/p-bbd414dc.entry.js +1 -0
  1026. package/dist/magma-components/p-be1aad5f.entry.js +1 -0
  1027. package/dist/magma-components/p-bf05f9f3.entry.js +1 -0
  1028. package/dist/magma-components/p-bf8c6647.system.entry.js +11 -0
  1029. package/dist/magma-components/p-bfe19e4b.entry.js +1 -0
  1030. package/dist/magma-components/p-c1a7266a.entry.js +1 -0
  1031. package/dist/magma-components/p-c3585de7.system.entry.js +7 -0
  1032. package/dist/magma-components/p-c45d9a64.system.entry.js +32 -0
  1033. package/dist/magma-components/p-c4ceaef6.system.entry.js +10 -0
  1034. package/dist/magma-components/{p-57762bae.entry.js → p-c575cb7b.entry.js} +1 -1
  1035. package/dist/magma-components/p-c644c5fc.system.entry.js +1 -0
  1036. package/dist/magma-components/{p-61bedbe7.system.entry.js → p-c69ec735.system.entry.js} +8 -3
  1037. package/dist/magma-components/p-c7d84d1c.system.entry.js +1 -0
  1038. package/dist/magma-components/p-cb8b45fd.entry.js +1 -0
  1039. package/dist/magma-components/p-cbfd8b10.system.entry.js +16 -0
  1040. package/dist/magma-components/{p-ed897f9f.entry.js → p-ce46191c.entry.js} +1 -1
  1041. package/dist/magma-components/p-cebe7b52.entry.js +1 -0
  1042. package/dist/magma-components/p-cefdc01f.system.entry.js +7 -0
  1043. package/dist/magma-components/{p-f29a059d.system.entry.js → p-d025a34f.system.entry.js} +1 -1
  1044. package/dist/magma-components/p-d1c47baa.entry.js +1 -0
  1045. package/dist/magma-components/p-d269bfb0.entry.js +1 -0
  1046. package/dist/magma-components/p-d42f267b.system.entry.js +40 -0
  1047. package/dist/magma-components/p-d65d8a09.system.entry.js +1 -0
  1048. package/dist/magma-components/p-d6eca2ef.entry.js +1 -0
  1049. package/dist/magma-components/p-d716efe9.system.entry.js +1 -0
  1050. package/dist/magma-components/{p-314abfba.entry.js → p-da6ccc03.entry.js} +1 -1
  1051. package/dist/magma-components/p-dbaf5368.system.entry.js +7 -0
  1052. package/dist/magma-components/p-dc340618.entry.js +1 -0
  1053. package/dist/magma-components/p-dc752e9b.entry.js +1 -0
  1054. package/dist/magma-components/p-e238e2eb.entry.js +1 -0
  1055. package/dist/magma-components/p-e388f1f2.system.entry.js +19 -0
  1056. package/dist/magma-components/{p-74b51db8.entry.js → p-e50fdcee.entry.js} +1 -1
  1057. package/dist/magma-components/{p-2c44c961.system.entry.js → p-e779a67f.system.entry.js} +3 -3
  1058. package/dist/magma-components/p-e8ae4016.system.entry.js +1 -0
  1059. package/dist/magma-components/{p-9eb1e154.system.entry.js → p-e8d95868.system.entry.js} +2 -2
  1060. package/dist/magma-components/p-ed232c76.entry.js +1 -0
  1061. package/dist/magma-components/{p-6fdb3fe7.system.entry.js → p-ed6e287d.system.entry.js} +25 -7
  1062. package/dist/magma-components/{p-88287207.system.entry.js → p-ed87425c.system.entry.js} +1 -1
  1063. package/dist/magma-components/p-ed897125.entry.js +1 -0
  1064. package/dist/magma-components/p-ee876b20.system.entry.js +4 -0
  1065. package/dist/magma-components/p-efe0bb12.system.entry.js +7 -0
  1066. package/dist/magma-components/p-f2412853.system.entry.js +27 -0
  1067. package/dist/magma-components/p-f2743a2b.entry.js +1 -0
  1068. package/dist/magma-components/p-f2f2945b.entry.js +1 -0
  1069. package/dist/magma-components/p-f37f1343.entry.js +1 -0
  1070. package/dist/magma-components/p-f3dd135e.system.entry.js +32 -0
  1071. package/dist/magma-components/p-f5ce24e8.entry.js +1 -0
  1072. package/dist/magma-components/p-f8a88f11.entry.js +1 -0
  1073. package/dist/magma-components/p-f900fe90.entry.js +1 -0
  1074. package/dist/magma-components/p-pNJmnrhq.js +1 -0
  1075. package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
  1076. package/dist/stats.json +2920 -2147
  1077. package/dist/types/common/floating-controller.d.ts +8 -1
  1078. package/dist/types/common/hash.d.ts +8 -0
  1079. package/dist/types/common/navigation.d.ts +32 -0
  1080. package/dist/types/common/string.d.ts +3 -1
  1081. package/dist/types/components/mds-button/mds-button.d.ts +33 -2
  1082. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
  1083. package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
  1084. package/dist/types/components/mds-file/mds-file.d.ts +6 -1
  1085. package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
  1086. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +18 -1
  1087. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
  1088. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1089. package/dist/types/components/mds-input/mds-input.d.ts +8 -1
  1090. package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
  1091. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +5 -0
  1092. package/dist/types/components/mds-input-select/mds-input-select.d.ts +15 -2
  1093. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
  1094. package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
  1095. package/dist/types/components/mds-pref/mds-pref.d.ts +5 -8
  1096. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +8 -0
  1097. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
  1098. package/dist/types/components/mds-tab/mds-tab.d.ts +14 -1
  1099. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
  1100. package/dist/types/components/mds-table/mds-table.d.ts +8 -1
  1101. package/dist/types/components/mds-table/meta/type.d.ts +1 -0
  1102. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +33 -14
  1103. package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
  1104. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
  1105. package/dist/types/components/mds-text/mds-text.d.ts +8 -4
  1106. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -1
  1107. package/dist/types/components/mds-usage/mds-usage.d.ts +5 -1
  1108. package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
  1109. package/dist/types/components.d.ts +127 -22
  1110. package/dist/types/index.d.ts +12 -4
  1111. package/dist/types/type/floating-ui.d.ts +2 -0
  1112. package/dist/types/type/input.d.ts +3 -0
  1113. package/package.json +18 -18
  1114. package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
  1115. package/dist/collection/dictionary/icon.js +0 -10
  1116. package/dist/collection/type/icon.js +0 -1
  1117. package/dist/components/p-1aH7xiMs.js +0 -1
  1118. package/dist/components/p-B05zwjTY.js +0 -1
  1119. package/dist/components/p-BOu_NOgd.js +0 -1
  1120. package/dist/components/p-BTpjOy0A.js +0 -1
  1121. package/dist/components/p-BVw5aqzn.js +0 -1
  1122. package/dist/components/p-BWpSxp3h.js +0 -1
  1123. package/dist/components/p-BXPIlPIF.js +0 -1
  1124. package/dist/components/p-BzvYQBdf.js +0 -1
  1125. package/dist/components/p-C3Sn8bRc.js +0 -1
  1126. package/dist/components/p-CGkSDkOY.js +0 -1
  1127. package/dist/components/p-CHAGzQT-.js +0 -1
  1128. package/dist/components/p-CIcshx6K.js +0 -1
  1129. package/dist/components/p-CKS4r32k.js +0 -1
  1130. package/dist/components/p-COkF_8bh.js +0 -1
  1131. package/dist/components/p-CmHMhHMt.js +0 -1
  1132. package/dist/components/p-Cnt6G6GK.js +0 -1
  1133. package/dist/components/p-CsL9U6eU.js +0 -1
  1134. package/dist/components/p-Cyj1BFxx.js +0 -1
  1135. package/dist/components/p-DQqUzCGR.js +0 -1
  1136. package/dist/components/p-DR46G4-6.js +0 -1
  1137. package/dist/components/p-DcW0iRnZ.js +0 -1
  1138. package/dist/components/p-DebgFlHq.js +0 -1
  1139. package/dist/components/p-Dpf8NWF9.js +0 -1
  1140. package/dist/components/p-DwA-5c8G.js +0 -1
  1141. package/dist/components/p-Dws02cT2.js +0 -8
  1142. package/dist/components/p-E-ZsRS8r.js +0 -1
  1143. package/dist/components/p-K3QNYRhf.js +0 -1
  1144. package/dist/components/p-PQ_EO5-U.js +0 -1
  1145. package/dist/components/p-akEzGmDD.js +0 -1
  1146. package/dist/components/p-bDVBqkn0.js +0 -1
  1147. package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
  1148. package/dist/esm-es5/_commonjsHelpers-E-ZsRS8r.js +0 -1
  1149. package/dist/magma-components/p-00e47e49.system.entry.js +0 -14
  1150. package/dist/magma-components/p-0141c597.system.entry.js +0 -15
  1151. package/dist/magma-components/p-021f96f8.entry.js +0 -1
  1152. package/dist/magma-components/p-0255924b.system.entry.js +0 -22
  1153. package/dist/magma-components/p-05014374.entry.js +0 -1
  1154. package/dist/magma-components/p-05f73994.entry.js +0 -1
  1155. package/dist/magma-components/p-0646392d.entry.js +0 -1
  1156. package/dist/magma-components/p-0a904a12.entry.js +0 -1
  1157. package/dist/magma-components/p-106f39c6.entry.js +0 -1
  1158. package/dist/magma-components/p-10ad73e3.system.entry.js +0 -19
  1159. package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
  1160. package/dist/magma-components/p-12c5ae26.entry.js +0 -1
  1161. package/dist/magma-components/p-13a1d35f.entry.js +0 -1
  1162. package/dist/magma-components/p-15d4846d.entry.js +0 -1
  1163. package/dist/magma-components/p-1673225e.system.entry.js +0 -8
  1164. package/dist/magma-components/p-188f4b1d.system.entry.js +0 -7
  1165. package/dist/magma-components/p-18c8628c.entry.js +0 -1
  1166. package/dist/magma-components/p-1be45c75.entry.js +0 -1
  1167. package/dist/magma-components/p-1e3d89cd.system.entry.js +0 -1
  1168. package/dist/magma-components/p-1e700f0a.entry.js +0 -1
  1169. package/dist/magma-components/p-20e4f7dd.system.entry.js +0 -15
  1170. package/dist/magma-components/p-21865dd2.entry.js +0 -1
  1171. package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
  1172. package/dist/magma-components/p-231b604f.system.entry.js +0 -1
  1173. package/dist/magma-components/p-2507f5cf.entry.js +0 -1
  1174. package/dist/magma-components/p-277444bc.entry.js +0 -1
  1175. package/dist/magma-components/p-283b0548.system.entry.js +0 -102
  1176. package/dist/magma-components/p-2ec0db8e.entry.js +0 -1
  1177. package/dist/magma-components/p-30c3872d.entry.js +0 -1
  1178. package/dist/magma-components/p-322a5452.entry.js +0 -1
  1179. package/dist/magma-components/p-3231a6a3.entry.js +0 -1
  1180. package/dist/magma-components/p-34401d35.entry.js +0 -1
  1181. package/dist/magma-components/p-35aa29c5.entry.js +0 -1
  1182. package/dist/magma-components/p-36a67b51.entry.js +0 -1
  1183. package/dist/magma-components/p-3a1339bb.system.entry.js +0 -4
  1184. package/dist/magma-components/p-3d56e3f4.entry.js +0 -1
  1185. package/dist/magma-components/p-3e0eed90.system.entry.js +0 -12
  1186. package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
  1187. package/dist/magma-components/p-3eefca33.system.entry.js +0 -16
  1188. package/dist/magma-components/p-436f9b27.system.entry.js +0 -38
  1189. package/dist/magma-components/p-44e2a945.system.entry.js +0 -1
  1190. package/dist/magma-components/p-4658154f.entry.js +0 -1
  1191. package/dist/magma-components/p-474047fa.system.entry.js +0 -10
  1192. package/dist/magma-components/p-474c5d53.system.entry.js +0 -11
  1193. package/dist/magma-components/p-4ac94b84.system.entry.js +0 -32
  1194. package/dist/magma-components/p-4c73f14b.system.entry.js +0 -14
  1195. package/dist/magma-components/p-4dd6a39b.entry.js +0 -1
  1196. package/dist/magma-components/p-4e7f21ac.entry.js +0 -1
  1197. package/dist/magma-components/p-4f14a166.entry.js +0 -1
  1198. package/dist/magma-components/p-50ea11c9.system.entry.js +0 -32
  1199. package/dist/magma-components/p-52793bdb.system.entry.js +0 -1
  1200. package/dist/magma-components/p-5299f709.system.entry.js +0 -26
  1201. package/dist/magma-components/p-58b82b40.system.entry.js +0 -10
  1202. package/dist/magma-components/p-5a7267e8.system.entry.js +0 -4
  1203. package/dist/magma-components/p-5a911e7b.system.entry.js +0 -13
  1204. package/dist/magma-components/p-5ccf493c.system.entry.js +0 -7
  1205. package/dist/magma-components/p-5d119459.entry.js +0 -1
  1206. package/dist/magma-components/p-5fd04ce1.entry.js +0 -1
  1207. package/dist/magma-components/p-60f67c37.entry.js +0 -1
  1208. package/dist/magma-components/p-632bc44c.entry.js +0 -1
  1209. package/dist/magma-components/p-69c21eae.entry.js +0 -1
  1210. package/dist/magma-components/p-6a6326c6.entry.js +0 -1
  1211. package/dist/magma-components/p-6c800411.entry.js +0 -1
  1212. package/dist/magma-components/p-6e03b83a.entry.js +0 -1
  1213. package/dist/magma-components/p-6ed05d99.entry.js +0 -1
  1214. package/dist/magma-components/p-6f74cdf5.system.entry.js +0 -12
  1215. package/dist/magma-components/p-73fde271.system.entry.js +0 -72
  1216. package/dist/magma-components/p-76ecad2f.entry.js +0 -18
  1217. package/dist/magma-components/p-774ce1d2.entry.js +0 -1
  1218. package/dist/magma-components/p-77615947.system.entry.js +0 -1
  1219. package/dist/magma-components/p-7770b989.system.entry.js +0 -1
  1220. package/dist/magma-components/p-7787ebaf.system.entry.js +0 -1
  1221. package/dist/magma-components/p-7927010f.system.entry.js +0 -25
  1222. package/dist/magma-components/p-79421ee1.system.entry.js +0 -11
  1223. package/dist/magma-components/p-7ab15184.entry.js +0 -1
  1224. package/dist/magma-components/p-7afec7ee.entry.js +0 -1
  1225. package/dist/magma-components/p-7e085c82.entry.js +0 -1
  1226. package/dist/magma-components/p-7e7cf986.system.entry.js +0 -7
  1227. package/dist/magma-components/p-809adece.system.entry.js +0 -17
  1228. package/dist/magma-components/p-8183b7ed.entry.js +0 -1
  1229. package/dist/magma-components/p-83394280.system.entry.js +0 -32
  1230. package/dist/magma-components/p-835fc007.entry.js +0 -1
  1231. package/dist/magma-components/p-84645c60.system.entry.js +0 -1
  1232. package/dist/magma-components/p-87026d34.entry.js +0 -1
  1233. package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
  1234. package/dist/magma-components/p-883c223a.system.entry.js +0 -4
  1235. package/dist/magma-components/p-88f99a4f.system.entry.js +0 -81
  1236. package/dist/magma-components/p-8a3d2259.system.entry.js +0 -17
  1237. package/dist/magma-components/p-8aafbfdf.system.entry.js +0 -49
  1238. package/dist/magma-components/p-8afc9bc4.system.entry.js +0 -2838
  1239. package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
  1240. package/dist/magma-components/p-8ccd187a.entry.js +0 -1
  1241. package/dist/magma-components/p-90993b0b.system.entry.js +0 -68
  1242. package/dist/magma-components/p-915c5f06.system.entry.js +0 -47
  1243. package/dist/magma-components/p-91ff1560.system.entry.js +0 -7
  1244. package/dist/magma-components/p-92d9b537.entry.js +0 -1
  1245. package/dist/magma-components/p-932620b6.entry.js +0 -1
  1246. package/dist/magma-components/p-9344a234.entry.js +0 -1
  1247. package/dist/magma-components/p-97f6166e.system.entry.js +0 -28
  1248. package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
  1249. package/dist/magma-components/p-9dcfc247.entry.js +0 -1
  1250. package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
  1251. package/dist/magma-components/p-BpVYIPkx.js +0 -1
  1252. package/dist/magma-components/p-CHAGzQT-.js +0 -1
  1253. package/dist/magma-components/p-D7BrzK-C.system.js +0 -90
  1254. package/dist/magma-components/p-DIUTGDX_.system.js +0 -1
  1255. package/dist/magma-components/p-E-ZsRS8r.js +0 -1
  1256. package/dist/magma-components/p-a64bbb36.system.entry.js +0 -40
  1257. package/dist/magma-components/p-a6af4083.system.entry.js +0 -32
  1258. package/dist/magma-components/p-a7e7f2c0.entry.js +0 -1
  1259. package/dist/magma-components/p-aba96089.entry.js +0 -1
  1260. package/dist/magma-components/p-aed8b119.entry.js +0 -1
  1261. package/dist/magma-components/p-b24b5179.entry.js +0 -1
  1262. package/dist/magma-components/p-b295e4ab.system.entry.js +0 -1
  1263. package/dist/magma-components/p-b2c62b6e.system.entry.js +0 -7
  1264. package/dist/magma-components/p-b5559b28.system.entry.js +0 -1
  1265. package/dist/magma-components/p-b897c97d.entry.js +0 -1
  1266. package/dist/magma-components/p-bab4c75e.system.entry.js +0 -45
  1267. package/dist/magma-components/p-bc53c19e.entry.js +0 -8
  1268. package/dist/magma-components/p-bf2fe278.system.entry.js +0 -16
  1269. package/dist/magma-components/p-c0136138.entry.js +0 -1
  1270. package/dist/magma-components/p-c166ec50.system.entry.js +0 -47
  1271. package/dist/magma-components/p-c22887f7.system.entry.js +0 -90
  1272. package/dist/magma-components/p-c28fce23.entry.js +0 -1
  1273. package/dist/magma-components/p-c48bad95.entry.js +0 -1
  1274. package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
  1275. package/dist/magma-components/p-cc0c6ae7.entry.js +0 -1
  1276. package/dist/magma-components/p-cc2a09f2.system.entry.js +0 -16
  1277. package/dist/magma-components/p-cc9d9458.entry.js +0 -1
  1278. package/dist/magma-components/p-ccb14076.system.entry.js +0 -217
  1279. package/dist/magma-components/p-ccb6898a.system.entry.js +0 -4
  1280. package/dist/magma-components/p-d04ac65d.entry.js +0 -1
  1281. package/dist/magma-components/p-d07d227b.system.entry.js +0 -8
  1282. package/dist/magma-components/p-d1faf129.entry.js +0 -1
  1283. package/dist/magma-components/p-d282a929.entry.js +0 -1
  1284. package/dist/magma-components/p-d2f134ac.entry.js +0 -1
  1285. package/dist/magma-components/p-d47df503.system.entry.js +0 -37
  1286. package/dist/magma-components/p-d9804d2f.entry.js +0 -1
  1287. package/dist/magma-components/p-dc06b29e.entry.js +0 -1
  1288. package/dist/magma-components/p-dc59b764.entry.js +0 -1
  1289. package/dist/magma-components/p-dc7bada4.entry.js +0 -1
  1290. package/dist/magma-components/p-de091be7.system.entry.js +0 -7
  1291. package/dist/magma-components/p-dfe8552c.system.entry.js +0 -11
  1292. package/dist/magma-components/p-e1e69217.system.entry.js +0 -1
  1293. package/dist/magma-components/p-e2ef5996.entry.js +0 -1
  1294. package/dist/magma-components/p-e7751639.entry.js +0 -1
  1295. package/dist/magma-components/p-e887a14c.entry.js +0 -1
  1296. package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
  1297. package/dist/magma-components/p-eb681207.system.entry.js +0 -1
  1298. package/dist/magma-components/p-ec9cc7b9.entry.js +0 -1
  1299. package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
  1300. package/dist/magma-components/p-ecd3c27f.entry.js +0 -1
  1301. package/dist/magma-components/p-ef3424e3.entry.js +0 -1
  1302. package/dist/magma-components/p-f654eafe.entry.js +0 -1
  1303. package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
  1304. package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
  1305. package/dist/magma-components/p-ffa1a0b4.system.entry.js +0 -1
  1306. package/dist/types/dictionary/icon.d.ts +0 -4
  1307. package/dist/types/type/icon.d.ts +0 -1
@@ -0,0 +1 @@
1
+ import{r as t,d as a,h as r,e,g as i}from"./p-BxPbQB28.js";import{p as s}from"./p-7-TP6wnI.js";import{m as o}from"./p-DnEUG7st.js";import{m as n}from"./p-Bd0uuNDE.js";const d=class{constructor(r){t(this,r),this.pageChangedEvent=a(this,"mdsPaginatorChange",7),this.pages=0,this.currentPage=1,this.scrollPage=t=>{var a;const r=t,e=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".pages"),i=null==e?void 0:e.querySelectorAll("mds-paginator-item");if(!e||!i)return;if(r<0)return void(e.scrollLeft=0);if(r>i.length-1)return void(e.scrollLeft=i[i.length-1].offsetLeft-e.offsetLeft);const s=i[r];e.scrollLeft=s.offsetLeft-e.offsetLeft-e.offsetWidth/2+s.offsetWidth/2},this.isKeyboardFocus=t=>{try{return t.matches(":focus-visible")}catch(t){return!0}},this.handleItemFocus=t=>{var a;const r=t.target;if(!r||!this.isKeyboardFocus(r))return;const e=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".pages"),i=null==e?void 0:e.querySelectorAll("mds-paginator-item");i&&this.scrollPage(Array.from(i).indexOf(r))},this.goToPage=(t,a)=>{t<1||t>this.pages||(this.currentPage=t,this.pages>2&&this.scrollPage(this.currentPage-2),this.pageChangedEvent.emit({page:this.currentPage,caller:a}))},this.handlePrevClick=t=>{this.goToPage(this.currentPage-1,t.target)},this.handleFirstClick=t=>{this.goToPage(1,t.target)},this.handlePageClick=t=>a=>{this.goToPage(t,a.target)},this.handleLastClick=t=>{this.goToPage(this.pages,t.target)},this.handleNextClick=t=>{this.goToPage(this.currentPage+1,t.target)}}componentDidLoad(){setTimeout((()=>{this.goToPage(this.currentPage)}),10)}render(){return r(e,{key:"d29ec2aa4d88ceafef3d15bfa0b2c8696ba05740","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("mds-paginator-item",{key:"4a6c8fadf530613476af4b661a098909392478fe",class:"item-icon",icon:o,disabled:1===this.currentPage,onClick:this.handlePrevClick}),this.pages>0&&r("mds-paginator-item",{key:"689c8f65c52316084b5fd7168d662561e0b23be4",class:"item-first",selected:1===this.currentPage,onClick:this.handleFirstClick},"1"),this.pages>2&&r("div",{key:"eb496adef5c1e3bfb466dbf6ae7a851bcf785328",class:"pages"},Array.from(Array(this.pages-2).keys()).map((t=>r("mds-paginator-item",{key:t,class:"item",selected:this.currentPage===t+2,onClick:this.handlePageClick(t+2),onFocus:this.handleItemFocus},t+2)))),this.pages>1&&r("mds-paginator-item",{key:"5878453bbcd377cdc6695647dd06e25789ddc50e",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),r("mds-paginator-item",{key:"854f97ba542485495793d4f135410e4e25fab260",class:"item-icon",icon:n,disabled:this.currentPage===this.pages,onClick:this.handleNextClick}))}get element(){return i(this)}};d.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-paginator-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-paginator-scroll-behavior:smooth;--mds-paginator-transition-duration:var(--duration-200,.2s);--private-paginator-transition-duration:var(--mds-paginator-transition-duration);align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.pages{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-paginator-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--radius-full,1000px);display:flex;flex-shrink:1;gap:2px;margin-inline:calc(var(--spacing,.0025rem)*200);overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:var(--mds-paginator-scroll-behavior,smooth);transition-duration:var(--private-paginator-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.pages::-webkit-scrollbar{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-paginator-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:host([pref-contrast=more]) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host{--mds-paginator-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-paginator-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}';export{d as mds_paginator}
@@ -0,0 +1 @@
1
+ import{r as t,d as a,h as o,e as r,g as s}from"./p-BxPbQB28.js";import{c as e}from"./p-D8eZRaSQ.js";import{p as i}from"./p-7-TP6wnI.js";import{h as n}from"./p-C0o_l0td.js";import{c as d}from"./p-ChV9xqsO.js";const m=class{constructor(o){t(this,o),this.closedEvent=a(this,"mdsToastClose",7),this.cssDismissAnimationDuration=300,this.duration=5e3,this.variant="light",this.tone="strong",this.position="bottom-center",this.hasDuration=()=>{var t;const a=null!==(t=this.duration)&&void 0!==t?t:0;return 0!==a&&!Number.isNaN(a)},this.reloadTimeListeners=t=>{"undefined"!=typeof window&&this.hasDuration()&&t&&(this.removeTimeListener(),this.addTimeListener())},this.removeTimeListener=()=>{window.clearInterval(this.timer),this.timer=0},this.addTimeListener=()=>{this.timer=window.setInterval((()=>{this.visible=!1,this.timerToastDismiss=window.setInterval((()=>{this.closedEvent.emit(),window.clearInterval(this.timerToastDismiss),this.timerToastDismiss=0}),this.cssDismissAnimationDuration)}),this.duration)},this.onActionSlotChange=()=>{this.hasActions=n(this.hostElement,"action")}}updateCSSCustomProps(){if("undefined"==typeof window)return;const t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=e(t.getPropertyValue("--mds-tab-duration"))}componentWillLoad(){this.hasText=""!==this.hostElement.innerHTML,this.hasActions=n(this.hostElement,"action"),this.hasDuration()&&this.visible&&this.addTimeListener()}componentDidLoad(){this.updateCSSCustomProps()}visibleChanged(t){this.reloadTimeListeners(t)}durationChanged(){this.reloadTimeListeners(!!this.visible)}render(){return o(r,{key:"a083314c1d171ef03f724c2a7fef0a1a7eaf4270","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},o("div",{key:"4627df3db4f6210cb40ea33cda8e20dc3cbe6acd",class:d("dialog",this.position&&`to-${this.position}`,this.visible&&"dialog--visible")},o("slot",{key:"b47267806628400c2a10424cb28f75b25e938b06",name:"icon"}),this.hasText&&o("mds-text",{key:"909290cf12077bd9d90e16c8cc307275d54f9e24",typography:"caption"},o("slot",{key:"974ff0bca3a348a983c2a97e99de5f0299990000"})),o("div",{key:"5f7d099c3b0d17501048fc354be5da207699a732",class:d("actions",!this.hasActions&&"actions--hidden")},o("slot",{key:"c294d3e4c1716a013b7395190b03f1f35fc870bf",name:"action",onSlotchange:this.onActionSlotChange}))))}get hostElement(){return s(this)}static get watchers(){return{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}}};m.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-duration:.3s;--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,.3s);--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));display:flex;left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));align-items:center;background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))));border-radius:var(--radius-xl,20px);box-shadow:var(--mds-toast-shadow);display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-toast-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-toast-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-toast-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-toast-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-toast-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-toast-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-toast-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-toast-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-100% - var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(100% + var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}}';export{m as mds_toast}
@@ -1 +1 @@
1
- import{r as t,h as a,e as i}from"./p-BxPbQB28.js";const e=class{constructor(a){t(this,a),this.separator={apa:"&",mla:"e",turabian:"&"},this.format="apa",this.rel="external",this.typography="detail",this.monthName=t=>["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"][t],this.getDate=t=>new Date(isNaN(Number(t))?t:parseInt(t)),this.dateFormatAPA=t=>{const a=this.getDate(t);return"Invalid Date"===a.toString()?"":`${a.getFullYear()}, ${this.monthName(a.getMonth())} ${a.getDate()}`},this.dateFormatMLA=t=>{const a=this.getDate(t);return"Invalid Date"===a.toString()?"":`${a.getDate()} ${this.monthName(a.getMonth())} ${a.getFullYear()}`},this.fullNameAPA=(t,a)=>{var i;let e="";if(t.includes(" ")){const a=new RegExp(/(\w+)/,"g");null===(i=t.match(a))||void 0===i||i.forEach((t=>{e=`${e} ${t.substring(0,1)}.`}))}else e=` ${t.substring(0,1)}.`;return`${a}${""!==a?",":""}${e}`},this.fullNameMLA=(t,a)=>{var i;let e="";if(t.includes(" ")){const a=new RegExp(/(\w+)/,"g");null===(i=t.match(a))||void 0===i||i.forEach(((t,a)=>{e=0===a?t:`${e} ${t.substring(0,1)}.`}))}else e=t;return`${a}${""!==a?",":""} ${e}`},this.formatAuthors=t=>{var a,i;const e=t.replace(/"/g,"'"),r=new RegExp(/([A-Za-z ]{2,})/g),n=null!==(a=e.match(r))&&void 0!==a?a:e;if(n.length>1){const t=n[0].trim(),a=""!==n[1]?n[1].trim():"";return{apa:this.fullNameAPA(t,a),firstName:t,lastName:a,mla:this.fullNameMLA(t,a),turabian:this.fullNameMLA(t,a)}}const s=n[0].split(" ")[0].trim(),o=(null!==(i=n[0].split(" ")[1])&&void 0!==i?i:"").trim();return{apa:this.fullNameAPA(s,o),firstName:s,lastName:o,mla:this.fullNameMLA(s,o),turabian:this.fullNameMLA(s,o)}},this.normalizeAuthors=t=>{const a=[];return t.includes(",")?(t.split(",").forEach((t=>{a.push(this.formatAuthors(t))})),a):(a.push(this.formatAuthors(t)),a)},this.showAuthors=t=>{let a="";return t.forEach(((t,i)=>{a=0===i?t[this.format]:`${a}, ${this.separator[this.format]} ${t[this.format]}`})),a}}render(){var t,e,r;return a(i,{key:"4fe352d77a5ceea45f9b82d11fbb4ffe2d887aef"},a("mds-text",{key:"30052872c829ff3b2c142cd54cb64eebcd558f76",typography:this.typography,variant:this.variant},this.author&&a("span",{key:"14d5043a19e193f34a4502029d7dc21fe2ae8083"},this.showAuthors(this.normalizeAuthors(this.author))),"mla"===this.format&&a("span",{key:"7b903d623a57baf664c7cd425e78d7a17fca8331"},this.name&&" ",""!==(null!==(t=this.name)&&void 0!==t?t:"")&&null!==this.url?a("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},a("b",null,a("i",null,this.name,"."))):a("b",null,a("i",null,this.name,".")),this.location&&a("span",{key:"9c52f22dd20cafb9eb7df4835c2f5a99ca71a1a6"}," ",this.location,void 0!==this.publisher?":":"."),this.publisher&&a("span",{key:"3ff1124122ef8d52079fa7337ed51f116fa1f266"}," ",this.publisher,void 0!==this.date?",":"."),this.date&&a("time",{key:"ac4e6e1506bbca2633c95593d44df61622b6e040",dateTime:this.date}," ",this.dateFormatMLA(this.date),".")),"apa"===this.format&&a("span",{key:"71558449f856a09fda8b02f2808c93b1dd72c532"},this.date&&a("time",{key:"f952a6c0f8be0cbf83a8d04ff13e08b3221cbdc4",dateTime:this.date}," (",this.dateFormatAPA(this.date),")."),this.name&&" ",""!==(null!==(e=this.name)&&void 0!==e?e:"")&&null!==this.url?a("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},a("b",null,a("i",null," ",this.name,"."))):a("b",null,a("i",null," ",this.name,".")),this.location&&a("span",{key:"ecead881a08e1f08ebe0c08f5016414238b0c0aa"}," ",this.location,void 0!==this.publisher?":":"."),this.publisher&&a("span",{key:"7f5caaaecb02bdda257974de0439d0c15e4ebd71"}," ",this.publisher,".")),"turabian"===this.format&&a("span",{key:"e2869b0cbf35ddb64020edfb9aeab7a5bd94e56d"},this.name&&" ",""!==(null!==(r=this.name)&&void 0!==r?r:"")&&null!==this.url?a("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},a("b",null,a("i",null," ",this.name,"."))):a("b",null,a("i",null," ",this.name,".")),this.location&&a("span",{key:"1de156ae83032c28eef77b059c52beed6f7bb8a8"}," ",this.location,void 0!==this.publisher?":":","),this.publisher&&a("span",{key:"c82b2387e90227b129d5078561c60492901fb9e3"}," ",this.publisher,void 0!==this.date?",":"."),this.date&&a("time",{key:"fe9da6c7294ee249a0d892cf882a387ba0196159",dateTime:this.date}," ",this.dateFormatMLA(this.date),"."))))}};e.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-bibliography-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-bibliography-text-decoration-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-bibliography-text-decoration:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));display:inline}.link{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-lg,16px);color:var(--mds-bibliography-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));-webkit-text-decoration-color:var(--mds-bibliography-text-decoration,rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140)))));text-decoration-color:var(--mds-bibliography-text-decoration,rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140)))));transition-duration:.2s;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:-webkit-text-decoration,text-decoration,color,outline,outline-offset;transition-timing-function:ease-in-out}.link:hover{-webkit-text-decoration-color:var(--mds-bibliography-text-decoration-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));text-decoration-color:var(--mds-bibliography-text-decoration-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}.link:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}";export{e as mds_bibliography}
1
+ import{r as t,h as a,e as i}from"./p-BxPbQB28.js";const e=class{constructor(a){t(this,a),this.separator={apa:"&",mla:"e",turabian:"&"},this.format="apa",this.rel="external",this.typography="detail",this.monthName=t=>["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"][t],this.getDate=t=>new Date(isNaN(Number(t))?t:parseInt(t)),this.dateFormatAPA=t=>{const a=this.getDate(t);return"Invalid Date"===a.toString()?"":`${a.getFullYear()}, ${this.monthName(a.getMonth())} ${a.getDate()}`},this.dateFormatMLA=t=>{const a=this.getDate(t);return"Invalid Date"===a.toString()?"":`${a.getDate()} ${this.monthName(a.getMonth())} ${a.getFullYear()}`},this.fullNameAPA=(t,a)=>{var i;let e="";if(t.includes(" ")){const a=new RegExp(/(\w+)/,"g");null===(i=t.match(a))||void 0===i||i.forEach((t=>{e=`${e} ${t.substring(0,1)}.`}))}else e=` ${t.substring(0,1)}.`;return`${a}${""!==a?",":""}${e}`},this.fullNameMLA=(t,a)=>{var i;let e="";if(t.includes(" ")){const a=new RegExp(/(\w+)/,"g");null===(i=t.match(a))||void 0===i||i.forEach(((t,a)=>{e=0===a?t:`${e} ${t.substring(0,1)}.`}))}else e=t;return`${a}${""!==a?",":""} ${e}`},this.formatAuthors=t=>{var a,i;const e=t.replace(/"/g,"'"),r=new RegExp(/([A-Za-z ]{2,})/g),s=null!==(a=e.match(r))&&void 0!==a?a:e;if(s.length>1){const t=s[0].trim(),a=""!==s[1]?s[1].trim():"";return{apa:this.fullNameAPA(t,a),firstName:t,lastName:a,mla:this.fullNameMLA(t,a),turabian:this.fullNameMLA(t,a)}}const o=s[0].split(" ")[0].trim(),n=(null!==(i=s[0].split(" ")[1])&&void 0!==i?i:"").trim();return{apa:this.fullNameAPA(o,n),firstName:o,lastName:n,mla:this.fullNameMLA(o,n),turabian:this.fullNameMLA(o,n)}},this.normalizeAuthors=t=>{const a=[];return t.includes(",")?(t.split(",").forEach((t=>{a.push(this.formatAuthors(t))})),a):(a.push(this.formatAuthors(t)),a)},this.showAuthors=t=>{let a="";return t.forEach(((t,i)=>{a=0===i?t[this.format]:`${a}, ${this.separator[this.format]} ${t[this.format]}`})),a}}render(){var t,e,r;return a(i,{key:"4fe352d77a5ceea45f9b82d11fbb4ffe2d887aef"},a("mds-text",{key:"30052872c829ff3b2c142cd54cb64eebcd558f76",typography:this.typography,variant:this.variant},this.author&&a("span",{key:"14d5043a19e193f34a4502029d7dc21fe2ae8083"},this.showAuthors(this.normalizeAuthors(this.author))),"mla"===this.format&&a("span",{key:"7b903d623a57baf664c7cd425e78d7a17fca8331"},this.name&&" ",""!==(null!==(t=this.name)&&void 0!==t?t:"")&&null!==this.url?a("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},a("b",null,a("i",null,this.name,"."))):a("b",null,a("i",null,this.name,".")),this.location&&a("span",{key:"9c52f22dd20cafb9eb7df4835c2f5a99ca71a1a6"}," ",this.location,void 0!==this.publisher?":":"."),this.publisher&&a("span",{key:"3ff1124122ef8d52079fa7337ed51f116fa1f266"}," ",this.publisher,void 0!==this.date?",":"."),this.date&&a("time",{key:"ac4e6e1506bbca2633c95593d44df61622b6e040",dateTime:this.date}," ",this.dateFormatMLA(this.date),".")),"apa"===this.format&&a("span",{key:"71558449f856a09fda8b02f2808c93b1dd72c532"},this.date&&a("time",{key:"f952a6c0f8be0cbf83a8d04ff13e08b3221cbdc4",dateTime:this.date}," (",this.dateFormatAPA(this.date),")."),this.name&&" ",""!==(null!==(e=this.name)&&void 0!==e?e:"")&&null!==this.url?a("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},a("b",null,a("i",null," ",this.name,"."))):a("b",null,a("i",null," ",this.name,".")),this.location&&a("span",{key:"ecead881a08e1f08ebe0c08f5016414238b0c0aa"}," ",this.location,void 0!==this.publisher?":":"."),this.publisher&&a("span",{key:"7f5caaaecb02bdda257974de0439d0c15e4ebd71"}," ",this.publisher,".")),"turabian"===this.format&&a("span",{key:"e2869b0cbf35ddb64020edfb9aeab7a5bd94e56d"},this.name&&" ",""!==(null!==(r=this.name)&&void 0!==r?r:"")&&null!==this.url?a("a",{class:"link",href:this.url,target:"_blank",rel:this.rel},a("b",null,a("i",null," ",this.name,"."))):a("b",null,a("i",null," ",this.name,".")),this.location&&a("span",{key:"1de156ae83032c28eef77b059c52beed6f7bb8a8"}," ",this.location,void 0!==this.publisher?":":","),this.publisher&&a("span",{key:"c82b2387e90227b129d5078561c60492901fb9e3"}," ",this.publisher,void 0!==this.date?",":"."),this.date&&a("time",{key:"fe9da6c7294ee249a0d892cf882a387ba0196159",dateTime:this.date}," ",this.dateFormatMLA(this.date),"."))))}};e.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-bibliography-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-bibliography-text-decoration-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-bibliography-text-decoration:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));display:inline}.link{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-lg,16px);color:var(--mds-bibliography-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));-webkit-text-decoration-color:var(--mds-bibliography-text-decoration,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));text-decoration-color:var(--mds-bibliography-text-decoration,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));transition-duration:.2s;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:-webkit-text-decoration,text-decoration,color,outline,outline-offset;transition-timing-function:ease-in-out}.link:hover{-webkit-text-decoration-color:var(--mds-bibliography-text-decoration-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));text-decoration-color:var(--mds-bibliography-text-decoration-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.link:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}";export{e as mds_bibliography}
@@ -0,0 +1 @@
1
+ function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}export{t as g}
@@ -0,0 +1 @@
1
+ System.register([],(function(r){"use strict";return{execute:function(){var e=r("B","data:image/svg+xml;base64,");var t="<svg ";var n=r("a",(function(r){if(!r){return false}return r.startsWith(e)}));var a=r("i",(function(r){if(!r){return false}return r.startsWith(t)}))}}}));
@@ -2,7 +2,7 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r)
2
2
  /**
3
3
  * Custom positioning reference element.
4
4
  * @see https://floating-ui.com/docs/virtual-elements
5
- */var n=["top","right","bottom","left"];var e=["start","end"];var i=n.reduce((function(r,t){return r.concat(t,t+"-"+e[0],t+"-"+e[1])}),[]);var a=Math.min;var u=Math.max;var o=Math.round;var f=Math.floor;var c=function(r){return{x:r,y:r}};var s={left:"right",right:"left",bottom:"top",top:"bottom"};function v(r,t,n){return u(r,a(t,n))}function l(r,t){return typeof r==="function"?r(t):r}function d(r){return r.split("-")[0]}function h(r){return r.split("-")[1]}function _(r){return r==="x"?"y":"x"}function p(r){return r==="y"?"height":"width"}function y(r){var t=r[0];return t==="t"||t==="b"?"y":"x"}function g(r){return _(y(r))}function m(r,t,n){if(n===void 0){n=false}var e=h(r);var i=g(r);var a=p(i);var u=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){u=j(u)}return[u,j(u)]}function w(r){var t=j(r);return[b(r),t,b(t)]}function b(r){return r.includes("start")?r.replace("start","end"):r.replace("end","start")}var x=["left","right"];var A=["right","left"];var O=["top","bottom"];var k=["bottom","top"];function S(r,t,n){switch(r){case"top":case"bottom":if(n)return t?A:x;return t?x:A;case"left":case"right":return t?O:k;default:return[]}}function R(r,t,n,e){var i=h(r);var a=S(d(r),n==="start",e);if(i){a=a.map((function(r){return r+"-"+i}));if(t){a=a.concat(a.map(b))}}return a}function j(r){var t=d(r);return s[t]+r.slice(t.length)}function F(r){var t,n,e,i;return{top:(t=r.top)!=null?t:0,right:(n=r.right)!=null?n:0,bottom:(e=r.bottom)!=null?e:0,left:(i=r.left)!=null?i:0}}function T(r){return typeof r!=="number"?F(r):{top:r,right:r,bottom:r,left:r}}function P(r){var t=r.x,n=r.y,e=r.width,i=r.height;return{width:e,height:i,top:n,left:t,right:t+e,bottom:n+i,x:t,y:n}}function M(r,t,n){var e=r.reference,i=r.floating;var a=y(t);var u=g(t);var o=p(u);var f=d(t);var c=a==="y";var s=e.x+e.width/2-i.width/2;var v=e.y+e.height/2-i.height/2;var l=e[o]/2-i[o]/2;var _;switch(f){case"top":_={x:s,y:e.y-i.height};break;case"bottom":_={x:s,y:e.y+e.height};break;case"right":_={x:e.x+e.width,y:v};break;case"left":_={x:e.x-i.width,y:v};break;default:_={x:e.x,y:e.y}}var m=h(t);if(m){_[u]+=l*(m==="end"?1:-1)*(n&&c?-1:1)}return _}
5
+ */var n=["top","right","bottom","left"];var e=["start","end"];var i=n.reduce((function(r,t){return r.concat(t,t+"-"+e[0],t+"-"+e[1])}),[]);var a=Math.min;var u=Math.max;var o=Math.round;var f=Math.floor;var c=function(r){return{x:r,y:r}};var v={left:"right",right:"left",bottom:"top",top:"bottom"};function s(r,t,n){return u(r,a(t,n))}function l(r,t){return typeof r==="function"?r(t):r}function d(r){return r.split("-")[0]}function h(r){return r.split("-")[1]}function _(r){return r==="x"?"y":"x"}function p(r){return r==="y"?"height":"width"}function y(r){var t=r[0];return t==="t"||t==="b"?"y":"x"}function g(r){return _(y(r))}function m(r,t,n){if(n===void 0){n=false}var e=h(r);var i=g(r);var a=p(i);var u=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){u=R(u)}return[u,R(u)]}function w(r){var t=R(r);return[b(r),t,b(t)]}function b(r){return r.includes("start")?r.replace("start","end"):r.replace("end","start")}var x=["left","right"];var A=["right","left"];var S=["top","bottom"];var O=["bottom","top"];function k(r,t,n){switch(r){case"top":case"bottom":if(n)return t?A:x;return t?x:A;case"left":case"right":return t?S:O;default:return[]}}function F(r,t,n,e){var i=h(r);var a=k(d(r),n==="start",e);if(i){a=a.map((function(r){return r+"-"+i}));if(t){a=a.concat(a.map(b))}}return a}function R(r){var t=d(r);return v[t]+r.slice(t.length)}function j(r){var t,n,e,i;return{top:(t=r.top)!=null?t:0,right:(n=r.right)!=null?n:0,bottom:(e=r.bottom)!=null?e:0,left:(i=r.left)!=null?i:0}}function T(r){return typeof r!=="number"?j(r):{top:r,right:r,bottom:r,left:r}}function C(r){var t=r.x,n=r.y,e=r.width,i=r.height;return{width:e,height:i,top:n,left:t,right:t+e,bottom:n+i,x:t,y:n}}function P(r,t,n){var e=r.reference,i=r.floating;var a=y(t);var u=g(t);var o=p(u);var f=d(t);var c=a==="y";var v=e.x+e.width/2-i.width/2;var s=e.y+e.height/2-i.height/2;var l=e[o]/2-i[o]/2;var _;switch(f){case"top":_={x:v,y:e.y-i.height};break;case"bottom":_={x:v,y:e.y+e.height};break;case"right":_={x:e.x+e.width,y:s};break;case"left":_={x:e.x-i.width,y:s};break;default:_={x:e.x,y:e.y}}var m=h(t);if(m){_[u]+=l*(m==="end"?1:-1)*(n&&c?-1:1)}return _}
6
6
  /**
7
7
  * Resolves with an object of overflow side offsets that determine how much the
8
8
  * element is overflowing a given clipping boundary on each side.
@@ -10,73 +10,73 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r)
10
10
  * - negative = how many pixels left before it will overflow
11
11
  * - 0 = lies flush with the boundary
12
12
  * @see https://floating-ui.com/docs/detectOverflow
13
- */function E(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,s,v,d,h,_,p,y,g,m,w,b,x,A,O,k,S,R,j,F,M,E,L,C,D,I,z;var N;return __generator(this,(function($){switch($.label){case 0:if(t===void 0){t={}}e=r.x,i=r.y,a=r.platform,u=r.rects,o=r.elements,f=r.strategy;c=l(t,r),s=c.boundary,v=s===void 0?"clippingAncestors":s,d=c.rootBoundary,h=d===void 0?"viewport":d,_=c.elementContext,p=_===void 0?"floating":_,y=c.altBoundary,g=y===void 0?false:y,m=c.padding,w=m===void 0?0:m;b=T(w);x=p==="floating"?"reference":"floating";A=o[g?x:p];k=P;R=(S=a).getClippingRect;N={};return[4/*yield*/,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((n=$.sent())!=null?n:true))return[3/*break*/,2];j=A;return[3/*break*/,5];case 2:F=A.contextElement;if(F)return[3/*break*/,4];return[4/*yield*/,a.getDocumentElement==null?void 0:a.getDocumentElement(o.floating)];case 3:F=$.sent();$.label=4;case 4:j=F;$.label=5;case 5:return[4/*yield*/,R.apply(S,[(N.element=j,N.boundary=v,N.rootBoundary=h,N.strategy=f,N)])];case 6:O=k.apply(void 0,[$.sent()]);M=p==="floating"?{x:e,y:i,width:u.floating.width,height:u.floating.height}:u.reference;return[4/*yield*/,a.getOffsetParent==null?void 0:a.getOffsetParent(o.floating)];case 7:E=$.sent();return[4/*yield*/,a.isElement==null?void 0:a.isElement(E)];case 8:C=$.sent();if(!C)return[3/*break*/,10];return[4/*yield*/,a.getScale==null?void 0:a.getScale(E)];case 9:C=$.sent();$.label=10;case 10:L=C||{x:1,y:1};I=P;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3/*break*/,12];return[4/*yield*/,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:M,offsetParent:E,strategy:f})];case 11:z=$.sent();return[3/*break*/,13];case 12:z=M;$.label=13;case 13:D=I.apply(void 0,[z]);return[2/*return*/,{top:(O.top-D.top+b.top)/L.y,bottom:(D.bottom-O.bottom+b.bottom)/L.y,left:(O.left-D.left+b.left)/L.x,right:(D.right-O.right+b.right)/L.x}]}}))}))}
13
+ */function M(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,v,s,d,h,_,p,y,g,m,w,b,x,A,S,O,k,F,R,j,P,M,z,E,L,D,I;var N;return __generator(this,(function(V){switch(V.label){case 0:if(t===void 0){t={}}e=r.x,i=r.y,a=r.platform,u=r.rects,o=r.elements,f=r.strategy;c=l(t,r),v=c.boundary,s=v===void 0?"clippingAncestors":v,d=c.rootBoundary,h=d===void 0?"viewport":d,_=c.elementContext,p=_===void 0?"floating":_,y=c.altBoundary,g=y===void 0?false:y,m=c.padding,w=m===void 0?0:m;b=T(w);x=p==="floating"?"reference":"floating";A=o[g?x:p];O=C;F=(k=a).getClippingRect;N={};return[4/*yield*/,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((n=V.sent())!=null?n:true))return[3/*break*/,2];R=A;return[3/*break*/,5];case 2:j=A.contextElement;if(j)return[3/*break*/,4];return[4/*yield*/,a.getDocumentElement==null?void 0:a.getDocumentElement(o.floating)];case 3:j=V.sent();V.label=4;case 4:R=j;V.label=5;case 5:return[4/*yield*/,F.apply(k,[(N.element=R,N.boundary=s,N.rootBoundary=h,N.strategy=f,N)])];case 6:S=O.apply(void 0,[V.sent()]);P=p==="floating"?{x:e,y:i,width:u.floating.width,height:u.floating.height}:u.reference;return[4/*yield*/,a.getOffsetParent==null?void 0:a.getOffsetParent(o.floating)];case 7:M=V.sent();return[4/*yield*/,a.isElement==null?void 0:a.isElement(M)];case 8:E=V.sent();if(!E)return[3/*break*/,10];return[4/*yield*/,a.getScale==null?void 0:a.getScale(M)];case 9:E=V.sent();V.label=10;case 10:z=E||{x:1,y:1};D=C;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3/*break*/,12];return[4/*yield*/,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:P,offsetParent:M,strategy:f})];case 11:I=V.sent();return[3/*break*/,13];case 12:I=P;V.label=13;case 13:L=D.apply(void 0,[I]);return[2/*return*/,{top:(S.top-L.top+b.top)/z.y,bottom:(L.bottom-S.bottom+b.bottom)/z.y,left:(S.left-L.left+b.left)/z.x,right:(L.right-S.right+b.right)/z.x}]}}))}))}
14
14
  // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
15
- var L=50;
15
+ var z=50;
16
16
  /**
17
17
  * Computes the `x` and `y` coordinates that will place the floating element
18
18
  * next to a given reference element.
19
19
  *
20
20
  * This export does not have any `platform` interface logic. You will need to
21
21
  * write one for the platform you are using Floating UI with.
22
- */var C=function(r,n,e){return __awaiter(t,void 0,void 0,(function(){var t,i,a,u,o,f,c,s,v,l,d,h,_,p,y,g,m,w,b,x,A,O,k,S,R,j;var F;return __generator(this,(function(T){switch(T.label){case 0:t=e.placement,i=t===void 0?"bottom":t,a=e.strategy,u=a===void 0?"absolute":a,o=e.middleware,f=o===void 0?[]:o,c=e.platform;s=c.detectOverflow?c:__assign(__assign({},c),{detectOverflow:E});return[4/*yield*/,c.isRTL==null?void 0:c.isRTL(n)];case 1:v=T.sent();return[4/*yield*/,c.getElementRects({reference:r,floating:n,strategy:u})];case 2:l=T.sent();d=M(l,i,v),h=d.x,_=d.y;p=i;y=0;g={};m=0;T.label=3;case 3:if(!(m<f.length))return[3/*break*/,11];w=f[m];if(!w){return[3/*break*/,10]}b=w.name,x=w.fn;return[4/*yield*/,x({x:h,y:_,initialPlacement:i,placement:p,strategy:u,middlewareData:g,rects:l,platform:s,elements:{reference:r,floating:n}})];case 4:A=T.sent(),O=A.x,k=A.y,S=A.data,R=A.reset;h=O!=null?O:h;_=k!=null?k:_;g[b]=__assign(__assign({},g[b]),S);if(!(R&&y<L))return[3/*break*/,10];y++;if(!(typeof R==="object"))return[3/*break*/,9];if(R.placement){p=R.placement}if(!R.rects)return[3/*break*/,8];if(!(R.rects===true))return[3/*break*/,6];return[4/*yield*/,c.getElementRects({reference:r,floating:n,strategy:u})];case 5:j=T.sent();return[3/*break*/,7];case 6:j=R.rects;T.label=7;case 7:l=j;T.label=8;case 8:F=M(l,p,v),h=F.x,_=F.y;T.label=9;case 9:m=-1;T.label=10;case 10:m++;return[3/*break*/,3];case 11:return[2/*return*/,{x:h,y:_,placement:p,strategy:u,middlewareData:g}]}}))}))};
22
+ */var E=function(r,n,e){return __awaiter(t,void 0,void 0,(function(){var t,i,a,u,o,f,c,v,s,l,d,h,_,p,y,g,m,w,b,x,A,S,O,k,F,R;var j;return __generator(this,(function(T){switch(T.label){case 0:t=e.placement,i=t===void 0?"bottom":t,a=e.strategy,u=a===void 0?"absolute":a,o=e.middleware,f=o===void 0?[]:o,c=e.platform;v=c.detectOverflow?c:__assign(__assign({},c),{detectOverflow:M});return[4/*yield*/,c.isRTL==null?void 0:c.isRTL(n)];case 1:s=T.sent();return[4/*yield*/,c.getElementRects({reference:r,floating:n,strategy:u})];case 2:l=T.sent();d=P(l,i,s),h=d.x,_=d.y;p=i;y=0;g={};m=0;T.label=3;case 3:if(!(m<f.length))return[3/*break*/,11];w=f[m];if(!w){return[3/*break*/,10]}b=w.name,x=w.fn;return[4/*yield*/,x({x:h,y:_,initialPlacement:i,placement:p,strategy:u,middlewareData:g,rects:l,platform:v,elements:{reference:r,floating:n}})];case 4:A=T.sent(),S=A.x,O=A.y,k=A.data,F=A.reset;h=S!=null?S:h;_=O!=null?O:_;g[b]=__assign(__assign({},g[b]),k);if(!(F&&y<z))return[3/*break*/,10];y++;if(!(typeof F==="object"))return[3/*break*/,9];if(F.placement){p=F.placement}if(!F.rects)return[3/*break*/,8];if(!(F.rects===true))return[3/*break*/,6];return[4/*yield*/,c.getElementRects({reference:r,floating:n,strategy:u})];case 5:R=T.sent();return[3/*break*/,7];case 6:R=F.rects;T.label=7;case 7:l=R;T.label=8;case 8:j=P(l,p,s),h=j.x,_=j.y;T.label=9;case 9:m=-1;T.label=10;case 10:m++;return[3/*break*/,3];case 11:return[2/*return*/,{x:h,y:_,placement:p,strategy:u,middlewareData:g}]}}))}))};
23
23
  /**
24
24
  * Provides data to position an inner element of the floating element so that it
25
25
  * appears centered to the reference element.
26
26
  * @see https://floating-ui.com/docs/arrow
27
- */var D=function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,u,o,f,c,s,d,_,y,m,w,b,x,A,O,k,S,R,j,F,P,M,E,L,C,D,I,z,N,$,q,H;var G,V;return __generator(this,(function(W){switch(W.label){case 0:n=t.x,e=t.y,i=t.placement,u=t.rects,o=t.platform,f=t.elements,c=t.middlewareData;s=l(r,t)||{},d=s.element,_=s.padding,y=_===void 0?0:_;if(d==null){return[2/*return*/,{}]}m=T(y);w={x:n,y:e};b=g(i);x=p(b);return[4/*yield*/,o.getDimensions(d)];case 1:A=W.sent();O=b==="y";k=O?"top":"left";S=O?"bottom":"right";R=O?"clientHeight":"clientWidth";j=u.reference[x]+u.reference[b]-w[b]-u.floating[x];F=w[b]-u.reference[b];return[4/*yield*/,o.getOffsetParent==null?void 0:o.getOffsetParent(d)];case 2:P=W.sent();M=P?P[R]:0;E=!M;if(E)return[3/*break*/,4];return[4/*yield*/,o.isElement==null?void 0:o.isElement(P)];case 3:E=!W.sent();W.label=4;case 4:
27
+ */var L=function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,u,o,f,c,v,d,_,y,m,w,b,x,A,S,O,k,F,R,j,C,P,M,z,E,L,D,I,N,V,$,q;var H,G;return __generator(this,(function(W){switch(W.label){case 0:n=t.x,e=t.y,i=t.placement,u=t.rects,o=t.platform,f=t.elements,c=t.middlewareData;v=l(r,t)||{},d=v.element,_=v.padding,y=_===void 0?0:_;if(d==null){return[2/*return*/,{}]}m=T(y);w={x:n,y:e};b=g(i);x=p(b);return[4/*yield*/,o.getDimensions(d)];case 1:A=W.sent();S=b==="y";O=S?"top":"left";k=S?"bottom":"right";F=S?"clientHeight":"clientWidth";R=u.reference[x]+u.reference[b]-w[b]-u.floating[x];j=w[b]-u.reference[b];return[4/*yield*/,o.getOffsetParent==null?void 0:o.getOffsetParent(d)];case 2:C=W.sent();P=C?C[F]:0;M=!P;if(M)return[3/*break*/,4];return[4/*yield*/,o.isElement==null?void 0:o.isElement(C)];case 3:M=!W.sent();W.label=4;case 4:
28
28
  // DOM platform can return `window` as the `offsetParent`.
29
- if(E){M=f.floating[R]||u.floating[x]}L=j/2-F/2;C=M/2-A[x]/2-1;D=a(m[k],C);I=a(m[S],C);z=M-A[x]-I;N=M/2-A[x]/2+L;$=v(D,N,z);q=!c.arrow&&h(i)!=null&&N!==$&&u.reference[x]/2-(N<D?D:I)-A[x]/2<0;H=q?N<D?N-D:N-z:0;return[2/*return*/,(G={},G[b]=w[b]+H,G.data=__assign((V={},V[b]=$,V.centerOffset=N-$-H,V),q&&{alignmentOffset:H}),G.reset=q,G)]}}))}))}}};function I(r,t,n){var e=r?__spreadArray(__spreadArray([],n.filter((function(t){return h(t)===r})),true),n.filter((function(t){return h(t)!==r})),true):n.filter((function(r){return d(r)===r}));return e.filter((function(n){if(r){return h(n)===r||(t?b(n)!==n:false)}return true}))}
29
+ if(M){P=f.floating[F]||u.floating[x]}z=R/2-j/2;E=P/2-A[x]/2-1;L=a(m[O],E);D=a(m[k],E);I=P-A[x]-D;N=P/2-A[x]/2+z;V=s(L,N,I);$=!c.arrow&&h(i)!=null&&N!==V&&u.reference[x]/2-(N<L?L:D)-A[x]/2<0;q=$?N<L?N-L:N-I:0;return[2/*return*/,(H={},H[b]=w[b]+q,H.data=__assign((G={},G[b]=V,G.centerOffset=N-V-q,G),$&&{alignmentOffset:q}),H.reset=$,H)]}}))}))}}};function D(r,t,n){var e=r?__spreadArray(__spreadArray([],n.filter((function(t){return h(t)===r})),true),n.filter((function(t){return h(t)!==r})),true):n.filter((function(r){return d(r)===r}));return e.filter((function(n){if(r){return h(n)===r||(t?b(n)!==n:false)}return true}))}
30
30
  /**
31
31
  * Optimizes the visibility of the floating element by choosing the placement
32
32
  * that has the most space available automatically, without needing to specify a
33
33
  * preferred placement. Alternative to `flip`.
34
34
  * @see https://floating-ui.com/docs/autoPlacement
35
- */var z=function(r){if(r===void 0){r={}}return{name:"autoPlacement",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,a,u,o,f,c,s,v,_,p,y,g,w,b,x,A,O,k,S,R,j,F,T,P,M,E,L,C,D;return __generator(this,(function(z){switch(z.label){case 0:u=t.rects,o=t.middlewareData,f=t.placement,c=t.platform,s=t.elements;v=l(r,t),_=v.crossAxis,p=_===void 0?false:_,y=v.alignment,g=v.allowedPlacements,w=g===void 0?i:g,b=v.autoAlignment,x=b===void 0?true:b,A=__rest(v,["crossAxis","alignment","allowedPlacements","autoAlignment"]);O=y!==undefined||w===i?I(y||null,x,w):w;k=((n=o.autoPlacement)==null?void 0:n.index)||0;S=O[k];if(S==null){return[2/*return*/,{}]}
35
+ */var I=function(r){if(r===void 0){r={}}return{name:"autoPlacement",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,a,u,o,f,c,v,s,_,p,y,g,w,b,x,A,S,O,k,F,R,j,T,C,P,M,z,E,L;return __generator(this,(function(I){switch(I.label){case 0:u=t.rects,o=t.middlewareData,f=t.placement,c=t.platform,v=t.elements;s=l(r,t),_=s.crossAxis,p=_===void 0?false:_,y=s.alignment,g=s.allowedPlacements,w=g===void 0?i:g,b=s.autoAlignment,x=b===void 0?true:b,A=__rest(s,["crossAxis","alignment","allowedPlacements","autoAlignment"]);S=y!==undefined||w===i?D(y||null,x,w):w;O=((n=o.autoPlacement)==null?void 0:n.index)||0;k=S[O];if(k==null){return[2/*return*/,{}]}
36
36
  // Make `computeCoords` start from the right place.
37
- if(f!==S){return[2/*return*/,{reset:{placement:O[0]}}]}return[4/*yield*/,c.detectOverflow(t,A)];case 1:R=z.sent();F=m;T=[S,u];return[4/*yield*/,c.isRTL==null?void 0:c.isRTL(s.floating)];case 2:j=F.apply(void 0,T.concat([z.sent()]));P=[R[d(S)],R[j[0]],R[j[1]]];M=__spreadArray(__spreadArray([],((e=o.autoPlacement)==null?void 0:e.overflows)||[],true),[{placement:S,overflows:P}],false);E=O[k+1];
37
+ if(f!==k){return[2/*return*/,{reset:{placement:S[0]}}]}return[4/*yield*/,c.detectOverflow(t,A)];case 1:F=I.sent();j=m;T=[k,u];return[4/*yield*/,c.isRTL==null?void 0:c.isRTL(v.floating)];case 2:R=j.apply(void 0,T.concat([I.sent()]));C=[F[d(k)],F[R[0]],F[R[1]]];P=__spreadArray(__spreadArray([],((e=o.autoPlacement)==null?void 0:e.overflows)||[],true),[{placement:k,overflows:C}],false);M=S[O+1];
38
38
  // There are more placements to check.
39
- if(E){return[2/*return*/,{data:{index:k+1,overflows:M},reset:{placement:E}}]}L=M.map((function(r){var t=h(r.placement);return[r.placement,t&&p?
39
+ if(M){return[2/*return*/,{data:{index:O+1,overflows:P},reset:{placement:M}}]}z=P.map((function(r){var t=h(r.placement);return[r.placement,t&&p?
40
40
  // Check along the mainAxis and main crossAxis side.
41
41
  r.overflows.slice(0,2).reduce((function(r,t){return r+t}),0):
42
42
  // Check only the mainAxis.
43
- r.overflows[0],r.overflows]})).sort((function(r,t){return r[1]-t[1]}));C=L.filter((function(r){return r[2].slice(0,
43
+ r.overflows[0],r.overflows]})).sort((function(r,t){return r[1]-t[1]}));E=z.filter((function(r){return r[2].slice(0,
44
44
  // Aligned placements should not check their opposite crossAxis
45
45
  // side.
46
- h(r[0])?2:3).every((function(r){return r<=0}))}));D=((a=C[0])==null?void 0:a[0])||L[0][0];if(D!==f){return[2/*return*/,{data:{index:k+1,overflows:M},reset:{placement:D}}]}return[2/*return*/,{}]}}))}))}}};
46
+ h(r[0])?2:3).every((function(r){return r<=0}))}));L=((a=E[0])==null?void 0:a[0])||z[0][0];if(L!==f){return[2/*return*/,{data:{index:O+1,overflows:P},reset:{placement:L}}]}return[2/*return*/,{}]}}))}))}}};
47
47
  /**
48
48
  * Optimizes the visibility of the floating element by flipping the `placement`
49
49
  * in order to keep it in view when the preferred placement(s) will overflow the
50
50
  * clipping boundary. Alternative to `autoPlacement`.
51
51
  * @see https://floating-ui.com/docs/flip
52
- */var N=function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,s,v,h,_,p,g,b,x,A,O,k,S,F,T,P,M,E,L,C,D,I,z,N,$,q,H,G,V,W,B,J,K;return __generator(this,(function(Q){switch(Q.label){case 0:i=t.placement,a=t.middlewareData,u=t.rects,o=t.initialPlacement,f=t.platform,c=t.elements;s=l(r,t),v=s.mainAxis,h=v===void 0?true:v,_=s.crossAxis,p=_===void 0?true:_,g=s.fallbackPlacements,b=s.fallbackStrategy,x=b===void 0?"bestFit":b,A=s.fallbackAxisSideDirection,O=A===void 0?"none":A,k=s.flipAlignment,S=k===void 0?true:k,F=__rest(s,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);
52
+ */var N=function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,v,s,h,_,p,g,b,x,A,S,O,k,j,T,C,P,M,z,E,L,D,I,N,V,$,q,H,G,W,B,J,K;return __generator(this,(function(Q){switch(Q.label){case 0:i=t.placement,a=t.middlewareData,u=t.rects,o=t.initialPlacement,f=t.platform,c=t.elements;v=l(r,t),s=v.mainAxis,h=s===void 0?true:s,_=v.crossAxis,p=_===void 0?true:_,g=v.fallbackPlacements,b=v.fallbackStrategy,x=b===void 0?"bestFit":b,A=v.fallbackAxisSideDirection,S=A===void 0?"none":A,O=v.flipAlignment,k=O===void 0?true:O,j=__rest(v,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);
53
53
  // If a reset by the arrow was caused due to an alignment offset being
54
54
  // added, we should skip any logic now since `flip()` has already done its
55
55
  // work.
56
56
  // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
57
- if((n=a.arrow)!=null&&n.alignmentOffset){return[2/*return*/,{}]}T=d(i);P=y(o);M=d(o)===o;return[4/*yield*/,f.isRTL==null?void 0:f.isRTL(c.floating)];case 1:E=Q.sent();L=g||(M||!S?[j(o)]:w(o));C=O!=="none";if(!g&&C){L.push.apply(L,R(o,S,O,E))}D=__spreadArray([o],L,true);return[4/*yield*/,f.detectOverflow(t,F)];case 2:I=Q.sent();z=[];N=((e=a.flip)==null?void 0:e.overflows)||[];if(h){z.push(I[T])}if(p){$=m(i,u,E);z.push(I[$[0]],I[$[1]])}N=__spreadArray(__spreadArray([],N,true),[{placement:i,overflows:z}],false);
57
+ if((n=a.arrow)!=null&&n.alignmentOffset){return[2/*return*/,{}]}T=d(i);C=y(o);P=d(o)===o;return[4/*yield*/,f.isRTL==null?void 0:f.isRTL(c.floating)];case 1:M=Q.sent();z=g||(P||!k?[R(o)]:w(o));E=S!=="none";if(!g&&E){z.push.apply(z,F(o,k,S,M))}L=__spreadArray([o],z,true);return[4/*yield*/,f.detectOverflow(t,j)];case 2:D=Q.sent();I=[];N=((e=a.flip)==null?void 0:e.overflows)||[];if(h){I.push(D[T])}if(p){V=m(i,u,M);I.push(D[V[0]],D[V[1]])}N=__spreadArray(__spreadArray([],N,true),[{placement:i,overflows:I}],false);
58
58
  // One or more sides is overflowing.
59
- if(!z.every((function(r){return r<=0}))){G=(((q=a.flip)==null?void 0:q.index)||0)+1;V=D[G];if(V){W=p==="alignment"?P!==y(V):false;if(!W||
59
+ if(!I.every((function(r){return r<=0}))){H=((($=a.flip)==null?void 0:$.index)||0)+1;G=L[H];if(G){W=p==="alignment"?C!==y(G):false;if(!W||
60
60
  // We leave the current main axis only if every placement on that axis
61
61
  // overflows the main axis.
62
- N.every((function(r){return y(r.placement)===P?r.overflows[0]>0:true}))){
62
+ N.every((function(r){return y(r.placement)===C?r.overflows[0]>0:true}))){
63
63
  // Try next placement and re-run the lifecycle.
64
- return[2/*return*/,{data:{index:G,overflows:N},reset:{placement:V}}]}}B=(H=N.filter((function(r){return r.overflows[0]<=0})).sort((function(r,t){return r.overflows[1]-t.overflows[1]}))[0])==null?void 0:H.placement;
64
+ return[2/*return*/,{data:{index:H,overflows:N},reset:{placement:G}}]}}B=(q=N.filter((function(r){return r.overflows[0]<=0})).sort((function(r,t){return r.overflows[1]-t.overflows[1]}))[0])==null?void 0:q.placement;
65
65
  // Otherwise fallback.
66
- if(!B){switch(x){case"bestFit":{K=(J=N.filter((function(r){if(C){var t=y(r.placement);return t===P||
66
+ if(!B){switch(x){case"bestFit":{K=(J=N.filter((function(r){if(E){var t=y(r.placement);return t===C||
67
67
  // Create a bias to the `y` side axis due to horizontal
68
68
  // reading directions favoring greater width.
69
- t==="y"}return true})).map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,t){return r+t}),0)]})).sort((function(r,t){return r[1]-t[1]}))[0])==null?void 0:J[0];if(K){B=K}break}case"initialPlacement":B=o;break}}if(i!==B){return[2/*return*/,{reset:{placement:B}}]}}return[2/*return*/,{}]}}))}))}}};var $=new Set(["left","top"]);
69
+ t==="y"}return true})).map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,t){return r+t}),0)]})).sort((function(r,t){return r[1]-t[1]}))[0])==null?void 0:J[0];if(K){B=K}break}case"initialPlacement":B=o;break}}if(i!==B){return[2/*return*/,{reset:{placement:B}}]}}return[2/*return*/,{}]}}))}))}}};var V=new Set(["left","top"]);
70
70
  // For type backwards-compatibility, the `OffsetOptions` type was also
71
71
  // Derivable.
72
- function q(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,s,v,_,p,g,m;return __generator(this,(function(w){switch(w.label){case 0:n=r.placement,e=r.platform,i=r.elements;return[4/*yield*/,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=w.sent();u=d(n);o=h(n);f=y(n)==="y";c=$.has(u)?-1:1;s=a&&f?-1:1;v=l(t,r);_=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis},p=_.mainAxis,g=_.crossAxis,m=_.alignmentAxis;if(o&&typeof m==="number"){g=o==="end"?m*-1:m}return[2/*return*/,f?{x:g*s,y:p*c}:{x:p*c,y:g*s}]}}))}))}
72
+ function $(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,v,s,_,p,g,m;return __generator(this,(function(w){switch(w.label){case 0:n=r.placement,e=r.platform,i=r.elements;return[4/*yield*/,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=w.sent();u=d(n);o=h(n);f=y(n)==="y";c=V.has(u)?-1:1;v=a&&f?-1:1;s=l(t,r);_=typeof s==="number"?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis},p=_.mainAxis,g=_.crossAxis,m=_.alignmentAxis;if(o&&typeof m==="number"){g=o==="end"?m*-1:m}return[2/*return*/,f?{x:g*v,y:p*c}:{x:p*c,y:g*v}]}}))}))}
73
73
  /**
74
74
  * Modifies the placement by translating the floating element along the
75
75
  * specified axes.
76
76
  * A number (shorthand for `mainAxis` or distance), or an axes configuration
77
77
  * object may be passed.
78
78
  * @see https://floating-ui.com/docs/offset
79
- */var H=function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f;return __generator(this,(function(c){switch(c.label){case 0:i=t.x,a=t.y,u=t.placement,o=t.middlewareData;return[4/*yield*/,q(t,r)];case 1:f=c.sent();
79
+ */var q=function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f;return __generator(this,(function(c){switch(c.label){case 0:i=t.x,a=t.y,u=t.placement,o=t.middlewareData;return[4/*yield*/,$(t,r)];case 1:f=c.sent();
80
80
  // If the placement is the same and the arrow caused an alignment offset
81
81
  // then we don't need to change the positioning coordinates.
82
82
  if(u===((n=o.offset)==null?void 0:n.placement)&&(e=o.arrow)!=null&&e.alignmentOffset){return[2/*return*/,{}]}return[2/*return*/,{x:i+f.x,y:a+f.y,data:__assign(__assign({},f),{placement:u})}]}}))}))}}};
@@ -84,16 +84,16 @@ if(u===((n=o.offset)==null?void 0:n.placement)&&(e=o.arrow)!=null&&e.alignmentOf
84
84
  * Optimizes the visibility of the floating element by shifting it in order to
85
85
  * keep it in view when it will overflow the clipping boundary.
86
86
  * @see https://floating-ui.com/docs/shift
87
- */var G=function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,s,d,h,p,g,m,w,b,x,A,O,k;var S,R;return __generator(this,(function(j){switch(j.label){case 0:n=t.x,e=t.y,i=t.placement,a=t.platform;u=l(r,t),o=u.mainAxis,f=o===void 0?true:o,c=u.crossAxis,s=c===void 0?false:c,d=u.limiter,h=d===void 0?{fn:function(r){var t=r.x,n=r.y;return{x:t,y:n}}}:d,p=__rest(u,["mainAxis","crossAxis","limiter"]);g={x:n,y:e};return[4/*yield*/,a.detectOverflow(t,p)];case 1:m=j.sent();w=y(i);b=_(w);x=g[b];A=g[w];O=function(r,t){return v(t+m[r==="y"?"top":"left"],t,t-m[r==="y"?"bottom":"right"])};if(f){x=O(b,x)}if(s){A=O(w,A)}k=h.fn(__assign(__assign({},t),(S={},S[b]=x,S[w]=A,S)));return[2/*return*/,__assign(__assign({},k),{data:{x:k.x-n,y:k.y-e,enabled:(R={},R[b]=f,R[w]=s,R)}})]}}))}))}}};function V(){return typeof window!=="undefined"}function W(r){if(K(r)){return(r.nodeName||"").toLowerCase()}
87
+ */var H=function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,c,v,d,h,p,g,m,w,b,x,A,S,O;var k,F;return __generator(this,(function(R){switch(R.label){case 0:n=t.x,e=t.y,i=t.placement,a=t.platform;u=l(r,t),o=u.mainAxis,f=o===void 0?true:o,c=u.crossAxis,v=c===void 0?false:c,d=u.limiter,h=d===void 0?{fn:function(r){var t=r.x,n=r.y;return{x:t,y:n}}}:d,p=__rest(u,["mainAxis","crossAxis","limiter"]);g={x:n,y:e};return[4/*yield*/,a.detectOverflow(t,p)];case 1:m=R.sent();w=y(i);b=_(w);x=g[b];A=g[w];S=function(r,t){return s(t+m[r==="y"?"top":"left"],t,t-m[r==="y"?"bottom":"right"])};if(f){x=S(b,x)}if(v){A=S(w,A)}O=h.fn(__assign(__assign({},t),(k={},k[b]=x,k[w]=A,k)));return[2/*return*/,__assign(__assign({},O),{data:{x:O.x-n,y:O.y-e,enabled:(F={},F[b]=f,F[w]=v,F)}})]}}))}))}}};function G(){return typeof window!=="undefined"}function W(r){if(K(r)){return(r.nodeName||"").toLowerCase()}
88
88
  // Mocked nodes in testing environments may not be instances of Node. By
89
89
  // returning `#document` an infinite loop won't occur.
90
90
  // https://github.com/floating-ui/floating-ui/issues/2317
91
- return"#document"}function B(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function J(r){var t;return(t=(K(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function K(r){if(!V()){return false}return r instanceof Node||r instanceof B(r).Node}function Q(r){if(!V()){return false}return r instanceof Element||r instanceof B(r).Element}function U(r){if(!V()){return false}return r instanceof HTMLElement||r instanceof B(r).HTMLElement}function X(r){if(!V()||typeof ShadowRoot==="undefined"){return false}return r instanceof ShadowRoot||r instanceof B(r).ShadowRoot}function Y(r){var t=cr(r),n=t.overflow,e=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&a!=="inline"&&a!=="contents"}function Z(r){return/^(table|td|th)$/.test(W(r))}function rr(r){try{if(r.matches(":popover-open")){return true}}catch(r){
91
+ return"#document"}function B(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function J(r){var t;return(t=(K(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function K(r){if(!G()){return false}return r instanceof Node||r instanceof B(r).Node}function Q(r){if(!G()){return false}return r instanceof Element||r instanceof B(r).Element}function U(r){if(!G()){return false}return r instanceof HTMLElement||r instanceof B(r).HTMLElement}function X(r){if(!G()||typeof ShadowRoot==="undefined"){return false}return r instanceof ShadowRoot||r instanceof B(r).ShadowRoot}function Y(r){var t=cr(r),n=t.overflow,e=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&a!=="inline"&&a!=="contents"}function Z(r){return/^(table|td|th)$/.test(W(r))}function rr(r){try{if(r.matches(":popover-open")){return true}}catch(r){
92
92
  // no-op
93
93
  }try{return r.matches(":modal")}catch(r){return false}}var tr=/transform|translate|scale|rotate|perspective|filter/;var nr=/paint|layout|strict|content/;var er=function(r){return!!r&&r!=="none"};var ir;function ar(r){var t=Q(r)?cr(r):r;
94
94
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
95
95
  // https://drafts.csswg.org/css-transforms-2/#individual-transforms
96
- return er(t.transform)||er(t.translate)||er(t.scale)||er(t.rotate)||er(t.perspective)||!or()&&(er(t.backdropFilter)||er(t.filter))||tr.test(t.willChange||"")||nr.test(t.contain||"")}function ur(r){var t=vr(r);while(U(t)&&!fr(t)){if(ar(t)){return t}else if(rr(t)){return null}t=vr(t)}return null}function or(){if(ir==null){ir=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return ir}function fr(r){return/^(html|body|#document)$/.test(W(r))}function cr(r){return B(r).getComputedStyle(r)}function sr(r){if(Q(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function vr(r){if(W(r)==="html"){return r}var t=
96
+ return er(t.transform)||er(t.translate)||er(t.scale)||er(t.rotate)||er(t.perspective)||!or()&&(er(t.backdropFilter)||er(t.filter))||tr.test(t.willChange||"")||nr.test(t.contain||"")}function ur(r){var t=sr(r);while(U(t)&&!fr(t)){if(ar(t)){return t}else if(rr(t)){return null}t=sr(t)}return null}function or(){if(ir==null){ir=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return ir}function fr(r){return/^(html|body|#document)$/.test(W(r))}function cr(r){return B(r).getComputedStyle(r)}function vr(r){if(Q(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function sr(r){if(W(r)==="html"){return r}var t=
97
97
  // Step into the shadow DOM of the parent of a slotted node.
98
98
  r.assignedSlot||
99
99
  // DOM Element detected.
@@ -101,38 +101,59 @@ r.parentNode||
101
101
  // ShadowRoot detected.
102
102
  X(r)&&r.host||
103
103
  // Fallback.
104
- J(r);return X(t)?t.host:t}function lr(r){var t=vr(r);if(fr(t)){return(r.ownerDocument||r).body}if(U(t)&&Y(t)){return t}return lr(t)}function dr(r,t,n){var e;if(t===void 0){t=[]}if(n===void 0){n=true}var i=lr(r);var a=i===((e=r.ownerDocument)==null?void 0:e.body);var u=B(i);if(a){var o=hr(u);return t.concat(u,u.visualViewport||[],Y(i)?i:[],o&&n?dr(o):[])}else{return t.concat(i,dr(i,[],n))}}function hr(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function _r(r){var t=cr(r);
104
+ J(r);return X(t)?t.host:t}function lr(r){var t=sr(r);if(fr(t)){return(r.ownerDocument||r).body}if(U(t)&&Y(t)){return t}return lr(t)}function dr(r,t,n){var e;if(t===void 0){t=[]}if(n===void 0){n=true}var i=lr(r);var a=i===((e=r.ownerDocument)==null?void 0:e.body);var u=B(i);if(a){var o=hr(u);return t.concat(u,u.visualViewport||[],Y(i)?i:[],o&&n?dr(o):[])}else{return t.concat(i,dr(i,[],n))}}function hr(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function _r(r){var t=cr(r);
105
105
  // In testing environments, the `width` and `height` properties are empty
106
106
  // strings for SVG elements, returning NaN. Fallback to `0` in this case.
107
- var n=parseFloat(t.width)||0;var e=parseFloat(t.height)||0;var i=U(r);var a=i?r.offsetWidth:n;var u=i?r.offsetHeight:e;var f=o(n)!==a||o(e)!==u;if(f){n=a;e=u}return{width:n,height:e,$:f}}function pr(r){return!Q(r)?r.contextElement:r}function yr(r){var t=pr(r);if(!U(t)){return c(1)}var n=t.getBoundingClientRect();var e=_r(t),i=e.width,a=e.height,u=e.$;var f=(u?o(n.width):n.width)/i;var s=(u?o(n.height):n.height)/a;
107
+ var n=parseFloat(t.width)||0;var e=parseFloat(t.height)||0;var i=U(r);var a=i?r.offsetWidth:n;var u=i?r.offsetHeight:e;var f=o(n)!==a||o(e)!==u;if(f){n=a;e=u}return{width:n,height:e,$:f}}function pr(r){return!Q(r)?r.contextElement:r}function yr(r){var t=pr(r);if(!U(t)){return c(1)}var n=t.getBoundingClientRect();var e=_r(t),i=e.width,a=e.height,u=e.$;var f=(u?o(n.width):n.width)/i;var v=(u?o(n.height):n.height)/a;
108
108
  // 0, NaN, or Infinity should always fallback to 1.
109
- if(!f||!Number.isFinite(f)){f=1}if(!s||!Number.isFinite(s)){s=1}return{x:f,y:s}}var gr=c(0);function mr(r){var t=B(r);if(!or()||!t.visualViewport){return gr}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wr(r,t,n){if(t===void 0){t=false}if(!n||t&&n!==B(r)){return false}return t}function br(r,t,n,e){if(t===void 0){t=false}if(n===void 0){n=false}var i=r.getBoundingClientRect();var a=pr(r);var u=c(1);if(t){if(e){if(Q(e)){u=yr(e)}}else{u=yr(r)}}var o=wr(a,n,e)?mr(a):c(0);var f=(i.left+o.x)/u.x;var s=(i.top+o.y)/u.y;var v=i.width/u.x;var l=i.height/u.y;if(a){var d=B(a);var h=e&&Q(e)?B(e):e;var _=d;var p=hr(_);while(p&&e&&h!==_){var y=yr(p);var g=p.getBoundingClientRect();var m=cr(p);var w=g.left+(p.clientLeft+parseFloat(m.paddingLeft))*y.x;var b=g.top+(p.clientTop+parseFloat(m.paddingTop))*y.y;f*=y.x;s*=y.y;v*=y.x;l*=y.y;f+=w;s+=b;_=B(p);p=hr(_)}}return P({width:v,height:l,x:f,y:s})}
109
+ if(!f||!Number.isFinite(f)){f=1}if(!v||!Number.isFinite(v)){v=1}return{x:f,y:v}}var gr=c(0);function mr(r){var t=B(r);if(!or()||!t.visualViewport){return gr}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wr(r,t,n){if(t===void 0){t=false}return!!n&&t&&n===B(r)}function br(r,t,n,e){if(t===void 0){t=false}if(n===void 0){n=false}var i=r.getBoundingClientRect();var a=pr(r);var u=c(1);if(t){if(e){if(Q(e)){u=yr(e)}}else{u=yr(r)}}var o=wr(a,n,e)?mr(a):c(0);var f=(i.left+o.x)/u.x;var v=(i.top+o.y)/u.y;var s=i.width/u.x;var l=i.height/u.y;if(a&&e){var d=B(a);var h=Q(e)?B(e):e;var _=d;var p=hr(_);while(p&&h!==_){var y=yr(p);var g=p.getBoundingClientRect();var m=cr(p);var w=g.left+(p.clientLeft+parseFloat(m.paddingLeft))*y.x;var b=g.top+(p.clientTop+parseFloat(m.paddingTop))*y.y;f*=y.x;v*=y.y;s*=y.x;l*=y.y;f+=w;v+=b;_=B(p);p=hr(_)}}return C({width:s,height:l,x:f,y:v})}
110
110
  // If <html> has a CSS width greater than the viewport, then this will be
111
111
  // incorrect for RTL.
112
- function xr(r,t){var n=sr(r).scrollLeft;if(!t){return br(J(r)).left+n}return t.left+n}function Ar(r,t,n){if(n===void 0){n=false}var e=r.getBoundingClientRect();var i=e.left+t.scrollLeft-(n?0:
113
- // RTL <body> scrollbar.
114
- xr(r,e));var a=e.top+t.scrollTop;return{x:i,y:a}}function Or(r){var t=r.elements,n=r.rect,e=r.offsetParent,i=r.strategy;var a=i==="fixed";var u=J(e);var o=t?rr(t.floating):false;if(e===u||o&&a){return n}var f={scrollLeft:0,scrollTop:0};var s=c(1);var v=c(0);var l=U(e);if(l||!l&&!a){if(W(e)!=="body"||Y(u)){f=sr(e)}if(U(e)){var d=br(e);s=yr(e);v.x=d.x+e.clientLeft;v.y=d.y+e.clientTop}}var h=u&&!l&&!a?Ar(u,f,true):c(0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-f.scrollLeft*s.x+v.x+h.x,y:n.y*s.y-f.scrollTop*s.y+v.y+h.y}}function kr(r){return Array.from(r.getClientRects())}
112
+ function xr(r,t){var n=vr(r).scrollLeft;if(!t){return br(J(r)).left+n}return t.left+n}function Ar(r,t){var n=r.getBoundingClientRect();var e=n.left+t.scrollLeft-xr(r,n);var i=n.top+t.scrollTop;return{x:e,y:i}}function Sr(r){var t=r.elements,n=r.rect,e=r.offsetParent,i=r.strategy;var a=i==="fixed";var u=J(e);var o=t?rr(t.floating):false;if(e===u||o&&a){return n}var f={scrollLeft:0,scrollTop:0};var v=c(1);var s=c(0);var l=U(e);if(l||!a){if(W(e)!=="body"||Y(u)){f=vr(e)}if(l){var d=br(e);v=yr(e);s.x=d.x+e.clientLeft;s.y=d.y+e.clientTop}}var h=u&&!l&&!a?Ar(u,f):c(0);return{width:n.width*v.x,height:n.height*v.y,x:n.x*v.x-f.scrollLeft*v.x+s.x+h.x,y:n.y*v.y-f.scrollTop*v.y+s.y+h.y}}function Or(r){return r.getClientRects?Array.from(r.getClientRects()):[]}
115
113
  // Gets the entire size of the scrollable document area, even extending outside
116
114
  // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
117
- function Sr(r){var t=J(r);var n=sr(r);var e=r.ownerDocument.body;var i=u(t.scrollWidth,t.clientWidth,e.scrollWidth,e.clientWidth);var a=u(t.scrollHeight,t.clientHeight,e.scrollHeight,e.clientHeight);var o=-n.scrollLeft+xr(r);var f=-n.scrollTop;if(cr(e).direction==="rtl"){o+=u(t.clientWidth,e.clientWidth)-i}return{width:i,height:a,x:o,y:f}}function Rr(r,t){var n=B(r);var e=J(r);var i=n.visualViewport;var a=e.clientWidth;var u=e.clientHeight;var o=0;var f=0;if(i){a=i.width;u=i.height;var c=or();if(!c||c&&t==="fixed"){o=i.offsetLeft;f=i.offsetTop}}return{width:a,height:u,x:o,y:f}}
115
+ function kr(r){var t=vr(r);var n=r.ownerDocument.body;var e=u(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth);var i=u(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight);var a=-t.scrollLeft+xr(r);var o=-t.scrollTop;if(cr(n).direction==="rtl"){a+=u(r.clientWidth,n.clientWidth)-e}return{width:e,height:i,x:a,y:o}}
116
+ // Safety check: ensure the scrollbar space is reasonable in case this
117
+ // calculation is affected by unusual styles.
118
+ // Most scrollbars leave 15-18px of space.
119
+ var Fr=25;function Rr(r,t,n){if(n===void 0){n="viewport"}var e=n==="layoutViewport";var i=B(r);var a=J(r);var u=i.visualViewport;var o=a.clientWidth;var f=a.clientHeight;var c=0;var v=0;if(u){
120
+ // Client coordinates are relative to the layout viewport, except in
121
+ // WebKit with an `absolute` strategy, where they are relative to the
122
+ // visual viewport.
123
+ var s=!or()||t==="fixed";if(e){if(!s){c=-u.offsetLeft;v=-u.offsetTop}}else{o=u.width;f=u.height;if(s){c=u.offsetLeft;v=u.offsetTop}}}var l=xr(a);
124
+ // `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks
125
+ // the visual width but isn't reflected in `html.clientWidth`, so subtract it.
126
+ // Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also
127
+ // reserves an empty inline-start gutter that clips nothing, so exclude just
128
+ // the one scrollbar-side gutter — halve the measured (two-gutter) total. A
129
+ // left-side scrollbar (`windowScrollbarX > 0`) is already handled by
130
+ // `getHTMLOffset`/`visualViewport.width`; skip it here.
131
+ if(l<=0){var d=a.ownerDocument;var h=d.body;var _=getComputedStyle(h);var p=d.compatMode==="CSS1Compat"?parseFloat(_.marginLeft)+parseFloat(_.marginRight)||0:0;var y=Math.abs(a.clientWidth-h.clientWidth-p);var g=getComputedStyle(a).scrollbarGutter==="stable both-edges"?y/2:y;if(g<=Fr){o-=g}}return{width:o,height:f,x:c,y:v}}
118
132
  // Returns the inner client rect, subtracting scrollbars if present.
119
- function jr(r,t){var n=br(r,true,t==="fixed");var e=n.top+r.clientTop;var i=n.left+r.clientLeft;var a=U(r)?yr(r):c(1);var u=r.clientWidth*a.x;var o=r.clientHeight*a.y;var f=i*a.x;var s=e*a.y;return{width:u,height:o,x:f,y:s}}function Fr(r,t,n){var e;if(t==="viewport"){e=Rr(r,n)}else if(t==="document"){e=Sr(J(r))}else if(Q(t)){e=jr(t,n)}else{var i=mr(r);e={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return P(e)}function Tr(r,t){var n=vr(r);if(n===t||!Q(n)||fr(n)){return false}return cr(n).position==="fixed"||Tr(n,t)}
133
+ function jr(r,t){var n=br(r,true,t==="fixed");var e=n.top+r.clientTop;var i=n.left+r.clientLeft;var a=yr(r);var u=r.clientWidth*a.x;var o=r.clientHeight*a.y;var f=i*a.x;var c=e*a.y;return{width:u,height:o,x:f,y:c}}function Tr(r,t,n){var e;if(t==="viewport"||t==="layoutViewport"){e=Rr(r,n,t)}else if(t==="document"){e=kr(J(r))}else if(Q(t)){e=jr(t,n)}else{var i=mr(r);e={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return C(e)}
120
134
  // A "clipping ancestor" is an `overflow` element with the characteristic of
121
135
  // clipping (or hiding) child elements. This returns all clipping ancestors
122
136
  // of the given element up the tree.
123
- function Pr(r,t){var n=t.get(r);if(n){return n}var e=dr(r,[],false).filter((function(r){return Q(r)&&W(r)!=="body"}));var i=null;var a=cr(r).position==="fixed";var u=a?vr(r):r;
137
+ function Cr(r,t){var n=t.get(r);if(n){return n}var e=dr(r,[],false).filter((function(r){return Q(r)&&W(r)!=="body"}));var i=null;var a=cr(r).position==="fixed";var u=a?sr(r):r;
124
138
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
125
- while(Q(u)&&!fr(u)){var o=cr(u);var f=ar(u);if(!f&&o.position==="fixed"){i=null}var c=a?!f&&!i:!f&&o.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Y(u)&&!f&&Tr(r,u);if(c){
139
+ while(Q(u)&&!fr(u)){var o=cr(u);var f=ar(u);
140
+ // Position of the containing block chain below the current node. A fixed
141
+ // element whose containing block hasn't been found yet is a fixed chain.
142
+ var c=i?i.position:a?"fixed":"";
143
+ // A non-containing ancestor does not clip the element when the chain
144
+ // below it escapes it: a fixed chain escapes all ancestors up to the
145
+ // next containing block, an absolute chain escapes static ancestors.
146
+ var v=!f&&(c==="fixed"||c==="absolute"&&o.position==="static");if(v){
126
147
  // Drop non-containing blocks.
127
148
  e=e.filter((function(r){return r!==u}))}else{
128
- // Record last containing block for next iteration.
129
- i=o}u=vr(u)}t.set(r,e);return e}
149
+ // The kept node carries the chain position for the next iteration.
150
+ i=o}u=sr(u)}t.set(r,e);return e}
130
151
  // Gets the maximum area that the element is visible in due to any number of
131
152
  // clipping ancestors.
132
- function Mr(r){var t=r.element,n=r.boundary,e=r.rootBoundary,i=r.strategy;var o=n==="clippingAncestors"?rr(t)?[]:Pr(t,this._c):[].concat(n);var f=__spreadArray(__spreadArray([],o,true),[e],false);var c=f[0];var s=f.reduce((function(r,n){var e=Fr(t,n,i);r.top=u(e.top,r.top);r.right=a(e.right,r.right);r.bottom=a(e.bottom,r.bottom);r.left=u(e.left,r.left);return r}),Fr(t,c,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Er(r){var t=_r(r),n=t.width,e=t.height;return{width:n,height:e}}function Lr(r,t,n){var e=U(t);var i=J(t);var a=n==="fixed";var u=br(r,true,a,t);var o={scrollLeft:0,scrollTop:0};var f=c(0);if(e||!e&&!a){if(W(t)!=="body"||Y(i)){o=sr(t)}if(e){var s=br(t,true,a,t);f.x=s.x+t.clientLeft;f.y=s.y+t.clientTop}else if(i){
153
+ function Pr(r){var t=r.element,n=r.boundary,e=r.rootBoundary,i=r.strategy;var o=n==="clippingAncestors"?rr(t)?[]:Cr(t,this._c):[].concat(n);var f=__spreadArray(__spreadArray([],o,true),[e],false);var c=Tr(t,f[0],i);var v=c.top;var s=c.right;var l=c.bottom;var d=c.left;for(var h=1;h<f.length;h++){var _=Tr(t,f[h],i);v=u(_.top,v);s=a(_.right,s);l=a(_.bottom,l);d=u(_.left,d)}return{width:s-d,height:l-v,x:d,y:v}}function Mr(r){var t=_r(r),n=t.width,e=t.height;return{width:n,height:e}}function zr(r,t,n){var e=U(t);var i=J(t);var a=n==="fixed";var u=br(r,true,a,t);var o={scrollLeft:0,scrollTop:0};var f=c(0);if(e||!a){if(W(t)!=="body"||Y(i)){o=vr(t)}if(e){var v=br(t,true,a,t);f.x=v.x+t.clientLeft;f.y=v.y+t.clientTop}}
133
154
  // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
134
155
  // Firefox with layout.scrollbar.side = 3 in about:config to test this.
135
- f.x=xr(i)}}var v=i&&!e&&!a?Ar(i,o):c(0);var l=u.left+o.scrollLeft-f.x-v.x;var d=u.top+o.scrollTop-f.y-v.y;return{x:l,y:d,width:u.width,height:u.height}}function Cr(r){return cr(r).position==="static"}function Dr(r,t){if(!U(r)||cr(r).position==="fixed"){return null}if(t){return t(r)}var n=r.offsetParent;
156
+ if(!e&&i){f.x=xr(i)}var s=i&&!e&&!a?Ar(i,o):c(0);var l=u.left+o.scrollLeft-f.x-s.x;var d=u.top+o.scrollTop-f.y-s.y;return{x:l,y:d,width:u.width,height:u.height}}function Er(r){return cr(r).position==="static"}function Lr(r,t){if(!U(r)||cr(r).position==="fixed"){return null}if(t){return t(r)}var n=r.offsetParent;
136
157
  // Firefox returns the <html> element as the offsetParent if it's non-static,
137
158
  // while Chrome and Safari return the <body> element. The <body> element must
138
159
  // be used to perform the correct calculations even if the <html> element is
@@ -140,17 +161,28 @@ f.x=xr(i)}}var v=i&&!e&&!a?Ar(i,o):c(0);var l=u.left+o.scrollLeft-f.x-v.x;var d=
140
161
  if(J(r)===n){n=n.ownerDocument.body}return n}
141
162
  // Gets the closest ancestor positioned element. Handles some edge cases,
142
163
  // such as table ancestors and cross browser bugs.
143
- function Ir(r,t){var n=B(r);if(rr(r)){return n}if(!U(r)){var e=vr(r);while(e&&!fr(e)){if(Q(e)&&!Cr(e)){return e}e=vr(e)}return n}var i=Dr(r,t);while(i&&Z(i)&&Cr(i)){i=Dr(i,t)}if(i&&fr(i)&&Cr(i)&&!ar(i)){return n}return i||ur(r)||n}var zr=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a;var u;return __generator(this,(function(o){switch(o.label){case 0:t=this.getOffsetParent||Ir;n=this.getDimensions;return[4/*yield*/,n(r.floating)];case 1:e=o.sent();u={};i=Lr;a=[r.reference];return[4/*yield*/,t(r.floating)];case 2:return[2/*return*/,(u.reference=i.apply(void 0,a.concat([o.sent(),r.strategy])),u.floating={x:0,y:0,width:e.width,height:e.height},u)]}}))}))};function Nr(r){return cr(r).direction==="rtl"}var $r={convertOffsetParentRelativeRectToViewportRelativeRect:Or,getDocumentElement:J,getClippingRect:Mr,getOffsetParent:Ir,getElementRects:zr,getClientRects:kr,getDimensions:Er,getScale:yr,isElement:Q,isRTL:Nr};
164
+ function Dr(r,t){var n=B(r);if(rr(r)){return n}if(!U(r)){var e=sr(r);while(e&&!fr(e)){if(Q(e)&&!Er(e)){return e}e=sr(e)}return n}var i=Lr(r,t);while(i&&Z(i)&&Er(i)){i=Lr(i,t)}if(i&&fr(i)&&Er(i)&&!ar(i)){return n}return i||ur(r)||n}var Ir=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a;var u;return __generator(this,(function(o){switch(o.label){case 0:t=this.getOffsetParent||Dr;n=this.getDimensions;return[4/*yield*/,n(r.floating)];case 1:e=o.sent();u={};i=zr;a=[r.reference];return[4/*yield*/,t(r.floating)];case 2:return[2/*return*/,(u.reference=i.apply(void 0,a.concat([o.sent(),r.strategy])),u.floating={x:0,y:0,width:e.width,height:e.height},u)]}}))}))};function Nr(r){return cr(r).direction==="rtl"}var Vr={convertOffsetParentRelativeRectToViewportRelativeRect:Sr,getDocumentElement:J,getClippingRect:Pr,getOffsetParent:Dr,getElementRects:Ir,getClientRects:Or,getDimensions:Mr,getScale:yr,isElement:Q,isRTL:Nr};function $r(r,t){return r.x===t.x&&r.y===t.y&&r.width===t.width&&r.height===t.height}
144
165
  // https://samthor.au/2021/observing-dom/
145
- function qr(r,t){var n=null;var e;var i=J(r);function o(){var r;clearTimeout(e);(r=n)==null||r.disconnect();n=null}function c(s,v){if(s===void 0){s=false}if(v===void 0){v=1}o();var l=r.getBoundingClientRect(),d=l.left,h=l.top,_=l.width,p=l.height;if(!s){t()}if(!_||!p){return}var y=f(h);var g=f(i.clientWidth-(d+_));var m=f(i.clientHeight-(h+p));var w=f(d);var b=-y+"px "+-g+"px "+-m+"px "+-w+"px";var x={rootMargin:b,threshold:u(0,a(1,v))||1};var A=true;function O(r){var t=r[0].intersectionRatio;if(t!==v){if(!A){return c()}if(!t){
146
- // If the reference is clipped, the ratio is 0. Throttle the refresh
147
- // to prevent an infinite loop of updates.
148
- e=setTimeout((function(){c(false,1e-7)}),1e3)}else{c(false,t)}}A=false}
166
+ function qr(r,t,n){var e=null;var i;var o=J(r);function c(){var r;clearTimeout(i);(r=e)==null||r.disconnect();e=null}function v(n,s){if(n===void 0){n=false}if(s===void 0){s=1}c();var l=r.getBoundingClientRect();var d=l.left,h=l.top,_=l.width,p=l.height;if(!n){t()}if(!_||!p){return}var y=f(h);var g=f(o.clientWidth-(d+_));var m=f(o.clientHeight-(h+p));var w=f(d);var b=-y+"px "+-g+"px "+-m+"px "+-w+"px";var x={rootMargin:b,threshold:u(0,a(1,s))||1};var A=true;function S(t){var n=t[0].intersectionRatio;
167
+ // The entry is a snapshot, so the reference may have moved since the
168
+ // intersection was computed (under performance constraints, or between
169
+ // consecutive frames of a multi-frame layout shift). The reported ratio
170
+ // and the observed area are stale in that case and cannot be trusted to
171
+ // detect subsequent movement, so refresh regardless of the ratio.
172
+ if(!$r(l,r.getBoundingClientRect())){return v()}if(n!==s){if(!A){return v()}if(!n){
173
+ // If the reference is clipped in place, the ratio is 0. Throttle
174
+ // the refresh to prevent an infinite loop of updates.
175
+ i=setTimeout((function(){v(false,1e-7)}),1e3)}else{v(false,n)}}A=false}
149
176
  // Older browsers don't support a `document` as the root and will throw an
150
177
  // error.
151
- try{n=new IntersectionObserver(O,__assign(__assign({},x),{
178
+ try{e=new IntersectionObserver(S,__assign(__assign({},x),{
152
179
  // Handle <iframe>s
153
- root:i.ownerDocument}))}catch(r){n=new IntersectionObserver(O,x)}n.observe(r)}c(true);return o}
180
+ root:o.ownerDocument}))}catch(r){e=new IntersectionObserver(S,x)}e.observe(r)}var s=B(r);
181
+ // The window is a resize ancestor, so when `ancestorResize` is enabled its
182
+ // listener already runs the update on resize. Here we only need to rebuild
183
+ // the `IntersectionObserver` for the new root size, skipping a redundant
184
+ // update. When `ancestorResize` is disabled, this becomes the sole update.
185
+ var l=function(){return v(n)};s.addEventListener("resize",l);v(true);return function(){s.removeEventListener("resize",l);c()}}
154
186
  /**
155
187
  * Automatically updates the position of the floating element when necessary.
156
188
  * Should only be called when the floating element is mounted on the DOM or
@@ -158,44 +190,44 @@ root:i.ownerDocument}))}catch(r){n=new IntersectionObserver(O,x)}n.observe(r)}c(
158
190
  * @returns cleanup function that should be invoked when the floating element is
159
191
  * removed from the DOM or hidden from the screen.
160
192
  * @see https://floating-ui.com/docs/autoUpdate
161
- */function Hr(r,t,n,e){if(e===void 0){e={}}var i=e.ancestorScroll,a=i===void 0?true:i,u=e.ancestorResize,o=u===void 0?true:u,f=e.elementResize,c=f===void 0?typeof ResizeObserver==="function":f,s=e.layoutShift,v=s===void 0?typeof IntersectionObserver==="function":s,l=e.animationFrame,d=l===void 0?false:l;var h=pr(r);var _=a||o?__spreadArray(__spreadArray([],h?dr(h):[],true),dr(t),true):[];_.forEach((function(r){a&&r.addEventListener("scroll",n,{passive:true});o&&r.addEventListener("resize",n)}));var p=h&&v?qr(h,n):null;var y=-1;var g=null;if(c){g=new ResizeObserver((function(r){var e=r[0];if(e&&e.target===h&&g){
193
+ */function Hr(r,t,n,e){if(e===void 0){e={}}var i=e.ancestorScroll,a=i===void 0?true:i,u=e.ancestorResize,o=u===void 0?true:u,f=e.elementResize,c=f===void 0?typeof ResizeObserver==="function":f,v=e.layoutShift,s=v===void 0?typeof IntersectionObserver==="function":v,l=e.animationFrame,d=l===void 0?false:l;var h=pr(r);var _=a||o?__spreadArray(__spreadArray([],h?dr(h):[],true),t?dr(t):[],true):[];_.forEach((function(r){a&&r.addEventListener("scroll",n);o&&r.addEventListener("resize",n)}));var p=h&&s?qr(h,n,o):null;var y=-1;var g=null;if(c){g=new ResizeObserver((function(r){var e=r[0];if(e&&e.target===h&&g&&t){
162
194
  // Prevent update loops when using the `size` middleware.
163
195
  // https://github.com/floating-ui/floating-ui/issues/1740
164
- g.unobserve(t);cancelAnimationFrame(y);y=requestAnimationFrame((function(){var r;(r=g)==null||r.observe(t)}))}n()}));if(h&&!d){g.observe(h)}g.observe(t)}var m;var w=d?br(r):null;if(d){b()}function b(){var t=br(r);if(w&&(t.x!==w.x||t.y!==w.y||t.width!==w.width||t.height!==w.height)){n()}w=t;m=requestAnimationFrame(b)}n();return function(){var r;_.forEach((function(r){a&&r.removeEventListener("scroll",n);o&&r.removeEventListener("resize",n)}));p==null||p();(r=g)==null||r.disconnect();g=null;if(d){cancelAnimationFrame(m)}}}
196
+ g.unobserve(t);cancelAnimationFrame(y);y=requestAnimationFrame((function(){var r;(r=g)==null||r.observe(t)}))}n()}));if(h&&!d){g.observe(h)}if(t){g.observe(t)}}var m;var w=d?br(r):null;if(d){b()}function b(){var t=br(r);if(w&&!$r(w,t)){n()}w=t;m=requestAnimationFrame(b)}n();return function(){var r;_.forEach((function(r){a&&r.removeEventListener("scroll",n);o&&r.removeEventListener("resize",n)}));p==null||p();(r=g)==null||r.disconnect();g=null;if(d){cancelAnimationFrame(m)}}}
165
197
  /**
166
198
  * Modifies the placement by translating the floating element along the
167
199
  * specified axes.
168
200
  * A number (shorthand for `mainAxis` or distance), or an axes configuration
169
201
  * object may be passed.
170
202
  * @see https://floating-ui.com/docs/offset
171
- */var Gr=r("o",H);
203
+ */var Gr=r("o",q);
172
204
  /**
173
205
  * Optimizes the visibility of the floating element by choosing the placement
174
206
  * that has the most space available automatically, without needing to specify a
175
207
  * preferred placement. Alternative to `flip`.
176
208
  * @see https://floating-ui.com/docs/autoPlacement
177
- */var Vr=r("a",z);
209
+ */var Wr=r("a",I);
178
210
  /**
179
211
  * Optimizes the visibility of the floating element by shifting it in order to
180
212
  * keep it in view when it will overflow the clipping boundary.
181
213
  * @see https://floating-ui.com/docs/shift
182
- */var Wr=r("s",G);
214
+ */var Br=r("s",H);
183
215
  /**
184
216
  * Optimizes the visibility of the floating element by flipping the `placement`
185
217
  * in order to keep it in view when the preferred placement(s) will overflow the
186
218
  * clipping boundary. Alternative to `autoPlacement`.
187
219
  * @see https://floating-ui.com/docs/flip
188
- */var Br=r("f",N);
220
+ */var Jr=r("f",N);
189
221
  /**
190
222
  * Provides data to position an inner element of the floating element so that it
191
223
  * appears centered to the reference element.
192
224
  * @see https://floating-ui.com/docs/arrow
193
- */var Jr=r("b",D);
225
+ */var Kr=r("b",L);
194
226
  /**
195
227
  * Computes the `x` and `y` coordinates that will place the floating element
196
228
  * next to a given reference element.
197
- */var Kr=r("c",(function(r,t,n){
229
+ */var Qr=r("c",(function(r,t,n){
198
230
  // This caches the expensive `getClippingElementAncestors` function so that
199
231
  // multiple lifecycle resets re-use the same result. It only lives for a
200
232
  // single call. If other functions become expensive, we can add them as well.
201
- var e=new Map;var i=__assign({platform:$r},n);var a=__assign(__assign({},i.platform),{_c:e});return C(r,t,__assign(__assign({},i),{platform:a}))}))}}}));
233
+ var e=new Map;var i=n!=null?n:{};var a=__assign(__assign(__assign({},Vr),i.platform),{_c:e});return E(r,t,__assign(__assign({},i),{platform:a}))}))}}}));
@@ -0,0 +1 @@
1
+ import{a as t,o as i,f as s,s as e,b as r,c as h,d as o}from"./p-JMPfVnGv.js";import{c as a}from"./p-D8eZRaSQ.js";import{s as n,h as l}from"./p-CSCy6TMW.js";import{B as c}from"./p-BxPbQB28.js";const d=["dialog","grid","listbox","menu","tree"],m=["button","combobox","link","menuitem","tab","treeitem"],p=["A","BUTTON","INPUT","SELECT","SUMMARY","TEXTAREA"];class u{constructor(a,u,b="menu"){this._wired=!1,this._written=[],this._labelledByOurs=!1,this.unwireCaller=()=>{this._written.forEach((t=>this._caller.removeAttribute(t))),this._written=[],this._labelledByOurs&&(this._host.removeAttribute("aria-labelledby"),this._labelledByOurs=!1)},this.writeOnCaller=(t,i)=>{this._caller.hasAttribute(t)||(this._caller.setAttribute(t,i),this._written.push(t))},this.sameRoot=()=>this._caller.getRootNode()===this._host.getRootNode(),this.callerAcceptsWiring=()=>{const t=this._caller.getAttribute("role");return null!==t?m.includes(t):p.includes(this._caller.tagName)},this.wireCaller=async()=>{var t,i,s;const e=this._caller;if(c.isBrowser&&e.tagName.startsWith("MDS-")&&(await customElements.whenDefined(e.tagName.toLowerCase()),await(null===(i=(t=e).componentOnReady)||void 0===i?void 0:i.call(t))),e!==this._caller)return;if("tooltip"===this._role){if(this.sameRoot()){const t=n(this._host,"id",l("mds-tooltip"));this.writeOnCaller("label"===this._host.relation?"aria-labelledby":"aria-describedby",t)}return}if(!this.callerAcceptsWiring())return;if(this.sameRoot()){const t=n(this._host,"id",l("mds-dropdown")),i=n(e,"id",l("mds-dropdown-caller"));this.writeOnCaller("aria-controls",t),this._labelledByOurs=!this._host.hasAttribute("aria-labelledby"),n(this._host,"aria-labelledby",i)}const r=null!==(s=this._host.getAttribute("role"))&&void 0!==s?s:"";d.includes(r)&&this.writeOnCaller("aria-haspopup",r),e.hasAttribute("aria-expanded")||this._written.push("aria-expanded"),this._wired=!0,this.syncExpanded(this._host.visible)},this.arrowInset=(t,i)=>{const{arrow:s}=t,e={bottom:"",left:"",right:"",top:""};if(void 0===s)return{};switch(i){case"bottom":e.left=null!==s.x?`${s.x}px`:"",e.top="100%";break;case"left":e.right="100%",e.top=null!==s.y?`${s.y}px`:"";break;case"right":e.left="100%",e.top=null!==s.y?`${s.y}px`:"";break;case"top":e.left=null!==s.x?`${s.x}px`:"",e.top=""}return e},this.arrowTransform=t=>{let i=!this._host.hideArrow&&this._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":i=`rotate(180deg) ${i} translate(0, -100%)`;break;case"left":i=`rotate(-90deg) ${i} translate(50%, -50%)`;break;case"right":i=`rotate(90deg) ${i} translate(-50%, -50%)`;break;case"top":i=`rotate(0deg) ${i} translate(0, 0)`}return{transform:i}},this.arrowTransformOrigin=t=>{switch(t){case"bottom":default:return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"}}},this.arrowOrigin=(t,i)=>{const{arrow:s}=i;if(!this.arrowEl||this._host.hideArrow||void 0===s)return null;const e=t.split("-")[0];if(null!=s.x){const t=s.x+this.arrowEl.offsetWidth/2;if("bottom"===e)return`${t}px top`;if("top"===e)return`${t}px bottom`}if(null!=s.y){const t=s.y+this.arrowEl.offsetHeight/2;if("right"===e)return`left ${t}px`;if("left"===e)return`right ${t}px`}return null},this.convertToTransformOrigin=t=>({top:"center bottom",right:"left center",bottom:"center top",left:"right center","bottom-end":"top right","bottom-start":"top left","left-end":"right bottom","left-start":"right top","right-end":"left bottom","right-start":"left top","top-end":"bottom right","top-start":"bottom left"}[t]),this.calculatePosition=()=>{if(!this._caller)return;const o=new Array,a={};this._host.shiftPadding&&(a.padding=this._host.shiftPadding),this._host.disableAutoPlacement||o.push(t()),this._host.offset&&o.push(i(this._host.offset)),this._host.disableAutoPlacement&&this._host.flip&&o.push(s(a)),this._host.disableShift||o.push(e(a)),this.arrowEl&&!this._host.hideArrow&&o.push(r({element:this.arrowEl,padding:this._host.arrowPadding})),h(this._caller,this._host,{middleware:o,placement:this._host.placement,strategy:this._host.strategy}).then((({x:t,y:i,placement:s,middlewareData:e})=>{var r;const h=!this._host.hasAttribute("data-floating-placed");Object.assign(this._host.style,{left:`${t}px`,top:`${i}px`,transformOrigin:null!==(r=this.arrowOrigin(s,e))&&void 0!==r?r:this.convertToTransformOrigin(s),position:this._host.strategy}),h&&requestAnimationFrame((()=>this._host.setAttribute("data-floating-placed","")));const o={},a={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];a&&this.arrowEl&&(Object.assign(o,this.arrowTransform(a)),Object.assign(o,this.arrowInset(e,a)),Object.assign(o,this.arrowTransformOrigin(a)),Object.assign(this.arrowEl.style,o))}))},this.startWhenMeasurable=t=>{this._host.visible&&(0===this._host.offsetWidth&&t>0?requestAnimationFrame((()=>this.startWhenMeasurable(t-1))):this.cleanupAutoUpdate=o(this._caller,this._host,this.calculatePosition))},this._host=a,this.arrowEl=u,this._role=b}updateCaller(t){var i,s,e;const r=null!==(e=null===(s=null===(i=this._host.parentElement)||void 0===i?void 0:i.shadowRoot)||void 0===s?void 0:s.querySelector(t))&&void 0!==e?e:this._host.getRootNode().querySelector(t);return r?(this._caller&&this._caller!==r&&this.unwireCaller(),this._caller=r,this._wired=!1,n(this._host,"role",this._role),this.wireCaller(),r):(console.warn(`FloatingController: target not found: ${t}`),null)}rewire(){this._caller&&(this.unwireCaller(),this._wired=!1,this.wireCaller())}syncExpanded(t){this._wired&&this._caller.setAttribute("aria-expanded",`${t}`)}updatePosition(){this._host.visible&&(this.dismiss(),this.startWhenMeasurable(3))}dismiss(){this.cleanupAutoUpdate&&this.cleanupAutoUpdate()}}class b{constructor(t){this.defaultBackdropId="magma-backdrop",this.backdropBackgroundVisible="rgba(var(--magma-backdrop-color, 0 0 0) / var(--magma-backdrop-opacity, 0.1))",this.backdropBackgroundHidden="rgba(var(--magma-backdrop-color, 0 0 0) / 0)",this.backdropId=null!=t?t:this.defaultBackdropId,this.cssBackdropZIndex=`var(--${this.backdropId}-z-index, 4000)`,this.cssBackdropDuration=`var(--${this.backdropId}-animation-duration, 300ms)`}attachBackdrop(){this.backdropEl||(this.backdropEl=document.createElement("div"),this.backdropEl.className=this.backdropId,this.backdropEl.style.inset="0",this.backdropEl.style.pointerEvents="none",this.backdropEl.style.position="fixed",this.backdropEl.style.transition=`background-color ${this.cssBackdropDuration} ease-out`,this.backdropEl.style.zIndex=this.cssBackdropZIndex),this.backdropEl.style.backgroundColor=this.backdropBackgroundHidden,document.body.appendChild(this.backdropEl),clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.style.backgroundColor=this.backdropBackgroundVisible}),1)}detachBackdrop(){this.backdropEl&&(this.backdropEl.style.backgroundColor="transparent",clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.remove()}),a(this.cssBackdropDuration)))}}export{b as B,u as F}