@maggioli-design-system/magma 2.0.0 → 2.1.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 (1540) hide show
  1. package/AGENTS.md +71 -0
  2. package/agents/anti-patterns.md +39 -0
  3. package/agents/assets.md +203 -0
  4. package/agents/color.md +193 -0
  5. package/agents/components.md +129 -0
  6. package/agents/conventions.md +188 -0
  7. package/agents/install.md +152 -0
  8. package/agents/theming.md +140 -0
  9. package/agents/typography.md +32 -0
  10. package/agents/variants.md +112 -0
  11. package/dist/cjs/floating-controller-uOCBLTk2.js +369 -0
  12. package/dist/cjs/form-Bk2OHlHM.js +46 -0
  13. package/dist/cjs/index-MyEb-PfD.js +198 -0
  14. package/dist/cjs/index-UmmmCMIG.js +5184 -0
  15. package/dist/cjs/index.cjs.js +65 -23
  16. package/dist/cjs/loader.cjs.js +2 -2
  17. package/dist/cjs/locale-CnorkBwF.js +816 -0
  18. package/dist/cjs/magma-components.cjs.js +2 -2
  19. package/dist/cjs/mds-accordion-item.cjs.entry.js +2 -2
  20. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
  21. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-accordion.cjs.entry.js +2 -2
  23. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-avatar.cjs.entry.js +29 -34
  27. package/dist/cjs/mds-badge.cjs.entry.js +5 -4
  28. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  29. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +4 -3
  30. package/dist/cjs/mds-bibliography.cjs.entry.js +5 -4
  31. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  33. package/dist/cjs/mds-button-dropdown.cjs.entry.js +38 -4
  34. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-button_3.cjs.entry.js +42 -15
  36. package/dist/cjs/mds-calendar_2.cjs.entry.js +2 -2
  37. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  43. package/dist/cjs/mds-dropdown.cjs.entry.js +7 -6
  44. package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
  45. package/dist/cjs/mds-entity.cjs.entry.js +3 -3
  46. package/dist/cjs/mds-file-preview.cjs.entry.js +20 -20
  47. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  48. package/dist/cjs/mds-filter-item.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-filter.cjs.entry.js +2 -2
  50. package/dist/cjs/mds-header-bar.cjs.entry.js +2 -2
  51. package/dist/cjs/mds-header.cjs.entry.js +19 -10
  52. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  54. package/dist/cjs/mds-img.cjs.entry.js +6 -6
  55. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-input-date-range.cjs.entry.js +95 -13
  57. package/dist/cjs/mds-input-date.cjs.entry.js +124 -27
  58. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  59. package/dist/cjs/mds-input-otp.cjs.entry.js +65 -19
  60. package/dist/cjs/mds-input-range.cjs.entry.js +32 -16
  61. package/dist/cjs/mds-input-select.cjs.entry.js +166 -35
  62. package/dist/cjs/mds-input-switch_2.cjs.entry.js +63 -21
  63. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  64. package/dist/cjs/mds-input-upload.cjs.entry.js +141 -68
  65. package/dist/cjs/mds-input.cjs.entry.js +320 -36
  66. package/dist/cjs/mds-keyboard-key.cjs.entry.js +11 -8
  67. package/dist/cjs/mds-keyboard.cjs.entry.js +9 -6
  68. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  69. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  70. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  71. package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
  72. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-mention.cjs.entry.js +6 -5
  74. package/dist/cjs/mds-modal.cjs.entry.js +2 -2
  75. package/dist/cjs/mds-note.cjs.entry.js +3 -3
  76. package/dist/cjs/mds-notification.cjs.entry.js +13 -10
  77. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  78. package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
  79. package/dist/cjs/mds-policy-ai.cjs.entry.js +3 -3
  80. package/dist/cjs/mds-pref-animation.cjs.entry.js +29 -5
  81. package/dist/cjs/mds-pref-consumption.cjs.entry.js +29 -5
  82. package/dist/cjs/mds-pref-contrast.cjs.entry.js +27 -6
  83. package/dist/cjs/mds-pref-language-item.cjs.entry.js +6 -5
  84. package/dist/cjs/mds-pref-language.cjs.entry.js +3 -3
  85. package/dist/cjs/mds-pref-mode.cjs.entry.js +30 -7
  86. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  87. package/dist/cjs/mds-pref-theme.cjs.entry.js +3 -3
  88. package/dist/cjs/mds-pref.cjs.entry.js +10 -5
  89. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
  91. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  93. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  94. package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  96. package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  98. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  99. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  100. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  101. package/dist/cjs/mds-radial-menu.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  103. package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
  104. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
  105. package/dist/cjs/mds-stepper-bar.cjs.entry.js +6 -4
  106. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -4
  107. package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
  108. package/dist/cjs/mds-tab_2.cjs.entry.js +2 -2
  109. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  110. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  111. package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -4
  112. package/dist/cjs/mds-table-header.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
  114. package/dist/cjs/mds-table.cjs.entry.js +3 -3
  115. package/dist/cjs/mds-text.cjs.entry.js +4 -3
  116. package/dist/cjs/mds-toast.cjs.entry.js +11 -5
  117. package/dist/cjs/mds-tooltip.cjs.entry.js +7 -7
  118. package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
  119. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  120. package/dist/cjs/mds-url-view.cjs.entry.js +3 -3
  121. package/dist/cjs/mds-usage.cjs.entry.js +3 -3
  122. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  123. package/dist/cjs/mds-zero.cjs.entry.js +2 -2
  124. package/dist/cjs/preference-DRkzNp5a.js +389 -0
  125. package/dist/collection/common/form.js +24 -1
  126. package/dist/collection/common/validity/index.js +42 -0
  127. package/dist/collection/components/mds-accordion/AGENTS.md +65 -0
  128. package/dist/collection/components/mds-accordion/antipattern.md +123 -0
  129. package/dist/collection/components/mds-accordion/documentation.json +172 -0
  130. package/dist/collection/components/mds-accordion/pattern.md +150 -0
  131. package/dist/collection/components/mds-accordion-item/AGENTS.md +76 -0
  132. package/dist/collection/components/mds-accordion-item/antipattern.md +137 -0
  133. package/dist/collection/components/mds-accordion-item/documentation.json +288 -0
  134. package/dist/collection/components/mds-accordion-item/pattern.md +156 -0
  135. package/dist/collection/components/mds-accordion-timer/AGENTS.md +65 -0
  136. package/dist/collection/components/mds-accordion-timer/antipattern.md +133 -0
  137. package/dist/collection/components/mds-accordion-timer/documentation.json +168 -0
  138. package/dist/collection/components/mds-accordion-timer/pattern.md +137 -0
  139. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +82 -0
  140. package/dist/collection/components/mds-accordion-timer-item/antipattern.md +143 -0
  141. package/dist/collection/components/mds-accordion-timer-item/documentation.json +400 -0
  142. package/dist/collection/components/mds-accordion-timer-item/pattern.md +136 -0
  143. package/dist/collection/components/mds-author/AGENTS.md +40 -0
  144. package/dist/collection/components/mds-author/antipattern.md +106 -0
  145. package/dist/collection/components/mds-author/documentation.json +51 -0
  146. package/dist/collection/components/mds-author/pattern.md +101 -0
  147. package/dist/collection/components/mds-avatar/AGENTS.md +70 -0
  148. package/dist/collection/components/mds-avatar/antipattern.md +96 -0
  149. package/dist/collection/components/mds-avatar/documentation.json +362 -0
  150. package/dist/collection/components/mds-avatar/mds-avatar.js +27 -32
  151. package/dist/collection/components/mds-avatar/pattern.md +108 -0
  152. package/dist/collection/components/mds-avatar-stack/AGENTS.md +65 -0
  153. package/dist/collection/components/mds-avatar-stack/antipattern.md +122 -0
  154. package/dist/collection/components/mds-avatar-stack/documentation.json +196 -0
  155. package/dist/collection/components/mds-avatar-stack/pattern.md +125 -0
  156. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +60 -0
  157. package/dist/collection/components/mds-avatar-stack-item/antipattern.md +113 -0
  158. package/dist/collection/components/mds-avatar-stack-item/documentation.json +315 -0
  159. package/dist/collection/components/mds-avatar-stack-item/pattern.md +105 -0
  160. package/dist/collection/components/mds-badge/AGENTS.md +63 -0
  161. package/dist/collection/components/mds-badge/antipattern.md +104 -0
  162. package/dist/collection/components/mds-badge/documentation.json +316 -0
  163. package/dist/collection/components/mds-badge/mds-badge.js +3 -2
  164. package/dist/collection/components/mds-badge/pattern.md +130 -0
  165. package/dist/collection/components/mds-banner/AGENTS.md +87 -0
  166. package/dist/collection/components/mds-banner/antipattern.md +141 -0
  167. package/dist/collection/components/mds-banner/documentation.json +378 -0
  168. package/dist/collection/components/mds-banner/pattern.md +176 -0
  169. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +59 -0
  170. package/dist/collection/components/mds-benchmark-bar/antipattern.md +77 -0
  171. package/dist/collection/components/mds-benchmark-bar/documentation.json +313 -0
  172. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +3 -2
  173. package/dist/collection/components/mds-benchmark-bar/pattern.md +102 -0
  174. package/dist/collection/components/mds-bibliography/AGENTS.md +61 -0
  175. package/dist/collection/components/mds-bibliography/antipattern.md +130 -0
  176. package/dist/collection/components/mds-bibliography/documentation.json +407 -0
  177. package/dist/collection/components/mds-bibliography/mds-bibliography.js +4 -3
  178. package/dist/collection/components/mds-bibliography/pattern.md +142 -0
  179. package/dist/collection/components/mds-breadcrumb/AGENTS.md +68 -0
  180. package/dist/collection/components/mds-breadcrumb/antipattern.md +112 -0
  181. package/dist/collection/components/mds-breadcrumb/documentation.json +156 -0
  182. package/dist/collection/components/mds-breadcrumb/pattern.md +103 -0
  183. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +67 -0
  184. package/dist/collection/components/mds-breadcrumb-item/antipattern.md +109 -0
  185. package/dist/collection/components/mds-breadcrumb-item/documentation.json +160 -0
  186. package/dist/collection/components/mds-breadcrumb-item/pattern.md +85 -0
  187. package/dist/collection/components/mds-button/AGENTS.md +102 -0
  188. package/dist/collection/components/mds-button/antipattern.md +126 -0
  189. package/dist/collection/components/mds-button/documentation.json +922 -0
  190. package/dist/collection/components/mds-button/mds-button.css +4 -1
  191. package/dist/collection/components/mds-button/mds-button.js +48 -8
  192. package/dist/collection/components/mds-button/pattern.md +172 -0
  193. package/dist/collection/components/mds-button-dropdown/AGENTS.md +88 -0
  194. package/dist/collection/components/mds-button-dropdown/antipattern.md +158 -0
  195. package/dist/collection/components/mds-button-dropdown/documentation.json +614 -0
  196. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +94 -6
  197. package/dist/collection/components/mds-button-dropdown/pattern.md +164 -0
  198. package/dist/collection/components/mds-button-group/AGENTS.md +33 -0
  199. package/dist/collection/components/mds-button-group/antipattern.md +105 -0
  200. package/dist/collection/components/mds-button-group/documentation.json +43 -0
  201. package/dist/collection/components/mds-button-group/pattern.md +89 -0
  202. package/dist/collection/components/mds-calendar/AGENTS.md +96 -0
  203. package/dist/collection/components/mds-calendar/antipattern.md +113 -0
  204. package/dist/collection/components/mds-calendar/documentation.json +626 -0
  205. package/dist/collection/components/mds-calendar/pattern.md +128 -0
  206. package/dist/collection/components/mds-calendar-cell/AGENTS.md +94 -0
  207. package/dist/collection/components/mds-calendar-cell/antipattern.md +58 -0
  208. package/dist/collection/components/mds-calendar-cell/documentation.json +539 -0
  209. package/dist/collection/components/mds-calendar-cell/pattern.md +82 -0
  210. package/dist/collection/components/mds-card/AGENTS.md +60 -0
  211. package/dist/collection/components/mds-card/antipattern.md +133 -0
  212. package/dist/collection/components/mds-card/documentation.json +117 -0
  213. package/dist/collection/components/mds-card/pattern.md +160 -0
  214. package/dist/collection/components/mds-card-content/AGENTS.md +34 -0
  215. package/dist/collection/components/mds-card-content/antipattern.md +110 -0
  216. package/dist/collection/components/mds-card-content/documentation.json +43 -0
  217. package/dist/collection/components/mds-card-content/pattern.md +91 -0
  218. package/dist/collection/components/mds-card-footer/AGENTS.md +34 -0
  219. package/dist/collection/components/mds-card-footer/antipattern.md +112 -0
  220. package/dist/collection/components/mds-card-footer/documentation.json +43 -0
  221. package/dist/collection/components/mds-card-footer/pattern.md +95 -0
  222. package/dist/collection/components/mds-card-header/AGENTS.md +38 -0
  223. package/dist/collection/components/mds-card-header/antipattern.md +114 -0
  224. package/dist/collection/components/mds-card-header/documentation.json +51 -0
  225. package/dist/collection/components/mds-card-header/pattern.md +143 -0
  226. package/dist/collection/components/mds-card-media/AGENTS.md +46 -0
  227. package/dist/collection/components/mds-card-media/antipattern.md +128 -0
  228. package/dist/collection/components/mds-card-media/documentation.json +56 -0
  229. package/dist/collection/components/mds-card-media/pattern.md +93 -0
  230. package/dist/collection/components/mds-chip/AGENTS.md +84 -0
  231. package/dist/collection/components/mds-chip/antipattern.md +119 -0
  232. package/dist/collection/components/mds-chip/documentation.json +535 -0
  233. package/dist/collection/components/mds-chip/pattern.md +166 -0
  234. package/dist/collection/components/mds-details/AGENTS.md +72 -0
  235. package/dist/collection/components/mds-details/antipattern.md +128 -0
  236. package/dist/collection/components/mds-details/documentation.json +153 -0
  237. package/dist/collection/components/mds-details/pattern.md +138 -0
  238. package/dist/collection/components/mds-dropdown/AGENTS.md +95 -0
  239. package/dist/collection/components/mds-dropdown/antipattern.md +137 -0
  240. package/dist/collection/components/mds-dropdown/documentation.json +701 -0
  241. package/dist/collection/components/mds-dropdown/mds-dropdown.js +4 -3
  242. package/dist/collection/components/mds-dropdown/pattern.md +201 -0
  243. package/dist/collection/components/mds-emoji/AGENTS.md +88 -0
  244. package/dist/collection/components/mds-emoji/antipattern.md +134 -0
  245. package/dist/collection/components/mds-emoji/documentation.json +506 -0
  246. package/dist/collection/components/mds-emoji/pattern.md +219 -0
  247. package/dist/collection/components/mds-entity/AGENTS.md +76 -0
  248. package/dist/collection/components/mds-entity/antipattern.md +112 -0
  249. package/dist/collection/components/mds-entity/documentation.json +365 -0
  250. package/dist/collection/components/mds-entity/pattern.md +125 -0
  251. package/dist/collection/components/mds-file/AGENTS.md +63 -0
  252. package/dist/collection/components/mds-file/antipattern.md +92 -0
  253. package/dist/collection/components/mds-file/documentation.json +484 -0
  254. package/dist/collection/components/mds-file/pattern.md +109 -0
  255. package/dist/collection/components/mds-file-preview/AGENTS.md +88 -0
  256. package/dist/collection/components/mds-file-preview/antipattern.md +129 -0
  257. package/dist/collection/components/mds-file-preview/documentation.json +780 -0
  258. package/dist/collection/components/mds-file-preview/mds-file-preview.js +6 -7
  259. package/dist/collection/components/mds-file-preview/pattern.md +164 -0
  260. package/dist/collection/components/mds-filter/AGENTS.md +72 -0
  261. package/dist/collection/components/mds-filter/antipattern.md +140 -0
  262. package/dist/collection/components/mds-filter/documentation.json +239 -0
  263. package/dist/collection/components/mds-filter/pattern.md +129 -0
  264. package/dist/collection/components/mds-filter-item/AGENTS.md +64 -0
  265. package/dist/collection/components/mds-filter-item/antipattern.md +127 -0
  266. package/dist/collection/components/mds-filter-item/documentation.json +240 -0
  267. package/dist/collection/components/mds-filter-item/pattern.md +125 -0
  268. package/dist/collection/components/mds-header/AGENTS.md +95 -0
  269. package/dist/collection/components/mds-header/antipattern.md +120 -0
  270. package/dist/collection/components/mds-header/documentation.json +491 -0
  271. package/dist/collection/components/mds-header/mds-header.js +17 -8
  272. package/dist/collection/components/mds-header/pattern.md +182 -0
  273. package/dist/collection/components/mds-header-bar/AGENTS.md +80 -0
  274. package/dist/collection/components/mds-header-bar/antipattern.md +119 -0
  275. package/dist/collection/components/mds-header-bar/documentation.json +251 -0
  276. package/dist/collection/components/mds-header-bar/pattern.md +134 -0
  277. package/dist/collection/components/mds-help/AGENTS.md +65 -0
  278. package/dist/collection/components/mds-help/antipattern.md +73 -0
  279. package/dist/collection/components/mds-help/documentation.json +228 -0
  280. package/dist/collection/components/mds-help/pattern.md +106 -0
  281. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +72 -0
  282. package/dist/collection/components/mds-horizontal-scroll/antipattern.md +120 -0
  283. package/dist/collection/components/mds-horizontal-scroll/documentation.json +279 -0
  284. package/dist/collection/components/mds-horizontal-scroll/pattern.md +154 -0
  285. package/dist/collection/components/mds-hr/AGENTS.md +27 -0
  286. package/dist/collection/components/mds-hr/antipattern.md +84 -0
  287. package/dist/collection/components/mds-hr/documentation.json +33 -0
  288. package/dist/collection/components/mds-hr/pattern.md +88 -0
  289. package/dist/collection/components/mds-icon/AGENTS.md +52 -0
  290. package/dist/collection/components/mds-icon/antipattern.md +118 -0
  291. package/dist/collection/components/mds-icon/documentation.json +205 -0
  292. package/dist/collection/components/mds-icon/mds-icon.js +29 -4
  293. package/dist/collection/components/mds-icon/pattern.md +135 -0
  294. package/dist/collection/components/mds-icon/services/icons-set.service.js +47 -18
  295. package/dist/collection/components/mds-img/AGENTS.md +78 -0
  296. package/dist/collection/components/mds-img/antipattern.md +106 -0
  297. package/dist/collection/components/mds-img/documentation.json +470 -0
  298. package/dist/collection/components/mds-img/mds-img.js +3 -3
  299. package/dist/collection/components/mds-img/pattern.md +128 -0
  300. package/dist/collection/components/mds-input/AGENTS.md +138 -0
  301. package/dist/collection/components/mds-input/antipattern.md +128 -0
  302. package/dist/collection/components/mds-input/documentation.json +1574 -0
  303. package/dist/collection/components/mds-input/mds-input.js +185 -30
  304. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +8 -1
  305. package/dist/collection/components/mds-input/meta/validators.js +100 -2
  306. package/dist/collection/components/mds-input/meta/validity.js +35 -0
  307. package/dist/collection/components/mds-input/pattern.md +252 -0
  308. package/dist/collection/components/mds-input-date/AGENTS.md +98 -0
  309. package/dist/collection/components/mds-input-date/antipattern.md +107 -0
  310. package/dist/collection/components/mds-input-date/documentation.json +638 -0
  311. package/dist/collection/components/mds-input-date/mds-input-date.js +130 -24
  312. package/dist/collection/components/mds-input-date/pattern.md +158 -0
  313. package/dist/collection/components/mds-input-date-range/AGENTS.md +90 -0
  314. package/dist/collection/components/mds-input-date-range/antipattern.md +168 -0
  315. package/dist/collection/components/mds-input-date-range/documentation.json +502 -0
  316. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +13 -0
  317. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +112 -9
  318. package/dist/collection/components/mds-input-date-range/pattern.md +122 -0
  319. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +62 -0
  320. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +147 -0
  321. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +176 -0
  322. package/dist/collection/components/mds-input-date-range-preselection/pattern.md +101 -0
  323. package/dist/collection/components/mds-input-field/AGENTS.md +60 -0
  324. package/dist/collection/components/mds-input-field/antipattern.md +115 -0
  325. package/dist/collection/components/mds-input-field/documentation.json +178 -0
  326. package/dist/collection/components/mds-input-field/pattern.md +95 -0
  327. package/dist/collection/components/mds-input-otp/AGENTS.md +48 -0
  328. package/dist/collection/components/mds-input-otp/antipattern.md +105 -0
  329. package/dist/collection/components/mds-input-otp/documentation.json +203 -0
  330. package/dist/collection/components/mds-input-otp/mds-input-otp.css +4 -1
  331. package/dist/collection/components/mds-input-otp/mds-input-otp.js +88 -15
  332. package/dist/collection/components/mds-input-otp/pattern.md +107 -0
  333. package/dist/collection/components/mds-input-range/AGENTS.md +84 -0
  334. package/dist/collection/components/mds-input-range/antipattern.md +127 -0
  335. package/dist/collection/components/mds-input-range/documentation.json +315 -0
  336. package/dist/collection/components/mds-input-range/mds-input-range.css +6 -2
  337. package/dist/collection/components/mds-input-range/mds-input-range.js +30 -13
  338. package/dist/collection/components/mds-input-range/pattern.md +110 -0
  339. package/dist/collection/components/mds-input-select/AGENTS.md +99 -0
  340. package/dist/collection/components/mds-input-select/antipattern.md +126 -0
  341. package/dist/collection/components/mds-input-select/documentation.json +552 -0
  342. package/dist/collection/components/mds-input-select/mds-input-select.js +171 -40
  343. package/dist/collection/components/mds-input-select/meta/event-detail.js +1 -0
  344. package/dist/collection/components/mds-input-select/pattern.md +168 -0
  345. package/dist/collection/components/mds-input-switch/AGENTS.md +106 -0
  346. package/dist/collection/components/mds-input-switch/antipattern.md +117 -0
  347. package/dist/collection/components/mds-input-switch/documentation.json +638 -0
  348. package/dist/collection/components/mds-input-switch/mds-input-switch.css +4 -1
  349. package/dist/collection/components/mds-input-switch/mds-input-switch.js +59 -16
  350. package/dist/collection/components/mds-input-switch/pattern.md +133 -0
  351. package/dist/collection/components/mds-input-tip/AGENTS.md +56 -0
  352. package/dist/collection/components/mds-input-tip/antipattern.md +108 -0
  353. package/dist/collection/components/mds-input-tip/documentation.json +160 -0
  354. package/dist/collection/components/mds-input-tip/pattern.md +125 -0
  355. package/dist/collection/components/mds-input-tip-item/AGENTS.md +58 -0
  356. package/dist/collection/components/mds-input-tip-item/antipattern.md +98 -0
  357. package/dist/collection/components/mds-input-tip-item/documentation.json +181 -0
  358. package/dist/collection/components/mds-input-tip-item/pattern.md +107 -0
  359. package/dist/collection/components/mds-input-upload/AGENTS.md +78 -0
  360. package/dist/collection/components/mds-input-upload/antipattern.md +144 -0
  361. package/dist/collection/components/mds-input-upload/documentation.json +425 -0
  362. package/dist/collection/components/mds-input-upload/mds-input-upload.css +15 -0
  363. package/dist/collection/components/mds-input-upload/mds-input-upload.js +181 -67
  364. package/dist/collection/components/mds-input-upload/pattern.md +165 -0
  365. package/dist/collection/components/mds-keyboard/AGENTS.md +76 -0
  366. package/dist/collection/components/mds-keyboard/antipattern.md +111 -0
  367. package/dist/collection/components/mds-keyboard/documentation.json +227 -0
  368. package/dist/collection/components/mds-keyboard/mds-keyboard.js +6 -3
  369. package/dist/collection/components/mds-keyboard/pattern.md +129 -0
  370. package/dist/collection/components/mds-keyboard-key/AGENTS.md +55 -0
  371. package/dist/collection/components/mds-keyboard-key/antipattern.md +117 -0
  372. package/dist/collection/components/mds-keyboard-key/documentation.json +450 -0
  373. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +8 -5
  374. package/dist/collection/components/mds-keyboard-key/pattern.md +98 -0
  375. package/dist/collection/components/mds-kpi/AGENTS.md +44 -0
  376. package/dist/collection/components/mds-kpi/antipattern.md +93 -0
  377. package/dist/collection/components/mds-kpi/documentation.json +54 -0
  378. package/dist/collection/components/mds-kpi/pattern.md +109 -0
  379. package/dist/collection/components/mds-kpi-item/AGENTS.md +62 -0
  380. package/dist/collection/components/mds-kpi-item/antipattern.md +119 -0
  381. package/dist/collection/components/mds-kpi-item/documentation.json +199 -0
  382. package/dist/collection/components/mds-kpi-item/pattern.md +115 -0
  383. package/dist/collection/components/mds-label/AGENTS.md +71 -0
  384. package/dist/collection/components/mds-label/antipattern.md +92 -0
  385. package/dist/collection/components/mds-label/documentation.json +388 -0
  386. package/dist/collection/components/mds-label/pattern.md +111 -0
  387. package/dist/collection/components/mds-list/AGENTS.md +33 -0
  388. package/dist/collection/components/mds-list/antipattern.md +117 -0
  389. package/dist/collection/components/mds-list/documentation.json +43 -0
  390. package/dist/collection/components/mds-list/pattern.md +104 -0
  391. package/dist/collection/components/mds-list-item/AGENTS.md +60 -0
  392. package/dist/collection/components/mds-list-item/antipattern.md +118 -0
  393. package/dist/collection/components/mds-list-item/documentation.json +200 -0
  394. package/dist/collection/components/mds-list-item/pattern.md +101 -0
  395. package/dist/collection/components/mds-mention/AGENTS.md +55 -0
  396. package/dist/collection/components/mds-mention/antipattern.md +86 -0
  397. package/dist/collection/components/mds-mention/documentation.json +203 -0
  398. package/dist/collection/components/mds-mention/mds-mention.js +3 -2
  399. package/dist/collection/components/mds-mention/pattern.md +91 -0
  400. package/dist/collection/components/mds-modal/AGENTS.md +107 -0
  401. package/dist/collection/components/mds-modal/antipattern.md +96 -0
  402. package/dist/collection/components/mds-modal/documentation.json +552 -0
  403. package/dist/collection/components/mds-modal/pattern.md +228 -0
  404. package/dist/collection/components/mds-note/AGENTS.md +68 -0
  405. package/dist/collection/components/mds-note/antipattern.md +99 -0
  406. package/dist/collection/components/mds-note/documentation.json +220 -0
  407. package/dist/collection/components/mds-note/pattern.md +108 -0
  408. package/dist/collection/components/mds-notification/AGENTS.md +67 -0
  409. package/dist/collection/components/mds-notification/antipattern.md +86 -0
  410. package/dist/collection/components/mds-notification/documentation.json +253 -0
  411. package/dist/collection/components/mds-notification/mds-notification.js +11 -8
  412. package/dist/collection/components/mds-notification/pattern.md +98 -0
  413. package/dist/collection/components/mds-paginator/AGENTS.md +57 -0
  414. package/dist/collection/components/mds-paginator/antipattern.md +95 -0
  415. package/dist/collection/components/mds-paginator/documentation.json +135 -0
  416. package/dist/collection/components/mds-paginator/pattern.md +92 -0
  417. package/dist/collection/components/mds-paginator-item/AGENTS.md +74 -0
  418. package/dist/collection/components/mds-paginator-item/antipattern.md +95 -0
  419. package/dist/collection/components/mds-paginator-item/documentation.json +206 -0
  420. package/dist/collection/components/mds-paginator-item/pattern.md +75 -0
  421. package/dist/collection/components/mds-policy-ai/AGENTS.md +58 -0
  422. package/dist/collection/components/mds-policy-ai/antipattern.md +97 -0
  423. package/dist/collection/components/mds-policy-ai/documentation.json +244 -0
  424. package/dist/collection/components/mds-policy-ai/pattern.md +102 -0
  425. package/dist/collection/components/mds-pref/AGENTS.md +50 -0
  426. package/dist/collection/components/mds-pref/antipattern.md +85 -0
  427. package/dist/collection/components/mds-pref/documentation.json +138 -0
  428. package/dist/collection/components/mds-pref/mds-pref.js +7 -2
  429. package/dist/collection/components/mds-pref/pattern.md +93 -0
  430. package/dist/collection/components/mds-pref-animation/AGENTS.md +48 -0
  431. package/dist/collection/components/mds-pref-animation/antipattern.md +67 -0
  432. package/dist/collection/components/mds-pref-animation/documentation.json +154 -0
  433. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +26 -2
  434. package/dist/collection/components/mds-pref-animation/pattern.md +86 -0
  435. package/dist/collection/components/mds-pref-consumption/AGENTS.md +47 -0
  436. package/dist/collection/components/mds-pref-consumption/antipattern.md +84 -0
  437. package/dist/collection/components/mds-pref-consumption/documentation.json +154 -0
  438. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +26 -2
  439. package/dist/collection/components/mds-pref-consumption/pattern.md +70 -0
  440. package/dist/collection/components/mds-pref-contrast/AGENTS.md +50 -0
  441. package/dist/collection/components/mds-pref-contrast/antipattern.md +71 -0
  442. package/dist/collection/components/mds-pref-contrast/documentation.json +154 -0
  443. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +24 -3
  444. package/dist/collection/components/mds-pref-contrast/pattern.md +82 -0
  445. package/dist/collection/components/mds-pref-language/AGENTS.md +56 -0
  446. package/dist/collection/components/mds-pref-language/antipattern.md +130 -0
  447. package/dist/collection/components/mds-pref-language/documentation.json +174 -0
  448. package/dist/collection/components/mds-pref-language/pattern.md +104 -0
  449. package/dist/collection/components/mds-pref-language-item/AGENTS.md +48 -0
  450. package/dist/collection/components/mds-pref-language-item/antipattern.md +99 -0
  451. package/dist/collection/components/mds-pref-language-item/documentation.json +122 -0
  452. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +3 -2
  453. package/dist/collection/components/mds-pref-language-item/pattern.md +85 -0
  454. package/dist/collection/components/mds-pref-mode/AGENTS.md +53 -0
  455. package/dist/collection/components/mds-pref-mode/antipattern.md +104 -0
  456. package/dist/collection/components/mds-pref-mode/documentation.json +241 -0
  457. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +27 -4
  458. package/dist/collection/components/mds-pref-mode/pattern.md +94 -0
  459. package/dist/collection/components/mds-pref-theme/AGENTS.md +60 -0
  460. package/dist/collection/components/mds-pref-theme/antipattern.md +104 -0
  461. package/dist/collection/components/mds-pref-theme/documentation.json +277 -0
  462. package/dist/collection/components/mds-pref-theme/pattern.md +97 -0
  463. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +60 -0
  464. package/dist/collection/components/mds-pref-theme-item/antipattern.md +98 -0
  465. package/dist/collection/components/mds-pref-theme-item/documentation.json +228 -0
  466. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
  467. package/dist/collection/components/mds-pref-theme-item/pattern.md +98 -0
  468. package/dist/collection/components/mds-price-table/AGENTS.md +34 -0
  469. package/dist/collection/components/mds-price-table/antipattern.md +131 -0
  470. package/dist/collection/components/mds-price-table/documentation.json +43 -0
  471. package/dist/collection/components/mds-price-table/pattern.md +182 -0
  472. package/dist/collection/components/mds-price-table-features/AGENTS.md +61 -0
  473. package/dist/collection/components/mds-price-table-features/antipattern.md +152 -0
  474. package/dist/collection/components/mds-price-table-features/documentation.json +96 -0
  475. package/dist/collection/components/mds-price-table-features/pattern.md +157 -0
  476. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +69 -0
  477. package/dist/collection/components/mds-price-table-features-cell/antipattern.md +105 -0
  478. package/dist/collection/components/mds-price-table-features-cell/documentation.json +154 -0
  479. package/dist/collection/components/mds-price-table-features-cell/pattern.md +128 -0
  480. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +43 -0
  481. package/dist/collection/components/mds-price-table-features-row/antipattern.md +135 -0
  482. package/dist/collection/components/mds-price-table-features-row/documentation.json +64 -0
  483. package/dist/collection/components/mds-price-table-features-row/pattern.md +125 -0
  484. package/dist/collection/components/mds-price-table-header/AGENTS.md +34 -0
  485. package/dist/collection/components/mds-price-table-header/antipattern.md +133 -0
  486. package/dist/collection/components/mds-price-table-header/documentation.json +43 -0
  487. package/dist/collection/components/mds-price-table-header/pattern.md +176 -0
  488. package/dist/collection/components/mds-price-table-list/AGENTS.md +63 -0
  489. package/dist/collection/components/mds-price-table-list/antipattern.md +133 -0
  490. package/dist/collection/components/mds-price-table-list/documentation.json +104 -0
  491. package/dist/collection/components/mds-price-table-list/pattern.md +134 -0
  492. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +61 -0
  493. package/dist/collection/components/mds-price-table-list-item/antipattern.md +90 -0
  494. package/dist/collection/components/mds-price-table-list-item/documentation.json +145 -0
  495. package/dist/collection/components/mds-price-table-list-item/pattern.md +105 -0
  496. package/dist/collection/components/mds-progress/AGENTS.md +68 -0
  497. package/dist/collection/components/mds-progress/antipattern.md +94 -0
  498. package/dist/collection/components/mds-progress/documentation.json +375 -0
  499. package/dist/collection/components/mds-progress/pattern.md +139 -0
  500. package/dist/collection/components/mds-push-notification/AGENTS.md +88 -0
  501. package/dist/collection/components/mds-push-notification/antipattern.md +154 -0
  502. package/dist/collection/components/mds-push-notification/documentation.json +306 -0
  503. package/dist/collection/components/mds-push-notification/pattern.md +203 -0
  504. package/dist/collection/components/mds-push-notification-item/AGENTS.md +91 -0
  505. package/dist/collection/components/mds-push-notification-item/antipattern.md +129 -0
  506. package/dist/collection/components/mds-push-notification-item/documentation.json +586 -0
  507. package/dist/collection/components/mds-push-notification-item/pattern.md +201 -0
  508. package/dist/collection/components/mds-quote/AGENTS.md +51 -0
  509. package/dist/collection/components/mds-quote/antipattern.md +122 -0
  510. package/dist/collection/components/mds-quote/documentation.json +176 -0
  511. package/dist/collection/components/mds-quote/pattern.md +108 -0
  512. package/dist/collection/components/mds-radial-menu/AGENTS.md +87 -0
  513. package/dist/collection/components/mds-radial-menu/antipattern.md +104 -0
  514. package/dist/collection/components/mds-radial-menu/documentation.json +581 -0
  515. package/dist/collection/components/mds-radial-menu/pattern.md +150 -0
  516. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +51 -0
  517. package/dist/collection/components/mds-radial-menu-item/antipattern.md +106 -0
  518. package/dist/collection/components/mds-radial-menu-item/documentation.json +294 -0
  519. package/dist/collection/components/mds-radial-menu-item/pattern.md +98 -0
  520. package/dist/collection/components/mds-radial-progress/AGENTS.md +58 -0
  521. package/dist/collection/components/mds-radial-progress/antipattern.md +99 -0
  522. package/dist/collection/components/mds-radial-progress/documentation.json +232 -0
  523. package/dist/collection/components/mds-radial-progress/pattern.md +132 -0
  524. package/dist/collection/components/mds-separator/AGENTS.md +39 -0
  525. package/dist/collection/components/mds-separator/antipattern.md +98 -0
  526. package/dist/collection/components/mds-separator/documentation.json +45 -0
  527. package/dist/collection/components/mds-separator/pattern.md +82 -0
  528. package/dist/collection/components/mds-spinner/AGENTS.md +49 -0
  529. package/dist/collection/components/mds-spinner/antipattern.md +93 -0
  530. package/dist/collection/components/mds-spinner/documentation.json +86 -0
  531. package/dist/collection/components/mds-spinner/pattern.md +102 -0
  532. package/dist/collection/components/mds-status-bar/AGENTS.md +75 -0
  533. package/dist/collection/components/mds-status-bar/antipattern.md +128 -0
  534. package/dist/collection/components/mds-status-bar/documentation.json +262 -0
  535. package/dist/collection/components/mds-status-bar/pattern.md +123 -0
  536. package/dist/collection/components/mds-stepper-bar/AGENTS.md +74 -0
  537. package/dist/collection/components/mds-stepper-bar/antipattern.md +123 -0
  538. package/dist/collection/components/mds-stepper-bar/documentation.json +208 -0
  539. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +5 -3
  540. package/dist/collection/components/mds-stepper-bar/pattern.md +182 -0
  541. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +84 -0
  542. package/dist/collection/components/mds-stepper-bar-item/antipattern.md +115 -0
  543. package/dist/collection/components/mds-stepper-bar-item/documentation.json +453 -0
  544. package/dist/collection/components/mds-stepper-bar-item/pattern.md +203 -0
  545. package/dist/collection/components/mds-tab/AGENTS.md +109 -0
  546. package/dist/collection/components/mds-tab/antipattern.md +164 -0
  547. package/dist/collection/components/mds-tab/documentation.json +495 -0
  548. package/dist/collection/components/mds-tab/pattern.md +201 -0
  549. package/dist/collection/components/mds-tab-bar/AGENTS.md +46 -0
  550. package/dist/collection/components/mds-tab-bar/antipattern.md +105 -0
  551. package/dist/collection/components/mds-tab-bar/documentation.json +71 -0
  552. package/dist/collection/components/mds-tab-bar/pattern.md +87 -0
  553. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +67 -0
  554. package/dist/collection/components/mds-tab-bar-item/antipattern.md +116 -0
  555. package/dist/collection/components/mds-tab-bar-item/documentation.json +210 -0
  556. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +3 -2
  557. package/dist/collection/components/mds-tab-bar-item/pattern.md +110 -0
  558. package/dist/collection/components/mds-tab-item/AGENTS.md +82 -0
  559. package/dist/collection/components/mds-tab-item/antipattern.md +138 -0
  560. package/dist/collection/components/mds-tab-item/documentation.json +577 -0
  561. package/dist/collection/components/mds-tab-item/pattern.md +155 -0
  562. package/dist/collection/components/mds-table/AGENTS.md +90 -0
  563. package/dist/collection/components/mds-table/antipattern.md +169 -0
  564. package/dist/collection/components/mds-table/documentation.json +304 -0
  565. package/dist/collection/components/mds-table/pattern.md +288 -0
  566. package/dist/collection/components/mds-table-body/AGENTS.md +55 -0
  567. package/dist/collection/components/mds-table-body/antipattern.md +118 -0
  568. package/dist/collection/components/mds-table-body/documentation.json +122 -0
  569. package/dist/collection/components/mds-table-body/pattern.md +154 -0
  570. package/dist/collection/components/mds-table-cell/AGENTS.md +56 -0
  571. package/dist/collection/components/mds-table-cell/antipattern.md +100 -0
  572. package/dist/collection/components/mds-table-cell/documentation.json +104 -0
  573. package/dist/collection/components/mds-table-cell/pattern.md +168 -0
  574. package/dist/collection/components/mds-table-footer/AGENTS.md +33 -0
  575. package/dist/collection/components/mds-table-footer/antipattern.md +114 -0
  576. package/dist/collection/components/mds-table-footer/documentation.json +43 -0
  577. package/dist/collection/components/mds-table-footer/pattern.md +116 -0
  578. package/dist/collection/components/mds-table-header/AGENTS.md +61 -0
  579. package/dist/collection/components/mds-table-header/antipattern.md +157 -0
  580. package/dist/collection/components/mds-table-header/documentation.json +156 -0
  581. package/dist/collection/components/mds-table-header/pattern.md +158 -0
  582. package/dist/collection/components/mds-table-header-cell/AGENTS.md +51 -0
  583. package/dist/collection/components/mds-table-header-cell/antipattern.md +108 -0
  584. package/dist/collection/components/mds-table-header-cell/documentation.json +158 -0
  585. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -2
  586. package/dist/collection/components/mds-table-header-cell/pattern.md +145 -0
  587. package/dist/collection/components/mds-table-row/AGENTS.md +68 -0
  588. package/dist/collection/components/mds-table-row/antipattern.md +142 -0
  589. package/dist/collection/components/mds-table-row/documentation.json +252 -0
  590. package/dist/collection/components/mds-table-row/pattern.md +157 -0
  591. package/dist/collection/components/mds-text/AGENTS.md +64 -0
  592. package/dist/collection/components/mds-text/antipattern.md +113 -0
  593. package/dist/collection/components/mds-text/documentation.json +746 -0
  594. package/dist/collection/components/mds-text/mds-text.js +2 -1
  595. package/dist/collection/components/mds-text/pattern.md +139 -0
  596. package/dist/collection/components/mds-toast/AGENTS.md +78 -0
  597. package/dist/collection/components/mds-toast/antipattern.md +131 -0
  598. package/dist/collection/components/mds-toast/documentation.json +339 -0
  599. package/dist/collection/components/mds-toast/mds-toast.js +9 -3
  600. package/dist/collection/components/mds-toast/pattern.md +161 -0
  601. package/dist/collection/components/mds-tooltip/AGENTS.md +80 -0
  602. package/dist/collection/components/mds-tooltip/antipattern.md +108 -0
  603. package/dist/collection/components/mds-tooltip/documentation.json +483 -0
  604. package/dist/collection/components/mds-tooltip/mds-tooltip.js +4 -4
  605. package/dist/collection/components/mds-tooltip/pattern.md +128 -0
  606. package/dist/collection/components/mds-tree/AGENTS.md +88 -0
  607. package/dist/collection/components/mds-tree/antipattern.md +153 -0
  608. package/dist/collection/components/mds-tree/documentation.json +472 -0
  609. package/dist/collection/components/mds-tree/pattern.md +198 -0
  610. package/dist/collection/components/mds-tree-item/AGENTS.md +119 -0
  611. package/dist/collection/components/mds-tree-item/antipattern.md +152 -0
  612. package/dist/collection/components/mds-tree-item/documentation.json +646 -0
  613. package/dist/collection/components/mds-tree-item/pattern.md +201 -0
  614. package/dist/collection/components/mds-url-view/AGENTS.md +63 -0
  615. package/dist/collection/components/mds-url-view/antipattern.md +107 -0
  616. package/dist/collection/components/mds-url-view/documentation.json +209 -0
  617. package/dist/collection/components/mds-url-view/pattern.md +106 -0
  618. package/dist/collection/components/mds-usage/AGENTS.md +70 -0
  619. package/dist/collection/components/mds-usage/antipattern.md +87 -0
  620. package/dist/collection/components/mds-usage/documentation.json +156 -0
  621. package/dist/collection/components/mds-usage/pattern.md +117 -0
  622. package/dist/collection/components/mds-video-wall/AGENTS.md +65 -0
  623. package/dist/collection/components/mds-video-wall/antipattern.md +97 -0
  624. package/dist/collection/components/mds-video-wall/documentation.json +316 -0
  625. package/dist/collection/components/mds-video-wall/pattern.md +101 -0
  626. package/dist/collection/components/mds-zero/AGENTS.md +55 -0
  627. package/dist/collection/components/mds-zero/antipattern.md +106 -0
  628. package/dist/collection/components/mds-zero/documentation.json +82 -0
  629. package/dist/collection/components/mds-zero/pattern.md +118 -0
  630. package/dist/collection/dictionary/icon.js +1 -1
  631. package/dist/components/index.js +1 -1
  632. package/dist/components/mds-accordion-item.js +1 -1
  633. package/dist/components/mds-accordion-timer-item.js +1 -1
  634. package/dist/components/mds-accordion-timer.js +1 -1
  635. package/dist/components/mds-accordion.js +1 -1
  636. package/dist/components/mds-author.js +1 -1
  637. package/dist/components/mds-avatar-stack-item.js +1 -1
  638. package/dist/components/mds-avatar-stack.js +1 -1
  639. package/dist/components/mds-avatar.js +1 -1
  640. package/dist/components/mds-badge.js +1 -1
  641. package/dist/components/mds-banner.js +1 -1
  642. package/dist/components/mds-benchmark-bar.js +1 -1
  643. package/dist/components/mds-bibliography.js +1 -1
  644. package/dist/components/mds-breadcrumb-item.js +1 -1
  645. package/dist/components/mds-breadcrumb.js +1 -1
  646. package/dist/components/mds-button-dropdown.js +1 -1
  647. package/dist/components/mds-button-group.js +1 -1
  648. package/dist/components/mds-button.js +1 -1
  649. package/dist/components/mds-calendar-cell.js +1 -1
  650. package/dist/components/mds-calendar.js +1 -1
  651. package/dist/components/mds-card-content.js +1 -1
  652. package/dist/components/mds-card-footer.js +1 -1
  653. package/dist/components/mds-card-header.js +1 -1
  654. package/dist/components/mds-card-media.js +1 -1
  655. package/dist/components/mds-card.js +1 -1
  656. package/dist/components/mds-chip.js +1 -1
  657. package/dist/components/mds-details.js +1 -1
  658. package/dist/components/mds-dropdown.js +1 -1
  659. package/dist/components/mds-emoji.js +3 -3
  660. package/dist/components/mds-entity.js +1 -1
  661. package/dist/components/mds-file-preview.js +1 -1
  662. package/dist/components/mds-file.js +3 -3
  663. package/dist/components/mds-filter-item.js +1 -1
  664. package/dist/components/mds-filter.js +1 -1
  665. package/dist/components/mds-header-bar.js +1 -1
  666. package/dist/components/mds-header.js +1 -1
  667. package/dist/components/mds-help.js +1 -1
  668. package/dist/components/mds-horizontal-scroll.js +1 -1
  669. package/dist/components/mds-hr.js +1 -1
  670. package/dist/components/mds-icon.js +1 -1
  671. package/dist/components/mds-img.js +1 -1
  672. package/dist/components/mds-input-date-range-preselection.js +1 -1
  673. package/dist/components/mds-input-date-range.js +1 -1
  674. package/dist/components/mds-input-date.js +1 -1
  675. package/dist/components/mds-input-field.js +1 -1
  676. package/dist/components/mds-input-otp.js +1 -1
  677. package/dist/components/mds-input-range.js +1 -1
  678. package/dist/components/mds-input-select.js +1 -1
  679. package/dist/components/mds-input-switch.js +1 -1
  680. package/dist/components/mds-input-tip-item.js +1 -1
  681. package/dist/components/mds-input-tip.js +1 -1
  682. package/dist/components/mds-input-upload.js +1 -1
  683. package/dist/components/mds-input.js +1 -1
  684. package/dist/components/mds-keyboard-key.js +1 -1
  685. package/dist/components/mds-keyboard.js +1 -1
  686. package/dist/components/mds-kpi-item.js +1 -1
  687. package/dist/components/mds-kpi.js +1 -1
  688. package/dist/components/mds-label.js +1 -1
  689. package/dist/components/mds-list-item.js +1 -1
  690. package/dist/components/mds-list.js +1 -1
  691. package/dist/components/mds-mention.js +1 -1
  692. package/dist/components/mds-modal.js +1 -1
  693. package/dist/components/mds-note.js +1 -1
  694. package/dist/components/mds-notification.js +1 -1
  695. package/dist/components/mds-paginator-item.js +1 -1
  696. package/dist/components/mds-paginator.js +1 -1
  697. package/dist/components/mds-policy-ai.js +1 -1
  698. package/dist/components/mds-pref-animation.js +1 -1
  699. package/dist/components/mds-pref-consumption.js +1 -1
  700. package/dist/components/mds-pref-contrast.js +1 -1
  701. package/dist/components/mds-pref-language-item.js +1 -1
  702. package/dist/components/mds-pref-language.js +1 -1
  703. package/dist/components/mds-pref-mode.js +1 -1
  704. package/dist/components/mds-pref-theme-item.js +1 -1
  705. package/dist/components/mds-pref-theme.js +1 -1
  706. package/dist/components/mds-pref.js +1 -1
  707. package/dist/components/mds-price-table-features-cell.js +1 -1
  708. package/dist/components/mds-price-table-features-row.js +1 -1
  709. package/dist/components/mds-price-table-features.js +1 -1
  710. package/dist/components/mds-price-table-header.js +1 -1
  711. package/dist/components/mds-price-table-list-item.js +1 -1
  712. package/dist/components/mds-price-table-list.js +1 -1
  713. package/dist/components/mds-price-table.js +1 -1
  714. package/dist/components/mds-progress.js +1 -1
  715. package/dist/components/mds-push-notification-item.js +1 -1
  716. package/dist/components/mds-push-notification.js +1 -1
  717. package/dist/components/mds-quote.js +1 -1
  718. package/dist/components/mds-radial-menu-item.js +1 -1
  719. package/dist/components/mds-radial-menu.js +1 -1
  720. package/dist/components/mds-radial-progress.js +1 -1
  721. package/dist/components/mds-separator.js +1 -1
  722. package/dist/components/mds-spinner.js +1 -1
  723. package/dist/components/mds-status-bar.js +1 -1
  724. package/dist/components/mds-stepper-bar-item.js +1 -1
  725. package/dist/components/mds-stepper-bar.js +1 -1
  726. package/dist/components/mds-tab-bar-item.js +1 -1
  727. package/dist/components/mds-tab-bar.js +1 -1
  728. package/dist/components/mds-tab-item.js +1 -1
  729. package/dist/components/mds-tab.js +1 -1
  730. package/dist/components/mds-table-body.js +1 -1
  731. package/dist/components/mds-table-cell.js +1 -1
  732. package/dist/components/mds-table-footer.js +1 -1
  733. package/dist/components/mds-table-header-cell.js +1 -1
  734. package/dist/components/mds-table-header.js +1 -1
  735. package/dist/components/mds-table-row.js +1 -1
  736. package/dist/components/mds-table.js +1 -1
  737. package/dist/components/mds-text.js +1 -1
  738. package/dist/components/mds-toast.js +1 -1
  739. package/dist/components/mds-tooltip.js +1 -1
  740. package/dist/components/mds-tree-item.js +1 -1
  741. package/dist/components/mds-tree.js +1 -1
  742. package/dist/components/mds-url-view.js +1 -1
  743. package/dist/components/mds-usage.js +1 -1
  744. package/dist/components/mds-video-wall.js +1 -1
  745. package/dist/components/mds-zero.js +1 -1
  746. package/dist/components/p--miH951G.js +5 -0
  747. package/dist/components/p-1aH7xiMs.js +1 -0
  748. package/dist/components/p-B05zwjTY.js +1 -0
  749. package/dist/components/p-BOu_NOgd.js +1 -0
  750. package/dist/components/p-BTpjOy0A.js +1 -0
  751. package/dist/components/p-BVw5aqzn.js +1 -0
  752. package/dist/components/p-BW24ByN-.js +1 -0
  753. package/dist/components/p-BWpSxp3h.js +1 -0
  754. package/dist/components/p-BXPIlPIF.js +1 -0
  755. package/dist/components/p-BzvYQBdf.js +1 -0
  756. package/dist/components/p-C3Sn8bRc.js +1 -0
  757. package/dist/components/p-CGkSDkOY.js +1 -0
  758. package/dist/components/p-CIcshx6K.js +1 -0
  759. package/dist/components/p-CKS4r32k.js +1 -0
  760. package/dist/components/p-COkF_8bh.js +1 -0
  761. package/dist/components/p-CmHMhHMt.js +1 -0
  762. package/dist/components/p-Cnt6G6GK.js +1 -0
  763. package/dist/components/p-CsL9U6eU.js +1 -0
  764. package/dist/components/p-Cyj1BFxx.js +1 -0
  765. package/dist/components/p-DQqUzCGR.js +1 -0
  766. package/dist/components/p-DR46G4-6.js +1 -0
  767. package/dist/components/p-DcW0iRnZ.js +1 -0
  768. package/dist/components/p-DebgFlHq.js +1 -0
  769. package/dist/components/p-DmPLOktp.js +1 -0
  770. package/dist/components/p-Dpf8NWF9.js +1 -0
  771. package/dist/components/p-DwA-5c8G.js +1 -0
  772. package/dist/components/p-Dws02cT2.js +8 -0
  773. package/dist/components/p-K3QNYRhf.js +1 -0
  774. package/dist/components/p-PQ_EO5-U.js +1 -0
  775. package/dist/components/p-akEzGmDD.js +1 -0
  776. package/dist/components/p-bDVBqkn0.js +1 -0
  777. package/dist/components/p-faViX-qz.js +1 -0
  778. package/dist/components/p-pBvN1uAc.js +3 -0
  779. package/dist/components/p-wI0alRSO.js +1 -0
  780. package/dist/components/p-x_c_51aL.js +1 -0
  781. package/dist/components/p-zHpei4x6.js +1 -0
  782. package/dist/documentation.json +618 -360
  783. package/dist/esm/floating-controller-BTYkH_Ih.js +366 -0
  784. package/dist/esm/form-wI0alRSO.js +42 -0
  785. package/dist/esm/index-BhCZiGfL.js +196 -0
  786. package/dist/esm/index-BxPbQB28.js +5149 -0
  787. package/dist/esm/index.js +65 -23
  788. package/dist/esm/loader.js +3 -3
  789. package/dist/esm/locale-CVJm6KFD.js +814 -0
  790. package/dist/esm/magma-components.js +3 -3
  791. package/dist/esm/mds-accordion-item.entry.js +2 -2
  792. package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
  793. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  794. package/dist/esm/mds-accordion.entry.js +2 -2
  795. package/dist/esm/mds-author.entry.js +1 -1
  796. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  797. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  798. package/dist/esm/mds-avatar.entry.js +29 -34
  799. package/dist/esm/mds-badge.entry.js +5 -4
  800. package/dist/esm/mds-banner_3.entry.js +3 -3
  801. package/dist/esm/mds-benchmark-bar.entry.js +4 -3
  802. package/dist/esm/mds-bibliography.entry.js +5 -4
  803. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  804. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  805. package/dist/esm/mds-button-dropdown.entry.js +38 -4
  806. package/dist/esm/mds-button-group.entry.js +1 -1
  807. package/dist/esm/mds-button_3.entry.js +42 -15
  808. package/dist/esm/mds-calendar_2.entry.js +2 -2
  809. package/dist/esm/mds-card-content.entry.js +1 -1
  810. package/dist/esm/mds-card-footer.entry.js +1 -1
  811. package/dist/esm/mds-card-header.entry.js +1 -1
  812. package/dist/esm/mds-card-media.entry.js +1 -1
  813. package/dist/esm/mds-card.entry.js +2 -2
  814. package/dist/esm/mds-details.entry.js +2 -2
  815. package/dist/esm/mds-dropdown.entry.js +7 -6
  816. package/dist/esm/mds-emoji.entry.js +2 -2
  817. package/dist/esm/mds-entity.entry.js +3 -3
  818. package/dist/esm/mds-file-preview.entry.js +20 -20
  819. package/dist/esm/mds-file.entry.js +3 -3
  820. package/dist/esm/mds-filter-item.entry.js +2 -2
  821. package/dist/esm/mds-filter.entry.js +2 -2
  822. package/dist/esm/mds-header-bar.entry.js +2 -2
  823. package/dist/esm/mds-header.entry.js +19 -10
  824. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  825. package/dist/esm/mds-hr.entry.js +2 -2
  826. package/dist/esm/mds-img.entry.js +6 -6
  827. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  828. package/dist/esm/mds-input-date-range.entry.js +95 -13
  829. package/dist/esm/mds-input-date.entry.js +124 -27
  830. package/dist/esm/mds-input-field.entry.js +1 -1
  831. package/dist/esm/mds-input-otp.entry.js +65 -19
  832. package/dist/esm/mds-input-range.entry.js +32 -16
  833. package/dist/esm/mds-input-select.entry.js +166 -35
  834. package/dist/esm/mds-input-switch_2.entry.js +63 -21
  835. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  836. package/dist/esm/mds-input-upload.entry.js +141 -68
  837. package/dist/esm/mds-input.entry.js +320 -36
  838. package/dist/esm/mds-keyboard-key.entry.js +11 -8
  839. package/dist/esm/mds-keyboard.entry.js +9 -6
  840. package/dist/esm/mds-kpi-item.entry.js +2 -2
  841. package/dist/esm/mds-kpi.entry.js +1 -1
  842. package/dist/esm/mds-label.entry.js +3 -3
  843. package/dist/esm/mds-list-item.entry.js +2 -2
  844. package/dist/esm/mds-list.entry.js +1 -1
  845. package/dist/esm/mds-mention.entry.js +6 -5
  846. package/dist/esm/mds-modal.entry.js +2 -2
  847. package/dist/esm/mds-note.entry.js +3 -3
  848. package/dist/esm/mds-notification.entry.js +13 -10
  849. package/dist/esm/mds-paginator-item.entry.js +2 -2
  850. package/dist/esm/mds-paginator.entry.js +2 -2
  851. package/dist/esm/mds-policy-ai.entry.js +3 -3
  852. package/dist/esm/mds-pref-animation.entry.js +29 -5
  853. package/dist/esm/mds-pref-consumption.entry.js +29 -5
  854. package/dist/esm/mds-pref-contrast.entry.js +27 -6
  855. package/dist/esm/mds-pref-language-item.entry.js +6 -5
  856. package/dist/esm/mds-pref-language.entry.js +3 -3
  857. package/dist/esm/mds-pref-mode.entry.js +30 -7
  858. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  859. package/dist/esm/mds-pref-theme.entry.js +3 -3
  860. package/dist/esm/mds-pref.entry.js +10 -5
  861. package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
  862. package/dist/esm/mds-price-table-features-row.entry.js +2 -2
  863. package/dist/esm/mds-price-table-features.entry.js +2 -2
  864. package/dist/esm/mds-price-table-header.entry.js +1 -1
  865. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  866. package/dist/esm/mds-price-table-list.entry.js +2 -2
  867. package/dist/esm/mds-price-table.entry.js +1 -1
  868. package/dist/esm/mds-progress_2.entry.js +2 -2
  869. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  870. package/dist/esm/mds-push-notification.entry.js +2 -2
  871. package/dist/esm/mds-quote.entry.js +2 -2
  872. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  873. package/dist/esm/mds-radial-menu.entry.js +2 -2
  874. package/dist/esm/mds-separator.entry.js +2 -2
  875. package/dist/esm/mds-status-bar.entry.js +2 -2
  876. package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
  877. package/dist/esm/mds-stepper-bar.entry.js +6 -4
  878. package/dist/esm/mds-tab-bar-item.entry.js +5 -4
  879. package/dist/esm/mds-tab-bar.entry.js +2 -2
  880. package/dist/esm/mds-tab_2.entry.js +2 -2
  881. package/dist/esm/mds-table-body.entry.js +2 -2
  882. package/dist/esm/mds-table-footer.entry.js +2 -2
  883. package/dist/esm/mds-table-header-cell.entry.js +4 -4
  884. package/dist/esm/mds-table-header.entry.js +3 -3
  885. package/dist/esm/mds-table-row.entry.js +3 -3
  886. package/dist/esm/mds-table.entry.js +3 -3
  887. package/dist/esm/mds-text.entry.js +4 -3
  888. package/dist/esm/mds-toast.entry.js +11 -5
  889. package/dist/esm/mds-tooltip.entry.js +7 -7
  890. package/dist/esm/mds-tree-item.entry.js +3 -3
  891. package/dist/esm/mds-tree.entry.js +1 -1
  892. package/dist/esm/mds-url-view.entry.js +3 -3
  893. package/dist/esm/mds-usage.entry.js +3 -3
  894. package/dist/esm/mds-video-wall.entry.js +1 -1
  895. package/dist/esm/mds-zero.entry.js +2 -2
  896. package/dist/esm/preference-DNNqH7BU.js +385 -0
  897. package/dist/esm-es5/floating-controller-BTYkH_Ih.js +66 -0
  898. package/dist/esm-es5/form-wI0alRSO.js +16 -0
  899. package/dist/esm-es5/index-BhCZiGfL.js +10 -0
  900. package/dist/esm-es5/index-BxPbQB28.js +371 -0
  901. package/dist/esm-es5/index.js +37 -26
  902. package/dist/esm-es5/loader.js +1 -1
  903. package/dist/esm-es5/locale-CVJm6KFD.js +230 -0
  904. package/dist/esm-es5/magma-components.js +2 -2
  905. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  906. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  907. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  908. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  909. package/dist/esm-es5/mds-author.entry.js +1 -1
  910. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  911. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  912. package/dist/esm-es5/mds-avatar.entry.js +5 -3
  913. package/dist/esm-es5/mds-badge.entry.js +3 -4
  914. package/dist/esm-es5/mds-banner_3.entry.js +1 -1
  915. package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -4
  916. package/dist/esm-es5/mds-bibliography.entry.js +2 -2
  917. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  918. package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
  919. package/dist/esm-es5/mds-button-dropdown.entry.js +10 -4
  920. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  921. package/dist/esm-es5/mds-button_3.entry.js +14 -9
  922. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  923. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  924. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  925. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  926. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  927. package/dist/esm-es5/mds-card.entry.js +1 -1
  928. package/dist/esm-es5/mds-details.entry.js +1 -1
  929. package/dist/esm-es5/mds-dropdown.entry.js +3 -3
  930. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  931. package/dist/esm-es5/mds-entity.entry.js +1 -1
  932. package/dist/esm-es5/mds-file-preview.entry.js +16 -14
  933. package/dist/esm-es5/mds-file.entry.js +11 -11
  934. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  935. package/dist/esm-es5/mds-filter.entry.js +1 -1
  936. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  937. package/dist/esm-es5/mds-header.entry.js +8 -6
  938. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  939. package/dist/esm-es5/mds-hr.entry.js +1 -1
  940. package/dist/esm-es5/mds-img.entry.js +2 -2
  941. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  942. package/dist/esm-es5/mds-input-date-range.entry.js +35 -6
  943. package/dist/esm-es5/mds-input-date.entry.js +47 -7
  944. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  945. package/dist/esm-es5/mds-input-otp.entry.js +21 -4
  946. package/dist/esm-es5/mds-input-range.entry.js +15 -7
  947. package/dist/esm-es5/mds-input-select.entry.js +39 -6
  948. package/dist/esm-es5/mds-input-switch_2.entry.js +24 -4
  949. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  950. package/dist/esm-es5/mds-input-upload.entry.js +43 -17
  951. package/dist/esm-es5/mds-input.entry.js +105 -22
  952. package/dist/esm-es5/mds-keyboard-key.entry.js +3 -1
  953. package/dist/esm-es5/mds-keyboard.entry.js +4 -2
  954. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  955. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  956. package/dist/esm-es5/mds-label.entry.js +1 -1
  957. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  958. package/dist/esm-es5/mds-list.entry.js +1 -1
  959. package/dist/esm-es5/mds-mention.entry.js +2 -2
  960. package/dist/esm-es5/mds-modal.entry.js +1 -1
  961. package/dist/esm-es5/mds-note.entry.js +1 -1
  962. package/dist/esm-es5/mds-notification.entry.js +5 -3
  963. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  964. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  965. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  966. package/dist/esm-es5/mds-pref-animation.entry.js +7 -1
  967. package/dist/esm-es5/mds-pref-consumption.entry.js +7 -1
  968. package/dist/esm-es5/mds-pref-contrast.entry.js +8 -2
  969. package/dist/esm-es5/mds-pref-language-item.entry.js +3 -3
  970. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  971. package/dist/esm-es5/mds-pref-mode.entry.js +10 -2
  972. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  973. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  974. package/dist/esm-es5/mds-pref.entry.js +6 -3
  975. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  976. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  977. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  978. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  979. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  980. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  981. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  982. package/dist/esm-es5/mds-progress_2.entry.js +1 -1
  983. package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
  984. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  985. package/dist/esm-es5/mds-quote.entry.js +1 -1
  986. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  987. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  988. package/dist/esm-es5/mds-separator.entry.js +1 -1
  989. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  990. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  991. package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
  992. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -4
  993. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  994. package/dist/esm-es5/mds-tab_2.entry.js +1 -1
  995. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  996. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  997. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  998. package/dist/esm-es5/mds-table-header.entry.js +1 -1
  999. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  1000. package/dist/esm-es5/mds-table.entry.js +1 -1
  1001. package/dist/esm-es5/mds-text.entry.js +2 -2
  1002. package/dist/esm-es5/mds-toast.entry.js +5 -3
  1003. package/dist/esm-es5/mds-tooltip.entry.js +3 -3
  1004. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  1005. package/dist/esm-es5/mds-tree.entry.js +1 -1
  1006. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  1007. package/dist/esm-es5/mds-usage.entry.js +1 -1
  1008. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  1009. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1010. package/dist/esm-es5/preference-DNNqH7BU.js +58 -0
  1011. package/dist/hydrate/index.js +1687 -459
  1012. package/dist/hydrate/index.mjs +1687 -459
  1013. package/dist/magma-components/index.esm.js +1 -1
  1014. package/dist/magma-components/magma-components.esm.js +1 -1
  1015. package/dist/magma-components/magma-components.js +1 -1
  1016. package/dist/magma-components/p-00e47e49.system.entry.js +14 -0
  1017. package/dist/magma-components/p-0141c597.system.entry.js +15 -0
  1018. package/dist/magma-components/p-021f96f8.entry.js +1 -0
  1019. package/dist/magma-components/p-0255924b.system.entry.js +22 -0
  1020. package/dist/magma-components/p-03c2060d.entry.js +1 -0
  1021. package/dist/magma-components/p-05014374.entry.js +1 -0
  1022. package/dist/magma-components/p-05f73994.entry.js +1 -0
  1023. package/dist/magma-components/p-0646392d.entry.js +1 -0
  1024. package/dist/magma-components/p-0a38e4ce.system.entry.js +1 -0
  1025. package/dist/magma-components/p-0a551e86.entry.js +1 -0
  1026. package/dist/magma-components/p-0a904a12.entry.js +1 -0
  1027. package/dist/magma-components/p-0a9fb138.system.entry.js +1 -0
  1028. package/dist/magma-components/p-106f39c6.entry.js +1 -0
  1029. package/dist/magma-components/p-10ad73e3.system.entry.js +19 -0
  1030. package/dist/magma-components/p-1150ffb8.system.entry.js +10 -0
  1031. package/dist/magma-components/p-12c5ae26.entry.js +1 -0
  1032. package/dist/magma-components/p-13a1d35f.entry.js +1 -0
  1033. package/dist/magma-components/p-15d4846d.entry.js +1 -0
  1034. package/dist/magma-components/p-1673225e.system.entry.js +8 -0
  1035. package/dist/magma-components/p-188f4b1d.system.entry.js +7 -0
  1036. package/dist/magma-components/p-18c8628c.entry.js +1 -0
  1037. package/dist/magma-components/p-1be45c75.entry.js +1 -0
  1038. package/dist/magma-components/p-1cb495d3.entry.js +1 -0
  1039. package/dist/magma-components/p-1e3d89cd.system.entry.js +1 -0
  1040. package/dist/magma-components/p-1e700f0a.entry.js +1 -0
  1041. package/dist/magma-components/p-20e4f7dd.system.entry.js +15 -0
  1042. package/dist/magma-components/p-21865dd2.entry.js +1 -0
  1043. package/dist/magma-components/p-218d8254.system.entry.js +1 -0
  1044. package/dist/magma-components/p-21c46e74.system.entry.js +4 -0
  1045. package/dist/magma-components/p-231b604f.system.entry.js +1 -0
  1046. package/dist/magma-components/p-2507f5cf.entry.js +1 -0
  1047. package/dist/magma-components/p-2723caa7.system.entry.js +13 -0
  1048. package/dist/magma-components/p-277444bc.entry.js +1 -0
  1049. package/dist/magma-components/p-283b0548.system.entry.js +102 -0
  1050. package/dist/magma-components/p-2c44c961.system.entry.js +10 -0
  1051. package/dist/magma-components/p-2ec0db8e.entry.js +1 -0
  1052. package/dist/magma-components/p-2f520704.entry.js +1 -0
  1053. package/dist/magma-components/p-30c3872d.entry.js +1 -0
  1054. package/dist/magma-components/p-314abfba.entry.js +1 -0
  1055. package/dist/magma-components/p-322a5452.entry.js +1 -0
  1056. package/dist/magma-components/p-3231a6a3.entry.js +1 -0
  1057. package/dist/magma-components/p-34401d35.entry.js +1 -0
  1058. package/dist/magma-components/p-35aa29c5.entry.js +1 -0
  1059. package/dist/magma-components/p-35ee2d77.entry.js +1 -0
  1060. package/dist/magma-components/p-36a67b51.entry.js +1 -0
  1061. package/dist/magma-components/p-3a1339bb.system.entry.js +4 -0
  1062. package/dist/magma-components/p-3d56e3f4.entry.js +1 -0
  1063. package/dist/magma-components/p-3e0eed90.system.entry.js +12 -0
  1064. package/dist/magma-components/p-3ecade3c.system.entry.js +11 -0
  1065. package/dist/magma-components/p-3eefca33.system.entry.js +16 -0
  1066. package/dist/magma-components/p-4211ce6c.system.entry.js +1 -0
  1067. package/dist/magma-components/p-436f9b27.system.entry.js +38 -0
  1068. package/dist/magma-components/p-439c9ce3.system.entry.js +10 -0
  1069. package/dist/magma-components/p-44e2a945.system.entry.js +1 -0
  1070. package/dist/magma-components/p-4658154f.entry.js +1 -0
  1071. package/dist/magma-components/p-474047fa.system.entry.js +10 -0
  1072. package/dist/magma-components/p-474c5d53.system.entry.js +11 -0
  1073. package/dist/magma-components/p-493fb2f4.system.entry.js +7 -0
  1074. package/dist/magma-components/p-4ac94b84.system.entry.js +32 -0
  1075. package/dist/magma-components/p-4c73f14b.system.entry.js +14 -0
  1076. package/dist/magma-components/p-4cb88b06.system.entry.js +1 -0
  1077. package/dist/magma-components/p-4dd6a39b.entry.js +1 -0
  1078. package/dist/magma-components/p-4e7f21ac.entry.js +1 -0
  1079. package/dist/magma-components/p-4f14a166.entry.js +1 -0
  1080. package/dist/magma-components/p-50ea11c9.system.entry.js +32 -0
  1081. package/dist/magma-components/p-514d0fcb.entry.js +1 -0
  1082. package/dist/magma-components/p-52793bdb.system.entry.js +1 -0
  1083. package/dist/magma-components/p-5299f709.system.entry.js +26 -0
  1084. package/dist/magma-components/p-57762bae.entry.js +1 -0
  1085. package/dist/magma-components/p-577db922.entry.js +1 -0
  1086. package/dist/magma-components/p-58b82b40.system.entry.js +10 -0
  1087. package/dist/magma-components/p-5a7267e8.system.entry.js +4 -0
  1088. package/dist/magma-components/p-5a911e7b.system.entry.js +13 -0
  1089. package/dist/magma-components/p-5ac9e2f4.entry.js +1 -0
  1090. package/dist/magma-components/p-5c94e0c2.system.entry.js +7 -0
  1091. package/dist/magma-components/p-5ccf493c.system.entry.js +7 -0
  1092. package/dist/magma-components/p-5d119459.entry.js +1 -0
  1093. package/dist/magma-components/p-5f1132b8.entry.js +1 -0
  1094. package/dist/magma-components/p-5fd04ce1.entry.js +1 -0
  1095. package/dist/magma-components/p-60f67c37.entry.js +1 -0
  1096. package/dist/magma-components/p-61bedbe7.system.entry.js +68 -0
  1097. package/dist/magma-components/p-632bc44c.entry.js +1 -0
  1098. package/dist/magma-components/p-64f78149.system.entry.js +1 -0
  1099. package/dist/magma-components/p-69c21eae.entry.js +1 -0
  1100. package/dist/magma-components/p-6a6326c6.entry.js +1 -0
  1101. package/dist/magma-components/p-6c18c40e.system.entry.js +89 -0
  1102. package/dist/magma-components/p-6c800411.entry.js +1 -0
  1103. package/dist/magma-components/p-6e03b83a.entry.js +1 -0
  1104. package/dist/magma-components/p-6ed05d99.entry.js +1 -0
  1105. package/dist/magma-components/p-6f74cdf5.system.entry.js +12 -0
  1106. package/dist/magma-components/p-6fdb3fe7.system.entry.js +27 -0
  1107. package/dist/magma-components/p-6ff8be3e.system.entry.js +30 -0
  1108. package/dist/magma-components/p-7-TP6wnI.js +1 -0
  1109. package/dist/magma-components/p-73fde271.system.entry.js +72 -0
  1110. package/dist/magma-components/p-74b51db8.entry.js +1 -0
  1111. package/dist/magma-components/p-76ecad2f.entry.js +18 -0
  1112. package/dist/magma-components/p-774ce1d2.entry.js +1 -0
  1113. package/dist/magma-components/p-77615947.system.entry.js +1 -0
  1114. package/dist/magma-components/p-7770b989.system.entry.js +1 -0
  1115. package/dist/magma-components/p-7787ebaf.system.entry.js +1 -0
  1116. package/dist/magma-components/p-789c1b93.system.entry.js +1 -0
  1117. package/dist/magma-components/p-7927010f.system.entry.js +25 -0
  1118. package/dist/magma-components/p-79421ee1.system.entry.js +11 -0
  1119. package/dist/magma-components/p-7ab15184.entry.js +1 -0
  1120. package/dist/magma-components/p-7afec7ee.entry.js +1 -0
  1121. package/dist/magma-components/p-7e085c82.entry.js +1 -0
  1122. package/dist/magma-components/p-7e7cf986.system.entry.js +7 -0
  1123. package/dist/magma-components/p-7ffda4f5.entry.js +1 -0
  1124. package/dist/magma-components/p-809adece.system.entry.js +17 -0
  1125. package/dist/magma-components/p-8183b7ed.entry.js +1 -0
  1126. package/dist/magma-components/p-832883c4.entry.js +1 -0
  1127. package/dist/magma-components/p-83394280.system.entry.js +32 -0
  1128. package/dist/magma-components/p-835fc007.entry.js +1 -0
  1129. package/dist/magma-components/p-837fbbf7.system.entry.js +1 -0
  1130. package/dist/magma-components/p-84645c60.system.entry.js +1 -0
  1131. package/dist/magma-components/p-86f4b6eb.system.entry.js +20 -0
  1132. package/dist/magma-components/p-87026d34.entry.js +1 -0
  1133. package/dist/magma-components/p-87faaa8e.system.entry.js +16 -0
  1134. package/dist/magma-components/p-88287207.system.entry.js +13 -0
  1135. package/dist/magma-components/p-883c223a.system.entry.js +4 -0
  1136. package/dist/magma-components/p-88f99a4f.system.entry.js +81 -0
  1137. package/dist/magma-components/p-8a3d2259.system.entry.js +17 -0
  1138. package/dist/magma-components/p-8aafbfdf.system.entry.js +49 -0
  1139. package/dist/magma-components/p-8afc9bc4.system.entry.js +2838 -0
  1140. package/dist/magma-components/p-8ca1d30d.system.entry.js +1 -0
  1141. package/dist/magma-components/p-8ccd187a.entry.js +1 -0
  1142. package/dist/magma-components/p-8d53bd61.system.entry.js +4 -0
  1143. package/dist/magma-components/p-8yWTOQiz.js +1 -0
  1144. package/dist/magma-components/p-90993b0b.system.entry.js +68 -0
  1145. package/dist/magma-components/p-915c5f06.system.entry.js +47 -0
  1146. package/dist/magma-components/p-91c4015f.system.entry.js +4 -0
  1147. package/dist/magma-components/p-91ff1560.system.entry.js +7 -0
  1148. package/dist/magma-components/p-92d9b537.entry.js +1 -0
  1149. package/dist/magma-components/p-932620b6.entry.js +1 -0
  1150. package/dist/magma-components/p-9344a234.entry.js +1 -0
  1151. package/dist/magma-components/p-93d39066.entry.js +1 -0
  1152. package/dist/magma-components/p-97f6166e.system.entry.js +28 -0
  1153. package/dist/magma-components/p-9d1cdb42.system.entry.js +15 -0
  1154. package/dist/magma-components/p-9dcfc247.entry.js +1 -0
  1155. package/dist/magma-components/p-9eb1e154.system.entry.js +14 -0
  1156. package/dist/magma-components/p-9fe14430.system.entry.js +7 -0
  1157. package/dist/magma-components/p-BPNsbMrg.system.js +67 -0
  1158. package/dist/magma-components/p-BS7eEvwu.system.js +17 -0
  1159. package/dist/magma-components/p-BTF_aRDG.system.js +231 -0
  1160. package/dist/magma-components/p-BpVYIPkx.js +1 -0
  1161. package/dist/magma-components/p-BxPbQB28.js +3 -0
  1162. package/dist/magma-components/p-CdsZyFQ-.system.js +10 -0
  1163. package/dist/magma-components/p-D7BrzK-C.system.js +90 -0
  1164. package/dist/magma-components/p-DaONbL_w.system.js +162 -0
  1165. package/dist/magma-components/p-Kv1yahtR.js +5 -0
  1166. package/dist/magma-components/p-ZDRIVCAt.system.js +5 -0
  1167. package/dist/magma-components/p-a41e52f7.entry.js +1 -0
  1168. package/dist/magma-components/p-a462aadd.entry.js +1 -0
  1169. package/dist/magma-components/p-a4a83a63.entry.js +1 -0
  1170. package/dist/magma-components/p-a64bbb36.system.entry.js +40 -0
  1171. package/dist/magma-components/p-a6af4083.system.entry.js +32 -0
  1172. package/dist/magma-components/p-a7e7f2c0.entry.js +1 -0
  1173. package/dist/magma-components/p-aba96089.entry.js +1 -0
  1174. package/dist/magma-components/p-ac81f63a.system.entry.js +913 -0
  1175. package/dist/magma-components/p-aed8b119.entry.js +1 -0
  1176. package/dist/magma-components/p-b24b5179.entry.js +1 -0
  1177. package/dist/magma-components/p-b295e4ab.system.entry.js +1 -0
  1178. package/dist/magma-components/p-b2c62b6e.system.entry.js +7 -0
  1179. package/dist/magma-components/p-b431ca8a.entry.js +1 -0
  1180. package/dist/magma-components/p-b5559b28.system.entry.js +1 -0
  1181. package/dist/magma-components/p-b626c69f.system.entry.js +1 -0
  1182. package/dist/magma-components/p-b897c97d.entry.js +1 -0
  1183. package/dist/magma-components/p-bab4c75e.system.entry.js +45 -0
  1184. package/dist/magma-components/p-bba04b08.system.entry.js +14 -0
  1185. package/dist/magma-components/p-bc53c19e.entry.js +8 -0
  1186. package/dist/magma-components/p-bf2fe278.system.entry.js +16 -0
  1187. package/dist/magma-components/p-c0136138.entry.js +1 -0
  1188. package/dist/magma-components/p-c166ec50.system.entry.js +47 -0
  1189. package/dist/magma-components/p-c22887f7.system.entry.js +90 -0
  1190. package/dist/magma-components/p-c28fce23.entry.js +1 -0
  1191. package/dist/magma-components/p-c34d9e61.system.entry.js +1 -0
  1192. package/dist/magma-components/p-c48bad95.entry.js +1 -0
  1193. package/dist/magma-components/p-cb2c5f1b.entry.js +1 -0
  1194. package/dist/magma-components/p-cc0c6ae7.entry.js +1 -0
  1195. package/dist/magma-components/p-cc2a09f2.system.entry.js +16 -0
  1196. package/dist/magma-components/p-cc9d9458.entry.js +1 -0
  1197. package/dist/magma-components/p-ccb14076.system.entry.js +217 -0
  1198. package/dist/magma-components/p-ccb6898a.system.entry.js +4 -0
  1199. package/dist/magma-components/p-d04ac65d.entry.js +1 -0
  1200. package/dist/magma-components/p-d07d227b.system.entry.js +8 -0
  1201. package/dist/magma-components/p-d1faf129.entry.js +1 -0
  1202. package/dist/magma-components/p-d282a929.entry.js +1 -0
  1203. package/dist/magma-components/p-d2f134ac.entry.js +1 -0
  1204. package/dist/magma-components/p-d47df503.system.entry.js +37 -0
  1205. package/dist/magma-components/p-d5bd6bef.entry.js +1 -0
  1206. package/dist/magma-components/p-d9804d2f.entry.js +1 -0
  1207. package/dist/magma-components/p-dc06b29e.entry.js +1 -0
  1208. package/dist/magma-components/p-dc59b764.entry.js +1 -0
  1209. package/dist/magma-components/p-dc7bada4.entry.js +1 -0
  1210. package/dist/magma-components/p-dcc3be64.system.entry.js +7 -0
  1211. package/dist/magma-components/p-dd58f9ee.entry.js +18 -0
  1212. package/dist/magma-components/p-de091be7.system.entry.js +7 -0
  1213. package/dist/magma-components/p-dfe8552c.system.entry.js +11 -0
  1214. package/dist/magma-components/p-e1e69217.system.entry.js +1 -0
  1215. package/dist/magma-components/p-e213640b.entry.js +1 -0
  1216. package/dist/magma-components/p-e2ef1d6f.entry.js +1 -0
  1217. package/dist/magma-components/p-e2ef5996.entry.js +1 -0
  1218. package/dist/magma-components/p-e7751639.entry.js +1 -0
  1219. package/dist/magma-components/p-e887a14c.entry.js +1 -0
  1220. package/dist/magma-components/p-e8cd2b93.system.entry.js +4 -0
  1221. package/dist/magma-components/p-e8ed096b.entry.js +1 -0
  1222. package/dist/magma-components/p-eaff7300.entry.js +1 -0
  1223. package/dist/magma-components/p-eb681207.system.entry.js +1 -0
  1224. package/dist/magma-components/p-ec9cc7b9.entry.js +1 -0
  1225. package/dist/magma-components/p-eca99a0a.system.entry.js +1 -0
  1226. package/dist/magma-components/p-ecd3c27f.entry.js +1 -0
  1227. package/dist/magma-components/p-ed897f9f.entry.js +1 -0
  1228. package/dist/magma-components/p-ee1e7f07.system.entry.js +3 -0
  1229. package/dist/magma-components/p-ef3424e3.entry.js +1 -0
  1230. package/dist/magma-components/p-f29a059d.system.entry.js +15 -0
  1231. package/dist/magma-components/p-f5bb8c0c.entry.js +1 -0
  1232. package/dist/magma-components/p-f654eafe.entry.js +1 -0
  1233. package/dist/magma-components/p-f733ae92.system.entry.js +16 -0
  1234. package/dist/magma-components/p-f8eb19b3.entry.js +1 -0
  1235. package/dist/magma-components/p-f8feee93.system.entry.js +4 -0
  1236. package/dist/magma-components/p-faa1f22c.entry.js +1 -0
  1237. package/dist/magma-components/p-ffa1a0b4.system.entry.js +1 -0
  1238. package/dist/magma-components/p-hVpoPUxI.system.js +58 -0
  1239. package/dist/magma-components/p-wI0alRSO.js +1 -0
  1240. package/dist/stats.json +3303 -2650
  1241. package/dist/types/common/form.d.ts +8 -1
  1242. package/dist/types/common/preference.d.ts +1 -1
  1243. package/dist/types/common/validity/index.d.ts +22 -0
  1244. package/dist/types/components/mds-avatar/mds-avatar.d.ts +2 -0
  1245. package/dist/types/components/mds-button/mds-button.d.ts +9 -0
  1246. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +23 -1
  1247. package/dist/types/components/mds-header/mds-header.d.ts +1 -0
  1248. package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
  1249. package/dist/types/components/mds-icon/services/icons-set.service.d.ts +10 -9
  1250. package/dist/types/components/mds-input/mds-input.d.ts +41 -2
  1251. package/dist/types/components/mds-input/meta/validators.d.ts +22 -0
  1252. package/dist/types/components/mds-input/meta/validity.d.ts +14 -0
  1253. package/dist/types/components/mds-input-date/mds-input-date.d.ts +38 -0
  1254. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +26 -0
  1255. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +21 -2
  1256. package/dist/types/components/mds-input-range/mds-input-range.d.ts +8 -1
  1257. package/dist/types/components/mds-input-select/mds-input-select.d.ts +42 -4
  1258. package/dist/types/components/mds-input-select/meta/event-detail.d.ts +8 -0
  1259. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +17 -0
  1260. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +27 -5
  1261. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1262. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +10 -1
  1263. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +10 -1
  1264. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +10 -1
  1265. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +10 -1
  1266. package/dist/types/components/mds-toast/mds-toast.d.ts +1 -0
  1267. package/dist/types/components.d.ts +102 -19
  1268. package/package.json +33 -20
  1269. package/dist/cjs/floating-controller-Cd_vNLLD.js +0 -369
  1270. package/dist/cjs/form-DTCBh5WK.js +0 -22
  1271. package/dist/cjs/index--6wz7eWi.js +0 -5183
  1272. package/dist/cjs/locale-CB5_Z7PE.js +0 -816
  1273. package/dist/cjs/preference-eJcbLLAn.js +0 -389
  1274. package/dist/components/p--8aaJX-p.js +0 -1
  1275. package/dist/components/p-A9TZf0Ii.js +0 -1
  1276. package/dist/components/p-B2A_hlV2.js +0 -1
  1277. package/dist/components/p-B9DJLgwr.js +0 -1
  1278. package/dist/components/p-BH3bWzRT.js +0 -1
  1279. package/dist/components/p-BJNK4p33.js +0 -1
  1280. package/dist/components/p-BNHXZ-JR.js +0 -1
  1281. package/dist/components/p-BSxuG1vZ.js +0 -1
  1282. package/dist/components/p-BTHR4xXu.js +0 -1
  1283. package/dist/components/p-BhFTcUD0.js +0 -3
  1284. package/dist/components/p-BouRLCYL.js +0 -1
  1285. package/dist/components/p-Bss3F51Q.js +0 -5
  1286. package/dist/components/p-Bt4xX5ww.js +0 -1
  1287. package/dist/components/p-C03KYHGv.js +0 -1
  1288. package/dist/components/p-C58NKMEE.js +0 -1
  1289. package/dist/components/p-CBLAz3_J.js +0 -1
  1290. package/dist/components/p-CVgKDZPF.js +0 -1
  1291. package/dist/components/p-CVpjH8Un.js +0 -1
  1292. package/dist/components/p-Caksrfcd.js +0 -1
  1293. package/dist/components/p-CatD1iUY.js +0 -1
  1294. package/dist/components/p-CbufYCNj.js +0 -1
  1295. package/dist/components/p-Cehcn85x.js +0 -1
  1296. package/dist/components/p-ClKNADBg.js +0 -8
  1297. package/dist/components/p-CvIFS8oA.js +0 -1
  1298. package/dist/components/p-D3-GP4KF.js +0 -1
  1299. package/dist/components/p-D8I1RblC.js +0 -1
  1300. package/dist/components/p-DLE5TNTp.js +0 -1
  1301. package/dist/components/p-DaI5QqNu.js +0 -1
  1302. package/dist/components/p-Deh5Aia-.js +0 -1
  1303. package/dist/components/p-Dj_oN194.js +0 -1
  1304. package/dist/components/p-DmELzfvf.js +0 -1
  1305. package/dist/components/p-DtxB7DYE.js +0 -1
  1306. package/dist/components/p-cBZsPiMJ.js +0 -1
  1307. package/dist/components/p-sqRs6oj4.js +0 -1
  1308. package/dist/components/p-wq6nWuWE.js +0 -1
  1309. package/dist/esm/floating-controller-DVldZ5mh.js +0 -366
  1310. package/dist/esm/form-A9TZf0Ii.js +0 -19
  1311. package/dist/esm/index-DIiEV39g.js +0 -5149
  1312. package/dist/esm/locale-CbJbTW_c.js +0 -814
  1313. package/dist/esm/preference-CKerJx2M.js +0 -385
  1314. package/dist/esm-es5/floating-controller-DVldZ5mh.js +0 -66
  1315. package/dist/esm-es5/form-A9TZf0Ii.js +0 -8
  1316. package/dist/esm-es5/index-DIiEV39g.js +0 -371
  1317. package/dist/esm-es5/locale-CbJbTW_c.js +0 -230
  1318. package/dist/esm-es5/preference-CKerJx2M.js +0 -58
  1319. package/dist/magma-components/p-03be5c0c.entry.js +0 -1
  1320. package/dist/magma-components/p-0715a2cb.system.entry.js +0 -12
  1321. package/dist/magma-components/p-071f18c6.system.entry.js +0 -27
  1322. package/dist/magma-components/p-0798b0bf.system.entry.js +0 -24
  1323. package/dist/magma-components/p-07fde74d.system.entry.js +0 -39
  1324. package/dist/magma-components/p-086fb3aa.entry.js +0 -1
  1325. package/dist/magma-components/p-0a088e7d.system.entry.js +0 -10
  1326. package/dist/magma-components/p-0a691082.entry.js +0 -1
  1327. package/dist/magma-components/p-0ad3b4da.system.entry.js +0 -102
  1328. package/dist/magma-components/p-0af8d821.entry.js +0 -1
  1329. package/dist/magma-components/p-0ec21574.system.entry.js +0 -10
  1330. package/dist/magma-components/p-0f6bb54d.system.entry.js +0 -22
  1331. package/dist/magma-components/p-102d3bd3.system.entry.js +0 -1
  1332. package/dist/magma-components/p-10704ede.system.entry.js +0 -4
  1333. package/dist/magma-components/p-15f63bf3.entry.js +0 -1
  1334. package/dist/magma-components/p-16e9fb14.system.entry.js +0 -7
  1335. package/dist/magma-components/p-1780b8ba.entry.js +0 -1
  1336. package/dist/magma-components/p-181dfb04.entry.js +0 -1
  1337. package/dist/magma-components/p-184720be.system.entry.js +0 -1
  1338. package/dist/magma-components/p-18f7b970.system.entry.js +0 -4
  1339. package/dist/magma-components/p-1a8c5086.system.entry.js +0 -19
  1340. package/dist/magma-components/p-1afc0452.entry.js +0 -1
  1341. package/dist/magma-components/p-1c0a7e24.system.entry.js +0 -30
  1342. package/dist/magma-components/p-1cce738a.system.entry.js +0 -32
  1343. package/dist/magma-components/p-1dcfb13e.entry.js +0 -1
  1344. package/dist/magma-components/p-1df6ac96.system.entry.js +0 -7
  1345. package/dist/magma-components/p-209063b6.system.entry.js +0 -50
  1346. package/dist/magma-components/p-216f95cc.system.entry.js +0 -1
  1347. package/dist/magma-components/p-21891a24.entry.js +0 -1
  1348. package/dist/magma-components/p-21d6687a.system.entry.js +0 -7
  1349. package/dist/magma-components/p-231505e8.entry.js +0 -1
  1350. package/dist/magma-components/p-23e61db9.system.entry.js +0 -4
  1351. package/dist/magma-components/p-241dbf61.entry.js +0 -1
  1352. package/dist/magma-components/p-25935d33.system.entry.js +0 -1
  1353. package/dist/magma-components/p-27ea99ee.entry.js +0 -8
  1354. package/dist/magma-components/p-284c40cd.system.entry.js +0 -4
  1355. package/dist/magma-components/p-29684655.system.entry.js +0 -16
  1356. package/dist/magma-components/p-2b73fee6.entry.js +0 -1
  1357. package/dist/magma-components/p-2d5aadba.system.entry.js +0 -7
  1358. package/dist/magma-components/p-2de17848.entry.js +0 -1
  1359. package/dist/magma-components/p-34482514.entry.js +0 -1
  1360. package/dist/magma-components/p-34c0890e.entry.js +0 -1
  1361. package/dist/magma-components/p-3635eca6.system.entry.js +0 -1
  1362. package/dist/magma-components/p-3b0c1202.entry.js +0 -1
  1363. package/dist/magma-components/p-3d8e63a2.system.entry.js +0 -63
  1364. package/dist/magma-components/p-3db23b5f.system.entry.js +0 -16
  1365. package/dist/magma-components/p-3ec7d3ea.entry.js +0 -1
  1366. package/dist/magma-components/p-3f7d3060.system.entry.js +0 -42
  1367. package/dist/magma-components/p-40563e33.entry.js +0 -1
  1368. package/dist/magma-components/p-41bf6f25.system.entry.js +0 -81
  1369. package/dist/magma-components/p-421a630e.entry.js +0 -1
  1370. package/dist/magma-components/p-4297da23.system.entry.js +0 -1
  1371. package/dist/magma-components/p-4299b76b.system.entry.js +0 -4
  1372. package/dist/magma-components/p-4543501c.entry.js +0 -1
  1373. package/dist/magma-components/p-454c4774.entry.js +0 -1
  1374. package/dist/magma-components/p-4616bc07.entry.js +0 -1
  1375. package/dist/magma-components/p-46786d71.system.entry.js +0 -14
  1376. package/dist/magma-components/p-470e5ac8.system.entry.js +0 -1
  1377. package/dist/magma-components/p-481008e9.system.entry.js +0 -13
  1378. package/dist/magma-components/p-48d37230.entry.js +0 -1
  1379. package/dist/magma-components/p-4b3a8132.system.entry.js +0 -13
  1380. package/dist/magma-components/p-4c8316a8.entry.js +0 -1
  1381. package/dist/magma-components/p-4c95442e.entry.js +0 -1
  1382. package/dist/magma-components/p-4e4bdbf8.entry.js +0 -1
  1383. package/dist/magma-components/p-4e5ab0e4.system.entry.js +0 -16
  1384. package/dist/magma-components/p-4f107cb2.system.entry.js +0 -2838
  1385. package/dist/magma-components/p-54b995c2.system.entry.js +0 -4
  1386. package/dist/magma-components/p-56ad5bf2.entry.js +0 -1
  1387. package/dist/magma-components/p-59de81ac.entry.js +0 -1
  1388. package/dist/magma-components/p-5a7ead55.system.entry.js +0 -37
  1389. package/dist/magma-components/p-5e43274a.system.entry.js +0 -15
  1390. package/dist/magma-components/p-5f545f85.system.entry.js +0 -1
  1391. package/dist/magma-components/p-61a5ac3d.system.entry.js +0 -17
  1392. package/dist/magma-components/p-636cc471.entry.js +0 -1
  1393. package/dist/magma-components/p-66ce2dee.entry.js +0 -1
  1394. package/dist/magma-components/p-67d80d37.system.entry.js +0 -1
  1395. package/dist/magma-components/p-6937f340.entry.js +0 -1
  1396. package/dist/magma-components/p-69d1b815.entry.js +0 -1
  1397. package/dist/magma-components/p-6b7e449f.entry.js +0 -1
  1398. package/dist/magma-components/p-6c417ea1.system.entry.js +0 -913
  1399. package/dist/magma-components/p-6cd7cfe3.entry.js +0 -1
  1400. package/dist/magma-components/p-6ce60d59.entry.js +0 -1
  1401. package/dist/magma-components/p-6cf760ea.system.entry.js +0 -45
  1402. package/dist/magma-components/p-6dc27543.entry.js +0 -1
  1403. package/dist/magma-components/p-6de37588.entry.js +0 -1
  1404. package/dist/magma-components/p-6edc4f16.system.entry.js +0 -14
  1405. package/dist/magma-components/p-6f6b5eb5.entry.js +0 -1
  1406. package/dist/magma-components/p-7090184f.entry.js +0 -1
  1407. package/dist/magma-components/p-716ad14c.entry.js +0 -1
  1408. package/dist/magma-components/p-71804224.entry.js +0 -1
  1409. package/dist/magma-components/p-735dc594.system.entry.js +0 -1
  1410. package/dist/magma-components/p-739fdf76.system.entry.js +0 -1
  1411. package/dist/magma-components/p-74b0902a.entry.js +0 -1
  1412. package/dist/magma-components/p-7530a2f2.entry.js +0 -1
  1413. package/dist/magma-components/p-75dd012a.system.entry.js +0 -11
  1414. package/dist/magma-components/p-75fcf1a4.entry.js +0 -1
  1415. package/dist/magma-components/p-76ae22d6.entry.js +0 -1
  1416. package/dist/magma-components/p-78248693.entry.js +0 -1
  1417. package/dist/magma-components/p-78fef00a.entry.js +0 -1
  1418. package/dist/magma-components/p-7c0d202c.entry.js +0 -1
  1419. package/dist/magma-components/p-7fc29447.entry.js +0 -1
  1420. package/dist/magma-components/p-81b72b6e.entry.js +0 -1
  1421. package/dist/magma-components/p-859ab5a2.entry.js +0 -18
  1422. package/dist/magma-components/p-896ae0ee.entry.js +0 -1
  1423. package/dist/magma-components/p-89a3bc7a.system.entry.js +0 -16
  1424. package/dist/magma-components/p-8b7fa8d7.entry.js +0 -1
  1425. package/dist/magma-components/p-8c4fb7ec.system.entry.js +0 -30
  1426. package/dist/magma-components/p-8dff6606.system.entry.js +0 -11
  1427. package/dist/magma-components/p-8e40eda3.system.entry.js +0 -9
  1428. package/dist/magma-components/p-91b9d4e7.system.entry.js +0 -4
  1429. package/dist/magma-components/p-92e1001f.entry.js +0 -1
  1430. package/dist/magma-components/p-9378b373.system.entry.js +0 -49
  1431. package/dist/magma-components/p-960dc9b5.system.entry.js +0 -15
  1432. package/dist/magma-components/p-9626eaff.system.entry.js +0 -134
  1433. package/dist/magma-components/p-9741d95e.system.entry.js +0 -7
  1434. package/dist/magma-components/p-97ea9e6e.system.entry.js +0 -68
  1435. package/dist/magma-components/p-9846fe89.system.entry.js +0 -1
  1436. package/dist/magma-components/p-998721b9.system.entry.js +0 -1
  1437. package/dist/magma-components/p-9a5296c0.system.entry.js +0 -7
  1438. package/dist/magma-components/p-9b2ee3fe.entry.js +0 -1
  1439. package/dist/magma-components/p-9be4a736.entry.js +0 -1
  1440. package/dist/magma-components/p-9ca7932d.system.entry.js +0 -8
  1441. package/dist/magma-components/p-9d86477d.system.entry.js +0 -1
  1442. package/dist/magma-components/p-9e3bc553.system.entry.js +0 -26
  1443. package/dist/magma-components/p-9e58467e.system.entry.js +0 -10
  1444. package/dist/magma-components/p-9e9a1ebd.system.entry.js +0 -15
  1445. package/dist/magma-components/p-A9TZf0Ii.js +0 -1
  1446. package/dist/magma-components/p-BFnx_0hM.js +0 -5
  1447. package/dist/magma-components/p-BbMKuVem.js +0 -1
  1448. package/dist/magma-components/p-C2FHijr2.system.js +0 -231
  1449. package/dist/magma-components/p-CBam2PI8.system.js +0 -79
  1450. package/dist/magma-components/p-CDTiTqY0.system.js +0 -58
  1451. package/dist/magma-components/p-CI85vVs8.system.js +0 -9
  1452. package/dist/magma-components/p-CnXBPjmc.system.js +0 -5
  1453. package/dist/magma-components/p-DB8Rm54c.js +0 -1
  1454. package/dist/magma-components/p-DIiEV39g.js +0 -3
  1455. package/dist/magma-components/p-DmC-b-ZK.system.js +0 -67
  1456. package/dist/magma-components/p-MGv0i39Y.system.js +0 -162
  1457. package/dist/magma-components/p-a3279a73.system.entry.js +0 -11
  1458. package/dist/magma-components/p-a3b0f586.entry.js +0 -1
  1459. package/dist/magma-components/p-a3fc2ea4.system.entry.js +0 -39
  1460. package/dist/magma-components/p-a5ac5e0b.entry.js +0 -1
  1461. package/dist/magma-components/p-a8ec3080.system.entry.js +0 -27
  1462. package/dist/magma-components/p-a906a02f.system.entry.js +0 -16
  1463. package/dist/magma-components/p-a93b2a39.entry.js +0 -1
  1464. package/dist/magma-components/p-aa267e7b.entry.js +0 -1
  1465. package/dist/magma-components/p-ab9095ae.system.entry.js +0 -4
  1466. package/dist/magma-components/p-ac544ab1.entry.js +0 -1
  1467. package/dist/magma-components/p-ace198e9.entry.js +0 -1
  1468. package/dist/magma-components/p-ad3983b2.entry.js +0 -1
  1469. package/dist/magma-components/p-af41c8b8.system.entry.js +0 -1
  1470. package/dist/magma-components/p-af45f0a5.system.entry.js +0 -20
  1471. package/dist/magma-components/p-b23a6c83.entry.js +0 -1
  1472. package/dist/magma-components/p-b35c26f8.entry.js +0 -18
  1473. package/dist/magma-components/p-b3a3578c.entry.js +0 -1
  1474. package/dist/magma-components/p-b49e0321.system.entry.js +0 -1
  1475. package/dist/magma-components/p-b71e0d51.entry.js +0 -1
  1476. package/dist/magma-components/p-b8d4a14e.entry.js +0 -1
  1477. package/dist/magma-components/p-b9fecfd5.entry.js +0 -1
  1478. package/dist/magma-components/p-ba035f90.entry.js +0 -1
  1479. package/dist/magma-components/p-bc51d310.system.entry.js +0 -1
  1480. package/dist/magma-components/p-bd490a8e.entry.js +0 -1
  1481. package/dist/magma-components/p-be198039.system.entry.js +0 -4
  1482. package/dist/magma-components/p-be692266.system.entry.js +0 -13
  1483. package/dist/magma-components/p-bf7168b4.entry.js +0 -1
  1484. package/dist/magma-components/p-bf84d9fa.entry.js +0 -1
  1485. package/dist/magma-components/p-c1fb2eb7.entry.js +0 -1
  1486. package/dist/magma-components/p-c4e58240.entry.js +0 -1
  1487. package/dist/magma-components/p-c573de10.entry.js +0 -1
  1488. package/dist/magma-components/p-c6be3db7.system.entry.js +0 -1
  1489. package/dist/magma-components/p-c70d7159.entry.js +0 -1
  1490. package/dist/magma-components/p-c7517884.system.entry.js +0 -38
  1491. package/dist/magma-components/p-c9be79bd.entry.js +0 -1
  1492. package/dist/magma-components/p-c9e12c2b.system.entry.js +0 -7
  1493. package/dist/magma-components/p-cb6a1908.entry.js +0 -1
  1494. package/dist/magma-components/p-cbd5aef4.system.entry.js +0 -14
  1495. package/dist/magma-components/p-cd21137b.system.entry.js +0 -1
  1496. package/dist/magma-components/p-cd5866c8.entry.js +0 -1
  1497. package/dist/magma-components/p-ce0ecc75.system.entry.js +0 -15
  1498. package/dist/magma-components/p-ce4e1a41.system.entry.js +0 -1
  1499. package/dist/magma-components/p-d3116844.entry.js +0 -1
  1500. package/dist/magma-components/p-d38165ed.system.entry.js +0 -1
  1501. package/dist/magma-components/p-d3933a22.entry.js +0 -1
  1502. package/dist/magma-components/p-d44c49d6.system.entry.js +0 -8
  1503. package/dist/magma-components/p-d4a529ce.entry.js +0 -1
  1504. package/dist/magma-components/p-d6d4aa1a.entry.js +0 -1
  1505. package/dist/magma-components/p-d81e7100.system.entry.js +0 -15
  1506. package/dist/magma-components/p-d8c27f4b.entry.js +0 -1
  1507. package/dist/magma-components/p-d921d876.entry.js +0 -1
  1508. package/dist/magma-components/p-da1ac3e1.entry.js +0 -1
  1509. package/dist/magma-components/p-ddbdce09.entry.js +0 -1
  1510. package/dist/magma-components/p-de6bc3c8.entry.js +0 -1
  1511. package/dist/magma-components/p-df2b7607.system.entry.js +0 -4
  1512. package/dist/magma-components/p-e05d2df8.system.entry.js +0 -4
  1513. package/dist/magma-components/p-e0b2ef8f.system.entry.js +0 -1
  1514. package/dist/magma-components/p-e0c50a2d.entry.js +0 -1
  1515. package/dist/magma-components/p-e1277efe.system.entry.js +0 -1
  1516. package/dist/magma-components/p-e1e6dd97.entry.js +0 -1
  1517. package/dist/magma-components/p-e2f7a9bd.system.entry.js +0 -1
  1518. package/dist/magma-components/p-e3e893c4.entry.js +0 -1
  1519. package/dist/magma-components/p-e4868ade.entry.js +0 -1
  1520. package/dist/magma-components/p-e5c6f9a9.system.entry.js +0 -7
  1521. package/dist/magma-components/p-e5da7036.entry.js +0 -1
  1522. package/dist/magma-components/p-e6dccab5.system.entry.js +0 -1
  1523. package/dist/magma-components/p-ec59ec9a.entry.js +0 -1
  1524. package/dist/magma-components/p-eddcef53.system.entry.js +0 -1
  1525. package/dist/magma-components/p-eed00e7f.system.entry.js +0 -1
  1526. package/dist/magma-components/p-ef8cb401.entry.js +0 -1
  1527. package/dist/magma-components/p-efe8d359.entry.js +0 -1
  1528. package/dist/magma-components/p-f070a5b5.system.entry.js +0 -11
  1529. package/dist/magma-components/p-f0a168f4.system.entry.js +0 -13
  1530. package/dist/magma-components/p-f1462410.system.entry.js +0 -9
  1531. package/dist/magma-components/p-f23d4974.entry.js +0 -1
  1532. package/dist/magma-components/p-f542246f.system.entry.js +0 -1
  1533. package/dist/magma-components/p-f5c680dd.entry.js +0 -1
  1534. package/dist/magma-components/p-f60c6e8e.system.entry.js +0 -40
  1535. package/dist/magma-components/p-f8369939.entry.js +0 -1
  1536. package/dist/magma-components/p-f97ede3e.system.entry.js +0 -19
  1537. package/dist/magma-components/p-f97ff5b2.entry.js +0 -1
  1538. package/dist/magma-components/p-fe1662e8.system.entry.js +0 -28
  1539. package/dist/magma-components/p-ff133cbd.entry.js +0 -1
  1540. package/dist/magma-components/p-fff44704.entry.js +0 -1
@@ -1,5 +0,0 @@
1
- import{p as t}from"./p-CvIFS8oA.js";
2
- /*!
3
- * mustache.js - Logic-less {{mustache}} templates with JavaScript
4
- * http://github.com/janl/mustache.js
5
- */var n=Object.prototype.toString,r=Array.isArray||function(t){return"[object Array]"===n.call(t)};function e(t){return"function"==typeof t}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(t,n){return null!=t&&"object"==typeof t&&n in t}var s=RegExp.prototype.test,u=/\S/;var f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},a=/\s*/,h=/\s+/,c=/\s*=/,v=/\s*\}/,l=/#|\^|\/|>|\{|&|=|!/;function p(t){this.string=t,this.tail=t,this.pos=0}function d(t,n){this.view=t,this.cache={".":this.view},this.parent=n}function g(){this.templateCache={_cache:{},set:function(t,n){this._cache[t]=n},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}p.prototype.eos=function(){return""===this.tail},p.prototype.scan=function(t){var n=this.tail.match(t);if(!n||0!==n.index)return"";var r=n[0];return this.tail=this.tail.substring(r.length),this.pos+=r.length,r},p.prototype.scanUntil=function(t){var n,r=this.tail.search(t);switch(r){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=n.length,n},d.prototype.push=function(t){return new d(t,this)},d.prototype.lookup=function(t){var n,r,i=this.cache;if(i.hasOwnProperty(t))n=i[t];else{for(var s,u,f,a=this,h=!1;a;){if(t.indexOf(".")>0)for(s=a.view,u=t.split("."),f=0;null!=s&&f<u.length;)f===u.length-1&&(h=o(s,u[f])||null!=(r=s)&&"object"!=typeof r&&r.hasOwnProperty&&r.hasOwnProperty(u[f])),s=s[u[f++]];else s=a.view[t],h=o(a.view,t);if(h){n=s;break}a=a.parent}i[t]=n}return e(n)&&(n=n.call(this.view)),n},g.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},g.prototype.parse=function(t,n){var e=this.templateCache,o=t+":"+(n||w.tags).join(":"),f=void 0!==e,d=f?e.get(o):void 0;return null==d&&(d=function(t,n){if(!t)return[];var e,o,f,d=!1,g=[],b=[],m=[],y=!1,x=!1,E="",j=0;function k(){if(y&&!x)for(;m.length;)delete b[m.pop()];else m=[];y=!1,x=!1}function C(t){if("string"==typeof t&&(t=t.split(h,2)),!r(t)||2!==t.length)throw new Error("Invalid tags: "+t);e=new RegExp(i(t[0])+"\\s*"),o=new RegExp("\\s*"+i(t[1])),f=new RegExp("\\s*"+i("}"+t[1]))}C(n||w.tags);for(var S,A,R,U,I,F,O=new p(t);!O.eos();){if(S=O.pos,R=O.scanUntil(e))for(var T=0,$=R.length;T<$;++T)(function(t,n){return s.call(u,n)})(0,U=R.charAt(T))?(x=!0,d=!0,E+=" "):(m.push(b.length),E+=U),b.push(["text",U,S,S+1]),S+=1,"\n"===U&&(k(),E="",j=0,d=!1);if(!O.scan(e))break;if(y=!0,A=O.scan(l)||"name",O.scan(a),"="===A?(R=O.scanUntil(c),O.scan(c),O.scanUntil(o)):"{"===A?(R=O.scanUntil(f),O.scan(v),O.scanUntil(o),A="&"):R=O.scanUntil(o),!O.scan(o))throw new Error("Unclosed tag at "+O.pos);if(I=">"==A?[A,R,S,O.pos,E,j,d]:[A,R,S,O.pos],j++,b.push(I),"#"===A||"^"===A)g.push(I);else if("/"===A){if(!(F=g.pop()))throw new Error('Unopened section "'+R+'" at '+S);if(F[1]!==R)throw new Error('Unclosed section "'+F[1]+'" at '+S)}else"name"===A||"{"===A||"&"===A?x=!0:"="===A&&C(R)}if(k(),F=g.pop())throw new Error('Unclosed section "'+F[1]+'" at '+O.pos);return function(t){for(var n,r=[],e=r,i=[],o=0,s=t.length;o<s;++o)switch((n=t[o])[0]){case"#":case"^":e.push(n),i.push(n),e=n[4]=[];break;case"/":i.pop()[5]=n[2],e=i.length>0?i[i.length-1][4]:r;break;default:e.push(n)}return r}(function(t){for(var n,r,e=[],i=0,o=t.length;i<o;++i)(n=t[i])&&("text"===n[0]&&r&&"text"===r[0]?(r[1]+=n[1],r[3]=n[3]):(e.push(n),r=n));return e}(b))}(t,n),f&&e.set(o,d)),d},g.prototype.render=function(t,n,r,e){var i=this.getConfigTags(e),o=this.parse(t,i),s=n instanceof d?n:new d(n,void 0);return this.renderTokens(o,s,r,t,e)},g.prototype.renderTokens=function(t,n,r,e,i){for(var o,s,u,f="",a=0,h=t.length;a<h;++a)u=void 0,"#"===(s=(o=t[a])[0])?u=this.renderSection(o,n,r,e,i):"^"===s?u=this.renderInverted(o,n,r,e,i):">"===s?u=this.renderPartial(o,n,r,i):"&"===s?u=this.unescapedValue(o,n):"name"===s?u=this.escapedValue(o,n,i):"text"===s&&(u=this.rawValue(o)),void 0!==u&&(f+=u);return f},g.prototype.renderSection=function(t,n,i,o,s){var u=this,f="",a=n.lookup(t[1]);if(a){if(r(a))for(var h=0,c=a.length;h<c;++h)f+=this.renderTokens(t[4],n.push(a[h]),i,o,s);else if("object"==typeof a||"string"==typeof a||"number"==typeof a)f+=this.renderTokens(t[4],n.push(a),i,o,s);else if(e(a)){if("string"!=typeof o)throw new Error("Cannot use higher-order sections without the original template");null!=(a=a.call(n.view,o.slice(t[3],t[5]),(function(t){return u.render(t,n,i,s)})))&&(f+=a)}else f+=this.renderTokens(t[4],n,i,o,s);return f}},g.prototype.renderInverted=function(t,n,e,i,o){var s=n.lookup(t[1]);if(!s||r(s)&&0===s.length)return this.renderTokens(t[4],n,e,i,o)},g.prototype.indentPartial=function(t,n,r){for(var e=n.replace(/[^ \t]/g,""),i=t.split("\n"),o=0;o<i.length;o++)i[o].length&&(o>0||!r)&&(i[o]=e+i[o]);return i.join("\n")},g.prototype.renderPartial=function(t,n,r,i){if(r){var o=this.getConfigTags(i),s=e(r)?r(t[1]):r[t[1]];if(null!=s){var u=t[4],f=s;0==t[5]&&u&&(f=this.indentPartial(s,u,t[6]));var a=this.parse(f,o);return this.renderTokens(a,n,r,f,i)}}},g.prototype.unescapedValue=function(t,n){var r=n.lookup(t[1]);if(null!=r)return r},g.prototype.escapedValue=function(t,n,r){var e=this.getConfigEscape(r)||w.escape,i=n.lookup(t[1]);if(null!=i)return"number"==typeof i&&e===w.escape?String(i):e(i)},g.prototype.rawValue=function(t){return t[1]},g.prototype.getConfigTags=function(t){return r(t)?t:t&&"object"==typeof t?t.tags:void 0},g.prototype.getConfigEscape=function(t){return t&&"object"==typeof t&&!r(t)?t.escape:void 0};var w={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(t){b.templateCache=t},get templateCache(){return b.templateCache}},b=new g;w.clearCache=function(){return b.clearCache()},w.parse=function(t,n){return b.parse(t,n)},w.render=function(t,n,e,i){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+(r(o=t)?"array":typeof o)+'" was given as the first argument for mustache#render(template, view, partials)');var o;return b.render(t,n,e,i)},w.escape=function(t){return String(t).replace(/[&<>"'`=\/]/g,(function(t){return f[t]}))},w.Scanner=p,w.Context=d,w.Writer=g;class m{constructor(n){this.rollbackLanguage="en",this.set=t=>{this.config=t},this.pluralize=(t,n,r)=>{const e=this.config[r]?this.config[r][t]:this.config[this.rollbackLanguage][t],i=[];Array.isArray(e)?(i.push(e[0]),i.push(e[1])):(i.push(e),i.push(e));const[o]=i;let s=o;const u=Object.keys(n);if(u.length>0){const[t]=u;"number"==typeof n[t]&&1!==n[t]&&(s=i[1])}return w.render(s,n)},this.get=(n,r)=>{const{language:e}=t.state;return r?this.pluralize(n,r,e):this.config[e]?this.config[e][n]:this.config[this.rollbackLanguage][n]},n&&this.set(n)}}export{m as L}
@@ -1 +0,0 @@
1
- import{p as r,H as a,h as s,c as e,t}from"./p-BhFTcUD0.js";import{r as o,i}from"./p-CSCy6TMW.js";import{p as n}from"./p-CvIFS8oA.js";import{d as m}from"./p-CatD1iUY.js";import{d as g}from"./p-DLE5TNTp.js";import{d as c}from"./p-B9DJLgwr.js";const p=r(class extends a{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.stepsList=new Array,this.progress=0,this.direction="horizontal",this.variant="primary",this.typography="option",this.size="sm",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}componentDidLoad(){o(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])}setProgress(r){""!==this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],i(this.element,"aria-hidden")||this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return s(e,{key:"4ca4d52eabbe9fd5f275c45127eb698d96d3c255","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!i(this.element,"aria-hidden")&&Math.round(100*this.progress),role:"progressbar","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},"radial"===this.direction?s("mds-radial-progress",{"aria-hidden":"true",progress:this.progress,part:"radial-progress",typography:this.typography,variant:this.variant}):s("div",{class:"progress",part:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return this}static get watchers(){return{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}}static get style(){return'@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))){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-progress-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-progress-duration:.75s;--private-progress-duration:var(--mds-progress-duration,.75s);--mds-progress-transition-duration:var(--duration-300,.3s);--private-progress-transition-duration:var(--mds-progress-transition-duration);--mds-progress-thickness:calc(var(--spacing,.0025rem)*200);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-progress-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));overflow:hidden;position:relative;-webkit-transition-duration:var(--private-progress-transition-duration);transition-duration:var(--private-progress-transition-duration);transition-property:background-color;width:100%}:host([direction=vertical]){flex-direction:column;height:unset;min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200))}:host([direction=radial]){aspect-ratio:1;background-color:#0000;height:auto}:host([direction=radial]) mds-radial-progress{width:inherit}.progress{--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));background-color:var(--mds-progress-color,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))));border-radius:inherit;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));corner-shape:inherit;-webkit-transition-duration:var(--private-progress-duration);transition-duration:var(--private-progress-duration);transition-property:background-color,flex-grow,-ms-flex-positive}:host([variant=dark]){--mds-progress-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-progress-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([variant=light]){--mds-progress-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-progress-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))))}:host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-progress-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}:host([variant=ai]){--mds-progress-color:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-progress-background:rgb(var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253))))}:host([size=sm]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*200)}:host([size=md]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*600)}: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-progress-duration:0s;--private-progress-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([pref-contrast=more]),:host([pref-contrast=more]):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}@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-progress-duration:0s;--private-progress-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}}'}},[1,"mds-progress",{progress:[2],direction:[513],variant:[513],typography:[1],size:[513],steps:[1],currentStep:[32]},void 0,{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}]);function h(){"undefined"!=typeof customElements&&["mds-progress","mds-icon","mds-radial-progress","mds-text"].forEach((r=>{switch(r){case"mds-progress":customElements.get(t(r))||customElements.define(t(r),p);break;case"mds-icon":customElements.get(t(r))||m();break;case"mds-radial-progress":customElements.get(t(r))||g();break;case"mds-text":customElements.get(t(r))||c()}}))}export{p as M,h as d}
@@ -1 +0,0 @@
1
- import{p as t,H as e,d as a,h as r,c as o,t as n}from"./p-BhFTcUD0.js";import{K as i}from"./p-KRu9I7dw.js";import{p as s}from"./p-CvIFS8oA.js";import{d as m}from"./p-CatD1iUY.js";import{d}from"./p-B9DJLgwr.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=a(this,"mdsFilterItemSelect",7),this.km=new i,this.toggle=()=>{this.selected=!this.selected,this.selectedEvent.emit({id:this.element.id,selected:this.selected})}}componentDidLoad(){this.km.addElement(this.element),this.km.attachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){var t;return r(o,{key:"b414304e07b227789ce90e77976eac4abef657a6",tabindex:this.disabled?"-1":"0",role:"menuitem","aria-label":null!==(t=this.label)&&void 0!==t?t:this.icon,onClick:this.toggle,"pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},this.icon&&r("mds-icon",{key:"174f79e3e370f8ab5eaadfd22f64112dfa5f5200","aria-hidden":"true",name:this.icon}),this.label&&r("mds-text",{key:"3fda1b2559590b815aa330e13a9b6d71dd211847","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&r("div",{key:"d86b8709223e47ff87911ba8bebdb003c2b5ac7a",class:"count"},r("mds-text",{key:"4dc738ac6ae847ef8db8342680a0a637bb537fdc","aria-hidden":"true",variant:"info",typography:"option"},this.count)))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,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-filter-item-transition-duration:var(--duration-200,.2s);--private-filter-item-transition-duration:var(--mds-filter-item-transition-duration);--mds-filter-item-count-background-default:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-filter-item-count-color-default:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-filter-item-count-background-selected:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-filter-item-count-color-selected:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));align-items:center;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-full,1000px);color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;-webkit-transition-duration:var(--private-filter-item-transition-duration);transition-duration:var(--private-filter-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--radius-lg,16px);box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))))}:host(:hover){-webkit-box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))));color:var(--mds-filter-item-count-color-selected,rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}: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-filter-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]):host(:hover),:host([pref-contrast=more]):host([selected]:not([selected=false])){-webkit-box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@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-filter-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([selected]:not([selected=false])){-webkit-box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"}},[1,"mds-filter-item",{selected:[1540],label:[513],icon:[513],value:[513],count:[513],disabled:[516]}]);function c(){"undefined"!=typeof customElements&&["mds-filter-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-filter-item":customElements.get(n(t))||customElements.define(n(t),l);break;case"mds-icon":customElements.get(n(t))||m();break;case"mds-text":customElements.get(n(t))||d()}}))}export{l as M,c as d}
@@ -1 +0,0 @@
1
- import{p as t,H as n,h as a,c as i,t as r}from"./p-BhFTcUD0.js";import{p as e}from"./p-CvIFS8oA.js";const s=t(class extends n{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.running=!1}handleRunning(t){!1===t&&(this.running=void 0)}render(){return a(i,{key:"499a800738df129305e16207df5a21a602d3ab0b","pref-contrast":e.state.contrast},a("i",{key:"9c3ec8cc93a56e05f507c3f2038bcd95694f9081",class:"await-icon",innerHTML:'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.25" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="4"/>\n <path opacity="0.75" d="M10 2.2002C5.43552 3.12674 2 7.16224 2 12.0002C2 13.5118 2.3354 14.9451 2.93585 16.2297" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>\n</svg>\n'}))}static get watchers(){return{running:[{handleRunning:0}]}}static get style(){return'@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{--mds-spinner-duration:.725s;--tw-ease:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));align-items:center;color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));display:inline-flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:center;opacity:0;overflow:hidden;transform:scale(0);-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:opacity,transform;transition-timing-function:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));width:calc(var(--spacing,.0025rem)*1200)}:host([running]){--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));opacity:1;transform:scale(1);-webkit-transition-duration:var(--duration-700,.7s);transition-duration:var(--duration-700,.7s);transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.await-icon{animation:var(--animate-spin,spin 1s linear infinite);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));-webkit-animation-duration:var(--mds-spinner-duration,.725s);animation-duration:var(--mds-spinner-duration,.725s);animation-play-state:paused;aspect-ratio:var(--aspect-square,1/1);display:flex;flex-shrink:0;stroke:currentColor;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:stroke;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.await-icon svg{width:100%}:host([running]) .await-icon{animation-play-state:running}:host([pref-contrast=more]){color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host(: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}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){:host{--mds-spinner-duration:8s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}}'}},[1,"mds-spinner",{running:[1540]},void 0,{running:[{handleRunning:0}]}]);function o(){"undefined"!=typeof customElements&&["mds-spinner"].forEach((t=>{"mds-spinner"===t&&(customElements.get(r(t))||customElements.define(r(t),s))}))}export{s as M,o as d}
@@ -1 +0,0 @@
1
- import{p as t,H as a,d as i,h as e,c as n,t as s}from"./p-BhFTcUD0.js";import{c as r}from"./p-ChV9xqsO.js";import{m as c}from"./p-D17B058a.js";import{s as o}from"./p-A9TZf0Ii.js";import{K as l}from"./p-KRu9I7dw.js";import{c as d}from"./p-CsgCQiHG.js";import{L as m}from"./p-Bss3F51Q.js";import{p as h}from"./p-CvIFS8oA.js";import{d as g}from"./p-CatD1iUY.js";import{d as u}from"./p-B9DJLgwr.js";const p={switch:{iconChecked:"",iconIndeterminate:"",iconUnchecked:""},checkbox:{iconChecked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-9 14l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>',iconIndeterminate:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"/></svg>',iconUnchecked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/></svg>'},radio:{iconChecked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8z"/></svg>',iconIndeterminate:"",iconUnchecked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8z"/></svg>'}};var b={select:"Επιλογή {{#label}}{{label}}{{/label}}{{^label}}στοιχείο{{/label}}",unselect:"Αποεπιλογή {{#label}}{{label}}{{/label}}{{^label}}στοιχείο{{/label}}"},v={select:"Select {{#label}}{{label}}{{/label}}{{^label}}element{{/label}}",unselect:"Deselect {{#label}}{{label}}{{/label}}{{^label}}element{{/label}}"},w={select:"Seleccionar {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}",unselect:"Deseleccionar {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}"},x={select:"Seleziona {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}",unselect:"Deseleziona {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}"};const f=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changeEvent=i(this,"mdsInputSwitchChange",7),this.internals=this.attachInternals(),this.km=new l,this.dirty=!1,this.hasText=!1,this.t=new m({el:b,en:v,es:w,it:x}),this.icon="",this.name="",this.size="md",this.type="switch",this.typography="detail",this.value="",this.uncheckSiblings=()=>{document.querySelectorAll(`mds-input-switch[name="${this.name}"]`).forEach((t=>{t!==this.host&&(t.checked=!1)}))},this.handleInputOnChange=t=>{var a,i;const{value:e}=t.target;t.preventDefault(),t.stopPropagation();const n=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.getElementById("field");this.checked=n.checked,this.indeterminate=!1,"radio"===this.type&&this.uncheckSiblings(),this.changeEvent.emit({name:this.name,checked:this.checked,value:e}),o(this.internals,this.checked&&null!==(i=this.value)&&void 0!==i?i:null)},this.handleDirty=()=>{this.dirty=!0},this.checkFocusElement=()=>{var t;this.km.addElement(null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".field")),this.km.attachClickBehavior()}}disabledChanged(t){t?o(this.internals,null):!1===t&&(this.disabled=void 0)}checkedChanged(t){!1===t&&(this.checked=void 0)}explicitChanged(t){!1===t&&(this.explicit=void 0)}formResetCallback(){o(this.internals,"")}componentDidLoad(){var t,a;this.label=null!==(t=this.host.textContent)&&void 0!==t?t:"",o(this.internals,this.checked&&null!==(a=this.value)&&void 0!==a?a:null),this.checkFocusElement(),this.hasText=d(this.host)}render(){var t;const{iconChecked:a,iconUnchecked:i,iconIndeterminate:s}=p[this.type],o=""!==this.icon?this.icon:a;return e(n,{key:"dbfda640a6671c0b6875efb5803e1f2b0509d71a",onClick:this.handleDirty,"pref-mode":h.state.mode,"pref-theme-scheme":h.state["theme-scheme"]},e("input",{key:"58153dafb41014ea668d40c6e3bad6f161ea1b9c","aria-label":this.t.get(this.checked?"unselect":"select",{label:this.label}),autoFocus:this.autofocus,checked:this.checked,class:"field",disabled:this.disabled,id:"field",indeterminate:this.indeterminate,name:this.name,onChange:this.handleInputOnChange,role:"switch"===this.type?"switch":void 0,type:"switch"===this.type?"checkbox":this.type,value:null!==(t=this.value)&&void 0!==t?t:void 0}),"switch"===this.type?e("label",{htmlFor:"field",class:r("switch-container",!1!==this.dirty&&"dirty")},e("div",{class:"switch"},e("div",{class:"switch-toggle"},this.explicit&&e("mds-icon",{class:"icon-explicit",name:this.checked?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M16.59 7.58 10 14.17l-2.59-2.58L6 13l4 4 8-8z"/>\n</svg>\n':c})))):e("label",{htmlFor:"field",class:"label-icon"},e("mds-text",{class:"icon-typography-unchecked",tag:"div",typography:this.typography,variant:this.variant},e("mds-icon",{class:"icon-unchecked",name:r(this.indeterminate?s:i)})),this.checked&&e("mds-text",{class:"icon-typography-checked",tag:"div",typography:this.typography,variant:this.variant},e("mds-icon",{class:"icon-checked",name:r(this.indeterminate?s:o)}))),e("label",{key:"a68be76ef4a93499c6746db389c55adc52c19576",htmlFor:"field",class:r("label-text",!this.hasText&&"label-text--empty")},e("mds-text",{key:"adf8bde3e0b83f5ffbf75a4d3df22633fb4a83dc",tag:"p",typography:this.typography,variant:this.variant},e("slot",{key:"43e3aa44b1e05ac346d07fcaf5a553fe5818bc5b"}))))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{disabled:[{disabledChanged:0}],checked:[{checkedChanged:0}],explicit:[{explicitChanged:0}]}}static get style(){return'@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-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,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-input-switch-animation-timing-adjust:1.4;--mds-input-switch-animation-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-input-switch-box-padding-lg:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-md:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-sm:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-duration:.3s;--mds-input-switch-icon-color-checked-disabled:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2));--mds-input-switch-toggle-size-lg:calc(var(--spacing,.0025rem)*800);--mds-input-switch-toggle-size-md:calc(var(--spacing,.0025rem)*600);--mds-input-switch-toggle-size-sm:calc(var(--spacing,.0025rem)*400);--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));align-items:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200)}.field{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.label-icon{align-items:baseline;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);cursor:pointer;display:flex;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));position:relative;transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:outline-offset,opacity;transition-timing-function:ease-in-out}.field:focus-visible+.label-icon,.label-icon:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.label-text{cursor:pointer;display:flex}.label-text--empty{display:none}:host([type=switch]) .label-text{align-items:center;align-self:center}.icon-explicit{fill:var(--mds-input-switch-icon-explicit-color,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.icon-typography-checked,.icon-typography-unchecked{align-items:center;display:inline-flex}.icon-typography-checked{left:0;position:absolute;top:0}.switch-container{align-self:stretch;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-full,1000px);box-sizing:border-box;display:flex;flex-shrink:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:width,outline-offset,opacity;transition-timing-function:ease-in-out;width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.field:focus-visible+.switch-container,.switch-container:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.switch{background-color:var(--mds-input-switch-box-color-enabled-unchecked,rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140)))));box-sizing:border-box;cursor:pointer;display:inline-flex;flex-shrink:0;height:min-content;padding:var(--mds-input-switch-box-padding,calc(var(--spacing,.0025rem)*100));-webkit-transition-duration:var(--mds-input-switch-duration,.3s);transition-duration:var(--mds-input-switch-duration,.3s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;-webkit-transition-timing-function:var(--ease-in-out);transition-timing-function:var(--ease-in-out);width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.switch,.switch-toggle{border-radius:var(--radius-full,1000px)}.switch-toggle{align-items:center;-webkit-animation-duration:calc(var(--mds-input-switch-duration,.3s)*1.5);animation-duration:calc(var(--mds-input-switch-duration,.3s)*1.5);animation-fill-mode:forwards;animation-iteration-count:1;animation-name:none;animation-play-state:paused;-webkit-animation-timing-function:var(--mds-input-switch-animation-timing-function);animation-timing-function:var(--mds-input-switch-animation-timing-function);background-color:var(--mds-input-switch-toggle-color-enabled-checked,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));-webkit-box-shadow:var(--shadow);box-shadow:var(--shadow);display:flex;height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));justify-content:center;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;-webkit-transition-timing-function:var(--ease-linear);transition-timing-function:var(--ease-linear);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.field:checked+.switch-container .switch{background-color:var(--mds-input-switch-box-color-enabled-checked,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))))}.field:checked+.switch-container .switch-toggle{animation-name:check;-webkit-animation-play-state:initial;animation-play-state:initial;background-color:var(--mds-input-switch-toggle-color-enabled-checked,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}.field:not(:checked)+.dirty .switch-toggle{animation-name:uncheck;-webkit-animation-play-state:initial;animation-play-state:initial;background-color:var(--mds-input-switch-toggle-color-enabled-unchecked,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))))}.field:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-unchecked,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))))}.field:checked:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-checked,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))))}.field:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-unchecked,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}.field:checked:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-checked,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}@keyframes check{0%{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}@keyframes uncheck{0%{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}:host([disabled]){pointer-events:none}.icon-checked,.icon-unchecked{--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:fill,transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));opacity:1;transform:scale(1)}.icon-checked,.icon-unchecked{-webkit-transition-duration:var(--mds-input-switch-duration,.3s);transition-duration:var(--mds-input-switch-duration,.3s)}.icon-checked{fill:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));transform:scale(0)}.field:disabled+.label-icon,.field:disabled+.label-icon+.label-text{cursor:default}.field:checked+.label-icon .icon-unchecked{opacity:0;transform:scale(1.5);-webkit-transition-duration:calc(var(--mds-input-switch-duration,.3s)*2);transition-duration:calc(var(--mds-input-switch-duration,.3s)*2)}.field:checked+.label-icon .icon-checked{transform:scale(1);-webkit-transition-duration:calc(var(--mds-input-switch-duration,.3s)*1.5);transition-duration:calc(var(--mds-input-switch-duration,.3s)*1.5)}.field:disabled+.label-icon .icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}.field:disabled+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}.field:disabled:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate-disabled,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}.field:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));transform:scale(1)}:host([explicit]:not([disabled]):not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))))}:host([explicit][checked]:not([disabled])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))))}:host([explicit][checked][disabled]){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([explicit][disabled]:not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218))));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([size=sm]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem)*400));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem) * 400)) * 2) + calc(var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=md]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=lg]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem)*800));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem) * 800)) * 2) + calc(var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem) * 100)) * 2))}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218))));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}}'}},[321,"mds-input-switch",{autofocus:[516],checked:[1540],disabled:[1540],explicit:[516],icon:[513],indeterminate:[1540],name:[513],size:[513],type:[513],typography:[513],variant:[513],value:[1537],dirty:[32],hasText:[32]},void 0,{disabled:[{disabledChanged:0}],checked:[{checkedChanged:0}],explicit:[{explicitChanged:0}]}]);function k(){"undefined"!=typeof customElements&&["mds-input-switch","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-input-switch":customElements.get(s(t))||customElements.define(s(t),f);break;case"mds-icon":customElements.get(s(t))||g();break;case"mds-text":customElements.get(s(t))||u()}}))}export{f as M,k as d}
@@ -1 +0,0 @@
1
- import{p as a,H as t,h as r,c as e,t as o}from"./p-BhFTcUD0.js";import{K as n}from"./p-KRu9I7dw.js";import{u as s,s as i}from"./p-CSCy6TMW.js";import{i as m,a as c,d as v}from"./p-CatD1iUY.js";import{r as d,s as g}from"./p-CsgCQiHG.js";import{p as h}from"./p-CvIFS8oA.js";import{d as u}from"./p-C58NKMEE.js";import{d as b}from"./p-B9DJLgwr.js";const l={sm:"action",md:"action",lg:"h6",xl:"h5"},p=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.internals=this.attachInternals(),this.km=new n,this.animation="none",this.iconPosition="left",this.type="submit",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word",this.handleRequestSubmitForm=a=>{var t;a.preventDefault(),null===(t=this.internals.form)||void 0===t||t.requestSubmit()},this.handleReset=a=>{var t;a.preventDefault(),null===(t=this.internals.form)||void 0===t||t.reset()},this.mouseDown=()=>{this.active=!0},this.mouseUp=()=>{this.active=!1},this.redirectBlank=()=>{if("undefined"==typeof window)throw Error("Object window is not defined");window.open(this.href,"_blank")},this.onSlotChangeHandler=()=>{void 0!==this.label&&""!==this.label||(this.label=d(this.host))}}disabledChanged(a){a?this.km.attachClickBehavior():(this.km.detachClickBehavior(),this.disabled=void 0)}labelChanged(a){this.label=g(a)}awaitChanged(a){this.host.setAttribute("aria-busy",(!!a).toString()),a?this.km.attachClickBehavior():this.km.detachClickBehavior()}handleTypeChange(a){this.internals.form&&("submit"===a?(this.host.removeEventListener("click",this.handleReset),this.host.addEventListener("click",this.handleRequestSubmitForm)):"reset"===a?(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.addEventListener("click",this.handleReset)):(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.removeEventListener("click",this.handleReset)))}handleVariantChange(a){"google"!==a?"apple"!==a||(this.icon='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>'):this.icon='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>\n'}componentWillLoad(){this.handleVariantChange(this.variant),void 0!==this.href&&""!==this.href?this.host.addEventListener("click",(a=>{var t;a.preventDefault(),"blank"!==this.target?"undefined"!=typeof window&&(window.location.href=null!==(t=this.href)&&void 0!==t?t:""):this.redirectBlank()})):this.internals.form&&("submit"===this.type?this.host.addEventListener("click",this.handleRequestSubmitForm):"reset"===this.type&&this.host.addEventListener("click",this.handleReset))}componentDidLoad(){if(this.km.addElement(this.host),this.await||this.km.attachClickBehavior(),this.host.setAttribute("aria-busy",this.await?"true":"false"),this.autoFocus&&this.host.focus(),!m(this.icon)&&!c(this.icon)){if(""===this.label&&(this.label=void 0),(void 0===this.label||""===this.label)&&void 0!==this.icon&&""!==this.icon){const a=s(this.icon);this.host.hasAttribute("aria-label")||i(this.host,"title",a),this.host.hasAttribute("title")||i(this.host,"aria-label",a)}i(this.host,"role","button")}}handleAwaitChange(a){if(!1===a)return this.await=void 0,void this.km.detachClickBehavior();this.km.attachClickBehavior()}connectedCallback(){this.disabled||this.host.removeAttribute("disabled")}disconnectedCallback(){this.km.detachClickBehavior()}render(){var a;return this.typography=null!==(a=l[this.size])&&void 0!==a?a:l.md,r(e,{key:"b78ea9e82edc7fb1e05d3fb3f7d9c9d08589ec2b",onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0","pref-animation":h.state.animation,"pref-mode":h.state.mode,"pref-theme-scheme":h.state["theme-scheme"]},r("div",{key:"6e93d60b23f794a489b2ce2b55d51c000008aef4",class:"await"},r("mds-spinner",{key:"ae40c10546682ad904552560c4a0a5ab95af8f48",class:"spinner",running:this.await})),this.icon&&"left"===this.iconPosition&&r("mds-icon",{key:"b44d109ca1c92f9d9680c1ae5b36a3e08347008a","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}),r("mds-text",{key:"9e5c7ea8c1985633b22217d2fae8ada8b4b9d02e",class:"text",part:"label",tag:"span",typography:this.typography,truncate:this.truncate,animation:this.animation,text:this.label},this.label||r("slot",{key:"856dede502b5a35d80b77c6ddb39b7e9c4d4b4f3",onSlotchange:this.onSlotChangeHandler})),r("slot",{key:"bf4ee1f6ecf7c9a4cab0797aba08c97e55751b2d",name:"notification"}),this.icon&&"right"===this.iconPosition&&r("mds-icon",{key:"6e5dfeb55023770a487dead1300cad6813e08694","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0},{handleAwaitChange:0}],type:[{handleTypeChange:0}],variant:[{handleVariantChange:0}]}}static get style(){return'@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-font-weight:initial}}}@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-spinner,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-button-await-duration:.725s;--mds-button-transition-duration:var(--duration-300,.3s);--private-button-transition-duration:var(--mds-button-transition-duration);--mds-button-background:rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-button-border-color-rgb:var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-button-border-hover-opacity:.75;--mds-button-border-high-contrast-hover-width:3px;--mds-button-border-high-contrast-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-outline-hover-width:3px;--mds-button-border-tone-outline-opacity:.3;--mds-button-border-tone-strong-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-weak-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-default-opacity:0;--mds-button-border-opacity:0;--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-button-gap:calc(var(--spacing,.0025rem)*200);--mds-button-line-clamp:1;--mds-button-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));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));background-color:var(--mds-button-background,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));border-radius:var(--mds-button-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));-webkit-box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0));box-sizing:border-box;color:var(--mds-button-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--mds-button-corner-shape,var(--magma-corner-shape,squircle));align-items:center;align-self:flex-start;cursor:pointer;display:inline-flex;fill:currentColor;gap:var(--mds-button-gap,calc(var(--spacing,.0025rem)*200));justify-content:center;justify-self:flex-start;min-height:calc(var(--spacing,.0025rem)*900);min-width:calc(var(--spacing,.0025rem)*900);padding:0 calc(var(--spacing,.0025rem)*400);position:relative;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,outline,outline-offset,transform;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running;z-index:10}.text{--mds-text-line-clamp:var(--mds-button-line-clamp,1)}.text:first-letter{text-transform:uppercase}.icon{align-items:center;display:inline-flex;fill:inherit;flex-shrink:0;justify-content:center;pointer-events:none;transition-property:fill;-webkit-transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.icon{-webkit-transition-duration:var(--private-button-transition-duration);transition-duration:var(--private-button-transition-duration)}.await{display:none;margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));transform:scale(0);transition-behavior:allow-discrete;transition-property:display,margin-right,opacity,transform,width;-webkit-transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.spinner{height:calc(var(--spacing,.0025rem)*600);width:calc(var(--spacing,.0025rem)*600)}.spinner{--mds-spinner-duration:var(--mds-button-await-duration,.725s);color:currentColor}:is(:host(:not([await])),:host([await=false])) .spinner{-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}:host([await]:not([await=false])) .await{display:flex;margin-right:0;opacity:1;transform:scale(1)}@starting-style{:host([await]:not([await=false])) .await{margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));opacity:0;transform:scale(0)}}:host([await]:not([await=false])){pointer-events:none}:host([icon]:not([label])[await]:not([await=false])) .icon{display:none}:host([disabled]:not([disabled=false])){opacity:.5;pointer-events:none}:host([size=sm]){--mds-button-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));min-height:calc(var(--spacing,.0025rem)*700);min-width:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*300)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([size=sm]) .text{--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}:host([size=sm]):host([await]:not([await=false])) .await{transform:scale(.75)}:host([size=md]){min-height:calc(var(--spacing,.0025rem)*900);min-width:calc(var(--spacing,.0025rem)*900);padding-left:calc(var(--spacing,.0025rem)*400);padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=md]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*300)}:host([size=md]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){min-height:calc(var(--spacing,.0025rem)*1200);min-width:calc(var(--spacing,.0025rem)*1200);padding-left:calc(var(--spacing,.0025rem)*500);padding-right:calc(var(--spacing,.0025rem)*500)}:host([size=lg]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*400)}:host([size=lg]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){min-height:calc(var(--spacing,.0025rem)*1300);min-width:calc(var(--spacing,.0025rem)*1300);padding-left:calc(var(--spacing,.0025rem)*600);padding-right:calc(var(--spacing,.0025rem)*600)}:host([size=xl]) .icon{height:calc(var(--spacing,.0025rem)*800);width:calc(var(--spacing,.0025rem)*800)}:host([size][icon][icon-position]:not([label])){aspect-ratio:1;padding:0}:host(:not([label])) .text,:host([label=""]) .text{display:none}:host([variant=primary]){--mds-button-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=primary]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-button-border-color-rgb:var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))}:host([variant=primary]):host([tone=weak]){--mds-button-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-button-border-color-rgb:var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));fill:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=primary]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-button-border-color-rgb:var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=primary]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=primary]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=primary]):host([tone=text]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=primary]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:host([variant=primary]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=secondary]){--mds-button-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=secondary]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-button-border-color-rgb:var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))}:host([variant=secondary]):host([tone=weak]){--mds-button-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-button-border-color-rgb:var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));fill:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=secondary]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-button-border-color-rgb:var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=secondary]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))))}:host([variant=secondary]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=secondary]):host([tone=text]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=secondary]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-button-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:host([variant=secondary]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([variant=ai]){--mds-button-background:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=ai]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))));--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242)))}:host([variant=ai]):host([tone=weak]){--mds-button-background:rgb(var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253))));--mds-button-border-color-rgb:var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253)));--mds-button-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))));fill:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))))}:host([variant=ai]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-accent-ai-surface-hover,var(--magma-tint-accent-ai-surface-hover,var(--variant-ai-08,219 205 252))));--mds-button-border-color-rgb:var(--magma-accent-ai-surface-hover,var(--magma-tint-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)))}:host([variant=ai]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-button-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--magma-tint-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242))))}:host([variant=ai]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-button-color:rgb(var(--magma-accent-ai-emphasis-active,var(--magma-tint-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190))))}:host([variant=ai]):host([tone=text]){--mds-button-color:rgb(var(--magma-accent-ai-emphasis-active,var(--magma-tint-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190))))}:host([variant=ai]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-button-background:rgb(var(--magma-accent-ai-surface-subtle,var(--magma-tint-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))))}:host([variant=ai]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-accent-ai-emphasis-active,var(--magma-tint-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190))))}:host([variant=info]){--mds-button-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-button-border-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--mds-button-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137)));--mds-button-border-color-rgb:var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137))}:host([variant=info]):host([tone=weak]){--mds-button-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-button-border-color-rgb:var(--magma-info-wash-base,var(--status-info-09,193 230 246));--mds-button-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));fill:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=info]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)));--mds-button-border-color-rgb:var(--magma-info-wash-strong,var(--status-info-08,168 219 242));--mds-button-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--mds-button-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=info]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--mds-button-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=text]){--mds-button-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-button-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)))}:host([variant=info]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=success]){--mds-button-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-button-border-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--mds-button-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=success]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32)));--mds-button-border-color-rgb:var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32))}:host([variant=success]):host([tone=weak]){--mds-button-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-button-border-color-rgb:var(--magma-success-wash-base,var(--status-success-09,191 233 205));--mds-button-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));fill:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=success]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)));--mds-button-border-color-rgb:var(--magma-success-wash-strong,var(--status-success-08,165 225 186));--mds-button-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--mds-button-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=success]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--mds-button-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=text]){--mds-button-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-button-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)))}:host([variant=success]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]){--mds-button-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-button-border-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--mds-button-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warning]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0)));--mds-button-border-color-rgb:var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0))}:host([variant=warning]):host([tone=weak]){--mds-button-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-button-border-color-rgb:var(--magma-warning-wash-base,var(--status-warning-09,255 220 117));--mds-button-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));fill:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=warning]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-button-border-color-rgb:var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57));--mds-button-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--mds-button-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=warning]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--mds-button-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=text]){--mds-button-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-button-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)))}:host([variant=warning]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=error]){--mds-button-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-button-border-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--mds-button-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=error]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40)));--mds-button-border-color-rgb:var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40))}:host([variant=error]):host([tone=weak]){--mds-button-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-button-border-color-rgb:var(--magma-danger-wash-base,var(--status-error-09,255 214 211));--mds-button-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));fill:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=error]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)));--mds-button-border-color-rgb:var(--magma-danger-wash-strong,var(--status-error-08,254 198 194));--mds-button-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--mds-button-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=error]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--mds-button-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=text]){--mds-button-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-button-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)))}:host([variant=error]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=light]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255);--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=light]):host([tone=strong]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255)}:host([variant=light]):host([tone=weak]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255);--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));fill:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=light]):host([tone=weak]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-color-rgb:var(--tone-neutral-seed,255 255 255);--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=light]):host([tone=outline]),:host([variant=light]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=light]):host([tone=text]){--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=light]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-button-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))))}:host([variant=light]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dark]){--mds-button-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dark]):host([tone=strong]:hover){--mds-button-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-button-border-color-rgb:var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))}:host([variant=dark]):host([tone=weak]){--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-button-border-color-rgb:var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)));--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));fill:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=weak]:hover){--mds-button-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-button-border-color-rgb:var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140)));--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=outline]){--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=dark]):host([tone=outline]:hover){--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=text]){--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=dark]):host([tone=text]:hover){--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-button-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([variant=dark]):host([tone=text][active]){--mds-button-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=google]),:host([variant=google][tone]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-hover-opacity:.5;--mds-button-border-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.2;--mds-button-border-width:calc(var(--spacing,.0025rem)*25);--mds-button-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-button-border-color-rgb:var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)));-webkit-box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))/var(--mds-button-border-opacity,0))}:host([variant=google]:hover),:host([variant=google][tone]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-width:var(--mds-button-border-hover-width);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([variant=apple]) .icon{transform:translateY(-5%)}:host([variant=apple]),:host([variant=apple][tone]){--mds-button-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-button-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-button-border-width:0;--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))}:host([variant=apple]:hover),:host([variant=apple][tone]:hover){--mds-button-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-button-border-opacity:1}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google]),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google]:hover),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google][tone]:hover){--mds-button-border-opacity:.5}:host([tone=outline]),:host([tone=text]){--mds-button-background:#0000}:host([tone=box]),:host([tone=strong]),:host([tone=weak]){--mds-button-border-default-opacity:1;--mds-button-border-width:0;--mds-button-border-opacity:var(--mds-button-border-default-opacity,0)}:host([tone=strong]:hover),:host([tone=strong][active]){--mds-button-border-width:var(--mds-button-border-tone-strong-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=weak]:hover),:host([tone=weak][active]){--mds-button-border-width:var(--mds-button-border-tone-weak-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=outline]){--mds-button-border-opacity:var(--mds-button-border-tone-outline-opacity)}:host([tone=outline]:hover),:host([tone=outline][active]){--mds-button-background:#0000;--mds-button-border-width:var(--mds-button-border-tone-outline-hover-width,3px);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([tone=box]){-webkit-box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);transition-property:background-color,border-color,box-shadow,color,outline,filter,outline-offset,transform}:host([tone=box]):host(:hover){filter:brightness(1.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-button-transition-duration:0s}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google]),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google]:hover),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google][tone]:hover){--mds-button-border-opacity:.5}}@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-button-transition-duration:0s}}'}},[321,"mds-button",{autoFocus:[4,"auto-focus"],label:[1537],animation:[513],icon:[1537],iconPosition:[513,"icon-position"],type:[513],variant:[513],tone:[513],size:[513],active:[1540],disabled:[1540],await:[1540],href:[513],target:[1],truncate:[513]},void 0,{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0},{handleAwaitChange:0}],type:[{handleTypeChange:0}],variant:[{handleVariantChange:0}]}]);function f(){"undefined"!=typeof customElements&&["mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-button":customElements.get(o(a))||customElements.define(o(a),p);break;case"mds-icon":customElements.get(o(a))||v();break;case"mds-spinner":customElements.get(o(a))||u();break;case"mds-text":customElements.get(o(a))||b()}}))}export{p as M,f as d}
@@ -1 +0,0 @@
1
- import{a as t,o as i,f as s,s as r,b as e,c as h,d as o}from"./p-CHAGzQT-.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-BhFTcUD0.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 r=this._caller;if(c.isBrowser&&r.tagName.startsWith("MDS-")&&(await customElements.whenDefined(r.tagName.toLowerCase()),await(null===(i=(t=r).componentOnReady)||void 0===i?void 0:i.call(t))),r!==this._caller)return;if("tooltip"===this._role){if(this.sameRoot()){const t=n(this._host,"id",l("mds-tooltip"));this.writeOnCaller("aria-describedby",t)}return}if(!this.callerAcceptsWiring())return;if(this.sameRoot()){const t=n(this._host,"id",l("mds-dropdown")),i=n(r,"id",l("mds-dropdown-caller"));this.writeOnCaller("aria-controls",t),this._labelledByOurs=!this._host.hasAttribute("aria-labelledby"),n(this._host,"aria-labelledby",i)}const e=null!==(s=this._host.getAttribute("role"))&&void 0!==s?s:"";d.includes(e)&&this.writeOnCaller("aria-haspopup",e),r.hasAttribute("aria-expanded")||this._written.push("aria-expanded"),this._wired=!0,this.syncExpanded(this._host.visible)},this.arrowInset=(t,i)=>{const{arrow:s}=t,r={bottom:"",left:"",right:"",top:""};if(void 0===s)return{};switch(i){case"bottom":r.left=null!==s.x?`${s.x}px`:"",r.top="100%";break;case"left":r.right="100%",r.top=null!==s.y?`${s.y}px`:"";break;case"right":r.left="100%",r.top=null!==s.y?`${s.y}px`:"";break;case"top":r.left=null!==s.x?`${s.x}px`:"",r.top=""}return r},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 r=t.split("-")[0];if(null!=s.x){const t=s.x+this.arrowEl.offsetWidth/2;if("bottom"===r)return`${t}px top`;if("top"===r)return`${t}px bottom`}if(null!=s.y){const t=s.y+this.arrowEl.offsetHeight/2;if("right"===r)return`left ${t}px`;if("left"===r)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(r(a)),this.arrowEl&&!this._host.hideArrow&&o.push(e({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:r})=>{var e;const h=!this._host.hasAttribute("data-floating-placed");Object.assign(this._host.style,{left:`${t}px`,top:`${i}px`,transformOrigin:null!==(e=this.arrowOrigin(s,r))&&void 0!==e?e: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(r,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,r;const e=null!==(r=null===(s=null===(i=this._host.parentElement)||void 0===i?void 0:i.shadowRoot)||void 0===s?void 0:s.querySelector(t))&&void 0!==r?r:this._host.getRootNode().querySelector(t);return e?(this._caller&&this._caller!==e&&this.unwireCaller(),this._caller=e,this._wired=!1,n(this._host,"role",this._role),this.wireCaller(),e):(console.warn(`FloatingController: target not found: ${t}`),null)}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}
@@ -1 +0,0 @@
1
- import{p as a,H as e,d as r,h as t,c as i,t as s}from"./p-BhFTcUD0.js";import{m as o}from"./p-BJ8rpzfj.js";import{s as n}from"./p-CSCy6TMW.js";import{K as c}from"./p-KRu9I7dw.js";import{L as m}from"./p-Bss3F51Q.js";import{p as d}from"./p-CvIFS8oA.js";import{d as l}from"./p-CVgKDZPF.js";import{d as g}from"./p-CatD1iUY.js";import{d as b}from"./p-C58NKMEE.js";import{d as h}from"./p-B9DJLgwr.js";var v={deleteLabel:"Αφαίρεση"},p={deleteLabel:"Remove"},u={deleteLabel:"Eliminar"},f={deleteLabel:"Rimuovi"};const x=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.clickLabelEvent=r(this,"mdsChipClickLabel",7),this.deleteEvent=r(this,"mdsChipDelete",7),this.selectEvent=r(this,"mdsChipSelect",7),this.km=new c,this.t=new m({el:v,en:p,es:u,it:f}),this.disabled=!1,this.selectable=!1,this.variant="primary",this.tone="strong",this.onDeleteHandler=a=>{this.deleteEvent.emit({event:a,element:this.host})},this.handleClickableKeyboard=a=>{var e;if(a){const a=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".label");return this.km.addElement(a,"label"),void this.km.attachClickBehavior("label")}this.km.detachClickBehavior("label")},this.handleClickableElement=a=>{var e;const r=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".label");if(null!=r){if(a)return n(r,"role","button"),void r.addEventListener("click",this.onClickLabelHandler.bind(this));r.removeAttribute("role"),r.removeEventListener("click",this.onClickLabelHandler.bind(this))}}}handleSelectableProp(a){a&&(this.clickable=!0)}handleClickableProp(a){this.handleClickableElement(a),this.handleClickableKeyboard(a)}handleSelectedProp(a){!1===a&&(this.selected=void 0)}onClickLabelHandler(a){if(this.selectable)return this.selected=!this.selected,!1===this.selected&&(this.selected=void 0),void this.selectEvent.emit({event:a,element:this.host,selected:this.selected});this.clickLabelEvent.emit({event:a,element:this.host})}componentDidLoad(){!this.selectable||this.clickable?this.clickable&&(this.handleClickableElement(!0),this.handleClickableKeyboard(!0)):this.clickable=!0}disconnectedCallback(){this.km.detachClickBehavior("label")}render(){return t(i,{key:"f48a7bbf438788ffe32bd441baca8abc42a9aeb6","aria-disabled":this.disabled?"true":"false","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},this.icon&&t("div",{key:"fbc85e8b7ea49a2149548a02ea80428797e9070e","aria-hidden":"true",class:"icon-area"},t("mds-icon",{key:"a71acc9d81b12e3b405fe185fea030ed177e96f8",class:"icon",name:this.icon})),t("div",{key:"085d9abbb938a15e1997e12442f74b6d8d5a05ac",class:"label-wrapper"},t("mds-text",this.clickable?{"aria-pressed":this.selectable?this.selected?"true":"false":void 0,class:"label label--interactive",tabindex:"0",typography:"caption",truncate:"word"}:{class:"label",typography:"caption",truncate:"word"},this.label)),this.deletable&&t("mds-button",{key:"f8a80b1746e7d5e8713d75c6a4d8cf0cbfdf0d4c",class:"button-delete",icon:o,onClick:this.onDeleteHandler,title:`${this.t.get("deleteLabel")} ${this.label}`,variant:"dark",tone:"text",size:"sm"}))}get host(){return this}static get watchers(){return{selectable:[{handleSelectableProp:0}],clickable:[{handleClickableProp:0}],selected:[{handleSelectedProp:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,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-chip-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-chip-opacity-disabled:.5;--mds-chip-transition-duration:var(--duration-150,.15s);--mds-chip-label-transition-duration:var(--duration-200,.2s);--private-chip-transition-duration:var(--mds-chip-transition-duration);--private-chip-label-transition-duration:var(--mds-chip-label-transition-duration);align-items:center;-ms-flex-item-align:self-start;align-self:self-start;background-color:var(--mds-chip-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border:2px solid var(--mds-chip-border,#0000);border-radius:var(--radius-full,1000px);-webkit-box-shadow:var(--mds-chip-shadow);box-shadow:var(--mds-chip-shadow);box-sizing:border-box;color:var(--mds-chip-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));display:inline-flex;gap:calc(var(--spacing,.0025rem)*150);justify-content:center;justify-self:start;max-width:min-content;min-width:min-content;padding:0 calc(var(--spacing,.0025rem)*50);-webkit-transition-duration:var(--private-chip-transition-duration);transition-duration:var(--private-chip-transition-duration);transition-property:background-color,border-color,box-shadow,color,opacity;-webkit-transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));--mds-chip-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-chip-background-selected:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-chip-border:#0000;--mds-chip-border-selected:#0000;--mds-chip-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-chip-color-selected:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-chip-icon-background:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-chip-icon-background-selected:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-chip-shadow-selected:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a)}.label-wrapper{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*800);justify-content:start}.label-wrapper:first-child{padding-left:calc(var(--spacing,.0025rem)*200)}.label-wrapper:last-child{padding-right:calc(var(--spacing,.0025rem)*200)}:host([disabled]:not([disabled=false])){opacity:var(--mds-chip-opacity-disabled,.5);pointer-events:none}.label{border-radius:var(--radius-full,1000px);flex-grow:1;text-decoration-color:#0000;-webkit-transition-duration:var(--private-chip-label-transition-duration);transition-duration:var(--private-chip-label-transition-duration);transition-property:color,text-decoration-color,outline,outline-offset;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}:host([clickable]:not([clickable=false])) .label{cursor:pointer;text-decoration:underline}:host([clickable]:not([clickable=false])) .label:hover{-webkit-text-decoration-color:unset;text-decoration-color:unset}.label--interactive{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));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.label--interactive:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running;z-index:10}.icon-area{align-items:center;background-color:var(--mds-chip-icon-background,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))));border-radius:var(--radius-full,1000px);display:flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*700);justify-content:center;-webkit-transition-duration:inherit;transition-duration:inherit;-webkit-transition-timing-function:inherit;transition-timing-function:inherit;width:calc(var(--spacing,.0025rem)*700)}.icon{fill:var(--mds-chip-icon-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));height:calc(var(--spacing,.0025rem)*400);transition:fill;-webkit-transition-duration:var(--private-chip-label-transition-duration);transition-duration:var(--private-chip-label-transition-duration);width:calc(var(--spacing,.0025rem)*400)}.button-delete{border-radius:var(--radius-full,1000px);corner-shape:round;align-self:center;height:auto;padding:0}.button-delete--hidden{display:none}:host([variant][tone][selected]){--mds-chip-background:var(--mds-chip-background-selected);--mds-chip-border:var(--mds-chip-border-selected);--mds-chip-color:var(--mds-chip-color-selected);--mds-chip-icon-background:var(--mds-chip-icon-background-selected);--mds-chip-icon-color:var(--mds-chip-icon-color-selected);--mds-chip-shadow:var(--mds-chip-shadow-selected)}:host([variant=primary][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-chip-icon-background:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-chip-icon-background-selected:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=primary][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218))));--mds-chip-icon-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-chip-icon-background-selected:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-chip-icon-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-chip-icon-color-selected:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))}:host([variant=secondary][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-chip-icon-background:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-chip-icon-background-selected:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=secondary][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218))));--mds-chip-icon-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-chip-icon-background-selected:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-chip-icon-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-chip-icon-color-selected:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))}:host([variant=ai][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-chip-icon-background:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-chip-icon-background-selected:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=ai][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-accent-ai-border,var(--magma-tint-accent-ai-border,var(--variant-ai-06,184 156 250))));--mds-chip-icon-background:rgb(var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253))));--mds-chip-icon-background-selected:rgb(var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253))));--mds-chip-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-chip-icon-color-selected:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))))}:host([variant=success][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-chip-icon-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-chip-icon-background-selected:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-chip-icon-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=success][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-success-border-strong,var(--border-success-strong,17 166 98)));--mds-chip-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-chip-icon-background-selected:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-chip-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-chip-icon-color-selected:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-chip-icon-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-chip-icon-background-selected:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-chip-icon-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warning][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-warning-border-strong,var(--border-warning-strong,184 130 0)));--mds-chip-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-chip-icon-background-selected:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-chip-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-chip-icon-color-selected:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=error][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-chip-icon-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-chip-icon-background-selected:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-chip-icon-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=error][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-danger-border-strong,var(--border-error-strong,218 96 93)));--mds-chip-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-chip-icon-background-selected:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-chip-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-chip-icon-color-selected:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-chip-icon-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-chip-icon-background-selected:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-chip-icon-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-chip-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-chip-icon-background-selected:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-chip-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-chip-icon-color-selected:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=amaranth][tone=strong]){--mds-chip-border-selected:rgb(var(--label-amaranth-04,213 12 47));--mds-chip-icon-background:rgb(var(--label-amaranth-05,242 37 72));--mds-chip-icon-background-selected:rgb(var(--label-amaranth-05,242 37 72));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=amaranth][tone=weak]){--mds-chip-border-selected:rgb(var(--label-amaranth-06,248 138 157));--mds-chip-icon-background:rgb(var(--label-amaranth-09,253 214 221));--mds-chip-icon-background-selected:rgb(var(--label-amaranth-09,253 214 221));--mds-chip-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-chip-icon-color-selected:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua][tone=strong]){--mds-chip-border-selected:rgb(var(--label-aqua-04,4 122 143));--mds-chip-icon-background:rgb(var(--label-aqua-05,5 141 165));--mds-chip-icon-background-selected:rgb(var(--label-aqua-05,5 141 165));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=aqua][tone=weak]){--mds-chip-border-selected:rgb(var(--label-aqua-06,6 186 217));--mds-chip-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-chip-icon-background-selected:rgb(var(--label-aqua-09,151 237 252));--mds-chip-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-chip-icon-color-selected:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue][tone=strong]){--mds-chip-border-selected:rgb(var(--label-blue-04,63 94 248));--mds-chip-icon-background:rgb(var(--label-blue-05,90 117 249));--mds-chip-icon-background-selected:rgb(var(--label-blue-05,90 117 249));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=blue][tone=weak]){--mds-chip-border-selected:rgb(var(--label-blue-06,149 166 251));--mds-chip-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-chip-icon-background-selected:rgb(var(--label-blue-09,216 222 254));--mds-chip-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-chip-icon-color-selected:rgb(var(--label-blue-04,63 94 248))}:host([variant=green][tone=strong]){--mds-chip-border-selected:rgb(var(--label-green-04,22 128 61));--mds-chip-icon-background:rgb(var(--label-green-05,26 148 71));--mds-chip-icon-background-selected:rgb(var(--label-green-05,26 148 71));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=green][tone=weak]){--mds-chip-border-selected:rgb(var(--label-green-06,34 195 93));--mds-chip-icon-background:rgb(var(--label-green-09,165 240 193));--mds-chip-icon-background-selected:rgb(var(--label-green-09,165 240 193));--mds-chip-icon-color:rgb(var(--label-green-04,22 128 61));--mds-chip-icon-color-selected:rgb(var(--label-green-04,22 128 61))}:host([variant=lime][tone=strong]){--mds-chip-border-selected:rgb(var(--label-lime-04,81 124 13));--mds-chip-icon-background:rgb(var(--label-lime-05,93 143 15));--mds-chip-icon-background-selected:rgb(var(--label-lime-05,93 143 15));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=lime][tone=weak]){--mds-chip-border-selected:rgb(var(--label-lime-06,123 189 20));--mds-chip-icon-background:rgb(var(--label-lime-09,189 239 111));--mds-chip-icon-background-selected:rgb(var(--label-lime-09,189 239 111));--mds-chip-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-chip-icon-color-selected:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange][tone=strong]){--mds-chip-border-selected:rgb(var(--label-orange-04,185 78 5));--mds-chip-icon-background:rgb(var(--label-orange-05,213 90 5));--mds-chip-icon-background-selected:rgb(var(--label-orange-05,213 90 5));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=orange][tone=weak]){--mds-chip-border-selected:rgb(var(--label-orange-06,250 143 69));--mds-chip-icon-background:rgb(var(--label-orange-09,253 217 191));--mds-chip-icon-background-selected:rgb(var(--label-orange-09,253 217 191));--mds-chip-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-chip-icon-color-selected:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid][tone=strong]){--mds-chip-border-selected:rgb(var(--label-orchid-04,206 21 113));--mds-chip-icon-background:rgb(var(--label-orchid-05,233 44 137));--mds-chip-icon-background-selected:rgb(var(--label-orchid-05,233 44 137));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=orchid][tone=weak]){--mds-chip-border-selected:rgb(var(--label-orchid-06,243 137 189));--mds-chip-icon-background:rgb(var(--label-orchid-09,251 213 232));--mds-chip-icon-background-selected:rgb(var(--label-orchid-09,251 213 232));--mds-chip-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-chip-icon-color-selected:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple][tone=strong]){--mds-chip-border-selected:rgb(var(--label-purple-04,150 51 245));--mds-chip-icon-background:rgb(var(--label-purple-05,168 86 247));--mds-chip-icon-background-selected:rgb(var(--label-purple-05,168 86 247));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=purple][tone=weak]){--mds-chip-border-selected:rgb(var(--label-purple-06,201 149 250));--mds-chip-icon-background:rgb(var(--label-purple-09,235 216 253));--mds-chip-icon-background-selected:rgb(var(--label-purple-09,235 216 253));--mds-chip-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-chip-icon-color-selected:rgb(var(--label-purple-04,150 51 245))}:host([variant=red][tone=strong]){--mds-chip-border-selected:rgb(var(--label-red-04,212 28 28));--mds-chip-icon-background:rgb(var(--label-red-05,230 66 66));--mds-chip-icon-background-selected:rgb(var(--label-red-05,230 66 66));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=red][tone=weak]){--mds-chip-border-selected:rgb(var(--label-red-06,241 144 144));--mds-chip-icon-background:rgb(var(--label-red-09,250 215 215));--mds-chip-icon-background-selected:rgb(var(--label-red-09,250 215 215));--mds-chip-icon-color:rgb(var(--label-red-04,212 28 28));--mds-chip-icon-color-selected:rgb(var(--label-red-04,212 28 28))}:host([variant=sky][tone=strong]){--mds-chip-border-selected:rgb(var(--label-sky-04,10 118 167));--mds-chip-icon-background:rgb(var(--label-sky-05,12 136 193));--mds-chip-icon-background-selected:rgb(var(--label-sky-05,12 136 193));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=sky][tone=weak]){--mds-chip-border-selected:rgb(var(--label-sky-06,47 182 243));--mds-chip-icon-background:rgb(var(--label-sky-09,185 231 251));--mds-chip-icon-background-selected:rgb(var(--label-sky-09,185 231 251));--mds-chip-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-chip-icon-color-selected:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet][tone=strong]){--mds-chip-border-selected:rgb(var(--label-violet-04,126 73 245));--mds-chip-icon-background:rgb(var(--label-violet-05,145 100 246));--mds-chip-icon-background-selected:rgb(var(--label-violet-05,145 100 246));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=violet][tone=weak]){--mds-chip-border-selected:rgb(var(--label-violet-06,184 156 250));--mds-chip-icon-background:rgb(var(--label-violet-09,229 218 253));--mds-chip-icon-background-selected:rgb(var(--label-violet-09,229 218 253));--mds-chip-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-chip-icon-color-selected:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow][tone=strong]){--mds-chip-border-selected:rgb(var(--label-yellow-04,141 107 5));--mds-chip-icon-background:rgb(var(--label-yellow-05,161 124 6));--mds-chip-icon-background-selected:rgb(var(--label-yellow-05,161 124 6));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=yellow][tone=weak]){--mds-chip-border-selected:rgb(var(--label-yellow-06,214 163 7));--mds-chip-icon-background:rgb(var(--label-yellow-09,251 221 131));--mds-chip-icon-background-selected:rgb(var(--label-yellow-09,251 221 131));--mds-chip-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-chip-icon-color-selected:rgb(var(--label-yellow-04,141 107 5))}: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-chip-transition-duration:0s;--private-chip-label-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-chip-background:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-chip-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-chip-color-selected:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-chip-icon-background-selected:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-opacity-disabled:var(--opacity-disabled,.6);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@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-chip-transition-duration:0s;--private-chip-label-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-chip-background:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-chip-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-chip-color-selected:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-chip-icon-background-selected:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-chip-opacity-disabled:var(--opacity-disabled,.6);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}"}},[1,"mds-chip",{clickable:[1540],deletable:[4],disabled:[4],icon:[1],label:[513],selected:[1540],selectable:[516],variant:[513],tone:[513]},void 0,{selectable:[{handleSelectableProp:0}],clickable:[{handleClickableProp:0}],selected:[{handleSelectedProp:0}]}]);function k(){"undefined"!=typeof customElements&&["mds-chip","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-chip":customElements.get(s(a))||customElements.define(s(a),x);break;case"mds-button":customElements.get(s(a))||l();break;case"mds-icon":customElements.get(s(a))||g();break;case"mds-spinner":customElements.get(s(a))||b();break;case"mds-text":customElements.get(s(a))||h()}}))}export{x as M,k as d}
@@ -1 +0,0 @@
1
- import{B as t,p as e,H as s,h as n,c as i,t as r}from"./p-BhFTcUD0.js";function o(t){return new Promise(((e,s)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>s(t.error)}))}let a;function h(){return a||(a=function(t,e){const s=indexedDB.open("keyval-store");s.onupgradeneeded=()=>s.result.createObjectStore(e);const n=o(s);return(t,s)=>n.then((n=>s(n.transaction(e,t).objectStore(e))))}(0,"keyval")),a}class c{resolveIconName(t){return this._resolveIconName(t,this.name,this.path)}constructor(t,e,s){this.name=t,this.path=e,this._resolveIconName=s}get resolver(){return this._resolveIconName}}const d=Symbol.for("@maggioli-design-system/magma:mdsIconSvgPath"),u=new class{constructor(){this._svgPathKey="mdsIconSvgPath",this._iconsSets=new Map,this._svgPathUpdate="mdsIconSvgPathUpdate",this.cacheExp=864e5,this.listeners=[],this.memoryCache={},this.isCacheAvailable=async t=>{if("undefined"==typeof indexedDB)return!1;try{const e=await function(t,e=h()){return e("readonly",(e=>o(e.get(t))))}(`loader_${t}`);if(!e)return!1;const s=JSON.parse(e);return Date.now()<s.expiry?s.data:(function(t,e=h()){e("readwrite",(e=>(e.delete(t),o(e.transaction))))}(`loader_${t}`),!1)}catch(t){return console.error("isCacheAvailable error",t),!1}},this.setCache=async(t,e)=>{if("undefined"!=typeof indexedDB)try{await function(t,e,s=h()){return s("readwrite",(s=>(s.put(e,t),o(s.transaction))))}(`loader_${t}`,JSON.stringify({data:e,expiry:Date.now()+this.cacheExp}))}catch(t){console.error("setCache error",t)}},this.setUpListener()}get _svgPath(){var t;return"undefined"==typeof globalThis?"":null!==(t=globalThis[d])&&void 0!==t?t:""}set _svgPath(t){"undefined"!=typeof globalThis&&(globalThis[d]=t)}addIconSet(t,e,s){let n=s;const i=this._iconsSets.get(t);if(!n&&i&&"function"==typeof i.resolver)n=i.resolver;else{if(n&&"function"!=typeof n)return console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename."),!1;if(!n)return console.error(`MdsIconSvg: the set ${t} needs a resolve function for the icon names.`),!1}return this._iconsSets.set(t,new c(t,e,n)),!0}getIconSet(t){return t?{set:this._iconsSets.get(t.split("/")[0])}:{set:null}}setSvgPath(t){const e=/^(((https?:\/\/)?[.\w]+(:\d+)?)|\/)([\w/-]+)*/.exec(t);if(!e)throw Error(`Svg path not recognize ${t}, ensure is a absolute path starting with '/' or a url`);"undefined"!=typeof window&&(this._svgPath=e[1]?e[0]:window.location.origin.concat(e[0]),window.dispatchEvent(new Event(this._svgPathUpdate)))}getSvgPath(){return this._svgPath}registerListener(t){this.listeners.push(t)}setUpListener(){"undefined"!=typeof window&&window.addEventListener(this._svgPathUpdate,(()=>{for(const t of this.listeners)t()}))}async fetchSvg(e){var s;if(t.isServer&&!t.isTesting)return"";try{if(!this._svgPath&&"undefined"==typeof window)throw Error("Cant find svgPath, ensure you set it");if(!this._svgPath){let t="";try{t=null!==(s=window.sessionStorage.getItem(u._svgPathKey))&&void 0!==s?s:""}catch(t){}t&&this.setSvgPath(t)}const t=this._svgPath&&!e.startsWith("http")?this._svgPath.concat(e,".svg"):e,n=await this.isCacheAvailable(t);if(this.memoryCache[t]||n)return this.memoryCache[t]||n;const i=await fetch(t);if(!i.ok)throw Error(`Request for '${t}' returned ${i.status} (${i.statusText})`);const r=await i.text(),o=r.toLowerCase().trim();if(!o.startsWith("<svg")&&!o.startsWith("<?xml"))throw Error(`Resource '${t}' returned an invalid SVG file`);return this.setCache(t,r),this.memoryCache[t]=r,r}catch(t){return console.error("fetchSvg error",t),""}}},l="data:image/svg+xml;base64,",f=t=>!!t&&t.startsWith(l),g=t=>!!t&&t.startsWith("<svg "),m=e(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.convertBase64ToSvg=()=>{const t=this.name.replace(l,"").replace(/=/i,"");return atob(t)}}componentWillLoad(){this.updateIcon(),u.registerListener((()=>this.updateIcon()))}async setSvgPath(t){return u.setSvgPath(t),Promise.resolve()}async updateIcon(){return""===this.name?Promise.resolve():f(this.name)?(this.svgHTML=this.convertBase64ToSvg(),Promise.resolve()):g(this.name)?(this.svgHTML=this.name,Promise.resolve()):void(this.svgHTML=await u.fetchSvg(this.name))}render(){return n(i,{key:"8d95b94dbe7f22e136567cb681e44479f5c1be7a"},this.svgHTML&&n("i",{key:"e9808177023e9521abf570b85302b65e43f9e0d8","aria-hidden":"true",class:"icon",part:"svg",innerHTML:this.svgHTML}))}get hostElement(){return this}static get watchers(){return{name:[{updateIcon:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(: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{align-items:center;aspect-ratio:var(--aspect-square,1/1);display:inline-flex;justify-content:center;width:calc(var(--spacing,.0025rem)*600)}.icon{align-items:center;display:inline-flex;font-style:normal;justify-content:center;width:100%}.icon svg{height:auto;width:100%}"}},[1,"mds-icon",{name:[513],svgHTML:[32],_iconHref:[32],setSvgPath:[64]},void 0,{name:[{updateIcon:0}]}]);function v(){"undefined"!=typeof customElements&&["mds-icon"].forEach((t=>{"mds-icon"===t&&(customElements.get(r(t))||customElements.define(r(t),m))}))}export{u as I,m as M,g as a,v as d,f as i}
@@ -1 +0,0 @@
1
- import{p as a,H as r,h as t,c as i,t as o}from"./p-BhFTcUD0.js";import{c as e}from"./p-ChV9xqsO.js";import{g as s}from"./p-E-ZsRS8r.js";import{p as n}from"./p-CvIFS8oA.js";import{d as l}from"./p-CVgKDZPF.js";import{d as c}from"./p-CatD1iUY.js";import{d as v}from"./p-Dj_oN194.js";import{d}from"./p-C58NKMEE.js";import{d as m}from"./p-B9DJLgwr.js";var b,h={exports:{}},u=(b||(b=1,h.exports=function(a){if(a){var r=function(a){return[].slice.call(a)},t=3,i=[],o=null,e="requestAnimationFrame"in a?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sync:!1};a.cancelAnimationFrame(o);var t=function(){return n(i.filter((function(a){return a.dirty&&a.active})))};if(r.sync)return t();o=a.requestAnimationFrame(t)}:function(){},s=function(a){return function(r){i.forEach((function(r){return r.dirty=a})),e(r)}},n=function(a){a.filter((function(a){return!a.styleComputed})).forEach((function(a){a.styleComputed=d(a)})),a.filter(m).forEach(b);var r=a.filter(v);r.forEach(c),r.forEach((function(a){b(a),l(a)})),r.forEach(h)},l=function(a){return a.dirty=0},c=function(a){a.availableWidth=a.element.parentNode.clientWidth,a.currentWidth=a.element.scrollWidth,a.previousFontSize=a.currentFontSize,a.currentFontSize=Math.min(Math.max(a.minSize,a.availableWidth/a.currentWidth*a.previousFontSize),a.maxSize),a.whiteSpace=a.multiLine&&a.currentFontSize===a.minSize?"normal":"nowrap"},v=function(a){return 2!==a.dirty||2===a.dirty&&a.element.parentNode.clientWidth!==a.availableWidth},d=function(r){var t=a.getComputedStyle(r.element,null);return r.currentFontSize=parseFloat(t.getPropertyValue("font-size")),r.display=t.getPropertyValue("display"),r.whiteSpace=t.getPropertyValue("white-space"),!0},m=function(a){var r=!1;return!a.preStyleTestCompleted&&(/inline-/.test(a.display)||(r=!0,a.display="inline-block"),"nowrap"!==a.whiteSpace&&(r=!0,a.whiteSpace="nowrap"),a.preStyleTestCompleted=!0,r)},b=function(a){a.element.style.whiteSpace=a.whiteSpace,a.element.style.display=a.display,a.element.style.fontSize=a.currentFontSize+"px"},h=function(a){a.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:a.previousFontSize,newValue:a.currentFontSize,scaleFactor:a.currentFontSize/a.previousFontSize}}))},u=function(a,r){return function(t){a.dirty=r,a.active&&e(t)}},g=function(a){return function(){i=i.filter((function(r){return r.element!==a.element})),a.observeMutations&&a.observer.disconnect(),a.element.style.whiteSpace=a.originalStyle.whiteSpace,a.element.style.display=a.originalStyle.display,a.element.style.fontSize=a.originalStyle.fontSize}},f=function(a){return function(){a.active||(a.active=!0,e())}},p=function(a){return function(){return a.active=!1}},w=function(a){a.observeMutations&&(a.observer=new MutationObserver(u(a,1)),a.observer.observe(a.element,a.observeMutations))},k={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in a&&{subtree:!0,childList:!0,characterData:!0}},y=null,x=function(){a.clearTimeout(y),y=a.setTimeout(s(2),E.observeWindowDelay)},z=["resize","orientationchange"];return Object.defineProperty(E,"observeWindow",{set:function(r){var t="".concat(r?"add":"remove","EventListener");z.forEach((function(r){a[t](r,x)}))}}),E.observeWindow=!0,E.observeWindowDelay=100,E.fitAll=s(t),E}function j(a,r){var o=Object.assign({},k,r),s=a.map((function(a){var r=Object.assign({},o,{element:a,active:!0});return function(a){a.originalStyle={whiteSpace:a.element.style.whiteSpace,display:a.element.style.display,fontSize:a.element.style.fontSize},w(a),a.newbie=!0,a.dirty=!0,i.push(a)}(r),{element:a,fit:u(r,t),unfreeze:f(r),freeze:p(r),unsubscribe:g(r)}}));return e(),s}function E(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof a?j(r(document.querySelectorAll(a)),t):j([a],t)[0]}}("undefined"==typeof window?null:window)),h.exports),g=s(u);const f=["bg-brand-maggioli-05","bg-label-amaranth-05","bg-label-aqua-05","bg-label-blue-05","bg-label-green-05","bg-label-lime-05","bg-label-orange-05","bg-label-orchid-05","bg-label-purple-05","bg-label-red-05","bg-label-sky-05","bg-label-violet-05","bg-label-yellow-05","bg-status-error-05","bg-status-info-05","bg-status-success-05","bg-status-warning-05"],p=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.fallback=!1,this.loaded=!0,this.fittyInitialized=!1,this.textChanged=!1,this.variants=["amaranth","aqua","blue","error","green","info","lime","orange","orchid","primary","sky","success","violet","warning","yellow"],this.addFontResize=()=>{var a;if(this.fittyInitialized)return;const r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".fit");this.fittyElements=g(r,{minSize:10}),this.observer=new ResizeObserver((a=>{a.forEach((()=>{this.fittyElements.fit()}))})),this.observer.observe(this.element),this.fittyInitialized=!0},this.removeFontResize=()=>{this.fittyInitialized&&(this.fittyInitialized=!1,this.observer.unobserve(this.element))},this.checkText=a=>{if(""===a||void 0===a)this.fittyInitialized&&this.removeFontResize();else{if(this.fittyInitialized)return;this.fittyInitialized||this.addFontResize()}},this.handleImgLoadError=()=>{this.loaded=!0,this.fallback=!0},this.handleImgLoadSuccess=()=>{this.loaded=!0},this.checkInitialsVariant=()=>{if(void 0!==this.initials&&""!==this.initials){let a=this.initials.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"").substring(0,2);1===a.length&&(a+=a),this.variant=this.variants[(a.substring(0,1).charCodeAt(0)+a.substring(1,2).charCodeAt(0))%f.length]}}}componentWillLoad(){this.checkInitialsVariant()}componentDidLoad(){void 0!==this.src&&(this.loaded=!1),void 0!==this.initials&&""!==this.initials&&this.checkText(this.initials),void 0===this.count||0===this.count||Number.isNaN(this.count)||this.checkText(this.count.toString())}componentDidRender(){this.textChanged&&(void 0!==this.initials&&""!==this.initials&&this.checkText(this.initials),void 0===this.count||0===this.count||Number.isNaN(this.count)||this.checkText(this.count.toString()),this.textChanged=!1)}initialsHandler(){this.textChanged=!0,this.checkInitialsVariant()}countHandler(){this.textChanged=!0,this.checkInitialsVariant()}srcHandler(a){void 0===a&&(this.loaded=!0)}iconHandler(a){void 0!==a&&(this.loaded=!0)}render(){return t(i,{key:"09e30ddb558c31aa23749b4bf3d5190a30b605c7","pref-animation":n.state.animation,"pref-contrast":n.state.contrast},t("div",{key:"1d99eceedcc2dc604afcd887a2d767d61fced5e1",class:e("avatar",this.initials&&!this.fallback&&(void 0===this.src||""===this.src)&&"avatar--initials",(this.fallback||(void 0===this.icon||""===this.icon)&&(void 0===this.initials||""===this.initials)&&(void 0===this.src||""===this.src))&&"avatar--fallback",this.icon&&"avatar--icon",this.loaded?"avatar--loaded":"avatar--pending"),part:"wrapper"},this.initials&&(void 0===this.count||0===this.count||Number.isNaN(this.count))&&!this.fallback&&(void 0===this.src||""===this.src)&&t("div",{key:"08dd0918a258022793f5331a9de7b2460a2e1404",class:"initials-text"},t("span",{key:"69379497bb9096cea56b366c52ba5372adb5506d",class:"fit"},this.initials.substring(0,2))),this.count&&!this.fallback&&(void 0===this.src||""===this.src)&&t("div",{key:"07c1e94db40562b8a2467605591236433fd6af39",class:"initials-text"},t("span",{key:"36c2b72540c03d140f97d64304d46583419d23df",class:"fit"},"+",this.count)),this.src&&(void 0===this.count||0===this.count||Number.isNaN(this.count))&&!this.fallback&&(void 0===this.icon||""===this.icon)&&t("mds-img",{key:"9d6a6d4a12a5142686aede6e9f9a974f592b674f",class:"image",loading:"lazy",onMdsImgLoadError:this.handleImgLoadError,onMdsImgLoadSuccess:this.handleImgLoadSuccess,part:"media",src:this.src}),this.icon&&(void 0===this.initials||""===this.initials)&&(void 0===this.count||0===this.count||Number.isNaN(this.count))&&t("mds-icon",{key:"b37eae32b77654190b14d8b046d2f9a51801ae2a",class:"icon",part:"icon",name:this.icon}),(this.fallback||(void 0===this.icon||""===this.icon)&&(void 0===this.initials||""===this.initials)&&(void 0===this.count||0===this.count||Number.isNaN(this.count))&&(void 0===this.src||""===this.src))&&t("i",{key:"18d842d4aea1f73adef926ff74a896a9d8a52bc6",class:"fallback-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'})))}get element(){return this}static get watchers(){return{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}],icon:[{iconHandler:0}]}}static get style(){return'@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-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-img):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-avatar-background-color-pending:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-avatar-background-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-avatar-radius:var(--radius-full,1000px);--mds-avatar-initials-padding:20%;--mds-avatar-transition-duration:var(--duration-200,.2s);--private-avatar-transition-duration:var(--mds-avatar-transition-duration);aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px));container:mds-avatar/inline-size;display:inline-flex;overflow:hidden;width:calc(var(--spacing,.0025rem)*1200)}.avatar{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px));color:#0000;display:inline-flex;overflow:hidden;-webkit-transition-duration:var(--private-avatar-transition-duration);transition-duration:var(--private-avatar-transition-duration);transition-property:color,background-color,box-shadow,fill;width:100%}.avatar--pending{background-color:var(--mds-avatar-background-color-pending,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))))}.avatar--loaded{animation:none}.avatar--fallback,.avatar--icon,.avatar--initials{background-color:var(--mds-avatar-background-color,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))));-webkit-box-shadow:none;box-shadow:none}.avatar--fallback,.avatar--initials{display:flex;place-items:stretch stretch}.avatar--fallback,.avatar--icon{padding:20%}.avatar--initials{padding:30% var(--mds-avatar-initials-padding,20%) 25%}.image{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px))}.fallback-icon{aspect-ratio:1;display:flex;fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));width:100%}.fallback-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.initials-text{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-bold,700);align-items:center;color:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));display:flex;font-weight:var(--font-weight-bold,700);height:100%;justify-content:center;text-transform:uppercase;-webkit-user-select:none;user-select:none;width:100%}.fit{display:inline-block;white-space:nowrap!important}.icon{fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));height:100%;-webkit-transition-duration:var(--private-avatar-transition-duration);transition-duration:var(--private-avatar-transition-duration);transition-property:fill;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));width:100%}@container (max-width:24px){.avatar--initials{padding:0 var(--mds-avatar-initials-padding,20%)}.initials-text{--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900)}}:host,:host([variant=primary]){--mds-avatar-background-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:is(:host,:host([variant=primary])):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-avatar-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:host([variant=red]){--mds-avatar-background-color:rgb(var(--label-red-05,230 66 66));--mds-avatar-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-red-09,250 215 215));--mds-avatar-color:rgb(var(--label-red-05,230 66 66))}:host([variant=amaranth]){--mds-avatar-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-avatar-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-avatar-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid]){--mds-avatar-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-avatar-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-avatar-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=violet]){--mds-avatar-background-color:rgb(var(--label-violet-05,145 100 246));--mds-avatar-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-violet-09,229 218 253));--mds-avatar-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=purple]){--mds-avatar-background-color:rgb(var(--label-purple-05,168 86 247));--mds-avatar-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-purple-09,235 216 253));--mds-avatar-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=blue]){--mds-avatar-background-color:rgb(var(--label-blue-05,90 117 249));--mds-avatar-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-blue-09,216 222 254));--mds-avatar-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky]){--mds-avatar-background-color:rgb(var(--label-sky-05,12 136 193));--mds-avatar-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-sky-09,185 231 251));--mds-avatar-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua]){--mds-avatar-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-avatar-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-avatar-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green]){--mds-avatar-background-color:rgb(var(--label-green-05,26 148 71));--mds-avatar-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-green-09,165 240 193));--mds-avatar-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime]){--mds-avatar-background-color:rgb(var(--label-lime-05,93 143 15));--mds-avatar-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-lime-09,189 239 111));--mds-avatar-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow]){--mds-avatar-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-avatar-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-avatar-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=orange]){--mds-avatar-background-color:rgb(var(--label-orange-05,213 90 5));--mds-avatar-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orange-09,253 217 191));--mds-avatar-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=error]){--mds-avatar-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-avatar-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=error]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-avatar-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning]){--mds-avatar-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-avatar-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warning]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-avatar-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=info]){--mds-avatar-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-avatar-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-avatar-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=success]){--mds-avatar-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-avatar-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=success]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-avatar-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}: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-avatar-transition-duration:0s}:host([pref-contrast=more]) :is(.avatar--fallback,.avatar--icon,.avatar--initials){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-font-weight{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-avatar-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.avatar--fallback,.avatar--icon,.avatar--initials){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'}},[1,"mds-avatar",{icon:[513],initials:[1537],count:[1538],src:[513],tone:[513],variant:[1537],fallback:[32],loaded:[32]},void 0,{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}],icon:[{iconHandler:0}]}]);function w(){"undefined"!=typeof customElements&&["mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar":customElements.get(o(a))||customElements.define(o(a),p);break;case"mds-button":customElements.get(o(a))||l();break;case"mds-icon":customElements.get(o(a))||c();break;case"mds-img":customElements.get(o(a))||v();break;case"mds-spinner":customElements.get(o(a))||d();break;case"mds-text":customElements.get(o(a))||m()}}))}export{p as M,w as d}
@@ -1 +0,0 @@
1
- import{p as a,H as t,d as r,h as o,c as s,t as e}from"./p-BhFTcUD0.js";import{K as i}from"./p-KRu9I7dw.js";import{c as d}from"./p-D8eZRaSQ.js";import{B as n,F as h}from"./p-CVpjH8Un.js";import{p as m}from"./p-CvIFS8oA.js";const p=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.visibleEvent=r(this,"mdsDropdownVisible",7),this.hiddenEvent=r(this,"mdsDropdownHide",7),this.changedEvent=r(this,"mdsDropdownChange",7),this.km=new i,this.backdropController=new n,this.hideArrow=!1,this.arrowPadding=24,this.disableAutoPlacement=!1,this.backdrop=!1,this.flip=!1,this.interaction="click",this.offset=24,this.placement="bottom",this.disableShift=!1,this.shiftPadding=24,this.disableSmooth=!1,this.strategy="absolute",this.visible=!1,this.onClickTarget=a=>{a.stopPropagation(),document.body.click(),this.visible=!this.visible,this.visible&&this.isMenu&&0===a.detail&&this.focusEntry(0)},this.onMouseOverTarget=()=>{this.mouseoverTimer=setTimeout((()=>{clearTimeout(this.mouseoverTimer),this.visible=!0}),d(this.cssMouseOverDelayDuration))},this.onMouseOutTarget=()=>{clearTimeout(this.mouseoverTimer),this.mouseoverTimer=setTimeout((()=>{clearTimeout(this.mouseoverTimer),this.visible=!1}),d(this.cssMouseOverDelayDuration))},this.markEntries=()=>{this.isMenu&&this.entries().forEach((a=>{const t=a.getAttribute("role");null!==t&&"button"!==t||a.setAttribute("role","menuitem"),a.hasAttribute("tabindex")||a.setAttribute("tabindex","-1")}))},this.entries=()=>{var a,t;const r=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector("slot");return this.slottedEntries(null!==(t=null==r?void 0:r.assignedElements())&&void 0!==t?t:[])},this.slottedEntries=a=>a.flatMap((a=>"SLOT"===a.tagName?this.slottedEntries(a.assignedElements()):[a])),this.focusEntry=(a,t=3)=>{const r=this.entries();if(0===r.length||!this.visible)return;const o=r[(a+r.length)%r.length];0===o.offsetWidth&&t>0?requestAnimationFrame((()=>this.focusEntry(a,t-1))):o.focus()},this.onCallerKeydown=a=>{!this.isMenu||"ArrowDown"!==a.key&&"ArrowUp"!==a.key||(a.preventDefault(),this.visible=!0,this.focusEntry("ArrowUp"===a.key?-1:0))},this.onPanelKeydown=a=>{var t;if(!this.isMenu||!this.visible)return;const r=this.entries();if(0===r.length)return;const o=r.findIndex((a=>a.contains(document.activeElement))),s=-1===o?null:o;switch(a.key){case"ArrowDown":a.preventDefault(),this.focusEntry(null===s?0:s+1);break;case"ArrowUp":a.preventDefault(),this.focusEntry(null===s?-1:s-1);break;case"Home":a.preventDefault(),this.focusEntry(0);break;case"End":a.preventDefault(),this.focusEntry(-1);break;case"Tab":this.visible=!1,null===(t=this.caller)||void 0===t||t.focus()}},this.closeFromKeyboard=()=>{var a;if(!this.visible)return;const t=this.host.contains(document.activeElement);this.visible=!1,t&&(null===(a=this.caller)||void 0===a||a.focus())},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const a=window.getComputedStyle(this.host);this.cssMouseOverDelayDuration=a.getPropertyValue("--mds-dropdown-mouseover-delay")},this.handleCloseDropdown=a=>{if("mouseleave"===a.type)return this.host.removeEventListener("mouseleave",this.handleCloseDropdown),this.caller.removeEventListener("mouseleave",this.handleCloseDropdown),void(this.visible=!1);this.host.contains(a.target)||a.target===this.caller||(this.visible=!1,document.removeEventListener("click",this.handleCloseDropdown))},this.setInteractionBehaviour=()=>{"none"!==this.interaction&&("click"===this.interaction&&(this.caller.addEventListener("click",this.onClickTarget),this.caller.addEventListener("keydown",this.onCallerKeydown)),"mouseover"===this.interaction&&(this.caller.addEventListener("mouseover",this.onMouseOverTarget),this.caller.addEventListener("mouseout",this.onMouseOutTarget),this.host.addEventListener("mouseover",this.handleCloseDropdownMouseLeave)))},this.unsetInteractionBehaviour=a=>{a.removeEventListener("click",this.onClickTarget),a.removeEventListener("keydown",this.onCallerKeydown),a.removeEventListener("mouseover",this.onMouseOverTarget),a.removeEventListener("mouseout",this.onMouseOutTarget)},this.handleCloseDropdownMouseLeave=()=>{clearTimeout(this.mouseoverTimer),this.host.removeEventListener("mouseover",this.handleCloseDropdownMouseLeave),this.host.addEventListener("mouseleave",this.handleCloseDropdown)}}hideArrowChanged(){this.floatingController.updatePosition()}arrowPaddingChanged(){this.floatingController.updatePosition()}disableAutoPlacementChanged(){this.floatingController.updatePosition()}backdropChanged(a){!1===a&&(this.backdrop=void 0),this.visible&&(a?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop())}flipChanged(){this.floatingController.updatePosition()}offsetChanged(){this.floatingController.updatePosition()}placementChanged(){this.floatingController.updatePosition()}disableShiftChanged(){this.floatingController.updatePosition()}shiftPaddingChanged(){this.floatingController.updatePosition()}strategyChanged(){this.floatingController.updatePosition()}targetChanged(){if(""===this.target||null==this.floatingController)return;const a=this.floatingController.updateCaller(this.target);a&&(this.caller&&this.caller!==a&&this.unsetInteractionBehaviour(this.caller),this.caller=a,this.markEntries(),this.setInteractionBehaviour(),this.km.addElement(this.host),this.km.attachEscapeBehavior(this.closeFromKeyboard))}visibleChanged(a){if(this.changedEvent.emit({caller:this.caller,visible:a}),this.floatingController.syncExpanded(a),a)return document.addEventListener("click",this.handleCloseDropdown),this.floatingController.updatePosition(),this.backdrop&&this.backdropController.attachBackdrop(),void this.visibleEvent.emit({caller:this.caller,visible:!0});this.floatingController.dismiss(),this.backdrop&&this.backdropController.detachBackdrop(),this.hiddenEvent.emit({caller:this.caller,visible:!1})}get isMenu(){return"menu"===this.host.getAttribute("role")}componentDidLoad(){var a,t,r;const o=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".arrow");this.floatingController=new h(this.host,o),this.updateCSSCustomProps(),this.targetChanged(),null===(r=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("slot"))||void 0===r||r.addEventListener("slotchange",this.markEntries),this.host.addEventListener("slotchange",this.markEntries),this.host.addEventListener("keydown",this.onPanelKeydown),this.visible&&this.visibleChanged(!0)}disconnectedCallback(){this.floatingController.dismiss(),this.backdropController.detachBackdrop(),this.km.detachEscapeBehavior()}render(){return o(s,{key:"909529db1b7f90da7fef23235ac276e133aef6cf",style:{zIndex:`${this.zIndex}`},"pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},o("div",{key:"fe65713f1e3f849a57f05ad7e3be0eede40198d4",class:"arrow",innerHTML:'<svg width="30" height="16" viewBox="0 0 30 16" xmlns="http://www.w3.org/2000/svg">\n <path d="M10.2 2.4C12.6 -0.800001 17.4 -0.800001 19.8 2.4L30 16H0L10.2 2.4Z"/>\n</svg>\n'}),o("slot",{key:"2c438ff28af51844e5e399e07b31773edf745447"}))}get host(){return this}static get watchers(){return{hideArrow:[{hideArrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(: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-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));--private-dropdown-backdrop-duration:.2s;--mds-dropdown-backdrop-duration:var(--private-dropdown-backdrop-duration);--mds-dropdown-backdrop-z-index:var(--magma-backdrop-z-index,4000);--mds-dropdown-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-dropdown-drop-shadow-color-rgb:var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)));--mds-dropdown-drop-shadow:drop-shadow(0 10px 8px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.05)) drop-shadow(0 4px 3px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.15)) drop-shadow(0 0 1px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.15));--mds-dropdown-duration:.5s;--private-dropdown-duration:var(--mds-dropdown-duration,.5s);--mds-dropdown-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-dropdown-mouseover-delay:.5s;--mds-dropdown-transform-from:scale(.9) translateY(-3%);--mds-dropdown-transform-to:scale(1) translate(0,0);--mds-dropdown-z-index:var(--magma-dropdown-z-index,5000);background-color:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:none;filter:var(--mds-dropdown-drop-shadow);gap:calc(var(--spacing,.0025rem)*400);opacity:0;padding:calc(var(--spacing,.0025rem)*600);pointer-events:none;position:fixed;-webkit-transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transition-behavior:allow-discrete;-webkit-transition-duration:var(--private-dropdown-duration);transition-duration:var(--private-dropdown-duration);transition-property:opacity,transform,display;-webkit-transition-timing-function:var(--mds-dropdown-ease);transition-timing-function:var(--mds-dropdown-ease);z-index:var(--mds-dropdown-z-index,var(--magma-dropdown-z-index,5000))}:host([visible]:not([visible=false])){display:grid;opacity:1;pointer-events:auto;-webkit-transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0));transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0))}@starting-style{:host([visible]:not([visible=false])){opacity:0;transform:scale(0)}}:host([data-floating-placed]:not([disable-smooth])),:host([data-floating-placed][disable-smooth=false]){transition-property:bottom,left,display,opacity,right,top,transform}.arrow{display:flex;fill:var(--mds-dropdown-arrow-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-400)}::slotted(*){position:relative;z-index:10}: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-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}:host([pref-contrast=more]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.075)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.45)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.45))}@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-dropdown-duration:0s;--mds-dropdown-backdrop-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}"}},[257,"mds-dropdown",{hideArrow:[516,"hide-arrow"],arrowPadding:[2,"arrow-padding"],disableAutoPlacement:[4,"disable-auto-placement"],backdrop:[516],flip:[4],interaction:[513],target:[1],offset:[2],placement:[1],disableShift:[4,"disable-shift"],shiftPadding:[2,"shift-padding"],disableSmooth:[4,"disable-smooth"],strategy:[1],visible:[1540],zIndex:[2,"z-index"]},void 0,{hideArrow:[{hideArrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}]);function l(){"undefined"!=typeof customElements&&["mds-dropdown"].forEach((a=>{"mds-dropdown"===a&&(customElements.get(e(a))||customElements.define(e(a),p))}))}export{p as M,l as d}
@@ -1,8 +0,0 @@
1
- import{p as e,H as r,d as a,h as i,c as t,t as s}from"./p-BhFTcUD0.js";import{m as o}from"./p-BJ8rpzfj.js";import{c as l}from"./p-ChV9xqsO.js";import{f as n,a as m,b as c,c as v,g as d,d as b,e as g}from"./p-s2Gu6hY7.js";import{L as p}from"./p-Bss3F51Q.js";import{p as f}from"./p-CvIFS8oA.js";import{d as u}from"./p-DaI5QqNu.js";import{d as h}from"./p-CVgKDZPF.js";import{d as w}from"./p-CatD1iUY.js";import{d as x}from"./p-Dj_oN194.js";import{d as k}from"./p-C58NKMEE.js";import{d as y}from"./p-B9DJLgwr.js";
2
- /**
3
- * filesize
4
- *
5
- * @copyright 2023 Jason Mulligan <jason.mulligan@avoidwork.com>
6
- * @license BSD-3-Clause
7
- * @version 10.1.0
8
- */const j="bits",q="bytes",B="jedec",E={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};var M={remove:"Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης"},D={remove:"Remove file from upload queue"},N={remove:"Eliminar archivo de la cola de carga"},z={remove:"Rimuovi file dalla coda di upload"};const O=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.downloadedEvent=a(this,"mdsFileDownload",7),this.deletedEvent=a(this,"mdsFileDelete",7),this.t=new p({el:Object.assign(Object.assign({},M),v),en:Object.assign(Object.assign({},D),c),es:Object.assign(Object.assign({},N),m),it:Object.assign(Object.assign({},z),n)}),this.truncate="word",this.getDefaultKeyDescription=()=>d(this.filename,this.suffix).description,this.onClickDeletedEvent=()=>{this.deletedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})},this.onClickDownloadEvent=()=>{this.downloadedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})}}componentWillLoad(){this.format=d(this.filename,this.suffix).format}componentDidLoad(){this.handleDownloadable(this.downloadable)}handleFilename(e){this.format=d(e,this.suffix).format}handleDownloadable(e,r){var a;if(e===r)return;const i=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".card");e?null==i||i.addEventListener("click",this.onClickDownloadEvent):null==i||i.removeEventListener("click",this.onClickDownloadEvent)}render(){var e,r,a;return i(t,{key:"389451c485ded68d3d3d99e950ec2e2ad08f4ac9","pref-animation":f.state.animation,"pref-contrast":f.state.contrast,"pref-mode":f.state.mode,"pref-theme-scheme":f.state["theme-scheme"]},this.deletable&&i("mds-button",{key:"e04b3974185c09a3d9407b74168a37afce9d23de",title:this.t.get("remove"),class:"action-delete",icon:o,variant:"light",onClick:this.onClickDeletedEvent}),i("div",{key:"f899421ec875a83f2593890e0a736759b903b24f",class:"card",part:"card",onClick:this.onClickDownloadEvent},void 0===this.src||""===this.src||void 0!==this.message&&""!==this.message||!d(this.filename,this.suffix).preview?i("div",{class:l("preview",void 0===this.message||""===this.message?"preview--icon":"preview--status")},i("mds-icon",void 0!==this.icon&&""!==this.icon?{class:"icon",name:this.icon}:{class:"icon",name:g(this.filename,this.suffix).icon}),this.message&&i("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)):i("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}),i("mds-text",{key:"32d3359b9c41a845001e17987ce703219ba29843",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),i("div",{key:"79e555cedfc5d35b2d54ec6a3aee7591cc0edf2e",class:l("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&i("mds-text",{key:"84e7d78e1d0639e637173a1c781a61f21e459b6d",class:"file-size",truncate:"word",typography:"caption",variant:"info"},function(e,{bits:r=!1,pad:a=!1,base:i=-1,round:t=2,locale:s="",localeOptions:o={},separator:l="",spacer:n=" ",symbols:m={},standard:c="",output:v="string",fullform:d=!1,fullforms:b=[],exponent:g=-1,roundingMethod:p="round",precision:f=0}={}){let u=g,h=Number(e),w=[],x=0,k="";"si"===c?(i=10,c=B):"iec"===c||c===B?i=2:2===i?c="iec":(i=10,c=B);const y=10===i?1e3:1024,M=!0===d,D=h<0,N=Math[p];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof N)throw new TypeError("Invalid rounding method");if(D&&(h=-h),(-1===u||isNaN(u))&&(u=Math.floor(Math.log(h)/Math.log(y)),u<0&&(u=0)),u>8&&(f>0&&(f+=8-u),u=8),"exponent"===v)return u;if(0===h)w[0]=0,k=w[1]=E.symbol[c][r?j:q][u];else{x=h/(2===i?Math.pow(2,10*u):Math.pow(1e3,u)),r&&(x*=8,x>=y&&u<8&&(x/=y,u++));const e=Math.pow(10,u>0?t:0);w[0]=N(x*e)/e,w[0]===y&&u<8&&-1===g&&(w[0]=1,u++),k=w[1]=10===i&&1===u?r?"kbit":"kB":E.symbol[c][r?j:q][u]}if(D&&(w[0]=-w[0]),f>0&&(w[0]=w[0].toPrecision(f)),w[1]=m[w[1]]||w[1],!0===s?w[0]=w[0].toLocaleString():s.length>0?w[0]=w[0].toLocaleString(s,o):l.length>0&&(w[0]=w[0].toString().replace(".",l)),a&&!1===Number.isInteger(w[0])&&t>0){const e=l||".",r=w[0].toString().split(e),a=r[1]||"",i=a.length;w[0]=`${r[0]}${e}${a.padEnd(i+(t-i),"0")}`}return M&&(w[1]=b[u]?b[u]:E.fullform[c][u]+(r?"bit":"byte")+(1===w[0]?"":"s")),"array"===v?w:"object"===v?{value:w[0],symbol:w[1],exponent:u,unit:k}:w.join(n)}(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&i("mds-text",{key:"8945ff2c6224b7a4803390eae2fc12474903a3dd",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),b(this.filename,this.suffix)&&i("mds-badge",{key:"5581cb1f4d13f6f15f28c0957094dcd5982f0a0f",variant:g(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:null!==(e=this.description)&&void 0!==e?e:this.t.get(this.getDefaultKeyDescription())},b(this.filename,this.suffix)),(void 0===this.filesize||""===this.filesize)&&i("mds-text",{key:"d743b838cc6fa9fed0f5cdf7914c7652bfc3e1ac",class:"description",truncate:"word",typography:"caption",variant:"info",title:null!==(r=this.description)&&void 0!==r?r:this.t.get(this.getDefaultKeyDescription())},null!==(a=this.description)&&void 0!==a?a:this.t.get(this.getDefaultKeyDescription())))))}get host(){return this}static get watchers(){return{filename:[{handleFilename:0}],downloadable:[{handleDownloadable:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-button,mds-icon,mds-img,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-file-preview-background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-file-preview-border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-file-preview-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));--mds-file-preview-transition-duration:0s;--private-file-preview-padding:calc(var(--spacing,.0025rem)*400);--private-file-preview-transition-duration:var(--mds-file-preview-transition-duration);background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));-webkit-box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));-ms-flex-pack:stretch;display:flex;justify-content:stretch;overflow:hidden;position:relative;-webkit-transition-duration:var(--private-file-preview-transition-duration);transition-duration:var(--private-file-preview-transition-duration)}.card{display:grid;gap:calc(var(--spacing,.0025rem)*200);grid-template-columns:repeat(1,minmax(1px,100%));padding:var(--private-file-preview-padding)}.card,.preview{corner-shape:inherit;width:100%}.preview{aspect-ratio:var(--aspect-square,1/1);background-color:var(--mds-file-preview-icon-background);border-radius:max(0px,calc(var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--private-file-preview-padding)));box-sizing:border-box;color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));-webkit-transition-duration:inherit;transition-duration:inherit}.preview--image{filter:brightness(.975);padding:0!important}.preview--icon,.preview--status{align-items:center;display:flex;flex-direction:column;justify-content:center}.preview--status{gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*400)}.icon{height:calc(var(--spacing,.0025rem)*1200);width:calc(var(--spacing,.0025rem)*1200)}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));position:absolute;right:0;top:0;z-index:10}.infos{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.suffix{flex-shrink:0}.infos--has-file-size{justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format=archive]),:host([format=executable]){--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47))}:host([format=attachment]){--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([format=audio]),:host([format=video]){--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5))}:host([format=certificate]),:host([format=document]){--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5))}:host([format=email]),:host([format=text]){--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248))}:host([format=image]){--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61))}:host([format=slide]){--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113))}:host([format=spreadsheet]){--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13))}:host([format=vector]){--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))))}:host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-file-preview-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-file-preview-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-file-preview-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09,253 214 221));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-03,170 10 37))}:host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-03,3 97 114))}:host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-03,11 51 246))}:host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09,165 240 193));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-03,18 103 49))}:host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09,189 239 111));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-03,64 99 11))}:host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09,253 217 191));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-03,147 63 4))}:host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09,251 213 232));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-03,165 17 90))}:host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-09,235 216 253));--mds-file-preview-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-file-preview-color:rgb(var(--label-purple-03,116 10 217))}:host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-09,250 215 215));--mds-file-preview-icon-color:rgb(var(--label-red-04,212 28 28));--mds-file-preview-color:rgb(var(--label-red-03,169 22 22))}:host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09,185 231 251));--mds-file-preview-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-file-preview-color:rgb(var(--label-sky-03,8 94 133))}:host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09,229 218 253));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-03,87 20 242))}:host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09,251 221 131));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([pref-contrast=more]):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-contrast=more]):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([pref-contrast=more]):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:host([pref-contrast=more]):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:host([pref-contrast=more]):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:host([pref-contrast=more]):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:host([pref-contrast=more]):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:host([pref-contrast=more]):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:host([pref-contrast=more]):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:host([pref-contrast=more]):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:host([pref-contrast=more]):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:host([pref-contrast=more]):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:host([pref-contrast=more]):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:host([pref-contrast=more]):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}: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-file-preview-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@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-file-preview-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}"}},[1,"mds-file-preview",{deletable:[516],downloadable:[516],description:[513],filename:[513],filesize:[513],message:[513],truncate:[513],src:[513],suffix:[513],icon:[513],variant:[513],format:[1537]},void 0,{filename:[{handleFilename:0}],downloadable:[{handleDownloadable:0}]}]);function F(){"undefined"!=typeof customElements&&["mds-file-preview","mds-badge","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-file-preview":customElements.get(s(e))||customElements.define(s(e),O);break;case"mds-badge":customElements.get(s(e))||u();break;case"mds-button":customElements.get(s(e))||h();break;case"mds-icon":customElements.get(s(e))||w();break;case"mds-img":customElements.get(s(e))||x();break;case"mds-spinner":customElements.get(s(e))||k();break;case"mds-text":customElements.get(s(e))||y()}}))}export{O as M,F as d}
@@ -1 +0,0 @@
1
- import{S as e}from"./p-BhFTcUD0.js";const t=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{e.forEach(((t,n)=>{const o=new Set;t.forEach((e=>{const t=e.deref();var n;t&&(!("isConnected"in(n=t))||n.isConnected)&&o.add(e)})),e.set(n,o)}))})(...t)}),2e3)}})(),n=e.forceUpdate,o=e.getRenderingRef,r=(e,t)=>{const n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)},s={animation:["reduce","system","no-preference"],consumption:["low","medium","high"],contrast:["more","no-preference","system"],mode:["light","dark","system"],"theme-scheme":["light","dark","all"]},c=(()=>{const e=((e,t=(e,t)=>e!==t)=>{const n=()=>{return("function"==typeof(t=e)?t():t)??{};var t},o=n();let s=new Map(Object.entries(o));const c="undefined"!=typeof Proxy,a=c?null:{},u={dispose:[],get:[],set:[],reset:[]},d=new Map,i=()=>{s=new Map(Object.entries(n())),c||g(),u.reset.forEach((e=>e()))},f=e=>(u.get.forEach((t=>t(e))),s.get(e)),m=(e,n)=>{const o=s.get(e);t(n,o,e)&&(s.set(e,n),c||w(e),u.set.forEach((t=>t(e,n,o))))},l=c?new Proxy(o,{get:(e,t)=>f(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,n)=>(m(t,n),!0)}):(g(),a),p=(e,t)=>(u[e].push(t),()=>{r(u[e],t)});function w(e){!c&&a&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(a,e,{configurable:!0,enumerable:!0,get:()=>f(e),set(t){m(e,t)}}))}function g(){if(c||!a)return;const e=new Set(s.keys());for(const t of Object.keys(a))e.has(t)||delete a[t];for(const t of e)w(t)}return{state:l,get:f,set:m,on:p,onChange:(e,t)=>{const o=(n,o)=>{n===e&&t(o)},r=()=>{const o=n();t(o[e])},s=p("set",o),c=p("reset",r);return d.set(t,{setHandler:o,resetHandler:r,propName:e}),()=>{s(),c(),d.delete(t)}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(p("set",t.set)),t.get&&e.push(p("get",t.get)),t.reset&&e.push(p("reset",t.reset)),t.dispose&&e.push(p("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{u.dispose.forEach((e=>e())),i()},reset:i,forceUpdate:e=>{const t=s.get(e);u.set.forEach((n=>n(e,t,t)))},removeListener:(e,t)=>{const n=d.get(t);n&&n.propName===e&&(r(u.set,n.setHandler),r(u.reset,n.resetHandler),d.delete(t))}}})({language:"en"},void 0);return e.use((()=>{if("function"!=typeof o||"function"!=typeof n)return{};const e=n,r=o,s=new WeakMap,c=new Map;return{dispose:()=>c.clear(),get:e=>{const t=r();t&&((e,t,n,o)=>{let r=t.get(o);r||(r=new WeakRef(o),t.set(o,r));let s=e.get(n);s||(s=new Set,e.set(n,s)),s.add(r)})(c,s,e,t)},set:n=>{const o=c.get(n);if(o){const t=new Set;o.forEach((n=>{const o=n.deref();o&&e(o)&&t.add(n)})),c.set(n,t)}t(c)},reset:()=>{c.forEach((t=>{t.forEach((t=>{const n=t.deref();n&&e(n)}))})),t(c)}}})()),e})(),a=s.mode;if("undefined"!=typeof localStorage)try{(e=>{const t=e.getItem("mdsPrefTheme");null!==t&&a.includes(t)&&(null===e.getItem("mdsPrefMode")&&e.setItem("mdsPrefMode",t),e.removeItem("mdsPrefTheme"));const n=e.getItem("mdsPrefThemeName");null!==n&&(null===e.getItem("mdsPrefTheme")&&e.setItem("mdsPrefTheme",n),e.removeItem("mdsPrefThemeName"))})(localStorage)}catch(e){}const u=()=>{var e;Object.keys(s).forEach((e=>{c.state[e]=(e=>{const t=s[e],{classList:n}=document.documentElement;return t.find((t=>n.contains(`pref-${e}-${t}`)))})(e)})),c.state["corner-shape"]=null!==(e=document.documentElement.getAttribute("data-corner-shape"))&&void 0!==e?e:void 0},d=()=>{c.state.language=document.documentElement.lang||"en"};"undefined"!=typeof document&&(u(),d(),"undefined"!=typeof MutationObserver&&(new MutationObserver(u).observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-corner-shape"]}),new MutationObserver(d).observe(document.documentElement,{attributes:!0,attributeFilter:["lang"]})));const i=()=>{const e=c.state.animation;return"reduce"===e||"no-preference"!==e&&"undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches};export{a as M,i as a,c as p}